FoodComponent solution un-hardcoding, rehydratable solution name fixes, monkey cubes edible again, slicable food preserves poisons (#4942)
This commit is contained in:
@@ -37,7 +37,6 @@ namespace Content.Server.Botany.Components
|
||||
{
|
||||
public const float HydroponicsSpeedMultiplier = 1f;
|
||||
public const float HydroponicsConsumptionMultiplier = 4f;
|
||||
private const string SoilSolutionName = "soil";
|
||||
|
||||
[Dependency] private readonly IRobustRandom _random = default!;
|
||||
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
||||
@@ -120,6 +119,9 @@ namespace Content.Server.Botany.Components
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
public bool ForceUpdate { get; set; }
|
||||
|
||||
[DataField("solution")]
|
||||
public string SoilSolutionName { get; set; } = "soil";
|
||||
|
||||
public void WeedInvasion()
|
||||
{
|
||||
// TODO
|
||||
|
||||
Reference in New Issue
Block a user