Commit before changing ItemUse into single product type
This commit is contained in:
@@ -90,6 +90,9 @@ itemToFunction itm = case itm ^. itType of
|
||||
HELD{} -> case itm ^? itUse . useCondition of
|
||||
Just MustBeHeld -> HeldPlatformSF
|
||||
_ -> GadgetPlatformSF
|
||||
_ | Just amtype <- itm ^? itConsumables . magType
|
||||
, Just _ <- itm ^? itLocation . ilEquipSite . _Just
|
||||
-> AmmoMagSF amtype
|
||||
AMMOMAG{} -> maybe UncomposableIsolateSF AmmoMagSF $ itm ^? itConsumables . magType
|
||||
ATTACH REMOTESCREEN -> RemoteScreenSF
|
||||
ATTACH BULLETSYNTH -> AmmoModifierSF BulletAmmo
|
||||
|
||||
Reference in New Issue
Block a user