From 9bedc0bcd4f9c3f09f7111cb7ea0621f33ff0c72 Mon Sep 17 00:00:00 2001 From: Anuken Date: Sat, 2 Mar 2024 22:49:54 -0500 Subject: [PATCH] Added world switch to bundle --- core/assets/bundles/bundle.properties | 1 + core/src/mindustry/content/Blocks.java | 34 +++++++++++++------------- 2 files changed, 18 insertions(+), 17 deletions(-) diff --git a/core/assets/bundles/bundle.properties b/core/assets/bundles/bundle.properties index 427f9b00ef..e9805b2eb0 100644 --- a/core/assets/bundles/bundle.properties +++ b/core/assets/bundles/bundle.properties @@ -1566,6 +1566,7 @@ block.inverted-sorter.name = Inverted Sorter block.message.name = Message block.reinforced-message.name = Reinforced Message block.world-message.name = World Message +block.world-switch.name = World Switch block.illuminator.name = Illuminator block.overflow-gate.name = Overflow Gate block.underflow-gate.name = Underflow Gate diff --git a/core/src/mindustry/content/Blocks.java b/core/src/mindustry/content/Blocks.java index 62af440a16..08eb582a78 100644 --- a/core/src/mindustry/content/Blocks.java +++ b/core/src/mindustry/content/Blocks.java @@ -5502,23 +5502,6 @@ public class Blocks{ ); }}; - mechRefabricator = new Reconstructor("mech-refabricator"){{ - requirements(Category.units, with(Items.beryllium, 250, Items.tungsten, 120, Items.silicon, 150)); - regionSuffix = "-dark"; - - size = 3; - consumePower(2.5f); - consumeLiquid(Liquids.hydrogen, 3f / 60f); - consumeItems(with(Items.silicon, 50, Items.tungsten, 40)); - - constructTime = 60f * 45f; - researchCostMultiplier = 0.75f; - - upgrades.addAll( - new UnitType[]{UnitTypes.merui, UnitTypes.cleroi} - ); - }}; - shipRefabricator = new Reconstructor("ship-refabricator"){{ requirements(Category.units, with(Items.beryllium, 200, Items.tungsten, 100, Items.silicon, 150, Items.oxide, 40)); regionSuffix = "-dark"; @@ -5537,6 +5520,23 @@ public class Blocks{ researchCost = with(Items.beryllium, 500, Items.tungsten, 200, Items.silicon, 300, Items.oxide, 80); }}; + mechRefabricator = new Reconstructor("mech-refabricator"){{ + requirements(Category.units, with(Items.beryllium, 250, Items.tungsten, 120, Items.silicon, 150)); + regionSuffix = "-dark"; + + size = 3; + consumePower(2.5f); + consumeLiquid(Liquids.hydrogen, 3f / 60f); + consumeItems(with(Items.silicon, 50, Items.tungsten, 40)); + + constructTime = 60f * 45f; + researchCostMultiplier = 0.75f; + + upgrades.addAll( + new UnitType[]{UnitTypes.merui, UnitTypes.cleroi} + ); + }}; + //yes very silly name primeRefabricator = new Reconstructor("prime-refabricator"){{ requirements(Category.units, with(Items.thorium, 250, Items.oxide, 200, Items.tungsten, 200, Items.silicon, 400));