Outils pour utilisateurs

Outils du site


en:yaml: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:yaml:options [2026/05/03 18:29] – Add English wiki page using real engine keys cyrilfiestaen:yaml:options [2026/07/06 00:35] (Version actuelle) – maj 4.13 : modes d'interface + corrections cyrilfiesta
Ligne 1: Ligne 1:
-**Language:** [[fr:yaml:options|Français]] | **English**+**Language / Langue :** [[fr:yaml:options|FR]] | **EN**
  
 ====== Global Options and Scenario Header (YAML) ====== ====== Global Options and Scenario Header (YAML) ======
Ligne 70: Ligne 70:
  
 Accepted values: ''before'' or ''after''. Default: ''after''. Accepted values: ''before'' or ''after''. Default: ''after''.
 +
 +
 +===== ui: - interface mode (v4.13) =====
 +
 +Changes the game interface on the player side: ''cards'', ''fullscreen'', ''deck'', ''phone''. The key exists at scenario level and at room level, as does ''hide_input:'' which controls the command bar. Details on [[en:ui:presentation|Interface modes]].
 +
 +<code yaml>
 +ui: cards
 +hide_input: false
 +</code>
 +
 +Phone mode adds two header keys: ''phone_home:'' (room of the Home button) and ''phone_shape:'' (portrait, landscape, tablet) - see [[en:ui:phone|Phone mode]].
 +
 +===== Direct launch URL =====
 +
 +A scenario can be launched directly from a URL, without going through the home page:
 +
 +<code>
 +https://jdr-bot.cyril-fiesta.fr/?play=scenarioname
 +https://jdr-bot.cyril-fiesta.fr/?play=scenarioname&lang=en
 +</code>
 +
 +  * Automatic resolution: ''.yaml'' first, then ''.txt'' - no extension needed
 +  * Official ''scenarios/'' folder only
 +  * ''&lang=en'' launches the English version directly (interface and catalogue included) - v4.13
 +  * Ideal for direct share links in announcements or presentation pages
 +
 +===== show-type: =====
 +
 +For [[en:yaml:drag-drop|drag & drop]], ''show-type: true'' visually distinguishes source, target and mixed roles. The option can be defined at scenario level or only inside a room.
 +
 +<code yaml>
 +show-type: true
 +
 +rooms:
 +  - id: workshop
 +    show-type: true
 +    text: "{{key:>key}} {{door:$door}}"
 +</code>
 +
  
en/yaml/options.1777825789.txt.gz · Dernière modification : de cyrilfiesta