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

Les deux révisions précédentesRévision précédente
en:editeur:inspecteur [2026/08/31 20:43] – Wiki : fins de pages homogènes, liens Discord retirés cyrilfiestaen:editeur:inspecteur [2026/11/04 22:42] (Version actuelle) – Documentation 4.17 : objets, evenements et mise en page verifies cyrilfiesta
Ligne 3: Ligne 3:
 ====== 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.
  
-===== Groups =====+===== Room groups =====
  
-Room groups organize the graph visually. They do not add gameplay logic.+The groups window organizes the graph into visual areas. Groups make the editor easier to read and add no gameplay logic.
  
 ===== Live preview ===== ===== Live preview =====
  
-The **Preview** button shows the room text as the player will read it, with variables resolved to their initial values.+The **Preview** button displays room text as it will appear to the player, with variables resolved using their initial values.
  
 ===== Interface profiles ===== ===== Interface profiles =====
  
 ^ Profile ^ Description ^ ^ Profile ^ Description ^
-| **Simplified** | Minimal sections, to start with. | +| **Simplified** | Minimal sections for getting started. | 
-| **Essential** | The common features. | +| **Essential** | Common features. | 
-| **Expert** | Every section and every field available. | +| **Expert** | All available sections and fields. | 
-| **Custom** | Manual selection of the sections to display. | +| **Custom** | Manual selection of sections to display. | 
-| **Discord** | Only keeps what Discord can display. | +| **Discord** | Keeps only what Discord can display. | 
-| **Terminal** | Only keeps what the Terminal can display. |+| **Terminal** | Keeps only what the Terminal can display. |
  
-Changing profile never modifies the scenario: incompatible features already written are kept, and the profile window lists them with their location.+Changing profile never changes the scenario: already written incompatible features are preserved, and the profile window lists them with their locations.
  
en/editeur/inspecteur.1788201784.txt.gz · Dernière modification : de cyrilfiesta