summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2017-08-12 18:20:01 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2017-08-12 18:20:01 +0100
commit38d7a214b1551f6dd0e56f89e422c67a26f6cc5f (patch)
treef1ffbc0653f2037a4244b79a2f4ce2a52f2045b9
parent4d80e58a2cd9841e66f2ff72c9a30ab1c7554227 (diff)
add explode_center flag to mobs:boom function
-rw-r--r--api.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/api.lua b/api.lua
index b956327..501921d 100644
--- a/api.lua
+++ b/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, {