diff options
| author | TenPlus1 <kinsellaja@yahoo.com> | 2016-09-05 19:47:08 +0100 | 
|---|---|---|
| committer | TenPlus1 <kinsellaja@yahoo.com> | 2016-09-05 19:47:08 +0100 | 
| commit | b63317bc21469aa0867308cc4598b0e36ffaf032 (patch) | |
| tree | f1b28dfabdc73b77e506ba4f5643b194ffb901a5 /api.txt | |
| parent | 046204cf9a1544892070b1cf8991594f13ce0eaa (diff) | |
added specific_attack flag for special mob attacks
Diffstat (limited to 'api.txt')
| -rw-r--r-- | api.txt | 1 | 
1 files changed, 1 insertions, 0 deletions
| @@ -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() | 
