Comment out ItemValue
This commit is contained in:
@@ -47,7 +47,7 @@ data Item = Item
|
|||||||
, _itCurseStatus :: CurseStatus
|
, _itCurseStatus :: CurseStatus
|
||||||
, _itTweaks :: ItemTweaks
|
, _itTweaks :: ItemTweaks
|
||||||
, _itScope :: Scope
|
, _itScope :: Scope
|
||||||
, _itValue :: ItemValue
|
--, _itValue :: ItemValue
|
||||||
, _itParams :: ItemParams
|
, _itParams :: ItemParams
|
||||||
}
|
}
|
||||||
deriving (Eq, Show, Read, Generic, Flat)
|
deriving (Eq, Show, Read, Generic, Flat)
|
||||||
|
|||||||
+11
-11
@@ -28,19 +28,19 @@ data ItemPortage
|
|||||||
| NoPortage
|
| NoPortage
|
||||||
deriving (Eq, Show, Read, Generic, Flat)
|
deriving (Eq, Show, Read, Generic, Flat)
|
||||||
|
|
||||||
data ItemValue = ItemValue
|
--data ItemValue = ItemValue
|
||||||
{ _ivInt :: Int
|
-- { _ivInt :: Int
|
||||||
, _ivType :: ItemValueType
|
-- , _ivType :: ItemValueType
|
||||||
}
|
-- }
|
||||||
deriving (Eq, Show, Read, Generic, Flat)
|
-- deriving (Eq, Show, Read, Generic, Flat)
|
||||||
|
--
|
||||||
data ItemValueType = MundaneItem | ArtefactItem
|
--data ItemValueType = MundaneItem | ArtefactItem
|
||||||
deriving (Eq, Show, Read, Generic, Flat)
|
-- deriving (Eq, Show, Read, Generic, Flat)
|
||||||
|
|
||||||
makeLenses ''ItemDimension
|
makeLenses ''ItemDimension
|
||||||
makeLenses ''ItemPortage
|
makeLenses ''ItemPortage
|
||||||
makeLenses ''ItemValue
|
--makeLenses ''ItemValue
|
||||||
deriveJSON defaultOptions ''ItemDimension
|
deriveJSON defaultOptions ''ItemDimension
|
||||||
deriveJSON defaultOptions ''ItemPortage
|
deriveJSON defaultOptions ''ItemPortage
|
||||||
deriveJSON defaultOptions ''ItemValue
|
--deriveJSON defaultOptions ''ItemValue
|
||||||
deriveJSON defaultOptions ''ItemValueType
|
--deriveJSON defaultOptions ''ItemValueType
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ defaultItem =
|
|||||||
, _itTweaks = NoTweaks
|
, _itTweaks = NoTweaks
|
||||||
, _itScope = NoScope
|
, _itScope = NoScope
|
||||||
, _itTargeting = NoTargeting
|
, _itTargeting = NoTargeting
|
||||||
, _itValue = ItemValue 0 MundaneItem
|
-- , _itValue = ItemValue 0 MundaneItem
|
||||||
}
|
}
|
||||||
|
|
||||||
defaultLeftItem :: Item
|
defaultLeftItem :: Item
|
||||||
|
|||||||
Reference in New Issue
Block a user