Outils pour utilisateurs

Outils du site


en:yaml:actions

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
en:yaml:actions [2026/10/19 03:23] – Wiki 4.17 : exemples et tableaux manquants en anglais cyrilfiestaen:yaml:actions [2026/10/20 22:22] (Version actuelle) – Modèles sur_place, portée des encadrés et objets 4.17 cyrilfiesta
Ligne 43: Ligne 43:
  
 ^ Variable ^ Value ^ ^ Variable ^ Value ^
-| ''t_action_cible_t'' | Raw target typed by the player. |+| ''t_action_cible_t'' | Typed target, or resolved identifier when an object's display name is recognised. |
 | ''t_action_cible_ok_t'' | Last valid target. | | ''t_action_cible_ok_t'' | Last valid target. |
  
Ligne 109: Ligne 109:
  
 Actions, choices and events can have a [[en:yaml:raccourcis|keyboard, mouse or gamepad shortcut]], with or without a button. Interaction conditions and limits still apply. Actions, choices and events can have a [[en:yaml:raccourcis|keyboard, mouse or gamepad shortcut]], with or without a button. Interaction conditions and limits still apply.
 +
 +===== Object display names =====
 +
 +Action targets and ''t_action_target_t'' retain the object identifier, even when the player types its display name. Explicit targets keep priority. To change the visible name during play:
 +
 +<code yaml>
 +do:
 +  - display_name: workshop_key
 +    value: identified key
 +</code>
 +
 +An empty value restores the original identifier. See [[en:yaml:objets|Objects: display names, renaming and secret scenery]] for rules and examples.
  
en/yaml/actions.1792372987.txt.gz · Dernière modification : de cyrilfiesta