Skip to content

Commit

Permalink
Fix botany mutation returns causing issues with plant growth (Mojave-…
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRealScarHomie authored Jun 1, 2023
1 parent 561f7af commit 9cd544a
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions mojave/flora/agriculture.dm
Original file line number Diff line number Diff line change
Expand Up @@ -249,16 +249,11 @@
adjust_toxic(-rating * 3)

//This is where stability mutations exist now.
if(myseed.instability >= 80)
return

if(myseed.instability >= 60)
if(prob((myseed.instability)/2) && !self_sustaining && LAZYLEN(myseed.mutatelist)) //Minimum 30%, Maximum 50% chance of mutating every age tick when not on autogrow.
mutatespecie()
myseed.set_instability(myseed.instability/2)
if(myseed.instability >= 40)
return
if(myseed.instability >= 20 )
return

//Health & Age///////////////////////////////////////////////////////////

Expand Down

0 comments on commit 9cd544a

Please sign in to comment.