FoodComponent solution un-hardcoding, rehydratable solution name fixes, monkey cubes edible again, slicable food preserves poisons (#4942)

This commit is contained in:
20kdc
2021-10-19 08:13:43 +01:00
committed by GitHub
parent eae8ab96d8
commit 6c6bde8743
8 changed files with 38 additions and 14 deletions

View File

@@ -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