Allow for selection of equipment position
This commit is contained in:
@@ -25,6 +25,7 @@ ruseAmmoParamsRate rate ht usemods = RightUse
|
||||
, _useMods = usemods
|
||||
, _useHammer = ht
|
||||
, _useAim = defaultAimParams
|
||||
, _heldScroll = \_ _ -> id
|
||||
}
|
||||
defaultAimParams :: AimParams
|
||||
defaultAimParams = AimParams
|
||||
|
||||
@@ -128,7 +128,7 @@ sniperRifle = elephantGun
|
||||
& itType .~ SNIPERRIFLE
|
||||
& itParams . gunBarrels .~ SingleBarrel 0
|
||||
& itUse . useAim . aimZoom .~ defaultItZoom {_itZoomMax = 0.5, _itZoomMin = 0.5}
|
||||
& itScroll .~ zoomLongGun
|
||||
& itUse . heldScroll .~ zoomLongGun
|
||||
& itScope .~ ZoomScope (V2 0 0) 0 1 False
|
||||
& itTargeting .~ targetLaser
|
||||
machineGun :: Item
|
||||
|
||||
@@ -80,7 +80,6 @@ autoGun = defaultAutoGun
|
||||
-- , _itZoom = defaultItZoom
|
||||
, _itEquipPict = pictureWeaponOnAim
|
||||
, _itAttachment = ItCharMode $ Seq.fromList "MS"
|
||||
, _itScroll = scrollCharMode
|
||||
, _itParams = BulletShooter
|
||||
{ _muzVel = 1
|
||||
, _rifling = 0.9
|
||||
@@ -91,6 +90,7 @@ autoGun = defaultAutoGun
|
||||
, _randomOffset = 0
|
||||
}
|
||||
}
|
||||
& itUse . heldScroll .~ scrollCharMode
|
||||
autoGunPic :: Item -> SPic
|
||||
autoGunPic it = noPic $
|
||||
colorSH red (prismPoly
|
||||
@@ -295,7 +295,7 @@ longGun = defaultGun
|
||||
& useAim . aimRange .~ 1
|
||||
& useAim . aimStance .~ TwoHandTwist
|
||||
& useAim . aimZoom .~ defaultItZoom {_itZoomMax = 0.5, _itZoomMin = 0.5}
|
||||
, _itScroll = zoomLongGun
|
||||
& heldScroll .~ zoomLongGun
|
||||
, _itAttachment = NoItAttachment
|
||||
, _itScope = ZoomScope (V2 0 0) 0 1 False
|
||||
-- , _itEffect = itemLaserScopeEffect
|
||||
|
||||
Reference in New Issue
Block a user