hide: disable puzzle mode from editor without removing code
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 <noreply@anthropic.com>
This commit is contained in:
@@ -856,7 +856,7 @@ function updateProps() {
|
|||||||
html += '<div style="color:var(--red);font-size:10px;padding:2px 0;">⚠️ Set target X/Y! Every exit needs explicit coordinates.</div>';
|
html += '<div style="color:var(--red);font-size:10px;padding:2px 0;">⚠️ Set target X/Y! Every exit needs explicit coordinates.</div>';
|
||||||
}
|
}
|
||||||
} else if (t === 'interaction') {
|
} 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 += propText('Label', 'label', ent.label || '');
|
||||||
html += propTextarea('Dialog', 'dialog', (ent.dialog || []).join('\n'));
|
html += propTextarea('Dialog', 'dialog', (ent.dialog || []).join('\n'));
|
||||||
if (ent.type === 'puzzle_door') {
|
if (ent.type === 'puzzle_door') {
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
|||||||
() => {
|
() => {
|
||||||
initRenderer();
|
initRenderer();
|
||||||
initEvents();
|
initEvents();
|
||||||
initPuzzleUI();
|
// initPuzzleUI(); // HIDDEN: puzzle mode disabled for now
|
||||||
if (loadFromStorage()) {
|
if (loadFromStorage()) {
|
||||||
updateComponentButtons();
|
updateComponentButtons();
|
||||||
evaluateAll();
|
evaluateAll();
|
||||||
|
|||||||
Reference in New Issue
Block a user