Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upstream sync #1824

Merged
merged 82 commits into from
Jan 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
7b046ac
Ion Storm Weight Increase (#24633)
FungiFellow Jan 27, 2024
dfa10be
Automatic changelog update
PJBot Jan 27, 2024
3e3cb10
Make some damage sources not cancel do afters (#24635)
PJB3005 Jan 27, 2024
8ca7cb5
Security barriers take 5 seconds to (un)lock (#24637)
PJB3005 Jan 28, 2024
1e0310f
Automatic changelog update
PJBot Jan 28, 2024
b1f9e25
Steal cleanup (#24428)
metalgearsloth Jan 28, 2024
877a07b
Update Credits (#24645)
github-actions[bot] Jan 28, 2024
5c75117
Add cowboy hats and boots (#24299)
themias Jan 28, 2024
af63269
Fixed syndicate bombs being unpurchasable (#24469)
emmafornash Jan 28, 2024
725869a
Automatic changelog update
PJBot Jan 28, 2024
4920d5f
Added new All at once game preset (#23171)
shampunj Jan 28, 2024
dcd4e8f
Automatic changelog update
PJBot Jan 28, 2024
70d04c7
Fix mispell of Atomic Amnesia MMX author (#24657)
Doctor-Cpu Jan 28, 2024
0a6904f
Automatic changelog update
PJBot Jan 28, 2024
19a05e1
Give anomaly borg module a signaller (#24466)
deltanedas Jan 28, 2024
804c76f
Add support clothing equip/unequip doafters (#24389)
EmoGarbage404 Jan 28, 2024
740c298
Lower speech noise volume & refactor system (#24579)
mirrorcult Jan 28, 2024
487f94a
Automatic changelog update
PJBot Jan 28, 2024
50f1b4b
Fix eris hud hand slot sprites (#24662)
lzk228 Jan 28, 2024
96ffc31
Remove salvage flesh ghost roles (#24651)
Blackern5000 Jan 28, 2024
556545e
Localize preset labels on chem dispenser (#24617)
Errant-4 Jan 28, 2024
4e8b1fb
Add events for GunComponent values, muzzle flashes and cartridge spre…
DrSmugleaf Jan 28, 2024
58b55ba
BatteryWeaponFireModes refactor (#24502)
metalgearsloth Jan 29, 2024
e1901aa
Revert "Make flare gun explode, damage and stun the player when used …
metalgearsloth Jan 29, 2024
11c69bc
Anti-anomaly fixes (#24634)
metalgearsloth Jan 29, 2024
3deea2f
Fire anom rework (#24666)
TheShuEd Jan 29, 2024
21d5716
Automatic changelog update
PJBot Jan 29, 2024
f9c4356
Health analyzers and cryopods also show temperature in Kelvin (#24643)
Krunklehorn Jan 29, 2024
030ab50
Automatic changelog update
PJBot Jan 29, 2024
5267d3c
Put entity resetting behind command flag (#24436)
metalgearsloth Jan 29, 2024
bd10034
Add inhand fill visuals (#24495)
themias Jan 29, 2024
2a67058
Make procgen use weighted variants (#24669)
EmoGarbage404 Jan 29, 2024
7311ce6
Store ninja objectives in conditions 2 (#20894)
Slava0135 Jan 29, 2024
6960794
client loglevel command shouldn't require host (#23490)
lizelive Jan 29, 2024
94b4342
Implement basic emoji support (#24039)
juliangiebel Jan 29, 2024
807f5fa
Detectives gain independency (#23114)
UbaserB Jan 29, 2024
ef6ca15
Automatic changelog update
PJBot Jan 29, 2024
1a74311
Improve rotting examine text (#24689)
mirrorcult Jan 29, 2024
9c07932
Automatic changelog update
PJBot Jan 29, 2024
cf1d3ea
Reduce synaptizine damage (#24676)
UltimateJester Jan 29, 2024
f7f997b
Automatic changelog update
PJBot Jan 29, 2024
f2aaf6b
Make various sounds quieter (#24690)
mirrorcult Jan 29, 2024
7bd2276
Automatic changelog update
PJBot Jan 29, 2024
5d2ddc0
Adds signal control to portable generators (#24157)
SpeltIncorrectyl Jan 29, 2024
c1f3f8c
Automatic changelog update
PJBot Jan 29, 2024
e27a3e0
Add sticky footstep sound to space glue (#24710)
themias Jan 29, 2024
e101d07
Fix welder status always being "not lit" (#24705)
Tayrtahn Jan 29, 2024
f661e8f
Automatic changelog update
PJBot Jan 29, 2024
cebb20d
Add fill level visuals for water bottle in-hand sprites (#24708)
Tayrtahn Jan 29, 2024
ec63e0b
Automatic changelog update
PJBot Jan 29, 2024
61516e8
Drink tastes touchup (#24700)
Hanzdegloker Jan 29, 2024
a86d0e5
Add water droplet hat for arachnids (#23822)
SlamBamActionman Jan 30, 2024
c16e384
Automatic changelog update
PJBot Jan 30, 2024
b0bd068
Stop shift from cancelling follow as ghost (#24715)
Tayrtahn Jan 30, 2024
5da590e
Automatic changelog update
PJBot Jan 30, 2024
31f7acf
Jugs are destructible (#24719)
liltenhead Jan 30, 2024
4f91846
Automatic changelog update
PJBot Jan 30, 2024
b59950d
derotate aspid (#24725)
Emisse Jan 30, 2024
067c8ba
Automatic changelog update
PJBot Jan 30, 2024
aa806c3
Packed (#24726)
Emisse Jan 30, 2024
ef55039
Throwing item scaling animation + recoil (#24724)
mirrorcult Jan 30, 2024
a0d2a2f
Automatic changelog update
PJBot Jan 30, 2024
101b4ff
derotate gemini (#24728)
Emisse Jan 30, 2024
a77b202
Automatic changelog update
PJBot Jan 30, 2024
572347a
Overrun Outpost Arm (#24656)
CrigCrag Jan 30, 2024
9526ba6
Automatic changelog update
PJBot Jan 30, 2024
3933490
Fix centcom cargo gifts (#24701)
themias Jan 30, 2024
c1c4d1a
Automatic changelog update
PJBot Jan 30, 2024
e4763ff
Orbital Anomaly Cores (#24716)
Scribbles0 Jan 30, 2024
36fb5a9
Automatic changelog update
PJBot Jan 30, 2024
00c5538
Split changelog entries for discord (#23832)
metalgearsloth Jan 30, 2024
cd4d090
Implement text splitting for discord CL (#24731)
metalgearsloth Jan 30, 2024
c266876
Fix changelog RSS (?) (#24733)
PJB3005 Jan 30, 2024
117399d
Comment out discord CL (#24734)
metalgearsloth Jan 30, 2024
14a4b5a
Revert "Comment out discord CL" (#24737)
metalgearsloth Jan 30, 2024
60c5797
Shuttle guns new sounds (#24714)
TheShuEd Jan 30, 2024
a44d559
Automatic changelog update
PJBot Jan 30, 2024
ff7f788
Update Patrons.yml (#24742)
DrSmugleaf Jan 30, 2024
9bebdf5
Fix improper prediction on unpryable doors (#24738)
nikthechampiongr Jan 30, 2024
ec5d3e9
Merge remote-tracking branch 'upstream/master' into upstream-sync
Morb0 Jan 30, 2024
0d30db8
Fix maps
Morb0 Jan 30, 2024
5ca19e1
Update locale
Morb0 Jan 30, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion Content.Benchmarks/MapLoadBenchmark.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public async Task Cleanup()
PoolManager.Shutdown();
}

public static readonly string[] MapsSource = { "Empty", "Box", "Aspid", "Bagel", "Dev", "CentComm", "Atlas", "Core", "TestTeg", "Saltern", "Packed", "Omega", "Cluster", "Gemini", "Reach", "Origin", "Meta", "Marathon", "Europa", "MeteorArena", "Fland", "Barratry" };
public static readonly string[] MapsSource = { "Empty", "Box", "Bagel", "Dev", "CentComm", "Atlas", "Core", "TestTeg", "Saltern", "Packed", "Omega", "Cluster", "Reach", "Origin", "Meta", "Marathon", "Europa", "MeteorArena", "Fland", "Barratry" };

[ParamsSource(nameof(MapsSource))]
public string Map;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
using Content.Client.Items.Systems;
using Content.Shared.Chemistry;
using Content.Shared.Chemistry.Components;
using Content.Shared.Chemistry.Reagent;
using Content.Shared.Hands;
using Content.Shared.Rounding;
using Robust.Client.GameObjects;
using Robust.Shared.Prototypes;
Expand All @@ -10,11 +12,13 @@ namespace Content.Client.Chemistry.Visualizers;
public sealed class SolutionContainerVisualsSystem : VisualizerSystem<SolutionContainerVisualsComponent>
{
[Dependency] private readonly IPrototypeManager _prototype = default!;
[Dependency] private readonly ItemSystem _itemSystem = default!;

public override void Initialize()
{
base.Initialize();
SubscribeLocalEvent<SolutionContainerVisualsComponent, MapInitEvent>(OnMapInit);
SubscribeLocalEvent<SolutionContainerVisualsComponent, GetInhandVisualsEvent>(OnGetHeldVisuals);
}

private void OnMapInit(EntityUid uid, SolutionContainerVisualsComponent component, MapInitEvent args)
Expand Down Expand Up @@ -111,6 +115,35 @@ protected override void OnAppearanceChange(EntityUid uid, SolutionContainerVisua
}
}

// in-hand visuals
_itemSystem.VisualsChanged(uid);
}

private void OnGetHeldVisuals(EntityUid uid, SolutionContainerVisualsComponent component, GetInhandVisualsEvent args)
{
if (component.InHandsFillBaseName == null)
return;

if (!TryComp(uid, out AppearanceComponent? appearance))
return;

if (!AppearanceSystem.TryGetData<float>(uid, SolutionContainerVisuals.FillFraction, out var fraction, appearance))
return;

int closestFillSprite = ContentHelpers.RoundToLevels(fraction, 1, component.InHandsMaxFillLevels + 1);

if (closestFillSprite > 0)
{
var layer = new PrototypeLayerData();

var key = "inhand-" + args.Location.ToString().ToLowerInvariant() + component.InHandsFillBaseName + closestFillSprite;

layer.State = key;

if (component.ChangeColor && AppearanceSystem.TryGetData<Color>(uid, SolutionContainerVisuals.Color, out var color, appearance))
layer.Color = color;

args.Layers.Add((key, layer));
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public void Populate(HealthAnalyzerScannedUserMessage msg)
);

Temperature.Text = Loc.GetString("health-analyzer-window-entity-temperature-text",
("temperature", float.IsNaN(msg.Temperature) ? "N/A" : $"{msg.Temperature - 273f:F1} °C")
("temperature", float.IsNaN(msg.Temperature) ? "N/A" : $"{msg.Temperature - 273f:F1} °C ({msg.Temperature:F1} °K)")
);

BloodLevel.Text = Loc.GetString("health-analyzer-window-entity-blood-level-text",
Expand Down
8 changes: 8 additions & 0 deletions Content.Client/Power/Generator/GeneratorWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,14 @@ public void Update(PortableGeneratorComponentBuiState state)

private bool TryGetStartProgress(out float progress)
{
// Try to check progress of auto-revving first
if (_entityManager.TryGetComponent<ActiveGeneratorRevvingComponent>(_entity, out var activeGeneratorRevvingComponent) && _entityManager.TryGetComponent<PortableGeneratorComponent>(_entity, out var portableGeneratorComponent))
{
var calculatedProgress = activeGeneratorRevvingComponent.CurrentTime / portableGeneratorComponent.StartTime;
progress = (float) calculatedProgress;
return true;
}

var doAfterSystem = _entityManager.EntitySysManager.GetEntitySystem<DoAfterSystem>();
return doAfterSystem.TryFindActiveDoAfter<GeneratorStartedEvent>(_entity, out _, out _, out progress);
}
Expand Down
2 changes: 1 addition & 1 deletion Content.Client/Stylesheets/StyleNano.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public static Font NotoStack(this IResourceCache resCache, string variation = "R
{
$"/Fonts/NotoSans{ds}/NotoSans{ds}-{variation}.ttf",
$"/Fonts/NotoSans/NotoSansSymbols-{sv}.ttf",
"/Fonts/NotoSans/NotoSansSymbols2-Regular.ttf",
"/Fonts/NotoSans/NotoSansSymbols2-Regular.ttf"
},
size
);
Expand Down
87 changes: 87 additions & 0 deletions Content.Client/Throwing/ThrownItemVisualizerSystem.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
using Content.Shared.Throwing;
using Robust.Client.Animations;
using Robust.Client.GameObjects;
using Robust.Shared.Animations;

namespace Content.Client.Throwing;

/// <summary>
/// Handles animating thrown items.
/// </summary>
public sealed class ThrownItemVisualizerSystem : EntitySystem
{
[Dependency] private readonly AnimationPlayerSystem _anim = default!;

private const string AnimationKey = "thrown-item";

public override void Initialize()
{
base.Initialize();

SubscribeLocalEvent<ThrownItemComponent, AfterAutoHandleStateEvent>(OnAutoHandleState);
SubscribeLocalEvent<ThrownItemComponent, ComponentShutdown>(OnShutdown);
}

private void OnAutoHandleState(EntityUid uid, ThrownItemComponent component, ref AfterAutoHandleStateEvent args)
{
if (!TryComp<SpriteComponent>(uid, out var sprite))
return;

var animationPlayer = EnsureComp<AnimationPlayerComponent>(uid);

if (_anim.HasRunningAnimation(uid, animationPlayer, AnimationKey))
return;

var anim = GetAnimation((uid, component, sprite));
if (anim == null)
return;

component.OriginalScale = sprite.Scale;
_anim.Play((uid, animationPlayer), anim, AnimationKey);
}

private void OnShutdown(EntityUid uid, ThrownItemComponent component, ComponentShutdown args)
{
if (!_anim.HasRunningAnimation(uid, AnimationKey))
return;

if (TryComp<SpriteComponent>(uid, out var sprite) && component.OriginalScale != null)
sprite.Scale = component.OriginalScale.Value;

_anim.Stop(uid, AnimationKey);
}

private static Animation? GetAnimation(Entity<ThrownItemComponent, SpriteComponent> ent)
{
if (ent.Comp1.LandTime - ent.Comp1.ThrownTime is not { } length)
return null;

if (length <= TimeSpan.Zero)
return null;

length += TimeSpan.FromSeconds(ThrowingSystem.FlyTime);
var scale = ent.Comp2.Scale;
var lenFloat = (float) length.TotalSeconds;

// TODO use like actual easings here
return new Animation
{
Length = length,
AnimationTracks =
{
new AnimationTrackComponentProperty
{
ComponentType = typeof(SpriteComponent),
Property = nameof(SpriteComponent.Scale),
KeyFrames =
{
new AnimationTrackProperty.KeyFrame(scale, 0.0f),
new AnimationTrackProperty.KeyFrame(scale * 1.4f, lenFloat * 0.25f),
new AnimationTrackProperty.KeyFrame(scale, lenFloat * 0.75f)
},
InterpolationMode = AnimationInterpolationMode.Linear
}
}
};
}
}
4 changes: 2 additions & 2 deletions Content.Client/Tools/UI/WelderStatusControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ public sealed class WelderStatusControl : Control
private readonly ItemToggleComponent? _toggleComponent;
private readonly RichTextLabel _label;

public WelderStatusControl(WelderComponent parent, EntityUid? uid = null)
public WelderStatusControl(Entity<WelderComponent> parent)
{
_parent = parent;
_entMan = IoCManager.Resolve<IEntityManager>();
if (_entMan.TryGetComponent<ItemToggleComponent>(uid, out var itemToggle))
if (_entMan.TryGetComponent<ItemToggleComponent>(parent, out var itemToggle))
_toggleComponent = itemToggle;
_label = new RichTextLabel { StyleClasses = { StyleNano.StyleClassItemStatus } };
AddChild(_label);
Expand Down
8 changes: 4 additions & 4 deletions Content.Client/Weapons/Ranged/GunSpreadOverlay.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ protected override void Draw(in OverlayDrawArgs args)
return;

// (☞゚ヮ゚)☞
var maxSpread = gun.MaxAngle;
var minSpread = gun.MinAngle;
var maxSpread = gun.MaxAngleModified;
var minSpread = gun.MinAngleModified;
var timeSinceLastFire = (_timing.CurTime - gun.NextFire).TotalSeconds;
var currentAngle = new Angle(MathHelper.Clamp(gun.CurrentAngle.Theta - gun.AngleDecay.Theta * timeSinceLastFire,
gun.MinAngle.Theta, gun.MaxAngle.Theta));
var currentAngle = new Angle(MathHelper.Clamp(gun.CurrentAngle.Theta - gun.AngleDecayModified.Theta * timeSinceLastFire,
gun.MinAngleModified.Theta, gun.MaxAngleModified.Theta));
var direction = (mousePos.Position - mapPos.Position);

worldHandle.DrawLine(mapPos.Position, mousePos.Position + direction, Color.Orange);
Expand Down
15 changes: 7 additions & 8 deletions Content.Client/Weapons/Ranged/Systems/GunSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using Content.Client.Weapons.Ranged.Components;
using Content.Shared.Camera;
using Content.Shared.CombatMode;
using Robust.Shared.Spawners;
using Content.Shared.Weapons.Ranged;
using Content.Shared.Weapons.Ranged.Components;
using Content.Shared.Weapons.Ranged.Events;
Expand Down Expand Up @@ -195,7 +194,7 @@ public override void Shoot(EntityUid gunUid, GunComponent gun, List<(EntityUid?
{
if (throwItems)
{
Recoil(user, direction, gun.CameraRecoilScalar);
Recoil(user, direction, gun.CameraRecoilScalarModified);
if (IsClientSide(ent!.Value))
Del(ent.Value);
else
Expand All @@ -210,8 +209,8 @@ public override void Shoot(EntityUid gunUid, GunComponent gun, List<(EntityUid?
{
SetCartridgeSpent(ent!.Value, cartridge, true);
MuzzleFlash(gunUid, cartridge, user);
Audio.PlayPredicted(gun.SoundGunshot, gunUid, user);
Recoil(user, direction, gun.CameraRecoilScalar);
Audio.PlayPredicted(gun.SoundGunshotModified, gunUid, user);
Recoil(user, direction, gun.CameraRecoilScalarModified);
// TODO: Can't predict entity deletions.
//if (cartridge.DeleteOnSpawn)
// Del(cartridge.Owner);
Expand All @@ -228,16 +227,16 @@ public override void Shoot(EntityUid gunUid, GunComponent gun, List<(EntityUid?
break;
case AmmoComponent newAmmo:
MuzzleFlash(gunUid, newAmmo, user);
Audio.PlayPredicted(gun.SoundGunshot, gunUid, user);
Recoil(user, direction, gun.CameraRecoilScalar);
Audio.PlayPredicted(gun.SoundGunshotModified, gunUid, user);
Recoil(user, direction, gun.CameraRecoilScalarModified);
if (IsClientSide(ent!.Value))
Del(ent.Value);
else
RemoveShootable(ent.Value);
break;
case HitscanPrototype:
Audio.PlayPredicted(gun.SoundGunshot, gunUid, user);
Recoil(user, direction, gun.CameraRecoilScalar);
Audio.PlayPredicted(gun.SoundGunshotModified, gunUid, user);
Recoil(user, direction, gun.CameraRecoilScalarModified);
break;
}
}
Expand Down
2 changes: 0 additions & 2 deletions Content.IntegrationTests/Tests/PostMapInitTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ public sealed class PostMapInitTest
"Fland",
"Meta",
"Packed",
"Aspid",
"Cluster",
"Omega",
"Bagel",
Expand All @@ -70,7 +69,6 @@ public sealed class PostMapInitTest
"Saltern",
"Core",
"Marathon",
"Gemini",
"MeteorArena",
"Atlas",
"Reach"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
namespace Content.Server.Administration.Components;

[RegisterComponent]
public sealed partial class AdminMinigunComponent : Component
{

}
17 changes: 17 additions & 0 deletions Content.Server/Administration/Systems/AdminGunSystem.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
using Content.Server.Administration.Components;
using Content.Shared.Weapons.Ranged.Events;

namespace Content.Server.Administration.Systems;

public sealed class AdminGunSystem : EntitySystem
{
public override void Initialize()
{
SubscribeLocalEvent<AdminMinigunComponent, GunRefreshModifiersEvent>(OnGunRefreshModifiers);
}

private void OnGunRefreshModifiers(Entity<AdminMinigunComponent> ent, ref GunRefreshModifiersEvent args)
{
args.FireRate = 15;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
using Content.Server.Stack;
using Content.Server.Station.Components;
using Content.Server.Station.Systems;
using Content.Server.Weapons.Ranged.Systems;
using Content.Shared.Access;
using Content.Shared.Access.Components;
using Content.Shared.Access.Systems;
Expand Down Expand Up @@ -52,6 +53,7 @@ public sealed partial class AdminVerbSystem
[Dependency] private readonly BatterySystem _batterySystem = default!;
[Dependency] private readonly SharedTransformSystem _xformSystem = default!;
[Dependency] private readonly MetaDataSystem _metaSystem = default!;
[Dependency] private readonly GunSystem _gun = default!;

private void AddTricksVerbs(GetVerbsEvent<Verb> args)
{
Expand Down Expand Up @@ -697,7 +699,8 @@ private void AddTricksVerbs(GetVerbsEvent<Verb> args)
Icon = new SpriteSpecifier.Rsi(new("/Textures/Objects/Weapons/Guns/HMGs/minigun.rsi"), "icon"),
Act = () =>
{
gun.FireRate = 15;
EnsureComp<AdminMinigunComponent>(args.Target);
_gun.RefreshModifiers((args.Target, gun));
},
Impact = LogImpact.Medium,
Message = Loc.GetString("admin-trick-minigun-fire-description"),
Expand Down
6 changes: 4 additions & 2 deletions Content.Server/Anomaly/AnomalySystem.Generator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ public void SpawnOnRandomGridLocation(EntityUid grid, string toSpawn)
// don't spawn inside of solid objects
var physQuery = GetEntityQuery<PhysicsComponent>();
var valid = true;

// TODO: This should be using static lookup.
foreach (var ent in gridComp.GetAnchoredEntities(tile))
{
if (!physQuery.TryGetComponent(ent, out var body))
Expand All @@ -143,9 +145,9 @@ public void SpawnOnRandomGridLocation(EntityUid grid, string toSpawn)
if (antiXform.MapID != mapPos.MapId)
continue;

var antiCoordinates = _transform.GetMapCoordinates(antiXform);
var antiCoordinates = _transform.GetWorldPosition(antiXform);

var delta = antiCoordinates.Position - mapPos.Position;
var delta = antiCoordinates - mapPos.Position;
if (delta.LengthSquared() < zone.ZoneRadius * zone.ZoneRadius)
{
valid = false;
Expand Down
2 changes: 1 addition & 1 deletion Content.Server/Atmos/EntitySystems/FlammableSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ public override void Update(float frameTime)
if (TryComp(uid, out TemperatureComponent? temp))
_temperatureSystem.ChangeHeat(uid, 12500 * damageScale, false, temp);

_damageableSystem.TryChangeDamage(uid, flammable.Damage * damageScale);
_damageableSystem.TryChangeDamage(uid, flammable.Damage * damageScale, interruptsDoAfters: false);

AdjustFireStacks(uid, flammable.FirestackFade * (flammable.Resisting ? 10f : 1f), flammable);
}
Expand Down
3 changes: 2 additions & 1 deletion Content.Server/Atmos/Rotting/RottingSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,8 @@ private void OnPerishableExamined(Entity<PerishableComponent> perishable, ref Ex
return;
}

var description = "perishable-" + stage;
var isMob = HasComp<MobStateComponent>(perishable);
var description = "perishable-" + stage + (!isMob ? "-nonmob" : string.Empty);
args.PushMarkup(Loc.GetString(description, ("target", Identity.Entity(perishable, EntityManager))));
}

Expand Down
Loading
Loading