CONTENT CONTRACT · VERSION 1
npc_moved_in
A resident moved into a different home.
Signature
{ kind: "npc_moved_in", npc: NpcId, player: (PlayerRef)?, position: Position }Fields
| Name | Type | Meaning |
|---|---|---|
kind | "npc_moved_in" | Discriminant |
npc | NpcId | Resident identity resolved when the move committed. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: npc |
player | PlayerRef | Player responsible for the committed assignment, if any. Length: 1…256; Pattern: ^[\s\S]+$ |
position | Position | Home location. |
Validated example
{
"kind": "npc_moved_in",
"npc": "core:juana",
"player": "p1",
"position": {
"map": "m1",
"x_mm": 0,
"y_mm": 0,
"z_mm": 0
}
}