Table des matières

Language / Langue : FR | EN

Aliases and reactions (.txt format)

Local aliases

An alias is a shortcut to reach a room. It goes in the exit list:

alias->room_number

The player can then use the go alias command instead of the number. For example:

exit->3
north->5

With a condition:

exit->3|object|You do not have the key!|You walk out.

Global aliases

Global aliases go at the end of the file, after the last * and the online variables. They give access to a room from anywhere in the scenario:

inventory§🎒|help§❓|quit§🚪

Format: alias_name§emoji text

Discord reactions

Reactions, the clickable emojis, can be attached to several kinds of elements.

Attaching a reaction to a room:

2 room_name§🚪

The reaction appears when room 2 is reachable from the current room.

Attaching one to an object:

hammer|crate|You open the crate: there is a hammer inside!§🔨|You take the hammer.§🛠️|The hammer looks solid!§👁️

🔨 inspects the crate, 🛠️ takes the hammer, 👁️ inspects the hammer.

Attaching one to a 997 event:

997|2§🔧|action|You use the tool.|No reaction...

The number before the § is how many times it can be used.

Attaching one to a custom action:

action:door|condition§🔑|effect|You open the door.|The door is locked.

Title options

The scenario title can be followed by options made available through permanent reactions:

Option Effect
refresh§🔄 Shows the text of the current room again
inventory§🎒 Shows the inventory
v_hp_v§❤️ Shows the value and description of the hp variable
room_name§🗺️ Gives access to the room_name room from anywhere
My adventure|refresh§🔄|inventory§🎒