Botany tweaks vol. 2.5 (#19039)

* Buff nutriment on plants

* Super composting buff

* 1984 pt. 2

* Use standard function
This commit is contained in:
Doru991
2023-08-13 10:10:22 +03:00
committed by GitHub
parent 22ece21d2c
commit 3af1cc0dbd
3 changed files with 15 additions and 4 deletions

View File

@@ -125,7 +125,7 @@ public class SeedData
#region Tolerances
[DataField("nutrientConsumption")] public float NutrientConsumption = 0.70f;
[DataField("nutrientConsumption")] public float NutrientConsumption = 0.75f;
[DataField("waterConsumption")] public float WaterConsumption = 0.5f;
[DataField("idealHeat")] public float IdealHeat = 293f;

View File

@@ -300,7 +300,12 @@ namespace Content.Server.Botany.Systems
ForceUpdateByExternalCause(uid, component);
}
}
var seed = produce.Seed;
if (seed != null)
{
var nutrientBonus = seed.Potency / 2.5f;
AdjustNutrient(uid, nutrientBonus, component);
}
EntityManager.QueueDeleteEntity(args.Used);
}
}

View File

@@ -13,9 +13,9 @@
- !type:SatiateHunger
plantMetabolism:
- !type:PlantAdjustNutrition
amount: 1
amount: 1.5
- !type:PlantAdjustHealth
amount: 0.5
amount: 0.75
pricePerUnit: 2
- type: reagent
@@ -39,6 +39,12 @@
- !type:ModifyBleedAmount
amount: -0.25
- !type:SatiateHunger #Numbers are balanced with this in mind + it helps limit how much healing you can get from food
# Lets plants benefit too
plantMetabolism:
- !type:PlantAdjustNutrition
amount: 0.5
- !type:PlantAdjustHealth
amount: 1.5
pricePerUnit: 2.5
- type: reagent