Hover unit thingy done
This commit is contained in:
@@ -4311,7 +4311,7 @@ public class Blocks{
|
||||
|
||||
size = 2;
|
||||
range = 100f;
|
||||
healAmount = 2f;
|
||||
healAmount = 1.5f;
|
||||
|
||||
consumePower(1f);
|
||||
consumeLiquid(Liquids.ozone, 3f / 60f);
|
||||
|
||||
@@ -277,6 +277,10 @@ public class ErekirTechTree{
|
||||
|
||||
});
|
||||
|
||||
node(unitRepairTower, Seq.with(new OnSector(two)), () -> {
|
||||
|
||||
});
|
||||
|
||||
node(basicReconstructor, Seq.with(new OnSector(three)), () -> {
|
||||
node(UnitTypes.latum);
|
||||
node(UnitTypes.avert);
|
||||
|
||||
@@ -3398,8 +3398,6 @@ public class UnitTypes{
|
||||
engineSize = 2f;
|
||||
itemCapacity = 0;
|
||||
useEngineElevation = false;
|
||||
trailLength = 5;
|
||||
trailScl = 1.1f;
|
||||
|
||||
for(float f : new float[]{-3f, 3f}){
|
||||
parts.add(new HoverPart(){{
|
||||
@@ -3413,6 +3411,29 @@ public class UnitTypes{
|
||||
color = Color.valueOf("bf92f9");
|
||||
}});
|
||||
}
|
||||
|
||||
weapons.add(new Weapon("osc-weapon"){{
|
||||
y = 3f;
|
||||
x = 3f;
|
||||
mirror = true;
|
||||
layerOffset = -0.0001f;
|
||||
reload = 40f;
|
||||
|
||||
bullet = new BasicBulletType(5f, 20){{
|
||||
pierceCap = 2;
|
||||
pierceBuilding = false;
|
||||
width = 7f;
|
||||
height = 12f;
|
||||
lifetime = 25f;
|
||||
shootEffect = Fx.sparkShoot;
|
||||
smokeEffect = Fx.shootBigSmoke;
|
||||
hitColor = backColor = trailColor = Pal.suppress;
|
||||
frontColor = Color.white;
|
||||
trailWidth = 1.5f;
|
||||
trailLength = 5;
|
||||
hitEffect = despawnEffect = Fx.hitBulletColor;
|
||||
}};
|
||||
}});
|
||||
}};
|
||||
|
||||
avert = new ErekirUnitType("avert"){{
|
||||
|
||||
Reference in New Issue
Block a user