Hover death sounds
This commit is contained in:
@@ -47,7 +47,7 @@ crDeathSounds :: Creature -> DeathType -> [SoundID]
|
|||||||
crDeathSounds cr dt = case cr ^. crType of
|
crDeathSounds cr dt = case cr ^. crType of
|
||||||
Avatar{} -> mempty
|
Avatar{} -> mempty
|
||||||
ChaseCrit{} -> defaultDeathSounds dt
|
ChaseCrit{} -> defaultDeathSounds dt
|
||||||
HoverCrit{} -> metalDeathSounds dt
|
HoverCrit{} -> hoverDeathSounds dt
|
||||||
SwarmCrit -> mempty
|
SwarmCrit -> mempty
|
||||||
AutoCrit -> mempty
|
AutoCrit -> mempty
|
||||||
BarrelCrit{} -> mempty
|
BarrelCrit{} -> mempty
|
||||||
@@ -58,14 +58,14 @@ defaultDeathSounds = \case
|
|||||||
CookDeath -> mempty
|
CookDeath -> mempty
|
||||||
PoisonDeath -> mempty
|
PoisonDeath -> mempty
|
||||||
PlainDeath -> mempty
|
PlainDeath -> mempty
|
||||||
GibsDeath -> destroyMatS Electronics
|
GibsDeath -> [gut1S, gut2S, gut3S, gut4S, gut5S, gut6S]
|
||||||
|
|
||||||
metalDeathSounds :: DeathType -> [SoundID]
|
hoverDeathSounds :: DeathType -> [SoundID]
|
||||||
metalDeathSounds = \case
|
hoverDeathSounds = \case
|
||||||
CookDeath -> mempty
|
CookDeath -> mempty
|
||||||
PoisonDeath -> mempty
|
PoisonDeath -> mempty
|
||||||
PlainDeath -> mempty
|
PlainDeath -> [clangS]
|
||||||
GibsDeath -> [gut1S, gut2S, gut3S, gut4S, gut5S, gut6S]
|
GibsDeath -> destroyMatS Electronics
|
||||||
|
|
||||||
crVocalResetTime :: Creature -> StdGen -> Int
|
crVocalResetTime :: Creature -> StdGen -> Int
|
||||||
crVocalResetTime _ = fst . randomR (50,100)
|
crVocalResetTime _ = fst . randomR (50,100)
|
||||||
|
|||||||
Reference in New Issue
Block a user