Way to get money
This commit is contained in:
6
game.py
6
game.py
@@ -1,6 +1,6 @@
|
||||
from data.cat import Cat
|
||||
from systems.ui import clear, title
|
||||
from systems.world import shelter, house, shop
|
||||
from systems.world import shelter, house, shop, work
|
||||
import systems.ui as ui
|
||||
import data.save
|
||||
import data.text
|
||||
@@ -86,12 +86,14 @@ class Game:
|
||||
while True:
|
||||
match ui.select(
|
||||
"Please choose an option",
|
||||
["Go to your house", "Go to the shop", "Options"],
|
||||
["Go to your house", "Go to the shop", "Go to work", "Options"],
|
||||
):
|
||||
case "Go to your house":
|
||||
house(self.cat)
|
||||
case "Go to the shop":
|
||||
shop(self.cat)
|
||||
case "Go to work":
|
||||
work(self.cat)
|
||||
case "Options":
|
||||
if self.options_menu():
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user