Răsfoiți Sursa

[fixed] pod_ezd floor change action now flows again from ground to roof and back.
[fixed] pod_ezd floor events now properly clear action menu. fixed dead end else at end of events. fixed event image paths
[removed] pod_ezd, pavcomplexb3, pavcomplexb2 unused calls.

3xpurt 5 ani în urmă
părinte
comite
729a306161
3 a modificat fișierele cu 59 adăugiri și 69 ștergeri
  1. 0 2
      locations/pavComplexb2.qsrc
  2. 0 2
      locations/pavComplexb3.qsrc
  3. 59 65
      locations/pod_ezd.qsrc

+ 0 - 2
locations/pavComplexb2.qsrc

@@ -45,8 +45,6 @@ if $ARGS[0] = 'etaj_1':
 	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/podezd2.jpg"></center>'
 	'<center>A dirty and poorly maintained stairwell, the same as any other in your town.</center>'
 
-	'<<$pod_ev_rnd>>'
-
 	'There''s a <a href="exec: gt ''pavComplexb2'', ''housemates''">list</a> of the people who live here on the wall.'
 	'Someone put up some <a href="exec:gt ''pavComplexb2'',''pod_objava''">advertisements</a> on the wall, near the entrance.'
 	act 'Leave the building': minut += 1 & gt 'pavcomplex', 'start'

+ 0 - 2
locations/pavComplexb3.qsrc

@@ -44,8 +44,6 @@ if $ARGS[0] = 'etaj_1':
 	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/podezd2.jpg"></center>'
 	'<center>A dirty and poorly maintained stairwell, the same as any other in your town.</center>'
 
-	'<<$pod_ev_rnd>>'
-
 	'There''s a <a href="exec: dynamic $housemates">list</a> of the people who live here on the wall.'
 	'Someone put up some <a href="exec:gt ''pavComplexb3'',''pod_objava''">advertisements</a> on the wall, near the entrance.'
 	act 'Leave the building': minut += 1 & gt 'pavcomplex', 'start'

+ 59 - 65
locations/pod_ezd.qsrc

@@ -42,10 +42,8 @@ if $ARGS[0] = 'etaj_1' or $ARGS[0] = '':
 	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/podezd2.jpg"></center>'
 	'<center>A dirty and poorly maintained stairwell, the same as any other in your town.</center>'
 
-	'<<$pod_ev_rnd>>'
-
 	if seenAd = 0: gt 'pavSharedApt', 'advertNo30'
-	
+
 	'There''s a <a href="exec: gt ''pod_ezd'', ''occupants''">list</a> of the people who live here on the wall.'
 	'Someone put up some <a href="exec:gt ''pod_ezd'',''pod_objava''">advertisements</a> on the wall, near the entrance.'
 	act 'Leave the building':
@@ -78,12 +76,10 @@ if $ARGS[0] = 'etaj_2':
 		'<center>The second floor stairwell was renovated not long ago, but some hoodlums already sprayed graffiti on the walls, telling the world what a whore you are. You could <a href="exec: gt ''pod_ezd'', ''etaj2_paint''">cover it up</a> if you want to.</center>'
 		*nl
 	end
-	'<<$floor2>>'
-	'<<$pod_ev_rnd>>'
-	
+
 	if rand(1,10) < 3 and stairwell2_hour ! hour:
 		stairwell2_hour = hour
-		gs 'pod_ezd', 'floor2_events'
+		gt 'pod_ezd', 'floor2_events'
 	else
 		'<br>The stairwell is empty.'
 	end
@@ -134,8 +130,8 @@ if $ARGS[0] = 'etaj2_paint':
 	gs 'stat'
 	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/etaj2_whore.jpg"></center>'
 	'You look at the graffiti and sigh: "Maybe I should get some paint and cover that up, it''s attracting a lot of people to our home."'
