Add an on_burn callback.
This commit is contained in:
parent
45bc0b245f
commit
a5ad30748d
2 changed files with 17 additions and 3 deletions
10
game_api.txt
10
game_api.txt
|
@ -176,6 +176,14 @@ The farming API allows you to easily register plants and hoes.
|
|||
maxlight = default.LIGHT_MAX -- Maximum light to grow
|
||||
}
|
||||
|
||||
Fire API
|
||||
--------
|
||||
|
||||
`on_burn(pos)`
|
||||
|
||||
* Called when fire attempts to remove a burning node.
|
||||
* `pos` Position of the burning node.
|
||||
|
||||
Screwdriver API
|
||||
---------------
|
||||
|
||||
|
@ -451,4 +459,4 @@ Trees
|
|||
* Grows a new design aspen tree at pos
|
||||
|
||||
* `default.grow_new_snowy_pine_tree(pos)`
|
||||
* Grows a new design snowy pine tree at pos
|
||||
* Grows a new design snowy pine tree at pos
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue