Refactors throw events, makes cream pies ECS (#4500)
This commit is contained in:
committed by
GitHub
parent
140682f92b
commit
ea4ce1c6fc
25
Content.Shared/Nutrition/Components/CreamPiedComponent.cs
Normal file
25
Content.Shared/Nutrition/Components/CreamPiedComponent.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using Content.Shared.Nutrition.EntitySystems;
|
||||
using Robust.Shared.Analyzers;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.Serialization;
|
||||
using Robust.Shared.ViewVariables;
|
||||
|
||||
namespace Content.Shared.Nutrition.Components
|
||||
{
|
||||
[Friend(typeof(SharedCreamPieSystem))]
|
||||
[RegisterComponent]
|
||||
public class CreamPiedComponent : Component
|
||||
{
|
||||
public override string Name => "CreamPied";
|
||||
|
||||
[ViewVariables]
|
||||
public bool CreamPied { get; set; } = false;
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public enum CreamPiedVisuals
|
||||
{
|
||||
Creamed,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user