From b07823f4be899db742753455eddef169f013dcec Mon Sep 17 00:00:00 2001 From: Nagi-ovo <101612750+Nagi-ovo@users.noreply.github.com> Date: Sun, 14 Jun 2026 23:53:18 +0100 Subject: [PATCH] Fix GLM-5.2 mythos startup Co-authored-by: Codex --- models/glm-5-2.json | 4 ++-- outputs/glm-5-2/zcode-max/mythos-craft.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/models/glm-5-2.json b/models/glm-5-2.json index 707757d..e8fad09 100644 --- a/models/glm-5-2.json +++ b/models/glm-5-2.json @@ -9,8 +9,8 @@ "mythos-craft": { "file": "mythos-craft.html", "note": { - "zh": "在 ZCode 中以 GLM-5.2(Max 思考配额)一次生成;本页为未经修改的原始 HTML 产出。", - "en": "Generated in one shot by GLM-5.2 (Max effort) inside ZCode; unmodified original HTML output." + "zh": "在 ZCode 中以 GLM-5.2(Max 思考配额)一次生成。原始 HTML 因热栏引用了未定义的 GLASS 常量而无法进入;Codex 仅将该引用修正为已有的 CRYSTAL 方块,未改动玩法或视觉设计。", + "en": "Generated in one shot by GLM-5.2 (Max effort) inside ZCode. The original HTML could not enter the game because the hotbar referenced an undefined GLASS constant; Codex only corrected that reference to the existing CRYSTAL block, without changing gameplay or visual design." }, "contributor": "Nagi-ovo" }, diff --git a/outputs/glm-5-2/zcode-max/mythos-craft.html b/outputs/glm-5-2/zcode-max/mythos-craft.html index 62a4a7c..ba6652f 100644 --- a/outputs/glm-5-2/zcode-max/mythos-craft.html +++ b/outputs/glm-5-2/zcode-max/mythos-craft.html @@ -1082,8 +1082,8 @@ addEventListener('keydown', e => { addEventListener('keyup', e => { keys[e.code] = false; }); /* ------------------------------------------------------------------ Hotbar / block selection */ -const hotbarBlocks = [GRASS, DIRT, STONE, WOOD, PLANK, COBBLE, BRICK, GLASS || CRYSTAL, GLOWSTONE]; -// note: GLASS not defined; use CRYSTAL as "glass-like" +const hotbarBlocks = [GRASS, DIRT, STONE, WOOD, PLANK, COBBLE, BRICK, CRYSTAL, GLOWSTONE]; +// Use CRYSTAL as the glass-like hotbar block. const HOTBAR = [GRASS, DIRT, STONE, WOOD, PLANK, COBBLE, BRICK, CRYSTAL, GLOWSTONE]; let selectedSlot = 0; const hotbarEl = document.getElementById('hotbar');