2022-06-01 01:39:06 -07:00
|
|
|
|
namespace Content.Server.Destructible.Thresholds.Behaviors;
|
|
|
|
|
|
|
|
|
|
|
|
[DataDefinition]
|
2023-08-22 18:14:33 -07:00
|
|
|
|
public sealed partial class TriggerBehavior : IThresholdBehavior
|
2022-06-01 01:39:06 -07:00
|
|
|
|
{
|
2023-02-10 17:45:38 -06:00
|
|
|
|
public void Execute(EntityUid owner, DestructibleSystem system, EntityUid? cause = null)
|
2022-06-01 01:39:06 -07:00
|
|
|
|
{
|
2023-02-10 17:45:38 -06:00
|
|
|
|
system.TriggerSystem.Trigger(owner, cause);
|
2022-06-01 01:39:06 -07:00
|
|
|
|
}
|
|
|
|
|
|
}
|