diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2016-05-23 19:19:40 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2016-05-23 19:19:40 +0100 |
commit | c6d4b957686ca97748ba1145274fea4c0eef1759 (patch) | |
tree | 9c84ed5fa14feeb31d6a1193bc6b30d3cd609614 /api.txt | |
parent | e4a919da02e23a54d68a03312b5b893c1040bbb2 (diff) |
tweaked pathfinding with 2 modes, 1 to find, 2 to build/break
Diffstat (limited to 'api.txt')
-rw-r--r-- | api.txt | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -73,7 +73,7 @@ This functions registers a new mob as a Minetest entity. 'on_die' a function that is called when the mob is killed the parameters are (self, pos) 'floats' 1 to float in water, 0 to sink 'on_rightclick' its same as in minetest.register_entity() - 'pathfinding' when true mobs will use pathfinder feature to locate player (only works with dogfight attack) + 'pathfinding' set to 1 for mobs to use pathfinder feature to locate player, set to 2 so they can build/break also (only works with dogfight attack) 'attack_type' the attack type of a monster 'dogfight' follows player in range and attacks when in reach 'shoot' shoots defined arrows when player is within range |