Add magenta thick/thin wood walls with per-tier tinting.
Material neighbor-connect masks (0–15) expand to every wood tier in the catalog, same pattern as fences and tables.
The contents of this binary file are not shown.
The contents of this binary file are not shown.
The contents of this binary file are not shown.
The contents of this binary file are not shown.
The contents of this binary file are not shown.
The contents of this binary file are not shown.
The contents of this binary file are not shown.
The contents of this binary file are not shown.
The contents of this binary file are not shown.
The contents of this binary file are not shown.
The contents of this binary file are not shown.
The contents of this binary file are not shown.
The contents of this binary file are not shown.
The contents of this binary file are not shown.
The contents of this binary file are not shown.
The contents of this binary file are not shown.
The contents of this binary file are not shown.
The contents of this binary file are not shown.
The contents of this binary file are not shown.
The contents of this binary file are not shown.
The contents of this binary file are not shown.
The contents of this binary file are not shown.
The contents of this binary file are not shown.
The contents of this binary file are not shown.
The contents of this binary file are not shown.
The contents of this binary file are not shown.
The contents of this binary file are not shown.
The contents of this binary file are not shown.
The contents of this binary file are not shown.
The contents of this binary file are not shown.
The contents of this binary file are not shown.
The contents of this binary file are not shown.
@@ -6,6 +6,7 @@ import { buildSpriteCatalog } from "../src/assets/spriteCatalog.js";
import { cycleState, isCompanionSpriteStem, parseSpriteStem, resolveState } from "../../shared/definitions/tileSprites.js";
import { decodeChunkBlob, createEmptyChunkData } from "../src/world/chunkData.js";
import { GroundType, BlockType, normalizeGround, normalizeBlock, setBlockVisualState } from "../../shared/definitions/tiles.js";
import { WOOD_TIER_ORDER } from "../../shared/definitions/materialTiers.js";
import { diffChunks } from "../src/editor/service.js";
const ASSET_ROOT = join(fileURLToPath(new URL("../../client/assets", import.meta.url)));
@@ -28,6 +29,9 @@ test("sprite folders expose alphabetical states; first is default", () =>
assert.equal(catalog.blocks["thick-brick-wall"].states.length, 16);
assert.equal(catalog.blocks["thin-brick-wall"].states.length, 16);
assert.ok(catalog.images.some((image) => image.name === "block:thick-brick-wall:thick-brick-wall-we"));
assert.ok(catalog.images.some((image) => image.name === "block:thick-wood-wall:pine-0"));
assert.ok(catalog.images.some((image) => image.name === "block:thin-wood-wall:oak-15"));
assert.equal(catalog.blocks["thick-wood-wall"].states.length, WOOD_TIER_ORDER.length * 16);
assert.equal(catalog.images[0].subImgTotal, 1);
assert.equal(catalog.images[0].perRow, 1);
});
@@ -6,6 +6,7 @@ import { buildSpriteCatalog } from "../src/assets/spriteCatalog.js";import { cycleState, isCompanionSpriteStem, parseSpriteStem, resolveState } from "../../shared/definitions/tileSprites.js";import { cycleState, isCompanionSpriteStem, parseSpriteStem, resolveState } from "../../shared/definitions/tileSprites.js";import { decodeChunkBlob, createEmptyChunkData } from "../src/world/chunkData.js";import { decodeChunkBlob, createEmptyChunkData } from "../src/world/chunkData.js";import { GroundType, BlockType, normalizeGround, normalizeBlock, setBlockVisualState } from "../../shared/definitions/tiles.js";import { GroundType, BlockType, normalizeGround, normalizeBlock, setBlockVisualState } from "../../shared/definitions/tiles.js";import { WOOD_TIER_ORDER } from "../../shared/definitions/materialTiers.js";import { diffChunks } from "../src/editor/service.js";import { diffChunks } from "../src/editor/service.js";const ASSET_ROOT = join(fileURLToPath(new URL("../../client/assets", import.meta.url)));const ASSET_ROOT = join(fileURLToPath(new URL("../../client/assets", import.meta.url)));@@ -28,6 +29,9 @@ test("sprite folders expose alphabetical states; first is default", () => assert.equal(catalog.blocks["thick-brick-wall"].states.length, 16); assert.equal(catalog.blocks["thick-brick-wall"].states.length, 16); assert.equal(catalog.blocks["thin-brick-wall"].states.length, 16); assert.equal(catalog.blocks["thin-brick-wall"].states.length, 16); assert.ok(catalog.images.some((image) => image.name === "block:thick-brick-wall:thick-brick-wall-we")); assert.ok(catalog.images.some((image) => image.name === "block:thick-brick-wall:thick-brick-wall-we")); assert.ok(catalog.images.some((image) => image.name === "block:thick-wood-wall:pine-0")); assert.ok(catalog.images.some((image) => image.name === "block:thin-wood-wall:oak-15")); assert.equal(catalog.blocks["thick-wood-wall"].states.length, WOOD_TIER_ORDER.length * 16); assert.equal(catalog.images[0].subImgTotal, 1); assert.equal(catalog.images[0].subImgTotal, 1); assert.equal(catalog.images[0].perRow, 1); assert.equal(catalog.images[0].perRow, 1);});});