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

added pushable flag for mobs so they can be pushed by player

This commit is contained in:
TenPlus1
2018-09-14 17:13:40 +01:00
parent 82411330fc
commit 830b1698ff
2 changed files with 41 additions and 3 deletions

View File

@ -45,6 +45,7 @@ functions needed for the mob to work properly which contains the following:
'fly_in' holds the node name that the mob flies (or swims) around
in e.g. "air" or "default:water_source".
'runaway' if true causes animals to turn and run away when hit.
'pushable' when true mobs can be pushed by player or other mobs.
'view_range' how many nodes in distance the mob can see a player.
'damage' how many health points the mob does to a player or another
mob when melee attacking.