Skip to content

Attributes

An attribute is a named value. Entities can hold it, such as a checkpoint’s number of visits or a person’s status, or the whole scenario can, such as the number of places left.

To add one, open the template’s Definitions and tap New next to Attributes.

Choose these when you create the attribute. You can’t change them later.

  • Scope: Entity (the default) for a value each entity holds, or Scenario for one value the whole scenario shares.
  • Type: Number, Boolean (yes or no) or Enum (one of a list of choices).

There’s no text type: attributes can’t hold free text.

Setting Default What it does
Min 0 The lowest the value can go
Max 100 The highest it can go
Default 0 The value it starts with
Scale (0–12) 0 How many decimal places it keeps

Values are exact. When something changes a value, it’s rounded to the number of decimal places, then kept within Min and Max: a counter with a maximum of 100 stays at 100 however much more you add.

An entity template can narrow a number’s limits for its own entities, with Custom bounds.

Choose the Default: False or True.

Add the Values, the choices it can be, such as “Waiting”, “In progress” and “Done”, with Add value. Then choose the Default value.

After creating an enum:

  • You can change the values’ labels, even after publishing.
  • On a draft, you can add more values with Append a value. You can’t remove or reorder values.

An enum can have up to 1,000 values.

  • Entity attributes do nothing until you give them to an entity template, in its Attributes card, or grant them from a trait.
  • Effects change attributes; see Effects.
  • Conditions check them; see Conditions.
  • In a running scenario, you can see an entity’s attributes on its page, and changes appear in the timeline.

On a draft, open it and tap Delete attribute. It’s also removed from every entity template and trait that has it. Anything else that uses it is flagged when you publish.