Browse Source

add missing gs 'stat', bug reported by colwyvern

rachels 1 year ago
parent
commit
ec845b06e9
1 changed files with 8 additions and 1 deletions
  1. 8 1
      locations/bank.qsrc

+ 8 - 1
locations/bank.qsrc

@@ -9,7 +9,6 @@ if $ARGS[0] = 'start':
 	menu_off = 0
 	$location_type = 'public_indoors'
 	minut += 2
-	gs 'stat'
 	gs 'themes', 'indoors'
 	'<center><b><font color="maroon">Bank</font></b></center>'
 	'<center><img <<$set_imgh>> src="images/locations/city/citycenter/bank/bank.jpg"></center>'
@@ -25,6 +24,8 @@ if $ARGS[0] = 'start':
 				bankDebtLimit = 5000
 				'You are led to on open office and a member of the bank staff goes through your details and ID, then takes 50 <b>₽</b> from you before setting up your account'
 				'"Your account is now open with your 50 <b>₽</b> and an overdraft protection of 5,000 <b>₽</b>"'
+				gs 'stat'
+
 				act 'Continue': gt 'bank', 'start'
 			end
 		else
@@ -46,6 +47,8 @@ if $ARGS[0] = 'start':
 					'<br>You deposited <<kartaIN>> <b>₽</b>, your account balance is now ' + iif(karta >= 0,'<<karta>>','<font color="red"><<karta>></font>') + ' <b>₽</b>.'
 				end
 				killvar 'kartaIN'
+				gs 'stat'
+
 				act 'Walk away':gt 'bank', 'start'
 			end
 		end
@@ -70,6 +73,8 @@ if $ARGS[0] = 'start':
 					end
 				end
 				killvar 'kartaOUT'
+				gs 'stat'
+
 				act 'Walk away':gt 'bank', 'start'
 			end
 
@@ -123,6 +128,7 @@ if $ARGS[0] = 'start':
 			end
 		end
 	end
+	gs 'stat'
 end
 
 if $ARGS[0] = 'loan_officer':
@@ -149,6 +155,7 @@ if $ARGS[0] = 'loan_officer':
 			'He reads what appears on his monitor, a ghost of a frown appearing on his face. Suddenly you feel rather foolish for asking for so much money when you''re a young girl not even established in the world yet!'
 			*nl
 			'You shift in your chair, and the next couple of minutes seem very long indeed before Karpenko finally looks up from his screen and says, "I''m sorry, but you seem to have very little in the way of assets or collateral, and you''re very young to be taking out such a significant loan. I''m afraid the bank can''t take a risk on this proposition at this time."'
+			gs 'stat'
 
 			act 'Isn''t there some way you could reconsider, Mr. Karpenko?':
 				*clr & cla