LocationEnteredEvent
The party crossed a location boundary.
Full documentation: LocationEnteredEvent. Wire type: location_entered.
Default visibility: player
Message codes: exploration.location.entered
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 crossed a location boundary.\n\n`location_kind` is `area`, `level`, `dungeon`, or `town`; `location_id` is the\narea or dungeon id (`\"town\"` for town). `level_number` rides level and dungeon\nentries.",
"properties": {
"code": {
"default": "exploration.location.entered",
"title": "Code",
"type": "string"
},
"visibility": {
"$ref": "#/$defs/Visibility",
"default": "player"
},
"event_type": {
"const": "location_entered",
"default": "location_entered",
"title": "Event Type",
"type": "string"
},
"location_kind": {
"title": "Location Kind",
"type": "string"
},
"location_id": {
"title": "Location Id",
"type": "string"
},
"level_number": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Level Number"
}
},
"required": [
"location_kind",
"location_id"
],
"title": "LocationEnteredEvent",
"type": "object"
}