mirror of
https://codeberg.org/tenplus1/mobs_redo.git
synced 2025-01-12 02:40:21 +01:00
add explode_center flag to mobs:boom function
This commit is contained in:
parent
4d80e58a2c
commit
38d7a214b1
5
api.lua
5
api.lua
@ -1,9 +1,9 @@
|
|||||||
|
|
||||||
-- Mobs Api (11th August 2017)
|
-- Mobs Api (12th August 2017)
|
||||||
|
|
||||||
mobs = {}
|
mobs = {}
|
||||||
mobs.mod = "redo"
|
mobs.mod = "redo"
|
||||||
mobs.version = "20170811"
|
mobs.version = "20170812"
|
||||||
|
|
||||||
|
|
||||||
-- Intllib
|
-- Intllib
|
||||||
@ -3039,6 +3039,7 @@ function mobs:boom(self, pos, radius)
|
|||||||
radius = radius,
|
radius = radius,
|
||||||
damage_radius = radius,
|
damage_radius = radius,
|
||||||
sound = self.sounds.explode,
|
sound = self.sounds.explode,
|
||||||
|
explode_center = true,
|
||||||
})
|
})
|
||||||
else
|
else
|
||||||
minetest.sound_play(self.sounds.explode, {
|
minetest.sound_play(self.sounds.explode, {
|
||||||
|
Loading…
Reference in New Issue
Block a user