Outils pour utilisateurs

Outils du site


en:yaml:dialogues

Différences

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

Lien vers cette vue comparative

en:yaml:dialogues [2026/08/30 21:19] – maj 4.14 : dialogues, videos hebergees, mise en page, doc EN completee cyrilfiestaen:yaml:dialogues [2026/08/30 22:24] (Version actuelle) – maj 4.14 : dialogues, videos hebergees, mise en page, doc EN completee cyrilfiesta
Ligne 10: Ligne 10:
  
 <code yaml> <code yaml>
-salles:+rooms:
   - id: tavern   - id: tavern
-    texte:+    text:
       type: sequence       type: sequence
       replies:       replies:
Ligne 23: Ligne 23:
 The player reads the first reply, clicks, then reads the second one. Once the sequence ends, the room shows its choices as usual. The player reads the first reply, clicks, then reads the second one. Once the sequence ends, the room shows its choices as usual.
  
-Both spellings work: ''replies:'' and ''repliques:''''text:'' and ''texte:''.+Use ''replies:'' and ''text:'' in an English scenario. The French aliases ''repliques:'' and ''texte:'' are accepted too.
  
 ===== Character registry ===== ===== Character registry =====
Ligne 39: Ligne 39:
     portrait-position: right     portrait-position: right
  
-salles:+rooms:
   - id: checkpoint   - id: checkpoint
-    texte:+    text:
       type: sequence       type: sequence
       replies:       replies:
Ligne 135: Ligne 135:
  
 <code yaml> <code yaml>
-salles:+rooms:
   - id: laboratory   - id: laboratory
     background-image: /scenarios/images/my-game/lab.png     background-image: /scenarios/images/my-game/lab.png
     background-mode: cover     background-mode: cover
-    texte: "The tanks hum in the half-light."+    text: "The tanks hum in the half-light."
 </code> </code>
  
Ligne 227: Ligne 227:
  
 <code yaml> <code yaml>
-    texte:+    text:
       type: sequence       type: sequence
       hide-controls: true       hide-controls: true
Ligne 236: Ligne 236:
 ===== Mixing text and sequences ===== ===== Mixing text and sequences =====
  
-A ''texte:'' field accepts a list: plain texts and sequences follow one another in the order written.+A ''text:'' field accepts a list: plain texts and sequences follow one another in the order written.
  
 <code yaml> <code yaml>
-    texte:+    text:
       - "You push the office door open."       - "You push the office door open."
       - type: sequence       - type: sequence
en/yaml/dialogues.1788117593.txt.gz · Dernière modification : de cyrilfiesta