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
Prochaine révision
Révision précédente
en:yaml:choix [2026/05/03 23:59] – mise a jour wiki cyrilfiestaen:yaml:choix [2026/08/31 20:51] (Version actuelle) – Wiki : fins de pages homogènes, liens Discord retirés 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:) =====
Ligne 132: Ligne 132:
       - all       - all
 </code> </code>
- 
-**Join us on [[https://discord.gg/Z63DtVV|Discord Make&Play]]** 
  
en/yaml/choix.1777845555.txt.gz · Dernière modification : de cyrilfiesta