Remove thick smooth stone wall; keep thin only.
Palette and assets drop the thick variant; type id 39 stays unused so later wall ids stay stable.
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.
@@ -550,7 +550,6 @@ const VARIANT_OUT = {
thin: { dir: "thin-stone-wall", named: true, prefix: "thin-stone-wall" }
},
smooth: {
thick: { dir: "thick-smooth-stone-wall", named: true, prefix: "thick-smooth-stone-wall" },
thin: { dir: "thin-smooth-stone-wall", named: true, prefix: "thin-smooth-stone-wall" }
},
brick: {
@@ -648,8 +647,10 @@ function bakeVariant (variant, { force = false } = {})
let wrote = 0;
for (const kind of ["thick", "thin"])
{
const shapeKey = `${kind}-stone-wall`;
const out = cfg[kind];
if (!out)
{ continue; }
const shapeKey = `${kind}-stone-wall`;
const outDir = join(ROOT, out.dir);
mkdirSync(outDir, { recursive: true });
const files = shapeFiles(shapeKey);
@@ -550,7 +550,6 @@ const VARIANT_OUT = { thin: { dir: "thin-stone-wall", named: true, prefix: "thin-stone-wall" } thin: { dir: "thin-stone-wall", named: true, prefix: "thin-stone-wall" } }, }, smooth: { smooth: { thick: { dir: "thick-smooth-stone-wall", named: true, prefix: "thick-smooth-stone-wall" }, thin: { dir: "thin-smooth-stone-wall", named: true, prefix: "thin-smooth-stone-wall" } thin: { dir: "thin-smooth-stone-wall", named: true, prefix: "thin-smooth-stone-wall" } }, }, brick: { brick: {@@ -648,8 +647,10 @@ function bakeVariant (variant, { force = false } = {}) let wrote = 0; let wrote = 0; for (const kind of ["thick", "thin"]) for (const kind of ["thick", "thin"]) { { const shapeKey = `${kind}-stone-wall`; const out = cfg[kind]; const out = cfg[kind]; if (!out) { continue; } const shapeKey = `${kind}-stone-wall`; const outDir = join(ROOT, out.dir); const outDir = join(ROOT, out.dir); mkdirSync(outDir, { recursive: true }); mkdirSync(outDir, { recursive: true }); const files = shapeFiles(shapeKey); const files = shapeFiles(shapeKey);@@ -23,9 +23,9 @@ test("sprite folders expose alphabetical states; first is default", () =>
assert.equal(catalog.blocks["thin-stone-wall"].defaultState, "thin-stone-wall");
assert.equal(catalog.blocks["thin-stone-wall"].states.length, 16);
assert.ok(catalog.images.some((image) => image.name === "block:thin-stone-wall:thin-stone-wall-wne"));
assert.equal(catalog.blocks["thick-smooth-stone-wall"].states.length, 16);
assert.equal(catalog.blocks["thin-smooth-stone-wall"].states.length, 16);
assert.ok(catalog.images.some((image) => image.name === "block:thick-smooth-stone-wall:thick-smooth-stone-wall"));
assert.ok(catalog.images.some((image) => image.name === "block:thin-smooth-stone-wall:thin-smooth-stone-wall"));
assert.equal(catalog.blocks["thick-smooth-stone-wall"], undefined);
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"));
@@ -23,9 +23,9 @@ test("sprite folders expose alphabetical states; first is default", () => assert.equal(catalog.blocks["thin-stone-wall"].defaultState, "thin-stone-wall"); assert.equal(catalog.blocks["thin-stone-wall"].defaultState, "thin-stone-wall"); assert.equal(catalog.blocks["thin-stone-wall"].states.length, 16); assert.equal(catalog.blocks["thin-stone-wall"].states.length, 16); assert.ok(catalog.images.some((image) => image.name === "block:thin-stone-wall:thin-stone-wall-wne")); assert.ok(catalog.images.some((image) => image.name === "block:thin-stone-wall:thin-stone-wall-wne")); assert.equal(catalog.blocks["thick-smooth-stone-wall"].states.length, 16); assert.equal(catalog.blocks["thin-smooth-stone-wall"].states.length, 16); assert.equal(catalog.blocks["thin-smooth-stone-wall"].states.length, 16); assert.ok(catalog.images.some((image) => image.name === "block:thick-smooth-stone-wall:thick-smooth-stone-wall")); assert.ok(catalog.images.some((image) => image.name === "block:thin-smooth-stone-wall:thin-smooth-stone-wall")); assert.equal(catalog.blocks["thick-smooth-stone-wall"], undefined); 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"));