en:txt:alias
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
| en:txt:alias [2026/05/03 18:30] – Add English wiki page using real engine keys cyrilfiesta | en:txt:alias [2026/08/31 20:46] (Version actuelle) – Wiki : fins de pages homogènes, liens Discord retirés cyrilfiesta | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | **Language: | + | **Language |
| - | ====== | + | ====== Aliases and reactions (.txt format) |
| - | Legacy | + | ===== Local aliases |
| + | |||
| + | An alias is a shortcut | ||
| + | |||
| + | < | ||
| + | alias-> | ||
| + | </ | ||
| + | |||
| + | The player can then use the '' | ||
| + | |||
| + | < | ||
| + | exit-> | ||
| + | north-> | ||
| + | </ | ||
| + | |||
| + | With a condition: | ||
| + | < | ||
| + | exit-> | ||
| + | </ | ||
| + | |||
| + | ===== Global aliases ===== | ||
| + | |||
| + | Global aliases go **at the end of the file**, after the last '' | ||
| + | |||
| + | < | ||
| + | inventory§🎒|help§❓|quit§🚪 | ||
| + | </ | ||
| + | |||
| + | Format: '' | ||
| + | |||
| + | ===== 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 '' | ||
| + | |||
| + | **Attaching one to a custom action:** | ||
| + | < | ||
| + | action: | ||
| + | </ | ||
| + | |||
| + | ===== Title options ===== | ||
| + | |||
| + | The scenario title can be followed by options made available through permanent reactions: | ||
| + | |||
| + | ^ Option ^ Effect ^ | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | |||
| + | < | ||
| + | My adventure|refresh§🔄|inventory§🎒 | ||
| + | </ | ||
en/txt/alias.1777825800.txt.gz · Dernière modification : de cyrilfiesta
