mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-20 20:57:59 +07:00
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.world.blocks.defense.turrets.*;
|
||||
|
||||
import java.awt.*;
|
||||
|
||||
import static mindustry.Vars.*;
|
||||
import static mindustry.content.Blocks.*;
|
||||
import static mindustry.content.SectorPresets.*;
|
||||
@ -136,7 +138,7 @@ public class ErekirTechTree{
|
||||
node(plasmaBore, () -> {
|
||||
node(impactDrill, Seq.with(new OnSector(aegis)), () -> {
|
||||
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(ventCondenser, Seq.with(new OnSector(aegis)), () -> {
|
||||
node(chemicalCombustionChamber, Seq.with(new OnSector(basin)), () -> {
|
||||
node(pyrolysisGenerator, () -> {
|
||||
node(pyrolysisGenerator, Seq.with(tmpNever), () -> {
|
||||
node(fluxReactor, () -> {
|
||||
node(neoplasiaReactor, () -> {
|
||||
|
||||
@ -164,8 +166,8 @@ public class ErekirTechTree{
|
||||
|
||||
node(regenProjector, Seq.with(new OnSector(peaks)), () -> {
|
||||
//TODO more tiers of build tower or "support" structures like overdrive projectors
|
||||
node(buildTower, Seq.with(tmpNever), () -> {
|
||||
node(shockwaveTower, () -> {
|
||||
node(buildTower, Seq.with(new OnSector(stronghold)), () -> {
|
||||
node(shockwaveTower, Seq.with(tmpNever), () -> {
|
||||
|
||||
});
|
||||
});
|
||||
@ -268,8 +270,8 @@ public class ErekirTechTree{
|
||||
node(diffuse, Seq.with(new OnSector(lake)), () -> {
|
||||
node(sublimate, Seq.with(new OnSector(marsh)), () -> {
|
||||
node(afflict, Seq.with(new OnSector(ravine)), () -> {
|
||||
node(titan, Seq.with(new OnSector(marsh)), () -> {
|
||||
node(lustre, () -> {
|
||||
node(titan, Seq.with(new OnSector(stronghold)), () -> {
|
||||
node(lustre, Seq.with(tmpNever), () -> {
|
||||
node(smite, () -> {
|
||||
|
||||
});
|
||||
@ -278,8 +280,8 @@ public class ErekirTechTree{
|
||||
});
|
||||
});
|
||||
|
||||
node(disperse, Seq.with(tmpNever), () -> {
|
||||
node(scathe, () -> {
|
||||
node(disperse, Seq.with(new OnSector(stronghold)), () -> {
|
||||
node(scathe, Seq.with(tmpNever), () -> {
|
||||
node(malign, () -> {
|
||||
|
||||
});
|
||||
@ -322,13 +324,13 @@ public class ErekirTechTree{
|
||||
node(UnitTypes.avert);
|
||||
|
||||
//TODO
|
||||
node(primeRefabricator, Seq.with(tmpNever), () -> {
|
||||
node(primeRefabricator, Seq.with(new OnSector(stronghold)), () -> {
|
||||
node(UnitTypes.precept);
|
||||
node(UnitTypes.anthicus);
|
||||
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.conquer, Seq.with(tmpNever), () -> {
|
||||
@ -379,7 +381,9 @@ public class ErekirTechTree{
|
||||
node(marsh, Seq.with(new SectorComplete(basin)), () ->{
|
||||
node(ravine, Seq.with(new SectorComplete(marsh), new Research(Liquids.slag)), () ->{
|
||||
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,
|
||||
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(){
|
||||
//region serpulo
|
||||
@ -156,6 +156,10 @@ public class SectorPresets{
|
||||
difficulty = 4;
|
||||
}};
|
||||
|
||||
stronghold = new SectorPreset("stronghold", erekir, 18){{
|
||||
difficulty = 6;
|
||||
}};
|
||||
|
||||
//endregion
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user