From 6ba3fa457ae3d532195f2a4816a0b162a3f156c4 Mon Sep 17 00:00:00 2001 From: Jose Luis Date: Fri, 20 Mar 2026 17:45:19 +0100 Subject: [PATCH] hide: disable puzzle mode from editor without removing code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Comment out initPuzzleUI() call and remove puzzle_door from interaction type dropdown — all puzzle code remains intact for future re-enablement. Co-Authored-By: Claude Opus 4.6 --- editor.html | 2 +- js/app.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/editor.html b/editor.html index 65fa30e..b05f1f2 100644 --- a/editor.html +++ b/editor.html @@ -856,7 +856,7 @@ function updateProps() { html += '
⚠️ Set target X/Y! Every exit needs explicit coordinates.
'; } } else if (t === 'interaction') { - html += propSelect('Type', 'type', ent.type, ['sign','workshop','puzzle_door','terminal','door']); + html += propSelect('Type', 'type', ent.type, ['sign','workshop','terminal','door']); // puzzle_door hidden for now html += propText('Label', 'label', ent.label || ''); html += propTextarea('Dialog', 'dialog', (ent.dialog || []).join('\n')); if (ent.type === 'puzzle_door') { diff --git a/js/app.js b/js/app.js index c9a9adc..c821133 100644 --- a/js/app.js +++ b/js/app.js @@ -14,7 +14,7 @@ document.addEventListener('DOMContentLoaded', () => { () => { initRenderer(); initEvents(); - initPuzzleUI(); + // initPuzzleUI(); // HIDDEN: puzzle mode disabled for now if (loadFromStorage()) { updateComponentButtons(); evaluateAll();