Browse Source

[fixed] shoplift bug in pavlovsk. Noticed by Thavus

anjuna krokus 2 weeks ago
parent
commit
8ba45add74
1 changed files with 2 additions and 3 deletions
  1. 2 3
      locations/shoplifting.qsrc

+ 2 - 3
locations/shoplifting.qsrc

@@ -682,8 +682,6 @@ if $ARGS[0] = 'pav':
 
 						act 'Catch your breath': gt 'pav_commercial'
 					else
-						policeQW['shoplift_caught'] += 1
-						!ADD 1 TO THE CAUGHT COUNTER
 						'You keep running while the security guard follows close behind... You turn a corner and then quickly take another corner as you try to shake him off...'
 						'But the guard is not easily giving up, and as you turn the corner, you reach a dead-end. You quickly try to turn around and run another way but it''s too late as you''re tackled.'
 						'Lying on the ground, the security guard quickly lifts you up and leads you toward the security room.'
@@ -709,11 +707,12 @@ if $ARGS[0] = 'securityroom_pav':
 	*clr & cla
 	minut += 5
 	policeQW['shoplift_value'] = 1300
+	policeQW['shoplift_caught'] += 1
 	gs 'stat'
 
 	'<center><img <<$set_imgh>> src="images/locations/city/shared/shoplift/caught.jpg"></center>'
 
-	if policeQW['shoplift_caught'] = 0:
+	if policeQW['shoplift_caught'] = 1:
 		'"Where are you taking me?" you shout out, "I haven''t done anything wrong!" You look around trying to catch someone''s attention. People are staring at you in disgust and turning their heads.'
 		'The security guard keeps quiet as he forcefully pushes you away from the supermarket. You go through a dark hallway and stop at a door, which he unlocks before pushing you inside.'
 		'He orders you to take a seat on a basic chair, and you quietly comply...'