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. |
||
---|---|---|
.. | ||
beds | ||
boats | ||
bones | ||
bucket | ||
creative | ||
default | ||
doors | ||
dye | ||
farming | ||
fire | ||
flowers | ||
give_initial_stuff | ||
screwdriver | ||
sethome | ||
stairs | ||
tnt | ||
vessels | ||
wool | ||
xpanes |