CONTENT CONTRACT · VERSION 1
apply_status
Apply a status for a positive duration; the status definition's stacking rule decides a repeated application.
Signature
{ duration_ticks: PositiveTicks, kind: "apply_status", status: StatusId, target: ActorRef }Fields
| Name | Type | Meaning |
|---|---|---|
duration_ticks | PositiveTicks | Duration of this application. Range: 1…2147483647; Unit: tick |
kind | "apply_status" | Discriminant |
status | StatusId | Applied status. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: status |
target | ActorRef | Actor the effect applies to. Length: 1…256; Pattern: ^[\s\S]+$ |
Validated example
{
"duration_ticks": 75,
"kind": "apply_status",
"status": "core:webbed",
"target": "a2"
}