diff options
Diffstat (limited to 'init.lua')
-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 |