diff --git a/.vscode/settings.json b/.vscode/settings.json index 6d949e4..9975a45 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,11 +1,11 @@ { "files.exclude": { - ".gitignore": false, - "LICENSE": false, - "README.md": false, - ".vscode/": false, - ".venv/": false, - ".ruff_cache/": false, - "*/__pycache__/": false + ".gitignore": true, + "LICENSE": true, + "README.md": true, + ".vscode/": true, + ".venv/": true, + ".ruff_cache/": true, + "*/__pycache__/": true } } diff --git a/data/text.py b/data/text.py index f34cc31..2761281 100644 --- a/data/text.py +++ b/data/text.py @@ -1,3 +1,5 @@ +GAME_NAME = "Whiskerbound" + CAT_COLORS = [ "orange tabby", "black", diff --git a/game.py b/game.py index dcf909d..cda33f7 100644 --- a/game.py +++ b/game.py @@ -99,7 +99,7 @@ class Game: title() if os.path.exists("WEB_VERSION"): print( - "This is a web version of Whiskerbound, saving/loading is disabled. As soon as you quit this page, your savefile is gone.\nAlso, to anyone outside of Germany, this game is running on a cheap VPS I got, the company didn't have any US locations available, so I had to get a Germany one, sorry for the high ping (I also have to deal with it, I'm in the US)\nPls don't hack this" + f"This is a web version of {data.text.GAME_NAME}, saving/loading is disabled. As soon as you quit this page, your savefile is gone.\nAlso, to anyone outside of Germany, this game is running on a cheap VPS I got, the company didn't have any US locations available, so I had to get a Germany one, sorry for the high ping (I also have to deal with it, I'm in the US)\nPls don't hack this" ) print( "Just a recommendation, don't press any keys with CTRL, it will probably break something. If something weird happens, reload." @@ -142,7 +142,7 @@ class Game: options.insert(0, "Load Game") if not os.path.exists("WEB_VERSION"): options.append("Quit") - print("Welcome to Whiskerbound!") + print(f"Welcome to {data.text.GAME_NAME}") choice = ui.select("Please choose an option", choices=options) if choice == "New Game": diff --git a/systems/ui.py b/systems/ui.py index c165f5b..2954b49 100644 --- a/systems/ui.py +++ b/systems/ui.py @@ -7,7 +7,6 @@ import data.cat import data.text import systems.debug - current_cat: data.cat.Cat | None = None @@ -35,7 +34,7 @@ def clear(): def title(): clear() - print("=== Whiskerbound ===\n") + print(f"=== {data.text.GAME_NAME} ===\n") STYLE = questionary.Style(