Add crab crit, rethink Action datatype slightly
This commit is contained in:
@@ -26,6 +26,7 @@ crWarningSounds cr = case cr ^. crType of
|
||||
, seagullCry1S
|
||||
, seagullCry2S
|
||||
]
|
||||
CrabCrit {} -> mempty
|
||||
HoverCrit {} -> mempty
|
||||
SwarmCrit -> mempty
|
||||
AutoCrit -> mempty
|
||||
@@ -36,6 +37,7 @@ crDeathSounds :: Creature -> DeathType -> [SoundID]
|
||||
crDeathSounds cr dt = case cr ^. crType of
|
||||
Avatar{} -> mempty
|
||||
ChaseCrit{} -> defaultDeathSounds dt
|
||||
CrabCrit{} -> defaultDeathSounds dt
|
||||
HoverCrit{} -> hoverDeathSounds dt
|
||||
SwarmCrit -> mempty
|
||||
AutoCrit -> mempty
|
||||
|
||||
Reference in New Issue
Block a user