kudzu vines fix

Makes kudzu follow the laws of production speed, 1 being the fastest
This commit is contained in:
DragonTrance
2020-11-14 19:02:21 -07:00
committed by GitHub
parent 3d062960ba
commit 1404fe22b2
+3 -3
View File
@@ -387,9 +387,9 @@
init_subtypes(/datum/spacevine_mutation/, vine_mutations_list)
if(potency != null)
mutativeness = potency / 10
if(production != null)
spread_cap *= production / 5
spread_multiplier /= production / 5
if(production != null && production <= 10) //Prevents runtime in case production is set to 11.
spread_cap *= (11 - production) / 5 //Best production speed of 1 doubles spread_cap to 60 while worst speed of 10 lowers it to 6. Even distribution.
spread_multiplier /= (11 - production) / 5
/datum/spacevine_controller/vv_get_dropdown()
. = ..()