Skip to content

PartyMovedEvent

The party moved or turned; x/y/facing are the resulting pose.

Full documentation: PartyMovedEvent. Wire type: party_moved.

Default visibility: player

Message codes: exploration.party.moved, exploration.party.turned

JSON Schema

{
  "$defs": {
    "Visibility": {
      "description": "Who may see an event.\n\nThe wire values are `\"player\"` and `\"referee\"` \u2014 lowercase, serialized into every\nevent; changing them is a `schema_version` bump.",
      "enum": [
        "player",
        "referee"
      ],
      "title": "Visibility",
      "type": "string"
    }
  },
  "description": "The party moved or turned; `x`/`y`/`facing` are the resulting pose.\n\nA blocked move is a rejection (`exploration.move.blocked`), never an event:\nmoving into a wall is an in-fiction invalid command, not a game state change.",
  "properties": {
    "code": {
      "title": "Code",
      "type": "string"
    },
    "visibility": {
      "$ref": "#/$defs/Visibility",
      "default": "player"
    },
    "event_type": {
      "const": "party_moved",
      "default": "party_moved",
      "title": "Event Type",
      "type": "string"
    },
    "x": {
      "title": "X",
      "type": "integer"
    },
    "y": {
      "title": "Y",
      "type": "integer"
    },
    "facing": {
      "title": "Facing",
      "type": "string"
    }
  },
  "required": [
    "code",
    "x",
    "y",
    "facing"
  ],
  "title": "PartyMovedEvent",
  "type": "object"
}