Make weapon fail sound distinct

This commit is contained in:
2024-10-08 20:55:59 +01:00
parent d1ee0f997a
commit e745238b8f
8 changed files with 504364 additions and 335770 deletions
+1 -1
View File
@@ -103,7 +103,7 @@ llleft itm pci = _tryLeftLink (uncurry useBreakL $ itemToBreakLists (CItem itm W
llright :: Item -> PartiallyComposedItem -> Maybe LinkUpdate
llright itm pci = case pci ^. _1 . itType of
CRAFT TRANSFORMER -> Just (toLasgunUpdate itm)
_ -> _tryRightLink (uncurry useBreakL $ itemToBreakLists (CItem itm WeaponPlatformSF)) pci
_ -> _tryRightLink (uncurry useBreakL $ itemToBreakLists (CItem itm WeaponTargetingSF)) pci
toLasgunUpdate :: Item -> LinkUpdate
toLasgunUpdate itm = LUpdate (ILink FunctionChangeLink orientAttachment)