Outils pour utilisateurs

Outils du site


en:yaml:objets

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
en:yaml:objets [2026/08/30 21:21] – maj 4.14 : dialogues, videos hebergees, mise en page, doc EN completee cyrilfiestaen:yaml:objets [2026/08/30 22:26] (Version actuelle) – maj 4.14 : dialogues, videos hebergees, mise en page, doc EN completee cyrilfiesta
Ligne 63: Ligne 63:
  
 <code yaml> <code yaml>
-objets:+objects:
   - name: coin   - name: coin
     location: chest     location: chest
Ligne 79: Ligne 79:
  
 <code yaml> <code yaml>
-objets:+objects:
   - name: torch   - name: torch
     location: wall     location: wall
Ligne 102: Ligne 102:
  
 <code yaml> <code yaml>
-evenements+events
-  - si:+  - if:
       object: coin       object: coin
       quantity: 3       quantity: 3
       operator: ">="       operator: ">="
-    texte: "You have enough coins to pay the ferryman."+    text: "You have enough coins to pay the ferryman."
 </code> </code>
  
Ligne 140: Ligne 140:
  
 ''description:'' and ''furniture_description:'' accept the same media syntax as narrative text: images ''%%[[url]]%%'', sounds ''%%<<url>>%%'' and videos ''%%((url))%%''. ''description:'' and ''furniture_description:'' accept the same media syntax as narrative text: images ''%%[[url]]%%'', sounds ''%%<<url>>%%'' and videos ''%%((url))%%''.
 +
 +Clicking an object in the inventory automatically runs ''inspect <object>''.
 +
 +===== See also =====
 +
 +  * [[en:yaml:conditions|Conditions]]
 +  * [[en:yaml:actions|Custom actions]]
 +  * [[en:yaml:medias|Sounds, images and videos]]
 +
 +**Find us on the [[https://discord.gg/Z63DtVV|Make&Play Discord]]**
 +
en/yaml/objets.txt · Dernière modification : de cyrilfiesta