* temp * #3898 some progress on DrinkCanVisualizer * Fixed implementation * Moved drink can sprite layer definition to abstract parent * Added open drink can sprites * #3898 - fixes for drink cans' sprite field after merge + moved UpdateAppeareance from DrinkComponent to DrinkSystem * Update Content.Server/Nutrition/EntitySystems/DrinkSystem.cs * #3898 removed obsolete comment Co-authored-by: Javier Guardia Fernández <DrSmugleaf@users.noreply.github.com>
This commit is contained in:
@@ -3,14 +3,18 @@ using Robust.Shared.Serialization;
|
||||
|
||||
namespace Content.Shared.Nutrition.Components
|
||||
{
|
||||
public class SharedFoodComponent
|
||||
// TODO: Remove maybe? Add visualizer for food
|
||||
[Serializable, NetSerializable]
|
||||
public enum FoodVisuals : byte
|
||||
{
|
||||
// TODO: Remove maybe? Add visualizer for food
|
||||
[Serializable, NetSerializable]
|
||||
public enum FoodVisuals
|
||||
{
|
||||
Visual,
|
||||
MaxUses,
|
||||
}
|
||||
Visual,
|
||||
MaxUses,
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public enum DrinkCanStateVisual : byte
|
||||
{
|
||||
Closed,
|
||||
Opened
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user