summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2016-09-03 18:40:32 +0200
committerWuzzy <almikes@aol.com>2016-09-03 18:40:32 +0200
commitac6f56c73be225ddf42c1f594fc9e54597c27b5a (patch)
treea1898893e63f71e471270694a296b0e1ad47b903
parentd23e4cdba73a816a6f4705428e6ac06f1c5d4c39 (diff)
Remove fire speed as it is not supported by Minetest Game
-rw-r--r--init.lua11
1 files changed, 2 insertions, 9 deletions
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