using Content.Shared._Shitmed.StatusEffects; using Content.Server.Teleportation; namespace Content.Server._Shitmed.StatusEffects; public sealed class ScrambleLocationEffectSystem : EntitySystem { [Dependency] private readonly TeleportSystem _teleportSys = default!; public override void Initialize() { SubscribeLocalEvent(OnInit); } private void OnInit(EntityUid uid, ScrambleLocationEffectComponent component, ComponentInit args) { // TODO: Add the teleport component via onAdd: var teleport = EnsureComp(uid); _teleportSys.RandomTeleport(uid, teleport); } }