* commit * Update AdminVerbSystem.Smites.cs * brrrrr * reeeee * skeet * Update VomitSystem.cs * didn't know i could do this. * Update SharedForensicsSystem.cs * Update SharedForensicsSystem.cs * Update SharedForensicsSystem.cs * Update ForensicsSystem.cs * requested changes. * Update VomitSystem.cs * lets try this.
13 lines
342 B
C#
13 lines
342 B
C#
using Content.Shared.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);
|
|
}
|
|
}
|