1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2025-06-28 06:30:18 +02:00

switch node/entity setting in mobs:boom

This commit is contained in:
tenplus1
2024-11-21 15:35:07 +00:00
parent bde53c3475
commit ca76558edd
2 changed files with 7 additions and 7 deletions

View File

@ -619,11 +619,11 @@ Explosion Function
mobs:explosion(pos, radius) -- DEPRECATED!!! use mobs:boom() instead
mobs:boom(self, pos, radius, damage_radius, texture)
mobs:boom(self, pos, entity_radius, damage_radius, texture)
'self' mob entity
'pos' centre position of explosion
'radius' radius of explosion (typically set to 3)
'damage_radius' radius of damage around explosion
'damage_radius' radius of node damage (typically 3)
'entity_radius' radius of explosion to players and mobs
'texture' particle texture during explosion, defaults to "tnt_smoke.png"
This function generates an explosion which removes nodes in a specific radius