Browse Source

[fixed] bag snatcher actually takes your bag

Kevin_Smarts 3 years ago
parent
commit
e4cfb6d8a0
1 changed files with 12 additions and 1 deletions
  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>>'