Skip to content

Commit caef4ca

Browse files
authored
Merge pull request impstation#3314 from impstation/upstream-staging
August 2025 Upstream Merge 2
2 parents eaa489d + 7bbda5b commit caef4ca

File tree

1,275 files changed

+52857
-36894
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,275 files changed

+52857
-36894
lines changed

.github/CODEOWNERS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
/Resources/ServerInfo/Guidebook/ServerRules/ @crazybrain23
1010

1111
/Resources/Prototypes/Maps/** @Emisse @ArtisticRoomba
12+
/Resources/Maps/** @Emisse @ArtisticRoomba
1213

1314
/Resources/Prototypes/Body/ @DrSmugleaf # suffering
1415
/Resources/Prototypes/Entities/Mobs/Player/ @DrSmugleaf
@@ -36,3 +37,5 @@
3637
/Content.*/NPC @metalgearsloth
3738
/Content.*/Shuttles @metalgearsloth
3839
/Content.*/Weapons @metalgearsloth
40+
41+
/Content.Server/Discord/ @Simyon264

Content.Benchmarks/PvsBenchmark.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
using Content.IntegrationTests;
77
using Content.IntegrationTests.Pair;
88
using Content.Server.Mind;
9-
using Content.Server.Warps;
109
using Content.Shared.Warps;
1110
using Robust.Shared;
1211
using Robust.Shared.Analyzers;

Content.Client/Actions/UI/ActionAlertTooltip.cs

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public sealed class ActionAlertTooltip : PanelContainer
2121
/// </summary>
2222
public (TimeSpan Start, TimeSpan End)? Cooldown { get; set; }
2323

