Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix API docs after various changes.
  • Loading branch information
sofar authored and paramat committed Apr 16, 2016
1 parent a84e266 commit da5f4a9
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions game_api.txt
Expand Up @@ -230,18 +230,14 @@ tnt.register_tnt(definition)
* `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, radius, damage_radius, disable_drops) `
`tnt.boom(position, definition)`

^ Create an explosion.

* `position` The center of explosion.
* `radius` The radius within which nodes can be destroyed.
* `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.
* `definition` The TNT definion as passed to `tnt.register`

`tnt.burn(pos)`
`tnt.burn(position)`

^ Ignite TNT at position

Expand Down

0 comments on commit da5f4a9

Please sign in to comment.