1
0
mirror of https://github.com/minetest/minetest_game.git synced 2024-12-23 07:10:19 +01:00
minetest_game/mods/fire
Auke Kok d61803b65f Fire: move fire node removal out of ABM.
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.
2016-05-28 15:11:31 +01:00
..
sounds Fire: Move flame extinguishing to separate faster ABM 2015-09-04 23:05:26 +01:00
textures Add flint and flint-and-steel 2016-03-15 16:22:42 +00:00
init.lua Fire: move fire node removal out of ABM. 2016-05-28 15:11:31 +01:00
README.txt Add flint and flint-and-steel 2016-03-15 16:22:42 +00:00

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)