en:yaml:options
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| en:yaml:options [2026/05/03 18:47] – Harmonize FR/EN language switch cyrilfiesta | en:yaml:options [2026/10/18 23:46] (Version actuelle) – Relecture 4.17 : clarifications, exemples et typographie cyrilfiesta | ||
|---|---|---|---|
| Ligne 3: | Ligne 3: | ||
| ====== Global Options and Scenario Header (YAML) ====== | ====== Global Options and Scenario Header (YAML) ====== | ||
| - | ===== Scenario | + | ===== Scenario |
| <code yaml> | <code yaml> | ||
| - | title: " | + | id: my-scenario |
| + | language: en | ||
| + | title: " | ||
| description: | description: | ||
| - | | + | |
| - | | + | category: fiction |
| + | scenario_tags: | ||
| markdown: none | markdown: none | ||
| </ | </ | ||
| - | Avoid using '' | + | '' |
| + | |||
| + | '' | ||
| + | |||
| + | '' | ||
| + | |||
| + | Do not put ''< | ||
| ===== markdown: ===== | ===== markdown: ===== | ||
| ^ Value ^ Rendering ^ | ^ Value ^ Rendering ^ | ||
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | ===== Global | + | ===== Global |
| <code yaml> | <code yaml> | ||
| Ligne 33: | Ligne 42: | ||
| </ | </ | ||
| - | ===== options: | + | These values are the default for Web and Desktop text. Individual rooms may override them. |
| + | |||
| + | ===== options: | ||
| <code yaml> | <code yaml> | ||
| options: | options: | ||
| refresh: " | refresh: " | ||
| - | inventory: "Bag" | + | inventory: "Inventory" |
| - | previous: "Back" | + | previous: "Previous" |
| v_score_v: " | v_score_v: " | ||
| home: " | home: " | ||
| + | url1: " | ||
| </ | </ | ||
| ^ Key ^ Effect ^ | ^ Key ^ Effect ^ | ||
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| + | | '' | ||
| - | ===== External Links ===== | + | If a key points to an object or piece of furniture in the current room instead of a room, JDR-Bot automatically examines it. |
| + | |||
| + | ===== Global variables | ||
| + | |||
| + | '' | ||
| + | |||
| + | ===== global_events_order: | ||
| + | |||
| + | Global events are checked after local events by default. To check them first: | ||
| <code yaml> | <code yaml> | ||
| - | options: | + | global_events_order: before |
| - | url1: " | + | |
| - | url2: " | + | |
| </ | </ | ||
| - | ===== Fallback Examine ===== | + | Accepted values are '' |
| - | If an option key points to an object or furniture name in the current room, the engine triggers '' | + | ===== Direct launch URL ===== |
| - | ===== global_events_order: ===== | + | < |
| + | https:// | ||
| + | https:// | ||
| + | </ | ||
| + | |||
| + | The engine looks for a folder with that name first, then a YAML file and finally a TXT file. '' | ||
| + | |||
| + | ===== ui: - interface mode ===== | ||
| + | |||
| + | '' | ||
| <code yaml> | <code yaml> | ||
| - | global_events_order: before | + | ui: cards |
| + | hide_input: false | ||
| </ | </ | ||
| - | Accepted values: '' | + | Phone mode adds '' |
| + | |||
| + | ===== show-type: ===== | ||
| + | |||
| + | For [[en: | ||
| + | |||
| + | ===== Catalogue and scenario links ===== | ||
| + | |||
| + | Public links use the scenario's title and description. If its description is missing, the description in '' | ||
| + | |||
| + | Catalogue tags, declared in '' | ||
| + | |||
| + | ===== Command echo (4.17) ===== | ||
| + | |||
| + | <code yaml> | ||
| + | command_echo: | ||
| + | </ | ||
| + | |||
| + | Echo is disabled by default. | ||
| + | |||
| + | '' | ||
en/yaml/options.1777826867.txt.gz · Dernière modification : de cyrilfiesta
