This commit is contained in:
wrexbe
2022-02-01 19:35:40 -08:00
committed by GitHub
parent fa8a7e609a
commit 17db0775c8
436 changed files with 20 additions and 828 deletions

View File

@@ -10,6 +10,5 @@ namespace Content.Server.Nutrition.Components
[RegisterComponent, Friend(typeof(SmokingSystem))]
public class CigarComponent : Component
{
public override string Name => "Cigar";
}
}

View File

@@ -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");

View File

@@ -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";

View File

@@ -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

View File

@@ -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>

View File

@@ -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;

View File

@@ -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";

View File

@@ -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;