CONTENT CONTRACT · VERSION 1
ItemUse
Explicit item use contract; absent for items without a use action.
Signature
{ cooldown_ticks: PositiveTicks, parameters: Parameters, reach_mm: Distance, script: ScriptId, snapshot: SnapshotSpec, target_scope: TargetScope }Fields
| Name | Type | Meaning |
|---|---|---|
cooldown_ticks | PositiveTicks | Cooldown starts only after outcome used commits. Range: 1…2147483647; Unit: tick |
parameters | Parameters | Exact closed argument record supplied by the selected definition. |
reach_mm | Distance | Maximum actor targeting distance. Zero for self. Range: 0…2147483647; Unit: mm |
script | ScriptId | Authority script owned by this item package. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: script |
snapshot | SnapshotSpec | Required read scope; fields are described by snapshot_spec. |
target_scope | TargetScope | Whether the validated intent may target another actor. |