Browse Source

[fixed] Referals stopped after Mom kicks you out thanks to julzor

KevinSmarts 4 years ago
parent
commit
a388b24eed
1 changed files with 2 additions and 2 deletions
  1. 2 2
      locations/pav_clinic.qsrc

+ 2 - 2
locations/pav_clinic.qsrc

@@ -117,7 +117,7 @@ if $ARGS[0] = '':
 				if Gspravka < 10 and ginrand = 0:
 					'When you clean the floor of the gynaecologist''s examination room, he leaves the room to let you do your work in peace. You''re alone now.'
 
-					if pcs_vag > 0 and motherKnowSpravka = 0:
+					if pcs_vag > 0 and motherKnowSpravka = 0 and home_owned[2] = 1:
 						act 'Forge a referral to give to your mother':
 							*clr & cla
 							Gspravka = 30
@@ -611,7 +611,7 @@ if $ARGS[0] = '':
 				end
 			end
 		end
-		if StoryLine > 0 and SchoolAtestat = 0 and Gspravka < 3 and motherKnowSpravka = 0: act 'Go to the gynaecologist for a referral': gt 'pav_clinic', 'referral'
+		if StoryLine > 0 and SchoolAtestat = 0 and Gspravka < 3 and motherKnowSpravka = 0 and home_owned[2] = 1: act 'Go to the gynaecologist for a referral': gt 'pav_clinic', 'referral'
 	else
 		'The clinic is closed. It''s open every day between 06:00 and 21:00.'
 	end