CONTENT CONTRACT · VERSION 1
HealthUse
An item an AI-controlled actor uses from its own inventory below a health share.
Signature
{ health_below_permille: Permille, item: ItemId, retreat_mm: PositiveDistance }Fields
| Name | Type | Meaning |
|---|---|---|
health_below_permille | Permille | Health share below which it uses the item. Range: 0…1000; Unit: permille |
item | ItemId | Inventory item definition to count, consume or match. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: item |
retreat_mm | PositiveDistance | How far it backs off from its foe before it drinks. Range: 1…2147483647; Unit: mm |