Improve hunger and thirst warning icons (#18390)

Changes the icons for the three stages of hunger and thrist to be more visually distinct from their other stages and not rely on color coding. This makes it more colorblind-friendly.

Create a flashing animated sprite for Starvation and Parched states, making them much more noticable with the intention to draw attention towards managing these states.

---------

Co-authored-by: onoira <onoira@psiko.zone>
This commit is contained in:
Keiku
2023-07-29 21:19:09 +02:00
committed by GitHub
parent ce16a5432d
commit 586f44b92a
15 changed files with 34 additions and 4 deletions

View File

@@ -203,7 +203,9 @@
- type: alert - type: alert
id: Peckish id: Peckish
category: Hunger category: Hunger
icons: [ /Textures/Interface/Alerts/Hunger/Peckish.png ] icons:
- sprite: /Textures/Interface/Alerts/hunger.rsi
state: peckish
name: alerts-hunger-name name: alerts-hunger-name
description: alerts-hunger-desc description: alerts-hunger-desc
@@ -233,21 +235,27 @@
- type: alert - type: alert
id: Starving id: Starving
category: Hunger category: Hunger
icons: [ /Textures/Interface/Alerts/Hunger/Starving.png ] icons:
- sprite: /Textures/Interface/Alerts/hunger.rsi
state: starving
name: alerts-starving-name name: alerts-starving-name
description: alerts-starving-desc description: alerts-starving-desc
- type: alert - type: alert
id: Thirsty id: Thirsty
category: Thirst category: Thirst
icons: [ /Textures/Interface/Alerts/Thirst/Thirsty.png ] icons:
- sprite: /Textures/Interface/Alerts/thirst.rsi
state: thirsty
name: alerts-thirsty-name name: alerts-thirsty-name
description: alerts-thirsty-desc description: alerts-thirsty-desc
- type: alert - type: alert
id: Parched id: Parched
category: Thirst category: Thirst
icons: [ /Textures/Interface/Alerts/Thirst/Parched.png ] icons:
- sprite: /Textures/Interface/Alerts/thirst.rsi
state: parched
name: alerts-parched-name name: alerts-parched-name
description: alerts-parched-desc description: alerts-parched-desc

Binary file not shown.

Before

Width:  |  Height:  |  Size: 271 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 271 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 271 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

View File

@@ -0,0 +1,11 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "GitHub @Keikiru, burgers.rsi (bigbite.png) modified by Swept and potato1234x originally from https://github.com/tgstation/tgstation/commit/40d75cc340c63582fb66ce15bf75a36115f6bdaa, bread.rsi (plate.png, garlic-slice.png) modified by potato1234x originally from https://github.com/tgstation/tgstation/commit/0631fe5bde73a68b4c12bdfa633c30b2cee442d5",
"size": { "x": 32, "y": 32 },
"states": [
{ "name": "peckish", "directions": 1, "delays": [[1.0]] },
{ "name": "starving", "directions": 1, "delays": [[0.5, 0.5]] },
{ "name": "overfed", "directions": 1, "delays": [[1.0]] }
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 380 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@@ -0,0 +1,11 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "GitHub @Keikiru, iceglass.rsi originally from https://github.com/discordia-space/CEV-Eris/raw/f7aa28fd4b4d0386c3393d829681ebca526f1d2d/icons/obj/drinks.dmi, parched.png big waterbottle derived from https://github.com/discordia-space/CEV-Eris/raw/9c980cb9bc84d07b1c210c5447798af525185f80/icons/obj/food.dmi, toilet.rsi originally from https://github.com/discordia-space/CEV-Eris/commit/2cb66bae0e253e13d37f8939e0983bb94fee243e",
"size": { "x": 32, "y": 32 },
"states": [
{ "name": "thirsty", "directions": 1, "delays": [[1.0]] },
{ "name": "parched", "directions": 1, "delays": [[0.5, 0.5]] },
{ "name": "overhydrated", "directions": 1, "delays": [[1.0]] }
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 549 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 463 B