Auto comp (#6416)
This commit is contained in:
@@ -11,8 +11,6 @@ namespace Content.Shared.Nutrition.Components
|
||||
[RegisterComponent]
|
||||
public class CreamPieComponent : Component
|
||||
{
|
||||
public override string Name => "CreamPie";
|
||||
|
||||
[ViewVariables]
|
||||
[DataField("paralyzeTime")]
|
||||
public float ParalyzeTime { get; } = 1f;
|
||||
|
||||
@@ -11,8 +11,6 @@ namespace Content.Shared.Nutrition.Components
|
||||
[RegisterComponent]
|
||||
public class CreamPiedComponent : Component
|
||||
{
|
||||
public override string Name => "CreamPied";
|
||||
|
||||
[ViewVariables]
|
||||
public bool CreamPied { get; set; } = false;
|
||||
}
|
||||
|
||||
@@ -13,8 +13,6 @@ namespace Content.Shared.Nutrition.Components
|
||||
[RegisterComponent]
|
||||
public class SharedButcherableComponent : Component, IDraggable
|
||||
{
|
||||
public override string Name => "Butcherable";
|
||||
|
||||
//TODO: List for sub-products like animal-hides, organs and etc?
|
||||
[ViewVariables]
|
||||
[DataField("meat", customTypeSerializer:typeof(PrototypeIdSerializer<EntityPrototype>))]
|
||||
|
||||
@@ -10,8 +10,6 @@ namespace Content.Shared.Nutrition.Components
|
||||
[NetworkedComponent()]
|
||||
public abstract class SharedHungerComponent : Component
|
||||
{
|
||||
public sealed override string Name => "Hunger";
|
||||
|
||||
[ViewVariables]
|
||||
public abstract HungerThreshold CurrentHungerThreshold { get; }
|
||||
|
||||
|
||||
@@ -10,8 +10,6 @@ namespace Content.Shared.Nutrition.Components
|
||||
[NetworkedComponent()]
|
||||
public abstract class SharedThirstComponent : Component
|
||||
{
|
||||
public sealed override string Name => "Thirst";
|
||||
|
||||
[ViewVariables]
|
||||
public abstract ThirstThreshold CurrentThirstThreshold { get; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user