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": {
|
"files.exclude": {
|
||||||
".gitignore": false,
|
".gitignore": true,
|
||||||
"LICENSE": false,
|
"LICENSE": true,
|
||||||
"README.md": false,
|
"README.md": true,
|
||||||
".vscode/": false,
|
".vscode/": true,
|
||||||
".venv/": false,
|
".venv/": true,
|
||||||
".ruff_cache/": false,
|
".ruff_cache/": true,
|
||||||
"*/__pycache__/": false
|
"*/__pycache__/": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
GAME_NAME = "Whiskerbound"
|
||||||
|
|
||||||
CAT_COLORS = [
|
CAT_COLORS = [
|
||||||
"orange tabby",
|
"orange tabby",
|
||||||
"black",
|
"black",
|
||||||
|
|||||||
4
game.py
4
game.py
@@ -99,7 +99,7 @@ class Game:
|
|||||||
title()
|
title()
|
||||||
if os.path.exists("WEB_VERSION"):
|
if os.path.exists("WEB_VERSION"):
|
||||||
print(
|
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(
|
print(
|
||||||
"Just a recommendation, don't press any keys with CTRL, it will probably break something. If something weird happens, reload."
|
"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")
|
options.insert(0, "Load Game")
|
||||||
if not os.path.exists("WEB_VERSION"):
|
if not os.path.exists("WEB_VERSION"):
|
||||||
options.append("Quit")
|
options.append("Quit")
|
||||||
print("Welcome to Whiskerbound!")
|
print(f"Welcome to {data.text.GAME_NAME}")
|
||||||
choice = ui.select("Please choose an option", choices=options)
|
choice = ui.select("Please choose an option", choices=options)
|
||||||
|
|
||||||
if choice == "New Game":
|
if choice == "New Game":
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ import data.cat
|
|||||||
import data.text
|
import data.text
|
||||||
import systems.debug
|
import systems.debug
|
||||||
|
|
||||||
|
|
||||||
current_cat: data.cat.Cat | None = None
|
current_cat: data.cat.Cat | None = None
|
||||||
|
|
||||||
|
|
||||||
@@ -35,7 +34,7 @@ def clear():
|
|||||||
|
|
||||||
def title():
|
def title():
|
||||||
clear()
|
clear()
|
||||||
print("=== Whiskerbound ===\n")
|
print(f"=== {data.text.GAME_NAME} ===\n")
|
||||||
|
|
||||||
|
|
||||||
STYLE = questionary.Style(
|
STYLE = questionary.Style(
|
||||||
|
|||||||
Reference in New Issue
Block a user