Added stronghold to campaign, tweaked tech tree
This commit is contained in:
@@ -8,6 +8,8 @@ import mindustry.type.*;
|
|||||||
import mindustry.type.unit.*;
|
import mindustry.type.unit.*;
|
||||||
import mindustry.world.blocks.defense.turrets.*;
|
import mindustry.world.blocks.defense.turrets.*;
|
||||||
|
|
||||||
|
import java.awt.*;
|
||||||
|
|
||||||
import static mindustry.Vars.*;
|
import static mindustry.Vars.*;
|
||||||
import static mindustry.content.Blocks.*;
|
import static mindustry.content.Blocks.*;
|
||||||
import static mindustry.content.SectorPresets.*;
|
import static mindustry.content.SectorPresets.*;
|
||||||
@@ -136,7 +138,7 @@ public class ErekirTechTree{
|
|||||||
node(plasmaBore, () -> {
|
node(plasmaBore, () -> {
|
||||||
node(impactDrill, Seq.with(new OnSector(aegis)), () -> {
|
node(impactDrill, Seq.with(new OnSector(aegis)), () -> {
|
||||||
node(largePlasmaBore, Seq.with(new OnSector(caldera)), () -> {
|
node(largePlasmaBore, Seq.with(new OnSector(caldera)), () -> {
|
||||||
node(eruptionDrill, Seq.with(tmpNever), () -> {
|
node(eruptionDrill, Seq.with(new OnSector(stronghold)), () -> {
|
||||||
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@@ -147,7 +149,7 @@ public class ErekirTechTree{
|
|||||||
node(beamNode, () -> {
|
node(beamNode, () -> {
|
||||||
node(ventCondenser, Seq.with(new OnSector(aegis)), () -> {
|
node(ventCondenser, Seq.with(new OnSector(aegis)), () -> {
|
||||||
node(chemicalCombustionChamber, Seq.with(new OnSector(basin)), () -> {
|
node(chemicalCombustionChamber, Seq.with(new OnSector(basin)), () -> {
|
||||||
node(pyrolysisGenerator, () -> {
|
node(pyrolysisGenerator, Seq.with(tmpNever), () -> {
|
||||||
node(fluxReactor, () -> {
|
node(fluxReactor, () -> {
|
||||||
node(neoplasiaReactor, () -> {
|
node(neoplasiaReactor, () -> {
|
||||||
|
|
||||||
@@ -164,8 +166,8 @@ public class ErekirTechTree{
|
|||||||
|
|
||||||
node(regenProjector, Seq.with(new OnSector(peaks)), () -> {
|
node(regenProjector, Seq.with(new OnSector(peaks)), () -> {
|
||||||
//TODO more tiers of build tower or "support" structures like overdrive projectors
|
//TODO more tiers of build tower or "support" structures like overdrive projectors
|
||||||
node(buildTower, Seq.with(tmpNever), () -> {
|
node(buildTower, Seq.with(new OnSector(stronghold)), () -> {
|
||||||
node(shockwaveTower, () -> {
|
node(shockwaveTower, Seq.with(tmpNever), () -> {
|
||||||
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@@ -268,8 +270,8 @@ public class ErekirTechTree{
|
|||||||
node(diffuse, Seq.with(new OnSector(lake)), () -> {
|
node(diffuse, Seq.with(new OnSector(lake)), () -> {
|
||||||
node(sublimate, Seq.with(new OnSector(marsh)), () -> {
|
node(sublimate, Seq.with(new OnSector(marsh)), () -> {
|
||||||
node(afflict, Seq.with(new OnSector(ravine)), () -> {
|
node(afflict, Seq.with(new OnSector(ravine)), () -> {
|
||||||
node(titan, Seq.with(new OnSector(marsh)), () -> {
|
node(titan, Seq.with(new OnSector(stronghold)), () -> {
|
||||||
node(lustre, () -> {
|
node(lustre, Seq.with(tmpNever), () -> {
|
||||||
node(smite, () -> {
|
node(smite, () -> {
|
||||||
|
|
||||||
});
|
});
|
||||||
@@ -278,8 +280,8 @@ public class ErekirTechTree{
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
node(disperse, Seq.with(tmpNever), () -> {
|
node(disperse, Seq.with(new OnSector(stronghold)), () -> {
|
||||||
node(scathe, () -> {
|
node(scathe, Seq.with(tmpNever), () -> {
|
||||||
node(malign, () -> {
|
node(malign, () -> {
|
||||||
|
|
||||||
});
|
});
|
||||||
@@ -322,13 +324,13 @@ public class ErekirTechTree{
|
|||||||
node(UnitTypes.avert);
|
node(UnitTypes.avert);
|
||||||
|
|
||||||
//TODO
|
//TODO
|
||||||
node(primeRefabricator, Seq.with(tmpNever), () -> {
|
node(primeRefabricator, Seq.with(new OnSector(stronghold)), () -> {
|
||||||
node(UnitTypes.precept);
|
node(UnitTypes.precept);
|
||||||
node(UnitTypes.anthicus);
|
node(UnitTypes.anthicus);
|
||||||
node(UnitTypes.obviate);
|
node(UnitTypes.obviate);
|
||||||
});
|
});
|
||||||
|
|
||||||
node(tankAssembler, Seq.with(new OnSector(intersect), new Research(constructor), new Research(atmosphericConcentrator)), () -> {
|
node(tankAssembler, Seq.with(tmpNever, new OnSector(intersect), new Research(constructor), new Research(atmosphericConcentrator)), () -> {
|
||||||
|
|
||||||
node(UnitTypes.vanquish, () -> {
|
node(UnitTypes.vanquish, () -> {
|
||||||
node(UnitTypes.conquer, Seq.with(tmpNever), () -> {
|
node(UnitTypes.conquer, Seq.with(tmpNever), () -> {
|
||||||
@@ -379,7 +381,9 @@ public class ErekirTechTree{
|
|||||||
node(marsh, Seq.with(new SectorComplete(basin)), () ->{
|
node(marsh, Seq.with(new SectorComplete(basin)), () ->{
|
||||||
node(ravine, Seq.with(new SectorComplete(marsh), new Research(Liquids.slag)), () ->{
|
node(ravine, Seq.with(new SectorComplete(marsh), new Research(Liquids.slag)), () ->{
|
||||||
node(caldera, Seq.with(new SectorComplete(peaks), new Research(heatRedirector)), () -> {
|
node(caldera, Seq.with(new SectorComplete(peaks), new Research(heatRedirector)), () -> {
|
||||||
|
node(stronghold, Seq.with(new SectorComplete(caldera), new Research(coreCitadel)), () -> {
|
||||||
|
|
||||||
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ public class SectorPresets{
|
|||||||
impact0078, desolateRift, nuclearComplex, planetaryTerminal,
|
impact0078, desolateRift, nuclearComplex, planetaryTerminal,
|
||||||
coastline, navalFortress,
|
coastline, navalFortress,
|
||||||
|
|
||||||
onset, aegis, lake, intersect, basin, atlas, split, marsh, peaks, ravine, caldera;
|
onset, aegis, lake, intersect, basin, atlas, split, marsh, peaks, ravine, caldera,stronghold;
|
||||||
|
|
||||||
public static void load(){
|
public static void load(){
|
||||||
//region serpulo
|
//region serpulo
|
||||||
@@ -156,6 +156,10 @@ public class SectorPresets{
|
|||||||
difficulty = 4;
|
difficulty = 4;
|
||||||
}};
|
}};
|
||||||
|
|
||||||
|
stronghold = new SectorPreset("stronghold", erekir, 18){{
|
||||||
|
difficulty = 6;
|
||||||
|
}};
|
||||||
|
|
||||||
//endregion
|
//endregion
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user