Tweak gibs

This commit is contained in:
2022-06-04 11:19:14 +01:00
parent 4f4c039fec
commit 2b9ad58f6f
16 changed files with 79 additions and 33 deletions
+3 -5
View File
@@ -29,12 +29,11 @@ import ShapePicture
import Control.Lens
import qualified Data.IntMap.Strict as IM
import qualified Data.Vector as V
basicCrPict :: Color -- ^ Creature color
-> Creature
basicCrPict :: Creature
-> Configuration
-> World
-> SPic
basicCrPict col cr cfig w =
basicCrPict cr cfig w =
drawCrEquipment cr
<>
(basicCrShape col cr
@@ -45,6 +44,7 @@ basicCrPict col cr cfig w =
]
)
where
col = _crSkinColor cr
targetingPic = IM.elems $ IM.mapMaybeWithKey f $ _crInv cr
f invid it = fmap (\g -> g invid it cr cfig w) (it ^? itTargeting . tgDraw)
@@ -240,8 +240,6 @@ shoulderSH = translateSHz 20
--waistSH :: Shape -> Shape
--waistSH = translateSHz 10
light4 :: Color -> Color
light4 = light . light . light . light
--drawAwakeLevel
-- :: Creature