adjust mutation rarity to account for reduced number of life iterations

pull/53/head
Nate Smith 2023-12-08 21:42:24 -08:00
parent 9162888a7d
commit 26df7b5a1f
1 changed files with 1 additions and 1 deletions

View File

@ -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!