Skip to content

CurseRevealedEvent

A cursed item revealed its true nature — and pins itself to its bearer.

Full documentation: CurseRevealedEvent. Wire type: curse_revealed.

Default visibility: player

Message codes: items.curse.revealed

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 cursed item revealed its true nature \u2014 and pins itself to its bearer.",
  "properties": {
    "code": {
      "default": "items.curse.revealed",
      "title": "Code",
      "type": "string"
    },
    "visibility": {
      "$ref": "#/$defs/Visibility",
      "default": "player"
    },
    "event_type": {
      "const": "curse_revealed",
      "default": "curse_revealed",
      "title": "Event Type",
      "type": "string"
    },
    "character_id": {
      "title": "Character Id",
      "type": "string"
    },
    "instance_id": {
      "title": "Instance Id",
      "type": "string"
    },
    "template_id": {
      "title": "Template Id",
      "type": "string"
    }
  },
  "required": [
    "character_id",
    "instance_id",
    "template_id"
  ],
  "title": "CurseRevealedEvent",
  "type": "object"
}