CONTENT CONTRACT · VERSION 1
EnemyTemper
An enemy's temper: calm at its post, it notices a foe in sight (wary: watches first with a question mark), fights it, looks around where it lost it and walks home calmly. It fights until it dies.
Signature
{ fight_leash_mm: PositiveDistance, lose_after_ticks: PositiveTicks, search_ticks: PositiveTicks, watch: (EnemyWatch)? }Fields
| Name | Type | Meaning |
|---|---|---|
fight_leash_mm | PositiveDistance | Leash from its post while it fights; beyond it the foe is lost. The circle is its ground: on its way home or looking around it notices a foe standing within three quarters of it. Range: 1…2147483647; Unit: mm |
lose_after_ticks | PositiveTicks | How long a foe out of its sight stays its foe. Range: 1…2147483647; Unit: tick |
search_ticks | PositiveTicks | How long it stands and looks around where it lost a foe before it walks home. Range: 1…2147483647; Unit: tick |
watch | EnemyWatch | Wary: it watches a foe it notices before it fights. Absent: aggressive, it fights a foe as soon as it notices one. |