Shuttle drone improvements (#16931)

This commit is contained in:
metalgearsloth
2023-05-31 11:13:02 +10:00
committed by GitHub
parent 53d4e408aa
commit 57858f802f
35 changed files with 335 additions and 278 deletions

View File

@@ -0,0 +1,7 @@
namespace Content.Server.Station.Events;
/// <summary>
/// Raised directed on a station after it has been initialized.
/// </summary>
[ByRefEvent]
public readonly record struct StationPostInitEvent;

View File

@@ -2,6 +2,7 @@ using System.Linq;
using Content.Server.Chat.Systems;
using Content.Server.GameTicking;
using Content.Server.Station.Components;
using Content.Server.Station.Events;
using Content.Shared.CCVar;
using Content.Shared.Station;
using JetBrains.Annotations;
@@ -304,6 +305,9 @@ public sealed class StationSystem : EntitySystem
AddGridToStation(station, grid, null, data, name);
}
var ev = new StationPostInitEvent();
RaiseLocalEvent(station, ref ev);
return station;
}