1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2025-06-28 06:30:18 +02:00

have separate get_nodes function for nodes around mob, update api.txt

This commit is contained in:
tenplus1
2023-05-18 11:19:28 +01:00
parent 1e3d26937e
commit 29bc2f27f2
2 changed files with 63 additions and 54 deletions

View File

@ -379,6 +379,12 @@ for each mob.
"flop": bounce around aimlessly
(for swimming mobs that have stranded)
"die": during death
'self.standing_on' Node name mob is standing on.
'self.standing_in' Node name mob is standing inside.
'self.looking_at' Node name in front of mob.
'self.looking_above'Node name in front/above mob.
'self.facing_fence' True if mob facing node containing "wall", "fence", "gate"
in it's name.
Adding Mobs in World