Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Add item tokens which allow creatures to use custom interactions.  (Read 366 times)

dikbutdagrate

  • Bay Watcher
    • View Profile

The goal being to facilitate items such as a djinn's lamp, this sort of thing.

I've put together an example raw posted in the spoiler section below: In this example, we define the secret thats generated during world gen, and specify which item is created in place of a slab, which in this case, is a large gem. Lastly, we attach specific interactions to the secret object, which allows creatures who are in possession of the object to use those interactions, as long as they retain possession of the object.

The example we use is a gemstone that transforms its owner into a demon and back after some time. Although, the creature will stop aging after having used the item at least once. 

Spoiler (click to show/hide)

Coming into contact with the secret object might also permit the normal transference of secrets, syndromes, interactions, etc. However in the above example we decline to make any permanent changes to creatures who come into contact with the object, in order to narrow the example's focus.
« Last Edit: July 31, 2023, 04:31:17 pm by dikbutdagrate »
Logged