@@ -48,12 +48,16 @@ def print_status(save_data):
4848 if save_data .get (key ):
4949 current_difficulty = value
5050 break
51+
52+ life_death_symbol = "LIFE" if not save_data .get ("death" ) else "DEATH"
5153
5254 print ("Cruelty Squad Save Editor" )
5355 print ("Current Levels Unlocked:" , Fore .RED + str (levels_unlocked ) + Style .RESET_ALL )
5456 print ("Number of Weapons Unlocked:" , Fore .RED + str (weapons_unlocked ) + Style .RESET_ALL )
5557 print ("Current Money:" , Fore .GREEN + str (money ) + Style .RESET_ALL )
5658 print ("Current Difficulty:" , Fore .RED + str (current_difficulty ) + Style .RESET_ALL )
59+ symbol_color = Fore .GREEN if life_death_symbol == "LIFE" else Fore .RED
60+ print ("Current Life/Death Symbol:" , symbol_color + str (life_death_symbol ) + Style .RESET_ALL )
5761
5862def clear_console ():
5963 command = 'cls' if os .name == 'nt' else 'clear'
@@ -90,7 +94,8 @@ def main():
9094 print ("2) Unlock all weapons" )
9195 print ("3) Edit Money" )
9296 print ("4) Edit Difficulty" )
93- print ("5) Exit" )
97+ print ("5) Change Life/Death Symbol" )
98+ print ("6) Exit" )
9499
95100 choice = input ("Enter your choice: " )
96101
@@ -144,8 +149,26 @@ def main():
144149 else :
145150 clear_console ()
146151 print_status (save_data )
147-
152+
148153 elif choice == "5" :
154+ print ("\n Life/Death Symbols:" )
155+ print ("1) LIFE " + Fore .GREEN + "(default)" + Style .RESET_ALL )
156+ print ("2) DEATH " + Fore .RED + "(secret)" + Style .RESET_ALL )
157+ print ("3) Go back to main menu" )
158+
159+ symbol_choice = input ("Enter your choice: " )
160+
161+ if 1 <= int (symbol_choice ) <= 2 :
162+ save_data ["death" ] = True if int (symbol_choice ) == 2 else False
163+ save_save_file (save_data )
164+ print ("Life/Death Symbol updated." )
165+ clear_console ()
166+ print_status (save_data )
167+ else :
168+ clear_console ()
169+ print_status (save_data )
170+
171+ elif choice == "6" :
149172 break
150173
151174 else :
0 commit comments