Add Read instances
This commit is contained in:
@@ -27,6 +27,7 @@ data ItEffect
|
||||
, _ieDrop :: ItDropEffect --Item -> Creature -> World -> World
|
||||
, _ieMID :: Maybe Int
|
||||
}
|
||||
deriving (Eq,Ord,Show,Read)
|
||||
|
||||
data ItInvEffect = NoInvEffect
|
||||
| RewindEffect
|
||||
@@ -35,6 +36,9 @@ data ItInvEffect = NoInvEffect
|
||||
| CreateHeldLight
|
||||
| CreateShieldWall
|
||||
| RemoveShieldWall
|
||||
deriving (Eq,Ord,Show,Read)
|
||||
data ItFloorEffect = NoFloorEffect
|
||||
deriving (Eq,Ord,Show,Read)
|
||||
data ItDropEffect = NoDropEffect
|
||||
deriving (Eq,Ord,Show,Read)
|
||||
makeLenses ''ItEffect
|
||||
|
||||
Reference in New Issue
Block a user