-	
-	if paint_blue <= 0: 
+
+	if paint_blue <= 0:
 		'<br>If you want to cover up the graffiti, you should go buy some paint.'
 		act 'Leave': gt 'pod_ezd','etaj_2'
 	else
@@ -150,7 +146,7 @@ if $ARGS[0] = 'etaj2_paint':
 			gs 'stat'
 			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/etaj2.jpg"></center>'
 			'You spend about 40 minutes covering up the graffiti. When you''re done, you step back and admire your work. Much better! Hopefully people won''t bother you as often now.'
-			
+
 			act 'Leave': gt 'pod_ezd','etaj_2'
 		end
 	end
@@ -166,18 +162,16 @@ if $ARGS[0] = 'etaj_3':
 	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/etaj3.jpg"></center>'
 	'<center>The third floor stairwell was renovated not long ago, but some hoodlums already sprayed graffiti on the walls.</center>'
 	*nl
-	'<<$floor3>>'
-	'<<$pod_ev_rnd>>'
 
 	if rand(1,10) < 3 and stairwell3_hour ! hour:
 		stairwell3_hour = hour
-		gs 'pod_ezd', 'floor3_events'
+		gt 'pod_ezd', 'floor3_events'
 	else
 		'<br>The stairwell is empty.'
 	end
-	
-	act 'Go up to the fourth floor': minut += 1 & gt 'pod_ezd','etaj_4'
+
 	act 'Go down to the second floor': minut += 1 & gt 'pod_ezd','etaj_2'
+	act 'Go up to the fourth floor': minut += 1 & gt 'pod_ezd','etaj_4'
 	act 'Apartment 13: Vasily and Sergei Shulgin':gt 'shulgahome'
 	if BeInJulMilHome = 1: act 'Apartment 15: Julia Milova': gt 'JuliaMilVhod'
 	act 'Take the elevator': gt 'pod_ezd','lift','etaj_3'
@@ -192,17 +186,16 @@ if $ARGS[0] = 'etaj_4':
 	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/etaj4.jpg"></center>'
 	'<center>A dirty and poorly maintained stairwell. The inhabitants don''t seem to care about how it looks.</center>'
 	''
-	'<<$floor4>>'
 
 	if rand(1,10) < 3 and stairwell4_hour ! hour:
 		stairwell3_hour = hour
-		gs 'pod_ezd', 'floor4_events'
+		gt 'pod_ezd', 'floor4_events'
 	else
 		'<br>The stairwell is empty.'
 	end
-	
-	act 'Go up to the fifth floor': minut += 1 & gt 'pod_ezd','etaj_5'
+
 	act 'Go down to the third floor': minut += 1 & gt 'pod_ezd','etaj_3'
+	act 'Go up to the fifth floor': minut += 1 & gt 'pod_ezd','etaj_5'
 
 	if BeInNatBelHome = 1: act 'Apartment 19: Natasha Belova': gt 'NatBelVhod'
 
@@ -240,17 +233,16 @@ if $ARGS[0] = 'etaj_5':
 	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/etaj5.jpg"></center>'
 	'<center>The fifth floor stairwell is in a poor state of repair, this floor was never renovated, all the apartments are vacant and in a poor state of repair.  So now almost no one comes up here, other than younger people to have somewhere private to hangout, then even hang out in some of the vacant apartments. They even come from the other apartment buildings around the area to hangout. There is a final set of stairs at the other end of the hall that go up to the roof.</center>'
 	*nl
-	'<<$floor5>>'
 
 	if rand(1,10) < 3 and stairwell5_hour ! hour and (hour > 19 or hour < 6):
 		stairwell5_hour = hour
-		gs 'pod_ezd', 'floor4_events'
+		gt 'pod_ezd', 'floor4_events'
 	else
 		'<br>The stairwell is empty.'
 	end
-	
-	act 'Go up to the roof': minut += 1 & gt 'pod_ezd', 'roof'
+
 	act 'Go down to the fourth floor': minut += 1 & gt 'pod_ezd','etaj_4'
