summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index cda571c..4583add 100644
--- a/init.lua
+++ b/init.lua
@@ -150,6 +150,15 @@ end
-- Minetest Game Factoids
+-- Group cools_lava
+local function f_cools_lava(itemstring, def)
+ if def.groups.cools_lava ~= nil then
+ return S("This block turns adjacent lava sources into obsidian and adjacent flowing lava into stone.")
+ else
+ return ""
+ end
+end
+
-- Groups flammable, puts_out_fire
local function f_fire(itemstring, def)
local s = ""
@@ -224,6 +233,7 @@ local function f_key(itemstring, def)
end
doc.sub.items.register_factoid("nodes", "use", f_key)
+doc.sub.items.register_factoid("nodes", "groups", f_cools_lava)
doc.sub.items.register_factoid("nodes", "groups", f_fire)
doc.sub.items.register_factoid("nodes", "groups", f_flora)
doc.sub.items.register_factoid("nodes", "groups", f_leafdecay)