Botany tweaks vol. 2.5 (#19039)
* Buff nutriment on plants * Super composting buff * 1984 pt. 2 * Use standard function
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user