@@ -173,7 +173,7 @@ public class DuctBridge extends Block{
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean acceptItem(Building source, Item item){
|
public boolean acceptItem(Building source, Item item){
|
||||||
int rel = this.relativeTo(source);
|
int rel = this.relativeToEdge(source.tile);
|
||||||
return items.total() < itemCapacity && rel != rotation && occupied[(rel + 2) % 4] == null;
|
return items.total() < itemCapacity && rel != rotation && occupied[(rel + 2) % 4] == null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -66,6 +66,12 @@ public class PayloadMassDriver extends PayloadBlock{
|
|||||||
config(Integer.class, (PayloadDriverBuild tile, Integer point) -> tile.link = point);
|
config(Integer.class, (PayloadDriverBuild tile, Integer point) -> tile.link = point);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void init(){
|
||||||
|
super.init();
|
||||||
|
clipSize = Math.max(clipSize, range*2f + tilesize*size);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void setStats(){
|
public void setStats(){
|
||||||
super.setStats();
|
super.setStats();
|
||||||
|
|||||||
Reference in New Issue
Block a user