From cffba7b685742938f8a5a753a89f596f82f2d08f Mon Sep 17 00:00:00 2001 From: Anuken Date: Tue, 10 May 2022 16:21:22 -0400 Subject: [PATCH] Made useless items/liquids/blocks hidden --- core/src/mindustry/content/Blocks.java | 9 +++--- .../src/mindustry/content/ErekirTechTree.java | 29 +++++++------------ core/src/mindustry/content/Liquids.java | 1 + 3 files changed, 16 insertions(+), 23 deletions(-) diff --git a/core/src/mindustry/content/Blocks.java b/core/src/mindustry/content/Blocks.java index 3af81e261a..621e8a02a1 100644 --- a/core/src/mindustry/content/Blocks.java +++ b/core/src/mindustry/content/Blocks.java @@ -1256,10 +1256,9 @@ public class Blocks{ drawer = new DrawMulti(new DrawDefault(), new DrawHeatOutput()); size = 2; - heatOutput = 10f; - craftTime = 60f * 8f; + heatOutput = 15f; + craftTime = 60f * 15f; consumeItem(Items.phaseFabric); - consumePower(0.5f / 60f); }}; heatRedirector = new HeatConductor("heat-redirector"){{ @@ -1297,7 +1296,7 @@ public class Blocks{ }}; slagCentrifuge = new GenericCrafter("slag-centrifuge"){{ - requirements(Category.crafting, with(Items.carbide, 70, Items.graphite, 60, Items.silicon, 40, Items.oxide, 40)); + requirements(Category.crafting, BuildVisibility.debugOnly, with(Items.carbide, 70, Items.graphite, 60, Items.silicon, 40, Items.oxide, 40)); consumePower(2f / 60f); @@ -1428,7 +1427,7 @@ public class Blocks{ }}; heatReactor = new HeatProducer("heat-reactor"){{ - requirements(Category.crafting, with(Items.oxide, 70, Items.graphite, 20, Items.carbide, 10, Items.thorium, 80)); + requirements(Category.crafting, BuildVisibility.debugOnly, with(Items.oxide, 70, Items.graphite, 20, Items.carbide, 10, Items.thorium, 80)); size = 3; craftTime = 60f * 10f; diff --git a/core/src/mindustry/content/ErekirTechTree.java b/core/src/mindustry/content/ErekirTechTree.java index 094eb6dd38..804850dafa 100644 --- a/core/src/mindustry/content/ErekirTechTree.java +++ b/core/src/mindustry/content/ErekirTechTree.java @@ -192,7 +192,9 @@ public class ErekirTechTree{ node(oxidationChamber, Seq.with(new Research(tankRefabricator), new OnSector(four)), () -> { node(electricHeater, Seq.with(new OnSector(four)), () -> { node(heatRedirector, () -> { + node(surgeCrucible, () -> { + }); }); node(atmosphericConcentrator, Seq.with(new OnSector(four)), () -> { @@ -208,22 +210,14 @@ public class ErekirTechTree{ }); }); }); - - node(surgeCrucible, () -> { - - }); }); }); node(slagIncinerator, Seq.with(new OnSector(four)), () -> { - node(slagCentrifuge, () -> { - - }); - - node(heatReactor, () -> { - - }); + //TODO these are unused. + //node(slagCentrifuge, () -> {}); + //node(heatReactor, () -> {}); }); }); }); @@ -358,9 +352,7 @@ public class ErekirTechTree{ nodeProduce(Items.sand, () -> { nodeProduce(Items.silicon, () -> { nodeProduce(Items.oxide, () -> { - nodeProduce(Items.fissileMatter, () -> { - - }); + //nodeProduce(Items.fissileMatter, () -> {}); }); }); }); @@ -369,9 +361,11 @@ public class ErekirTechTree{ nodeProduce(Liquids.ozone, () -> { nodeProduce(Liquids.hydrogen, () -> { nodeProduce(Liquids.nitrogen, () -> { - nodeProduce(Liquids.cyanogen, () -> { - }); + }); + + nodeProduce(Liquids.cyanogen, () -> { + }); }); }); @@ -395,8 +389,7 @@ public class ErekirTechTree{ }); }); - nodeProduce(Liquids.gallium, () -> { - }); + //nodeProduce(Liquids.gallium, () -> {}); }); }); }); diff --git a/core/src/mindustry/content/Liquids.java b/core/src/mindustry/content/Liquids.java index ce10382ef9..8de5f16bc9 100644 --- a/core/src/mindustry/content/Liquids.java +++ b/core/src/mindustry/content/Liquids.java @@ -63,6 +63,7 @@ public class Liquids{ gallium = new Liquid("gallium", Color.valueOf("9a9dbf")){{ coolant = false; + hidden = true; }}; //TODO reactivity, etc