mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-30 22:49:06 +07:00
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;
|
||||
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"){{
|
||||
|
@ -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)), () -> {
|
||||
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
@ -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
|
||||
}
|
||||
}
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user