Advanced reconstructor in tech tree
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 5.3 KiB |
BIN
core/assets-raw/sprites/blocks/units/advanced-reconstructor.png
Normal file
BIN
core/assets-raw/sprites/blocks/units/advanced-reconstructor.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.0 KiB |
Binary file not shown.
@@ -142,6 +142,7 @@ public class Blocks{
|
|||||||
tankFabricator, shipFabricator, mechFabricator,
|
tankFabricator, shipFabricator, mechFabricator,
|
||||||
|
|
||||||
basicReconstructor,
|
basicReconstructor,
|
||||||
|
advancedReconstructor,
|
||||||
//tankReconstructor, shipReconstructor, mechReconstructor,
|
//tankReconstructor, shipReconstructor, mechReconstructor,
|
||||||
|
|
||||||
tankAssembler, shipAssembler, mechAssembler,
|
tankAssembler, shipAssembler, mechAssembler,
|
||||||
@@ -4252,6 +4253,24 @@ public class Blocks{
|
|||||||
);
|
);
|
||||||
}};
|
}};
|
||||||
|
|
||||||
|
advancedReconstructor = new Reconstructor("advanced-reconstructor"){{
|
||||||
|
requirements(Category.units, with(Items.beryllium, 250, Items.oxide, 200, Items.tungsten, 200, Items.silicon, 400));
|
||||||
|
regionSuffix = "-dark";
|
||||||
|
|
||||||
|
size = 5;
|
||||||
|
consumePower(5f);
|
||||||
|
consumeLiquid(Liquids.nitrogen, 10f / 60f);
|
||||||
|
consumeItems(with(Items.oxide, 110, Items.tungsten, 100));
|
||||||
|
|
||||||
|
constructTime = 60f * 60f;
|
||||||
|
|
||||||
|
upgrades.addAll(
|
||||||
|
new UnitType[]{UnitTypes.locus, UnitTypes.precept},
|
||||||
|
new UnitType[]{UnitTypes.latum, UnitTypes.anthicus},
|
||||||
|
new UnitType[]{UnitTypes.avert, UnitTypes.obviate}
|
||||||
|
);
|
||||||
|
}};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
mechReconstructor = new Reconstructor("mech-reconstructor"){{
|
mechReconstructor = new Reconstructor("mech-reconstructor"){{
|
||||||
requirements(Category.units, with(Items.beryllium, 250, Items.tungsten, 120, Items.silicon, 150));
|
requirements(Category.units, with(Items.beryllium, 250, Items.tungsten, 120, Items.silicon, 150));
|
||||||
|
|||||||
@@ -298,7 +298,15 @@ public class ErekirTechTree{
|
|||||||
node(UnitTypes.avert);
|
node(UnitTypes.avert);
|
||||||
node(UnitTypes.locus);
|
node(UnitTypes.locus);
|
||||||
|
|
||||||
|
//TODO
|
||||||
|
node(advancedReconstructor, () -> {
|
||||||
|
node(UnitTypes.precept);
|
||||||
|
node(UnitTypes.anthicus);
|
||||||
|
node(UnitTypes.obviate);
|
||||||
|
});
|
||||||
|
|
||||||
node(tankAssembler, Seq.with(new OnSector(three), new Research(constructor), new Research(atmosphericConcentrator)), () -> {
|
node(tankAssembler, Seq.with(new OnSector(three), new Research(constructor), new Research(atmosphericConcentrator)), () -> {
|
||||||
|
|
||||||
node(UnitTypes.vanquish, () -> {
|
node(UnitTypes.vanquish, () -> {
|
||||||
node(UnitTypes.conquer, Seq.with(tmpNever), () -> {
|
node(UnitTypes.conquer, Seq.with(tmpNever), () -> {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user