Files
tbd-station-14/Content.Shared/Nutrition/Components/SharedFoodComponent.cs
Tayrtahn 75e47fff9e Add verbs to Open/Close Openable containers, and add optional seals (#24780)
* Implement closing; add open/close verbs

* Add breakable seals

* Allow custom verb names; make condiment bottles closeable

* Remove pointless VV annotations and false defaults

* Split Sealable off into a new component

* Should have a Closed event too

* Oh hey, there are icons I could use

* Ternary operator

* Add support for seal visualizers

* Moved Sealable to Shared, added networking

* Replaced bottle_close1.ogg
2024-02-13 17:08:07 -05:00

27 lines
490 B
C#

using Robust.Shared.Serialization;
namespace Content.Shared.Nutrition.Components
{
// TODO: Remove maybe? Add visualizer for food
[Serializable, NetSerializable]
public enum FoodVisuals : byte
{
Visual,
MaxUses,
}
[Serializable, NetSerializable]
public enum OpenableVisuals : byte
{
Opened,
Layer
}
[Serializable, NetSerializable]
public enum SealableVisuals : byte
{
Sealed,
Layer,
}
}