Unit renamings

This commit is contained in:
Anuken
2022-05-05 12:26:23 -04:00
parent 05d5a160fe
commit 7782331dbc
34 changed files with 18 additions and 19 deletions

View File

@@ -143,7 +143,6 @@ public class Blocks{
basicReconstructor,
advancedReconstructor,
//tankReconstructor, shipReconstructor, mechReconstructor,
tankAssembler, shipAssembler, mechAssembler,
basicAssemblerModule,
@@ -4220,7 +4219,7 @@ public class Blocks{
requirements(Category.units, with(Items.silicon, 200, Items.graphite, 300));
size = 3;
configurable = false;
plans.add(new UnitPlan(UnitTypes.osc, 60f * 40f, with(Items.graphite, 40f, Items.silicon, 70f)));
plans.add(new UnitPlan(UnitTypes.elude, 60f * 40f, with(Items.graphite, 40f, Items.silicon, 70f)));
regionSuffix = "-dark";
fogRadius = 3;
consumePower(2f);
@@ -4241,7 +4240,7 @@ public class Blocks{
upgrades.addAll(
new UnitType[]{UnitTypes.stell, UnitTypes.locus},
new UnitType[]{UnitTypes.merui, UnitTypes.latum},
new UnitType[]{UnitTypes.osc, UnitTypes.avert}
new UnitType[]{UnitTypes.elude, UnitTypes.avert}
);
}};
@@ -4347,7 +4346,7 @@ public class Blocks{
regionSuffix = "-dark";
size = 5;
//TODO different reqs
plans.add(new AssemblerUnitPlan(UnitTypes.bulwark, 60f * 60f, PayloadStack.list(UnitTypes.latum, 2, Blocks.tungstenWallLarge, 10)));
plans.add(new AssemblerUnitPlan(UnitTypes.tecta, 60f * 60f, PayloadStack.list(UnitTypes.latum, 2, Blocks.tungstenWallLarge, 10)));
consumePower(3f);
areaSize = 13;
researchCostMultiplier = 0.4f;

View File

@@ -289,7 +289,7 @@ public class ErekirTechTree{
});
node(shipFabricator, Seq.with(new OnSector(three)), () -> {
node(UnitTypes.osc, () -> {
node(UnitTypes.elude, () -> {
});
@@ -321,8 +321,8 @@ public class ErekirTechTree{
});
node(mechAssembler, Seq.with(tmpNever), () -> {
node(UnitTypes.bulwark, () -> {
node(UnitTypes.krepost, Seq.with(tmpNever), () -> {
node(UnitTypes.tecta, () -> {
node(UnitTypes.collaris, Seq.with(tmpNever), () -> {
});
});

View File

@@ -39,13 +39,13 @@ public class UnitTypes{
//legs
public static @EntityDef({Unitc.class, Legsc.class}) UnitType corvus, atrax,
merui, latum, anthicus,
bulwark, krepost; //TODO horrid name here
tecta, collaris; //TODO horrid name here
//legs, legacy
public static @EntityDef(value = {Unitc.class, Legsc.class}, legacy = true) UnitType spiroct, arkyid, toxopid;
//hover
public static @EntityDef({Unitc.class, ElevationMovec.class}) UnitType osc; //TODO bad name
public static @EntityDef({Unitc.class, ElevationMovec.class}) UnitType elude; //TODO bad name
//air
public static @EntityDef({Unitc.class}) UnitType flare, eclipse, horizon, zenith, antumbra,
@@ -3256,7 +3256,7 @@ public class UnitTypes{
}});
}};
bulwark = new ErekirUnitType("bulwark"){{
tecta = new ErekirUnitType("tecta"){{
drag = 0.1f;
speed = 0.6f;
hitSize = 23f;
@@ -3271,7 +3271,7 @@ public class UnitTypes{
legMaxLength = 1.3f;
abilities.add(new ShieldArcAbility(){{
region = "bulwark-shield";
region = "tecta-shield";
radius = 34f;
angle = 82f;
regen = 0.6f;
@@ -3302,7 +3302,7 @@ public class UnitTypes{
shadowElevation = 0.4f;
groundLayer = Layer.legUnit;
weapons.add(new Weapon("bulwark-weapon"){{
weapons.add(new Weapon("tecta-weapon"){{
mirror = true;
top = false;
@@ -3358,7 +3358,7 @@ public class UnitTypes{
}});
}};
krepost = new ErekirUnitType("krepost"){{
collaris = new ErekirUnitType("collaris"){{
drag = 0.1f;
speed = 1.1f;
hitSize = 44f;
@@ -3392,7 +3392,7 @@ public class UnitTypes{
shadowElevation = 0.4f;
groundLayer = Layer.legUnit;
weapons.add(new Weapon("krepost-weapon"){{
weapons.add(new Weapon("collaris-weapon"){{
mirror = true;
rotationLimit = 30f;
rotateSpeed = 0.4f;
@@ -3474,7 +3474,7 @@ public class UnitTypes{
//endregion
//region erekir - flying
osc = new ErekirUnitType("osc"){{
elude = new ErekirUnitType("elude"){{
hovering = true;
shadowElevation = 0.1f;
@@ -3511,7 +3511,7 @@ public class UnitTypes{
}});
}
weapons.add(new Weapon("osc-weapon"){{
weapons.add(new Weapon("elude-weapon"){{
y = -2f;
x = 4f;
top = true;