mirror of
https://git.cavemanon.xyz/Cavemanon/SnootGame.git
synced 2025-02-02 06:46:34 +01:00
23 lines
652 B
Text
23 lines
652 B
Text
## Utility functions for game setup, debugging etc.
|
|
|
|
init python:
|
|
|
|
def init_stats(anon=0, fang=0, trad=False):
|
|
global anonscore
|
|
global fangscore
|
|
global tradwife
|
|
print(anonscore, fangscore, tradwife)
|
|
anonscore = anon
|
|
fangscore = fang
|
|
tradwife = trad
|
|
print(anonscore, fangscore, tradwife)
|
|
|
|
label initstats(anon=0, fang=0, trad=False):
|
|
# Sets various game-related global variables
|
|
# :param int anon: Anon's score
|
|
# :param int fang: Fang's score
|
|
# :param bool trad: Tradwife ending flag
|
|
$ anonscore = anon
|
|
$ fangscore = fang
|
|
$ tradwife = trad
|
|
return
|