Add visuals for legs equipment

This commit is contained in:
2022-05-22 23:55:10 +01:00
parent 1c038b79be
commit b71726d1ca
3 changed files with 27 additions and 3 deletions
+3
View File
@@ -75,6 +75,8 @@ equipPosition :: EquipPosition -> Creature -> SPic -> SPic
equipPosition epos cr sh = case epos of
OnLeftWrist -> translateToLeftHand cr sh
OnRightWrist -> translateToRightHand cr $ mirrorSPxz sh
OnLegs -> translateToLeftLeg cr sh <>
translateToRightLeg cr (mirrorSPxz sh)
_ -> sh
flatShield :: Item
@@ -199,6 +201,7 @@ powerLegs = defaultEquipment
{_eqUse = \_ _ -> id
,_eqSite = GoesOnLegs
}
, _itEquipPict = pictureOnEquip (noPic $ translateSH (V3 0 4 0) $ colorSH yellow $ upperPrismPoly 3 $ rectWH 2 2)
, _itEffect = NoItEffect
, _itID = Nothing
}