Commit on returning to work
This commit is contained in:
+8
-2
@@ -24,11 +24,17 @@ itemFromBase ibt = case ibt of
|
||||
AMMO at -> itemFromAmmoType at
|
||||
Consumable et -> itemFromConsumableType et
|
||||
CRAFT cr -> makeTypeCraft cr
|
||||
ATTACH at -> itemFromAttachType at
|
||||
|
||||
itemFromAttachType :: AttachType -> Item
|
||||
itemFromAttachType at = case at of
|
||||
ZOOMSCOPE -> zoomScope
|
||||
|
||||
itemFromAmmoType :: AmmoItemType -> Item
|
||||
itemFromAmmoType at = case at of
|
||||
TINMAGAZINE -> tinMagazine
|
||||
DRUMMAGAZINE -> drumMagazine
|
||||
TINMAGAZINE -> tinMag
|
||||
DRUMMAGAZINE -> drumMag
|
||||
BULLETBELT -> beltMag
|
||||
|
||||
itemFromConsumableType :: ConsumableItemType -> Item
|
||||
itemFromConsumableType ct = case ct of
|
||||
|
||||
Reference in New Issue
Block a user