BlueGit

timfa questward

Files

questward / client / scripts / texture-stone-wall-sprites.mjs

texture-stone-wall-sprites.mjs

texture-stone-wall-sprites.mjs 544 B Download Raw
1/**
2 * Bake grey cobblestone onto thick/thin stone-wall shape masks.
3 * Delegates to texture-wall-sprites.mjs --variant=cobble
4 *
5 * node client/scripts/texture-stone-wall-sprites.mjs
6 */
7import { spawnSync } from "node:child_process";
8import { fileURLToPath } from "node:url";
9import { dirname, join } from "node:path";
10
11const script = join(dirname(fileURLToPath(import.meta.url)), "texture-wall-sprites.mjs");
12const result = spawnSync(process.execPath, [script, "--variant=cobble"], { stdio: "inherit" });
13process.exit(result.status ?? 1);