Auto comp (#6416)
This commit is contained in:
@@ -10,6 +10,5 @@ namespace Content.Server.Nutrition.Components
|
||||
[RegisterComponent, Friend(typeof(SmokingSystem))]
|
||||
public class CigarComponent : Component
|
||||
{
|
||||
public override string Name => "Cigar";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,8 +18,6 @@ namespace Content.Server.Nutrition.Components
|
||||
public string SolutionName { get; set; } = DefaultSolutionName;
|
||||
public const string DefaultSolutionName = "drink";
|
||||
|
||||
public override string Name => "Drink";
|
||||
|
||||
[ViewVariables]
|
||||
[DataField("useSound")]
|
||||
public SoundSpecifier UseSound = new SoundPathSpecifier("/Audio/Items/drink.ogg");
|
||||
|
||||
@@ -16,8 +16,6 @@ namespace Content.Server.Nutrition.Components
|
||||
[RegisterComponent, Friend(typeof(FoodSystem))]
|
||||
public class FoodComponent : Component
|
||||
{
|
||||
public override string Name => "Food";
|
||||
|
||||
[DataField("solution")]
|
||||
public string SolutionName { get; set; } = "food";
|
||||
|
||||
|
||||
@@ -11,8 +11,6 @@ namespace Content.Server.Nutrition.Components
|
||||
[RegisterComponent, Friend(typeof(ForcefeedOnCollideSystem))]
|
||||
public class ForcefeedOnCollideComponent : Component
|
||||
{
|
||||
public override string Name => "ForcefeedOnCollide";
|
||||
|
||||
/// <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
|
||||
|
||||
@@ -15,8 +15,6 @@ namespace Content.Server.Nutrition.EntitySystems;
|
||||
[RegisterComponent, Friend(typeof(FoodSystem), typeof(DrinkSystem))]
|
||||
public class IngestionBlockerComponent : Component
|
||||
{
|
||||
public override string Name => "IngestionBlocker";
|
||||
|
||||
/// <summary>
|
||||
/// Is this component currently blocking consumption.
|
||||
/// </summary>
|
||||
|
||||
@@ -10,8 +10,6 @@ namespace Content.Server.Nutrition.Components
|
||||
[RegisterComponent, Friend(typeof(SliceableFoodSystem))]
|
||||
internal class SliceableFoodComponent : Component
|
||||
{
|
||||
public override string Name => "SliceableFood";
|
||||
|
||||
[DataField("slice")]
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
public string Slice = string.Empty;
|
||||
|
||||
@@ -11,8 +11,6 @@ namespace Content.Server.Nutrition.Components
|
||||
[RegisterComponent, Friend(typeof(SmokingSystem))]
|
||||
public class SmokableComponent : Component
|
||||
{
|
||||
public override string Name => "Smokable";
|
||||
|
||||
[DataField("solution")]
|
||||
public string Solution { get; } = "smokable";
|
||||
|
||||
|
||||
@@ -11,8 +11,6 @@ namespace Content.Server.Nutrition.Components
|
||||
[RegisterComponent, Friend(typeof(UtensilSystem))]
|
||||
public class UtensilComponent : Component
|
||||
{
|
||||
public override string Name => "Utensil";
|
||||
|
||||
[DataField("types")]
|
||||
private UtensilType _types = UtensilType.None;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user