**Language / Langue :** [[fr:editeur:inspecteur|FR]] | **EN** ====== Graphical Editor - Inspector ====== The inspector appears when you select a room in the graph. It lets you edit the main room elements without writing YAML directly. The inspector uses **accordion sections** that you can expand or collapse individually. Buttons also let you collapse or expand all sections. ===== 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 ===== Actions executed on each entry into the room (''init:''): * set or change a variable; * set a text variable; * prepare local room state. ===== Objects ===== Objects present in the room: * name; * location or furniture, with ''invisible'' as a special value; * item description; * furniture description; * pickup message; * furniture, pickup and inspection buttons; * removal on entry with ''remove: true''. 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 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 ===== Local custom actions available only in this room: * verb and target; * optional alias; * condition; * OK/KO texts; * optional button; * ''do:'' effects; * HUD panels. ===== Choices ===== 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 ===== ^ 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. | Changing profile never changes the scenario: already written incompatible features are preserved, and the profile window lists them with their locations.