1
0
Эх сурвалжийг харах

[Changed] moved the copy shop to red light district file for ease of access

Alaratt 2 жил өмнө
parent
commit
cd1ee8c60f

+ 51 - 1
locations/city_redlight.qsrc

@@ -43,7 +43,7 @@ if $ARGS[0] = 'start':
 	end
 	if bordel > 0 and func('bordel', 'is_open'):'Inside the courtyard is the entrance to the <a href="exec:gt ''bordel''">brothel</a>.'
 	if hour >= 10: 
-		'You see a small <a href="exec:gt ''etoexhib'',''pos54''">printing shop</a> tucked away between two larger buildings.'
+		'You see a small <a href="exec:gt ''city_redlight'',''city_copy_shop''">printing shop</a> tucked away between two larger buildings.'
 	end
 
 	act 'Return to the Industrial Region (0:05)': minut += 5 & gt 'city_industrial'
@@ -77,4 +77,54 @@ if $ARGS[0] = 'start':
 	end
 end
 
+if $ARGS[0] = 'city_copy_shop':
+	*clr & cla
+	menu_off = 1
+	minut += 1
+	gs 'stat'
+	'<center><img <<$set_imgh>> src="images/locations/shared/train/spy.jpg"></center>'
+	'You enter the run-down looking copy shop and look around. Scattered across the room are small tables with various dusty looking copy machines that don''t strike you as being very reliable. Watching you from behind a counter is a bored looking man with greasy hair and a sleazy look.'
+	if fakepassport = 2:
+		!!only notify player 1 time after events triggered
+		fakepassport = 0
+		'He looks at you hard before saying in a quiet voice, "A passport with a fake age will cost you 30,000 <b>₽</b>"'
+	end
+	if func('uniutil', 'fake_diploma', 'aware_needed'):
+		!!only notify player 1 time after events triggered
+		gs 'uniutil', 'fake_diploma', 'reset'
+		'He tells you "A diploma for a bachelor''s degree will cost you 100,000 <b>₽</b>"'
+	end
+	act 'Leave': gt 'city_redlight', 'start'
+	if age < 18 and fakepassport ! 1:
+		if money => 30000:
+			act 'Buy fake passport (30,000 <b>₽</b>)':
+				*clr & cla
+				minut += 60
+				money -= 30000
+				fakepassport = 1
+				'<center><img <<$set_imgh>> src="images/locations/shared/train/spy.jpg"></center>'
+				'He tells you to come in the back and takes a quick photo of your face, then tells you to wait out out front until he''s done. About an hour goes by before he steps back out and hands you the passport, which shows your face but has an older age printed out on it.'
+				act 'Leave': gt 'city_redlight', 'start'
+			end
+		else
+			act 'Buy fake passport (<font color="red">30,000 <b>₽</b></font>)': '<br><font color="red">You don''t have enough money to buy the fake passport.</font>'
+		end
+	end
+	if func('uniutil', 'appear_to_have_graduated') = 0:
+		if money => 100000:
+			act 'Buy fake diploma (100,000 <b>₽</b>)':
+				*clr & cla
+				minut += 60
+				money -= 100000
+				gs 'uniutil', 'fake_diploma', 'set_obtained'
+				'<center><img <<$set_imgh>> src="images/locations/shared/train/spy.jpg"></center>'
+				'You bought a fake diploma.'
+				act 'Leave': gt 'city_redlight', 'start'
+			end
+		else
+			act 'Buy fake diploma (<font color="red">100,000 <b>₽</b></font>)': '<br><font color="red">You don''t have enough money to buy the fake diploma.</font>'
+		end
+	end
+end
+
 --- city_redlight ---------------------------------

+ 0 - 60
locations/etoexhib.qsrc

@@ -1674,66 +1674,6 @@ if $ARGS[0] = 'pos53':
 	end
 end
 
-if $ARGS[0] = 'pos54':
-	*clr & cla
-	menu_off = 1
-	minut += 1
-	gs 'stat'
-
-	'<center><img <<$set_imgh>> src="images/locations/shared/train/spy.jpg"></center>'
-	'You enter the run-down looking copy shop and look around. Scattered across the room are small tables with various dusty looking copy machines that don''t strike you as being very reliable. Watching you from behind a counter is a bored looking man with greasy hair and a sleazy look.'
-
-	if fakepassport = 2:
-		!only notify player 1 time after events triggered
-		fakepassport = 0
-		'He looks at you hard before saying in a quiet voice, "A passport with a fake age will cost you 30,000 <b>₽</b>"'
-	end
-
-	if func('uniutil', 'fake_diploma', 'aware_needed'):
-		!only notify player 1 time after events triggered
-		gs 'uniutil', 'fake_diploma', 'reset'
-		'He tells you "A diploma for a bachelor''s degree will cost you 100,000 <b>₽</b>"'
-	end
-
-	act 'Leave': gt 'city_redlight', 'start'
-
-	if age < 18 and fakepassport ! 1:
-		if money => 30000:
-			act 'Buy fake passport (30,000 <b>₽</b>)':
-				*clr & cla
-				minut += 60
-				money -= 30000
-				fakepassport = 1
-
-				'<center><img <<$set_imgh>> src="images/locations/shared/train/spy.jpg"></center>'
-				'He tells you to come in the back and takes a quick photo of your face, then tells you to wait out out front until he''s done. About an hour goes by before he steps back out and hands you the passport, which shows your face but has an older age printed out on it.'
-
-				act 'Leave': gt 'city_redlight', 'start'
-			end
-		else
-			act 'Buy fake passport (<font color="red">30,000 <b>₽</b></font>)': '<br><font color="red">You don''t have enough money to buy the fake passport.</font>'
-		end
-	end
-
-	if func('uniutil', 'appear_to_have_graduated') = 0:
-		if money => 100000:
-			act 'Buy fake diploma (100,000 <b>₽</b>)':
-				*clr & cla
-				minut += 60
-				money -= 100000
-				gs 'uniutil', 'fake_diploma', 'set_obtained'
-
-				'<center><img <<$set_imgh>> src="images/locations/shared/train/spy.jpg"></center>'
-				'You bought a fake diploma.'
-
-				act 'Leave': gt 'city_redlight', 'start'
-			end
-		else
-			act 'Buy fake diploma (<font color="red">100,000 <b>₽</b></font>)': '<br><font color="red">You don''t have enough money to buy the fake diploma.</font>'
-		end
-	end
-end
-
 if $ARGS[0] = 'pos90':
 	cla
 	*clr