Outils pour utilisateurs

Outils du site


en:yaml:choix

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
en:yaml:choix [2026/05/03 23:59] – mise a jour wiki cyrilfiestaen:yaml:choix [2026/07/06 00:35] (Version actuelle) – maj 4.13 : modes d'interface + corrections cyrilfiesta
Ligne 3: Ligne 3:
 ====== Choices and Buttons (YAML) ====== ====== Choices and Buttons (YAML) ======
  
-Choices define the exits available from a room — navigation, access conditions and buttons shown to the player.+Choices define the exits available from a room navigation, access conditions and buttons shown to the player.
  
 ===== Minimal syntax ===== ===== Minimal syntax =====
Ligne 86: Ligne 86:
 </code> </code>
  
-  * ''text_ko:'' — shown if the condition fails (access denied) +  * ''text_ko:'' shown if the condition fails (access denied) 
-  * ''text_ok:'' — shown if the condition succeeds, before moving+  * ''text_ok:'' shown if the condition succeeds, before moving
  
 Without a condition, ''text_ok:'' and ''text_ko:'' are not used. Without a condition, ''text_ok:'' and ''text_ko:'' are not used.
Ligne 106: Ligne 106:
 </code> </code>
  
-  * ''visible-if:'' — the button disappears if the condition is false +  * ''visible-if:'' the button disappears if the condition is false 
-  * ''disabled-if:'' — the button stays visible but cannot be clicked+  * ''disabled-if:'' the button stays visible but cannot be clicked
  
 ===== Click effect (effect:) ===== ===== Click effect (effect:) =====
en/yaml/choix.1777845555.txt.gz · Dernière modification : de cyrilfiesta