From b63317bc21469aa0867308cc4598b0e36ffaf032 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Mon, 5 Sep 2016 19:47:08 +0100 Subject: added specific_attack flag for special mob attacks --- api.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'api.txt') diff --git a/api.txt b/api.txt index a53507e..1b54e29 100644 --- a/api.txt +++ b/api.txt @@ -25,6 +25,7 @@ This functions registers a new mob as a Minetest entity. '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 + 'attack_specific' has a table of entity names that monsters can attack {"player", "mobs_animal:chicken"} 'hp_min' minimum health 'hp_max' maximum health (mob health is randomly selected between both) 'physical' same is in minetest.register_entity() -- cgit v1.2.3