Merge remote-tracking branch 'upstream/stable' into ed-08-07-2025-upstream

# Conflicts:
#	Content.Server/Audio/ContentAudioSystem.cs
#	Content.Server/Medical/HealthAnalyzerSystem.cs
#	Content.Server/Shuttles/Systems/ShuttleSystem.cs
#	Resources/Locale/en-US/navmap-beacons/station-beacons.ftl
This commit is contained in:
Ed
2025-07-08 00:40:30 +03:00
920 changed files with 19950 additions and 9262 deletions

View File

@@ -95,7 +95,7 @@ public sealed class BluespaceLockerSystem : EntitySystem
if (component.BehaviorProperties.TransportEntities || component.BehaviorProperties.TransportSentient)
foreach (var entity in target.Value.storageComponent.Contents.ContainedEntities.ToArray())
{
if (EntityManager.HasComponent<MindContainerComponent>(entity))
if (HasComp<MindContainerComponent>(entity))
{
if (!component.BehaviorProperties.TransportSentient)
continue;
@@ -312,7 +312,7 @@ public sealed class BluespaceLockerSystem : EntitySystem
if (component.BehaviorProperties.TransportEntities || component.BehaviorProperties.TransportSentient)
foreach (var entity in entityStorageComponent.Contents.ContainedEntities.ToArray())
{
if (EntityManager.HasComponent<MindContainerComponent>(entity))
if (HasComp<MindContainerComponent>(entity))
{
if (!component.BehaviorProperties.TransportSentient)
continue;

View File

@@ -13,7 +13,7 @@ namespace Content.Server.Storage.EntitySystems
[Dependency] private readonly EntityWhitelistSystem _whitelistSystem = default!;
protected override int? GetCount(ContainerModifiedMessage msg, ItemCounterComponent itemCounter)
{
if (!EntityManager.TryGetComponent(msg.Container.Owner, out StorageComponent? component))
if (!TryComp(msg.Container.Owner, out StorageComponent? component))
{
return null;
}

View File

@@ -40,7 +40,7 @@ namespace Content.Server.Storage.EntitySystems
// Calculate the average price of the possible spawned items
args.Price += _pricing.GetPrice(protUid) * entry.SpawnProbability * entry.GetAmount(getAverage: true);
EntityManager.DeleteEntity(protUid);
Del(protUid);
}
foreach (var group in orGroups)
@@ -54,7 +54,7 @@ namespace Content.Server.Storage.EntitySystems
(entry.SpawnProbability / group.CumulativeProbability) *
entry.GetAmount(getAverage: true);
EntityManager.DeleteEntity(protUid);
Del(protUid);
}
}