Browse Source

[fixed] array used string which was overwriting base variable, changed to use integer

Kevin_Smarts 1 year ago
parent
commit
c4375889df
3 changed files with 5 additions and 4 deletions
  1. 2 1
      locations/arousal.qsrc
  2. 1 1
      locations/mother.qsrc
  3. 2 2
      locations/pav_pharmacy.qsrc

+ 2 - 1
locations/arousal.qsrc

@@ -705,7 +705,8 @@ if $ARGS[0] ! 'end' and $ARGS[0] ! 'checks' and $ARGS[0] ! 'count' and $ARGS[0]
 				stim['kink'] += rape['exp']
 				stim['kink'] += rape['exp']
 				stim['pref'] += rape['pref']
 				stim['pref'] += rape['pref']
 				stim['kinkno'] += 1
 				stim['kinkno'] += 1
-				rape['day'] = daystart
+				!! used to track if Sveta has been raped for reactions with mum and Luda
+				rape[1] = daystart
 				if temp_unaware = 1:
 				if temp_unaware = 1:
 					stim['hidden_rape'] = 1
 					stim['hidden_rape'] = 1
 				else
 				else

+ 1 - 1
locations/mother.qsrc

@@ -1156,7 +1156,7 @@ if $ARGS[0] = 'pregreact1':
 					act 'Continue':gt 'mother'
 					act 'Continue':gt 'mother'
 				end
 				end
 			end
 			end
-			if rape['day'] > daystart - 30:
+			if rape[2] > daystart - 30:
 				act'I was raped':
 				act'I was raped':
 					cla & *nl
 					cla & *nl
 					'"I... I don''t actually know. I was...," you stammer as you struggle to get the next word out. "I was raped."'
 					'"I... I don''t actually know. I was...," you stammer as you struggle to get the next word out. "I was raped."'

+ 2 - 2
locations/pav_pharmacy.qsrc

@@ -725,7 +725,7 @@ if $ARGS[0] = 'buy_preg_test':
 			'"I know, Aunt," you say, deeply embarrassed. "I just... made a mistake..."'
 			'"I know, Aunt," you say, deeply embarrassed. "I just... made a mistake..."'
 			'"I guess we all make those," she sighs, taking a small box off the shelf. "Goodness knows, your sister''s living proof of that. Literally."'
 			'"I guess we all make those," she sighs, taking a small box off the shelf. "Goodness knows, your sister''s living proof of that. Literally."'
 			'She hands you the box and you gratefully tuck it into your purse.'
 			'She hands you the box and you gratefully tuck it into your purse.'
-	!!		if rape['day'] > (daystart - 3):
+	!!		if rape[2] > (daystart - 3):
 	!!			act'I was raped':gt 'pav_pharmacy', 'buy_morning_after_raped'
 	!!			act'I was raped':gt 'pav_pharmacy', 'buy_morning_after_raped'
 	!!		end
 	!!		end
 		end
 		end
@@ -856,7 +856,7 @@ if $ARGS[0] = 'buy_morning_after':
 		if birth_control['condom_stealth'] >= daystart - 3:
 		if birth_control['condom_stealth'] >= daystart - 3:
 			act'I got stealthed':gs 'pav_pharmacy', 'morning_after_stealth_meek'
 			act'I got stealthed':gs 'pav_pharmacy', 'morning_after_stealth_meek'
 		end
 		end
-!!		if rape['day'] > (daystart - 3):
+!!		if rape[2] > (daystart - 3):
 !!			act'I was raped':gt 'pav_pharmacy', 'buy_morning_after_raped'
 !!			act'I was raped':gt 'pav_pharmacy', 'buy_morning_after_raped'
 !!		end
 !!		end
 	end
 	end