Improve detector equipment, various cleanup
This commit is contained in:
@@ -61,12 +61,14 @@ basicCrShape
|
||||
:: Color -- ^ Creature color
|
||||
-> Creature
|
||||
-> Shape
|
||||
basicCrShape col cr = tr . scaleSH (V3 crsize crsize crsize) $ mconcat
|
||||
[ --rotdir . _spShape $ drawEquipment cr
|
||||
rotdir . dm . translateSHz 20 $ scalp cr
|
||||
, rotdir . dm $ upperBody col cr
|
||||
, dm . rotmdir $ feet cr
|
||||
]
|
||||
basicCrShape col cr
|
||||
| _crCamouflage cr == Invisible = mempty
|
||||
| otherwise = tr . scaleSH (V3 crsize crsize crsize) $ mconcat
|
||||
[ --rotdir . _spShape $ drawEquipment cr
|
||||
rotdir . dm . translateSHz 20 $ scalp cr
|
||||
, rotdir . dm $ upperBody col cr
|
||||
, dm . rotmdir $ feet cr
|
||||
]
|
||||
where
|
||||
crsize = 0.1 * _crRad cr
|
||||
dm = damageModSH cr
|
||||
|
||||
Reference in New Issue
Block a user