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

Prochaine révision
Révision précédente
en:txt:options [2026/05/03 18:30] – Add English wiki page using real engine keys 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:** [[fr:txt:options|Français]] | **English**+**Language / Langue :** [[fr:txt:options|FR]] | **EN**
  
-====== TXT — Title Options ======+====== Title options (.txt format) ======
  
-Legacy title options are still parsed for old scenariosFor new scenariosuse YAML ''options:'' and the scenario header keys.+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 usedThe 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
  
en/txt/options.1777825801.txt.gz · Dernière modification : de cyrilfiesta