]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Task/food hud (#19312)
authorPrPleGoo <PrPleGoo@users.noreply.github.com>
Sat, 23 Sep 2023 13:14:06 +0000 (15:14 +0200)
committerGitHub <noreply@github.com>
Sat, 23 Sep 2023 13:14:06 +0000 (16:14 +0300)
commit1a13884961297c3679f73597dc4691d48198d827
tree9a251f335b4ac76c36d66ddd5613b479ee8975c7
parentdae18c981f672bc758f3ca5e674bd2f971f22991
Task/food hud (#19312)

* security HUD now shows a job icon on entities with a body

* thirst goggles

* set starting hud gear

* fix build

* remove from starting gear

* remove

* replace

* fix thirst and hunger icons

* update icons

* space

* space

* ]

* ]

* fix build

* fix comments

* fix

* spacing

* field

* move more namespaces

* use AutoGenerateComponentState

* comments

* fix build

* not all fields

* comments

* unpaused

* fix Dirty warning

---------

Co-authored-by: Slava0135 <super.novalskiy_0135@inbox.ru>
19 files changed:
Content.Client/Overlays/ShowHungerIconsSystem.cs [new file with mode: 0644]
Content.Client/Overlays/ShowThirstIconsSystem.cs [new file with mode: 0644]
Content.Server/Chemistry/ReagentEffects/SatiateThirst.cs
Content.Server/Medical/VomitSystem.cs
Content.Server/Nutrition/Components/ThirstComponent.cs [deleted file]
Content.Shared/Inventory/InventorySystem.Relay.cs
Content.Shared/Nutrition/Components/HungerComponent.cs
Content.Shared/Nutrition/Components/ThirstComponent.cs [new file with mode: 0644]
Content.Shared/Nutrition/EntitySystems/HungerSystem.cs
Content.Shared/Nutrition/EntitySystems/ThirstSystem.cs [moved from Content.Server/Nutrition/EntitySystems/ThirstSystem.cs with 84% similarity]
Content.Shared/Overlays/ShowHungerIconsComponent.cs [new file with mode: 0644]
Content.Shared/Overlays/ShowSecurityIconsComponent.cs
Content.Shared/Overlays/ShowThirstIconsComponent.cs [new file with mode: 0644]
Resources/Prototypes/Entities/Clothing/Eyes/hud.yml
Resources/Prototypes/StatusEffects/hunger.yml [new file with mode: 0644]
Resources/Textures/Interface/Misc/food_icons.rsi/parched.png
Resources/Textures/Interface/Misc/food_icons.rsi/peckish.png
Resources/Textures/Interface/Misc/food_icons.rsi/starving.png
Resources/Textures/Interface/Misc/food_icons.rsi/thirsty.png