+	act 'Go up to the roof': minut += 1 & gt 'pod_ezd', 'roof'
 	act 'Take the elevator': gt 'pod_ezd','lift','etaj_5'
 end
 
@@ -378,7 +370,7 @@ if $ARGS[0] = 'floor2_events':
 		menu_off = 1
 		minut += 2
 		gs 'stat'
-		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/event/mishasmoke.jpg"></center>'
+		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/events/mishasmoke.jpg"></center>'
 		'Uncle Misha is currently outside his apartment, smoking a cigarette. His name is Mikhail, though everyone calls him uncle Misha. He lives in the other apartment on the same floor as yours. Your mother always forbade you to talk to him, warning you that he used to be a local crime lord, and that you shouldn''t get involved with him. However, he has always been polite and nice to you.'
 		if pav_slut >= 125 or dyadyamishaevent >= 1:
 			if rand(0,1) = 1:
@@ -391,7 +383,7 @@ if $ARGS[0] = 'floor2_events':
 						gs 'willpower', 'resist'
 						minut +=2
 						gs 'stat'
-						'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/event/mishasmoke.jpg"></center>'
+						'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/events/mishasmoke.jpg"></center>'
 						'"Sorry uncle Misha, but I can''t right now. Maybe some other time?" you apologize. He doesn''t seem to mind at all.'
 						'"No problem <<$pcs_nickname>>, I''ll hold you to that!" he says as he gives you a lewd grin. "In that case, I better get going. I''ll talk to you later."'
 						act 'Say goodbye': gt 'pod_ezd', 'etaj_2'
@@ -415,7 +407,7 @@ if $ARGS[0] = 'floor2_events':
 		menu_off = 1
 		minut += 2
 		gs 'stat'
-		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/event/smokeboys.jpg"></center>'
+		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/events/smokeboys.jpg"></center>'
 		'Some older boys that live in your building are currently sharing a cigarette in the stairwell.'
 		act 'Ignore them': gt 'pod_ezd', 'etaj_2'
 		act 'Approach them': $smoke_loc = 'etaj_2' & gt 'pod_ezd', 'boys_smoke'
@@ -424,14 +416,14 @@ if $ARGS[0] = 'floor2_events':
 		menu_off = 1
 		minut += 2
 		gs 'stat'
-		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/event/passedoutfat.jpg"></center>'
+		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/events/passedoutfat.jpg"></center>'
 		'Some fat chick is sitting on the chairs leaned against the railing passed out. You''ve seen her around before, you think she lives with her boyfriend or maybe husband, you''re not sure which. They live on the third floor, apparently she got to drunk to make it the rest of the way home.'
 		act 'Continue': gt 'pod_ezd', 'etaj_2'
 	elseif floor2 = 10:
 		*clr & cla
 		menu_off = 1
 		gs 'stat'
-		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/event/nakedstairs.jpg"></center>'
+		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/events/nakedstairs.jpg"></center>'
 		'You hear someone coming up the stairs, as you turn and look you see some naked woman walking up the stairs, carrying her clothes in her hand. When she see''s you, she blushes and ducks her head down, not meeting your gaze. She continues on up to the next floor, before you hear a door open and close above. You have no idea why she was naked carrying her clothes.'
 		gs 'arousal', 'voyeur', 3
 		gs 'arousal', 'end'
@@ -441,7 +433,7 @@ if $ARGS[0] = 'floor2_events':
 		*clr & cla
 		menu_off = 1
 		gs 'stat'
-		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/event/openrobe.jpg"></center>'
+		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/events/openrobe.jpg"></center>'
 		'You see a woman standing outside of her open apartment door leaning on the stair railing wearing only a robe, which is untied and open. Allowing you or anyone else to see her naked body, when she see''s you she smiles at you. "Hello." She says as if everything was normal. You say hi back and try not to stare. After a couple of more drags off the cigarette she crushes it out and goes back into her apartment.'
 		gs 'arousal', 'voyeur', 3
 		gs 'arousal', 'end'
