Outils pour utilisateurs

Outils du site


en:yaml:texte

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:texte [2026/11/04 21:36] – Documentation 4.17 : objets, evenements et mise en page verifies cyrilfiestaen:yaml:texte [2026/11/04 23:30] (Version actuelle) – Documentation 4.17 : objets, evenements et mise en page verifies cyrilfiesta
Ligne 200: Ligne 200:
 <code yaml> <code yaml>
 title: 'Wiki 4.17: inventory' title: 'Wiki 4.17: inventory'
 +language: en
 rooms: rooms:
-- id: atelier +  - id: atelier 
-  text: | +    auto_refresh: true 
-    [[INVENTORY_VERTICAL]] +    text: | 
-    First item in coffre: [[ITEM_IN:coffre]] +      Inventory: 
-  objects: +      [[INVENTORY_VERTICAL]] 
-  - name: cle +      First item in coffre: [[ITEM_IN:coffre]] 
-    location: coffre +    objects: 
-  choices: +      - name: cle 
-  - command: prendre_coffre +        location: coffre 
-    button: Take +        pickup_reaction: Take 
-    effect: +    choices: 
-      command: take_from coffre +      - command: regarder 
-    to: atelier+        button: Look 
 +        to: atelier
 </code> </code>
 +
 +''pickup_reaction: Take'' adds the native pickup button for this item in its furniture. ''auto_refresh: true'' refreshes the text after pickup: the key appears in the vertical inventory and the chest is empty. The "Look" choice displays the room again without taking an item.
  
 ===== Previous room name ===== ===== Previous room name =====
en/yaml/texte.1793824587.txt.gz · Dernière modification : de cyrilfiesta