@@ -53,6 +53,13 @@ public class LaserTurret extends PowerTurret{
|
||||
return bullets.any() || isActive() || isShooting();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void placed(){
|
||||
super.placed();
|
||||
|
||||
reloadCounter = reload;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updateTile(){
|
||||
super.updateTile();
|
||||
|
||||
@@ -350,6 +350,7 @@ public class Conveyor extends Block implements Autotiler{
|
||||
public boolean acceptItem(Building source, Item item){
|
||||
if(len >= capacity) return false;
|
||||
Tile facing = Edges.getFacingEdge(source.tile, tile);
|
||||
if(facing == null) return false;
|
||||
int direction = Math.abs(facing.relativeTo(tile.x, tile.y) - rotation);
|
||||
return (((direction == 0) && minitem >= itemSpace) || ((direction % 2 == 1) && minitem > 0.7f)) && !(source.block.rotate && next == source);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user