Unit assembly drones + more visuals

This commit is contained in:
Anuken
2021-12-15 14:51:42 -05:00
parent b5ce9e1a38
commit 00ed0d017c
16 changed files with 242 additions and 98 deletions

View File

@@ -3320,6 +3320,9 @@ public class Blocks{
output = UnitTypes.vanquish;
droneType = UnitTypes.manifold;
requirements = BlockStack.list(Blocks.thoriumWallLarge, 4, Blocks.duct, 2);
consumes.power(1f);
droneType = UnitTypes.assemblyDrone;
}};
//endregion

View File

@@ -68,8 +68,8 @@ public class UnitTypes{
//special block unit type
public static @EntityDef({Unitc.class, BlockUnitc.class}) UnitType block;
//transport
public static @EntityDef({Unitc.class, BuildingTetherc.class}) UnitType manifold;
//special tethered
public static @EntityDef({Unitc.class, BuildingTetherc.class}) UnitType manifold, assemblyDrone;
//tank
//TODO tank comp
@@ -2714,8 +2714,6 @@ public class UnitTypes{
commandLimit = 0;
engineSize = 2.3f;
engineOffset = 6.5f;
//should not appear anywhere, it's for internal use only and will despawn
hidden = true;
setEnginesMirror(
@@ -2723,6 +2721,29 @@ public class UnitTypes{
);
}};
assemblyDrone = new UnitType("assembly-drone"){{
defaultController = AssemblerAI::new;
flying = true;
drag = 0.06f;
accel = 0.11f;
speed = 1.3f;
health = 90;
engineSize = 2f;
engineOffset = 6.5f;
outlineColor = Pal.darkOutline;
isCounted = false;
hidden = true;
useUnitCap = false;
logicControllable = false;
playerControllable = false;
allowedInPayloads = false;
createWreck = false;
envEnabled = Env.any;
envDisabled = Env.none;
}};
//endregion
//region neoplasm