T2 reinforced core unit

This commit is contained in:
Anuken
2021-11-13 10:40:55 -05:00
parent 2f0daa6fc4
commit 3a6878ef60
7 changed files with 60 additions and 4 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 460 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 850 B

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 454 B

View File

@@ -435,3 +435,4 @@
63271=core-acropolis|block-core-acropolis-ui 63271=core-acropolis|block-core-acropolis-ui
63270=heat-reactor|block-heat-reactor-ui 63270=heat-reactor|block-heat-reactor-ui
63269=core-bastion|block-core-bastion-ui 63269=core-bastion|block-core-bastion-ui
63268=incite|unit-incite-ui

Binary file not shown.

View File

@@ -1840,7 +1840,7 @@ public class Blocks implements ContentList{
//TODO cost //TODO cost
requirements(Category.effect, with(Items.beryllium, 7000, Items.graphite, 7000, Items.tungsten, 5000, Items.carbide, 5000)); requirements(Category.effect, with(Items.beryllium, 7000, Items.graphite, 7000, Items.tungsten, 5000, Items.carbide, 5000));
unitType = UnitTypes.evoke; unitType = UnitTypes.incite;
health = 14000; health = 14000;
itemCapacity = 11000; itemCapacity = 11000;
size = 5; size = 5;

View File

@@ -40,7 +40,7 @@ public class UnitTypes implements ContentList{
//air //air
public static @EntityDef({Unitc.class}) UnitType flare, eclipse, horizon, zenith, antumbra, public static @EntityDef({Unitc.class}) UnitType flare, eclipse, horizon, zenith, antumbra,
evoke, incite; //elicit, incite? evoke; //elicit, incite?
//air, legacy //air, legacy
public static @EntityDef(value = {Unitc.class}, legacy = true) UnitType mono; public static @EntityDef(value = {Unitc.class}, legacy = true) UnitType mono;
@@ -49,7 +49,8 @@ public class UnitTypes implements ContentList{
public static @EntityDef(value = {Unitc.class}, legacy = true) UnitType poly; public static @EntityDef(value = {Unitc.class}, legacy = true) UnitType poly;
//air + payload //air + payload
public static @EntityDef({Unitc.class, Payloadc.class}) UnitType mega; public static @EntityDef({Unitc.class, Payloadc.class}) UnitType mega,
incite;
//air + payload, legacy //air + payload, legacy
public static @EntityDef(value = {Unitc.class, Payloadc.class}, legacy = true) UnitType quad; public static @EntityDef(value = {Unitc.class, Payloadc.class}, legacy = true) UnitType quad;
@@ -2330,7 +2331,6 @@ public class UnitTypes implements ContentList{
defaultController = BuilderAI::new; defaultController = BuilderAI::new;
isCounted = false; isCounted = false;
lowAltitude = true;
flying = true; flying = true;
mineSpeed = 7f; mineSpeed = 7f;
mineTier = 1; mineTier = 1;
@@ -2470,6 +2470,61 @@ public class UnitTypes implements ContentList{
}}); }});
}}; }};
incite = new UnitType("incite"){{
defaultController = BuilderAI::new;
isCounted = false;
envDisabled = 0;
lowAltitude = false;
flying = true;
targetAir = false;
mineSpeed = 8f;
mineTier = 2;
buildSpeed = 1.4f;
drag = 0.06f;
speed = 2.6f;
rotateSpeed = 6f;
accel = 0.11f;
itemCapacity = 70;
health = 600f;
armor = 2f;
hitSize = 18f;
commandLimit = 7;
buildBeamOffset = 10f;
engineSize = 0;
payloadCapacity = Mathf.sqr(2f) * tilePayload;
setEnginesMirror(
new UnitEngine(34 / 4f, 30 / 4f, 3f, 45f),
new UnitEngine(35 / 4f, -38 / 4f, 3f, 315f)
);
weapons.add(new Weapon("incite-weapon"){{
reload = 35f;
x = 4f;
y = 6.25f;
shootY = 5.75f;
recoil = 2f;
top = false;
layerOffset = -0.01f;
rotate = false;
bullet = new BasicBulletType(5f, 15){{
width = 7f;
height = 12f;
shootEffect = Fx.sparkShoot;
smokeEffect = Fx.shootBigSmoke;
pierce = true;
pierceBuilding = true;
hitColor = backColor = trailColor = Pal.bulletYellowBack;
frontColor = Color.white;
trailWidth = 1.5f;
trailLength = 7;
hitEffect = despawnEffect = Fx.hitBulletColor;
}};
}});
}};
//endregion //endregion
//region internal //region internal