mirror of
https://codeberg.org/tenplus1/mobs_redo.git
synced 2024-12-24 09: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.mod = "redo"
|
||||
mobs.version = "20170811"
|
||||
mobs.version = "20170812"
|
||||
|
||||
|
||||
-- Intllib
|
||||
@ -3039,6 +3039,7 @@ function mobs:boom(self, pos, radius)
|
||||
radius = radius,
|
||||
damage_radius = radius,
|
||||
sound = self.sounds.explode,
|
||||
explode_center = true,
|
||||
})
|
||||
else
|
||||
minetest.sound_play(self.sounds.explode, {
|
||||
|
Loading…
Reference in New Issue
Block a user