forked from thunderdog1138/star_wars
Fire: Higher chance of removing flammable nodes
Flammable nodes burn away quicker
This commit is contained in:
parent
ab7b7c7504
commit
e426f64993
|
@ -263,7 +263,7 @@ else
|
||||||
minetest.remove_node(p0)
|
minetest.remove_node(p0)
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
if math.random(1, 4) == 1 then
|
if math.random(1, 3) == 1 then
|
||||||
-- remove flammable nodes around flame
|
-- remove flammable nodes around flame
|
||||||
local node = minetest.get_node(p)
|
local node = minetest.get_node(p)
|
||||||
local def = minetest.registered_nodes[node.name]
|
local def = minetest.registered_nodes[node.name]
|
||||||
|
|
Loading…
Reference in New Issue