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>
22 lines
1.0 KiB
JavaScript
22 lines
1.0 KiB
JavaScript
// Run after clear-sky.js. Paused, empty pipes make casing, flights and mouths easy to inspect.
|
|
const jx = BX + 5, jy = BY - 3;
|
|
for (let k = 1; k <= 4; k++) placeBlock(BP_SCREW, 0, jx, jy + k, true);
|
|
for (let k = 0; k < 6; k++) placeBlock(BP_SCREW, 4, jx + k, jy - k, true);
|
|
for (let k = 1; k <= 4; k++) placeBlock(BP_SCREW, 0, jx + 5, jy - 5 - k, true);
|
|
const hx = BX + 21, hy = BY - 3;
|
|
for (let k = 1; k <= 4; k++) placeBlock(BP_BELT, 1, hx - k, hy, true);
|
|
for (let k = 0; k < 6; k++) placeBlock(BP_SCREW, 4, hx + k, hy - k, true);
|
|
for (let k = 1; k <= 4; k++) placeBlock(BP_BELT, 1, hx + 5 + k, hy - 5, true);
|
|
for (let k = 0; k < 4; k++) placeBlock(BP_SCREW, 5, BX + 32 + k, BY - 10 + k, true);
|
|
window.JOINTS = {
|
|
verticalIn: [jx * 4 + 2, jy * 4 + 4],
|
|
verticalOut: [(jx + 5) * 4 + 2, (jy - 5) * 4],
|
|
beltIn: [hx * 4, hy * 4 + 2],
|
|
beltOut: [(hx + 6) * 4, (hy - 5) * 4 + 2],
|
|
free: [(BX + 35) * 4 + 4, (BY - 7) * 4 + 4]
|
|
};
|
|
window.CAM = [(BX + 20) * 4, (BY - 5) * 4];
|
|
|
|
// Keep the camera-following bot out of the joint close-ups.
|
|
drawBot = () => {};
|