|
1 | 1 | import os |
2 | 2 | import datetime |
| 3 | +import time |
3 | 4 | import json |
4 | 5 | import colorama |
5 | 6 | from colorama import Fore, Back, Style |
6 | 7 |
|
7 | 8 | colorama.init() |
8 | 9 |
|
9 | 10 | save_file_path = os.path.expandvars(r"%APPDATA%\Godot\app_userdata\Cruelty Squad\savegame.save") # Default save file path |
| 11 | +stocks_file_path = os.path.expandvars(r"%APPDATA%\Godot\app_userdata\Cruelty Squad\stocks.save") # Default stocks file path |
10 | 12 |
|
11 | 13 | def load_save_file(): |
12 | 14 | global save_file_path |
@@ -97,7 +99,8 @@ def main(): |
97 | 99 | print("4) Edit Difficulty") |
98 | 100 | print("5) Change Life/Death Symbol") |
99 | 101 | print("6) Load/Backup Current Save File") |
100 | | - print("7) Exit") |
| 102 | + print("7) Unlock all implants") |
| 103 | + print("8) Exit") |
101 | 104 |
|
102 | 105 | choice = input("Enter your choice: ") |
103 | 106 |
|
@@ -192,12 +195,40 @@ def main(): |
192 | 195 | elif operation_choice == "2": |
193 | 196 | with open(backup_file_path, 'r') as backup: data = backup.read() |
194 | 197 | with open(save_file_path, 'w') as original: original.write(data) |
195 | | - print("Backup loaded.") |
| 198 | + print("Backup loaded. Going back to main menu...") |
| 199 | + # wait 2 seconds before going back to main menu to print stats |
| 200 | + time.sleep(2) |
| 201 | + clear_console() |
| 202 | + print_status(save_data) |
196 | 203 | else: |
197 | 204 | clear_console() |
198 | 205 | print_status(save_data) |
199 | | - |
200 | 206 | elif choice == "7": |
| 207 | + all_implants = [ |
| 208 | + "Nightmare Vision Goggles", "First Aid Kit", "Zoom N Go Bionic Eyes", |
| 209 | + "Zomy X-200 Portable Cassette Player", "Vertical Entry Device", |
| 210 | + "CSIJ Level IV Body Armor", "CSIJ Level III Body Armor", |
| 211 | + "Speed Enhancer Gland", "CSIJ Level II Body Armor", "Life Sensor", |
| 212 | + "Grappendix", "Speed Enhancer Total Organ Package", "Biothruster", |
| 213 | + "Load Bearing Vest", "Tactical Blast Shield", "Composite Helmet", |
| 214 | + "Icaros Machine", "Flechette Grenade", "Night Vision Goggles", |
| 215 | + "Stealth Suit", "Cursed Torch", "HE Grenade", "Cortical Scaledown+", |
| 216 | + "Hazmat Suit", "Tattered Rain Hat", "Holy Scope", "Abominator", |
| 217 | + "Eyes of Corporate Insight", "Military Camouflage", "Extravagant Suit", |
| 218 | + "ZZzzz Special Sedative Grenade", "Augmented arms", "Pneumatic Legs", |
| 219 | + "Alien Leg Wetware", "Ammunition Gland", "Angular Advantage Tactical Munitions", |
| 220 | + "Skullgun", "House", "CSIJ Level VI Golem Exosystem", "Goo Overdrive", |
| 221 | + "Gunkboosters", "CSIJ Level V Biosuit", "CSIJ Level IIB Body Armor", |
| 222 | + "Funkgrunters", "Microbial Oil Secretion Glands", "Biojet", |
| 223 | + "Speed Enhancer Node Cluster", "Bouncy Suit", "Flowerchute" |
| 224 | + ] |
| 225 | + |
| 226 | + save_data["implants_unlocked"] = all_implants |
| 227 | + save_save_file(save_data) |
| 228 | + print("All implants unlocked.") |
| 229 | + clear_console() |
| 230 | + print_status(save_data) |
| 231 | + elif choice == "8": |
201 | 232 | break |
202 | 233 |
|
203 | 234 | else: |
|
0 commit comments