Trigger Refactor (#39034)

This commit is contained in:
slarticodefast
2025-11-23 15:22:15 -06:00
committed by Vanessa
parent c85c0fdca2
commit 2d14cd4cc0
256 changed files with 4044 additions and 2899 deletions
@@ -1,6 +1,4 @@
using Content.Server.Damage.Components;
using Content.Shared.Damage.Components;
using Content.Shared.Actions;
using Content.Shared.Actions;
using Content.Shared.Actions.Components;
using Content.Shared.Alert;
using Content.Shared.Coordinates;
@@ -10,6 +8,7 @@ using Content.Shared.Mobs;
using Content.Shared.Movement.Systems;
using Content.Shared.Slippery;
using Content.Shared.Toggleable;
using Content.Shared.Trigger.Components.Effects;
using Robust.Shared.Audio.Systems;
using Robust.Shared.Physics.Components;
using Robust.Shared.Physics.Events;
@@ -131,7 +130,7 @@ public abstract class SharedRootableSystem : EntitySystem
if (!ent.Comp.Rooted)
return;
if (args.SlipCausingEntity != null && HasComp<DamageUserOnTriggerComponent>(args.SlipCausingEntity))
if (args.SlipCausingEntity != null && HasComp<DamageOnTriggerComponent>(args.SlipCausingEntity))
return;
args.NoSlip = true;