Decrease mutation rarity and reformat garden printing
parent
934c632b13
commit
2696a9d61d
|
@ -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!
|
||||
|
|
|
@ -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"],
|
||||
|
|
Loading…
Reference in New Issue