diff options
author | Wuzzy <almikes@aol.com> | 2016-12-12 22:26:07 +0100 |
---|---|---|
committer | Wuzzy <almikes@aol.com> | 2016-12-12 22:26:07 +0100 |
commit | a45d72499f2fda5fbdff08053353a275155f94d3 (patch) | |
tree | 4eb872f6a76cc89a535c4034ad5af7009c1201bc /init.lua | |
parent | 3b14a5d98e4a42eb97506d6905847977f28f3caa (diff) |
Add misc factoid type
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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) |