Player text says Screw conveyor; code uses screw (BP_SCREW, piece id screw, screwIntake...). No compatibility code for old saves or blueprints. Suite outputs match before and after apart from names. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
8 lines
527 B
JavaScript
8 lines
527 B
JavaScript
// Run after clear-sky.js: a belt takes sand from a pile, up a diagonal screw to an upper belt.
|
|
const tx = BX + 12, ty = BY - 1;
|
|
for (let x = BX + 3; x < tx; x++) placeBlock(BP_BELT, 1, x, BY, true);
|
|
for (let k = 0; k < 10; k++) placeBlock(BP_SCREW, 4, tx + k, ty - k, true);
|
|
for (let x = tx + 10; x < tx + 18; x++) placeBlock(BP_BELT, 1, x, ty - 9, true);
|
|
for (let y = BY * 4 - 22; y < BY * 4; y++) for (let x = (BX + 4) * 4; x < (BX + 11) * 4; x++) setCell(y * W + x, SAND, 20, 0);
|
|
window.CAM = [(tx + 4) * 4, (ty - 4) * 4];
|