From ac6f56c73be225ddf42c1f594fc9e54597c27b5a Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sat, 3 Sep 2016 18:40:32 +0200 Subject: Remove fire speed as it is not supported by Minetest Game --- init.lua | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'init.lua') diff --git a/init.lua b/init.lua index efc5d8e..35785e1 100644 --- a/init.lua +++ b/init.lua @@ -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 -- cgit v1.2.3