en:yaml:imagemaps
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:imagemaps [2026/07/06 00:35] – maj 4.13 : modes d'interface + corrections cyrilfiesta | en:yaml:imagemaps [2026/07/15 01:41] (Version actuelle) – maj 4.13 : modes d'interface + corrections cyrilfiesta | ||
|---|---|---|---|
| Ligne 59: | Ligne 59: | ||
| * '' | * '' | ||
| * '' | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| ===== Related events ===== | ===== Related events ===== | ||
| Ligne 80: | Ligne 83: | ||
| </ | </ | ||
| - | Usual fields | + | Related events keep their usual fields: '' |
| + | |||
| + | ===== Zone state ===== | ||
| + | |||
| + | The state is checked both when the map is displayed and when a click is received. | ||
| + | |||
| + | ^ Value ^ Effect ^ | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | |||
| + | A zone may contain several '' | ||
| + | |||
| + | <code yaml> | ||
| + | zones: | ||
| + | scene: | ||
| + | colors: | ||
| + | | ||
| + | click: find_key | ||
| + | highlight: true | ||
| + | if: | ||
| + | - if: " | ||
| + | state: disabled | ||
| + | display-color: | ||
| + | display-mode: | ||
| + | </ | ||
| + | |||
| + | A decorative zone may use '' | ||
| ===== once: zone / once: zone-room ===== | ===== once: zone / once: zone-room ===== | ||
| Ligne 96: | Ligne 126: | ||
| do: " | do: " | ||
| </ | </ | ||
| + | |||
| + | ===== once: color / once: color-room ===== | ||
| + | |||
| + | These values group every separate mask area that uses the same color: | ||
| + | |||
| + | * '' | ||
| + | * '' | ||
| + | |||
| + | <code yaml> | ||
| + | events: | ||
| + | - id: touch_bottles | ||
| + | once: color | ||
| + | text: "Every bottle bears the same symbol." | ||
| + | </ | ||
| + | |||
| + | Use '' | ||
| ===== after-click: | ===== after-click: | ||
| - | On a zone whose click event carries | + | On a zone whose click event uses one of the '' |
| ^ Value ^ Effect ^ | ^ Value ^ Effect ^ | ||
| Ligne 120: | Ligne 166: | ||
| </ | </ | ||
| - | With '' | + | With the '' |
| - | + | ||
| - | ===== | + | |
| - | + | ||
| - | '' | + | |
| - | + | ||
| - | <code yaml> | + | |
| - | events: | + | |
| - | - id: touch_bottle | + | |
| - | once: zone | + | |
| - | text: "You inspect an empty bottle." | + | |
| - | do: " | + | |
| - | </ | + | |
| ===== Inside a HUD ===== | ===== Inside a HUD ===== | ||
en/yaml/imagemaps.txt · Dernière modification : de cyrilfiesta
