Merge remote-tracking branch 'upstream/stable' into ed-27-05-2025-upstream-sync
# Conflicts: # .github/CODEOWNERS # Content.Client/Guidebook/Controls/GuideReagentReaction.xaml.cs # Content.IntegrationTests/Tests/Chemistry/TryAllReactionsTest.cs # Content.Server/Procedural/DungeonJob/DungeonJob.OreDunGen.cs # Resources/Prototypes/Entities/Effects/chemistry_effects.yml # Resources/Prototypes/Entities/Mobs/Customization/Markings/human_hair.yml # Resources/Prototypes/GameRules/meteorswarms.yml # Resources/Prototypes/Procedural/dungeon_configs.yml
This commit is contained in:
@@ -6,7 +6,6 @@ using Content.Server.Shuttles.Events;
|
||||
using Content.Server.Station.Events;
|
||||
using Content.Shared.Atmos;
|
||||
using Content.Shared.Body.Components;
|
||||
using Content.Shared.Buckle.Components;
|
||||
using Content.Shared.CCVar;
|
||||
using Content.Shared.Database;
|
||||
using Content.Shared.Ghost;
|
||||
@@ -75,11 +74,8 @@ public sealed partial class ShuttleSystem
|
||||
private readonly HashSet<Entity<NoFTLComponent>> _noFtls = new();
|
||||
|
||||
private EntityQuery<BodyComponent> _bodyQuery;
|
||||
private EntityQuery<BuckleComponent> _buckleQuery;
|
||||
private EntityQuery<FTLSmashImmuneComponent> _immuneQuery;
|
||||
private EntityQuery<PhysicsComponent> _physicsQuery;
|
||||
private EntityQuery<StatusEffectsComponent> _statusQuery;
|
||||
private EntityQuery<TransformComponent> _xformQuery;
|
||||
|
||||
private void InitializeFTL()
|
||||
{
|
||||
@@ -87,11 +83,8 @@ public sealed partial class ShuttleSystem
|
||||
SubscribeLocalEvent<FTLComponent, ComponentShutdown>(OnFtlShutdown);
|
||||
|
||||
_bodyQuery = GetEntityQuery<BodyComponent>();
|
||||
_buckleQuery = GetEntityQuery<BuckleComponent>();
|
||||
_immuneQuery = GetEntityQuery<FTLSmashImmuneComponent>();
|
||||
_physicsQuery = GetEntityQuery<PhysicsComponent>();
|
||||
_statusQuery = GetEntityQuery<StatusEffectsComponent>();
|
||||
_xformQuery = GetEntityQuery<TransformComponent>();
|
||||
|
||||
_cfg.OnValueChanged(CCVars.FTLStartupTime, time => DefaultStartupTime = time, true);
|
||||
_cfg.OnValueChanged(CCVars.FTLTravelTime, time => DefaultTravelTime = time, true);
|
||||
@@ -440,8 +433,6 @@ public sealed partial class ShuttleSystem
|
||||
Enable(uid, component: body);
|
||||
_physics.SetLinearVelocity(uid, new Vector2(0f, 20f), body: body);
|
||||
_physics.SetAngularVelocity(uid, 0f, body: body);
|
||||
_physics.SetLinearDamping(uid, body, 0f);
|
||||
_physics.SetAngularDamping(uid, body, 0f);
|
||||
|
||||
_dockSystem.SetDockBolts(uid, true);
|
||||
_console.RefreshShuttleConsoles(uid);
|
||||
@@ -496,8 +487,6 @@ public sealed partial class ShuttleSystem
|
||||
|
||||
_physics.SetLinearVelocity(uid, Vector2.Zero, body: body);
|
||||
_physics.SetAngularVelocity(uid, 0f, body: body);
|
||||
_physics.SetLinearDamping(uid, body, entity.Comp2.LinearDamping);
|
||||
_physics.SetAngularDamping(uid, body, entity.Comp2.AngularDamping);
|
||||
|
||||
var target = entity.Comp1.TargetCoordinates;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user