mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-20 17:28:14 +07:00
Wall ore lock
This commit is contained in:
parent
7a1b72ca2c
commit
fcc26154c2
@ -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);
|
||||
}};
|
||||
|
||||
|
@ -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){
|
||||
|
Loading…
Reference in New Issue
Block a user