TNT: Add tnt.boom defaults
This adds def, def.radius and def.damage_radius defaults to the tnt.boom() function if they aren't specified on call.
This commit is contained in:
parent
12a971660d
commit
3ff296961e
2 changed files with 4 additions and 1 deletions
|
@ -358,7 +358,7 @@ TNT API
|
|||
* `bottom` Bottom tile. By default the name of the tnt with a suffix of `_bottom.png`.
|
||||
* `burning` Top tile when lit. By default the name of the tnt with a suffix of `_top_burning_animated.png".
|
||||
|
||||
`tnt.boom(position, definition)`
|
||||
`tnt.boom(position[, definition])`
|
||||
|
||||
^ Create an explosion.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue