mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-06-06 22:04:25 -04:00
Allows nodes to define on_burn(position, igniter_node_name, action_string) to handle different(future) burn actions (E.g. allows nodes to change burnt nodes to a charred/burnt version, rather than remove). Optimised by removing duplicate call to find_node_near before removing flammable nodes. Improved readability with meaningful variable names and some added comments. Provided fire.features.on_burn_callback (Thanks, Celeron55!) to allow mods to save recreating functionality with their own burning ABMs by testing fire.features. |
||
---|---|---|
.. | ||
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