Skip to content

Commit

Permalink
Revert adjust_yield() changes
Browse files Browse the repository at this point in the history
  • Loading branch information
m-dzianishchyts committed Feb 28, 2024
1 parent 350bf0b commit 5072c70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/hydroponics/seeds.dm
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@
/// Setter procs ///
/obj/item/seeds/proc/adjust_yield(adjustamt)
if(yield != -1) // Unharvestable shouldn't suddenly turn harvestable
yield = clamp(yield + adjustamt, 0, 5)
yield = clamp(yield + adjustamt, 0, 10)

if(yield <= 0 && get_gene(/datum/plant_gene/trait/plant_type/fungal_metabolism))
yield = 1 // Mushrooms always have a minimum yield of 1.
Expand Down

0 comments on commit 5072c70

Please sign in to comment.