Sector tech tree stuff
This commit is contained in:
BIN
core/assets/maps/five.msav
Normal file
BIN
core/assets/maps/five.msav
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -2040,6 +2040,7 @@ public class Blocks{
|
|||||||
liquidCapacity = 20f;
|
liquidCapacity = 20f;
|
||||||
liquidPressure = 1.03f;
|
liquidPressure = 1.03f;
|
||||||
health = 250;
|
health = 250;
|
||||||
|
researchCostMultiplier = 6;
|
||||||
}};
|
}};
|
||||||
|
|
||||||
//TODO is this necessary? junctions are not good design
|
//TODO is this necessary? junctions are not good design
|
||||||
@@ -2049,12 +2050,14 @@ public class Blocks{
|
|||||||
buildCostMultiplier = 3f;
|
buildCostMultiplier = 3f;
|
||||||
health = 260;
|
health = 260;
|
||||||
((Conduit)reinforcedConduit).junctionReplacement = this;
|
((Conduit)reinforcedConduit).junctionReplacement = this;
|
||||||
|
researchCostMultiplier = 6;
|
||||||
}};
|
}};
|
||||||
|
|
||||||
reinforcedBridgeConduit = new DirectionLiquidBridge("reinforced-bridge-conduit"){{
|
reinforcedBridgeConduit = new DirectionLiquidBridge("reinforced-bridge-conduit"){{
|
||||||
requirements(Category.liquid, with(Items.graphite, 6, Items.beryllium, 10));
|
requirements(Category.liquid, with(Items.graphite, 6, Items.beryllium, 10));
|
||||||
range = 4;
|
range = 4;
|
||||||
hasPower = false;
|
hasPower = false;
|
||||||
|
researchCostMultiplier = 6;
|
||||||
|
|
||||||
((Conduit)reinforcedConduit).rotBridgeReplacement = this;
|
((Conduit)reinforcedConduit).rotBridgeReplacement = this;
|
||||||
}};
|
}};
|
||||||
@@ -2064,6 +2067,7 @@ public class Blocks{
|
|||||||
liquidCapacity = 30f;
|
liquidCapacity = 30f;
|
||||||
newDrawing = true;
|
newDrawing = true;
|
||||||
liquidPadding = 3f/4f;
|
liquidPadding = 3f/4f;
|
||||||
|
researchCostMultiplier = 6;
|
||||||
}};
|
}};
|
||||||
|
|
||||||
//TODO is there a need for a container if unloaders can unload 3x3s?
|
//TODO is there a need for a container if unloaders can unload 3x3s?
|
||||||
@@ -2073,6 +2077,7 @@ public class Blocks{
|
|||||||
size = 2;
|
size = 2;
|
||||||
newDrawing = true;
|
newDrawing = true;
|
||||||
liquidPadding = 6f/4f;
|
liquidPadding = 6f/4f;
|
||||||
|
researchCostMultiplier = 4;
|
||||||
}};
|
}};
|
||||||
|
|
||||||
reinforcedLiquidTank = new LiquidRouter("reinforced-liquid-tank"){{
|
reinforcedLiquidTank = new LiquidRouter("reinforced-liquid-tank"){{
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ public class ErekirTechTree{
|
|||||||
//TODO should only be unlocked in unit sector
|
//TODO should only be unlocked in unit sector
|
||||||
node(constructor, Seq.with(new Research(siliconArcFurnace), new OnSector(four)), () -> {
|
node(constructor, Seq.with(new Research(siliconArcFurnace), new OnSector(four)), () -> {
|
||||||
|
|
||||||
node(payloadMassDriver, () -> {
|
node(payloadMassDriver, Seq.with(new OnSector(five)), () -> {
|
||||||
//TODO further limitations
|
//TODO further limitations
|
||||||
node(payloadLoader, () -> {
|
node(payloadLoader, () -> {
|
||||||
node(payloadUnloader, () -> {
|
node(payloadUnloader, () -> {
|
||||||
@@ -155,7 +155,7 @@ public class ErekirTechTree{
|
|||||||
});
|
});
|
||||||
|
|
||||||
node(atmosphericConcentrator, Seq.with(new OnSector(four)), () -> {
|
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.quell, () -> {
|
||||||
node(UnitTypes.disrupt, Seq.with(tmpNever), () -> {
|
node(UnitTypes.disrupt, Seq.with(tmpNever), () -> {
|
||||||
|
|
||||||
@@ -253,7 +253,10 @@ public class ErekirTechTree{
|
|||||||
node(aware, Seq.with(new SectorComplete(onset), new Research(ductRouter)), () -> {
|
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(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)), () -> {
|
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)), () -> {
|
||||||
|
|
||||||
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ public class SectorPresets{
|
|||||||
impact0078, desolateRift, nuclearComplex, planetaryTerminal,
|
impact0078, desolateRift, nuclearComplex, planetaryTerminal,
|
||||||
coastline, navalFortress,
|
coastline, navalFortress,
|
||||||
|
|
||||||
onset, aware, three, four
|
onset, aware, three, four, five
|
||||||
;
|
;
|
||||||
|
|
||||||
public static void load(){
|
public static void load(){
|
||||||
@@ -132,6 +132,10 @@ public class SectorPresets{
|
|||||||
difficulty = 6;
|
difficulty = 6;
|
||||||
}};
|
}};
|
||||||
|
|
||||||
|
five = new SectorPreset("five", erekir, 12){{
|
||||||
|
difficulty = 7;
|
||||||
|
}};
|
||||||
|
|
||||||
//endregion
|
//endregion
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ public class ErekirPlanetGenerator extends PlanetGenerator{
|
|||||||
public static float crystalScl = 0.9f, crystalMag = 0.3f;
|
public static float crystalScl = 0.9f, crystalMag = 0.3f;
|
||||||
public static float airThresh = 0.13f, airScl = 14;
|
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;
|
baseSeed = 2;
|
||||||
|
|||||||
Reference in New Issue
Block a user