diff --git a/Content.Server/Atmos/Miasma/MiasmaSystem.cs b/Content.Server/Atmos/Miasma/MiasmaSystem.cs index dfbd021e85..783fe68cf7 100644 --- a/Content.Server/Atmos/Miasma/MiasmaSystem.cs +++ b/Content.Server/Atmos/Miasma/MiasmaSystem.cs @@ -188,8 +188,14 @@ namespace Content.Server.Atmos.Miasma private void OnExamined(EntityUid uid, PerishableComponent component, ExaminedEvent args) { - if (component.Rotting) - args.PushMarkup(Loc.GetString("miasma-rotting")); + if (!component.Rotting) + return; + var stage = component.DeathAccumulator / component.RotAfter.TotalSeconds; + var description = stage switch { + >= 3 => "miasma-extremely-bloated", + >= 2 => "miasma-bloated", + _ => "miasma-rotting"}; + args.PushMarkup(Loc.GetString(description)); } /// Containers diff --git a/Resources/Locale/en-US/disease/miasma.ftl b/Resources/Locale/en-US/disease/miasma.ftl index ae64119e3c..ecb162683e 100644 --- a/Resources/Locale/en-US/disease/miasma.ftl +++ b/Resources/Locale/en-US/disease/miasma.ftl @@ -1,2 +1,4 @@ miasma-smell = Something smells foul! miasma-rotting = [color=orange]It's rotting![/color] +miasma-bloated = [color=orangered]It's bloated![/color] +miasma-extremely-bloated = [color=red]It's extremely bloated![/color]