// SPDX-FileCopyrightText: 2024 gluesniffler <159397573+gluesniffler@users.noreply.github.com> // SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com> // // SPDX-License-Identifier: AGPL-3.0-or-later using Content.Shared.Actions; namespace Content.Shared._Shitmed.GoliathTentacle; internal sealed class GoliathTentacleSystem : EntitySystem { [Dependency] private readonly SharedActionsSystem _actionsSystem = default!; public override void Initialize() { SubscribeLocalEvent(OnStartup); SubscribeLocalEvent(OnShutdown); } private void OnStartup(EntityUid uid, GoliathTentacleComponent component, ComponentStartup args) { _actionsSystem.AddAction(uid, ref component.ActionEntity, component.Action); } private void OnShutdown(EntityUid uid, GoliathTentacleComponent component, ComponentShutdown args) { _actionsSystem.RemoveAction(uid, component.ActionEntity); } }