Ver código fonte

[fixed] bag snatcher actually takes your bag

Kevin_Smarts 3 anos atrás
pai
commit
e4cfb6d8a0
1 arquivos alterados com 12 adições e 1 exclusões
  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>>'