24-
public ActionAlertTooltip(FormattedMessage name, FormattedMessage? desc, string? requires = null, FormattedMessage? charges = null)
24+
public ActionAlertTooltip(FormattedMessage name, FormattedMessage? desc, string? requires = null)
2525
{
2626
_gameTiming = IoCManager.Resolve<IGameTiming>();
2727

@@ -52,17 +52,6 @@ public ActionAlertTooltip(FormattedMessage name, FormattedMessage? desc, string?
5252
vbox.AddChild(description);
5353
}
5454

55-
if (charges != null && !string.IsNullOrWhiteSpace(charges.ToString()))
56-
{
57-
var chargesLabel = new RichTextLabel
58-
{
59-
MaxWidth = TooltipTextMaxWidth,
60-
StyleClasses = { StyleNano.StyleClassTooltipActionCharges }
61-
};
62-
chargesLabel.SetMessage(charges);
63-
vbox.AddChild(chargesLabel);
64-
}
65-
6655
vbox.AddChild(_cooldownLabel = new RichTextLabel
6756
{
6857
MaxWidth = TooltipTextMaxWidth,

Content.Client/Administration/Components/HeadstandComponent.cs

Lines changed: 0 additions & 10 deletions
This file was deleted.

Content.Client/Administration/Systems/HeadstandSystem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using Content.Client.Administration.Components;
1+
using Content.Shared.Administration.Components;
22
using Robust.Client.GameObjects;
33

44
namespace Content.Client.Administration.Systems;

Content.Client/Administration/UI/Tabs/ObjectsTab/ObjectsTab.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ private void RefreshObjectList(ObjectsTabSelection selection)
7676
switch (selection)
7777
{
7878
case ObjectsTabSelection.Stations:
79-
entities.AddRange(_entityManager.EntitySysManager.GetEntitySystem<StationSystem>().Stations);
79+
entities.AddRange(_entityManager.EntitySysManager.GetEntitySystem<StationSystem>().GetStationNames());
8080
break;
8181
case ObjectsTabSelection.Grids:
8282
{
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
using Content.Shared.Animals.Systems;
2+
3+
namespace Content.Client.Animals.Systems;
4+
5+
public sealed class ParrotMemorySystem : SharedParrotMemorySystem;

Content.Client/Anomaly/Effects/ClientInnerBodySystem.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Content.Shared.Anomaly.Components;
22
using Content.Shared.Anomaly.Effects;
3-
using Content.Shared.Body.Components;
3+
using Content.Shared.Humanoid;
44
using Robust.Client.GameObjects;
55

66
namespace Content.Client.Anomaly.Effects;
@@ -25,9 +25,8 @@ private void OnAfterHandleState(Entity<InnerBodyAnomalyComponent> ent, ref After
2525

2626
var index = _sprite.LayerMapReserve((ent.Owner, sprite), ent.Comp.LayerMap);
2727

28-
if (TryComp<BodyComponent>(ent, out var body) &&
29-
body.Prototype is not null &&
30-
ent.Comp.SpeciesSprites.TryGetValue(body.Prototype.Value, out var speciesSprite))
28+
if (TryComp<HumanoidAppearanceComponent>(ent, out var humanoidAppearance) &&
29+
ent.Comp.SpeciesSprites.TryGetValue(humanoidAppearance.Species, out var speciesSprite))
3130
{
3231
_sprite.LayerSetSprite((ent.Owner, sprite), index, speciesSprite);
3332
}

Content.Client/Atmos/EntitySystems/PipeColorVisualizerSystem.cs

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,11 @@
11
using Content.Client.Atmos.Components;
22
using Robust.Client.GameObjects;
3-
using Content.Client.UserInterface.Systems.Storage.Controls;
43
using Content.Shared.Atmos.Piping;
5-
using Content.Shared.Hands;
6-
using Content.Shared.Atmos.Components;
7-
using Content.Shared.Item;
84

95
namespace Content.Client.Atmos.EntitySystems;
106

117
public sealed class PipeColorVisualizerSystem : VisualizerSystem<PipeColorVisualsComponent>
128
{
13-
[Dependency] private readonly SharedItemSystem _itemSystem = default!;
14-
15-
public override void Initialize()
16-
{
17-
base.Initialize();
18-
19-
SubscribeLocalEvent<PipeColorVisualsComponent, GetInhandVisualsEvent>(OnGetVisuals);
20-
SubscribeLocalEvent<PipeColorVisualsComponent, BeforeRenderInGridEvent>(OnDrawInGrid);
21-
}
22-
23-
/// <summary>
24-
/// This method is used to display the color changes of the pipe on the screen..
25-
/// </summary>
26-
private void OnGetVisuals(Entity<PipeColorVisualsComponent> item, ref GetInhandVisualsEvent args)
27-
{
28-
foreach (var (_, layerData) in args.Layers)
29-
{
30-
if (TryComp(item.Owner, out AtmosPipeColorComponent? pipeColor))
31-
layerData.Color = pipeColor.Color;
32-
}
33-
}
34-
35-
/// <summary>
36-
/// This method is used to change the pipe's color in a container grid.
37-
/// </summary>
38-
private void OnDrawInGrid(Entity<PipeColorVisualsComponent> item, ref BeforeRenderInGridEvent args)
39-
{
40-
if (TryComp(item.Owner, out AtmosPipeColorComponent? pipeColor))
41-
args.Color = pipeColor.Color;
42-
}
43-
449
protected override void OnAppearanceChange(EntityUid uid, PipeColorVisualsComponent component, ref AppearanceChangeEvent args)
4510
{
4611
if (TryComp<SpriteComponent>(uid, out var sprite)
@@ -50,8 +15,6 @@ protected override void OnAppearanceChange(EntityUid uid, PipeColorVisualsCompon
5015
var layer = sprite[PipeVisualLayers.Pipe];
5116
layer.Color = color.WithAlpha(layer.Color.A);
5217
}
53-
54-
_itemSystem.VisualsChanged(uid);
5518
}
5619
}
5720

Content.Client/Atmos/Monitor/UI/Widgets/PumpControl.xaml.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public PumpControl(GasVentPumpData data, string address)
6767

6868
foreach (var value in Enum.GetValues<VentPumpDirection>())
6969
{
70-
_pumpDirection.AddItem(Loc.GetString($"{value}"), (int) value);
70+
_pumpDirection.AddItem(Loc.GetString($"air-alarm-ui-pump-direction-{value.ToString().ToLower()}"), (int) value);
7171
}
7272

7373
_pumpDirection.SelectId((int) _data.PumpDirection);
@@ -80,7 +80,7 @@ public PumpControl(GasVentPumpData data, string address)
8080

8181
foreach (var value in Enum.GetValues<VentPressureBound>())
8282
{
83-
_pressureCheck.AddItem(Loc.GetString($"{value}"), (int) value);
83+
_pressureCheck.AddItem(Loc.GetString($"air-alarm-ui-pressure-bound-{value.ToString().ToLower()}"), (int) value);
8484
}
8585

8686
_pressureCheck.SelectId((int) _data.PressureChecks);

0 commit comments

Comments
 (0)