Plastanium conveyor blend fix
This commit is contained in:
@@ -603,6 +603,10 @@ public class Block extends UnlockableContent{
|
|||||||
health = size * size * 40;
|
health = size * size * 40;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(group == BlockGroup.transportation || consumes.has(ConsumeType.item) || category == Category.distribution){
|
||||||
|
acceptsItems = true;
|
||||||
|
}
|
||||||
|
|
||||||
offset = ((size + 1) % 2) * tilesize / 2f;
|
offset = ((size + 1) % 2) * tilesize / 2f;
|
||||||
|
|
||||||
buildCost = 0f;
|
buildCost = 0f;
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ public class StackConveyor extends Block implements Autotiler{
|
|||||||
if(state == stateLoad){ //standard conveyor mode
|
if(state == stateLoad){ //standard conveyor mode
|
||||||
return otherblock.outputsItems() && lookingAtEither(tile, rotation, otherx, othery, otherrot, otherblock);
|
return otherblock.outputsItems() && lookingAtEither(tile, rotation, otherx, othery, otherrot, otherblock);
|
||||||
}else if(state == stateUnload){ //router mode
|
}else if(state == stateUnload){ //router mode
|
||||||
return (otherblock.hasItems || otherblock.outputsItems() || otherblock.acceptsItems) &&
|
return (otherblock.acceptsItems) &&
|
||||||
(notLookingAt(tile, rotation, otherx, othery, otherrot, otherblock) ||
|
(notLookingAt(tile, rotation, otherx, othery, otherrot, otherblock) ||
|
||||||
(otherblock instanceof StackConveyor && facing(otherx, othery, otherrot, tile.x, tile.y))) &&
|
(otherblock instanceof StackConveyor && facing(otherx, othery, otherrot, tile.x, tile.y))) &&
|
||||||
!(world.build(otherx, othery) instanceof StackConveyorEntity && ((StackConveyorEntity)world.build(otherx, othery)).state == stateUnload);
|
!(world.build(otherx, othery) instanceof StackConveyorEntity && ((StackConveyorEntity)world.build(otherx, othery)).state == stateUnload);
|
||||||
|
|||||||
Reference in New Issue
Block a user