Browse Source

[fixed] dimaRevenge wasn't increased before leaving pavtrain

julzor 5 years ago
parent
commit
464d648750
1 changed files with 22 additions and 26 deletions
  1. 22 26
      locations/pavtrain.qsrc

+ 22 - 26
locations/pavtrain.qsrc

@@ -28,17 +28,13 @@ gs 'stat'
 *nl
 'Pavlovsk''s only and rather run-down <a href="exec:minut += 1 & gt ''HotelHole''">hotel</a> is just across the square, where travelers can spend the night. Always on the look out for maids among the local girl population.'
 
-if dimaRevChoice = 5 and dimaRevenge = 4 and dimaTrain = 0:
-	gt 'dimaRevenge', dimaRevenge
-	dimaRevenge += 1
-end
-
+if dimaRevChoice = 5 and dimaRevenge = 4 and dimaTrain = 0: dimaRevenge += 1 & gt 'dimaRevenge', dimaRevenge
 
 if kidaloa = 0:
 	podrand = rand(0, 5)
 
 	if money >= 5000 and hour >= 8 and hour <= 20 and podrand = 0 and monthKidalo ! month:
-		cls
+		*clr & cla
 		menu_off = 1
 		monthKidalo = month
 		gs 'stat'
@@ -48,8 +44,19 @@ if kidaloa = 0:
 		'She turns back to you and happily exclaims: "Hello! We''re shooting a pilot for TV. It''s going to be a novel program: it is a show in which we hand out gifts to random strangers, and then film their response. It''s called "Happiness in Russia", we''re hoping it will catch on all over the world. We have chosen you to be part of our pilot, congratulations!"'
 		'She grabs hold of a large box the camera man handed to her. It''s beautifully wrapped, with a nice bow to boot. She whispers to you: "This box contains a brand new laptop! Just act surprised when you open it!"'
 
+		act 'Say you have no time':
+			*clr & cla
+			gs 'stat'
+			kidaloa = 1
+			'<center><h4>Pavlovsk''s train station</h4></center>'
+			'<center><img <<$set_imgh>> src="images/locations/city/shared/trainstation/vokzal.jpg"></center>'
+			'Even though you definitely wouldn''t mind a new laptop, you simply don''t have time to talk to them right now. You politely decline and walk away before they can protest. A few minutes later you see the two of them hastily running across the square, while some poor guy opens the fancily packed box only to find a brick in it. By the time he realizes he got scammed, they are long gone. Looks like you dodged a bullet there!'
+			
+			act 'Return to the station' :minut += 15 & gt $curloc
+		end	
+		
 		act 'Wow, this must be your lucky day!':
-			cls
+			*clr & cla
 			gs 'stat'
 			'<center><h4>Pavlovsk''s train station</h4></center>'
 			'<center><img <<$set_imgh>> src="images/locations/city/shared/trainstation/vokzal.jpg"></center>'
@@ -57,7 +64,7 @@ if kidaloa = 0:
 			'The girl tells you: "Unfortunately, the government doesn''t just let us give away items for nothing. We''re legally obligated to have our winners pay VAT over the amount of money their gift is worth. In your case, this comes down to 5000 <b>₽</b>."'
 
 			act 'Pay the VAT and check out your new laptop':
-				cls
+				*clr & cla
 				money -= 5000
 				kidaloa = 1
 				if pcs_mood > 5: pcs_mood = 5
@@ -69,7 +76,7 @@ if kidaloa = 0:
 				act 'Return to the train station':minut += 15 & gt $curloc
 			end
 			act 'Say you can''t afford it right now':
-				cls
+				*clr & cla
 				gs 'stat'
 				'<center><h4>Pavlovsk''s train station</h4></center>'
 				'<center><img <<$set_imgh>> src="images/locations/city/shared/trainstation/vokzal.jpg"></center>'
@@ -79,25 +86,14 @@ if kidaloa = 0:
 				act 'Thank them and leave': minut +=15 & gt $curloc
 			end
 		end
-		act 'Say you have no time':
-			cls
-			gs 'stat'
-			kidaloa = 1
-			'<center><h4>Pavlovsk''s train station</h4></center>'
-			'<center><img <<$set_imgh>> src="images/locations/city/shared/trainstation/vokzal.jpg"></center>'
-			'Even though you definitely wouldn''t mind a new laptop, you simply don''t have time to talk to them right now. You politely decline and walk away before they can protest. A few minutes later you see the two of them hastily running across the square, while some poor guy opens the fancily packed box only to find a brick in it. By the time he realizes he got scammed, they are long gone. Looks like you dodged a bullet there!'
-			
-			act 'Return to the station' :minut += 15 & gt $curloc
-		end	
 		exit
 	end
 end
-		
-		
+				
 if kidalob = 0:
 	podrand = rand(0, 5)	
 	if money >= 1000 and hour >= 8 and hour <= 20 and podrand = 5 and ($clothingworntype = 'formal' or $clothingworntype = 'expensive') and monthKidalo ! month:
-		cls
+		*clr & cla
 		menu_off = 1
 		monthKidalo = month
 		gs 'stat'
@@ -110,7 +106,7 @@ if kidalob = 0:
 		act 'You''re not interested':minut += 15 & gt $curloc
 		
 		act 'Agree to do the photo shoot':
-			cls
+			*clr & cla
 			gs 'stat'
 			'Wow, this offer sounds amazing! There is no way you can decline. The guys take you to the back of the railway station, and the guy who hasn''t said anything to you pulls out an expensive looking camera, mounting it on a tripod near some trees.'
 			'The first guy approaches you and says: "The shoot will be against a natural background. We''ve done market research, and have determined that the picturesque background of the outdoors is by far the most desirable option for our campaign. There is only one problem... your dress is not what we are looking for at all. You''ll have to change."'
@@ -119,7 +115,7 @@ if kidalob = 0:
 			act 'Refuse and leave, you''re not taking off your clothes!':minut += 15 & gt $curloc
 			
 			act 'Change into the sundress':
-				cls
+				*clr & cla
 				!! ths will either add the sundress or simply set it to a certain damage level
 				dynamic '<<$clothingworntype>>[<<clothingwornnumber>>] = 0'
 				dynamic '<<$clothingworntype>>H[<<clothingwornnumber>>] = 0'
@@ -136,13 +132,13 @@ if kidalob = 0:
 				'You quickly get into the car and take off your dress, and put on the dress the man gave you. You give your <<$titsize>> breasts a squeeze through the fabric, adjusting the dress a bit so it fits well around them for the photo shoot.'
 				
 				act 'Pose for the camera':
-					cls
+					*clr & cla
 					kidalob = 1
 					gs 'stat'
 					'You get out of the car leaving your possessions in there, figuring it''s easier to just collect them when you change back to your regular clothes. You get out and walk to the tree the camera is aimed at. The guy who hasn''t said a word mans the camera, while the first guy instructs you how to stand in several poses. "Very nice, very nice... now turn your back to the camera!" The camera clicks several times. "Excellent. Now tilt your head backwards and close your eyes." You do as instructed, waiting for the now familiar click of the camera. It never comes.'
 					
 					act 'Ask what''s taking so long':
-						cls
+						*clr & cla
 						money = 0
 						if pcs_mood > 50: pcs_mood = 50
 						gs 'stat'