d61803b65f
Because the fire nodes are not removed 100% when there are no more burnable nodes nearby, they can potentially stay around for very, very long times, leading to ABM trains every 5 seconds for no good reason (only 1 in 16 will be removed every interval). A much better method to remove fire nodes is to remove them by timer, and give removal a 100% chance if no flammable nodes are adjacent. This makes fire cleanup a lot faster and more natural, and will reduce the amount of ABM hits making fire overall more responsive. We also remove the 1 in 4 chance and fold the removal of flammable nodes into the ABM chance. There's some low hanging fruit cleanups in here as well. |
||
---|---|---|
.. | ||
sounds | ||
textures | ||
init.lua | ||
README.txt |
Minetest Game mod: fire ======================= License of source code: ----------------------- Copyright (C) 2012 Perttu Ahola (celeron55) <celeron55@gmail.com> This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. http://www.gnu.org/licenses/lgpl-2.1.html License of media (textures and sounds) -------------------------------------- Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) http://creativecommons.org/licenses/by-sa/3.0/ Authors of media files ----------------------- Everything not listed in here: Copyright (C) 2012 Perttu Ahola (celeron55) <celeron55@gmail.com> fire_small.ogg sampled from: http://www.freesound.org/people/dobroide/sounds/4211/ fire_large.ogg sampled from: http://www.freesound.org/people/Dynamicell/sounds/17548/ fire_basic_flame_animated.png: Muadtralk fire_flint_steel.png Gambit (WTFPL)