Browse Source

[added] cheat option that separates rapists and robbers

hornguy6 3 years ago
parent
commit
31246fde26
2 changed files with 24 additions and 12 deletions
  1. 21 9
      locations/Cheatmenu_din.qsrc
  2. 3 3
      locations/street_event.qsrc

+ 21 - 9
locations/Cheatmenu_din.qsrc

@@ -429,12 +429,22 @@ $cheatmenu['random_bf_gf'] = {
 	end
 }
 
-$cheatmenu['street_events'] = {
-	if cheat_street_events = 0:
-		cheat_street_events = 1
+$cheatmenu['street_robbers'] = {
+	if cheat_street_robbers = 0:
+		cheat_street_robbers = 1
 		dynamic $cheatmenu['permanent']
-	elseif cheat_street_events = 1:
-		cheat_street_events = 0
+	elseif cheat_street_robbers = 1:
+		cheat_street_robbers = 0
+		dynamic $cheatmenu['permanent']
+	end
+}
+
+$cheatmenu['street_rapists'] = {
+	if cheat_street_rapists = 0:
+		cheat_street_rapists = 1
+		dynamic $cheatmenu['permanent']
+	elseif cheat_street_rapists = 1:
+		cheat_street_rapists = 0
 		dynamic $cheatmenu['permanent']
 	end
 }
@@ -497,8 +507,10 @@ $cheatmenu['permanent'] = {
 	if cheatTime = 1:$cheatTime = 'Enabled'
 	if random_bf_gf_cheat = 0: $random_bf_gf_cheat = 'Enabled'
 	if random_bf_gf_cheat = 1: $random_bf_gf_cheat = 'Disabled'
-	if cheat_street_events = 0: $cheat_street_events = 'Enabled'
-	if cheat_street_events = 1: $cheat_street_events = 'Disabled'
+	if cheat_street_robbers = 0: $cheat_street_robbers = 'Enabled'
+	if cheat_street_robbers = 1: $cheat_street_robbers = 'Disabled'
+	if cheat_street_rapists = 0: $cheat_street_rapists = 'Enabled'
+	if cheat_street_rapists = 1: $cheat_street_rapists = 'Disabled'
 
 	'<center><h1>Cheat Menu - Recurrent Cheats</h1></center>'
 	'<center><font color="red"><b>WARNING!</b></font>: Disabling states may cause some events not to trigger. Use at your own risk!</center>'
@@ -525,7 +537,8 @@ $cheatmenu['permanent'] = {
 	*nl
 	
 	'Random boyfriend/girlfriend events: <a href="exec:dynamic $cheatmenu[''random_bf_gf'']"><<$random_bf_gf_cheat>></a>'
-	'Random rapist/robbers in the streets: <a href="exec:dynamic $cheatmenu[''street_events'']"><<$cheat_street_events>></a>'
+	'Random robbers in the streets: <a href="exec:dynamic $cheatmenu[''street_robbers'']"><<$cheat_street_robbers>></a>'
+	'Random rapists in the streets: <a href="exec:dynamic $cheatmenu[''street_rapists'']"><<$cheat_street_rapists>></a>'
 
 	*nl
 
@@ -601,7 +614,6 @@ $cheatmenu['state'] = {
 	'<a href="exec:dynamic $cheatmenu[''remove_preg''] & gs ''stat''">Remove pregnancy</a>'
 	'<a href="exec:gs''cum_cleanup'',''reset'' & dynamic $cheatmenu[''state''] & gs ''stat''">Remove all cum</a>'
 	'<a href="exec:dynamic $cheatmenu[''cycle''] & gs ''stat''">Set stage of menstrual cycle</a>'
-	*nl
 
 	if lactation['active'] <= 0:
 		'You are not lactating'

+ 3 - 3
locations/street_event.qsrc

@@ -227,7 +227,7 @@ if $ARGS[1] = 'main':
 		end
 	end
 
-	if streetrand < streetev_rape and hour <= 3 and streetev_day ! daystart and cheat_street_events = 0:
+	if streetrand < streetev_rape and hour <= 3 and streetev_day ! daystart and cheat_street_rapists = 0:
 		*clr & cla
 		menu_off = 1
 		streetev_day = daystart
@@ -288,7 +288,7 @@ if $ARGS[1] = 'main':
 	end
 
 	streetrand = rand(0, 100)
-	if streetrand < streetev_rob and daystart >= 10 and (hour < 6 or hour >= 20) and streetev_day ! daystart and bag = 1 and streetev_rob_day ! daystart and cheat_street_events = 0:
+	if streetrand < streetev_rob and daystart >= 10 and (hour < 6 or hour >= 20) and streetev_day ! daystart and bag = 1 and streetev_rob_day ! daystart and cheat_street_robbers = 0:
 		*clr & cla
 		menu_off = 1
 		streetev_day = daystart
@@ -362,7 +362,7 @@ if $ARGS[1] = 'main':
 
 	streetrand = rand(0, 100)
 
-	if streetrand < streetev_hijack and daystart >= 10 and hour >= 6 and hour < 20 and streetev_day ! daystart and bag = 1 and streetev_hijack_day ! daystart and cheat_street_events = 0:
+	if streetrand < streetev_hijack and daystart >= 10 and hour >= 6 and hour < 20 and streetev_day ! daystart and bag = 1 and streetev_hijack_day ! daystart and cheat_street_robbers = 0:
 		*clr & cla
 		menu_off = 1
 		gs'stat'