mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-08 14:57:18 +07:00
Additional block build over options (#7993)
* Adds missing block groups * Allows electrolyzers to be rotated by bulding over them too Co-authored-by: Garen7 <Garen7@users.noreply.github.com>
This commit is contained in:
@ -1180,6 +1180,7 @@ public class Blocks{
|
||||
craftTime = 10f;
|
||||
rotate = true;
|
||||
invertFlip = true;
|
||||
group = BlockGroup.liquids;
|
||||
|
||||
liquidCapacity = 50f;
|
||||
|
||||
@ -2470,6 +2471,7 @@ public class Blocks{
|
||||
turbineCondenser = new ThermalGenerator("turbine-condenser"){{
|
||||
requirements(Category.power, with(Items.beryllium, 60));
|
||||
attribute = Attribute.steam;
|
||||
group = BlockGroup.liquids;
|
||||
displayEfficiencyScale = 1f / 9f;
|
||||
minEfficiency = 9f - 0.0001f;
|
||||
powerProduction = 3f / 9f;
|
||||
@ -2764,6 +2766,7 @@ public class Blocks{
|
||||
ventCondenser = new AttributeCrafter("vent-condenser"){{
|
||||
requirements(Category.production, with(Items.graphite, 20, Items.beryllium, 60));
|
||||
attribute = Attribute.steam;
|
||||
group = BlockGroup.liquids;
|
||||
minEfficiency = 9f - 0.0001f;
|
||||
baseEfficiency = 0f;
|
||||
displayEfficiency = false;
|
||||
|
@ -28,6 +28,7 @@ public class DirectionalUnloader extends Block{
|
||||
public DirectionalUnloader(String name){
|
||||
super(name);
|
||||
|
||||
group = BlockGroup.transportation;
|
||||
update = true;
|
||||
solid = true;
|
||||
hasItems = true;
|
||||
|
@ -24,7 +24,7 @@ public class PayloadConveyor extends Block{
|
||||
|
||||
public PayloadConveyor(String name){
|
||||
super(name);
|
||||
group = BlockGroup.transportation;
|
||||
group = BlockGroup.payloads;
|
||||
size = 3;
|
||||
rotate = true;
|
||||
update = true;
|
||||
|
Reference in New Issue
Block a user