Skip to content

Commit

Permalink
Update tray_process.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
Niezann committed Sep 6, 2024
1 parent fbbbf46 commit 4279a43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/hydroponics/trays/tray_process.dm
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
mutation_level = 0

// Maintain tray nutrient and water levels, only if they don't have nutrient/water requirements.
if(seed.get_trait(TRAIT_REQUIRES_NUTRIENT) && seed.get_trait(TRAIT_NUTRIENT_CONSUMPTION) > 0 && nutrilevel > 0 && prob(25))
if(seed.get_trait(TRAIT_REQUIRES_NUTRIENTS) && seed.get_trait(TRAIT_NUTRIENT_CONSUMPTION) > 0 && nutrilevel > 0 && prob(25))
nutrilevel -= max(0,seed.get_trait(TRAIT_NUTRIENT_CONSUMPTION) * HYDRO_SPEED_MULTIPLIER)
if(seed.get_trait(TRAIT_REQUIRES_WATER) && seed.get_trait(TRAIT_WATER_CONSUMPTION) > 0 && waterlevel > 0 && prob(25))
waterlevel -= max(0,seed.get_trait(TRAIT_WATER_CONSUMPTION) * HYDRO_SPEED_MULTIPLIER)
Expand Down

0 comments on commit 4279a43

Please sign in to comment.