summaryrefslogtreecommitdiff
path: root/api.txt
diff options
context:
space:
mode:
Diffstat (limited to 'api.txt')
-rw-r--r--api.txt3
1 files changed, 2 insertions, 1 deletions
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.