summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2016-12-12 23:27:14 +0100
committerWuzzy <almikes@aol.com>2016-12-12 23:27:14 +0100
commitc0adef4bd997397dfa5f2afa655c84ada9a50911 (patch)
treed1234845146aa16c60f05036f45d6ba3c84282d0 /init.lua
parent3a554c905ae3e415515e9ec4257453d13e25f3e1 (diff)
Add use factoid type
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index adb79f9..b3fc35f 100644
--- a/init.lua
+++ b/init.lua
@@ -318,6 +318,9 @@ doc.new_category("nodes", {
datastring = datastring .. S("Usage help: @1", usagehelp)
datastring = newline2(datastring)
end
+ datastring = datastring .. get_custom_factoids("nodes", "use", data)
+ datastring = newline2(datastring)
+
datastring = datastring .. S("Maximum stack size: @1", data.def.stack_max) .. "\n"
datastring = datastring .. range_factoid(data.itemstring, data.def) .. "\n"
@@ -819,6 +822,9 @@ doc.new_category("tools", {
datastring = datastring .. S("Usage help: @1", usagehelp)
datastring = newline2(datastring)
end
+ datastring = datastring .. get_custom_factoids("tools", "use", data)
+ datastring = newline2(datastring)
+
if data.itemstring ~= "" then
datastring = datastring .. S("Maximum stack size: @1", data.def.stack_max).. "\n"
end
@@ -896,6 +902,9 @@ doc.new_category("craftitems", {
datastring = datastring .. S("Usage help: @1", usagehelp)
datastring = newline2(datastring)
end
+ datastring = datastring .. get_custom_factoids("craftitems", "use", data)
+ datastring = newline2(datastring)
+
datastring = datastring .. S("Maximum stack size: @1", data.def.stack_max).. "\n"
datastring = datastring .. range_factoid(data.itemstring, data.def) .. "\n"