Make display colour for introscan white
This commit is contained in:
@@ -131,6 +131,7 @@ getAmmoLinks itm =
|
||||
|
||||
itemToFunction :: Item -> ItemStructuralFunction
|
||||
itemToFunction itm = case itm ^. itType of
|
||||
INTROSCAN {} -> IntroScanSF
|
||||
HELD LASER -> WeaponTargetingSF
|
||||
HELD{} -> case itm ^? itUseCondition of
|
||||
Just UseableWhenAimed -> HeldPlatformSF
|
||||
|
||||
@@ -8,6 +8,7 @@ import Dodge.Data.ComposedItem
|
||||
|
||||
itemInvColor :: ComposedItem -> Color
|
||||
itemInvColor ci = case ci ^. _2 of
|
||||
IntroScanSF -> white
|
||||
UnloadedWeaponSF -> mixColorsLinear 0.5 0.5 red white
|
||||
HeldPlatformSF -> white
|
||||
MakeAutoSF -> white
|
||||
|
||||
Reference in New Issue
Block a user