2 bugfixes, 1 improvement

This commit is contained in:
Xameren 2024-09-23 18:37:50 +02:00 committed by GitHub
parent c9d102f15d
commit cb622d6af6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -944,7 +944,7 @@ def Coinflip():
print("You won ", b, "dollars!") print("You won ", b, "dollars!")
print("You gained 10 XP ") print("You gained 10 XP ")
xp += 10 xp += 10
time.sleep(2)
#HorseBettin() #HorseBettin()
#keno() #keno()
#casinowar() #casinowar()
@ -1065,12 +1065,12 @@ def dailyreward():
sleepytime += 0.1 sleepytime += 0.1
time.sleep(sleepytime) time.sleep(sleepytime)
if bigrandom == 1: if bigrandom == 1:
money += randmoney money += randmoney*level
print("\033[H\033[J", end="") print("\033[H\033[J", end="")
print("Your daily reward is...") print("Your daily reward is...")
print(f"> {randmoney*level} $ <") print(f"> {randmoney*level} $ <")
else: else:
xp += randxp xp += randxp*level
print("\033[H\033[J", end="") print("\033[H\033[J", end="")
print("Your daily reward is...") print("Your daily reward is...")
print(f"> {randxp*level} XP <") print(f"> {randxp*level} XP <")
@ -1205,6 +1205,10 @@ def load_game():
if legit == False: # ): if legit == False: # ):
print("I should have allowed you to change the odds \nof the games in the save file aswell, eh?") print("I should have allowed you to change the odds \nof the games in the save file aswell, eh?")
time.sleep(7) time.sleep(7)
if money > 999999999:
print("Youre so greedy aswell...")
money = 0
time.sleep(3)
load_fail = False load_fail = False
else: else: