Unit assembly system progress

This commit is contained in:
Anuken
2021-12-18 11:50:21 -05:00
parent 3866a9a8e7
commit 41b669d6e1
16 changed files with 397 additions and 35 deletions

View File

@@ -132,6 +132,7 @@ public class Blocks{
//unit - erekir
tankAssembler,
basicAssemblerModule,
//payloads
//TODO small deconstructor
@@ -3319,15 +3320,20 @@ public class Blocks{
tankAssembler = new UnitAssembler("tank-assembler"){{
requirements(Category.units, with(Items.graphite, 10));
size = 3;
output = UnitTypes.vanquish;
droneType = UnitTypes.manifold;
requirements = BlockStack.list(Blocks.thoriumWallLarge, 4, Blocks.duct, 2);
plans.add(new AssemblerUnitPlan(UnitTypes.vanquish, 60f * 5f, BlockStack.list(Blocks.thoriumWallLarge, 4, Blocks.duct, 2)));
consumes.power(1f);
areaSize = 13;
droneType = UnitTypes.assemblyDrone;
}};
basicAssemblerModule = new UnitAssemblerModule("basic-assembler-module"){{
requirements(Category.units, with(Items.graphite, 10));
size = 3;
}};
//endregion
//region payloads

View File

@@ -2439,7 +2439,7 @@ public class UnitTypes{
layerOffset = 0.0001f;
reload = 120f;
shootY = 71f / 4f;
shake = 3f;
shake = 4f;
recoil = 4f;
rotate = true;
rotateSpeed = 1f;