Commit before perhaps rethinking item structure

This commit is contained in:
2024-12-29 10:40:21 +00:00
parent ef7aee82e5
commit 2037891cc9
11 changed files with 33 additions and 13 deletions
+1 -2
View File
@@ -8,8 +8,7 @@ import Data.Aeson.TH
import Dodge.Data.Bullet
data BulletMod
= -- BulletModTrajectory { _bmTrajectory :: BulletTrajectoryType}
BulletModPayload {_bmPayload :: BulletPayload}
= BulletModPayload {_bmPayload :: BulletPayload}
| BulletModEffect {_bmEffect :: BulletEffect}
deriving (Eq, Ord, Show, Read)
+1
View File
@@ -22,6 +22,7 @@ data ItemType
| AMMOMAG {_ibtAmmoMag :: AmmoMagType}
| TARGETING {_ibtTargeting :: TargetingType}
| BULLETMOD {_ibtBulletMod :: BulletMod}
| STICKYMOD
deriving (Eq, Ord, Show, Read)
data CraftType