More turret cleanup

This commit is contained in:
Anuken
2021-12-27 16:41:03 -05:00
parent 8021f0082a
commit 4e1dec2399
7 changed files with 17 additions and 18 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 772 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

+1 -2
View File
@@ -406,7 +406,6 @@
63302=dormant-cyst|item-dormant-cyst-ui 63302=dormant-cyst|item-dormant-cyst-ui
63301=neoplasm|liquid-neoplasm-ui 63301=neoplasm|liquid-neoplasm-ui
63300=scuttler|unit-scuttler-ui 63300=scuttler|unit-scuttler-ui
63299=breach|block-breach-ui
63297=plasma-bore|block-plasma-bore-ui 63297=plasma-bore|block-plasma-bore-ui
63296=steam-vent|block-steam-vent-ui 63296=steam-vent|block-steam-vent-ui
63295=pressure-turbine|block-pressure-turbine-ui 63295=pressure-turbine|block-pressure-turbine-ui
@@ -474,7 +473,6 @@
63232=wall-ore-tungsten|block-wall-ore-tungsten-ui 63232=wall-ore-tungsten|block-wall-ore-tungsten-ui
63231=regen-projector|block-regen-projector-ui 63231=regen-projector|block-regen-projector-ui
63230=titan|block-titan-ui 63230=titan|block-titan-ui
63229=horde|block-horde-ui
63228=small-deconstructor|block-small-deconstructor-ui 63228=small-deconstructor|block-small-deconstructor-ui
63227=barrier-projector|block-barrier-projector-ui 63227=barrier-projector|block-barrier-projector-ui
63226=eletric-heater|block-eletric-heater-ui 63226=eletric-heater|block-eletric-heater-ui
@@ -492,3 +490,4 @@
63214=beryllium-wall|block-beryllium-wall-ui 63214=beryllium-wall|block-beryllium-wall-ui
63213=beryllium-wall-large|block-beryllium-wall-large-ui 63213=beryllium-wall-large|block-beryllium-wall-large-ui
63212=quell|unit-quell-ui 63212=quell|unit-quell-ui
63211=breach|block-breach-ui
Binary file not shown.
+4 -3
View File
@@ -121,7 +121,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, fracture, horde, sublimate, titan, breach, sublimate, titan,
//units //units
commandCenter, commandCenter,
@@ -2897,7 +2897,7 @@ public class Blocks{
Items.beryllium, new BasicBulletType(7f, 90){{ Items.beryllium, new BasicBulletType(7f, 90){{
width = 12f; width = 12f;
height = 20f; height = 20f;
shootEffect = Fx.colorSpark; shootEffect = Fx.colorSparkBig;
smokeEffect = Fx.shootBigSmoke; smokeEffect = Fx.shootBigSmoke;
ammoMultiplier = 1; ammoMultiplier = 1;
pierce = true; pierce = true;
@@ -2911,7 +2911,7 @@ public class Blocks{
Items.tungsten, new BasicBulletType(7.5f, 160){{ Items.tungsten, new BasicBulletType(7.5f, 160){{
width = 13f; width = 13f;
height = 19f; height = 19f;
shootEffect = Fx.colorSpark; shootEffect = Fx.colorSparkBig;
smokeEffect = Fx.shootBigSmoke; smokeEffect = Fx.shootBigSmoke;
ammoMultiplier = 1; ammoMultiplier = 1;
reloadMultiplier = 1f; reloadMultiplier = 1f;
@@ -2935,6 +2935,7 @@ public class Blocks{
size = 3; size = 3;
envEnabled |= Env.space; envEnabled |= Env.space;
reloadTime = 40f; reloadTime = 40f;
recoilAmount = 2f;
restitution = 0.03f; restitution = 0.03f;
range = 190; range = 190;
shootCone = 3f; shootCone = 3f;
@@ -168,10 +168,10 @@ public class ErekirTechTree{
}); });
}); });
node(fracture, () -> {
//TODO big tech jump here; incomplete turret //TODO implement
node(sublimate, () -> { node(sublimate, () -> {
node(titan, () -> {
}); });
}); });
+9 -10
View File
@@ -1510,6 +1510,15 @@ public class Fx{
}); });
}), }),
colorSparkBig = new Effect(25f, e -> {
color(Color.white, e.color, e.fin());
stroke(e.fout() * 1.3f + 0.5f);
randLenVectors(e.id, 8, 37f * e.fin(), e.rotation, 10f, (x, y) -> {
lineAngle(e.x + x, e.y + y, Mathf.angle(x, y), e.fslope() * 6f + 0.5f);
});
}),
randLifeSpark = new Effect(24f, e -> { randLifeSpark = new Effect(24f, e -> {
color(Color.white, e.color, e.fin()); color(Color.white, e.color, e.fin());
stroke(e.fout() * 1.5f + 0.5f); stroke(e.fout() * 1.5f + 0.5f);
@@ -1524,16 +1533,6 @@ public class Fx{
} }
}), }),
//TODO just make it properly colored...
tungstenSpark = new Effect(23f, e -> {
color(Color.white, Pal.tungstenShot, e.fin());
stroke(e.fout() * 1.1f + 0.5f);
randLenVectors(e.id, 5, 28f * e.fin(), e.rotation, 10f, (x, y) -> {
lineAngle(e.x + x, e.y + y, Mathf.angle(x, y), e.fslope() * 5f + 0.5f);
});
}),
shootPayloadDriver = new Effect(30f, e -> { shootPayloadDriver = new Effect(30f, e -> {
color(Pal.accent); color(Pal.accent);
Lines.stroke(0.5f + 0.5f*e.fout()); Lines.stroke(0.5f + 0.5f*e.fout());