WIP/unfinished turret sprites
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 1.2 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 629 B |
Binary file not shown.
|
After Width: | Height: | Size: 639 B |
Binary file not shown.
|
After Width: | Height: | Size: 2.2 KiB |
@@ -566,3 +566,4 @@
|
|||||||
63118=slag-heater|block-slag-heater-ui
|
63118=slag-heater|block-slag-heater-ui
|
||||||
63117=afflict|block-afflict-ui
|
63117=afflict|block-afflict-ui
|
||||||
63116=shielded-wall|block-shielded-wall-ui
|
63116=shielded-wall|block-shielded-wall-ui
|
||||||
|
63115=fracture|block-fracture-ui
|
||||||
|
|||||||
Binary file not shown.
@@ -135,7 +135,7 @@ public class Blocks{
|
|||||||
duo, scatter, scorch, hail, arc, wave, lancer, swarmer, salvo, fuse, ripple, cyclone, foreshadow, spectre, meltdown, segment, parallax, tsunami,
|
duo, scatter, scorch, hail, arc, wave, lancer, swarmer, salvo, fuse, ripple, cyclone, foreshadow, spectre, meltdown, segment, parallax, tsunami,
|
||||||
|
|
||||||
//turrets - erekir
|
//turrets - erekir
|
||||||
breach, diffuse, sublimate, titan, disperse, afflict,
|
breach, diffuse, sublimate, titan, disperse, afflict, fracture,
|
||||||
|
|
||||||
//units
|
//units
|
||||||
groundFactory, airFactory, navalFactory,
|
groundFactory, airFactory, navalFactory,
|
||||||
@@ -1277,7 +1277,7 @@ public class Blocks{
|
|||||||
drawer = new DrawMulti(new DrawDefault(), new DrawHeatOutput());
|
drawer = new DrawMulti(new DrawDefault(), new DrawHeatOutput());
|
||||||
size = 2;
|
size = 2;
|
||||||
heatOutput = 15f;
|
heatOutput = 15f;
|
||||||
craftTime = 60f * 12f;
|
craftTime = 60f * 10f;
|
||||||
consumeItem(Items.phaseFabric);
|
consumeItem(Items.phaseFabric);
|
||||||
}};
|
}};
|
||||||
|
|
||||||
@@ -3842,9 +3842,7 @@ public class Blocks{
|
|||||||
limitRange();
|
limitRange();
|
||||||
}};
|
}};
|
||||||
|
|
||||||
//TODO bad name
|
|
||||||
sublimate = new ContinuousLiquidTurret("sublimate"){{
|
sublimate = new ContinuousLiquidTurret("sublimate"){{
|
||||||
//TODO requirements
|
|
||||||
requirements(Category.turret, with(Items.tungsten, 150, Items.silicon, 200, Items.oxide, 40, Items.beryllium, 400));
|
requirements(Category.turret, with(Items.tungsten, 150, Items.silicon, 200, Items.oxide, 40, Items.beryllium, 400));
|
||||||
|
|
||||||
drawer = new DrawTurret("reinforced-"){{
|
drawer = new DrawTurret("reinforced-"){{
|
||||||
@@ -4083,7 +4081,7 @@ public class Blocks{
|
|||||||
limitRange(-5f);
|
limitRange(-5f);
|
||||||
}};
|
}};
|
||||||
|
|
||||||
//TODO very WIP
|
//TODO WIP
|
||||||
afflict = new PowerTurret("afflict"){{
|
afflict = new PowerTurret("afflict"){{
|
||||||
requirements(Category.turret, with(Items.surgeAlloy, 100, Items.silicon, 200, Items.graphite, 250, Items.oxide, 40));
|
requirements(Category.turret, with(Items.surgeAlloy, 100, Items.silicon, 200, Items.graphite, 250, Items.oxide, 40));
|
||||||
|
|
||||||
@@ -4199,7 +4197,85 @@ public class Blocks{
|
|||||||
limitRange(9f);
|
limitRange(9f);
|
||||||
}};
|
}};
|
||||||
|
|
||||||
//TODO 5 more turrets.
|
fracture = new ItemTurret("fracture"){{
|
||||||
|
//requirements(Category.turret, with(Items.beryllium, 150, Items.silicon, 200, Items.graphite, 200, Items.carbide, 50));
|
||||||
|
|
||||||
|
ammo(
|
||||||
|
Items.tungsten, new BasicBulletType(8f, 41){{
|
||||||
|
knockback = 4f;
|
||||||
|
width = 25f;
|
||||||
|
hitSize = 7f;
|
||||||
|
height = 20f;
|
||||||
|
shootEffect = Fx.shootBigColor;
|
||||||
|
smokeEffect = Fx.shootSmokeSquareSparse;
|
||||||
|
ammoMultiplier = 1;
|
||||||
|
hitColor = backColor = trailColor = Color.valueOf("ea8878");
|
||||||
|
frontColor = Color.valueOf("feb380");
|
||||||
|
trailWidth = 6f;
|
||||||
|
trailLength = 3;
|
||||||
|
hitEffect = despawnEffect = Fx.hitSquaresColor;
|
||||||
|
buildingDamageMultiplier = 0.2f;
|
||||||
|
}}
|
||||||
|
);
|
||||||
|
|
||||||
|
shoot = new ShootSpread(15, 2f);
|
||||||
|
|
||||||
|
coolantMultiplier = 6f;
|
||||||
|
|
||||||
|
inaccuracy = 0.2f;
|
||||||
|
velocityRnd = 0.17f;
|
||||||
|
shake = 1f;
|
||||||
|
ammoPerShot = 3;
|
||||||
|
maxAmmo = 30;
|
||||||
|
consumeAmmoOnce = true;
|
||||||
|
|
||||||
|
drawer = new DrawTurret("reinforced-"){{
|
||||||
|
parts.add(new RegionPart("-blade"){{
|
||||||
|
progress = PartProgress.warmup;
|
||||||
|
heatProgress = PartProgress.warmup.blend(PartProgress.recoil, 0.2f);
|
||||||
|
heatColor = Color.valueOf("ff6214");
|
||||||
|
mirror = true;
|
||||||
|
under = true;
|
||||||
|
moveX = 2f;
|
||||||
|
//moveY = -1f;
|
||||||
|
moveRot = -7f;
|
||||||
|
moves.add(new PartMove(PartProgress.recoil, 0f, -2f, 3f));
|
||||||
|
}},
|
||||||
|
new RegionPart("-inner"){{
|
||||||
|
progress = PartProgress.recoil;
|
||||||
|
heatColor = Color.valueOf("ff6214");
|
||||||
|
mirror = true;
|
||||||
|
under = false;
|
||||||
|
moveX = 2f;
|
||||||
|
moveY = -8f;
|
||||||
|
}},
|
||||||
|
new RegionPart("-mid"){{
|
||||||
|
heatProgress = PartProgress.warmup.blend(PartProgress.recoil, 0.2f);
|
||||||
|
heatColor = Color.valueOf("ff6214");
|
||||||
|
moveY = -8f;
|
||||||
|
progress = PartProgress.recoil;
|
||||||
|
//drawRegion = false;
|
||||||
|
mirror = false;
|
||||||
|
under = true;
|
||||||
|
}});
|
||||||
|
}};
|
||||||
|
|
||||||
|
shootY = 5f;
|
||||||
|
outlineColor = Pal.darkOutline;
|
||||||
|
size = 4;
|
||||||
|
envEnabled |= Env.space;
|
||||||
|
reload = 30f;
|
||||||
|
recoil = 2f;
|
||||||
|
range = 125;
|
||||||
|
shootCone = 40f;
|
||||||
|
scaledHealth = 210;
|
||||||
|
rotateSpeed = 3f;
|
||||||
|
|
||||||
|
coolant = consume(new ConsumeLiquid(Liquids.water, 15f / 60f));
|
||||||
|
limitRange();
|
||||||
|
}};
|
||||||
|
|
||||||
|
//TODO 3 more turrets.
|
||||||
|
|
||||||
//endregion
|
//endregion
|
||||||
//region units
|
//region units
|
||||||
|
|||||||
Reference in New Issue
Block a user