More
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
using System.Numerics;
|
using System.Numerics;
|
||||||
using Robust.Client.GameObjects;
|
using Robust.Client.GameObjects;
|
||||||
using Robust.Shared.Utility;
|
using Robust.Shared.Utility;
|
||||||
using Content.Shared.CombatMode.Pacification;
|
|
||||||
|
|
||||||
namespace Content.Client._White.Cult;
|
namespace Content.Client._White.Cult;
|
||||||
|
|
||||||
|
|||||||
19
Content.Server/_White/Cult/HellSystem.cs
Normal file
19
Content.Server/_White/Cult/HellSystem.cs
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
using Content.Shared.CombatMode.Pacification;
|
||||||
|
using Content.Server.Bible.Components;
|
||||||
|
|
||||||
|
namespace Content.Server._White.Cult;
|
||||||
|
public sealed class HellSystem : EntitySystem
|
||||||
|
{
|
||||||
|
public override void Initialize()
|
||||||
|
{
|
||||||
|
base.Initialize();
|
||||||
|
SubscribeLocalEvent<HellComponent, ComponentStartup>(PentagramAdded);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void PentagramAdded(EntityUid uid, HellComponent component, ComponentStartup args)
|
||||||
|
{
|
||||||
|
EnsureComp<PacifiedComponent>(uid);
|
||||||
|
EnsureComp<BibleUserComponent>(uid);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user