Browse Source

[fixed] moved a line of text used in both the if and else branch of a conditional to outside the conditional and fixed some indentation

Spackled Lanturn 3 years ago
parent
commit
495655ff78
1 changed files with 3 additions and 4 deletions
  1. 3 4
      locations/vanr.qsrc

+ 3 - 4
locations/vanr.qsrc

@@ -26,15 +26,14 @@ gs 'themes', 'indoors'
 if remvanr = 0:
 	'<center><img <<$set_imgh>> src="images/locations/city/residential/apartment/vanr.jpg"></center>'
 	'Your bathroom is old and in a bad state. The suite is unattractive and stained, but at least the <a href="exec:gt ''mirror'',''start''">mirror</a> is reasonably new.'
-	'Your ' + iif(pcs_hairbsh = 0,'<a href="exec:gt ''mirror'',''brush''">brush</a>','brush') + ' sits on the small shelf, below the mirror.'
 elseif remvanr = 1:
 	'<center><img <<$set_imgh>> src="images/locations/shared/bathroom/vanr2.jpg"></center>'
 	'Your bathroom is new and in good condition. The suite is modern, your <a href="exec:gt ''mirror'',''start''">mirror</a> is perfect and everything looks clean and fresh.'
-	'Your ' + iif(pcs_hairbsh = 0,'<a href="exec:gt ''mirror'',''brush''">brush</a>','brush') + ' sits on the small shelf, below the mirror.'
 end
+'Your ' + iif(pcs_hairbsh = 0,'<a href="exec:gt ''mirror'',''brush''">brush</a>','brush') + ' sits on the small shelf, below the mirror.'
 
-	gs 'din_van', 'private'
-	gs 'din_van', 'misery'
+gs 'din_van', 'private'
+gs 'din_van', 'misery'
 
 --- vanr ---------------------------------