1
0
Pārlūkot izejas kodu

[added] pavlovsk police station by cat and merged it with the old captain katalkin content

julzor 4 gadi atpakaļ
vecāks
revīzija
c95fe2b922

+ 1 - 0
glife.qproj

@@ -694,6 +694,7 @@
 		<Location name="pavtrainhall"/>
 		<Location name="pavtrainhall_events"/>
 		<Location name="pavtrain_market"/>
+		<Location name="pavstation"/>
 		<Location name="katalkin"/>
 		<Location name="katalkinSex"/>
 		<Location name="katalkinAlko"/>

+ 17 - 22
locations/katalkin.qsrc

@@ -1,18 +1,17 @@
 # katalkin
-gs 'stat'
 
-if hour >= 8:'<center><img <<$set_imgh>> src="images/characters/pavlovsk/resident/katalkin/katalkin.jpg"></center>'
-'The police station is a small room in the corner of the Pavlovsk station building. For some reason the windows are blinded, so people can''t see what''s happening inside.'
+gs 'stat'
 
 if hour >= 8 and hour < 22:
 	'Captain Katalkin is currently handling some cases.'
-
+	'<center><img <<$set_imgh>> src="images/characters/pavlovsk/resident/katalkin/katalkin.jpg"></center>'
+	
 	if katalkinSexOnce = 0:
 		if schtraf = 0:
 			'Captain Katalkin looks at you with some interest. He gives you a smile and says: "Hello miss. I was just about to have a break, would you like to join me for a cup of tea?"'
 
 			act 'Drink tea':
-				cls
+				*clr & cla
 				minut += 5
 				katalkinNoexit = 0
 				gs 'stat'
@@ -38,7 +37,7 @@ if hour >= 8 and hour < 22:
 
 			if money >= schtraf:
 				act 'Pay the fine':
-					cls
+					*clr & cla
 					money -= schtraf
 					schtraf = 0
 					katalkinNoexit = 0
@@ -50,7 +49,7 @@ if hour >= 8 and hour < 22:
 				end
 			else
 				act 'You can''t pay the fine':
-					cls
+					*clr & cla
 					money = 0
 					schtraf = 0
 					katalkinNoexit = 0
@@ -66,7 +65,7 @@ if hour >= 8 and hour < 22:
 			end
 
 			act 'Beg':
-				cls
+				*clr & cla
 				gs 'stat'
 				'<center><img <<$set_imgh>> src="images/characters/pavlovsk/resident/katalkin/katalkin.jpg"></center>'
 				'You can''t go to jail! You try to look cute and innocent for him when you say: "Please sir, I can''t go to jail! Can''t you let me go just this once?"'
@@ -76,7 +75,7 @@ if hour >= 8 and hour < 22:
 					'You think to yourself: "Do I really have sex with him, just to avoid a fine? I do have the money, so I could just pay..."'
 
 					act 'Pay the fine after all':
-						cls
+						*clr & cla
 						money -= schtraf
 						schtraf = 0
 						katalkinNoexit = 0
@@ -99,7 +98,7 @@ if hour >= 8 and hour < 22:
 			'From your previous experience with him, you know he''s probably not just talking about tea.'
 
 			act 'Drink tea':
-				cls
+				*clr & cla
 				minut += 5
 				katalkinNoexit = 0
 				gs 'stat'
@@ -114,7 +113,7 @@ if hour >= 8 and hour < 22:
 
 			if money >= schtraf:
 				act 'Give him the money':
-					cls
+					*clr & cla
 					money -= schtraf
 					schtraf = 0
 					katalkinNoexit = 0
@@ -135,7 +134,7 @@ if hour >= 8 and hour < 22:
 			'Captain Katalkin pretends he''s looking through some files, and then rips up a piece of paper while he grins at you: "Good news! It seems like your fine has been paid in full, miss <<$pcs_lastname>>."'
 
 			act 'Say goodbye':
