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:
Garen7
2023-01-07 10:43:23 -06:00
committed by GitHub
parent 5af8236643
commit a3a071e520
3 changed files with 5 additions and 1 deletions

View File

@ -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;

View File

@ -28,6 +28,7 @@ public class DirectionalUnloader extends Block{
public DirectionalUnloader(String name){
super(name);
group = BlockGroup.transportation;
update = true;
solid = true;
hasItems = true;

View File

@ -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;