Browse Source

[added] check to see how many dildos need to be referenced in text
[removed] duplicate shower, toilet, sink, mirror, etc.

hornguy6 3 years ago
parent
commit
97a404bbe1
1 changed files with 6 additions and 4 deletions
  1. 6 4
      locations/vanrPar.qsrc

+ 6 - 4
locations/vanrPar.qsrc

@@ -18,15 +18,17 @@ if $ARGS[0] = '':
 	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/home/vanrpar.jpg"></center>'
 	'The bathroom is very small and unimpressive. Nevertheless, it has everything you need.'
 	*nl
-	'A shower, toilet, sink, <a href="exec:gt ''mirror'',''start''">mirror</a>, where you can ' + iif(pcs_hairbsh = 0,'<a href="exec:gt ''mirror'',''brush''">brush</a>','brush') + ' your hair, and even a bath tub.'
-
 	'There is a shower, toilet, sink, <a href="exec:gt ''mirror'',''start''">mirror</a>, where you can ' + iif(pcs_hairbsh = 0,'<a href="exec:gt ''mirror'',''brush''">brush</a>','brush') + ' your hair, and even a bath tub.'
 
 	gs'selfplay','suction_dildo'
-	if motherQW['bathroom_dildos'] > 0 and motherknowsdildo = 1:
+	if motherQW['bathroom_dildos'] > 1 and motherknowsdildo = 1:
 		'<i>Huh? Where''d my dildos go? I thought I- oh shit! <<$npc_nickname[''A29'']>> probably took them again...</i>'
-	elseif motherQW['bathroom_dildos'] > 0 and vanrPar_suction_dildo = 0:
+	elseif if motherQW['bathroom_dildos'] = 1 and motherknowsdildo = 1:
+		'<i>Huh? Where''d my dildo go? I thought I- oh shit! <<$npc_nickname[''A29'']>> probably took it again...</i>'
+	elseif motherQW['bathroom_dildos'] > 1 and vanrPar_suction_dildo = 0:
 		'<i>Huh? Where''d my dildos go? I thought I left them right here...</i>'
+	elseif motherQW['bathroom_dildos'] = 1 and vanrPar_suction_dildo = 0:
+		'<i>Huh? Where''d my dildo go? I thought I left it right here...</i>'
 	end
 
 	*nl