-				cls
+				*clr & cla
 				schtraf = 0
 				katalkinNoexit = 0
 				gs 'stat'
@@ -155,7 +154,7 @@ elseif hour >= 22:
 			'When Katalkin sees you walk by, he waves you over and drunkenly says: "<<$pcs_nickname>>! Come here, let me fuckin'' introduce you to my boys!"'
 
 			act 'Sit down with them':
-				cls
+				*clr & cla
 				minut += 5
 				katalkinNoexit = 0
 				katGangMeet = 1
@@ -169,7 +168,7 @@ elseif hour >= 22:
 			'When Katalkin sees you walk by, he waves you over and drunkenly says: <<$pcs_nickname>>! Come here, have a drink with me and my boys!"'
 
 			act 'Sit down with them':
-				cls
+				*clr & cla
 				minut += 5
 				katalkinNoexit = 0
 				gs 'stat'
@@ -184,7 +183,7 @@ elseif hour >= 22:
 			'When Katalkin sees you walk by, he waves you over and drunkenly says: <<$pcs_nickname>>! Come here, join me for a drink!"'
 
 			act 'Sit down with him':
-				cls
+				*clr & cla
 				minut += 5
 				katalkinNoexit = 0
 				gs 'stat'
@@ -210,7 +209,7 @@ elseif hour >= 22:
 
 			if money >= schtraf:
 				act 'Pay the fine':
-					cls
+					*clr & cla
 					money -= schtraf
 					schtraf = 0
 					katalkinNoexit = 0
@@ -222,7 +221,7 @@ elseif hour >= 22:
 				end
 			else
 				act 'You can''t pay the fine':
-					cls
+					*clr & cla
 					money = 0
 					schtraf = 0
 					katalkinNoexit = 0
@@ -238,13 +237,9 @@ elseif hour >= 22:
 			end
 		end
 	end
-elseif hour < 8:
-	'The door to the police station is locked.'
-
-	act 'Leave the police station':minut += 1 & gt 'pavtrainhall'
 end
 
-if katalkinNoexit = 0:act 'Leave the police station':minut += 1 & gt 'pavtrainhall'
+if katalkinNoexit = 0:act 'Leave his office': minut += 1 & gt 'pavstation', 'station_inside'
 
 --- katalkin ---------------------------------
 

+ 70 - 0
locations/pavstation.qsrc

@@ -0,0 +1,70 @@
+# pavstation
+
+if $ARGS[0] = 'station_outside':
+	*clr & cla
+	$menu_loc = 'pavstation'
+	$menu_arg = 'station_outside'
+	menu_off = 0
+	$location_type = 'public_indoors'
+	gs 'stat'
+	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/police/pavext.jpg" ></center>'
+	'The police station is gleaming in a bright yellow color, clearly making it clear that it can''t be missed by anyone in Pavlovsk.'
+	'The police officers are usually often misusing their power since no one further up the chain is giving a damn about a sleepy little town.'
+	
+	act 'Return to the train station area': minut += 3 & gt 'pavtrainhall'
+	act 'Enter the police station': minut += 1 & gt 'pavstation', 'station_inside'
+end
+
+if $ARGS[0] = 'station_inside':
+	*clr & cla
+	$menu_arg = 'station_inside'
+	menu_off = 0
+	gs 'stat'
+	$location_type = 'public_indoors'
+	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/police/pavrec.jpg" ></center>'
+	'You are welcomed by a tiny reception area with someone always just lazily hanging around waiting for something to happen. The whole interior has seen better days and you''re reminded by the stories you''ve heard from your parents about how everything used to look run-down during their younger days.'
+	
+	act 'Leave the station': minut += 1 & gt 'pavstation', 'station_outside'
+	act 'Approach the reception area': minut += 2 & gt 'pavstation', 'reception'
+	if katalkinSexOnce = 1 and hour >= 8: minut += 1 & act 'Visit Captain Katalkin': gt 'katalkin'
+end
+		
+if $ARGS[0] = 'reception':
+	*clr & cla
+	menu_off = 1
+	gs 'stat'
+	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/police/pavrec.jpg" ></center>'
+	'As you approach the reception the clerk looks at you with disdain in their eyes, "So what do you want?"'
+	'You can''t just stand around looking like a fool you need to say something before they think you''re crazy or something.'
+	
+	act 'N-Nothing, just looking around':
+		*clr & cla
+		minut += 5
+		gs 'stat'
+		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/police/pavrec.jpg" ></center>'
+		'"Just looking around." you jokingly say.'
+		'The clerk looks sternly towards you, "Does this looks like a place to be messing around with?"'
+		'You become quiet and think for a moment, "I guess not... Just wanted to see how the inside of a police station looks like..."'
+		'"Said no one ever," the clerk quickly counters, "Listen, I don''t know what you''re up to but you need to leave quickly before I have one of the officers come out here and lock you up."'
+		'Hearing those words you quickly turn around and head towards the door...'
+		
+		act 'Walk away from the clerk': minut += 2 & gt 'pavstation', 'station_inside'
+	end
+	
+	act 'Report a crime':
+		*clr & cla
+		minut += 5
+		gs 'stat'
+		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/police/pavrec.jpg" ></center>'
+		'"I-I would like to report a crime..." you whisper.'
+		'"Say what?! Speak louder, girl! I can''t hear what you''re sayin''!" the clerk yells out.'
+		'You take a deep breath, "I need to report a crime..."'
+		'The clerk looks towards you, "Oh, what has happened? Your teddybear ran away or something?! Listen here I don''t have time with your petty stuff so leave before I have you thrown into a cell, you hear!"'
+		'"B-But I-I..." you stutter.'
+		'"No nothing, there''s the door." he points toward the door.'
+		
+		act 'Walk away from the clerk': minut += 2 & gt 'pavstation', 'station_inside'
+	end
+end
+
+--- pavstation ---------------------------------

+ 1 - 1
locations/pavtrain.qsrc

@@ -22,7 +22,7 @@ gs 'stat'
 '<center><h2>Pavlovsk''s train station</h2></center>'
 '<center><img <<$set_imgh>> src="images/locations/city/shared/trainstation/vokzal.jpg"></center>'
 *nl
-'Pavlovsk''s modest train station. You can enter the central hall of the <a href="exec:minut += 3 & gt ''pavtrainhall''">train station</a>, in which you can find Pavlovsk''s police station. Also attached to the train station is the <a href="exec:minut += 5 & gt ''gkafe''">Borislav''s cafe</a>' + iif(storyline = 1,' where your mother works','') + '.'
+'Pavlovsk''s modest train station. You can enter the central hall of the <a href="exec:minut += 3 & gt ''pavtrainhall''">train station</a>. Attached to the train station is the <a href="exec:minut += 5 & gt ''gkafe''">Borislav''s cafe</a>' + iif(storyline = 1,' where your mother works','') + '. Also nearby is the small <a href="exec:minut += 3 & gt ''pavstation'', ''station_outside''">police station</a> of Pavlovsk. '
 *nl
 'The front of the train station has a large square, where you can find a <a href="exec:minut += 1 & gt ''pavtrain_market'', ''start''">market</a> on most days.'
 *nl

+ 1 - 1
locations/pavtrainhall.qsrc

@@ -22,7 +22,7 @@ if $ARGS[0] = '':
 	*nl
 	'The long-distance trains are at the station platforms between 11:00-11:30 and 18:00-18:30.'
 	*nl
-	if katalkinSexOnce = 1:'There is a small <a href="exec:minut += 5 & gt ''katalkin''">police station</a> inside the station building.'
+	
 	*nl
 	if StoryLine = 1 and SchoolAtestat = 0:
 		if (sunWeather = 0 or temper <= 0) and hour >= 18 and hour < 20 and week < 6: