Skip to content

HealingPurchasedEvent

A temple healing service purchased and cast.

Full documentation: HealingPurchasedEvent. Wire type: healing_purchased.

Default visibility: player

Message codes: town.healing.purchased

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 temple healing service purchased and cast.",
  "properties": {
    "code": {
      "default": "town.healing.purchased",
      "title": "Code",
      "type": "string"
    },
    "visibility": {
      "$ref": "#/$defs/Visibility",
      "default": "player"
    },
    "event_type": {
      "const": "healing_purchased",
      "default": "healing_purchased",
      "title": "Event Type",
      "type": "string"
    },
    "character_id": {
      "title": "Character Id",
      "type": "string"
    },
    "service": {
      "title": "Service",
      "type": "string"
    },
    "cost_gp": {
      "title": "Cost Gp",
      "type": "integer"
    }
  },
  "required": [
    "character_id",
    "service",
    "cost_gp"
  ],
  "title": "HealingPurchasedEvent",
  "type": "object"
}