Outils pour utilisateurs

Outils du site


en:editeur:inspecteur

Différences

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

Lien vers cette vue comparative

Prochaine révision
Révision précédente
en:editeur:inspecteur [2026/05/03 18:30] – Add English wiki page using real engine keys cyrilfiestaen:editeur:inspecteur [2026/11/04 22:42] (Version actuelle) – Documentation 4.17 : objets, evenements et mise en page verifies cyrilfiesta
Ligne 1: Ligne 1:
-**Language:** [[fr:editeur:inspecteur|Français]] | **English**+**Language / Langue :** [[fr:editeur:inspecteur|FR]] | **EN**
  
-====== Graphical Editor — Inspector ======+====== Graphical Editor - Inspector ======
  
-The inspector appears when you select a room in the graph. It lets you edit room content without writing YAML directly.+The inspector appears when you select a room in the graph. It lets you edit the main room elements without writing YAML directly.
  
-===== Identity and YAML Position =====+The inspector uses **accordion sections** that you can expand or collapse individually. Buttons also let you collapse or expand all sections.
  
-You can edit the room ID, displayed button name, optional explicit number, narrative text and local text style.+===== Identity and YAML position ===== 
 + 
 +The main section lets you edit: 
 +  * the room identifier; 
 +  * the name displayed on its button; 
 +  * the optional explicit number; 
 +  * the narrative text; 
 +  * local text styles. 
 + 
 +The explicit number controls YAML export order. Numbers must remain increasing in the final document.
  
 ===== Init ===== ===== Init =====
  
-Actions executed whenever the player enters the room.+Actions executed on each entry into the room (''init:''): 
 +  * set or change a variable; 
 +  * set a text variable; 
 +  * prepare local room state.
  
 ===== Objects ===== ===== Objects =====
  
-Objects in the room:+Objects present in the room:
   * name;   * name;
-  * location or furniture, with ''invisible'' as special value; +  * location or furniture, with ''invisible'' as a special value; 
-  * object description;+  * item description;
   * furniture description;   * furniture description;
-  * pickup text; +  * pickup message; 
-  * furniture, pickup and examine buttons;+  * furniture, pickup and inspection buttons;
   * removal on entry with ''remove: true''.   * removal on entry with ''remove: true''.
  
-There is no direct ''if:'' condition on YAML objects.+YAML objects have no direct ''if:'' condition. For a conditional object, use another room, an event, a choice, a tag, or a removal object.
  
 ===== Events ===== ===== Events =====
  
-Automatic or button-triggered events: condition, actions, redirect, text, button, visible/disabled conditions, max uses, HUD.+Events triggered automatically on entry or through a button: 
 +  * ''if:'' condition; 
 +  * ''do:'' actions; 
 +  * ''to:'' redirection; 
 +  * displayed text; 
 +  * optional button; 
 +  * ''visible-if:'' and ''disabled-if:'' conditions; 
 +  * ''max:'' usage limit; 
 +  * HUD panels and panel removal.
  
 ===== Actions ===== ===== Actions =====
  
-Local custom actions: verb, target, alias, condition, OK/KO texts, button, effects and HUD.+Local custom actions available only in this room: 
 +  * verb and target; 
 +  * optional alias; 
 +  * condition; 
 +  * OK/KO texts; 
 +  * optional button; 
 +  * ''do:'' effects; 
 +  * HUD panels.
  
 ===== Choices ===== ===== Choices =====
  
-Navigation buttons or typed commands: command, button, destination, condition, visibility, disabled state, effect and HUD.+Navigation buttons or commands: 
 +  * typed command; 
 +  * displayed button; 
 +  * destination; 
 +  * ''if:'' condition; 
 +  * ''visible-if:'' and ''disabled-if:''; 
 +  * effect executed before moving; 
 +  * HUD panels. 
 + 
 +===== Room groups ===== 
 + 
 +The groups window organizes the graph into visual areas. Groups make the editor easier to read and add no gameplay logic. 
 + 
 +===== Live preview ===== 
 + 
 +The **Preview** button displays room text as it will appear to the player, with variables resolved using their initial values. 
 + 
 +===== Interface profiles =====
  
-===== Groups =====+^ Profile ^ Description ^ 
 +| **Simplified** | Minimal sections for getting started. | 
 +| **Essential** | Common features. | 
 +| **Expert** | All available sections and fields. | 
 +| **Custom** | Manual selection of sections to display. | 
 +| **Discord** | Keeps only what Discord can display. | 
 +| **Terminal** | Keeps only what the Terminal can display. |
  
-Room groups organize the graph visually. They do not add gameplay logic.+Changing profile never changes the scenario: already written incompatible features are preserved, and the profile window lists them with their locations.
  
en/editeur/inspecteur.1777825802.txt.gz · Dernière modification : de cyrilfiesta