Wall ore lock

This commit is contained in:
Anuken 2022-02-16 23:04:34 -05:00
parent 7a1b72ca2c
commit fcc26154c2
2 changed files with 4 additions and 2 deletions

View File

@ -3603,7 +3603,7 @@ public class Blocks{
requirements(Category.units, with(Items.silicon, 200, Items.beryllium, 250));
size = 3;
configurable = false;
plans.add(new UnitPlan(UnitTypes.stell, 60f * 60f, with(Items.graphite, 20f, Items.silicon, 30f)));
plans.add(new UnitPlan(UnitTypes.stell, 60f * 60f, with(Items.graphite, 20f, Items.silicon, 40f)));
consumePower(2f);
}};

View File

@ -160,7 +160,9 @@ public class MapEditor{
if(forceOverlay){
tile.setOverlay(drawBlock.asFloor());
}else{
tile.setFloor(drawBlock.asFloor());
if(!(drawBlock.asFloor().wallOre && !tile.block().solid)){
tile.setFloor(drawBlock.asFloor());
}
}
}else if(!(tile.block().isMultiblock() && !drawBlock.isMultiblock())){
if(drawBlock.rotate && tile.build != null && tile.build.rotation != rotation){