1
0
mirror of https://github.com/Anuken/Mindustry.git synced 2024-09-11 08:15:35 +03:00

More units renamed

This commit is contained in:
Anuken 2022-05-05 13:39:14 -04:00
parent 7782331dbc
commit 429e07adec
16 changed files with 17 additions and 14 deletions

View File

@ -6,6 +6,7 @@ atrax=1
beta=30
block=2
corvus=24
elude=45
flare=3
gamma=31
mace=4

View File

@ -0,0 +1 @@
{fields:[{name:abilities,type:"mindustry.entities.abilities.Ability[]"},{name:ammo,type:float},{name:controller,type:mindustry.entities.units.UnitController},{name:elevation,type:float},{name:flag,type:double},{name:health,type:float},{name:isShooting,type:boolean},{name:mineTile,type:mindustry.world.Tile},{name:mounts,type:"mindustry.entities.units.WeaponMount[]"},{name:plans,type:arc.struct.Queue<mindustry.entities.units.BuildPlan>},{name:rotation,type:float},{name:shield,type:float},{name:spawnedByCore,type:boolean},{name:stack,type:mindustry.type.ItemStack},{name:statuses,type:arc.struct.Seq<mindustry.entities.units.StatusEntry>},{name:team,type:mindustry.game.Team},{name:type,type:mindustry.type.UnitType},{name:updateBuilding,type:boolean},{name:vel,type:arc.math.geom.Vec2},{name:x,type:float},{name:y,type:float}]}

View File

Before

Width:  |  Height:  |  Size: 441 B

After

Width:  |  Height:  |  Size: 441 B

View File

Before

Width:  |  Height:  |  Size: 401 B

After

Width:  |  Height:  |  Size: 401 B

View File

Before

Width:  |  Height:  |  Size: 376 B

After

Width:  |  Height:  |  Size: 376 B

View File

Before

Width:  |  Height:  |  Size: 215 B

After

Width:  |  Height:  |  Size: 215 B

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 345 B

After

Width:  |  Height:  |  Size: 345 B

View File

Before

Width:  |  Height:  |  Size: 470 B

After

Width:  |  Height:  |  Size: 470 B

View File

Before

Width:  |  Height:  |  Size: 268 B

After

Width:  |  Height:  |  Size: 268 B

View File

@ -2017,7 +2017,7 @@ unit.stell.name = Stell
unit.locus.name = Locus
unit.vanquish.name = Vanquish
unit.conquer.name = Conquer
unit.latum.name = Latum
unit.cleroi.name = Cleroi
unit.tecta.name = Tecta
unit.collaris.name = Collaris
unit.avert.name = Avert

View File

@ -485,7 +485,6 @@
63210=eruption-drill|block-eruption-drill-ui
63209=ship-assembler|block-ship-assembler-ui
63208=quell-missile|unit-quell-missile-ui
63207=bulwark|unit-bulwark-ui
63206=mech-assembler|block-mech-assembler-ui
63205=ore-crystal-thorium|block-ore-crystal-thorium-ui
63204=ore-wall-beryllium|block-ore-wall-beryllium-ui
@ -510,7 +509,6 @@
63184=crystal-orbs|block-crystal-orbs-ui
63183=conquer|unit-conquer-ui
63182=disrupt|unit-disrupt-ui
63181=krepost|unit-krepost-ui
63180=disrupt-missile|unit-disrupt-missile-ui
63179=rhyolite-vent|block-rhyolite-vent-ui
63178=arkyic-vent|block-arkyic-vent-ui
@ -536,7 +534,7 @@
63156=ore-beryllium|block-ore-beryllium-ui
63155=locus|unit-locus-ui
63154=avert|unit-avert-ui
63153=latum|unit-latum-ui
63153=cleroi|unit-cleroi-ui
63152=tank-reconstructor|block-tank-reconstructor-ui
63151=mech-reconstructor|block-mech-reconstructor-ui
63150=ship-reconstructor|block-ship-reconstructor-ui
@ -560,3 +558,6 @@
63132=precept|unit-precept-ui
63131=diffuse|block-diffuse-ui
63130=basic-assembler-module|block-basic-assembler-module-ui
63129=tecta|unit-tecta-ui
63128=collaris|unit-collaris-ui
63127=elude|unit-elude-ui

