diff options
author | Wuzzy <almikes@aol.com> | 2016-08-05 02:02:02 +0200 |
---|---|---|
committer | Wuzzy <almikes@aol.com> | 2016-08-05 02:02:02 +0200 |
commit | 37a7175db35c8c66d80a797d4bb0c93c221fee12 (patch) | |
tree | b38f96f406fe7f5578ebaa05586d3367c09f12c2 /init.lua | |
parent | 42788d5a0c81397449ec3f53b62eeb35d9a15258 (diff) |
Add template texts
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -1,5 +1,15 @@ doc.sub.items = {} +-- Template texts +doc.sub.items.temp = {} +doc.sub.items.temp.deco = "This is a decorational block." +doc.sub.items.temp.build = "This block is a building block for creating various buildings." +doc.sub.items.temp.craftitem = "This item is primarily used for crafting other items." + +doc.sub.items.temp.eat = "Hold it in your hand, then leftclick to eat it." +doc.sub.items.temp.eat_bad = "Hold it in your hand, then leftclick to eat it. But why would you want to do this?" + +-- Local stuff local groupdefs = {} local mininggroups = {} local miscgroups = {} @@ -11,6 +21,7 @@ local item_name_overrides = { ["air"] = "Air" } +-- Helper functions local groups_to_string = function(grouptable, filter) local gstring = "" local groups_count = 0 @@ -123,7 +134,7 @@ local fuel_factoid = function(itemstring, ctype) end - +-- For factoids local factoid_generators = {} factoid_generators.nodes = {} factoid_generators.tools = {} |