all repos — groupgardenbot @ 38ccab8a1e43e4e9d71412d52089648c2b8eee5e

An extension of the game "botany", originally designed for unix-based systems, to the Telegram Bot API.

increase mutation rarity
Marco Andronaco andronacomarco@gmail.com
Sun, 25 Sep 2022 11:51:26 +0200
commit

38ccab8a1e43e4e9d71412d52089648c2b8eee5e

parent

d752172475554e59798085f5ad66e7ac2dd8552b

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M Gardening.pyGardening.py

@@ -1,11 +1,11 @@

import random, os, time, datetime from Constants import * -water_duration = 3600 * 24 +water_duration = 3_600 * 24 death_duration = 5 * water_duration stage_factors = (1, 3, 10, 20, 30) indicator_squares = 10 -mutation_rarity = 20000 # Increase this # to make mutation rarer (chance 1 out of x each second) +mutation_rarity = 1_000_000 # Increase this # to make mutation rarer (chance 1 out of x each second) max_plant_rarity = 256.0 class Plant(object):