Stell unit
This commit is contained in:
@@ -2603,7 +2603,7 @@ public class Blocks{
|
||||
//TODO should this be higher?
|
||||
buildCostMultiplier = 0.75f;
|
||||
|
||||
unitCapModifier = 2;
|
||||
unitCapModifier = 4;
|
||||
researchCostMultiplier = 0.07f;
|
||||
}};
|
||||
|
||||
@@ -2617,7 +2617,7 @@ public class Blocks{
|
||||
thrusterLength = 40/4f;
|
||||
armor = 10f;
|
||||
|
||||
unitCapModifier = 4;
|
||||
unitCapModifier = 6;
|
||||
researchCostMultipliers.put(Items.silicon, 0.4f);
|
||||
researchCostMultiplier = 0.14f;
|
||||
}};
|
||||
@@ -2633,7 +2633,7 @@ public class Blocks{
|
||||
thrusterLength = 48/4f;
|
||||
armor = 15f;
|
||||
|
||||
unitCapModifier = 6;
|
||||
unitCapModifier = 8;
|
||||
researchCostMultipliers.put(Items.silicon, 0.3f);
|
||||
researchCostMultiplier = 0.2f;
|
||||
}};
|
||||
@@ -3603,7 +3603,7 @@ public class Blocks{
|
||||
requirements(Category.units, with(Items.silicon, 230, Items.oxide, 50, Items.beryllium, 230));
|
||||
size = 3;
|
||||
configurable = false;
|
||||
plans.add(new UnitPlan(UnitTypes.dagger, 60f * 60f, with(Items.oxide, 15f, Items.silicon, 50f)));
|
||||
plans.add(new UnitPlan(UnitTypes.stell, 60f * 60f, with(Items.oxide, 15f, Items.silicon, 50f)));
|
||||
consumePower(2f);
|
||||
}};
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@ public class UnitTypes{
|
||||
public static @EntityDef({Unitc.class, BuildingTetherc.class, Payloadc.class}) UnitType manifold, assemblyDrone, effectDrone;
|
||||
|
||||
//tank
|
||||
public static @EntityDef({Unitc.class, Tankc.class}) UnitType vanquish, conquer;
|
||||
public static @EntityDef({Unitc.class, Tankc.class}) UnitType stell, vanquish, conquer;
|
||||
|
||||
//endregion
|
||||
|
||||
@@ -2422,6 +2422,46 @@ public class UnitTypes{
|
||||
//endregion
|
||||
//region erekir - tank
|
||||
|
||||
stell = new TankUnitType("stell"){{
|
||||
hitSize = 11f;
|
||||
treadPullOffset = 3;
|
||||
speed = 0.75f;
|
||||
rotateSpeed = 3.5f;
|
||||
health = 800;
|
||||
armor = 5f;
|
||||
areaDamage = 5f;
|
||||
treadRects = new Rect[]{new Rect(12, 7, 14, 51)};
|
||||
|
||||
weapons.add(new Weapon("stell-weapon"){{
|
||||
layerOffset = 0.0001f;
|
||||
reload = 50f;
|
||||
shootY = 4.5f;
|
||||
recoil = 1f;
|
||||
rotate = true;
|
||||
rotateSpeed = 1.7f;
|
||||
mirror = false;
|
||||
x = 0f;
|
||||
y = -0.75f;
|
||||
heatColor = Color.valueOf("f9350f");
|
||||
cooldownTime = 30f;
|
||||
|
||||
bullet = new BasicBulletType(4f, 40){{
|
||||
sprite = "missile-large";
|
||||
smokeEffect = Fx.shootBigSmoke;
|
||||
shootEffect = Fx.shootBigColor;
|
||||
width = 5f;
|
||||
height = 7f;
|
||||
lifetime = 40f;
|
||||
hitSize = 4f;
|
||||
hitColor = backColor = trailColor = Color.valueOf("feb380");
|
||||
frontColor = Color.white;
|
||||
trailWidth = 1.7f;
|
||||
trailLength = 5;
|
||||
despawnEffect = hitEffect = Fx.hitBulletColor;
|
||||
}};
|
||||
}});
|
||||
}};
|
||||
|
||||
vanquish = new TankUnitType("vanquish"){{
|
||||
hitSize = 28f;
|
||||
treadPullOffset = 4;
|
||||
|
||||
@@ -43,6 +43,7 @@ public class BaseTurret extends Block{
|
||||
if(coolant != null){
|
||||
coolant.update = false;
|
||||
coolant.booster = true;
|
||||
coolant.optional = true;
|
||||
}
|
||||
|
||||
placeOverlapRange = Math.max(placeOverlapRange, range + placeOverlapMargin);
|
||||
|
||||
Reference in New Issue
Block a user