Work towards adding external ammo sources
This commit is contained in:
@@ -118,7 +118,7 @@ useMod hm = case hm of
|
||||
, ammoHammerCheck
|
||||
]
|
||||
AmmoCheckMod -> [ammoCheckI]
|
||||
AmmoUseCheckMod -> [ammoUseCheck]
|
||||
AmmoUseCheckMod -> [useAmmoAmount 1,useTimeCheck, ammoCheckI]
|
||||
AmmoHammerTimeUseOneMod ->
|
||||
[ useAmmoAmount 1
|
||||
, useTimeCheck
|
||||
@@ -465,13 +465,11 @@ fireRemoteShell it cr w =
|
||||
|
||||
caneStickSoundChoice :: Item -> SoundID
|
||||
caneStickSoundChoice it
|
||||
| _laLoaded (_heldConsumption (_itUse it)) < 2 = tap3S
|
||||
| (it ^?! itUse . heldConsumption . laSource . _InternalSource . iaLoaded) < 2 = tap3S
|
||||
| otherwise = shotgunS
|
||||
|
||||
bangStickSoundChoice :: Item -> SoundID
|
||||
bangStickSoundChoice it
|
||||
| _laLoaded (_heldConsumption (_itUse it)) < 2 = tap3S
|
||||
| otherwise = shotgunS
|
||||
bangStickSoundChoice = caneStickSoundChoice
|
||||
|
||||
coneRandItemUpdate :: State StdGen (Item -> Item)
|
||||
coneRandItemUpdate = do
|
||||
|
||||
Reference in New Issue
Block a user