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édente | |||
| en:yaml:choix [2026/10/09 23:51] – Documentation 4.16 : generation et mises a jour de l'editeur cyrilfiesta | en:yaml:choix [2026/10/19 21:20] (Version actuelle) – Textes des choix : tentative, resultat et ordre des effets cyrilfiesta | ||
|---|---|---|---|
| Ligne 75: | 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) ===== | ||
en/yaml/choix.txt · Dernière modification : de cyrilfiesta
