Преглед изворни кода

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

Kevin_Smarts пре 1 година
родитељ
комит
c4375889df
3 измењених фајлова са 5 додато и 4 уклоњено
  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['pref'] += rape['pref']
 				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:
 					stim['hidden_rape'] = 1
 				else

+ 1 - 1
locations/mother.qsrc

@@ -1156,7 +1156,7 @@ if $ARGS[0] = 'pregreact1':
 					act 'Continue':gt 'mother'
 				end
 			end
-			if rape['day'] > daystart - 30:
+			if rape[2] > daystart - 30:
 				act'I was raped':
 					cla & *nl
 					'"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 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.'
-	!!		if rape['day'] > (daystart - 3):
+	!!		if rape[2] > (daystart - 3):
 	!!			act'I was raped':gt 'pav_pharmacy', 'buy_morning_after_raped'
 	!!		end
 		end
@@ -856,7 +856,7 @@ if $ARGS[0] = 'buy_morning_after':
 		if birth_control['condom_stealth'] >= daystart - 3:
 			act'I got stealthed':gs 'pav_pharmacy', 'morning_after_stealth_meek'
 		end
-!!		if rape['day'] > (daystart - 3):
+!!		if rape[2] > (daystart - 3):
 !!			act'I was raped':gt 'pav_pharmacy', 'buy_morning_after_raped'
 !!		end
 	end