mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-27 14:08:44 +01:00
Makes species mutation a bit easier.
This commit is contained in:
@@ -197,7 +197,7 @@
|
||||
// Other plants also mutate if enough mutagenic compounds have been added.
|
||||
if(!seed.immutable)
|
||||
if(prob(min(mutation_level,100)))
|
||||
mutate((rand(100) < 25) ? 2 : 1)
|
||||
mutate((rand(100) < 15) ? 2 : 1)
|
||||
mutation_level = 0
|
||||
|
||||
// Maintain tray nutrient and water levels.
|
||||
@@ -500,7 +500,7 @@
|
||||
return
|
||||
|
||||
// Check if we should even bother working on the current seed datum.
|
||||
if(seed.mutants. && seed.mutants.len && severity > 1 && prob(10+mutation_mod))
|
||||
if(seed.mutants. && seed.mutants.len && severity > 1)
|
||||
mutate_species()
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user