Sector tech tree stuff

This commit is contained in:
Anuken
2022-02-14 16:33:07 -05:00
parent cfd37d3cb0
commit 3d9ab3d9fb
7 changed files with 18 additions and 6 deletions

BIN
core/assets/maps/five.msav Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -2040,6 +2040,7 @@ public class Blocks{
liquidCapacity = 20f;
liquidPressure = 1.03f;
health = 250;
researchCostMultiplier = 6;
}};
//TODO is this necessary? junctions are not good design
@ -2049,12 +2050,14 @@ public class Blocks{
buildCostMultiplier = 3f;
health = 260;
((Conduit)reinforcedConduit).junctionReplacement = this;
researchCostMultiplier = 6;
}};
reinforcedBridgeConduit = new DirectionLiquidBridge("reinforced-bridge-conduit"){{
requirements(Category.liquid, with(Items.graphite, 6, Items.beryllium, 10));
range = 4;
hasPower = false;
researchCostMultiplier = 6;
((Conduit)reinforcedConduit).rotBridgeReplacement = this;
}};
@ -2064,6 +2067,7 @@ public class Blocks{
liquidCapacity = 30f;
newDrawing = true;
liquidPadding = 3f/4f;
researchCostMultiplier = 6;
}};
//TODO is there a need for a container if unloaders can unload 3x3s?
@ -2073,6 +2077,7 @@ public class Blocks{
size = 2;
newDrawing = true;
liquidPadding = 6f/4f;
researchCostMultiplier = 4;
}};
reinforcedLiquidTank = new LiquidRouter("reinforced-liquid-tank"){{

View File

@ -62,7 +62,7 @@ public class ErekirTechTree{
//TODO should only be unlocked in unit sector
node(constructor, Seq.with(new Research(siliconArcFurnace), new OnSector(four)), () -> {
node(payloadMassDriver, () -> {
node(payloadMassDriver, Seq.with(new OnSector(five)), () -> {
//TODO further limitations
node(payloadLoader, () -> {
node(payloadUnloader, () -> {
@ -155,7 +155,7 @@ public class ErekirTechTree{
});
node(atmosphericConcentrator, Seq.with(new OnSector(four)), () -> {
node(cyanogenSynthesizer, () -> {
node(cyanogenSynthesizer, Seq.with(new OnSector(five)), () -> {
});
});
@ -207,7 +207,7 @@ public class ErekirTechTree{
});
node(disperse, () -> {
node(disperse, Seq.with(new OnSector(five)), () -> {
});
});
@ -231,7 +231,7 @@ public class ErekirTechTree{
});
});
node(shipAssembler, () -> {
node(shipAssembler, Seq.with(new OnSector(five)), () -> {
node(UnitTypes.quell, () -> {
node(UnitTypes.disrupt, Seq.with(tmpNever), () -> {
@ -253,7 +253,10 @@ public class ErekirTechTree{
node(aware, Seq.with(new SectorComplete(onset), new Research(ductRouter)), () -> {
node(three, Seq.with(new SectorComplete(aware), new Research(reinforcedContainer), new Research(ductUnloader), new Research(ventCondenser)), () -> {
node(four, Seq.with(new SectorComplete(three), new Research(electrolyzer), new Research(oxidationChamber), new Research(chemicalCombustionChamber)), () -> {
//TODO research reqs?
node(five, Seq.with(new SectorComplete(four)), () -> {
});
});
});
});

View File

@ -12,7 +12,7 @@ public class SectorPresets{
impact0078, desolateRift, nuclearComplex, planetaryTerminal,
coastline, navalFortress,
onset, aware, three, four
onset, aware, three, four, five
;
public static void load(){
@ -132,6 +132,10 @@ public class SectorPresets{
difficulty = 6;
}};
five = new SectorPreset("five", erekir, 12){{
difficulty = 7;
}};
//endregion
}
}

View File

@ -27,7 +27,7 @@ public class ErekirPlanetGenerator extends PlanetGenerator{
public static float crystalScl = 0.9f, crystalMag = 0.3f;
public static float airThresh = 0.13f, airScl = 14;
Block[] terrain = {Blocks.regolith, Blocks.regolith, Blocks.regolith, Blocks.regolith, Blocks.yellowStone, Blocks.rhyolite, Blocks.carbonStone};
Block[] terrain = {Blocks.regolith, Blocks.regolith, Blocks.regolith, Blocks.regolith, Blocks.yellowStone, Blocks.rhyolite, Blocks.rhyolite, Blocks.carbonStone};
{
baseSeed = 2;