1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2025-11-18 15:45:29 +01:00

add punch_interval setting

This commit is contained in:
tenplus1
2025-11-17 16:57:17 +00:00
parent 59ae6c6923
commit a0a30a4a0c
2 changed files with 9 additions and 3 deletions

View File

@@ -153,6 +153,7 @@ functions needed for the mob to work properly which contains the following:
'shoot_offset' holds the y position added as to where the
arrow/fireball appears on mob.
'homing' When True arrows will follow player when visible.
'punch_interval' the number of seconds between punches (default: 1)
'specific_attack' has a table of entity names that mob can also attack
e.g. {"player", "mobs_animal:chicken"}.
'friendly_fire` when set to false, mobs will not be able to harm other