summaryrefslogtreecommitdiff
path: root/api.txt
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2016-09-05 18:39:17 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2016-09-05 18:39:17 +0100
commit046204cf9a1544892070b1cf8991594f13ce0eaa (patch)
treec6268e95cf609948c7f5ec78cd823bcddbef8984 /api.txt
parentc15ffef8ae30dd781f2ffbe933704e5e99b1e8c7 (diff)
Added attack_animals flag for monsters
Diffstat (limited to 'api.txt')
-rw-r--r--api.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/api.txt b/api.txt
index f421b98..a53507e 100644
--- a/api.txt
+++ b/api.txt
@@ -1,5 +1,5 @@
-MOB API (23rd May 2016)
+MOB API (5th September 2016)
The mob api is a function that can be called on by other mods to add new animals or monsters into minetest.
@@ -24,6 +24,7 @@ This functions registers a new mob as a Minetest entity.
'docile_by_day' when true, mob will not attack during daylight hours unless provoked
'attacks_monsters' usually for npc's to attack monsters in area
'group_attack' true to defend same kind of mobs from attack in area
+ 'attack_animals' true for monster to attack animals as well as player and npc's
'hp_min' minimum health
'hp_max' maximum health (mob health is randomly selected between both)
'physical' same is in minetest.register_entity()