@@ -3,6 +3,7 @@ using Content.Shared.Mindshield.Components;
|
||||
using Content.Shared.Popups;
|
||||
using Content.Shared.Revolutionary.Components;
|
||||
using Content.Shared.Stunnable;
|
||||
using Content.Shared.White.Mood;
|
||||
|
||||
namespace Content.Shared.Revolutionary;
|
||||
|
||||
@@ -15,8 +16,22 @@ public sealed class SharedRevolutionarySystem : EntitySystem
|
||||
{
|
||||
base.Initialize();
|
||||
SubscribeLocalEvent<MindShieldComponent, MapInitEvent>(MindShieldImplanted);
|
||||
SubscribeLocalEvent<RevolutionaryComponent, ComponentInit>(OnInit); // WD EDIT
|
||||
SubscribeLocalEvent<RevolutionaryComponent, ComponentShutdown>(OnShutdown); // WD EDIT
|
||||
}
|
||||
|
||||
// WD START
|
||||
private void OnShutdown(Entity<RevolutionaryComponent> ent, ref ComponentShutdown args)
|
||||
{
|
||||
RaiseLocalEvent(ent, new MoodRemoveEffectEvent("RevolutionFocused"));
|
||||
}
|
||||
|
||||
private void OnInit(Entity<RevolutionaryComponent> ent, ref ComponentInit args)
|
||||
{
|
||||
RaiseLocalEvent(ent, new MoodEffectEvent("RevolutionFocused"));
|
||||
}
|
||||
// WD END
|
||||
|
||||
/// <summary>
|
||||
/// When the mindshield is implanted in the rev it will popup saying they were deconverted. In Head Revs it will remove the mindshield component.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user