diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2017-07-08 21:11:22 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2017-07-08 21:11:22 +0100 |
commit | 7e092817603ecc4e0992fd009cd8d64c82952a80 (patch) | |
tree | 321c44b5f945bae5a6f865ff82acdd0bce967785 /api.txt | |
parent | 7dc2d22ef6fa40e9f9d9172f242962efd36fb484 (diff) |
use tnt.boom() function instead of mobs:explosion
Diffstat (limited to 'api.txt')
-rw-r--r-- | api.txt | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -90,8 +90,6 @@ This functions registers a new mob as a Minetest entity. 'double_melee_attack' if false then api will choose randomly between 'punch' and 'punch2' attack animations 'on_blast' is called when an explosion happens near mob when using TNT functions, parameters are (object, damage) and returns (do_damage, do_knockback, drops) 'explosion_radius' radius of explosion attack (defaults to 1) - 'explosion_fire' if true, explosion will create lots of fire (default: true) - 'explosion_smoke' if true, explosion creates smoke particles (default: true) 'arrow' if the attack_type is "shoot" or "dogshoot" then the entity name of a pre-defined arrow is required, see below for arrow definition. 'shoot_interval' the minimum shoot interval 'shoot_offset' +/- value to position arrow/fireball when fired |