@@ -456,7 +448,7 @@ if $ARGS[0] = 'floor2_events':
 		gs 'arousal', 'voyeur', 3
 		gs 'stat'
 		act 'Leave': gt 'pod_ezd', 'etaj_2'
-		act 'Keep watching': 
+		act 'Keep watching':
 			*clr & cla
 			gs 'stat'
 			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/event/ev1_2.jpg"></center>'
@@ -468,11 +460,11 @@ if $ARGS[0] = 'floor2_events':
 			act 'Leave': gt 'pod_ezd', 'etaj_2'
 		end
 	else
-		'<br>The stairwell is empty.'
+		gt 'pod_ezd', 'etaj_2'
 	end
 	killvar 'floor2'
 end
-		
+
 if $ARGS[0] = 'floor3_events':
 	floor3 = rand(1,22)
 	if (floor3 <= 3 and hour >= 14 and hour < 17) or (floor3 <= 5 and week = 7 and hour >= 20 and hour <= 23) or (floor3 <= 5 and week >= 6 and hour >= 11 and hour < 14):
@@ -481,7 +473,7 @@ if $ARGS[0] = 'floor3_events':
 		menu_off = 1
 		minut += 2
 		gs 'stat'
-		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/event/vassmoke.jpg"></center>'
+		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/events/vassmoke.jpg"></center>'
 		'You see Vasily standing in the stairwell having a smoke.'
 		act 'Continue': gt 'pod_ezd', 'etaj_3'
 		act 'Ask him for a smoke': gt 'pod_ezd', 'vasily_smoke'
@@ -491,7 +483,7 @@ if $ARGS[0] = 'floor3_events':
 		menu_off = 1
 		minut += 2
 		gs 'stat'
-		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/event/danvas.jpg"></center>'
+		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/events/danvas.jpg"></center>'
 		'Vasily and Dan are standing outside uncle Sergey''s apartment, smoking a cigarette.'
 		act 'Continue': gt 'pod_ezd', 'etaj_3'
 		act 'Ask them for a smoke': gt 'pod_ezd', 'smoke_danvas'
@@ -501,7 +493,7 @@ if $ARGS[0] = 'floor3_events':
 		menu_off = 1
 		minut += 2
 		gs 'stat'
-		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/event/vitdanvas.jpg"></center>'
+		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/events/vitdanvas.jpg"></center>'
 		'Vasily, Vitek and Dan are standing outside uncle Sergey''s apartment, smoking a cigarette.'
 		act 'Continue': gt 'pod_ezd', 'etaj_3'
 		act 'Ask them for a smoke': gt 'pod_ezd', 'smoke_vitdanvas'
@@ -511,7 +503,7 @@ if $ARGS[0] = 'floor3_events':
 		menu_off = 1
 		minut += 2
 		gs 'stat'
-		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/event/lena.jpg"></center>'
+		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/events/lena.jpg"></center>'
 		'Lena is sitting outside uncle Sergey''s apartment, drinking.'
 		act 'Continue': gt 'pod_ezd', 'etaj_3'
 		act 'Talk to Lena': gt 'pod_ezd', 'lena_chat'
@@ -520,14 +512,14 @@ if $ARGS[0] = 'floor3_events':
 		menu_off = 1
 		minut += 2
 		gs 'stat'
-		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/event/julia.jpg"></center>'
+		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/events/julia.jpg"></center>'
 		'You run into Julia Milova in the stairwell, just as she stepped out of her apartment.'
 		act 'Continue': gt 'pod_ezd', 'etaj_3'
 		act 'Stop and chat': gt 'pod_ezd', 'juliamil'
 	elseif floor3 = 17:
 		*clr & cla
 		menu_off = 1
-		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/event/smokeboys.jpg"></center>'
+		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/events/smokeboys.jpg"></center>'
 		'Some older boys that live in your building are currently sharing a cigarette in the stairwell.'
 		act 'Continue': gt 'pod_ezd', 'etaj_3'
 		act 'Ask them for a smoke': $smoke_loc = 'etaj_3' & gt 'pod_ezd', 'boys_smoke'
