1 parent
f9a44ec74e
commit
b07823f4be
2 files changed
+4
-4
No files matched your search
+2
-2
@@ -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"
|
||||
},
|
||||
|
||||
@@ -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');
|
||||
|
||||
Reference in new issue
Block a user