13 lines
342 B
C#
13 lines
342 B
C#
using Content.Server.Medical;
|
|
|
|
namespace Content.Server.Destructible.Thresholds.Behaviors;
|
|
|
|
[DataDefinition]
|
|
public sealed partial class VomitBehavior : IThresholdBehavior
|
|
{
|
|
public void Execute(EntityUid uid, DestructibleSystem system, EntityUid? cause = null)
|
|
{
|
|
system.EntityManager.System<VomitSystem>().Vomit(uid);
|
|
}
|
|
}
|