Misc map creation utilities

This commit is contained in:
Anuken
2022-01-21 16:32:35 -05:00
parent 025dac226c
commit cfb01063c0
13 changed files with 105 additions and 36 deletions

View File

@@ -3387,7 +3387,7 @@ public class Blocks{
//TODO requirements
tankAssembler = new UnitAssembler("tank-assembler"){{
requirements(Category.units, with(Items.graphite, 10));
requirements(Category.units, with(Items.graphite, 600, Items.beryllium, 600, Items.oxide, 200, Items.tungsten, 500));
size = 5;
plans.add(new AssemblerUnitPlan(UnitTypes.vanquish, 60f * 10f, BlockStack.list(Blocks.tungstenWallLarge, 5, Blocks.duct, 2)));
consumes.power(2f);
@@ -3399,7 +3399,7 @@ public class Blocks{
//TODO requirements
shipAssembler = new UnitAssembler("ship-assembler"){{
requirements(Category.units, with(Items.graphite, 10));
requirements(Category.units, with(Items.graphite, 600, Items.beryllium, 600, Items.oxide, 200, Items.tungsten, 500));
size = 5;
plans.add(new AssemblerUnitPlan(UnitTypes.quell, 60f * 4f, BlockStack.list(Blocks.tungstenWallLarge, 5, Blocks.plasmaBore, 2)));
consumes.power(2f);
@@ -3412,7 +3412,7 @@ public class Blocks{
//TODO requirements
mechAssembler = new UnitAssembler("mech-assembler"){{
requirements(Category.units, with(Items.graphite, 10));
requirements(Category.units, with(Items.graphite, 600, Items.carbide, 600, Items.oxide, 200, Items.tungsten, 500));
size = 5;
plans.add(new AssemblerUnitPlan(UnitTypes.bulwark, 60f * 4f, BlockStack.list(Blocks.tungstenWallLarge, 5, Blocks.duct, 2)));
consumes.power(2f);

View File

@@ -1,6 +1,5 @@
package mindustry.content;
import mindustry.ctype.*;
import mindustry.type.*;
import static mindustry.content.Planets.*;
@@ -11,7 +10,10 @@ public class SectorPresets{
craters, biomassFacility, frozenForest, ruinousShores, windsweptIslands, stainedMountains, tarFields,
fungalPass, extractionOutpost, saltFlats, overgrowth,
impact0078, desolateRift, nuclearComplex, planetaryTerminal,
coastline, navalFortress;
coastline, navalFortress,
onset
;
public static void load(){
//region serpulo
@@ -108,5 +110,15 @@ public class SectorPresets{
}};
//endregion
//region erekir
/*
onset = new SectorPreset("onset", erekir, 15){{
addStartingItems = true;
captureWave = 10;
difficulty = 1;
}};*/
//endreigon
}
}