@@ -545,7 +537,7 @@ if $ARGS[0] = 'floor3_events':
 	elseif floor3 = 19 or floor3 = 20:
 		*clr & cla
 		menu_off = 1
-		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/event/titsmoke.jpg"></center>'
+		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/events/titsmoke.jpg"></center>'
 		'You see a topless girl wearing a skirt in the stairwell, standing next to a open window smoking a cigarette. She nods and smiles to you but doesn''t say anything. You decided to mind your own business.'
 		gs 'arousal', 'voyeur', 3
 		gs 'arousal', 'end'
@@ -556,23 +548,23 @@ if $ARGS[0] = 'floor3_events':
 		menu_off = 1
 		minut += 2
 		gs 'stat'
-		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/event/passedoutf.jpg"></center>'
+		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/events/passedoutf.jpg"></center>'
 		'Laying on the floor is some girl, she seems to be passed out. She reeks of alcohol, she obviously drank way too much and passed out before she can make it back home.'
 		act 'Ignore her': gt 'pod_ezd', 'etaj_3'
 		act 'Try to wake her up.':
 			*clr & cla
-			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/event/passedoutsf.jpg"></center>'
+			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/events/passedoutsf.jpg"></center>'
 			'You walk over and squat down next to her. You shake her shoulder several times until she finally groggily wakes up, rolling over onto her back and looking at you. She stares for several moments looking fairly confused.'
 			'"You ok? I found you laying here passed out." You tell her.'
 			'She looks around a moment then climbs to her feet. "Yeah thanks." She tells you, then she grabs her purse and stumbles away.'
 			act 'Leave': gt 'pod_ezd', 'etaj_3'
 		end
 	else
-		'<br>The stairwell is empty.'
+		gt 'pod_ezd', 'etaj_3'
 	end
 	killvar 'floor3'
 end
-	
+
 if $ARGS[0] = 'floor4_events':
 	*clr & cla
 	menu_off = 1
@@ -587,7 +579,7 @@ if $ARGS[0] = 'floor4_events':
 	elseif floor4 > 1 and floor4 <= 5:
 		minut += 2
 		gs 'stat'
-		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/event/smokeboys.jpg"></center>'
+		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/events/smokeboys.jpg"></center>'
 		'Some older boys that live in your building are currently sharing a cigarette in the stairwell.'
 		act 'Continue': gt 'pod_ezd', 'etaj_4'
 		act 'Ask them for a smoke': $smoke_loc = 'etaj_4' & gt 'pod_ezd', 'boys_smoke'
@@ -600,44 +592,46 @@ if $ARGS[0] = 'floor4_events':
 		act 'Leave': gt 'pod_ezd', 'etaj_4'
 		act 'Hide and watch them': gt 'pod_ezd', 'lena_show'
 	elseif floor4 = 7:
-		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/event/opendoor.jpg"></center>'
+		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/events/opendoor.jpg"></center>'
 		'You glance down the stairs and see that the apartment at the bottom has it''s door open. You can see inside the apartment, all the way to the bathroom, which also has it''s door wide open. Apparently the girl inside didn''t notice or maybe she did it on purpose. As she stands there naked applying facial cream to her face in the mirror.'
 		gs 'arousal', 'voyeur', 3
 		gs 'arousal', 'end'
 		gs 'stat'
 		act 'Leave': gt 'pod_ezd', 'etaj_4'
 	elseif floor4 = 8 or floor4 = 9:
