Botany tweaks vol. 2 (#18888)
* Even more consumption * Revert "Even more consumption" This reverts commit 94ae0eca0ba1b4a55913f92519e1354b77e70734. Oops forgot a file * Believe it or not, more nutrient consumption * Buff ez nutrient and l4z * Add left 4 zed to emagged nutrimax just because * Change some thresholds
This commit is contained in:
@@ -344,7 +344,7 @@ namespace Content.Server.Botany.Systems
|
||||
}
|
||||
|
||||
// Weeds like water and nutrients! They may appear even if there's not a seed planted.
|
||||
if (component.WaterLevel > 10 && component.NutritionLevel > 2)
|
||||
if (component.WaterLevel > 10 && component.NutritionLevel > 5)
|
||||
{
|
||||
var chance = 0f;
|
||||
if (component.Seed == null)
|
||||
@@ -435,7 +435,7 @@ namespace Content.Server.Botany.Systems
|
||||
// Make sure the plant is not starving.
|
||||
if (_random.Prob(0.35f))
|
||||
{
|
||||
if (component.NutritionLevel > 2)
|
||||
if (component.NutritionLevel > 5)
|
||||
{
|
||||
component.Health += healthMod;
|
||||
}
|
||||
@@ -904,8 +904,8 @@ namespace Content.Server.Botany.Systems
|
||||
if (!component.DrawWarnings)
|
||||
return;
|
||||
|
||||
_appearance.SetData(uid, PlantHolderVisuals.WaterLight, component.WaterLevel <= 10, app);
|
||||
_appearance.SetData(uid, PlantHolderVisuals.NutritionLight, component.NutritionLevel <= 2, app);
|
||||
_appearance.SetData(uid, PlantHolderVisuals.WaterLight, component.WaterLevel <= 15, app);
|
||||
_appearance.SetData(uid, PlantHolderVisuals.NutritionLight, component.NutritionLevel <= 8, app);
|
||||
_appearance.SetData(uid, PlantHolderVisuals.AlertLight,
|
||||
component.WeedLevel >= 5 || component.PestLevel >= 5 || component.Toxins >= 40 || component.ImproperHeat ||
|
||||
component.ImproperLight || component.ImproperPressure || component.MissingGas > 0, app);
|
||||
|
||||
Reference in New Issue
Block a user