From 4574d0501d64f86c88a93566bfe3fadaaa84f6d8 Mon Sep 17 00:00:00 2001 From: Anuken Date: Tue, 1 Mar 2022 10:32:36 -0500 Subject: [PATCH] Erekir default fog --- core/src/mindustry/content/Blocks.java | 1 + .../src/mindustry/content/ErekirTechTree.java | 34 ++++++++++--------- core/src/mindustry/content/Planets.java | 2 ++ 3 files changed, 21 insertions(+), 16 deletions(-) diff --git a/core/src/mindustry/content/Blocks.java b/core/src/mindustry/content/Blocks.java index b99d92c5ca..565de75224 100644 --- a/core/src/mindustry/content/Blocks.java +++ b/core/src/mindustry/content/Blocks.java @@ -1698,6 +1698,7 @@ public class Blocks{ requirements(Category.effect, BuildVisibility.fogOnly, with(Items.silicon, 30, Items.graphite, 30)); outlineColor = Color.valueOf("4a4b53"); fogRadius = 27; + researchCost = with(Items.silicon, 50, Items.graphite, 50); consumePower(0.2f); }}; diff --git a/core/src/mindustry/content/ErekirTechTree.java b/core/src/mindustry/content/ErekirTechTree.java index 19d588d2b2..5ca5c55f05 100644 --- a/core/src/mindustry/content/ErekirTechTree.java +++ b/core/src/mindustry/content/ErekirTechTree.java @@ -225,34 +225,36 @@ public class ErekirTechTree{ }); }); - node(breach, Seq.with(new Research(siliconArcFurnace), new OnSector(two)), () -> { - node(berylliumWall, () -> { - node(berylliumWallLarge, () -> { - - }); - - node(tungstenWall, () -> { - node(tungstenWallLarge, () -> { + node(radar, Seq.with(new Research(beamNode), new Research(turbineCondenser)), () -> { + node(breach, Seq.with(new Research(siliconArcFurnace), new OnSector(two)), () -> { + node(berylliumWall, () -> { + node(berylliumWallLarge, () -> { }); - node(carbideWall, () -> { - node(carbideWallLarge, () -> { + node(tungstenWall, () -> { + node(tungstenWallLarge, () -> { }); + + node(carbideWall, () -> { + node(carbideWallLarge, () -> { + + }); + }); }); }); - }); - node(sublimate, () -> { - //TODO implement - node(titan, Seq.with(new OnSector(five)), () -> { + node(sublimate, () -> { + //TODO implement + node(titan, Seq.with(new OnSector(five)), () -> { - }); + }); - node(disperse, Seq.with(new OnSector(five)), () -> { + node(disperse, Seq.with(new OnSector(five)), () -> { + }); }); }); }); diff --git a/core/src/mindustry/content/Planets.java b/core/src/mindustry/content/Planets.java index a38d07b8f5..421bbda32e 100644 --- a/core/src/mindustry/content/Planets.java +++ b/core/src/mindustry/content/Planets.java @@ -67,6 +67,8 @@ public class Planets{ r.placeRangeCheck = true; r.attributes.set(Attribute.heat, 0.8f); r.showSpawns = true; + r.fog = true; + r.staticFog = false; }; unlockedOnLand.add(Blocks.coreBastion);