-		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/event/flashp' + rand(1,2) + '.jpg"></center>'
+		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/events/flashp' + rand(1,2) + '.jpg"></center>'
 		'As you walk around a corner in the stairwell, you see some girl hanging out with the boys that smoke. They are encouraging her to lift her dress and show them her pussy. After a bit she finally relents and lifts her dress showing off her pussy. This only seems to encourage them as they crowd her a bit and encourage her to get naked. When you catch one of them boys looking at you, you decided it is best to be on your way.'
 		gs 'arousal', 'voyeur', 3
 		gs 'arousal', 'end'
 		gs 'stat'
 		act 'Leave': gt 'pod_ezd', 'etaj_4'
 	elseif floor4 = 10 or floor4 = 11:
-		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/event/flasht.jpg"></center>'
+		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/events/flasht.jpg"></center>'
 		'As you walk around a corner in the stairwell, you see some girl hanging out with the boys that smoke. They are encouraging her to show her tits. After a bit she finally relents and pulls down her top, exposing her tits. This only seems to encourage them as they crowd her a bit and encourage her to get naked. When you catch one of them boys looking at you, you decided it is best to be on your way.'
 		gs 'arousal', 'voyeur', 3
 		gs 'arousal', 'end'
 		gs 'stat'
 		act 'Leave': gt 'pod_ezd', 'etaj_4'
 	elseif floor4 = 12 or floor4 = 13:
-		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/event/nakeddoor.jpg"></center>'
+		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/events/nakeddoor.jpg"></center>'
 		'You hear some knocking and a girls voice. "Open up, come on please let me in before someone comes along." As you round the corner you see a naked girl standing at a door, frantically twisting and pulling on the doorknob. When she finally notices you, she blushes and you hear her say to who ever is in the apartment. "There is some girl here watching me, let me in!" When there is no reply she turns to face you. "My boyfriend is just being a asshole." Before you can reply the door opens behind her and she quickly darts inside, you see some guy just inside before the door closes laughing.'
 		gs 'arousal', 'voyeur', 3
 		gs 'arousal', 'end'
 		gs 'stat'
 		act 'Leave': gt 'pod_ezd', 'etaj_4'
 	elseif floor4 = 14 or floor4 = 15:
-		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/event/passedoutm.jpg"></center>'
+		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/events/passedoutm.jpg"></center>'
 		'You run across a naked passed out fat guy on the stairs. You recognize he lives in the building with his wife, and realize you''ve never seen him sober. You have heard when he gets to drunk and passes out, his wife strips him and drags him out into the hall to teach him a lesson, but it doesn''t appear he has learned the lesson yet. A couple of kids, who you think are from your brother''s class, are around him laughing and taking pictures.'
 		gs 'arousal', 'voyeur', 3
 		gs 'arousal', 'end'
 		gs 'stat'
 		act 'Leave': gt 'pod_ezd', 'etaj_4'
+	else
+		gt 'pod_ezd', 'etaj_4'
 	end
 	killvar 'floor4'
 end
-	
+
 if $ARGS[0] = 'floor5_events':
 	floor5 = rand(1,7)
 	if floor5 = 1:
@@ -682,7 +676,7 @@ if $ARGS[0] = 'floor5_events':
 		menu_off = 1
 		minut += 2
 		gs 'stat'
-		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/event/gopniks.jpg"></center>'
+		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/events/gopniks.jpg"></center>'
 		'When you walk up the stairs to the fifth floor, you see Vitek, Dan, Vasily, Lena, Lera, along with a few older gopniks you don''t know hanging out. They are smoking, drinking and laughing.'
 		act 'Leave': gt 'pod_ezd', 'etaj_5'
 		act 'Join them': gopnik_rand = rand(1,4) & jump 'gopnik_jump<<gopnik_rand>>'
@@ -691,7 +685,7 @@ if $ARGS[0] = 'floor5_events':
 		menu_off = 1
 		minut += 2
 		gs 'stat'
-		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/event/passedoutsf.jpg"></center>'
+		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/events/passedoutsf.jpg"></center>'
 		'When you walk up the stairs to the fifth floor, you see a girl laying on the ground passed out, she reeks of alcohol. Her pants are only half on, leaving most of her bare ass exposed. Her purse and panties are lying nearby, by the look of it, it looks like someone started to put her pants back on her but never finished the job and just left her there.'
 		gs 'arousal', 'voyeur', 3
 		gs 'arousal', 'end'
