Fixed continuous weapon sounds / Improved naval support audio

This commit is contained in:
Anuken
2021-07-14 18:46:51 -04:00
parent dd5389c738
commit a559c3581e
4 changed files with 14 additions and 1 deletions

View File

@@ -1780,6 +1780,7 @@ public class UnitTypes implements ContentList{
shots = 3;
shotDelay = 7f;
x = y = shootX = shootY = 0f;
shootSound = Sounds.mineDeploy;
bullet = new BasicBulletType(){{
sprite = "mine-bullet";
@@ -2150,6 +2151,8 @@ public class UnitTypes implements ContentList{
shootY = 7f;
recoil = 4f;
cooldownTime = reload - 10f;
//TODO better sound
shootSound = Sounds.laser;
bullet = new EmpBulletType(){{
float rad = 100f;
@@ -2182,6 +2185,7 @@ public class UnitTypes implements ContentList{
hitShake = 4f;
trailRotation = true;
status = StatusEffects.electrified;
hitSound = Sounds.plasmaboom;
trailEffect = new Effect(16f, e -> {
color(Pal.heal);