Move handle positions

This commit is contained in:
2023-05-28 15:02:23 +01:00
parent 7fc36ab028
commit 29017e6b06
15 changed files with 40 additions and 35 deletions
+3 -2
View File
@@ -11,8 +11,9 @@ import ShapePicture
-- the position of a weapon handle
aimingWeaponHandlePos :: Creature -> Item -> Point2
aimingWeaponHandlePos _ it = case it ^? itUse . heldAim . aimStance of
Just TwoHandTwist -> 0
Just OneHand -> V2 10 0
Just TwoHandUnder -> 0
Just TwoHandOver -> V2 (-7) 0
Just OneHand -> V2 10 (-2)
Just TwoHandFlat -> V2 10 0
Nothing -> 0