mirror of
https://github.com/wega-team/ss14-wega.git
synced 2026-06-09 10:06:49 +02:00
AAAAAAAAAAAAAAAAAAAAAA
This commit is contained in:
@@ -16,12 +16,12 @@ namespace Content.Client.Achievements;
|
||||
|
||||
public sealed class AchievementsSystem : SharedAchievementsSystem
|
||||
{
|
||||
[Dependency] private readonly IPlayerManager _playerManager = default!;
|
||||
[Dependency] private readonly IUserInterfaceManager _ui = default!;
|
||||
[Dependency] private readonly IPrototypeManager _prototype = default!;
|
||||
[Dependency] private readonly IGameTiming _timing = default!;
|
||||
[Dependency] private readonly SpriteSystem _sprite = default!;
|
||||
[Dependency] private readonly SharedAudioSystem _audio = default!;
|
||||
[Dependency] private IPlayerManager _playerManager = default!;
|
||||
[Dependency] private IUserInterfaceManager _ui = default!;
|
||||
[Dependency] private IPrototypeManager _prototype = default!;
|
||||
[Dependency] private IGameTiming _timing = default!;
|
||||
[Dependency] private SpriteSystem _sprite = default!;
|
||||
[Dependency] private SharedAudioSystem _audio = default!;
|
||||
|
||||
public IReadOnlyList<AchievementsEnum> UnlockedAchievements => _unlockedAchievements;
|
||||
private List<AchievementsEnum> _unlockedAchievements = new();
|
||||
|
||||
@@ -13,9 +13,9 @@ namespace Content.Client._Wega.Achievements;
|
||||
[GenerateTypedNameReferences]
|
||||
public sealed partial class AchievementsWindow : FancyWindow
|
||||
{
|
||||
[Dependency] private readonly IDependencyCollection _dependencies = default!;
|
||||
[Dependency] private readonly IEntitySystemManager _sysMan = default!;
|
||||
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
||||
[Dependency] private IDependencyCollection _dependencies = default!;
|
||||
[Dependency] private IEntitySystemManager _sysMan = default!;
|
||||
[Dependency] private IPrototypeManager _prototypeManager = default!;
|
||||
private readonly AchievementsSystem _achievements;
|
||||
private readonly SpriteSystem _spriteSystem;
|
||||
|
||||
|
||||
@@ -7,9 +7,9 @@ namespace Content.Client.Android;
|
||||
|
||||
public sealed class AndroidSystem : SharedAndroidSystem
|
||||
{
|
||||
[Dependency] private readonly PowerCellSystem _powerCell = default!;
|
||||
[Dependency] private readonly BatterySystem _battery = default!;
|
||||
[Dependency] private readonly AlertsSystem _alerts = default!;
|
||||
[Dependency] private PowerCellSystem _powerCell = default!;
|
||||
[Dependency] private BatterySystem _battery = default!;
|
||||
[Dependency] private AlertsSystem _alerts = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
|
||||
@@ -14,9 +14,9 @@ public sealed class AndroidConstructBoundUserInterface : BoundUserInterface
|
||||
[ViewVariables]
|
||||
private AndroidConstructMenu? _menu;
|
||||
|
||||
[Dependency] private readonly IConfigurationManager _cfgManager = default!;
|
||||
[Dependency] private readonly MarkingManager _markingManager = default!;
|
||||
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
||||
[Dependency] private IConfigurationManager _cfgManager = default!;
|
||||
[Dependency] private MarkingManager _markingManager = default!;
|
||||
[Dependency] private IPrototypeManager _prototypeManager = default!;
|
||||
|
||||
public HumanoidCharacterProfile Profile = new();
|
||||
|
||||
|
||||
@@ -19,11 +19,11 @@ namespace Content.Client.Speech.Synthesis.System;
|
||||
/// </summary>
|
||||
public sealed class BarkSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly AudioSystem _audio = default!;
|
||||
[Dependency] private readonly IConfigurationManager _cfg = default!;
|
||||
[Dependency] private readonly IEntityManager _entityManager = default!;
|
||||
[Dependency] private readonly IPlayerManager _player = default!;
|
||||
[Dependency] private readonly SoundInsulationSystem _soundInsulation = default!;
|
||||
[Dependency] private AudioSystem _audio = default!;
|
||||
[Dependency] private IConfigurationManager _cfg = default!;
|
||||
[Dependency] private IEntityManager _entityManager = default!;
|
||||
[Dependency] private IPlayerManager _player = default!;
|
||||
[Dependency] private SoundInsulationSystem _soundInsulation = default!;
|
||||
|
||||
private const float MinimalVolume = -10f;
|
||||
private const float WhisperFade = 4f;
|
||||
|
||||
@@ -11,10 +11,10 @@ namespace Content.Client.Blood.Cult
|
||||
{
|
||||
public sealed class BloodCultSystem : SharedBloodCultSystem
|
||||
{
|
||||
[Dependency] private readonly AppearanceSystem _appearance = default!;
|
||||
[Dependency] private readonly IPrototypeManager _prototype = default!;
|
||||
[Dependency] private readonly IRobustRandom _random = default!;
|
||||
[Dependency] private readonly SpriteSystem _sprite = default!;
|
||||
[Dependency] private AppearanceSystem _appearance = default!;
|
||||
[Dependency] private IPrototypeManager _prototype = default!;
|
||||
[Dependency] private IRobustRandom _random = default!;
|
||||
[Dependency] private SpriteSystem _sprite = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace Content.Client._Wega.BloodCult.Ui;
|
||||
[GenerateTypedNameReferences]
|
||||
public sealed partial class BloodStructureMenu : RadialMenu
|
||||
{
|
||||
[Dependency] private readonly IPrototypeManager _proto = default!;
|
||||
[Dependency] private IPrototypeManager _proto = default!;
|
||||
|
||||
public event Action<string>? OnSelectItem;
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace Content.Client._Wega.BloodCult.Ui;
|
||||
[GenerateTypedNameReferences]
|
||||
public sealed partial class RunesMenu : RadialMenu
|
||||
{
|
||||
[Dependency] private readonly IPrototypeManager _proto = default!;
|
||||
[Dependency] private IPrototypeManager _proto = default!;
|
||||
|
||||
public event Action<EntProtoId>? OnRuneSelected;
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace Content.Client._Wega.BloodCult.Ui;
|
||||
[GenerateTypedNameReferences]
|
||||
public sealed partial class SummoningRuneMenu : FancyWindow
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entityManager = default!;
|
||||
[Dependency] private IEntityManager _entityManager = default!;
|
||||
|
||||
public event Action<NetEntity>? OnCultistSelected;
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@ namespace Content.Client.Card.Tarot;
|
||||
|
||||
public sealed class CardTarotSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly AppearanceSystem _appearance = default!;
|
||||
[Dependency] private readonly SpriteSystem _sprite = default!;
|
||||
[Dependency] private AppearanceSystem _appearance = default!;
|
||||
[Dependency] private SpriteSystem _sprite = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
|
||||
@@ -13,11 +13,11 @@ namespace Content.Client.Crayon;
|
||||
|
||||
public sealed class CrayonPreviewOverlay : Overlay
|
||||
{
|
||||
[Dependency] private readonly IInputManager _input = default!;
|
||||
[Dependency] private readonly IPlayerManager _player = default!;
|
||||
[Dependency] private readonly IEyeManager _eye = default!;
|
||||
[Dependency] private readonly IEntityManager _entMan = default!;
|
||||
[Dependency] private readonly IPrototypeManager _proto = default!;
|
||||
[Dependency] private IInputManager _input = default!;
|
||||
[Dependency] private IPlayerManager _player = default!;
|
||||
[Dependency] private IEyeManager _eye = default!;
|
||||
[Dependency] private IEntityManager _entMan = default!;
|
||||
[Dependency] private IPrototypeManager _proto = default!;
|
||||
|
||||
private readonly SpriteSystem _sprite;
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace Content.Client._Wega.DetailExaminable;
|
||||
|
||||
public sealed class DetailExaminableEui : BaseEui
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entManager = default!;
|
||||
[Dependency] private IEntityManager _entManager = default!;
|
||||
|
||||
private readonly DetailExaminableWindow _window;
|
||||
|
||||
|
||||
@@ -10,9 +10,9 @@ namespace Content.Client.DirtVisuals;
|
||||
|
||||
public sealed class DirtVisualsSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly AppearanceSystem _appearance = default!;
|
||||
[Dependency] private readonly SpriteSystem _sprite = default!;
|
||||
[Dependency] private readonly ClientClothingSystem _clothing = default!;
|
||||
[Dependency] private AppearanceSystem _appearance = default!;
|
||||
[Dependency] private SpriteSystem _sprite = default!;
|
||||
[Dependency] private ClientClothingSystem _clothing = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
|
||||
@@ -6,8 +6,8 @@ namespace Content.Client.Shower
|
||||
{
|
||||
public sealed class ShowerSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly AppearanceSystem _appearance = default!;
|
||||
[Dependency] private readonly SpriteSystem _sprite = default!;
|
||||
[Dependency] private AppearanceSystem _appearance = default!;
|
||||
[Dependency] private SpriteSystem _sprite = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
|
||||
@@ -6,8 +6,8 @@ namespace Content.Client.WashingMachine
|
||||
{
|
||||
public sealed class WashingMachineSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly AppearanceSystem _appearance = default!;
|
||||
[Dependency] private readonly SpriteSystem _sprite = default!;
|
||||
[Dependency] private AppearanceSystem _appearance = default!;
|
||||
[Dependency] private SpriteSystem _sprite = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
|
||||
@@ -14,8 +14,8 @@ namespace Content.Client._Wega.GPS.UI;
|
||||
|
||||
public sealed class GpsNavMapControl : Control
|
||||
{
|
||||
[Dependency] private readonly IResourceCache _resourceCache = default!;
|
||||
[Dependency] private readonly IEntityManager _entityManager = default!;
|
||||
[Dependency] private IResourceCache _resourceCache = default!;
|
||||
[Dependency] private IEntityManager _entityManager = default!;
|
||||
|
||||
private EntityUid? _mapUid;
|
||||
private List<GpsDeviceInfo> _gpsDevices = new();
|
||||
|
||||
@@ -9,9 +9,9 @@ namespace Content.Client.Genetics.System;
|
||||
|
||||
public sealed class DizzyOverlay : Overlay
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entityManager = default!;
|
||||
[Dependency] private readonly IPlayerManager _playerManager = default!;
|
||||
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
||||
[Dependency] private IEntityManager _entityManager = default!;
|
||||
[Dependency] private IPlayerManager _playerManager = default!;
|
||||
[Dependency] private IPrototypeManager _prototypeManager = default!;
|
||||
|
||||
private static readonly ProtoId<ShaderPrototype> Dizzy = "Dizzy";
|
||||
public override OverlaySpace Space => OverlaySpace.WorldSpace;
|
||||
|
||||
@@ -7,8 +7,8 @@ namespace Content.Client.Genetics.System;
|
||||
|
||||
public sealed class DizzySystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly IPlayerManager _player = default!;
|
||||
[Dependency] private readonly IOverlayManager _overlayMan = default!;
|
||||
[Dependency] private IPlayerManager _player = default!;
|
||||
[Dependency] private IOverlayManager _overlayMan = default!;
|
||||
|
||||
private DizzyOverlay _overlay = default!;
|
||||
|
||||
|
||||
@@ -20,10 +20,10 @@ namespace Content.Client._Wega.Genetics.Ui;
|
||||
[GenerateTypedNameReferences]
|
||||
public sealed partial class DnaModifierWindow : FancyWindow
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entManager = default!;
|
||||
[Dependency] private readonly IEntityNetworkManager _entNetworkManager = default!;
|
||||
[Dependency] private readonly IGameTiming _gameTiming = default!;
|
||||
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
||||
[Dependency] private IEntityManager _entManager = default!;
|
||||
[Dependency] private IEntityNetworkManager _entNetworkManager = default!;
|
||||
[Dependency] private IGameTiming _gameTiming = default!;
|
||||
[Dependency] private IPrototypeManager _prototypeManager = default!;
|
||||
|
||||
private static TimeSpan? _releverationsButtonCooldown;
|
||||
private static TimeSpan? _releveration1ButtonCooldown;
|
||||
|
||||
@@ -12,9 +12,9 @@ namespace Content.Client._Wega.Genetics.Ui;
|
||||
[GenerateTypedNameReferences]
|
||||
public sealed partial class MindCommunicationPanel : DefaultWindow
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entityManager = default!;
|
||||
[Dependency] private readonly IEntityNetworkManager _entityNetworkManager = default!;
|
||||
[Dependency] private readonly ISharedPlayerManager _playerManager = default!;
|
||||
[Dependency] private IEntityManager _entityManager = default!;
|
||||
[Dependency] private IEntityNetworkManager _entityNetworkManager = default!;
|
||||
[Dependency] private ISharedPlayerManager _playerManager = default!;
|
||||
|
||||
public MindCommunicationPanel()
|
||||
{
|
||||
|
||||
@@ -8,8 +8,8 @@ namespace Content.Client._Wega.Genetics.Ui;
|
||||
|
||||
public sealed class MindCommunicationUIController : UIController
|
||||
{
|
||||
[Dependency] private readonly IUserInterfaceManager _uiManager = default!;
|
||||
[Dependency] private readonly IEntityManager _entityManager = default!;
|
||||
[Dependency] private IUserInterfaceManager _uiManager = default!;
|
||||
[Dependency] private IEntityManager _entityManager = default!;
|
||||
|
||||
private MindCommunicationPanel? _panel;
|
||||
private bool _panelDisposed = false;
|
||||
|
||||
@@ -6,7 +6,7 @@ namespace Content.Client.Humanoid;
|
||||
|
||||
public sealed class HumanoidHeightSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly SpriteSystem _sprite = default!;
|
||||
[Dependency] private SpriteSystem _sprite = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace Content.Client._Wega.Item.Selector.UI;
|
||||
[UsedImplicitly]
|
||||
public sealed class ItemSelectorBoundUserInterface : BoundUserInterface
|
||||
{
|
||||
[Dependency] private readonly ISharedPlayerManager _playerManager = default!;
|
||||
[Dependency] private ISharedPlayerManager _playerManager = default!;
|
||||
|
||||
[ViewVariables]
|
||||
private ItemSelectorWindow? _window;
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace Content.Client._Wega.Item.Selector.UI;
|
||||
[GenerateTypedNameReferences]
|
||||
public sealed partial class ItemSelectorWindow : RadialMenu
|
||||
{
|
||||
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
||||
[Dependency] private IPrototypeManager _prototypeManager = default!;
|
||||
|
||||
public event Action<EntProtoId>? OnItemSelected;
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace Content.Client._Wega.Item.Selector.UI;
|
||||
[GenerateTypedNameReferences]
|
||||
public sealed partial class ObjectSelectorWindow : RadialMenu
|
||||
{
|
||||
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
||||
[Dependency] private IPrototypeManager _prototypeManager = default!;
|
||||
|
||||
public event Action<EntProtoId>? OnObjectSelected;
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace Content.Client._Wega.Lavaland;
|
||||
[GenerateTypedNameReferences]
|
||||
public sealed partial class LavalandConsoleWindow : FancyWindow
|
||||
{
|
||||
[Dependency] private readonly IGameTiming _gameTiming = default!;
|
||||
[Dependency] private IGameTiming _gameTiming = default!;
|
||||
|
||||
public Action? OnCallButtonPressed;
|
||||
private TimeSpan? _cooldownEndTime;
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace Content.Client._Wega.Lavaland;
|
||||
[GenerateTypedNameReferences]
|
||||
public sealed partial class LavalandPenalServitudeConsoleWindow : FancyWindow
|
||||
{
|
||||
[Dependency] private readonly IGameTiming _gameTiming = default!;
|
||||
[Dependency] private IGameTiming _gameTiming = default!;
|
||||
|
||||
public Action? OnCallButtonPressed;
|
||||
private TimeSpan? _cooldownEndTime;
|
||||
|
||||
@@ -15,8 +15,8 @@ namespace Content.Client._Wega.Lavaland;
|
||||
[GenerateTypedNameReferences]
|
||||
public sealed partial class UtilityVendorMenu : FancyWindow
|
||||
{
|
||||
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
||||
[Dependency] private readonly IDependencyCollection _dependencies = default!;
|
||||
[Dependency] private IPrototypeManager _prototypeManager = default!;
|
||||
[Dependency] private IDependencyCollection _dependencies = default!;
|
||||
|
||||
public event Action<string>? OnPurchase;
|
||||
|
||||
|
||||
@@ -3,8 +3,8 @@ using Robust.Client.GameObjects;
|
||||
|
||||
public sealed class InjectorFabticatorSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly AppearanceSystem _appearance = default!;
|
||||
[Dependency] private readonly SpriteSystem _sprite = default!;
|
||||
[Dependency] private AppearanceSystem _appearance = default!;
|
||||
[Dependency] private SpriteSystem _sprite = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
|
||||
@@ -14,8 +14,8 @@ namespace Content.Client._Wega.Medical.Ui;
|
||||
[GenerateTypedNameReferences]
|
||||
public sealed partial class InjectorFabticatorWindow : FancyWindow
|
||||
{
|
||||
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
||||
[Dependency] private readonly IEntityManager _entityManager = default!;
|
||||
[Dependency] private IPrototypeManager _prototypeManager = default!;
|
||||
[Dependency] private IEntityManager _entityManager = default!;
|
||||
|
||||
public event Action? EjectButtonPressed;
|
||||
public event Action<int, string?>? ProduceButtonPressed;
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace Content.Client._Wega.ModularSuit.Ui;
|
||||
[GenerateTypedNameReferences]
|
||||
public sealed partial class ModularSuitWindow : BaseWindow
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entMan = default!;
|
||||
[Dependency] private IEntityManager _entMan = default!;
|
||||
|
||||
private Dictionary<NetEntity, ModuleControl> _moduleControls = new();
|
||||
private Dictionary<SuitPartType, PartControl> _partControls = new();
|
||||
|
||||
@@ -9,10 +9,10 @@ namespace Content.Client.NullRod;
|
||||
|
||||
public sealed class NullDamageOverlay : Overlay
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entityManager = default!;
|
||||
[Dependency] private readonly IPlayerManager _playerManager = default!;
|
||||
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
||||
[Dependency] private readonly IGameTiming _gameTiming = default!;
|
||||
[Dependency] private IEntityManager _entityManager = default!;
|
||||
[Dependency] private IPlayerManager _playerManager = default!;
|
||||
[Dependency] private IPrototypeManager _prototypeManager = default!;
|
||||
[Dependency] private IGameTiming _gameTiming = default!;
|
||||
|
||||
private static readonly ProtoId<ShaderPrototype> NullDamageShader = "NullDamage";
|
||||
public override OverlaySpace Space => OverlaySpace.ScreenSpace;
|
||||
|
||||
@@ -7,8 +7,8 @@ namespace Content.Client.NullRod;
|
||||
|
||||
public sealed class NullDamageSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly IPlayerManager _player = default!;
|
||||
[Dependency] private readonly IOverlayManager _overlayMan = default!;
|
||||
[Dependency] private IPlayerManager _player = default!;
|
||||
[Dependency] private IOverlayManager _overlayMan = default!;
|
||||
|
||||
private NullDamageOverlay _overlay = default!;
|
||||
|
||||
|
||||
@@ -9,8 +9,8 @@ namespace Content.Client.Offer;
|
||||
|
||||
public sealed class OfferItemIndicatorsOverlay : Overlay
|
||||
{
|
||||
[Dependency] private readonly IInputManager _inputManager = default!;
|
||||
[Dependency] private readonly IPlayerManager _player = default!;
|
||||
[Dependency] private IInputManager _inputManager = default!;
|
||||
[Dependency] private IPlayerManager _player = default!;
|
||||
|
||||
private readonly Texture _indicatorTexture;
|
||||
|
||||
|
||||
@@ -7,8 +7,8 @@ namespace Content.Client.Offer;
|
||||
|
||||
public sealed class OfferItemSystem : SharedOfferItemSystem
|
||||
{
|
||||
[Dependency] private readonly IOverlayManager _overlay = default!;
|
||||
[Dependency] private readonly IPlayerManager _player = default!;
|
||||
[Dependency] private IOverlayManager _overlay = default!;
|
||||
[Dependency] private IPlayerManager _player = default!;
|
||||
|
||||
private OfferItemIndicatorsOverlay? _overlayInstance;
|
||||
|
||||
|
||||
@@ -8,9 +8,9 @@ namespace Content.Client.Shaders.Systems;
|
||||
|
||||
public sealed class ColourblindnessOverlay : Overlay
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entityManager = default!;
|
||||
[Dependency] private readonly IPlayerManager _playerManager = default!;
|
||||
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
||||
[Dependency] private IEntityManager _entityManager = default!;
|
||||
[Dependency] private IPlayerManager _playerManager = default!;
|
||||
[Dependency] private IPrototypeManager _prototypeManager = default!;
|
||||
|
||||
private static readonly ProtoId<ShaderPrototype> Colourblindness = "Colourblindness";
|
||||
public override OverlaySpace Space => OverlaySpace.ScreenSpace;
|
||||
|
||||
@@ -8,8 +8,8 @@ namespace Content.Client.Shaders.System;
|
||||
|
||||
public sealed class ColourblindnessSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly IPlayerManager _player = default!;
|
||||
[Dependency] private readonly IOverlayManager _overlayMan = default!;
|
||||
[Dependency] private IPlayerManager _player = default!;
|
||||
[Dependency] private IOverlayManager _overlayMan = default!;
|
||||
|
||||
private ColourblindnessOverlay _overlay = default!;
|
||||
|
||||
|
||||
@@ -14,8 +14,8 @@ namespace Content.Client._Wega.Overlays;
|
||||
|
||||
public sealed class ListenUpOverlay : Overlay
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entity = default!;
|
||||
[Dependency] private readonly IPlayerManager _players = default!;
|
||||
[Dependency] private IEntityManager _entity = default!;
|
||||
[Dependency] private IPlayerManager _players = default!;
|
||||
|
||||
private readonly EntityLookupSystem _entityLookup;
|
||||
private readonly TransformSystem _transformSystem;
|
||||
|
||||
@@ -8,8 +8,8 @@ namespace Content.Client._Wega.Overlays;
|
||||
|
||||
public sealed class ListenUpSystem : SharedListenUpSkillSystem
|
||||
{
|
||||
[Dependency] private readonly IPlayerManager _player = default!;
|
||||
[Dependency] private readonly IOverlayManager _overlayMan = default!;
|
||||
[Dependency] private IPlayerManager _player = default!;
|
||||
[Dependency] private IOverlayManager _overlayMan = default!;
|
||||
|
||||
private ListenUpOverlay _listenUpOverlay = default!;
|
||||
|
||||
|
||||
@@ -8,8 +8,8 @@ namespace Content.Client.Overlays;
|
||||
|
||||
public sealed partial class RaveOverlay : Overlay
|
||||
{
|
||||
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
||||
[Dependency] private readonly IGameTiming _gameTiming = default!;
|
||||
[Dependency] private IPrototypeManager _prototypeManager = default!;
|
||||
[Dependency] private IGameTiming _gameTiming = default!;
|
||||
|
||||
private static readonly ProtoId<ShaderPrototype> Shader = "Rave";
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ namespace Content.Client.Overlays;
|
||||
|
||||
public sealed partial class RaveOverlaySystem : EquipmentHudSystem<RaveOverlayComponent>
|
||||
{
|
||||
[Dependency] private readonly IOverlayManager _overlayMan = default!;
|
||||
[Dependency] private IOverlayManager _overlayMan = default!;
|
||||
|
||||
private RaveOverlay _overlay = default!;
|
||||
|
||||
|
||||
@@ -9,9 +9,9 @@ namespace Content.Client.Posing;
|
||||
|
||||
public sealed partial class PosingSystem : SharedPosingSystem
|
||||
{
|
||||
[Dependency] private readonly IInputManager _input = default!;
|
||||
[Dependency] private readonly IPlayerManager _playerManager = default!;
|
||||
[Dependency] private readonly SpriteSystem _sprite = default!;
|
||||
[Dependency] private IInputManager _input = default!;
|
||||
[Dependency] private IPlayerManager _playerManager = default!;
|
||||
[Dependency] private SpriteSystem _sprite = default!;
|
||||
|
||||
private readonly Dictionary<EntityUid, (
|
||||
Vector2 Offset,
|
||||
|
||||
@@ -8,9 +8,9 @@ namespace Content.Client.Shaders.Systems;
|
||||
|
||||
public sealed class NaturalNightVisionOverlay : Overlay
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entityManager = default!;
|
||||
[Dependency] private readonly IPlayerManager _playerManager = default!;
|
||||
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
||||
[Dependency] private IEntityManager _entityManager = default!;
|
||||
[Dependency] private IPlayerManager _playerManager = default!;
|
||||
[Dependency] private IPrototypeManager _prototypeManager = default!;
|
||||
|
||||
private static readonly ProtoId<ShaderPrototype> NaturalNightVision = "NaturalNightVision";
|
||||
public override OverlaySpace Space => OverlaySpace.WorldSpace;
|
||||
|
||||
@@ -9,10 +9,10 @@ namespace Content.Client.Shaders.Systems;
|
||||
|
||||
public sealed class NaturalNightVisionSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly IPlayerManager _playerManager = default!;
|
||||
[Dependency] private readonly IOverlayManager _overlayManager = default!;
|
||||
[Dependency] private readonly ILightManager _lightManager = default!;
|
||||
[Dependency] private readonly SharedActionsSystem _action = default!;
|
||||
[Dependency] private IPlayerManager _playerManager = default!;
|
||||
[Dependency] private IOverlayManager _overlayManager = default!;
|
||||
[Dependency] private ILightManager _lightManager = default!;
|
||||
[Dependency] private SharedActionsSystem _action = default!;
|
||||
|
||||
private NaturalNightVisionOverlay _overlay = default!;
|
||||
|
||||
|
||||
@@ -10,10 +10,10 @@ namespace Content.Client.Shaders.Systems;
|
||||
|
||||
public sealed class NightVisionOverlay : Overlay
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entityManager = default!;
|
||||
[Dependency] private readonly IPlayerManager _playerManager = default!;
|
||||
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
||||
[Dependency] private readonly IGameTiming _gameTiming = default!;
|
||||
[Dependency] private IEntityManager _entityManager = default!;
|
||||
[Dependency] private IPlayerManager _playerManager = default!;
|
||||
[Dependency] private IPrototypeManager _prototypeManager = default!;
|
||||
[Dependency] private IGameTiming _gameTiming = default!;
|
||||
|
||||
private static readonly ProtoId<ShaderPrototype> NightVision = "NightVision";
|
||||
public override OverlaySpace Space => OverlaySpace.WorldSpace;
|
||||
|
||||
@@ -8,8 +8,8 @@ namespace Content.Client.Shaders.Systems;
|
||||
|
||||
public sealed class NightVisionSystem : ToggleableEquipmentHudSystem<NightVisionComponent>
|
||||
{
|
||||
[Dependency] private readonly IOverlayManager _overlayMan = default!;
|
||||
[Dependency] private readonly ILightManager _lightManager = default!;
|
||||
[Dependency] private IOverlayManager _overlayMan = default!;
|
||||
[Dependency] private ILightManager _lightManager = default!;
|
||||
|
||||
private NightVisionOverlay _overlay = default!;
|
||||
|
||||
|
||||
@@ -8,9 +8,9 @@ namespace Content.Client.Shaders.Systems;
|
||||
|
||||
public sealed class NoirVisionOverlay : Overlay
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entityManager = default!;
|
||||
[Dependency] private readonly IPlayerManager _playerManager = default!;
|
||||
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
||||
[Dependency] private IEntityManager _entityManager = default!;
|
||||
[Dependency] private IPlayerManager _playerManager = default!;
|
||||
[Dependency] private IPrototypeManager _prototypeManager = default!;
|
||||
|
||||
private static readonly ProtoId<ShaderPrototype> Noir = "Noir";
|
||||
public override OverlaySpace Space => OverlaySpace.WorldSpace;
|
||||
|
||||
@@ -9,8 +9,8 @@ namespace Content.Client.Shaders.System;
|
||||
|
||||
public sealed class NoirVisionSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly IPlayerManager _player = default!;
|
||||
[Dependency] private readonly IOverlayManager _overlayMan = default!;
|
||||
[Dependency] private IPlayerManager _player = default!;
|
||||
[Dependency] private IOverlayManager _overlayMan = default!;
|
||||
|
||||
private NoirVisionOverlay _overlay = default!;
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace Content.Client._Wega.Surgery.Ui;
|
||||
[UsedImplicitly]
|
||||
public sealed class SurgeryBoundUserInterface : BoundUserInterface
|
||||
{
|
||||
[Dependency] private readonly ISharedPlayerManager _playerManager = default!;
|
||||
[Dependency] private ISharedPlayerManager _playerManager = default!;
|
||||
|
||||
[ViewVariables]
|
||||
private SurgeryWindow? _window;
|
||||
|
||||
@@ -6,7 +6,7 @@ namespace Content.Client.TapeRecorder.Ui;
|
||||
|
||||
public sealed class TapeRecorderBoundUserInterface(EntityUid owner, Enum uiKey) : BoundUserInterface(owner, uiKey)
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entMan = default!;
|
||||
[Dependency] private IEntityManager _entMan = default!;
|
||||
|
||||
[ViewVariables]
|
||||
private TapeRecorderWindow? _window;
|
||||
|
||||
@@ -11,8 +11,8 @@ namespace Content.Client._Wega.Vampire.Ui;
|
||||
[GenerateTypedNameReferences]
|
||||
public sealed partial class DissectSelectionMenu : RadialMenu
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entityManager = default!;
|
||||
[Dependency] private readonly IPrototypeManager _prototype = default!;
|
||||
[Dependency] private IEntityManager _entityManager = default!;
|
||||
[Dependency] private IPrototypeManager _prototype = default!;
|
||||
|
||||
public event Action<NetEntity>? OnOrganSelected;
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace Content.Client._Wega.Vampire.Ui;
|
||||
[GenerateTypedNameReferences]
|
||||
public sealed partial class TrophiesMenu : FancyWindow
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entityManager = default!;
|
||||
[Dependency] private IEntityManager _entityManager = default!;
|
||||
private readonly SpriteSystem _spriteSystem;
|
||||
|
||||
private static readonly Dictionary<BestiaOrganType, EntProtoId> DefaultOrganProto = new()
|
||||
|
||||
@@ -14,11 +14,11 @@ namespace Content.Client.Vampire;
|
||||
|
||||
public sealed class VampireSystem : SharedVampireSystem
|
||||
{
|
||||
[Dependency] private readonly GhostSystem? _ghost = default;
|
||||
[Dependency] private readonly IClientAdminManager _admin = default!;
|
||||
[Dependency] private readonly IPlayerManager _playerManager = default!;
|
||||
[Dependency] private readonly IPrototypeManager _prototype = default!;
|
||||
[Dependency] private readonly SpriteSystem _sprite = default!;
|
||||
[Dependency] private GhostSystem? _ghost = default;
|
||||
[Dependency] private IClientAdminManager _admin = default!;
|
||||
[Dependency] private IPlayerManager _playerManager = default!;
|
||||
[Dependency] private IPrototypeManager _prototype = default!;
|
||||
[Dependency] private SpriteSystem _sprite = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ namespace Content.Client.Vehicle;
|
||||
|
||||
public sealed class VehicleSystem : SharedVehicleSystem
|
||||
{
|
||||
[Dependency] private readonly SpriteSystem _sprite = default!;
|
||||
[Dependency] private SpriteSystem _sprite = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace Content.Client._Wega.VeilCult.UI;
|
||||
[GenerateTypedNameReferences]
|
||||
public sealed partial class EnchantWindow : RadialMenu
|
||||
{
|
||||
[Dependency] private readonly IPrototypeManager _prototype = default!;
|
||||
[Dependency] private IPrototypeManager _prototype = default!;
|
||||
|
||||
public event Action<EntProtoId>? OnEnchantSelected;
|
||||
private List<EntProtoId> _enchants = new();
|
||||
|
||||
@@ -9,8 +9,8 @@ namespace Content.Client.Veil.Cult
|
||||
{
|
||||
public sealed class VeilCultSystem : SharedVeilCultSystem
|
||||
{
|
||||
[Dependency] private readonly IPrototypeManager _prototype = default!;
|
||||
[Dependency] private readonly SpriteSystem _sprite = default!;
|
||||
[Dependency] private IPrototypeManager _prototype = default!;
|
||||
[Dependency] private SpriteSystem _sprite = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
|
||||
@@ -7,9 +7,9 @@ namespace Content.Client.VentCraw;
|
||||
|
||||
public sealed class VentCrawVisionSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly IGameTiming _timing = default!;
|
||||
[Dependency] private readonly IPlayerManager _player = default!;
|
||||
[Dependency] private readonly SubFloorHideSystem _subFloorHideSystem = default!;
|
||||
[Dependency] private IGameTiming _timing = default!;
|
||||
[Dependency] private IPlayerManager _player = default!;
|
||||
[Dependency] private SubFloorHideSystem _subFloorHideSystem = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
|
||||
@@ -6,8 +6,8 @@ namespace Content.Client.Visuals;
|
||||
|
||||
public sealed class FadeSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly IGameTiming _gameTiming = default!;
|
||||
[Dependency] private readonly SpriteSystem _sprite = default!;
|
||||
[Dependency] private IGameTiming _gameTiming = default!;
|
||||
[Dependency] private SpriteSystem _sprite = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Content.Client.Visuals;
|
||||
/// </summary>
|
||||
public sealed class VisualStateSystem : VisualizerSystem<VisualStateComponent>
|
||||
{
|
||||
[Dependency] private readonly SharedItemSystem _item = default!;
|
||||
[Dependency] private SharedItemSystem _item = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
|
||||
@@ -10,8 +10,8 @@ namespace Content.Client._Wega.Voucher;
|
||||
[UsedImplicitly]
|
||||
public sealed class VoucherBoundUserInterface : BoundUserInterface
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entMan = default!;
|
||||
[Dependency] private readonly ISharedPlayerManager _playerManager = default!;
|
||||
[Dependency] private IEntityManager _entMan = default!;
|
||||
[Dependency] private ISharedPlayerManager _playerManager = default!;
|
||||
|
||||
[ViewVariables]
|
||||
private VoucherKitWindow? _window;
|
||||
|
||||
@@ -13,8 +13,8 @@ namespace Content.Client._Wega.Voucher;
|
||||
[GenerateTypedNameReferences]
|
||||
public sealed partial class VoucherKitWindow : RadialMenu
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entMan = default!;
|
||||
[Dependency] private readonly IPrototypeManager _prototype = default!;
|
||||
[Dependency] private IEntityManager _entMan = default!;
|
||||
[Dependency] private IPrototypeManager _prototype = default!;
|
||||
private readonly SpriteSystem _sprite;
|
||||
|
||||
public event Action<ProtoId<VoucherKitPrototype>>? OnKitSelected;
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace Content.Client._Wega.Xenobiology;
|
||||
|
||||
public sealed class CellVisualsSystem : SharedCellVisualsSystem
|
||||
{
|
||||
[Dependency] private readonly SpriteSystem _sprite = default!;
|
||||
[Dependency] private SpriteSystem _sprite = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
|
||||
@@ -8,8 +8,8 @@ namespace Content.Client._Wega.Xenobiology;
|
||||
|
||||
public sealed class SlimeVisualSystem : SharedSlimeVisualSystem
|
||||
{
|
||||
[Dependency] private readonly SharedAppearanceSystem _appearance = default!;
|
||||
[Dependency] private readonly SpriteSystem _sprite = default!;
|
||||
[Dependency] private SharedAppearanceSystem _appearance = default!;
|
||||
[Dependency] private SpriteSystem _sprite = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace Content.Client._Wega.Xenobiology.UI;
|
||||
[GenerateTypedNameReferences]
|
||||
public sealed partial class CellSequencerWindow : FancyWindow
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entity = default!;
|
||||
[Dependency] private IEntityManager _entity = default!;
|
||||
|
||||
private readonly CellSystem _cell;
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace Content.Client._Wega.Xenobiology.UI;
|
||||
[GenerateTypedNameReferences]
|
||||
public sealed partial class CellularFusionWindow : FancyWindow
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entity = default!;
|
||||
[Dependency] private IEntityManager _entity = default!;
|
||||
|
||||
private readonly CellSystem _cell;
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace Content.Client._Wega.Xenobiology.UI;
|
||||
[GenerateTypedNameReferences]
|
||||
public sealed partial class SlimeAnalyzerWindow : FancyWindow
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entityManager = default!;
|
||||
[Dependency] private IEntityManager _entityManager = default!;
|
||||
|
||||
public SlimeAnalyzerWindow()
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ namespace Content.Server.Achievements;
|
||||
|
||||
public sealed partial class AchievementsSystem : SharedAchievementsSystem
|
||||
{
|
||||
[Dependency] private readonly IServerDbManager _db = default!;
|
||||
[Dependency] private IServerDbManager _db = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
|
||||
@@ -14,9 +14,9 @@ namespace Content.Server.Administration.Commands;
|
||||
[AdminCommand(AdminFlags.Permissions)]
|
||||
public sealed class AchievementsGrantCommand : IConsoleCommand
|
||||
{
|
||||
[Dependency] private readonly IPlayerManager _playerManager = default!;
|
||||
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
||||
[Dependency] private readonly IServerDbManager _db = default!;
|
||||
[Dependency] private IPlayerManager _playerManager = default!;
|
||||
[Dependency] private IPrototypeManager _prototypeManager = default!;
|
||||
[Dependency] private IServerDbManager _db = default!;
|
||||
|
||||
public string Command => "achievements_grant";
|
||||
public string Description => Loc.GetString("cmd-achievements_grant-desc");
|
||||
@@ -102,9 +102,9 @@ public sealed class AchievementsGrantCommand : IConsoleCommand
|
||||
[AdminCommand(AdminFlags.Permissions)]
|
||||
public sealed class AchievementsRevokeCommand : IConsoleCommand
|
||||
{
|
||||
[Dependency] private readonly IPlayerManager _playerManager = default!;
|
||||
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
||||
[Dependency] private readonly IServerDbManager _db = default!;
|
||||
[Dependency] private IPlayerManager _playerManager = default!;
|
||||
[Dependency] private IPrototypeManager _prototypeManager = default!;
|
||||
[Dependency] private IServerDbManager _db = default!;
|
||||
|
||||
public string Command => "achievements_revoke";
|
||||
public string Description => Loc.GetString("cmd-achievements_revoke-desc");
|
||||
@@ -195,9 +195,9 @@ public sealed class AchievementsRevokeCommand : IConsoleCommand
|
||||
[AdminCommand(AdminFlags.Permissions)]
|
||||
public sealed class AchievementsGrantAllCommand : IConsoleCommand
|
||||
{
|
||||
[Dependency] private readonly IPlayerManager _playerManager = default!;
|
||||
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
||||
[Dependency] private readonly IServerDbManager _db = default!;
|
||||
[Dependency] private IPlayerManager _playerManager = default!;
|
||||
[Dependency] private IPrototypeManager _prototypeManager = default!;
|
||||
[Dependency] private IServerDbManager _db = default!;
|
||||
|
||||
public string Command => "achievements_grantall";
|
||||
public string Description => Loc.GetString("cmd-achievements_grantall-desc");
|
||||
@@ -250,8 +250,8 @@ public sealed class AchievementsGrantAllCommand : IConsoleCommand
|
||||
[AdminCommand(AdminFlags.Permissions)]
|
||||
public sealed class AchievementsClearCommand : IConsoleCommand
|
||||
{
|
||||
[Dependency] private readonly IPlayerManager _playerManager = default!;
|
||||
[Dependency] private readonly IServerDbManager _db = default!;
|
||||
[Dependency] private IPlayerManager _playerManager = default!;
|
||||
[Dependency] private IServerDbManager _db = default!;
|
||||
|
||||
public string Command => "achievements_clear";
|
||||
public string Description => Loc.GetString("cmd-achievements_clear-desc");
|
||||
@@ -295,9 +295,9 @@ public sealed class AchievementsClearCommand : IConsoleCommand
|
||||
[AdminCommand(AdminFlags.Admin)]
|
||||
public sealed class AchievementsListCommand : IConsoleCommand
|
||||
{
|
||||
[Dependency] private readonly IPlayerManager _playerManager = default!;
|
||||
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
||||
[Dependency] private readonly IServerDbManager _db = default!;
|
||||
[Dependency] private IPlayerManager _playerManager = default!;
|
||||
[Dependency] private IPrototypeManager _prototypeManager = default!;
|
||||
[Dependency] private IServerDbManager _db = default!;
|
||||
|
||||
public string Command => "achievements_list";
|
||||
public string Description => Loc.GetString("cmd-achievements_list-desc");
|
||||
|
||||
@@ -10,9 +10,9 @@ namespace Content.Server.Administration.Commands;
|
||||
[AdminCommand(AdminFlags.Permissions)]
|
||||
public sealed class TimePackCommand : IConsoleCommand
|
||||
{
|
||||
[Dependency] private readonly IPlayerManager _playerManager = default!;
|
||||
[Dependency] private readonly IServerDbManager _db = default!;
|
||||
[Dependency] private readonly IPlayerLocator _locator = default!;
|
||||
[Dependency] private IPlayerManager _playerManager = default!;
|
||||
[Dependency] private IServerDbManager _db = default!;
|
||||
[Dependency] private IPlayerLocator _locator = default!;
|
||||
|
||||
public string Command => "timepack";
|
||||
public string Description => "Executes a set of commands based on the selected pack(s)";
|
||||
|
||||
@@ -15,14 +15,14 @@ namespace Content.Server._Wega.Aliens.Facehugger;
|
||||
|
||||
public sealed class FacehuggerSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly EntityLookupSystem _lookup = default!;
|
||||
[Dependency] private readonly InventorySystem _inventory = default!;
|
||||
[Dependency] private readonly SharedContainerSystem _container = default!;
|
||||
[Dependency] private readonly SharedInteractionSystem _interaction = default!;
|
||||
[Dependency] private readonly MobStateSystem _mobState = default!;
|
||||
[Dependency] private readonly StatusEffectsSystem _statusEffects = default!;
|
||||
[Dependency] private readonly IGameTiming _timing = default!;
|
||||
[Dependency] private readonly ThrownItemSystem _thrown = default!;
|
||||
[Dependency] private EntityLookupSystem _lookup = default!;
|
||||
[Dependency] private InventorySystem _inventory = default!;
|
||||
[Dependency] private SharedContainerSystem _container = default!;
|
||||
[Dependency] private SharedInteractionSystem _interaction = default!;
|
||||
[Dependency] private MobStateSystem _mobState = default!;
|
||||
[Dependency] private StatusEffectsSystem _statusEffects = default!;
|
||||
[Dependency] private IGameTiming _timing = default!;
|
||||
[Dependency] private ThrownItemSystem _thrown = default!;
|
||||
|
||||
private static readonly TimeSpan SleepDuration = TimeSpan.FromSeconds(4);
|
||||
|
||||
|
||||
@@ -16,14 +16,14 @@ namespace Content.Server._Wega.Android;
|
||||
|
||||
public sealed partial class AndroidFrameSystem : SharedAndroidFrameSystem
|
||||
{
|
||||
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
||||
[Dependency] private readonly ContainerSystem _container = default!;
|
||||
[Dependency] private readonly HumanoidProfileSystem _humanoid = default!;
|
||||
[Dependency] private readonly VisualBodySystem _visualBody = default!;
|
||||
[Dependency] private readonly MetaDataSystem _metaData = default!;
|
||||
[Dependency] private readonly NamingSystem _naming = default!;
|
||||
[Dependency] private readonly PopupSystem _popup = default!;
|
||||
[Dependency] private readonly AudioSystem _audio = default!;
|
||||
[Dependency] private IPrototypeManager _prototypeManager = default!;
|
||||
[Dependency] private ContainerSystem _container = default!;
|
||||
[Dependency] private HumanoidProfileSystem _humanoid = default!;
|
||||
[Dependency] private VisualBodySystem _visualBody = default!;
|
||||
[Dependency] private MetaDataSystem _metaData = default!;
|
||||
[Dependency] private NamingSystem _naming = default!;
|
||||
[Dependency] private PopupSystem _popup = default!;
|
||||
[Dependency] private AudioSystem _audio = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
|
||||
@@ -25,22 +25,22 @@ namespace Content.Server.Android;
|
||||
|
||||
public sealed partial class AndroidSystem : SharedAndroidSystem
|
||||
{
|
||||
[Dependency] private readonly IGameTiming _timing = default!;
|
||||
[Dependency] private readonly IRobustRandom _random = default!;
|
||||
[Dependency] private readonly ItemToggleSystem _toggle = default!;
|
||||
[Dependency] private readonly SharedMindSystem _mind = default!;
|
||||
[Dependency] private readonly MobStateSystem _mobState = default!;
|
||||
[Dependency] private readonly MovementSpeedModifierSystem _movementSpeedModifier = default!;
|
||||
[Dependency] private readonly PowerCellSystem _powerCell = default!;
|
||||
[Dependency] private readonly ActionsSystem _actions = default!;
|
||||
[Dependency] private readonly LockSystem _lock = default!;
|
||||
[Dependency] private readonly AudioSystem _audio = default!;
|
||||
[Dependency] private readonly PopupSystem _popup = default!;
|
||||
[Dependency] private readonly PointLightSystem _pointLight = default!;
|
||||
[Dependency] private readonly StunSystem _stun = default!;
|
||||
[Dependency] private readonly SharedContainerSystem _container = default!;
|
||||
[Dependency] private readonly AppearanceSystem _appearance = default!;
|
||||
[Dependency] private readonly SharedVisualBodySystem _visualBody = default!;
|
||||
[Dependency] private IGameTiming _timing = default!;
|
||||
[Dependency] private IRobustRandom _random = default!;
|
||||
[Dependency] private ItemToggleSystem _toggle = default!;
|
||||
[Dependency] private SharedMindSystem _mind = default!;
|
||||
[Dependency] private MobStateSystem _mobState = default!;
|
||||
[Dependency] private MovementSpeedModifierSystem _movementSpeedModifier = default!;
|
||||
[Dependency] private PowerCellSystem _powerCell = default!;
|
||||
[Dependency] private ActionsSystem _actions = default!;
|
||||
[Dependency] private LockSystem _lock = default!;
|
||||
[Dependency] private AudioSystem _audio = default!;
|
||||
[Dependency] private PopupSystem _popup = default!;
|
||||
[Dependency] private PointLightSystem _pointLight = default!;
|
||||
[Dependency] private StunSystem _stun = default!;
|
||||
[Dependency] private SharedContainerSystem _container = default!;
|
||||
[Dependency] private AppearanceSystem _appearance = default!;
|
||||
[Dependency] private SharedVisualBodySystem _visualBody = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
|
||||
@@ -6,8 +6,8 @@ namespace Content.Server.CoreTempChange.Effects;
|
||||
|
||||
public sealed class CoreTempChangeSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly AtmosphereSystem _atmosphere = default!;
|
||||
[Dependency] private readonly TransformSystem _xform = default!;
|
||||
[Dependency] private AtmosphereSystem _atmosphere = default!;
|
||||
[Dependency] private TransformSystem _xform = default!;
|
||||
|
||||
public override void Update(float frameTime)
|
||||
{
|
||||
|
||||
@@ -14,10 +14,10 @@ namespace Content.Server.Speech.Synthesis.System;
|
||||
/// </summary>
|
||||
public sealed class BarkSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly AudioSystem _audio = default!;
|
||||
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
||||
[Dependency] private readonly IConfigurationManager _configurationManager = default!;
|
||||
[Dependency] private readonly IEntityManager _entityManager = default!;
|
||||
[Dependency] private AudioSystem _audio = default!;
|
||||
[Dependency] private IPrototypeManager _prototypeManager = default!;
|
||||
[Dependency] private IConfigurationManager _configurationManager = default!;
|
||||
[Dependency] private IEntityManager _entityManager = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
|
||||
@@ -53,27 +53,27 @@ namespace Content.Server.Blood.Cult;
|
||||
|
||||
public sealed partial class BloodCultSystem
|
||||
{
|
||||
[Dependency] private readonly BloodstreamSystem _blood = default!;
|
||||
[Dependency] private readonly ChatSystem _chat = default!;
|
||||
[Dependency] private readonly DamageableSystem _damage = default!;
|
||||
[Dependency] private readonly EmpSystem _emp = default!;
|
||||
[Dependency] private readonly EntityLookupSystem _entityLookup = default!;
|
||||
[Dependency] private readonly EuiManager _euiMan = default!;
|
||||
[Dependency] private readonly FixtureSystem _fixtures = default!;
|
||||
[Dependency] private readonly FlashSystem _flash = default!;
|
||||
[Dependency] private readonly HallucinationsSystem _hallucinations = default!;
|
||||
[Dependency] private readonly InventorySystem _inventory = default!;
|
||||
[Dependency] private readonly ISharedPlayerManager _player = default!;
|
||||
[Dependency] private readonly LoadoutSystem _loadout = default!;
|
||||
[Dependency] private readonly QuickDialogSystem _quickDialog = default!;
|
||||
[Dependency] private readonly SharedCuffableSystem _cuff = default!;
|
||||
[Dependency] private readonly SharedPhysicsSystem _physics = default!;
|
||||
[Dependency] private readonly SharedStackSystem _stack = default!;
|
||||
[Dependency] private readonly SharedStunSystem _stun = default!;
|
||||
[Dependency] private readonly SharedTransformSystem _transform = default!;
|
||||
[Dependency] private readonly StatusEffectsSystem _statusEffect = default!;
|
||||
[Dependency] private readonly UseDelaySystem _useDelay = default!;
|
||||
[Dependency] private readonly VisibilitySystem _visibility = default!;
|
||||
[Dependency] private BloodstreamSystem _blood = default!;
|
||||
[Dependency] private ChatSystem _chat = default!;
|
||||
[Dependency] private DamageableSystem _damage = default!;
|
||||
[Dependency] private EmpSystem _emp = default!;
|
||||
[Dependency] private EntityLookupSystem _entityLookup = default!;
|
||||
[Dependency] private EuiManager _euiMan = default!;
|
||||
[Dependency] private FixtureSystem _fixtures = default!;
|
||||
[Dependency] private FlashSystem _flash = default!;
|
||||
[Dependency] private HallucinationsSystem _hallucinations = default!;
|
||||
[Dependency] private InventorySystem _inventory = default!;
|
||||
[Dependency] private ISharedPlayerManager _player = default!;
|
||||
[Dependency] private LoadoutSystem _loadout = default!;
|
||||
[Dependency] private QuickDialogSystem _quickDialog = default!;
|
||||
[Dependency] private SharedCuffableSystem _cuff = default!;
|
||||
[Dependency] private SharedPhysicsSystem _physics = default!;
|
||||
[Dependency] private SharedStackSystem _stack = default!;
|
||||
[Dependency] private SharedStunSystem _stun = default!;
|
||||
[Dependency] private SharedTransformSystem _transform = default!;
|
||||
[Dependency] private StatusEffectsSystem _statusEffect = default!;
|
||||
[Dependency] private UseDelaySystem _useDelay = default!;
|
||||
[Dependency] private VisibilitySystem _visibility = default!;
|
||||
|
||||
private static readonly SoundPathSpecifier CultSpell = new SoundPathSpecifier("/Audio/_Wega/Effects/cult_spell.ogg");
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace Content.Server.Blood.Cult;
|
||||
|
||||
public sealed partial class BloodCultSystem
|
||||
{
|
||||
[Dependency] private readonly ThrowingSystem _throwing = default!;
|
||||
[Dependency] private ThrowingSystem _throwing = default!;
|
||||
|
||||
private void InitializeEquipment()
|
||||
{
|
||||
|
||||
@@ -45,13 +45,13 @@ namespace Content.Server.Blood.Cult;
|
||||
|
||||
public sealed partial class BloodCultSystem
|
||||
{
|
||||
[Dependency] private readonly FlammableSystem _flammable = default!;
|
||||
[Dependency] private readonly GibbingSystem _gibbing = default!;
|
||||
[Dependency] private readonly IConsoleHost _consoleHost = default!;
|
||||
[Dependency] private readonly IMapManager _mapMan = default!;
|
||||
[Dependency] private readonly NavMapSystem _navMap = default!;
|
||||
[Dependency] private readonly RejuvenateSystem _rejuvenate = default!;
|
||||
[Dependency] private readonly SharedGhostSystem _ghost = default!;
|
||||
[Dependency] private FlammableSystem _flammable = default!;
|
||||
[Dependency] private GibbingSystem _gibbing = default!;
|
||||
[Dependency] private IConsoleHost _consoleHost = default!;
|
||||
[Dependency] private IMapManager _mapMan = default!;
|
||||
[Dependency] private NavMapSystem _navMap = default!;
|
||||
[Dependency] private RejuvenateSystem _rejuvenate = default!;
|
||||
[Dependency] private SharedGhostSystem _ghost = default!;
|
||||
|
||||
private static readonly EntProtoId BloodCultObserver = "MobObserverIfrit";
|
||||
|
||||
|
||||
@@ -46,24 +46,24 @@ namespace Content.Server.Blood.Cult;
|
||||
|
||||
public sealed partial class BloodCultSystem : SharedBloodCultSystem
|
||||
{
|
||||
[Dependency] private readonly AudioSystem _audio = default!;
|
||||
[Dependency] private readonly BloodCultRuleSystem _bloodCult = default!;
|
||||
[Dependency] private readonly IGameTiming _gameTiming = default!;
|
||||
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
||||
[Dependency] private readonly IRobustRandom _random = default!;
|
||||
[Dependency] private readonly MetaDataSystem _meta = default!;
|
||||
[Dependency] private readonly MobStateSystem _mobState = default!;
|
||||
[Dependency] private readonly RoundEndSystem _roundEndSystem = default!;
|
||||
[Dependency] private readonly ServerGlobalSoundSystem _sound = default!;
|
||||
[Dependency] private readonly SharedActionsSystem _action = default!;
|
||||
[Dependency] private readonly SharedAppearanceSystem _appearance = default!;
|
||||
[Dependency] private readonly SharedContainerSystem _container = default!;
|
||||
[Dependency] private readonly SharedDoAfterSystem _doAfterSystem = default!;
|
||||
[Dependency] private readonly SharedHandsSystem _hands = default!;
|
||||
[Dependency] private readonly SharedMindSystem _mind = default!;
|
||||
[Dependency] private readonly SharedPopupSystem _popup = default!;
|
||||
[Dependency] private readonly SharedSolutionContainerSystem _solution = default!;
|
||||
[Dependency] private readonly UserInterfaceSystem _ui = default!;
|
||||
[Dependency] private AudioSystem _audio = default!;
|
||||
[Dependency] private BloodCultRuleSystem _bloodCult = default!;
|
||||
[Dependency] private IGameTiming _gameTiming = default!;
|
||||
[Dependency] private IPrototypeManager _prototypeManager = default!;
|
||||
[Dependency] private IRobustRandom _random = default!;
|
||||
[Dependency] private MetaDataSystem _meta = default!;
|
||||
[Dependency] private MobStateSystem _mobState = default!;
|
||||
[Dependency] private RoundEndSystem _roundEndSystem = default!;
|
||||
[Dependency] private ServerGlobalSoundSystem _sound = default!;
|
||||
[Dependency] private SharedActionsSystem _action = default!;
|
||||
[Dependency] private SharedAppearanceSystem _appearance = default!;
|
||||
[Dependency] private SharedContainerSystem _container = default!;
|
||||
[Dependency] private SharedDoAfterSystem _doAfterSystem = default!;
|
||||
[Dependency] private SharedHandsSystem _hands = default!;
|
||||
[Dependency] private SharedMindSystem _mind = default!;
|
||||
[Dependency] private SharedPopupSystem _popup = default!;
|
||||
[Dependency] private SharedSolutionContainerSystem _solution = default!;
|
||||
[Dependency] private UserInterfaceSystem _ui = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
|
||||
@@ -22,18 +22,18 @@ namespace Content.Server.Botany.Systems;
|
||||
|
||||
public sealed class PlantAnalyzerSystem : SharedPlantAnalyzerSystem
|
||||
{
|
||||
[Dependency] private readonly BotanySystem _botany = default!;
|
||||
[Dependency] private readonly UserInterfaceSystem _uiSystem = default!;
|
||||
[Dependency] private readonly IGameTiming _gameTiming = default!;
|
||||
[Dependency] private readonly PopupSystem _popupSystem = default!;
|
||||
[Dependency] private readonly SharedHandsSystem _handsSystem = default!;
|
||||
[Dependency] private readonly SharedAudioSystem _audioSystem = default!;
|
||||
[Dependency] private readonly PaperSystem _paperSystem = default!;
|
||||
[Dependency] private readonly LabelSystem _labelSystem = default!;
|
||||
[Dependency] private readonly SharedDoAfterSystem _doAfterSystem = default!;
|
||||
[Dependency] private readonly SharedTransformSystem _transform = default!;
|
||||
[Dependency] private readonly PowerCellSystem _cell = default!;
|
||||
[Dependency] private readonly ItemToggleSystem _toggle = default!;
|
||||
[Dependency] private BotanySystem _botany = default!;
|
||||
[Dependency] private UserInterfaceSystem _uiSystem = default!;
|
||||
[Dependency] private IGameTiming _gameTiming = default!;
|
||||
[Dependency] private PopupSystem _popupSystem = default!;
|
||||
[Dependency] private SharedHandsSystem _handsSystem = default!;
|
||||
[Dependency] private SharedAudioSystem _audioSystem = default!;
|
||||
[Dependency] private PaperSystem _paperSystem = default!;
|
||||
[Dependency] private LabelSystem _labelSystem = default!;
|
||||
[Dependency] private SharedDoAfterSystem _doAfterSystem = default!;
|
||||
[Dependency] private SharedTransformSystem _transform = default!;
|
||||
[Dependency] private PowerCellSystem _cell = default!;
|
||||
[Dependency] private ItemToggleSystem _toggle = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
|
||||
@@ -70,36 +70,36 @@ namespace Content.Server.Card.Tarot;
|
||||
|
||||
public sealed class CardTarotSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly AppearanceSystem _appearance = default!;
|
||||
[Dependency] private readonly BloodstreamSystem _blood = default!;
|
||||
[Dependency] private readonly ChatSystem _chat = default!;
|
||||
[Dependency] private readonly SharedContainerSystem _container = default!;
|
||||
[Dependency] private readonly DamageableSystem _damage = default!;
|
||||
[Dependency] private readonly DiceOfFateSystem _dice = default!;
|
||||
[Dependency] private readonly EntityLookupSystem _entityLookup = default!;
|
||||
[Dependency] private readonly SharedGravitySystem _gravity = default!;
|
||||
[Dependency] private readonly HallucinationsSystem _hallucinations = default!;
|
||||
[Dependency] private readonly IngestionSystem _ingestion = default!;
|
||||
[Dependency] private readonly InventorySystem _inventory = default!;
|
||||
[Dependency] private readonly LockSystem _lock = default!;
|
||||
[Dependency] private readonly SharedPhysicsSystem _physics = default!;
|
||||
[Dependency] private readonly MetaDataSystem _meta = default!;
|
||||
[Dependency] private readonly PolymorphSystem _polymorph = default!;
|
||||
[Dependency] private readonly SharedPopupSystem _popup = default!;
|
||||
[Dependency] private readonly IMapManager _mapManager = default!;
|
||||
[Dependency] private readonly IRobustRandom _random = default!;
|
||||
[Dependency] private readonly RejuvenateSystem _rejuvenate = default!;
|
||||
[Dependency] private readonly SlotMachineSystem _slotMachine = default!;
|
||||
[Dependency] private readonly SharedSolutionContainerSystem _solution = default!;
|
||||
[Dependency] private readonly StackSystem _stack = default!;
|
||||
[Dependency] private readonly StatusEffectsSystem _statusEffects = default!;
|
||||
[Dependency] private readonly SharedStunSystem _stun = default!;
|
||||
[Dependency] private readonly SurgerySystem _surgery = default!;
|
||||
[Dependency] private readonly TagSystem _tag = default!;
|
||||
[Dependency] private readonly ThrowingSystem _throwing = default!;
|
||||
[Dependency] private readonly TriggerSystem _trigger = default!;
|
||||
[Dependency] private readonly SharedTransformSystem _transform = default!;
|
||||
[Dependency] private readonly SharedAudioSystem _audio = default!;
|
||||
[Dependency] private AppearanceSystem _appearance = default!;
|
||||
[Dependency] private BloodstreamSystem _blood = default!;
|
||||
[Dependency] private ChatSystem _chat = default!;
|
||||
[Dependency] private SharedContainerSystem _container = default!;
|
||||
[Dependency] private DamageableSystem _damage = default!;
|
||||
[Dependency] private DiceOfFateSystem _dice = default!;
|
||||
[Dependency] private EntityLookupSystem _entityLookup = default!;
|
||||
[Dependency] private SharedGravitySystem _gravity = default!;
|
||||
[Dependency] private HallucinationsSystem _hallucinations = default!;
|
||||
[Dependency] private IngestionSystem _ingestion = default!;
|
||||
[Dependency] private InventorySystem _inventory = default!;
|
||||
[Dependency] private LockSystem _lock = default!;
|
||||
[Dependency] private SharedPhysicsSystem _physics = default!;
|
||||
[Dependency] private MetaDataSystem _meta = default!;
|
||||
[Dependency] private PolymorphSystem _polymorph = default!;
|
||||
[Dependency] private SharedPopupSystem _popup = default!;
|
||||
[Dependency] private IMapManager _mapManager = default!;
|
||||
[Dependency] private IRobustRandom _random = default!;
|
||||
[Dependency] private RejuvenateSystem _rejuvenate = default!;
|
||||
[Dependency] private SlotMachineSystem _slotMachine = default!;
|
||||
[Dependency] private SharedSolutionContainerSystem _solution = default!;
|
||||
[Dependency] private StackSystem _stack = default!;
|
||||
[Dependency] private StatusEffectsSystem _statusEffects = default!;
|
||||
[Dependency] private SharedStunSystem _stun = default!;
|
||||
[Dependency] private SurgerySystem _surgery = default!;
|
||||
[Dependency] private TagSystem _tag = default!;
|
||||
[Dependency] private ThrowingSystem _throwing = default!;
|
||||
[Dependency] private TriggerSystem _trigger = default!;
|
||||
[Dependency] private SharedTransformSystem _transform = default!;
|
||||
[Dependency] private SharedAudioSystem _audio = default!;
|
||||
|
||||
// 200,000 static variables are ready, and another million is on the way
|
||||
private static readonly EntProtoId Ash = "Ash";
|
||||
|
||||
@@ -34,18 +34,18 @@ namespace Content.Server.Carrying
|
||||
{
|
||||
public sealed class CarryingSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly VirtualItemSystem _virtualItemSystem = default!;
|
||||
[Dependency] private readonly CarryingSlowdownSystem _slowdown = default!;
|
||||
[Dependency] private readonly DoAfterSystem _doAfterSystem = default!;
|
||||
[Dependency] private readonly StandingStateSystem _standingState = default!;
|
||||
[Dependency] private readonly ActionBlockerSystem _actionBlockerSystem = default!;
|
||||
[Dependency] private readonly PullingSystem _pullingSystem = default!;
|
||||
[Dependency] private readonly MobStateSystem _mobStateSystem = default!;
|
||||
[Dependency] private readonly EscapeInventorySystem _escapeInventorySystem = default!;
|
||||
[Dependency] private readonly PopupSystem _popupSystem = default!;
|
||||
[Dependency] private readonly MovementSpeedModifierSystem _movementSpeed = default!;
|
||||
[Dependency] private readonly TransformSystem _transform = default!;
|
||||
[Dependency] private readonly SharedHandsSystem _hands = default!;
|
||||
[Dependency] private VirtualItemSystem _virtualItemSystem = default!;
|
||||
[Dependency] private CarryingSlowdownSystem _slowdown = default!;
|
||||
[Dependency] private DoAfterSystem _doAfterSystem = default!;
|
||||
[Dependency] private StandingStateSystem _standingState = default!;
|
||||
[Dependency] private ActionBlockerSystem _actionBlockerSystem = default!;
|
||||
[Dependency] private PullingSystem _pullingSystem = default!;
|
||||
[Dependency] private MobStateSystem _mobStateSystem = default!;
|
||||
[Dependency] private EscapeInventorySystem _escapeInventorySystem = default!;
|
||||
[Dependency] private PopupSystem _popupSystem = default!;
|
||||
[Dependency] private MovementSpeedModifierSystem _movementSpeed = default!;
|
||||
[Dependency] private TransformSystem _transform = default!;
|
||||
[Dependency] private SharedHandsSystem _hands = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
|
||||
@@ -18,13 +18,13 @@ namespace Content.Server.CartridgeLoader.Cartridges;
|
||||
|
||||
public sealed class NanoChatCartridgeSystem : SharedNanoChatCartridgeSystem
|
||||
{
|
||||
[Dependency] private readonly IAdminLogManager _admin = default!;
|
||||
[Dependency] private readonly SharedAudioSystem _audio = default!;
|
||||
[Dependency] private readonly CartridgeLoaderSystem _cartridgeLoader = default!;
|
||||
[Dependency] private readonly SharedContainerSystem _container = default!;
|
||||
[Dependency] private readonly SharedTransformSystem _transform = default!;
|
||||
[Dependency] private readonly IGameTiming _timing = default!;
|
||||
[Dependency] private readonly IRobustRandom _random = default!;
|
||||
[Dependency] private IAdminLogManager _admin = default!;
|
||||
[Dependency] private SharedAudioSystem _audio = default!;
|
||||
[Dependency] private CartridgeLoaderSystem _cartridgeLoader = default!;
|
||||
[Dependency] private SharedContainerSystem _container = default!;
|
||||
[Dependency] private SharedTransformSystem _transform = default!;
|
||||
[Dependency] private IGameTiming _timing = default!;
|
||||
[Dependency] private IRobustRandom _random = default!;
|
||||
|
||||
private readonly Dictionary<string, EntityUid> _activeChats = new();
|
||||
private readonly Dictionary<string, ChatGroupData> _groups = new();
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace Content.Server.Chat.Commands
|
||||
[AnyCommand]
|
||||
internal sealed class MindSayCommand : LocalizedEntityCommands
|
||||
{
|
||||
[Dependency] private readonly ChatSystem _chatSystem = default!;
|
||||
[Dependency] private ChatSystem _chatSystem = default!;
|
||||
|
||||
public override string Command => "mindsay";
|
||||
|
||||
|
||||
@@ -8,8 +8,8 @@ namespace Content.Shared.Clothing;
|
||||
|
||||
public sealed class ForceLoadoutSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly IRobustRandom _random = default!;
|
||||
[Dependency] private readonly OutfitSystem _outfitSystem = default!;
|
||||
[Dependency] private IRobustRandom _random = default!;
|
||||
[Dependency] private OutfitSystem _outfitSystem = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
|
||||
@@ -12,9 +12,9 @@ namespace Content.Server.Wega.Commands;
|
||||
[AnyCommand()]
|
||||
public sealed class GhostRespawnCommand : IConsoleCommand
|
||||
{
|
||||
[Dependency] private readonly IGameTiming _gameTiming = default!;
|
||||
[Dependency] private readonly IEntityManager _entityManager = default!;
|
||||
[Dependency] private readonly IConfigurationManager _configurationManager = default!;
|
||||
[Dependency] private IGameTiming _gameTiming = default!;
|
||||
[Dependency] private IEntityManager _entityManager = default!;
|
||||
[Dependency] private IConfigurationManager _configurationManager = default!;
|
||||
|
||||
public string Command => "ghostrespawn";
|
||||
public string Description => "Allows the player to return to the lobby if they've been dead long enough, allowing re-entering the round AS ANOTHER CHARACTER.";
|
||||
|
||||
@@ -9,9 +9,9 @@ namespace Content.Server.Damage;
|
||||
|
||||
public sealed class DamageResistSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly DamageableSystem _damageable = default!;
|
||||
[Dependency] private readonly IGameTiming _gameTiming = default!;
|
||||
[Dependency] private readonly IPrototypeManager _prototype = default!;
|
||||
[Dependency] private DamageableSystem _damageable = default!;
|
||||
[Dependency] private IGameTiming _gameTiming = default!;
|
||||
[Dependency] private IPrototypeManager _prototype = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
|
||||
@@ -13,10 +13,10 @@ namespace Content.Server.Damage.Systems;
|
||||
|
||||
public sealed class DamageInContainerSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly IGameTiming _gameTiming = default!;
|
||||
[Dependency] private readonly EntityWhitelistSystem _whitelistSystem = default!;
|
||||
[Dependency] private readonly ContainerSystem _container = default!;
|
||||
[Dependency] private readonly DamageableSystem _damageable = default!;
|
||||
[Dependency] private IGameTiming _gameTiming = default!;
|
||||
[Dependency] private EntityWhitelistSystem _whitelistSystem = default!;
|
||||
[Dependency] private ContainerSystem _container = default!;
|
||||
[Dependency] private DamageableSystem _damageable = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
|
||||
@@ -9,10 +9,10 @@ namespace Content.Server.Damage.Systems;
|
||||
|
||||
public sealed class DamageOnActionSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly DamageableSystem _damageable = default!;
|
||||
[Dependency] private readonly SharedActionsSystem _actions = default!;
|
||||
[Dependency] private readonly HungerSystem _hunger = default!;
|
||||
[Dependency] private readonly PopupSystem _popup = default!;
|
||||
[Dependency] private DamageableSystem _damageable = default!;
|
||||
[Dependency] private SharedActionsSystem _actions = default!;
|
||||
[Dependency] private HungerSystem _hunger = default!;
|
||||
[Dependency] private PopupSystem _popup = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
|
||||
@@ -12,10 +12,10 @@ namespace Content.Server.DetailExaminable;
|
||||
|
||||
public sealed partial class DetailExaminableSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly ISharedPlayerManager _player = default!;
|
||||
[Dependency] private readonly ExamineSystemShared _examine = default!;
|
||||
[Dependency] private readonly EuiManager _euiMan = default!;
|
||||
[Dependency] private readonly MindSystem _mind = default!;
|
||||
[Dependency] private ISharedPlayerManager _player = default!;
|
||||
[Dependency] private ExamineSystemShared _examine = default!;
|
||||
[Dependency] private EuiManager _euiMan = default!;
|
||||
[Dependency] private MindSystem _mind = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
|
||||
@@ -37,22 +37,22 @@ namespace Content.Server.Dice;
|
||||
|
||||
public sealed class DiceOfFateSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly SharedAccessSystem _access = default!;
|
||||
[Dependency] private readonly IAdminLogManager _admin = default!;
|
||||
[Dependency] private readonly AntagSelectionSystem _antag = default!;
|
||||
[Dependency] private readonly DamageableSystem _damage = default!;
|
||||
[Dependency] private readonly SharedDiseaseSystem _disease = default!;
|
||||
[Dependency] private readonly ExplosionSystem _explosion = default!;
|
||||
[Dependency] private readonly GibbingSystem _gibbing = default!;
|
||||
[Dependency] private readonly SharedHandsSystem _hands = default!;
|
||||
[Dependency] private readonly InventorySystem _inventory = default!;
|
||||
[Dependency] private readonly MovementSpeedModifierSystem _speed = default!;
|
||||
[Dependency] private readonly SharedPopupSystem _popup = default!;
|
||||
[Dependency] private readonly PolymorphSystem _polymorph = default!;
|
||||
[Dependency] private readonly IPrototypeManager _prototype = default!;
|
||||
[Dependency] private readonly IRobustRandom _random = default!;
|
||||
[Dependency] private readonly RejuvenateSystem _rejuvenate = default!;
|
||||
[Dependency] private readonly SharedStunSystem _stun = default!;
|
||||
[Dependency] private SharedAccessSystem _access = default!;
|
||||
[Dependency] private IAdminLogManager _admin = default!;
|
||||
[Dependency] private AntagSelectionSystem _antag = default!;
|
||||
[Dependency] private DamageableSystem _damage = default!;
|
||||
[Dependency] private SharedDiseaseSystem _disease = default!;
|
||||
[Dependency] private ExplosionSystem _explosion = default!;
|
||||
[Dependency] private GibbingSystem _gibbing = default!;
|
||||
[Dependency] private SharedHandsSystem _hands = default!;
|
||||
[Dependency] private InventorySystem _inventory = default!;
|
||||
[Dependency] private MovementSpeedModifierSystem _speed = default!;
|
||||
[Dependency] private SharedPopupSystem _popup = default!;
|
||||
[Dependency] private PolymorphSystem _polymorph = default!;
|
||||
[Dependency] private IPrototypeManager _prototype = default!;
|
||||
[Dependency] private IRobustRandom _random = default!;
|
||||
[Dependency] private RejuvenateSystem _rejuvenate = default!;
|
||||
[Dependency] private SharedStunSystem _stun = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
|
||||
@@ -12,13 +12,13 @@ namespace Content.Server.Shower
|
||||
{
|
||||
public sealed class ShowerSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly SharedAmbientSoundSystem _ambient = default!;
|
||||
[Dependency] private readonly SharedAppearanceSystem _appearance = default!;
|
||||
[Dependency] private readonly SharedAudioSystem _audio = default!;
|
||||
[Dependency] private readonly SharedSolutionContainerSystem _solutionContainer = default!;
|
||||
[Dependency] private readonly PuddleSystem _puddle = default!;
|
||||
[Dependency] private readonly EntityLookupSystem _lookup = default!;
|
||||
[Dependency] private readonly ReactiveSystem _reactive = default!;
|
||||
[Dependency] private SharedAmbientSoundSystem _ambient = default!;
|
||||
[Dependency] private SharedAppearanceSystem _appearance = default!;
|
||||
[Dependency] private SharedAudioSystem _audio = default!;
|
||||
[Dependency] private SharedSolutionContainerSystem _solutionContainer = default!;
|
||||
[Dependency] private PuddleSystem _puddle = default!;
|
||||
[Dependency] private EntityLookupSystem _lookup = default!;
|
||||
[Dependency] private ReactiveSystem _reactive = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
|
||||
@@ -16,13 +16,13 @@ namespace Content.Server.WashingMachine
|
||||
{
|
||||
public sealed class WashingMachineSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly SharedAmbientSoundSystem _ambient = default!;
|
||||
[Dependency] private readonly SharedAppearanceSystem _appearance = default!;
|
||||
[Dependency] private readonly SharedAudioSystem _audio = default!;
|
||||
[Dependency] private readonly SharedContainerSystem _container = default!;
|
||||
[Dependency] private readonly SharedDirtSystem _dirt = default!;
|
||||
[Dependency] private readonly SharedJitteringSystem _jittering = default!;
|
||||
[Dependency] private readonly LockSystem _lock = default!;
|
||||
[Dependency] private SharedAmbientSoundSystem _ambient = default!;
|
||||
[Dependency] private SharedAppearanceSystem _appearance = default!;
|
||||
[Dependency] private SharedAudioSystem _audio = default!;
|
||||
[Dependency] private SharedContainerSystem _container = default!;
|
||||
[Dependency] private SharedDirtSystem _dirt = default!;
|
||||
[Dependency] private SharedJitteringSystem _jittering = default!;
|
||||
[Dependency] private LockSystem _lock = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
|
||||
@@ -28,15 +28,15 @@ namespace Content.Server.Disease
|
||||
/// </summary>
|
||||
public sealed class DiseaseDiagnosisSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly SharedAudioSystem _audio = default!;
|
||||
[Dependency] private readonly MetaDataSystem _metaData = default!;
|
||||
[Dependency] private readonly SharedDoAfterSystem _doAfterSystem = default!;
|
||||
[Dependency] private readonly PopupSystem _popupSystem = default!;
|
||||
[Dependency] private readonly IRobustRandom _random = default!;
|
||||
[Dependency] private readonly InventorySystem _inventorySystem = default!;
|
||||
[Dependency] private readonly PaperSystem _paperSystem = default!;
|
||||
[Dependency] private readonly StationSystem _stationSystem = default!;
|
||||
[Dependency] private readonly SharedAppearanceSystem _appearance = default!;
|
||||
[Dependency] private SharedAudioSystem _audio = default!;
|
||||
[Dependency] private MetaDataSystem _metaData = default!;
|
||||
[Dependency] private SharedDoAfterSystem _doAfterSystem = default!;
|
||||
[Dependency] private PopupSystem _popupSystem = default!;
|
||||
[Dependency] private IRobustRandom _random = default!;
|
||||
[Dependency] private InventorySystem _inventorySystem = default!;
|
||||
[Dependency] private PaperSystem _paperSystem = default!;
|
||||
[Dependency] private StationSystem _stationSystem = default!;
|
||||
[Dependency] private SharedAppearanceSystem _appearance = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
|
||||
@@ -28,15 +28,15 @@ namespace Content.Server.Disease
|
||||
/// </summary>
|
||||
public sealed class DiseaseSystem : SharedDiseaseSystem
|
||||
{
|
||||
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
||||
[Dependency] private readonly IRobustRandom _random = default!;
|
||||
[Dependency] private readonly SharedDoAfterSystem _doAfterSystem = default!;
|
||||
[Dependency] private readonly PopupSystem _popupSystem = default!;
|
||||
[Dependency] private readonly EntityLookupSystem _lookup = default!;
|
||||
[Dependency] private readonly SharedInteractionSystem _interactionSystem = default!;
|
||||
[Dependency] private readonly InventorySystem _inventorySystem = default!;
|
||||
[Dependency] private readonly MobStateSystem _mobStateSystem = default!;
|
||||
[Dependency] private readonly ChatSystem _chatSystem = default!;
|
||||
[Dependency] private IPrototypeManager _prototypeManager = default!;
|
||||
[Dependency] private IRobustRandom _random = default!;
|
||||
[Dependency] private SharedDoAfterSystem _doAfterSystem = default!;
|
||||
[Dependency] private PopupSystem _popupSystem = default!;
|
||||
[Dependency] private EntityLookupSystem _lookup = default!;
|
||||
[Dependency] private SharedInteractionSystem _interactionSystem = default!;
|
||||
[Dependency] private InventorySystem _inventorySystem = default!;
|
||||
[Dependency] private MobStateSystem _mobStateSystem = default!;
|
||||
[Dependency] private ChatSystem _chatSystem = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
|
||||
@@ -12,10 +12,10 @@ namespace Content.Server.SexToy.System
|
||||
{
|
||||
public sealed class SexToyUsageSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entManager = default!;
|
||||
[Dependency] private readonly PopupSystem _popupSystem = default!;
|
||||
[Dependency] private readonly SharedDoAfterSystem _doAfter = default!;
|
||||
[Dependency] private readonly InventorySystem _inventorySystem = default!;
|
||||
[Dependency] private IEntityManager _entManager = default!;
|
||||
[Dependency] private PopupSystem _popupSystem = default!;
|
||||
[Dependency] private SharedDoAfterSystem _doAfter = default!;
|
||||
[Dependency] private InventorySystem _inventorySystem = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
|
||||
@@ -12,10 +12,10 @@ namespace Content.Server.Vibrator.System
|
||||
{
|
||||
public sealed class VibratorUsageSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entManager = default!;
|
||||
[Dependency] private readonly PopupSystem _popupSystem = default!;
|
||||
[Dependency] private readonly SharedDoAfterSystem _doAfter = default!;
|
||||
[Dependency] private readonly InventorySystem _inventorySystem = default!;
|
||||
[Dependency] private IEntityManager _entManager = default!;
|
||||
[Dependency] private PopupSystem _popupSystem = default!;
|
||||
[Dependency] private SharedDoAfterSystem _doAfter = default!;
|
||||
[Dependency] private InventorySystem _inventorySystem = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
|
||||
@@ -11,10 +11,10 @@ namespace Content.Server.GPS.Systems;
|
||||
|
||||
public sealed partial class HandheldGpsUiSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly EntityLookupSystem _lookupSystem = default!;
|
||||
[Dependency] private readonly SharedTransformSystem _transform = default!;
|
||||
[Dependency] private readonly UserInterfaceSystem _ui = default!;
|
||||
[Dependency] private readonly IGameTiming _gameTiming = default!;
|
||||
[Dependency] private EntityLookupSystem _lookupSystem = default!;
|
||||
[Dependency] private SharedTransformSystem _transform = default!;
|
||||
[Dependency] private UserInterfaceSystem _ui = default!;
|
||||
[Dependency] private IGameTiming _gameTiming = default!;
|
||||
|
||||
private TimeSpan _lastUpdate = TimeSpan.Zero;
|
||||
private const float UpdateInterval = 1.5f;
|
||||
|
||||
@@ -10,8 +10,8 @@ namespace Content.Server.GameTicking
|
||||
{
|
||||
public sealed class AutoVoteSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly IVoteManager _voteManager = default!;
|
||||
[Dependency] private readonly IPlayerManager _playerManager = default!;
|
||||
[Dependency] private IVoteManager _voteManager = default!;
|
||||
[Dependency] private IPlayerManager _playerManager = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
|
||||
@@ -20,18 +20,18 @@ namespace Content.Server.GameTicking.Rules;
|
||||
|
||||
public sealed class BloodBrotherRuleSystem : GameRuleSystem<BloodBrotherRuleComponent>
|
||||
{
|
||||
[Dependency] private readonly AntagSelectionSystem _antag = default!;
|
||||
[Dependency] private readonly SharedJobSystem _jobs = default!;
|
||||
[Dependency] private readonly MindSystem _mindSystem = default!;
|
||||
[Dependency] private readonly NpcFactionSystem _npcFaction = default!;
|
||||
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
||||
[Dependency] private readonly IRobustRandom _random = default!;
|
||||
[Dependency] private readonly SharedRoleSystem _roleSystem = default!;
|
||||
[Dependency] private readonly ObjectivesSystem _objectives = default!;
|
||||
[Dependency] private readonly TargetObjectiveSystem _target = default!;
|
||||
[Dependency] private readonly BloodBrotherSharedConditionSystem _sharedCondition = default!;
|
||||
[Dependency] private readonly BloodBrotherSharedStealConditionSystem _stealCondition = default!;
|
||||
[Dependency] private readonly BloodBrotherSharedKillConditionSystem _killCondition = default!;
|
||||
[Dependency] private AntagSelectionSystem _antag = default!;
|
||||
[Dependency] private SharedJobSystem _jobs = default!;
|
||||
[Dependency] private MindSystem _mindSystem = default!;
|
||||
[Dependency] private NpcFactionSystem _npcFaction = default!;
|
||||
[Dependency] private IPrototypeManager _prototypeManager = default!;
|
||||
[Dependency] private IRobustRandom _random = default!;
|
||||
[Dependency] private SharedRoleSystem _roleSystem = default!;
|
||||
[Dependency] private ObjectivesSystem _objectives = default!;
|
||||
[Dependency] private TargetObjectiveSystem _target = default!;
|
||||
[Dependency] private BloodBrotherSharedConditionSystem _sharedCondition = default!;
|
||||
[Dependency] private BloodBrotherSharedStealConditionSystem _stealCondition = default!;
|
||||
[Dependency] private BloodBrotherSharedKillConditionSystem _killCondition = default!;
|
||||
|
||||
|
||||
private static readonly Color BloodBrotherColor = Color.FromHex("#8b0000");
|
||||
|
||||
@@ -41,25 +41,25 @@ namespace Content.Server.GameTicking.Rules
|
||||
{
|
||||
public sealed class BloodCultRuleSystem : GameRuleSystem<BloodCultRuleComponent>
|
||||
{
|
||||
[Dependency] private readonly SharedAchievementsSystem _achievement = default!;
|
||||
[Dependency] private readonly ActionsSystem _action = default!;
|
||||
[Dependency] private readonly AntagSelectionSystem _antag = default!;
|
||||
[Dependency] private readonly IEntityManager _entityManager = default!;
|
||||
[Dependency] private readonly ISharedPlayerManager _player = default!;
|
||||
[Dependency] private readonly IAdminLogManager _adminLogManager = default!;
|
||||
[Dependency] private readonly MetabolizerSystem _metabolism = default!;
|
||||
[Dependency] private readonly MindSystem _mind = default!;
|
||||
[Dependency] private readonly NpcFactionSystem _npcFaction = default!;
|
||||
[Dependency] private readonly RoleSystem _role = default!;
|
||||
[Dependency] private readonly SharedHandsSystem _hands = default!;
|
||||
[Dependency] private readonly RoundEndSystem _roundEndSystem = default!;
|
||||
[Dependency] private readonly IRobustRandom _random = default!;
|
||||
[Dependency] private readonly SharedAudioSystem _audio = default!;
|
||||
[Dependency] private readonly SharedPopupSystem _popup = default!;
|
||||
[Dependency] private readonly SharedVisualBodySystem _visualBody = default!;
|
||||
[Dependency] private readonly ObjectivesSystem _objectives = default!;
|
||||
[Dependency] private readonly TargetObjectiveSystem _target = default!;
|
||||
[Dependency] private readonly MetaDataSystem _meta = default!;
|
||||
[Dependency] private SharedAchievementsSystem _achievement = default!;
|
||||
[Dependency] private ActionsSystem _action = default!;
|
||||
[Dependency] private AntagSelectionSystem _antag = default!;
|
||||
[Dependency] private IEntityManager _entityManager = default!;
|
||||
[Dependency] private ISharedPlayerManager _player = default!;
|
||||
[Dependency] private IAdminLogManager _adminLogManager = default!;
|
||||
[Dependency] private MetabolizerSystem _metabolism = default!;
|
||||
[Dependency] private MindSystem _mind = default!;
|
||||
[Dependency] private NpcFactionSystem _npcFaction = default!;
|
||||
[Dependency] private RoleSystem _role = default!;
|
||||
[Dependency] private SharedHandsSystem _hands = default!;
|
||||
[Dependency] private RoundEndSystem _roundEndSystem = default!;
|
||||
[Dependency] private IRobustRandom _random = default!;
|
||||
[Dependency] private SharedAudioSystem _audio = default!;
|
||||
[Dependency] private SharedPopupSystem _popup = default!;
|
||||
[Dependency] private SharedVisualBodySystem _visualBody = default!;
|
||||
[Dependency] private ObjectivesSystem _objectives = default!;
|
||||
[Dependency] private TargetObjectiveSystem _target = default!;
|
||||
[Dependency] private MetaDataSystem _meta = default!;
|
||||
|
||||
public readonly ProtoId<NpcFactionPrototype> BloodCultNpcFaction = "BloodCult";
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user