forked from minetest/minetest_game
Fix API docs after various changes.
This commit is contained in:
parent
a84e2669c7
commit
da5f4a939e
10
game_api.txt
10
game_api.txt
@ -230,18 +230,14 @@ tnt.register_tnt(definition)
|
|||||||
* `bottom` Bottom tile. By default the name of the tnt with a suffix of `_bottom.png`.
|
* `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".
|
* `burning` Top tile when lit. By default the name of the tnt with a suffix of `_top_burning_animated.png".
|
||||||
|
|
||||||
`tnt.boom(position, radius, damage_radius, disable_drops) `
|
`tnt.boom(position, definition)`
|
||||||
|
|
||||||
^ Create an explosion.
|
^ Create an explosion.
|
||||||
|
|
||||||
* `position` The center of explosion.
|
* `position` The center of explosion.
|
||||||
* `radius` The radius within which nodes can be destroyed.
|
* `definition` The TNT definion as passed to `tnt.register`
|
||||||
* `damage_radius` The distance from the center that players and mobs can get damaged in.
|
|
||||||
* `disable_drops` Disable drops.
|
|
||||||
* `ignore_protection` Don't check `minetest.is_protected` before removing a node.
|
|
||||||
* `ignore_on_blast` Don't call `on_blast` even if a node has one.
|
|
||||||
|
|
||||||
`tnt.burn(pos)`
|
`tnt.burn(position)`
|
||||||
|
|
||||||
^ Ignite TNT at position
|
^ Ignite TNT at position
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user