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

add runaway_from list for shy mobs

This commit is contained in:
TenPlus1
2018-01-26 15:34:06 +00:00
parent 2e9ebcced3
commit fc40d8d7e0
2 changed files with 112 additions and 0 deletions

View File

@ -102,6 +102,8 @@ functions needed for the mob to work properly which contains the following:
arrow/fireball appears on mob.
'specific_attack' has a table of entity names that mob can also attack
e.g. {"player", "mobs_animal:chicken"}.
'runaway_from' contains a table with mob names to run away from, add
"player" to list to runaway from player also.
'blood_amount' contains the number of blood droplets to appear when
mob is hit.
'blood_texture' has the texture name to use for droplets e.g.