1
0
mirror of https://github.com/minetest/minetest_game.git synced 2025-06-30 13:50:23 +02:00

fire: Document flammable group, a little code cleanup

This commit is contained in:
HybridDog
2019-03-30 21:33:08 +01:00
committed by Paramat
parent dfe6fd6560
commit efd090228d
2 changed files with 14 additions and 11 deletions

View File

@ -362,6 +362,8 @@ The farming API allows you to easily register plants and hoes.
Fire API
--------
Add group flammable when registering a node to make fire seek for it.
Add it to an item to make it burn up when dropped in lava or fire.
New node def property:
`on_burn(pos)`