Skip to content

Commit 9387e23

Browse files
committed
Add option to unlock all implants
1 parent b662f4e commit 9387e23

File tree

1 file changed

+34
-3
lines changed

1 file changed

+34
-3
lines changed

save-editor.py

Lines changed: 34 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
import os
22
import datetime
3+
import time
34
import json
45
import colorama
56
from colorama import Fore, Back, Style
67

78
colorama.init()
89

910
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
1012

1113
def load_save_file():
1214
global save_file_path
@@ -97,7 +99,8 @@ def main():
9799
print("4) Edit Difficulty")
98100
print("5) Change Life/Death Symbol")
99101
print("6) Load/Backup Current Save File")
100-
print("7) Exit")
102+
print("7) Unlock all implants")
103+
print("8) Exit")
101104

102105
choice = input("Enter your choice: ")
103106

@@ -192,12 +195,40 @@ def main():
192195
elif operation_choice == "2":
193196
with open(backup_file_path, 'r') as backup: data = backup.read()
194197
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)
196203
else:
197204
clear_console()
198205
print_status(save_data)
199-
200206
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":
201232
break
202233

203234
else:

0 commit comments

Comments
 (0)