summaryrefslogtreecommitdiff
path: root/api_new.txt
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2017-10-13 14:57:55 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2017-10-13 14:57:55 +0100
commit8dd662285564b0082d3935404eb62068c0aec2a8 (patch)
tree95826e82820e1608ac64b17c3d20aa923e47d545 /api_new.txt
parent7c10fb7e27d2a3a7f324528eb0721d81216cbce6 (diff)
added explosion timer, explosion counts until out of view range
Diffstat (limited to 'api_new.txt')
-rw-r--r--api_new.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/api_new.txt b/api_new.txt
index 9d76ade..41a4bc8 100644
--- a/api_new.txt
+++ b/api_new.txt
@@ -1,5 +1,5 @@
-Mobs Redo API (last updated 25th Sep 2017)
+Mobs Redo API (last updated 13th Oct 2017)
==========================================
Welcome to the world of mobs in minetest and hopefully an easy guide to defining
@@ -87,6 +87,8 @@ functions needed for the mob to work properly which contains the following:
when inside view_range.
'explode' causes mob to explode when inside reach.
'explosion_radius' has the radius of the explosion which defaults to 1.
+ 'explosion_timer' number of seconds before mob explodes while still
+ inside view range.
'arrow' holds the pre-defined arrow object to shoot when
attacking.
'dogshoot_switch' allows switching between attack types by using timers