RestedEvent
A rest completed or was interrupted; kind is turn, night, or day.
Full documentation: RestedEvent. Wire type: rested.
Default visibility: player
Message codes: exploration.rest.interrupted, exploration.rest.rested
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": "A rest completed or was interrupted; `kind` is `turn`, `night`, or `day`.",
"properties": {
"code": {
"title": "Code",
"type": "string"
},
"visibility": {
"$ref": "#/$defs/Visibility",
"default": "player"
},
"event_type": {
"const": "rested",
"default": "rested",
"title": "Event Type",
"type": "string"
},
"kind": {
"title": "Kind",
"type": "string"
}
},
"required": [
"code",
"kind"
],
"title": "RestedEvent",
"type": "object"
}