Re-organize all projects (#4166)
This commit is contained in:
15
Content.Shared/Botany/IPlantMetabolizable.cs
Normal file
15
Content.Shared/Botany/IPlantMetabolizable.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
#nullable enable
|
||||
using Robust.Shared.GameObjects;
|
||||
|
||||
namespace Content.Shared.Botany
|
||||
{
|
||||
public interface IPlantMetabolizable
|
||||
{
|
||||
/// <summary>
|
||||
/// Metabolize <paramref name="customPlantMetabolism"/> unit(s) of a reagent.
|
||||
/// </summary>
|
||||
/// <param name="plantHolder">Entity holding the plant</param>
|
||||
/// <param name="customPlantMetabolism">Units to metabolize</param>
|
||||
void Metabolize(IEntity plantHolder, float customPlantMetabolism = 1f);
|
||||
}
|
||||
}
|
||||
17
Content.Shared/Botany/PlantHolderVisuals.cs
Normal file
17
Content.Shared/Botany/PlantHolderVisuals.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
#nullable enable
|
||||
using System;
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
namespace Content.Shared.Botany
|
||||
{
|
||||
[Serializable, NetSerializable]
|
||||
public enum PlantHolderVisuals
|
||||
{
|
||||
Plant,
|
||||
HealthLight,
|
||||
WaterLight,
|
||||
NutritionLight,
|
||||
AlertLight,
|
||||
HarvestLight,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user