@@ -699,14 +693,14 @@ if $ARGS[0] = 'floor5_events':
 		act 'Ignore her': gt 'pod_ezd', 'etaj_5'
 		act 'Try to wake her up.':
 			*clr & cla
-			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/event/passedoutsf.jpg"></center>'
+			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/events/passedoutsf.jpg"></center>'
 			'You walk over and squat down next to her. You shake her shoulder several times until she finally groggily wakes up, rolling over onto her back and looking at you. She stares at you for several moments looking fairly confused.'
 			'"You ok? I found you laying here passed out." You tell her.'
 			'She looks around a moment then climbs to her feet. "Yeah thanks." She tells you as she pulls her pants up, then she grabs her purse and panties and stumbles away.'
 			act 'Leave': gt 'pod_ezd', 'etaj_5'
 		end
 	else
-		'<br>The stairwell is empty.'
+		gt 'pod_ezd', 'etaj_5'
 	end
 	killvar 'floor5'
 end
@@ -724,7 +718,7 @@ if $ARGS[0] = 'boys_smoke':
 	:ssboyloop
 	gs 'boyStat', 'A<<rand(122,126)>>','2'
 	if $boy[1] = $boy[2]: jump 'ssboyloop'
-	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/smokeboys.jpg"></center>'
+	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/events/smokeboys.jpg"></center>'
 	'The guys greet you, having seen you around before, and offer you a cigarette.'
 	act 'Decline and leave': gt 'pod_ezd', $smoke_loc
 	act 'Take the cigarette':
@@ -733,7 +727,7 @@ if $ARGS[0] = 'boys_smoke':
 		siga += 1
 		gs 'drugs', 'smoke'
 		gs 'stat'
-		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/smokeboys.jpg"></center>'
+		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/events/smokeboys.jpg"></center>'
 		if pav_slut >= 125 and pav_sex < pav_prostitute:
 			'As you smoke the cigarette, you hear the boys whisper among themselves. "That''s <<$pcs_nickname>>! I heard she''s a '+func('gopsex','hide','gg_whore_text')+'. From what I''ve been told she''ll do just about anything if the price is right, let''s see if she''ll make us a deal."'
 			'One of the guys walks close to you, and gestures for you to lean your head closer to his. When you do, he pulls all of his money out of his pocket. He counts the crumpled bills and offers them to you, whispering, "Is <<rnd_money_sex>> <b>₽</b> enough for two?"'
@@ -1357,7 +1351,7 @@ if $ARGS[0] = 'home_movie1':
 	'Suddenly she gets up and turns around, leaning forward against the wall and sticking her ass up in the air as much as she can. The guy not holding the camera immediately understands the invitation, and rams his dick up her snatch and begins to fuck her roughly. The girl moans happily, thoroughly enjoying the fucking she''s getting.'
 	gs 'arousal', 'voyeur', 3
 	gs 'stat'
-	act 'Leave': gs 'arousal', 'end' & gt 'pod_ezd', 'etaj_5'	
+	act 'Leave': gs 'arousal', 'end' & gt 'pod_ezd', 'etaj_5'
 	act 'Continue':
 		*clr & cla
 		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/event/sex/ev3_3.jpg"></center>'
@@ -1365,14 +1359,14 @@ if $ARGS[0] = 'home_movie1':
 		'After about five minutes the body of the guy behind her tenses, and from his grunting you can only assume he finished right in her pussy.'
 		gs 'arousal', 'voyeur', 3
 		gs 'stat'
