Decrease mutation rarity and reformat garden printing

This commit is contained in:
Jake Funke 2017-07-19 19:10:55 +00:00
parent 934c632b13
commit 2696a9d61d
2 changed files with 2 additions and 2 deletions

View File

@ -207,7 +207,7 @@ class Plant(object):
def mutate_check(self):
# Create plant mutation
# Increase this # to make mutation rarer (chance 1 out of x each second)
CONST_MUTATION_RARITY = 10000
CONST_MUTATION_RARITY = 20000
mutation_seed = random.randint(1,CONST_MUTATION_RARITY)
if mutation_seed == CONST_MUTATION_RARITY:
# mutation gained!

View File

@ -263,7 +263,7 @@ class CursedMenu(object):
if this_garden[plant_id]:
if not this_garden[plant_id]["dead"]:
this_plant = this_garden[plant_id]
entry = "{:14} - {:>16} - {:>7}p - {}\n".format(
entry = "{:14} - {:>16} - {:>8}p - {}\n".format(
this_plant["owner"],
this_plant["age"],
this_plant["score"],