Dynamic resupply check (#6338)
This commit is contained in:
@@ -434,6 +434,10 @@ abstract class BuildingComp implements Posc, Teamc, Healthc, Buildingc, Timerc,
|
||||
return block.unloadable;
|
||||
}
|
||||
|
||||
public boolean canResupply(){
|
||||
return block.allowResupply;
|
||||
}
|
||||
|
||||
public boolean payloadCheck(int conveyorRotation){
|
||||
return block.rotate && (rotation + 2) % 4 == conveyorRotation;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user