Procházet zdrojové kódy

[fixed] bag snatcher actually takes your bag

Kevin_Smarts před 3 roky
rodič
revize
e4cfb6d8a0
1 změnil soubory, kde provedl 12 přidání a 1 odebrání
  1. 12 1
      locations/street_event.qsrc

+ 12 - 1
locations/street_event.qsrc

@@ -373,10 +373,21 @@ if $ARGS[1] = 'main':
 			act 'Continue': gt $loc
 		else
 			'As you are walking down the street minding your own business, you are suddenly jerked sideways and nearly pulled off your feet. As you stumble to regain your balance, you realize a man has just snatched your purse from you and is running away with it.'
-			act 'It''s only money': money = 0 & gt $loc
+			act 'It''s only money and a bag':
+				dynamic $currentpursetype + '_purses[<<currentpursenumber>>] = 0'
+				$currentpursetype = ''
+				currentpursenumber = ''
+				bag = 0
+				money = 0
+				gt $loc
+			and
 			act 'Chase him':
 				*clr & cla
 				if (pcs_run + pcs_stam) < rand(120,250):
+					dynamic $currentpursetype + '_purses[<<currentpursenumber>>] = 0'
+					$currentpursetype = ''
+					currentpursenumber = ''
+					bag = 0
 					money = 0
 					gs 'stat'
 					'<<$streetev_title>>'