diff options
author | Wuzzy <almikes@aol.com> | 2016-12-13 02:47:44 +0100 |
---|---|---|
committer | Wuzzy <almikes@aol.com> | 2016-12-13 02:47:44 +0100 |
commit | ac7f881f49f35ad6a705ff1d0fc264b39fd0de1a (patch) | |
tree | 38bd78e47d4df6d3a001e6507382c6b03c9d6a53 | |
parent | 08e39375ec2531e38dc3b65c1efc362538a40a0b (diff) |
Add support for cools_lava group
-rw-r--r-- | init.lua | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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) |