en:yaml:objets
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:objets [2026/10/19 03:27] – Wiki 4.17 : exemples et tableaux manquants en anglais cyrilfiesta | en:yaml:objets [2026/10/20 22:11] (Version actuelle) – Mod?les sur_place, port?e des encadr?s et objets 4.17 cyrilfiesta | ||
|---|---|---|---|
| Ligne 39: | Ligne 39: | ||
| ^ Field ^ Effect ^ | ^ Field ^ Effect ^ | ||
| | '' | | '' | ||
| + | | '' | ||
| + | | '' | ||
| | '' | | '' | ||
| | '' | | '' | ||
| Ligne 161: | Ligne 163: | ||
| * [[en: | * [[en: | ||
| * [[en: | * [[en: | ||
| + | |||
| + | ===== Display name and identifier ===== | ||
| + | |||
| + | '' | ||
| + | |||
| + | <code yaml> | ||
| + | objects: | ||
| + | - name: workshop_key | ||
| + | display_name: | ||
| + | location: table | ||
| + | description: | ||
| + | </ | ||
| + | |||
| + | The player can type '' | ||
| + | |||
| + | The inventory numbers distinct objects sharing a display name, for example '' | ||
| + | |||
| + | In the editor, **Display name** expands on demand and stays open when populated. French syntax: '' | ||
| + | |||
| + | ===== Renaming during play ===== | ||
| + | |||
| + | In an interaction' | ||
| + | |||
| + | <code yaml> | ||
| + | do: | ||
| + | - display_name: | ||
| + | value: identified workshop key | ||
| + | </ | ||
| + | |||
| + | The effect changes the display name without changing the identifier or quantities. Saves retain it. Setting '' | ||
| + | |||
| + | ===== Secret scenery and empty furniture ===== | ||
| + | |||
| + | '' | ||
| + | |||
| + | <code yaml> | ||
| + | objects: | ||
| + | - name: workshop_key | ||
| + | display_name: | ||
| + | location: table | ||
| + | furniture_description: | ||
| + | description: | ||
| + | - name: empty_table | ||
| + | secret: true | ||
| + | location: table | ||
| + | furniture_description: | ||
| + | - name: statue_scenery | ||
| + | secret: true | ||
| + | location: statue | ||
| + | furniture_description: | ||
| + | furniture_reaction: | ||
| + | </ | ||
| + | |||
| + | Place an empty-furniture entry **after** the ordinary objects on that furniture. The first object still present supplies its description; | ||
| + | |||
| + | '' | ||
en/yaml/objets.txt · Dernière modification : de cyrilfiesta
