summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index 03a8144..27c7b46 100644
--- a/init.lua
+++ b/init.lua
@@ -758,6 +758,10 @@ doc.new_category("nodes", {
datastring = newline2(datastring)
datastring = datastring .. fuel_factoid(data.itemstring, "nodes")
+ -- Other custom factoids
+ datastring = newline2(datastring)
+ datastring = datastring .. get_custom_factoids("nodes", "misc", data)
+
datastring = newline2(datastring)
datastring = datastring .. itemstring_factoid(data.itemstring, playername)
@@ -835,6 +839,10 @@ doc.new_category("tools", {
datastring = newline2(datastring)
datastring = datastring .. fuel_factoid(data.itemstring, "tools")
+ -- Other custom factoids
+ datastring = newline2(datastring)
+ datastring = datastring .. get_custom_factoids("tools", "misc", data)
+
datastring = newline2(datastring)
datastring = datastring .. itemstring_factoid(data.itemstring, playername)
@@ -903,6 +911,10 @@ doc.new_category("craftitems", {
datastring = newline2(datastring)
datastring = datastring .. fuel_factoid(data.itemstring, "craftitems")
+ -- Other custom factoids
+ datastring = newline2(datastring)
+ datastring = datastring .. get_custom_factoids("craftitems", "misc", data)
+
datastring = newline2(datastring)
datastring = datastring .. itemstring_factoid(data.itemstring, playername)