ECS construction machines (#6354)
This commit is contained in:
@@ -7,6 +7,7 @@ using Content.Shared.Examine;
|
||||
using Content.Shared.Popups;
|
||||
using Content.Shared.Verbs;
|
||||
using JetBrains.Annotations;
|
||||
using Robust.Shared.Containers;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.IoC;
|
||||
using Robust.Shared.Localization;
|
||||
@@ -28,6 +29,7 @@ namespace Content.Server.Construction
|
||||
[Dependency] private readonly DoAfterSystem _doAfterSystem = default!;
|
||||
[Dependency] private readonly StackSystem _stackSystem = default!;
|
||||
[Dependency] private readonly ToolSystem _toolSystem = default!;
|
||||
[Dependency] private readonly SharedContainerSystem _container = default!;
|
||||
|
||||
private const string SawmillName = "Construction";
|
||||
private ISawmill _sawmill = default!;
|
||||
@@ -42,6 +44,7 @@ namespace Content.Server.Construction
|
||||
InitializeGuided();
|
||||
InitializeInteractions();
|
||||
InitializeInitial();
|
||||
InitializeMachines();
|
||||
|
||||
SubscribeLocalEvent<ConstructionComponent, ComponentInit>(OnConstructionInit);
|
||||
SubscribeLocalEvent<ConstructionComponent, ComponentStartup>(OnConstructionStartup);
|
||||
|
||||
Reference in New Issue
Block a user