3 map submissions added for testing

This commit is contained in:
Anuken
2024-10-01 20:00:09 -04:00
parent 13c0e95e6b
commit 4e51d5256c
6 changed files with 49 additions and 2 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -8,7 +8,7 @@ public class SectorPresets{
public static SectorPreset public static SectorPreset
groundZero, groundZero,
craters, biomassFacility, taintedWoods, frozenForest, ruinousShores, facility32m, windsweptIslands, stainedMountains, tarFields, craters, biomassFacility, taintedWoods, frozenForest, ruinousShores, facility32m, windsweptIslands, stainedMountains, tarFields,
fungalPass, infestedCanyons, atolls, extractionOutpost, saltFlats, overgrowth, //polarAerodrome, frontier, fungalPass, infestedCanyons, atolls, mycelialBastion, extractionOutpost, saltFlats, testingGrounds, overgrowth, //polarAerodrome,
impact0078, desolateRift, nuclearComplex, planetaryTerminal, impact0078, desolateRift, nuclearComplex, planetaryTerminal,
coastline, navalFortress, coastline, navalFortress,
@@ -32,6 +32,10 @@ public class SectorPresets{
difficulty = 5; difficulty = 5;
}}; }};
testingGrounds = new SectorPreset("testingGrounds", serpulo, 3){{
difficulty = 7;
}};
frozenForest = new SectorPreset("frozenForest", serpulo, 86){{ frozenForest = new SectorPreset("frozenForest", serpulo, 86){{
captureWave = 15; captureWave = 15;
difficulty = 2; difficulty = 2;
@@ -90,6 +94,10 @@ public class SectorPresets{
difficulty = 9; difficulty = 9;
}}; }};
frontier = new SectorPreset("frontier", serpulo, 203){{
difficulty = 4;
}};
fungalPass = new SectorPreset("fungalPass", serpulo, 21){{ fungalPass = new SectorPreset("fungalPass", serpulo, 21){{
difficulty = 4; difficulty = 4;
}}; }};
@@ -102,6 +110,10 @@ public class SectorPresets{
difficulty = 7; difficulty = 7;
}}; }};
mycelialBastion = new SectorPreset("mycelialBastion", serpulo, 133){{
difficulty = 7;
}};
overgrowth = new SectorPreset("overgrowth", serpulo, 134){{ overgrowth = new SectorPreset("overgrowth", serpulo, 134){{
difficulty = 5; difficulty = 5;
}}; }};

View File

@@ -236,7 +236,7 @@ public class SerpuloTechTree{
node(steamGenerator, Seq.with(new SectorComplete(craters)), () -> { node(steamGenerator, Seq.with(new SectorComplete(craters)), () -> {
node(thermalGenerator, () -> { node(thermalGenerator, () -> {
node(differentialGenerator, () -> { node(differentialGenerator, Seq.with(new SectorComplete(testingGrounds)), () -> {
node(thoriumReactor, Seq.with(new Research(Liquids.cryofluid)), () -> { node(thoriumReactor, Seq.with(new Research(Liquids.cryofluid)), () -> {
node(impactReactor, () -> { node(impactReactor, () -> {
@@ -448,6 +448,16 @@ public class SerpuloTechTree{
new Research(mender), new Research(mender),
new Research(combustionGenerator) new Research(combustionGenerator)
), () -> { ), () -> {
node(frontier, Seq.with(
new Research(groundFactory),
new Research(airFactory),
new Research(thermalGenerator),
new Research(dagger),
new Research(mono)
), () -> {
});
node(ruinousShores, Seq.with( node(ruinousShores, Seq.with(
new SectorComplete(craters), new SectorComplete(craters),
new Research(graphitePress), new Research(graphitePress),
@@ -540,6 +550,15 @@ public class SerpuloTechTree{
new Research(airFactory), new Research(airFactory),
new Research(door) new Research(door)
), () -> { ), () -> {
node(testingGrounds, Seq.with(
new Research(cryofluidMixer),
new Research(cryofluid),
new Research(waterExtractor),
new Research(ripple)
), () -> {
});
node(coastline, Seq.with( node(coastline, Seq.with(
new SectorComplete(windsweptIslands), new SectorComplete(windsweptIslands),
new SectorComplete(saltFlats), new SectorComplete(saltFlats),
@@ -573,6 +592,14 @@ public class SerpuloTechTree{
new Research(UnitTypes.mace), new Research(UnitTypes.mace),
new Research(UnitTypes.flare) new Research(UnitTypes.flare)
), () -> { ), () -> {
node(mycelialBastion, Seq.with(
new Research(atrax),
new Research(spiroct),
new Research(multiplicativeReconstructor)
), () -> {
});
node(atolls, Seq.with( node(atolls, Seq.with(
new SectorComplete(windsweptIslands), new SectorComplete(windsweptIslands),
new Research(multiplicativeReconstructor), new Research(multiplicativeReconstructor),

View File

@@ -183,6 +183,14 @@ public class UnitFactory extends UnitBlock{
return currentPlan == -1 ? 0 : progress / plans.get(currentPlan).time; return currentPlan == -1 ? 0 : progress / plans.get(currentPlan).time;
} }
@Override
public void created(){
//auto-set to the first plan, it's better than nothing.
if(currentPlan == -1){
currentPlan = plans.indexOf(u -> u.unit.unlockedNow());
}
}
@Override @Override
public Vec2 getCommandPosition(){ public Vec2 getCommandPosition(){
return commandPos; return commandPos;