Skip to content

Items people carry

Items are entities too: a key, a badge, a parcel, a toolkit. Link a person to an item with a relationship, and the item can give whoever carries it something extra to do.

  • A Key entity template, controlled by Nobody.
  • A Carries relationship from Person to Key.
  • A Pick up action to take the key, and an Unlock action the key gives its carrier.
  1. Create the item. Add an entity template Key, with Who controls it set to Nobody.
  2. Link people to items. Add a relationship Carries whose sentences read Carries links a Person to a Key and Each Key has at most 1 Carries link coming in, so each key has one carrier at a time.
  3. Picking it up. Add an action Pick up whose sentence reads Anyone may use Pick up on 1 target, a Key., with the effect Create a relationship reading Make Carries from the performer to the target. Give it to Person in its Actions card. In a scenario, assign the key a touchpoint where it’s found: people pick it up by scanning there. If someone else already carries it, picking it up fails.
  4. What the item allows. Add an action Unlock, aimed at a Door. Open the Key entity template, and in its Actions card tap + Unlock. Choose Via a relationship, set Relationship to Carries, and Which end the actor stands at to Outgoing (the person is the start of the link), then tap Assign.

Now anyone who carries a key can unlock doors, and nobody else can.

  • Several of an item. Set Initial instances on Key to how many there are.
  • Carrying a limited number. On Carries, set Each Person has … Carries links going out to At most a number, such as 1 for one item at a time.
  • Using it up. In the Unlock action, add Remove a relationship so it reads End Carries from the performer to the entity lending Unlock: the key they used. The carrier loses that key after using it, but keeps any others.
  • Items as a status. If people don’t need to pick up a particular item, a trait such as Has badge, with Grants these actions, is simpler.

The scenario’s runtime shows who carries what under Relationships, and so does each person’s and each key’s page.