From 71669d3c59a243c607dbc251ca1cbf413b7dc9ca Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Thu, 1 Nov 2018 09:49:15 +0000 Subject: if mob jumps against wall 4 times then turn, moved back to old line_of_sight function --- api.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'api.txt') diff --git a/api.txt b/api.txt index f6b8d48..72f023c 100644 --- a/api.txt +++ b/api.txt @@ -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. -- cgit v1.2.3