Rename screw tubes to screw conveyors (t44)
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>
This commit is contained in:
@@ -42,13 +42,13 @@ for (const material of ['SAND', 'WATER', 'STEAM']) for (const mirror of [false,
|
||||
// A screw mouth must not draw sand through two external wall cells either.
|
||||
for (const direction of [4,5,6,7]) {
|
||||
flatWorld(run,160,160,140);
|
||||
run(`placeBlock(BP_TUBE,${direction},20,20,true);
|
||||
var dx=TDX[TUBE_PARTS[${direction}]],dy=TDY[TUBE_PARTS[${direction}]];
|
||||
run(`placeBlock(BP_SCREW,${direction},20,20,true);
|
||||
var dx=SCREW_DX[SCREW_PARTS[${direction}]],dy=SCREW_DY[SCREW_PARTS[${direction}]];
|
||||
var x=dx>0?80:83,y=dy>0?80:83;
|
||||
setCell((y-dy)*W+x-dx,SAND,20,0);
|
||||
setCell((y-dy)*W+x,STONE,20,0);setCell(y*W+x-dx,STONE,20,0);
|
||||
tubeIntake(y*W+x,part[y*W+x],dx,dy);`);
|
||||
check(`diagonal tube ${direction} cannot pull through a solid corner`,run('mat[(y-dy)*W+x-dx]===SAND'));
|
||||
screwIntake(y*W+x,part[y*W+x],dx,dy);`);
|
||||
check(`diagonal screw ${direction} cannot pull through a solid corner`,run('mat[(y-dy)*W+x-dx]===SAND'));
|
||||
}
|
||||
|
||||
// A free flyer can take the same diagonal shortcut between wall cells.
|
||||
|
||||
Reference in New Issue
Block a user