Outils pour utilisateurs

Outils du site


en:txt:options

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
en:txt:options [2026/07/06 00:12] – maj 4.13 : modes d'interface + corrections cyrilfiestaen:txt:options [2026/08/31 20:47] (Version actuelle) – Wiki : fins de pages homogènes, liens Discord retirés cyrilfiesta
Ligne 1: Ligne 1:
 **Language / Langue :** [[fr:txt:options|FR]] | **EN** **Language / Langue :** [[fr:txt:options|FR]] | **EN**
  
-====== TXT - Title Options ======+====== Title options (.txt format) ====== 
 + 
 +The first line of the scenario, the title, can be followed by options separated with ''|''
 +These options add **permanent reactions**, visible under every message. 
 + 
 +===== Syntax ===== 
 + 
 +<code> 
 +My scenario|option1§emoji|option2§emoji 
 +</code> 
 + 
 +===== Available options ===== 
 + 
 +^ Option ^ Effect ^ 
 +| ''refresh§🔄'' | Shows the text of the current room again | 
 +| ''inventory§🎒'' | Shows the player inventory | 
 +| ''v_score_v§⭐'' | Shows the value, and description, of the ''score'' variable | 
 +| ''room_name§🗺️'' | Direct access to the ''room_name'' room from anywhere | 
 + 
 +Any variable name can be used. The reaction displays the value and the description of that variable when clicked. 
 + 
 +A room option does not show its reaction when the player is already in that room. 
 + 
 +===== Example ===== 
 + 
 +<code> 
 +The Cursed Castle|refresh§🔄|inventory§🎒|v_hp_v§❤️|map§🗺️ 
 +</code> 
 + 
 +This line creates four permanent reactions: 
 +  * 🔄 to show the room again 
 +  * 🎒 to check the inventory 
 +  * ❤️ to check the hit points 
 +  * 🗺️ to reach the ''map'' room from anywhere
  
-Legacy title options are still parsed for old scenarios. For new scenarios, use YAML ''options:'' and the scenario header keys. 
en/txt/options.1783289575.txt.gz · Dernière modification : de cyrilfiesta