/datum/plantgrowth_tick ![code/modules/hydroponics/hydroponics_growth_ticks.dm 5](git.png)
plantgrowth_tick is a container that saves information about changes that are happening within a plant during a tick. This is passed to procs of chems and plantgenes and is modified After plantgenes, chems and plant-effects are resolved, this proc can be resolved and removed with /obj/machinery/plantpot/proc/HYPresolve_plantgrowth_tick
Vars | |
acid_damage | Acid damage dealt to the plant by chems, e.g. sulfuric acid |
---|---|
bonus_growth_rate | Bonus growth rate if the plant does not have too much water |
bonus_growth_water_limit | Limit, at which point the plant has too much water and thus doesn't gain additional growth |
bonus_health_rate | Bonus health if the plant does not have too much water |
cropsize_bonus | A bonus to cropsize stat that will be applied to the plant |
endurance_bonus | A bonus to endurance stat that will be applied to the plant |
fire_damage | Fire damage dealt to the plant by chems, e.g. phlog |
growth_rate | The growth rate this plantgrowth_tick will apply |
growtime_bonus | A bonus to growtime stat that will be applied to the plant |
harvests_bonus | A bonus to harvests stat that will be applied to the plant |
harvtime_bonus | A bonus to harvtime stat that will be applied to the plant |
health_change | A bonus to health that will be applied to the plant |
mutation_severity | Mutation chance applied to the plant by chems, e.g. unstable mutagen |
nectar_generation_multiplier_bonus | A bonus to the random variable of the nectar-generation. |
poison_damage | Poison damage dealt to the plant by chems, e.g. weedkiller |
potency_bonus | A bonus to potency stat that will be applied to the plant |
radiation_damage | Radiation damage dealt to the plant by chems, e.g. radium |
referenced_plantpot | This is the plantpot that currently handles the plantpot in question |
thirst_damage | The amount of damage dealt to the plant if there is not enough water/water-substitute |
thirst_growth_rate_multiplier | the multiplier the plant will receive to growth rate if there is no water in the plantpot, baseline 0 for normal plants, 1 for e.g. weeds |
tick_multiplier | Multiplier to the changes made by this, if something does quicken the growthcycles |
water_consumption | The rate of chemicals this tick of plantgrowth will consume |
Var Details
acid_damage ![code/modules/hydroponics/hydroponics_growth_ticks.dm 25](git.png)
Acid damage dealt to the plant by chems, e.g. sulfuric acid
bonus_growth_rate ![code/modules/hydroponics/hydroponics_growth_ticks.dm 13](git.png)
Bonus growth rate if the plant does not have too much water
bonus_growth_water_limit ![code/modules/hydroponics/hydroponics_growth_ticks.dm 12](git.png)
Limit, at which point the plant has too much water and thus doesn't gain additional growth
bonus_health_rate ![code/modules/hydroponics/hydroponics_growth_ticks.dm 14](git.png)
Bonus health if the plant does not have too much water
cropsize_bonus ![code/modules/hydroponics/hydroponics_growth_ticks.dm 19](git.png)
A bonus to cropsize stat that will be applied to the plant
endurance_bonus ![code/modules/hydroponics/hydroponics_growth_ticks.dm 22](git.png)
A bonus to endurance stat that will be applied to the plant
fire_damage ![code/modules/hydroponics/hydroponics_growth_ticks.dm 23](git.png)
Fire damage dealt to the plant by chems, e.g. phlog
growth_rate ![code/modules/hydroponics/hydroponics_growth_ticks.dm 8](git.png)
The growth rate this plantgrowth_tick will apply
growtime_bonus ![code/modules/hydroponics/hydroponics_growth_ticks.dm 17](git.png)
A bonus to growtime stat that will be applied to the plant
harvests_bonus ![code/modules/hydroponics/hydroponics_growth_ticks.dm 20](git.png)
A bonus to harvests stat that will be applied to the plant
harvtime_bonus ![code/modules/hydroponics/hydroponics_growth_ticks.dm 18](git.png)
A bonus to harvtime stat that will be applied to the plant
health_change ![code/modules/hydroponics/hydroponics_growth_ticks.dm 16](git.png)
A bonus to health that will be applied to the plant
mutation_severity ![code/modules/hydroponics/hydroponics_growth_ticks.dm 27](git.png)
Mutation chance applied to the plant by chems, e.g. unstable mutagen
nectar_generation_multiplier_bonus ![code/modules/hydroponics/hydroponics_growth_ticks.dm 15](git.png)
A bonus to the random variable of the nectar-generation.
poison_damage ![code/modules/hydroponics/hydroponics_growth_ticks.dm 24](git.png)
Poison damage dealt to the plant by chems, e.g. weedkiller
potency_bonus ![code/modules/hydroponics/hydroponics_growth_ticks.dm 21](git.png)
A bonus to potency stat that will be applied to the plant
radiation_damage ![code/modules/hydroponics/hydroponics_growth_ticks.dm 26](git.png)
Radiation damage dealt to the plant by chems, e.g. radium
referenced_plantpot ![code/modules/hydroponics/hydroponics_growth_ticks.dm 6](git.png)
This is the plantpot that currently handles the plantpot in question
thirst_damage ![code/modules/hydroponics/hydroponics_growth_ticks.dm 10](git.png)
The amount of damage dealt to the plant if there is not enough water/water-substitute
thirst_growth_rate_multiplier ![code/modules/hydroponics/hydroponics_growth_ticks.dm 11](git.png)
the multiplier the plant will receive to growth rate if there is no water in the plantpot, baseline 0 for normal plants, 1 for e.g. weeds
tick_multiplier ![code/modules/hydroponics/hydroponics_growth_ticks.dm 7](git.png)
Multiplier to the changes made by this, if something does quicken the growthcycles
water_consumption ![code/modules/hydroponics/hydroponics_growth_ticks.dm 9](git.png)
The rate of chemicals this tick of plantgrowth will consume