From 26df7b5a1f0d71f2e58d28a8330926a8a5740ead Mon Sep 17 00:00:00 2001 From: Nate Smith Date: Fri, 8 Dec 2023 21:42:24 -0800 Subject: [PATCH] adjust mutation rarity to account for reduced number of life iterations --- plant.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plant.py b/plant.py index e533963..625d512 100644 --- a/plant.py +++ b/plant.py @@ -276,7 +276,7 @@ class Plant: def mutate_check(self): # Create plant mutation # Increase this # to make mutation rarer (chance 1 out of x each second) - CONST_MUTATION_RARITY = 20000 + CONST_MUTATION_RARITY = 10000 mutation_seed = random.randint(1,CONST_MUTATION_RARITY) if mutation_seed == CONST_MUTATION_RARITY: # mutation gained!