Implement modules changing shell payloads

This commit is contained in:
2024-12-24 21:13:58 +00:00
parent e82ef26b3e
commit 81fd2131e0
18 changed files with 82 additions and 18 deletions
+6
View File
@@ -1,4 +1,5 @@
module Dodge.Item.Scope (
shellModule,
zoomScope,
targetingScope,
remoteScreen,
@@ -38,6 +39,11 @@ bulletModule bm =
& itType .~ BULLETMOD bm
& itUse .~ UseBulletMod {_ubMod = bm}
shellModule :: Payload -> Item
shellModule p = defaultHeldItem
& itType .~ ATTACH (SHELLPAYLOAD p)
& itUse .~ UseNothing
--bulletTargetingModule :: BulletTrajectoryType -> Item
--bulletTargetingModule = bulletModule . BulletModTrajectory