Implement introspection items
This commit is contained in:
@@ -22,8 +22,14 @@ data ItemType
|
||||
| BULLETMOD {_ibtBulletMod :: BulletMod}
|
||||
| STICKYMOD
|
||||
| ITEMSCANNER
|
||||
| INTROSCAN {_ibtIntroScanType :: IntroScanType}
|
||||
deriving (Eq, Ord, Show, Read)
|
||||
|
||||
data IntroScanType
|
||||
= HEALTH
|
||||
| MAXHEALTH
|
||||
deriving (Eq, Ord, Show, Read, Enum, Bounded)
|
||||
|
||||
data CraftType
|
||||
= PIPE
|
||||
| TUBE
|
||||
@@ -168,6 +174,7 @@ data Detector
|
||||
makeLenses ''ItemType
|
||||
makeLenses ''HeldItemType
|
||||
makeLenses ''AttachType
|
||||
deriveJSON defaultOptions ''IntroScanType
|
||||
deriveJSON defaultOptions ''CraftType
|
||||
deriveJSON defaultOptions ''ConsumableItemType
|
||||
deriveJSON defaultOptions ''AmmoMagType
|
||||
|
||||
Reference in New Issue
Block a user