en:yaml:choix
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:choix [2026/07/06 00:35] – maj 4.13 : modes d'interface + corrections cyrilfiesta | en:yaml:choix [2026/10/19 21:20] (Version actuelle) – Textes des choix : tentative, resultat et ordre des effets cyrilfiesta | ||
|---|---|---|---|
| Ligne 41: | Ligne 41: | ||
| </ | </ | ||
| - | The player can click the button **or** type '' | + | The player can click the button **or** type '' |
| - | Without '' | + | |
| + | With [[en: | ||
| See [[en: | See [[en: | ||
| Ligne 74: | Ligne 75: | ||
| ===== Access condition (if:) ===== | ===== Access condition (if:) ===== | ||
| - | '' | + | '' |
| <code yaml> | <code yaml> | ||
| choices: | choices: | ||
| - command: enter | - command: enter | ||
| - | button: | + | button: Enter |
| to: secret_room | to: secret_room | ||
| + | text: "You push the door." | ||
| if: " | if: " | ||
| - | | + | |
| - | | + | |
| </ | </ | ||
| - | * '' | + | ^ Situation ^ Texts shown ^ Effect and movement ^ |
| - | | + | | No '' |
| + | | Condition passes | '' | ||
| + | | Condition | ||
| + | | '' | ||
| + | | Disabled button | None | No | | ||
| - | Without | + | Texts follow their order in the YAML. In the editor, use the move buttons beside the text fields to change that order; |
| + | |||
| + | '' | ||
| + | |||
| + | This rule applies to choices. An action uses '' | ||
| ===== Conditional button (visible-if / disabled-if) ===== | ===== Conditional button (visible-if / disabled-if) ===== | ||
| Ligne 132: | Ligne 142: | ||
| - all | - all | ||
| </ | </ | ||
| - | |||
| - | **Join us on [[https:// | ||
en/yaml/choix.1783290903.txt.gz · Dernière modification : de cyrilfiesta
