diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2017-05-12 10:02:42 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2017-05-12 10:02:42 +0100 |
commit | e814a360f60dfc21df34465592e219abfcabf5e5 (patch) | |
tree | 28e3af62da0b5ee461bfaba452fa6c025da9f677 /api.txt | |
parent | feb26ed9401f244637362fad4f7fcc2300b11d8c (diff) |
add owner loyalty so that aggressive tamed mobs will attack player foe's
Diffstat (limited to 'api.txt')
-rw-r--r-- | api.txt | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ -MOB API (27th April 2017) +MOB API (12th May 2017) The mob api is a function that can be called on by other mods to add new animals or monsters into minetest. @@ -25,6 +25,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 + 'owner_loyal' when true owned mobs will attack any monsters you punch 'attack_animals' true for monster to attack animals as well as player and npc's 'specific_attack' has a table of entity names that monsters can attack {"player", "mobs_animal:chicken"} 'hp_min' minimum health |