Parcourir la source

[fixed] Found cleverly hidden loop and removed it and added back purchase messages that had been removed.

Kevin_Smarts il y a 1 an
Parent
commit
7020aff467
1 fichiers modifiés avec 5 ajouts et 3 suppressions
  1. 5 3
      locations/pav_pharmacy.qsrc

+ 5 - 3
locations/pav_pharmacy.qsrc

@@ -6,7 +6,7 @@ $location_type = 'public_indoors'
 !! pharmacy['arrive'] is to determine what kind of dialogue you get from who''s behind the counter
 !! pharmacy['first_purchase'] = 1 will skip the prologue dialogue when buying multiple items in a row
 
-if $ARGS[0] = 'start' or $message ! '':
+if $ARGS[0] = 'start':
 	CLOSE ALL
 	*clr & cla
 	$loc = 'pav_pharmacy'
@@ -42,8 +42,10 @@ if $ARGS[0] = 'start' or $message ! '':
 	
 	act 'Leave the pharmacy':pharmacy['arrive'] = 0 & pharmacy['first_purchase'] = 0 & gt 'pav_commercial'
 
-	if pharmacy['arrive'] = 1:
-		'"Do you need anything else?"'
+	if $message ! '' or pharmacy['arrive'] = 1:
+		$message
+		killvar '$message'
+		'<center>"Do you need anything else?"</center>'
 	else
 		pharmacy['arrive'] = 1
 		if LudaQW['work_hours'] = 0: