projects
/
oweals
/
minetest_game.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab7b7c7
)
Fire: Higher chance of removing flammable nodes
author
paramat
<mat.gregory@virginmedia.com>
Wed, 6 Apr 2016 18:43:54 +0000
(19:43 +0100)
committer
paramat
<mat.gregory@virginmedia.com>
Tue, 19 Apr 2016 04:33:13 +0000
(
05:33
+0100)
Flammable nodes burn away quicker
mods/fire/init.lua
patch
|
blob
|
history
diff --git
a/mods/fire/init.lua
b/mods/fire/init.lua
index 15f71560b05dde37aa1d624a42a88022c194e56c..457f6b5e68f0f1167f96a243dc5c2ebd3ec9d535 100644
(file)
--- a/
mods/fire/init.lua
+++ b/
mods/fire/init.lua
@@
-263,7
+263,7
@@
else
minetest.remove_node(p0)
return
end
- if math.random(1,
4
) == 1 then
+ if math.random(1,
3
) == 1 then
-- remove flammable nodes around flame
local node = minetest.get_node(p)
local def = minetest.registered_nodes[node.name]