Task/fix nightvision huds (#26726)
* StatusIcon: add field to set if icon should be rendered with shading * set/unset shader based on icon field * set new field to true for hud icons * re-shade health bars
This commit is contained in:
@@ -1,32 +1,35 @@
|
||||
- type: statusIcon
|
||||
id: HealthIconFine
|
||||
id: HealthIcon
|
||||
abstract: true
|
||||
priority: 1
|
||||
locationPreference: Right
|
||||
isShaded: true
|
||||
|
||||
- type: statusIcon
|
||||
parent: HealthIcon
|
||||
id: HealthIconFine
|
||||
icon:
|
||||
sprite: /Textures/Interface/Misc/health_icons.rsi
|
||||
state: Fine
|
||||
locationPreference: Right
|
||||
|
||||
- type: statusIcon
|
||||
id: HealthIconCritical
|
||||
priority: 1
|
||||
parent: HealthIcon
|
||||
icon:
|
||||
sprite: /Textures/Interface/Misc/health_icons.rsi
|
||||
state: Critical
|
||||
locationPreference: Right
|
||||
|
||||
- type: statusIcon
|
||||
id: HealthIconDead
|
||||
priority: 1
|
||||
parent: HealthIcon
|
||||
icon:
|
||||
sprite: /Textures/Interface/Misc/health_icons.rsi
|
||||
state: Dead
|
||||
locationPreference: Right
|
||||
|
||||
- type: statusIcon
|
||||
id: HealthIconRotting
|
||||
priority: 1
|
||||
parent: HealthIcon
|
||||
icon:
|
||||
sprite: /Textures/Interface/Misc/health_icons.rsi
|
||||
state: Rotting
|
||||
locationPreference: Right
|
||||
|
||||
|
||||
@@ -1,49 +1,57 @@
|
||||
#Hunger
|
||||
- type: statusIcon
|
||||
id: HungerIconOverfed
|
||||
id: HungerIcon
|
||||
abstract: true
|
||||
priority: 5
|
||||
locationPreference: Right
|
||||
isShaded: true
|
||||
|
||||
- type: statusIcon
|
||||
id: HungerIconOverfed
|
||||
parent: HungerIcon
|
||||
icon:
|
||||
sprite: /Textures/Interface/Misc/food_icons.rsi
|
||||
state: overfed
|
||||
locationPreference: Right
|
||||
|
||||
- type: statusIcon
|
||||
id: HungerIconPeckish
|
||||
priority: 5
|
||||
parent: HungerIcon
|
||||
icon:
|
||||
sprite: /Textures/Interface/Misc/food_icons.rsi
|
||||
state: peckish
|
||||
locationPreference: Right
|
||||
|
||||
- type: statusIcon
|
||||
id: HungerIconStarving
|
||||
priority: 5
|
||||
parent: HungerIcon
|
||||
icon:
|
||||
sprite: /Textures/Interface/Misc/food_icons.rsi
|
||||
state: starving
|
||||
locationPreference: Right
|
||||
|
||||
#Thirst
|
||||
- type: statusIcon
|
||||
id: ThirstIconOverhydrated
|
||||
id: ThirstIcon
|
||||
abstract: true
|
||||
priority: 5
|
||||
locationPreference: Left
|
||||
isShaded: true
|
||||
|
||||
- type: statusIcon
|
||||
id: ThirstIconOverhydrated
|
||||
parent: ThirstIcon
|
||||
icon:
|
||||
sprite: /Textures/Interface/Misc/food_icons.rsi
|
||||
state: overhydrated
|
||||
locationPreference: Left
|
||||
|
||||
- type: statusIcon
|
||||
id: ThirstIconThirsty
|
||||
priority: 5
|
||||
parent: ThirstIcon
|
||||
icon:
|
||||
sprite: /Textures/Interface/Misc/food_icons.rsi
|
||||
state: thirsty
|
||||
locationPreference: Left
|
||||
|
||||
- type: statusIcon
|
||||
id: ThirstIconParched
|
||||
priority: 5
|
||||
parent: ThirstIcon
|
||||
icon:
|
||||
sprite: /Textures/Interface/Misc/food_icons.rsi
|
||||
state: parched
|
||||
locationPreference: Left
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
abstract: true
|
||||
priority: 1
|
||||
locationPreference: Right
|
||||
isShaded: true
|
||||
|
||||
- type: statusIcon
|
||||
parent: JobIcon
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
priority: 2
|
||||
offset: 1
|
||||
locationPreference: Right
|
||||
isShaded: true
|
||||
|
||||
- type: statusIcon
|
||||
parent: SecurityIcon
|
||||
|
||||
Reference in New Issue
Block a user