diff options
author | Wuzzy <almikes@aol.com> | 2016-09-03 18:40:32 +0200 |
---|---|---|
committer | Wuzzy <almikes@aol.com> | 2016-09-03 18:40:32 +0200 |
commit | ac6f56c73be225ddf42c1f594fc9e54597c27b5a (patch) | |
tree | a1898893e63f71e471270694a296b0e1ad47b903 | |
parent | d23e4cdba73a816a6f4705428e6ac06f1c5d4c39 (diff) |
Remove fire speed as it is not supported by Minetest Game
-rw-r--r-- | init.lua | 11 |
1 files changed, 2 insertions, 9 deletions
@@ -121,15 +121,8 @@ doc.sub.items.add_item_image_overrides(image_overrides) local function f_fire(itemstring, def) local s = "" -- Fire - if def.groups.flammable == 1 then - s = s .. "This block is flammable and burns slowly." - elseif def.groups.flammable == 2 then - s = s .. "This block is flammable and burns at medium speed." - elseif def.groups.flammable == 3 then - s = s .. "This block is highly flammable and burns very quickly." - elseif def.groups.flammable == 4 then - s = s .. "This block is very easily set on fire and burns extremely quickly." - elseif def.groups.flammable ~= nil then + if def.groups.flammable ~= nil then + -- TODO: When the fire mod supports different flammable levels, add flavor texts s = s .. "This block is flammable." end |