TNT: Add explode_center flag
Add 'explode_centre' flag which when false explodes as normal and when true runs on_blast on centre node as well as dropping items.
This commit is contained in:
parent
bcf98df5fa
commit
fe67ffda7c
2 changed files with 12 additions and 4 deletions
|
@ -363,7 +363,8 @@ TNT API
|
|||
^ Create an explosion.
|
||||
|
||||
* `position` The center of explosion.
|
||||
* `definition` The TNT definion as passed to `tnt.register`
|
||||
* `definition` The TNT definion as passed to `tnt.register` with the following addition:
|
||||
* `explode_center` false by default which removes TNT node on blast, when true will explode center node.
|
||||
|
||||
`tnt.burn(position, [nodename])`
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue