Make it easy to change name of game later on, savegame will still use Whiskerbound to not break stuff though
This commit is contained in:
14
.vscode/settings.json
vendored
14
.vscode/settings.json
vendored
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
GAME_NAME = "Whiskerbound"
|
||||
|
||||
CAT_COLORS = [
|
||||
"orange tabby",
|
||||
"black",
|
||||
|
||||
4
game.py
4
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":
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user