Sfoglia il codice sorgente

fix the detection of the yeast infection

rachels 2 anni fa
parent
commit
b9dcecd119
3 ha cambiato i file con 9 aggiunte e 8 eliminazioni
  1. 1 1
      locations/city_clinic.qsrc
  2. 1 0
      locations/medical_din.qsrc
  3. 7 7
      locations/pav_clinic.qsrc

+ 1 - 1
locations/city_clinic.qsrc

@@ -463,7 +463,7 @@ if $ARGS[0] = 'stdcheck':
 							end
 						end
 					else
-						if venera > 0:
+						if venera > 0 or Kandidoz > 10:
 							'The doctor frowns and tells you that the test did not go well.'
 						
 							if GerpesOnce = 1:

+ 1 - 0
locations/medical_din.qsrc

@@ -223,6 +223,7 @@ elseif $ARGS[0] = 'healthTreatment':
 	if pain['cervix'] > 0:pain['cervix'] -= rand(7,13)
 	pcs_health = pcs_vital * 10 + pcs_stren * 5 + 1000
 	if pillcon > 0 and rand(0,4) = 0:pillcon -= 2500
+	Kandidoz = min(Kandidoz,0)
 elseif $ARGS[0] = 'healSTDs':
 	!! Heals all STDs. Usage: gs 'medical_din','healSTDs'
 	venera = 0

+ 7 - 7
locations/pav_clinic.qsrc

@@ -193,7 +193,7 @@ if $ARGS[0] = '':
 					gs 'stat'
 					'The doctor has you provide some blood and urine, before examining you. Then he sends you out to wait in the waiting room while you wait for the test results to come back.'
 
-					if venera > 0:
+					if venera > 0 or Kandidoz > 10:
 						'The doctor calls you back to his office after a while, and says with a slight frown: "I''m afraid I have some bad news."'
 						gs 'pav_clinic', 'std_check'
 					else
@@ -344,7 +344,7 @@ if $ARGS[0] = '':
 							$gpoli_sick = 'are pregnant'
 						end
 
-						if venera > 0:
+						if venera > 0 or Kandidoz > 10:
 							if $gpoli_sick ! '':$gpoli_sick = $gpoli_sick + ', and you have a sexually transmitted disease'
 							if $gpoli_sick = '':$gpoli_sick = 'have a sexually transmitted disease'
 						end
@@ -355,7 +355,7 @@ if $ARGS[0] = '':
 							'He nods, and waves his hand: "It''s all good. Just don''t forget to use protection, it''s still dangerous out there."'
 						else
 							'The doctor frowns when he gives you the bad news: "I''m afraid I found something irregular. You <<$gpoli_sick>>."'
-							if venera > 0: gs 'pav_clinic', 'std_check'
+							if venera > 0 or Kandidoz > 10: gs 'pav_clinic', 'std_check'
 						end
 						'The doctor stands beside you while he helps you move your legs from the stirrups, and asks with a confident smile on his face: "So <<$pcs_nickname>>... how are you going to repay me for the examination?"'
 
@@ -588,7 +588,7 @@ if $ARGS[0] = '':
 								$gpoli_sick = 'are pregnant'
 							end
 
-							if venera > 0:
+							if venera > 0 or Kandidoz > 10:
 								if $gpoli_sick ! '':$gpoli_sick = $gpoli_sick + ', and you have a sexually transmitted disease'
 								if $gpoli_sick = '':$gpoli_sick = 'have a sexually transmitted disease'
 							end
@@ -600,7 +600,7 @@ if $ARGS[0] = '':
 								'He looks at you sternly and shakes his head: "I''m sorry <<$pcs_nickname>>, but you are not an adult. I need her permission to treat you, those are the rules."'
 							else
 								'"Well <<$pcs_nickname>>, you have a problem. You <<$gpoli_sick>> as well as being addicted to cocaine. I''ll have to write a note for your mother, I can''t treat you without her permission."'
-								if venera > 0: gs 'pav_clinic', 'std_check'
+								if venera > 0 or Kandidoz > 10: gs 'pav_clinic', 'std_check'
 								'Your heart begins to race when you hear that, your mother can''t find out! She would kill you if she finds out what you have been up to!'
 								'You quickly blurt: "Wait! Could you please just give me the cure without telling her? Please?"'
 								'He looks at you sternly and shakes his head: "I''m sorry <<$pcs_nickname>>, but you are not an adult. I need her permission to treat you. You''ve been a very bad girl, you know..."'
@@ -717,7 +717,7 @@ if $ARGS[0] = 'referral2':
 		$gpoli_sick = 'are pregnant'
 	end
 
-	if venera > 0:
+	if venera > 0 or Kandidoz > 10:
 		if $gpoli_sick ! '':$gpoli_sick = $gpoli_sick + ', and you have a sexually transmitted disease'
 		if $gpoli_sick = '':$gpoli_sick = 'have a sexually transmitted disease'
 	end
@@ -733,7 +733,7 @@ if $ARGS[0] = 'referral2':
 		'He looks at you sternly and shakes his head: "I''m sorry <<$pcs_nickname>>, I can''t do that, that''s fraud! Do you have any idea how much trouble I could get into?"'
 	else
 		'The doctor frowns when he gives you the results: "I''m afraid I have some bad news, <<$pcs_nickname>>. You <<$gpoli_sick>>.'
-		if venera > 0: gs 'pav_clinic', 'std_check'
+		if venera > 0 or Kandidoz > 10: gs 'pav_clinic', 'std_check'
 		'You''re also not a virgin any more, obviously."'
 		if pcs_vag = 0 and stat['hidden_vaginal'] > 0:
 			'Your heart begins to race when you hear that, your mother can''t find out! How could this have happened you''ve never even had sex!'