Add force field gun
This commit is contained in:
@@ -103,8 +103,10 @@ setWristShieldPos itm cr w = w
|
||||
invid = fromJust (_itInvPos itm)
|
||||
--wlline = (V2 10 0, V2 (-10) 100)
|
||||
handtrans = case cr ^? crInvEquipped . ix invid of
|
||||
Just OnLeftWrist -> translatePointToLeftHand
|
||||
Just OnLeftWrist -> \cr' -> translatePointToLeftHand cr' . g
|
||||
_ -> translatePointToRightHand
|
||||
g | twists cr = (+.+.+ V3 (-5) 10 0)
|
||||
| otherwise = id
|
||||
f = (+.+ _crPos cr) . stripZ . rotate3 (_crDir cr) . handtrans cr
|
||||
|
||||
spicForWrist :: SPic -> Creature -> Item -> SPic
|
||||
|
||||
Reference in New Issue
Block a user