Remove ranged injection/feeding (#9841)

This commit is contained in:
Rane
2022-07-17 18:25:41 -04:00
committed by GitHub
parent 2419950751
commit 5ad725dce9
4 changed files with 0 additions and 56 deletions

View File

@@ -1,19 +0,0 @@
using Content.Server.Nutrition.EntitySystems;
namespace Content.Server.Nutrition.Components
{
/// <summary>
/// A food item with this component will be forcefully fed to anyone
/// </summary>
[RegisterComponent, Access(typeof(ForcefeedOnCollideSystem))]
public sealed class ForcefeedOnCollideComponent : Component
{
/// <summary>
/// Since this component is primarily used by the pneumatic cannon, which adds this comp on throw start
/// and wants to remove it on throw end, this is set to false. However, you're free to change it if you want
/// something that can -always- be forcefed on collide, or something.
/// </summary>
[DataField("removeOnThrowEnd")]
public bool RemoveOnThrowEnd = true;
}
}