WIP tank unit type
This commit is contained in:
@@ -15,6 +15,7 @@ import mindustry.gen.*;
|
||||
import mindustry.graphics.*;
|
||||
import mindustry.type.*;
|
||||
import mindustry.type.ammo.*;
|
||||
import mindustry.type.unit.*;
|
||||
import mindustry.type.weapons.*;
|
||||
import mindustry.world.meta.*;
|
||||
|
||||
@@ -70,6 +71,10 @@ public class UnitTypes{
|
||||
//transport
|
||||
public static @EntityDef({Unitc.class, BuildingTetherc.class}) UnitType manifold;
|
||||
|
||||
//tank
|
||||
//TODO tank comp
|
||||
public static @EntityDef({Unitc.class, Tankc.class}) UnitType vanquish;
|
||||
|
||||
//endregion
|
||||
|
||||
//missile definition, needed for codegen
|
||||
@@ -1372,8 +1377,8 @@ public class UnitTypes{
|
||||
lowAltitude = false;
|
||||
flying = true;
|
||||
circleTarget = true;
|
||||
engineOffset = 12f;
|
||||
engineSize = 6f;
|
||||
engineOffset = 13f;
|
||||
engineSize = 7f;
|
||||
rotateShooting = false;
|
||||
hitSize = 36f;
|
||||
payloadCapacity = (3 * 3) * tilePayload;
|
||||
@@ -2419,6 +2424,13 @@ public class UnitTypes{
|
||||
}});
|
||||
}};
|
||||
|
||||
//endregion
|
||||
//region erekir - tank
|
||||
|
||||
vanquish = new TankUnitType("vanquish"){{
|
||||
hitSize = 28f;
|
||||
}};
|
||||
|
||||
//endregion
|
||||
//region erekir - core
|
||||
|
||||
|
||||
Reference in New Issue
Block a user