Project-Sloth / ps-weedplanting

Project Sloth Weed Script
https://www.discord.gg/projectsloth
GNU General Public License v3.0
51 stars 43 forks source link

UI reports water and fertilizer above "threshold" the entire time, but health still goes down. #27

Closed VinnyTheLegend closed 1 year ago

VinnyTheLegend commented 1 year ago

Health will slowly go down no matter what pretty much. Will go back up by a few % sometimes too.

--- Growing Related Settings
Shared.rayCastingDistance = 15.0 -- distance in meters
Shared.ClearOnStartup = true -- Clear dead plants on script start-up
Shared.ObjectZOffset = 0.0 -- Z-coord offset for WeedProps
Shared.FireTime = 10000

Shared.GrowTime = 60 -- Time in minutes for a plant to grow from 0 to 100
Shared.LoopUpdate = 15 -- Time in minutes to perform a loop update for water, nutrition, health, growth, etc.
Shared.WaterDecay = 2 -- Percent of water that decays every minute
Shared.FertilizerDecay = 2 -- Percent of fertilizers that decays every minute

Shared.FertilizerThreshold = 40
Shared.WaterThreshold = 40
Shared.HealthBaseDecay = {7, 10} -- Min/Max Amount of health decay when the plant is below the above thresholds for water and nutrition