Binary file not shown.

View File

@ -1715,7 +1715,7 @@ public class Blocks{
}};
buildTower = new BuildTurret("build-tower"){{
requirements(Category.effect, with(Items.silicon, 80, Items.carbide, 30, Items.oxide, 40, Items.thorium, 30));
requirements(Category.effect, with(Items.silicon, 150, Items.oxide, 40, Items.thorium, 60));
outlineColor = Pal.darkOutline;
consumePower(3f);
range = 160f;
@ -4239,7 +4239,7 @@ public class Blocks{
upgrades.addAll(
new UnitType[]{UnitTypes.stell, UnitTypes.locus},
new UnitType[]{UnitTypes.merui, UnitTypes.latum},
new UnitType[]{UnitTypes.merui, UnitTypes.cleroi},
new UnitType[]{UnitTypes.elude, UnitTypes.avert}
);
}};
@ -4257,7 +4257,7 @@ public class Blocks{
upgrades.addAll(
new UnitType[]{UnitTypes.locus, UnitTypes.precept},
new UnitType[]{UnitTypes.latum, UnitTypes.anthicus},
new UnitType[]{UnitTypes.cleroi, UnitTypes.anthicus},
new UnitType[]{UnitTypes.avert, UnitTypes.obviate}
);
}};
@ -4346,7 +4346,7 @@ public class Blocks{
regionSuffix = "-dark";
size = 5;
//TODO different reqs
plans.add(new AssemblerUnitPlan(UnitTypes.tecta, 60f * 60f, PayloadStack.list(UnitTypes.latum, 2, Blocks.tungstenWallLarge, 10)));
plans.add(new AssemblerUnitPlan(UnitTypes.tecta, 60f * 60f, PayloadStack.list(UnitTypes.cleroi, 2, Blocks.tungstenWallLarge, 10)));
consumePower(3f);
areaSize = 13;
researchCostMultiplier = 0.4f;
@ -4354,7 +4354,7 @@ public class Blocks{
consumeLiquid(Liquids.nitrogen, 24f / 60f);
}};
//TODO 5x5
//TODO requirements / only accept inputs
basicAssemblerModule = new UnitAssemblerModule("basic-assembler-module"){{
requirements(Category.units, with(Items.carbide, 400, Items.thorium, 500, Items.oxide, 300, Items.graphite, 500));
consumePower(4f);

View File

@ -294,7 +294,7 @@ public class ErekirTechTree{
});
node(basicReconstructor, Seq.with(new OnSector(three)), () -> {
node(UnitTypes.latum);
node(UnitTypes.cleroi);
node(UnitTypes.avert);
node(UnitTypes.locus);

View File

@ -38,7 +38,7 @@ public class UnitTypes{
//legs
public static @EntityDef({Unitc.class, Legsc.class}) UnitType corvus, atrax,
merui, latum, anthicus,
merui, cleroi, anthicus,
tecta, collaris; //TODO horrid name here
//legs, legacy
@ -3001,7 +3001,7 @@ public class UnitTypes{
}};
latum = new ErekirUnitType("latum"){{
cleroi = new ErekirUnitType("cleroi"){{
speed = 0.7f;
drag = 0.1f;
hitSize = 14f;
@ -3040,7 +3040,7 @@ public class UnitTypes{
}});
}
weapons.add(new Weapon("latum-weapon"){{
weapons.add(new Weapon("cleroi-weapon"){{
x = 14f / 4f;
y = 33f / 4f;
reload = 30f;
@ -3088,7 +3088,7 @@ public class UnitTypes{
}};
}});
weapons.add(new PointDefenseWeapon("latum-point-defense"){{
weapons.add(new PointDefenseWeapon("cleroi-point-defense"){{
x = 16f / 4f;
y = -20f / 4f;
reload = 9f;