-		act 'Leave': gs 'arousal', 'end' & gt 'pod_ezd', 'etaj_5'	
+		act 'Leave': gs 'arousal', 'end' & gt 'pod_ezd', 'etaj_5'
 		act 'Continue':
 			*clr & cla
 			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/event/sex/ev3_4.jpg"></center>'
 			'Now that the first guy is spent, she devotes her full attention to the second guy. Assuming he must be close she drops to her haunches without even being asked to, and as if on cue the second guy shoots his load onto her tongue, which she happily shows off to the camera for a few seconds before letting it run out of her mouth and rubbing it all over her cute breasts.'
 			gs 'arousal', 'voyeur', 3
 			gs 'stat'
-			act 'Leave': gs 'arousal', 'end' & gt 'pod_ezd', 'etaj_5'	
+			act 'Leave': gs 'arousal', 'end' & gt 'pod_ezd', 'etaj_5'
 			act 'Continue':
 				*clr & cla
 				'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/event/sex/ev3_5.jpg"></center>'
@@ -1381,7 +1375,7 @@ if $ARGS[0] = 'home_movie1':
 				gs 'arousal', 'voyeur', 3
 				gs 'arousal', 'end'
 				gs 'stat'
-				act 'Leave': gt 'pod_ezd', 'etaj_5'	
+				act 'Leave': gt 'pod_ezd', 'etaj_5'
 			end
 		end
 	end
@@ -1395,7 +1389,7 @@ if $ARGS[0] = 'home_movie2':
 	'One of the guys boldly walks up to the girl, his dicking hanging out of his pants already. She unashamedly squats before him and takes the dick in her mouth, giving him a skillful blowjob while the other guy keeps filming everything. Are they shooting a porn video!?'
 	gs 'arousal', 'voyeur', 3
 	gs 'stat'
-	act 'Leave': gs 'arousal', 'end' & gt 'pod_ezd', 'etaj_5'		
+	act 'Leave': gs 'arousal', 'end' & gt 'pod_ezd', 'etaj_5'
 	act 'Continue':
 		*clr & cla
 		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/event/sex/ev4_3.jpg"></center>'
@@ -1463,7 +1457,7 @@ if $ARGS[0] = 'home_movie3':
 				'After a while, the couple changes position and you see the guy rubbing his dick against her ass. As you expected, his cock slides in her ass quite easily, and the guy takes the initiative now and begins to thrust his dick deeper inside her ass while she tries to steady herself against the wall.'
 				gs 'arousal', 'voyeur', 3
 				gs 'stat'
-				act 'Leave': gs 'arousal', 'end' & gt 'pod_ezd', 'etaj_5'					
+				act 'Leave': gs 'arousal', 'end' & gt 'pod_ezd', 'etaj_5'
 				act 'Continue':
 					*clr & cla
 					'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/event/sex/ev2_6.jpg"></center>'
@@ -1485,7 +1479,7 @@ if $ARGS[0] = 'home_movie3':
 							'When they''re both spent, the girl poses for the camera, proudly showing off the amount of sperm she caught in her mouth before swallowing it all. Then she wipes the rest of the cum towards her mouth, and licks her lips and fingers playfully.'
 							gs 'arousal', 'voyeur', 3
 							gs 'stat'
-							act 'Leave': gs 'arousal', 'end' & gt 'pod_ezd', 'etaj_5'	
+							act 'Leave': gs 'arousal', 'end' & gt 'pod_ezd', 'etaj_5'
 							act 'Continue':
 								*clr & cla
 								gs 'stat'
@@ -1494,7 +1488,7 @@ if $ARGS[0] = 'home_movie3':
 								gs 'arousal', 'voyeur', 3
 								gs 'arousal', 'end'
 								gs 'stat'
-								act 'Leave': gt 'pod_ezd', 'etaj_5'	
+								act 'Leave': gt 'pod_ezd', 'etaj_5'
 							end
 						end
 					end
@@ -1695,7 +1689,7 @@ if $ARGS[0] = 'sex_ev1_anal':
 		'You don''t have enough willpower to refuse.'
 	end
 end
-	
+
 if $ARGS[0] = 'sex_ev1_anal1':
 	*clr & cla
 	menu_off = 1