2021-06-09 22:19:39 +02:00
|
|
|
using Content.Server.Interaction;
|
2022-11-14 20:30:30 +01:00
|
|
|
using Content.Server.Popups;
|
|
|
|
|
using Content.Server.Pulling;
|
|
|
|
|
using Content.Shared.ActionBlocker;
|
|
|
|
|
using Content.Shared.Alert;
|
2021-06-09 22:19:39 +02:00
|
|
|
using Content.Shared.Buckle;
|
2023-01-13 16:57:10 -08:00
|
|
|
using Content.Shared.Mobs.Systems;
|
2020-07-24 14:22:28 +02:00
|
|
|
using JetBrains.Annotations;
|
2022-11-14 20:30:30 +01:00
|
|
|
using Robust.Server.Containers;
|
2021-02-11 01:13:03 -08:00
|
|
|
using Robust.Server.GameObjects;
|
2022-11-14 20:30:30 +01:00
|
|
|
using Robust.Shared.Timing;
|
2020-07-08 15:30:48 +02:00
|
|
|
|
2022-11-14 20:30:30 +01:00
|
|
|
namespace Content.Server.Buckle.Systems;
|
|
|
|
|
|
|
|
|
|
[UsedImplicitly]
|
2022-11-18 22:08:28 +01:00
|
|
|
public sealed partial class BuckleSystem : SharedBuckleSystem
|
2020-07-08 15:30:48 +02:00
|
|
|
{
|
2022-11-14 20:30:30 +01:00
|
|
|
[Dependency] private readonly IGameTiming _gameTiming = default!;
|
|
|
|
|
|
|
|
|
|
[Dependency] private readonly ActionBlockerSystem _actionBlocker = default!;
|
|
|
|
|
[Dependency] private readonly AlertsSystem _alerts = default!;
|
|
|
|
|
[Dependency] private readonly AppearanceSystem _appearance = default!;
|
|
|
|
|
[Dependency] private readonly SharedAudioSystem _audio = default!;
|
|
|
|
|
[Dependency] private readonly ContainerSystem _containers = default!;
|
|
|
|
|
[Dependency] private readonly InteractionSystem _interactions = default!;
|
2023-01-13 16:57:10 -08:00
|
|
|
[Dependency] private readonly MobStateSystem _mobState = default!;
|
2022-11-14 20:30:30 +01:00
|
|
|
[Dependency] private readonly PopupSystem _popups = default!;
|
|
|
|
|
[Dependency] private readonly PullingSystem _pulling = default!;
|
|
|
|
|
[Dependency] private readonly Shared.Standing.StandingStateSystem _standing = default!;
|
|
|
|
|
|
|
|
|
|
public override void Initialize()
|
2020-07-08 15:30:48 +02:00
|
|
|
{
|
2022-11-14 20:30:30 +01:00
|
|
|
base.Initialize();
|
|
|
|
|
|
|
|
|
|
UpdatesAfter.Add(typeof(InteractionSystem));
|
|
|
|
|
UpdatesAfter.Add(typeof(InputSystem));
|
|
|
|
|
|
2022-11-18 22:08:28 +01:00
|
|
|
InitializeBuckle();
|
|
|
|
|
InitializeStrap();
|
2020-07-08 15:30:48 +02:00
|
|
|
}
|
|
|
|
|
}
|