recoil as part progress
This commit is contained in:
@@ -3787,7 +3787,7 @@ public class Blocks{
|
||||
progress = PartProgress.warmup;
|
||||
moveRot = -10f;
|
||||
mirror = true;
|
||||
moves.add(new PartMove(PartProgress.reload, 0f, -3f, -5f));
|
||||
moves.add(new PartMove(PartProgress.recoil, 0f, -3f, -5f));
|
||||
heatColor = Color.red;
|
||||
}});
|
||||
}};
|
||||
@@ -3937,7 +3937,7 @@ public class Blocks{
|
||||
drawer = new DrawTurret("reinforced-"){{
|
||||
parts.addAll(
|
||||
new RegionPart("-barrel"){{
|
||||
progress = PartProgress.reload.curve(Interp.pow2In);
|
||||
progress = PartProgress.recoil.curve(Interp.pow2In);
|
||||
moveY = -5f * 4f / 3f;
|
||||
heatColor = Color.valueOf("f03b0e");
|
||||
mirror = false;
|
||||
@@ -4011,8 +4011,8 @@ public class Blocks{
|
||||
parts.add(new RegionPart("-mid"){{
|
||||
under = true;
|
||||
moveY = -1.5f;
|
||||
progress = PartProgress.reload;
|
||||
heatProgress = PartProgress.reload.add(0.25f).min(PartProgress.warmup);
|
||||
progress = PartProgress.recoil;
|
||||
heatProgress = PartProgress.recoil.add(0.25f).min(PartProgress.warmup);
|
||||
heatColor = Color.sky.cpy().a(0.9f);
|
||||
}});
|
||||
parts.add(new RegionPart("-blade"){{
|
||||
|
||||
Reference in New Issue
Block a user