From 677b79979ad15611d90f21d0d9d6bc01e3d3997b Mon Sep 17 00:00:00 2001 From: Janet Blackquill Date: Fri, 3 Oct 2025 15:39:36 -0400 Subject: [PATCH] thusd lung damage --- .../UI/HealthAnalyzerWindow.xaml | 3 + .../UI/HealthAnalyzerWindow.xaml.cs | 10 ++ .../UI/Tooltips/LungHealthTooltip.xaml | 8 ++ .../UI/Tooltips/LungHealthTooltip.xaml.cs | 15 +++ .../Body/Systems/RespiratorSystem.cs | 10 +- .../Zombies/ZombieSystem.Transform.cs | 3 + .../Wounds/LungDamageTemperatureSystem.cs | 35 +++++++ .../_Offbrand/EntityEffects/LungDamage.cs | 32 ++++++ .../EntityEffects/ModifyLungDamage.cs | 31 ++++++ .../_Offbrand/Surgery/ChangeLungDamage.cs | 17 ++++ .../_Offbrand/Surgery/LungDamage.cs | 47 +++++++++ .../_Offbrand/Wounds/LungDamageComponent.cs | 92 ++++++++++++++++++ .../_Offbrand/Wounds/LungDamageSystem.cs | 69 +++++++++++++ .../Wounds/WoundableHealthAnalyzer.cs | 12 +++ Resources/Locale/en-US/_Offbrand/alerts.ftl | 9 ++ .../Locale/en-US/_Offbrand/construction.ftl | 16 +++ Resources/Locale/en-US/_Offbrand/effects.ftl | 15 +++ .../en-US/_Offbrand/health-analyzer.ftl | 9 ++ Resources/Locale/en-US/_Offbrand/surgery.ftl | 6 ++ Resources/Prototypes/Alerts/alerts.yml | 1 + .../Prototypes/Entities/Mobs/Species/base.yml | 1 + Resources/Prototypes/Reagents/medicine.yml | 5 + Resources/Prototypes/Reagents/toxins.yml | 7 ++ Resources/Prototypes/_Offbrand/alerts.yml | 30 ++++++ Resources/Prototypes/_Offbrand/base_mob.yml | 19 ++++ Resources/Prototypes/_Offbrand/reagents.yml | 12 ++- .../_Offbrand/surgery_constructions.yml | 22 +++++ .../Prototypes/_Offbrand/surgery_graph.yml | 44 +++++++++ .../Alerts/lung_damage.rsi/critical.png | Bin 0 -> 281 bytes .../Alerts/lung_damage.rsi/meta.json | 20 ++++ .../Alerts/lung_damage.rsi/minor.png | Bin 0 -> 262 bytes .../Alerts/lung_damage.rsi/severe.png | Bin 0 -> 271 bytes 32 files changed, 598 insertions(+), 2 deletions(-) create mode 100644 Content.Client/HealthAnalyzer/UI/Tooltips/LungHealthTooltip.xaml create mode 100644 Content.Client/HealthAnalyzer/UI/Tooltips/LungHealthTooltip.xaml.cs create mode 100644 Content.Server/_Offbrand/Wounds/LungDamageTemperatureSystem.cs create mode 100644 Content.Shared/_Offbrand/EntityEffects/LungDamage.cs create mode 100644 Content.Shared/_Offbrand/EntityEffects/ModifyLungDamage.cs create mode 100644 Content.Shared/_Offbrand/Surgery/ChangeLungDamage.cs create mode 100644 Content.Shared/_Offbrand/Surgery/LungDamage.cs create mode 100644 Content.Shared/_Offbrand/Wounds/LungDamageComponent.cs create mode 100644 Content.Shared/_Offbrand/Wounds/LungDamageSystem.cs create mode 100644 Resources/Textures/_Offbrand/Alerts/lung_damage.rsi/critical.png create mode 100644 Resources/Textures/_Offbrand/Alerts/lung_damage.rsi/meta.json create mode 100644 Resources/Textures/_Offbrand/Alerts/lung_damage.rsi/minor.png create mode 100644 Resources/Textures/_Offbrand/Alerts/lung_damage.rsi/severe.png diff --git a/Content.Client/HealthAnalyzer/UI/HealthAnalyzerWindow.xaml b/Content.Client/HealthAnalyzer/UI/HealthAnalyzerWindow.xaml index 16aded522b..2f4057cee7 100644 --- a/Content.Client/HealthAnalyzer/UI/HealthAnalyzerWindow.xaml +++ b/Content.Client/HealthAnalyzer/UI/HealthAnalyzerWindow.xaml @@ -58,6 +58,9 @@