Work on mapper item, simpler generation of items from console
This commit is contained in:
@@ -33,6 +33,7 @@ data ComposeLinkType
|
||||
| UnderBarrelSlotLink
|
||||
| UnderBarrelPlatformLink
|
||||
| GrenadeHitEffectLink
|
||||
| SFLink {_sfLink :: ItemStructuralFunction}
|
||||
deriving (Eq, Ord, Show, Read)
|
||||
|
||||
data ItemStructuralFunction
|
||||
@@ -62,6 +63,7 @@ data ItemStructuralFunction
|
||||
| ProjectileStabiliserSF
|
||||
| GrenadeHitEffectSF
|
||||
| ToggleSF
|
||||
| MapperSF
|
||||
deriving (Eq, Ord, Show, Read)
|
||||
|
||||
type ComposedItem = (Item, ItemStructuralFunction, LinkTest)
|
||||
@@ -87,5 +89,6 @@ data LinkUpdate = LUpdate
|
||||
makeLenses ''ItemLink
|
||||
makeLenses ''LinkTest
|
||||
makeLenses ''LinkUpdate
|
||||
makeLenses ''ComposeLinkType
|
||||
deriveJSON defaultOptions ''ItemStructuralFunction
|
||||
deriveJSON defaultOptions ''ComposeLinkType
|
||||
|
||||
Reference in New Issue
Block a user