diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2018-11-01 09:49:15 +0000 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2018-11-01 09:49:15 +0000 |
commit | 71669d3c59a243c607dbc251ca1cbf413b7dc9ca (patch) | |
tree | 1549fd344f767f2c161fe88ea7b30caf707d5041 /api.txt | |
parent | e545cc80f4b57f2c3a20b94d2fafa07485b8cdf2 (diff) |
if mob jumps against wall 4 times then turn, moved back to old line_of_sight function
Diffstat (limited to 'api.txt')
-rw-r--r-- | api.txt | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -126,7 +126,8 @@ functions needed for the mob to work properly which contains the following: '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 and when 'mobs_griefing' - in minetest.conf is not false). + in minetest.conf is not false). Adding {unbreakable=1} + to node groups stops them being broken by mobs. 'immune_to' is a table that holds specific damage when being hit by certain items e.g. {"default:sword_wood", 0} -- causes no damage. |