First implementation of ammo distribution via machine
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
module Dodge.Item.MagAmmoType (
|
||||
magAmmoType,
|
||||
magMax,
|
||||
) where
|
||||
|
||||
import Control.Lens
|
||||
@@ -24,3 +25,6 @@ mAT = \case
|
||||
SHELLMAG -> LauncherAmmo
|
||||
BATTERY -> ElectricalAmmo
|
||||
CHEMFUELPOUCH -> GasAmmo
|
||||
|
||||
magMax :: Item -> Maybe Int
|
||||
magMax _ = Just 100
|
||||
|
||||
Reference in New Issue
Block a user