16 lines
483 B
Python
16 lines
483 B
Python
from untitled import generation, ui, rules
|
|
|
|
|
|
def adoption():
|
|
print("Welcome to the shelter!")
|
|
name = None
|
|
while not name:
|
|
choice = "Reroll"
|
|
while choice == "Reroll":
|
|
choices = generation.generate_cat_choices()
|
|
choice = ui.select(
|
|
"Please choose a cat to adopt:",
|
|
[ui.Choice(cat[0], cat[1]) for cat in choices] + ["Reroll"],
|
|
)
|
|
name = ui.text("Please choose a name for your cat:")
|