# pav_complex
!!2022/09/29 - Alaratt

if $ARGS[0] = 'start':
	$menu_loc = 'pav_complex'
	$menu_arg = 'start'
	menu_off = 0
	CLOSE ALL
	$loc_arg = 'start'
	$loc = 'pav_complex'
	$location_type = 'public_outdoors'

	if sound = 0:
		if month >=11 and month <= 12 or month >=1 and month <=3:
			if hour >= 8 and hour <= 23: PLAY 'sound/street2.mp3',30 & PLAY 'sound/zima.mp3',30
			if hour >= 0 and hour <= 7: PLAY 'sound/street_night.mp3',30 & PLAY 'sound/zima.mp3',30
		else
			if hour >= 8 and hour <= 23: PLAY 'sound/street2.mp3',30 & PLAY 'sound/street_leto.mp3',30
			if hour >= 0 and hour <= 7:PLAY 'sound/street_night.mp3',30
		end
	end

	*clr & cla
	litltown = 1
	alkoblock = 0
	boynumBlock = 0
	gs 'stat'
!! Slut gossip
	if complx_rand[1] + rand(5,10) < daystart and fame['pav_slut'] >= 50 and (hour > 8 and hour < 23):
		complx_rand[1] = daystart
		if rand(0,2) = 0 and fame['pav_slut'] >= 100:
			gt 'gossips', 'complex', 'girls_slutrep'
		elseif rand(0,1) = 0 and hour < 19:
			gt 'gossips', 'complex', 'old_women_slutrep'
		else
			gt 'gossips', 'complex', 'boys_slutrep'
		end
	end

	gs 'rolanapt', 'rolanroute'
	'<center><h2>Five Eight Estate</h2></center>'
	if month >= 11 or month <= 3:
		if hour >= 8 and hour <= 21:
			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/complexw.jpg"></center>'
		else
			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/complexwn.jpg"></center>'
		end
	else
		if hour >= 8 and hour <= 21:
			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/complex.jpg"></center>'
		else
			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/complexn.jpg"></center>'
		end
	end

	if mid($start_type,1,2) = 'sg' and hour < 5 and motherWorry = 0 and SchoolAtestat = 0 and age < 18 and func('homes_properties', 'has_access', 'parents_home') and locat['Fam_inGad'] = 0: motherWorry = 1

	if ((minut + 60*(hour+daystart*24) - pavcomplexevent_time) > 60) or ((daystart+1)*1440 < pavcomplexevent_time):
		if hour >= 8 and hour <= 20 and rand (0,2) = 0: 
			pavcomplexevent_time = minut + 60*(hour+daystart*24)
			gt 'pav_aptcourtev', 'events1'
		elseif (hour < 8 or hour > 20) and rand (0,3) = 0:
			pavcomplexevent_time = minut + 60*(hour+daystart*24)
			gt 'pav_aptcourtev', 'events2'
		end
	end	

	if week <= 5 and cheerleaders_on = 0 and hour >= 14 and hour <= 18 and mid($start_type,1,2) = 'sg' and (LariskaQW['story'] = 0 or LariskaQW['story'] = 1) and npc_rel['A13'] > 40 and lariska_ball ! daystart: 'Walking along the apartment complex, you hear a bouncing sound. Turning the corner, you see <a href="exec:gt ''lariska_storyline'', ''story_intro''">Lariska</a> hitting a volleyball against a wall.'
	
	if car > 0 and cardrive = 20: 'Your <a href="exec:gs ''carF'', ''start''"><<$car>></a> is parked in the street.'
	
	if rexCar = 1 and rexCarDay = daystart and hour >= 21 and hour < 23 and rexSisTalk = 3:
		'<br>Rex is in his car, waiting for you at the parking lot near the apartment building where your parents live.'
		act 'Join Rex in his car':gt 'rex_events','avto'
	elseif rexCar = 1 and rexCarDay = daystart and hour = 21 and rexSisTalk >= 4:
		'<br>Rex is in his car, waiting for you at the parking lot near the apartment building where your parents live.'
		act 'Join Rex in his car':gt 'rex_events','avto2'
	end

	'Located in the old part of Pavlovsk, these Soviet era apartment blocks are the Five Eight Estate. Your family''s apartment is on the second floor of the nearest building'+iif(func('homes_properties', 'has_access', 'parents_home'), '.', ', but you are no longer welcome there.')
	*nl
	'Opposite you is a meager courtyard, which has changed over the years to now include a kid''s playground, a basketball court and a small grassy area that''s mostly used to play football.'
	'A few benches and tables surround it, and there''s a handful of small utility sheds tucked away in the corner for tenants to use if they''re willing to pay for the extra space.'
	*nl
	'Behind the apartments is a row of <a href="exec:minut += 3 & gt ''pav_complex'', ''garages''">garages</a> and storage space for tenants.'

	if mother['kickedout_timer'] ! 0 and mother['kickedout_timer'] + 3 <= daystart and hour > 6 and hour <= 15 and cumloc[11] = 0:
		gs 'mother_chats', 'reconciliation_talk'
	exit
	end

	if pavComplex_met_dealer >= 3 and hour > 20: '<br>You can see the <a href="exec:minut += 3 & gt ''pav_aptcourtev'', ''dealer''">boy</a> who sells weed in the courtyard.'
	
	if Enable_tablemap = 0:
		if npc_rel['A112'] >=70 or (week < 6 and hour >= 14 and hour <= 23) or (week >= 6 and hour >= 10 and hour < 14) or (hour >= 0 and hour < 2):'<a href="exec:minut += 15 & gt ''vasilyhome'', ''home''">The Shulgin family</a> live in the apartment above your parents.'
		if ArtemBeInHome > 0 and artemQW['artemblok'] = 0:'<a href="exec:minut += 15 & gt ''artemhome'', ''home''">Artem Chebotarev</a>, one of your classmates, lives in the same apartment building as your parents, on the first floor.'
		if juliaQW['home_unlocked'] = 1:
			if (hour >= 15 and hour <= 20 and week < 6) or (hour >= 8 and hour <= 20 and week >= 6):
				'<a href="exec:minut += 15 & gt ''JuliaMilHome'', ''home''">Julia Milova</a>, one of your classmates, lives in the same apartment building as your parents, on the third floor.'
			else
				'Julia Milova, one of your classmates, lives in the same apartment building as your parents. She resides on the third floor.'
			end
		end
		if NatbelQW['VisitedHome'] = 1: '<a href="exec:minut += 15 & gt ''natbelapt'', ''home''">Natasha Belova</a>, one of your classmates, lives in the same apartment building as your parents. She resides on the fourth floor.'
		if anushkaQW['first_visit'] ! 0: '<a href="exec:minut += 10 & gt ''anushapt'', ''home''">Anushka Konstantinov</a>, a classmate, lives in one of the other apartment blocks here.'
	else
		st_count=0 & $show_table=''
		if npc_rel['A112'] >=70 or (week < 6 and hour >= 14 and hour <= 23) or (week >= 6 and hour >= 10 and hour < 14) or (hour >= 0 and hour < 2):
			gs'show_table','Apartment of Uncle <a href="exec:minut += 15 & gt ''vasilyhome'', ''home''" >Shulgin</a>.','3'
		else
			gs'show_table','Apartment of Uncle Shulgin.','3'
		end
		if ArtemBeInHome > 0 and artemQW['artemblok'] = 0:gs'show_table','Apartment of <a href="exec:minut += 15 & gt ''artemhome'', ''home''">Artem Chebotarev</a>.','3'
		if juliaQW['home_unlocked'] = 1:
			if (hour >= 15 and hour <= 20 and week < 6) or (hour >= 8 and hour <= 20 and week >= 6):
				gs'show_table','Apartment of <a href="exec:minut += 15 & gt ''JuliaMilHome'', ''home''">Julia Milova</a>.','3'
			else
				gs'show_table','Apartment of Julia Milova.','3'
			end
		end
		if NatbelQW['VisitedHome'] = 1: gs'show_table','Apartment of <a href="exec:minut += 15 & gt ''natbelapt'', ''home''">Natasha Belova</a>.','3'
		if anushkaQW['first_visit'] ! 0: gs'show_table','Messy home of <a href="exec:minut += 10 & gt ''anushapt'', ''home''">Anushka Konstantinov</a>.','3'
		if st_count > 0 :'<TABLE BORDER=1><<$show_table>></TR></TABLE>'
	end

	if seenAD = 1 and pavSharedAptEnabled = 0: '<br>Some guys in one of the <a href="exec:minut += 5 & gt ''pav_shared_apt'',''doorNo30''">apartments</a> are looking for a roommate.'
	
	if rolanmeet = 8 and rolanblockhome ! 1: '<br>Mr. Matveev''s is living in an <a href="exec:minut += 5 & gt ''rolanapt'',''home''">apartment</a> in the Five Eight Estate.'
	
!!	if mid($start_type,1,2) = 'sg': '<br>Nearby, in another block of apartments, there''s an <a href="exec:minut += 3 & gt ''pavComplexOld'',''etaj_1''">old apartment building</a> that looks quite rundown and possibly abandoned.'
	
	if func('homes_properties', 'has_access', 'parents_home'): act '<b>Go Home</b> (Parents'' Apartment)': minut += 4 & pavhome_enter = 1 & gt 'korrPar'
	if pavSharedAptEnabled = 1: act '<b>Go Home</b> (Shared Apartment)': minut += 5 & gt 'pav_shared_apt', 'start'
	act 'Walk to the Residential area (0:02)':minut += 2 & gt 'pav_residential'
	act 'Walk to the Commercial area (0:05)':minut += 5 & gt 'pav_commercial'
	act 'Walk to the Industrial region (0:05)':minut += 5 & gt 'pav_industrial'
	act 'Walk to the Market (0:15)':minut += 15 & gt 'pav_market'
	act 'Walk to the train station (0:15)':minut += 15 & gt 'pav_train_hall'
	act 'Walk to Pushkin (0:30)':minut += 30 & nroad = 19 & gt 'pushkin'
	if mid($start_type,1,2) = 'sg' and func('homes_properties', 'has_access', 'parents_home'): 
		act 'Go to your apartment building':minut += 1 & gt 'pod_ezd', 'etaj_1'
	elseif mid($start_type,1,2) = 'sg' and (func('homes_properties', 'has_access', 'parents_home') = 0 or pavSharedAptEnabled = 1):
		act 'Go to your parent''s apartment building':minut += 1 & gt 'pod_ezd', 'etaj_1'
	end
!!	if mid($start_type,1,2) = 'sg': act 'Go to the old apartment building':minut += 1 & gt 'pavComplexOld', 'etaj_1'
	act 'Sit on a bench':gt 'pav_aptcourtev', 'bench'
	gs 'camera', 'check_location'

	!-- Random prostitution solicitation check ------------------------ 
	gs 'prostitution_functions', 'check_solicitation_event'

end

if $ARGS[0] = 'garages':
	$menu_loc = 'pav_complex'
	$menu_arg = 'garages'
	menu_off = 0
	*clr & cla
	'<center>Five Eight Estate - Garages</center>'
	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/garage/garages.jpg"></center>'
	'Along the back street is a row of garages available for the residents of the apartments to rent. The weather in Pavlovsk can be brutal, especially in the winter, so people who own a car often have a garage to put it away safely. Between the garages and the courtyard is a series of smaller storage buildings that can be rented, as well as the complex''s maintenance and laundry buildings. The layout of the buildings leaves a maze of walkways between them, which are a popular place for kids to play or for teenagers to hang out.'
	*nl
	if mid($start_type,1,2) = 'sg':'Your <a href="exec:minut += 5 & gt ''gargazel''">stepfather''s garage</a> is around here somewhere.'
	if gopnikbandQW['practice_invite'] = 1:'The converted <a href="exec:minut += 5 & gt ''praiders_garage'', ''band_garage''">garage</a> the band uses to practice in is around here.'
	if gopnik_initiation = 1 and gopnik_initiation_day = daystart and hour = 20: act '<b>Meet Lena and Lera</b>': gt 'gopnik_initiation','initiation'
	if ((week < 6 and hour => 18 and hour < 22) or (week >= 6 and hour >= 15 and hour < 22)) and ed_event_day ! daystart:
		if anushkaQw['seen_ed'] = 0:
			if rand(0,5) = 1:
				*clr
				'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/garage/ed/ed4.jpg"></center>'
				'As you''re walking around the garages, you notice an open garage door. You see a tattooed man inside working on a motorcycle. He looks really rough and dangerous - he must be one of the bikers that live around the area. You have heard your mother warn you about them before.'
				*nl
				'As you pass by, you can hear the man talking to someone else. You throw a quick glance towards them, and you see the man showing something off to a younger man sitting on a motorcycle. Looking closer, you realize that the younger man is Valentin. They seem really into it and you quickly move on before they can turn their attention to you.'
				anushkaQw['seen_ed'] = 1
				ed_event_day = daystart
			end
		else
			gs 'valentin_bogdanov_schedule'
			if anushkaQW['first_visit'] >= 1:
				if rand(0,4) = 0:
					*clr & cla
					ed_event_day = daystart
					garageedevent = rand(1,5)
					if garageedevent = 1:
						'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/garage/ed/ed1.jpg"></center>'
						'As you walk past Eduard''s garage, you notice him working on his motorcycle as usual. You carefully approach the entrance and peek in, he has his back towards you and seems completely engrossed on whatever he is doing with the motorcycle.'
						minut += 5
						gs 'stat'
						act 'Be on your way':gt 'pav_complex', 'garages'
						act 'Say hi':
							*clr & cla
							'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/garage/ed/ed1.jpg"></center>'
							'You step into the garage and walk up behind him. "Hello Mr. Konstantinov."'
							'A little startled, he quickly turns towards you, gripping his wrench tight. Frightened by his actions, you instinctively take a step back, ready to quickly run away.'
							*nl
							'It feels like an eternity before Eduard finally relaxes, letting the wrench hang loosely in his hand, and breaks out in a small smile. "You should be careful when approaching someone from behind <<$pcs_nickname>>."'
							'You nod, still a little frightened, "I''m really sorry! I didn''t mean to frighten you."'
							'"Well you didn''t frighten me, but you did startle me. You never know who it might be. My past could come back to haunt me..." he says, smiling.'
							'"I was just passing by and wanted to say hi... I should let you get back to work..." you say as you quickly leave. You don''t notice him nod, or the slight frown when he sees you scurry away.'
							gs 'stat'
							act 'Go back to the garages': gt 'pav_complex', 'garages'
							act 'Go back to the courtyard':minut += 1 & gt 'pav_complex', 'start'
						end
					elseif garageedevent = 2 and locat['A158'] = 23:
						'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/garage/ed/ed2.jpg"></center>'
						'As you walk past Eduard''s garage, you overhear some loud voices coming from his garage. You carefully approach the entrance and notice Eduard and Valentin working on the motorcycle. You greet them, but they barely acknowledge you as they''re focused on working on the motorcycle.'
						'Feeling rejected, you turn around and move on.'
						minut += 5
						gs 'stat'
						act 'Go back to the courtyard':minut += 1 & gt 'pav_complex', 'start'
					elseif garageedevent = 3 and locat['A158'] = 23:
						'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/garage/ed/ed2.jpg"></center>'
						'As you walk past Eduard''s garage, you overhear some loud voices coming from his garage. You carefully approach the entrance and notice Eduard and Valentin standing around the motorcycle talking, perhaps taking a break or discussing options.'
						minut += 5
						gs 'stat'
						act 'Approach them':
							cla & *clr
							'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/garage/ed/ed3.jpg"></center>'
							'You approach and greet them and they look up and greet you back. You spend some time small talking with them about what they''re doing and they try their best to answer in the most interesting way they can.'
							'Despite their best efforts to explain, you don''t really follow it all that well. They are way more technically adept than you can easily follow, so you just smile and nod, humoring them and maybe learning a thing or two.'
							gs 'stat'
							act 'Leave':minut += 1 & gt 'pav_complex', 'start'
							act 'Talk to Valentin':
								cla & *clr
								'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/garage/ed/ed7.jpg"></center>'
								'You excuse yourself to Eduard and ask if you could borrow Valentin for a second. Eduard grins as he pushes Valentin towards you.'
								'The two of you walk away to the entrance and talk to each other for a few minutes about what happened at school today.'
								'A few minutes pass by before Valentin interrupts you. "Yeah, maybe we can talk about it later? I really want to finish the repairs on my bike before it gets too late."'
								'You nod. "Sure, talk to you later." He gives you a friendly shoulder rub then hurries back inside. You wave to Eduard and then leave the garage.'
								minut += 5
								npc_rel['A158'] += 1
								gs 'stat'
								act 'Go back to the courtyard':minut += 1 & gt 'pav_complex', 'start'
							end
						end
					elseif garageedevent = 4 and locat['A158'] = 23:
						'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/garage/ed/ed0.jpg"></center>'
						'As you walk past Eduard''s garage, you hear some noises coming from his garage. You carefully approach the entrance and notice Valentin kneeling next to his bike, looking at it.'
						minut += 5
						gs 'stat'
						act 'Go to the courtyard':minut += 1 & gt 'pav_complex', 'start'
						act 'Approach him':
							cla & *clr
							'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/garage/ed/ed6.jpg"></center>'
							'You approach and stand next to his bike, facing him. "What''s up Valentin?"'
							'He throws down a towel he was using to clean up. "It''s this damn bike, I don''t know why it keeps cutting out."'
							'You can tell he is really stressed and pissed off. "Is there anything I can do to help?"'
							'He glares at you. "You know how to rebuild an engine on a bike and have the money to buy all the parts?"'
							'You shake your head. "No, but maybe I can take your mind off it?"'
							'His face softens a litte and he seems curious. "How exactly?" he asks rhetorically.'
							gs 'stat'
							gs 'willpower', 'sex', 'resist'
							if will_cost <= pcs_willpwr:
								act 'Talk to Valentin (<<will_cost>> Willpower)':
									*clr & cla
									gs 'willpower', 'pay', 'resist'
									minut += 5
									npc_rel['A158'] += 1
									gs 'stat'
									'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/garage/ed/ed6.jpg"></center>'
									'You bite your lip, you know what he wants but you don''t want to do it. "We could, you know just talk and hang out if you want."'
									'He sighs, obviously a little disappointed. "I guess a little break wouldn''t hurt. So what''s up with you?"'
									'The two of you start talking, and before long he is fairly relaxed. "I really should get back to this, but thanks for hanging out. See you later." With that, he goes back to working on his bike and you take the hint and leave.'
									gs 'stat'
									act 'Go back to the courtyard':minut += 1 & gt 'pav_complex', 'start'
								end
							else
								act 'Talk to Valentin (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
							end	
							act 'Strip down to your panties':
								cla & *clr
								minut += 3
								npc_rel['A158'] += 1
								gs 'clothing', 'strip'
								gs 'bras', 'remove'
								gs 'arousal', 'foreplay', 5, 'exhibitionism'
								gs 'stat'
								'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/garage/val/val1.jpg"></center>'
								'You grin at him and start undressing very slowly in a teasing manner.'
								if $pantyworntype ! 'none':
									'You strip down to your underwear. Tossing your clothes aside, you can already see the bulge in his pants and kneel down next to him.'
								else
									'You strip down naked. Tossing your clothes aside, you can already see the bulge in his pants and kneel down next to him.'
								end
								gs 'arousal', 'foreplay', 5, 'exhibitionism'
								gs 'stat'
								act 'Unbutton his pants':
									cla & *clr
									gs 'stat'
									'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/garage/val/val2.jpg"></center>'
									'You pull off his shirt and push him back so he is sitting back on his heels. You start to unbutton his pants while you feel one of his hands slide between your legs and start to rub your pussy, getting it nice and wet.'
									gs 'arousal', 'foreplay', 5, 'exhibitionism'
									gs 'stat'
									act 'Suck his dick':
										cla & *clr
										gs 'boyStat', 'A158'
										gs 'stat'
										'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/garage/val/val3.jpg"></center>'
										'You pull his pants down and lean forward. Opening your mouth, you take his <<dick>>cm <<$dick_girth>> dick into your mouth and lock your lips around his shaft. Your tongue presses hard against the shaft of his cock as you start bobbing your head up and down, sucking his dick. Before long, he starts moaning and places a hand on top of your head, forcing you to take his dick deeper into your mouth.'
										'He then pulls your head up and his dick pops out of your mouth. He turns you around, pushing your legs slightly apart, and you feel the head of his cock rubbing against your slit, making you even wetter.'
										gs 'arousal', 'bj', 10, 'unknown'
										gs 'stat'
										act 'Let him fuck you':
											cla & *clr
											gs 'panties', 'remove'
											gs 'boyStat', 'A154'
											gs 'stat'
											'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/garage/val/val4.jpg"></center>'
											'Once he is sure you are good and wet, he slides his <<dick>>cm <<$dick_girth>> cock into your warm pussy, which elicits a moan from both of you. He goes slow and not too deep at first, but as he feels you getting wetter and moaning louder, he starts fucking you a little harder and slowly works himself balls deep into you.'
											gs 'arousal', 'vaginal', 10, 'unknown'
											act 'More':
												cla & *clr
												gs 'stat'
												'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/garage/val/val5.jpg"></center>'
												'Once you''re really into it, he pulls out of you and you feel the head of his dick pressing against your asshole. Once he is sure he has it lined up, he pushes forward and his dick pops into your ass, causing you gasp slightly in pain.'
												*nl
												'He slowly start pushing his <<dick>>cm <<$dick_girth>> dick into your ass, stopping when you start to pull away. He slowly begins fucking your ass, and as your moans turn back to pleasure, he starts pushing a little deeper and going a little faster.'
												gs 'arousal', 'anal', 10, 'unknown'
												gs 'stat'
												act 'Finish':
													cla & *clr
													gs 'stat'
													'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/garage/val/val6.jpg"></center>'
													'He starts grunting as he fucks your ass and suddenly pulls out of you. He stands up and pulls you up to your knees, turning to face him. As you do, he is already jerking off and within seconds, warm cum starts spurting out of his dick and splattering across your tits. After a few more spurts, he moans a loud sigh of relief.'
													*nl
													'He looks down at your cum covered tits, grinning at his handiwork, before he cleans himself up and gets dressed as you do the same. Once you are both dressed, he turns to you. "Thanks <<$pcs_nickname>>. I needed that, but I should get back to work. Talk to you later." He turns and starts working on his bike again. You take one last look around to make sure you didn''t forget anything and leave.'
													gs 'arousal', 'foreplay', 5, 'unknown'
													gs 'cum_call', 'breasts', $boy, 1
													gs 'arousal', 'end'
													gs 'underwear', 'wear'
													gs 'clothing', 'wear_last_worn'
													gs 'stat'
													act 'Go back to the courtyard':minut += 1 & gt 'pav_complex', 'start'
												end
											end
										end
									end
								end
							end
						end
					else
						'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/garage/ed/ed1.jpg"></center>'
						'As you walk past Eduard''s garage, you notice him working on his motorcycle as usual. You carefully approach the entrance and peek in. He has his back towards you and seems completely engrossed in whatever he is doing with the motorcycle.'
						minut += 5
						gs 'stat'
						act 'Be on your way':gt 'pav_complex', 'garages'
						act 'Say hi':
							cla & *clr
							'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/garage/ed/ed6.jpg"></center>'
							'You step into the garage and walk up behind him. He turns as you walk in. "Hello Mr. Konstantinov."'
							'He gives you a friendly smile. "Hello <<$pcs_nickname>>. Please, call me Ed."'
							'You nod and smile. "Okay. Hi Ed."'
							'He chuckles slightly. "What can I do for you <<$pcs_nickname>>? Anushka isn''t here and I have no clue where she is, like most days." He adds with a bit of a frown.'
							gs 'stat'
							act 'Nothing':
								cla & *clr
								minut += 1
								'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/garage/ed/ed1.jpg"></center>'
								'You shake your head slightly. "Nothing, I was just passing by and saw you, so thought I would stop and say hi. I''ve got things to do, so I should let you get back to work." With that, you give him a slight wave and leave.'
								gs 'stat'
								act 'Go back to the courtyard':minut += 1 & gt 'pav_complex', 'start'
							end
							act 'Talk':
								cla & *clr
								minut += 10
								'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/garage/ed/ed6.jpg"></center>'
								'You shrug slightly. "I just thought you might want to talk is all." you tell him.'
								'He nods and takes a seat on his toolbox. "Sure, I''ve got a few minutes. What''s on your mind?"'
								'You walk over and look at his bike, then gently lean against it, being careful not to knock it over. "How are things at home?"'
								'He laughs slightly at the question. "Well if you''re really curious, the wife is still a shrew, the boys are... well preteen boys, so are nothing but trouble and Nush... Well, I wouldn''t know. I rarely see her, I just hope she''s staying out of trouble." Then he snorts. "Or I should say, not getting into more trouble than she can handle. What about yourself? Everything okay at home, doing well in school?"'
								'You spend some time telling him about home and school and he seems far more interested than you expected. After around half an hour of pleasant conversation, you excuse yourself and tell him not to work too late as you leave.'
								gs 'stat'
								act 'Go back to the courtyard':minut += 1 & gt 'pav_complex', 'start'
								act 'Keep talking':
									cla & *clr
									minut += 15
									'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/garage/ed/ed6.jpg"></center>'
									edchat = rand(1,13)	
									if edchat = 1:
										'"Your daughter is lots of fun, has anyone ever told you that?" you gloat a little.'
										'"So what''s my daughter up to these days?" Eduard causally asks while working on his bike.'
										'"Oh, you know... The usual teenage stuff... Nothing serious." you smile and give him a sly wink.'
										'"As long as I don''t get anyone angry knocking on my door..." he calmly replies.'
									elseif edchat = 2:
										'"I''ve been trying to get to know your daughter a little bit better, but I have a hard time getting through to her. Do you mind if you share a fond memory of her with me?" you ask.'
										'"No at all." Eduard shines up. "There was this time, I remember some boys were picking on her..." he stops and begins to laugh. "So she went home and grabbed a bucket full of water to soak them. She didn''t think that the bucket would be that heavy, however. When she lifted it, she lost her balance and drenched herself instead."'
										'The two of you start to laugh loudly. "I still remember her barging in, soaking wet..." Eduard says as you notice tears forming from laughter.'
									elseif edchat = 3:
										'"Have you seen Anushka today?" you ask Eduard as he''s working on his bike.'
										'"Can''t say I really have. Why, is she up to something?" he stops and looks sternly at you.'
										'"N-No, not at all..." you gulp. "I was just wondering if you''ve seen her?"'
										'"Sorry if I scared you... I just want her to be safe you know. Keep an eye out for her, okay? I know she can be all over the place and gets in trouble a lot." Eduard tells you before going back to work on his bike.'
									elseif edchat = 4:
										'"May I ask you a question, <<$pcs_nickname>>?" Eduard wipes his hands as he takes a break from working on the bike.'
										'You nod, a bit afraid of what he''ll ask...'
										if grupTipe = 4:
											'"So I''ve heard some rumors that you two were doing some shit around town? Do I need to have a talk with you and my lovely daughter?" He crosses his arms, awaiting an answer.'
											'You shake your head. "No! No, we''re staying out of trouble. We''d never do anything to upset you. I promise."'
											'"Good! Keep it that way... Sometimes you kids drive me crazy..." he shortly replies.'
										else
											'"How are you and my daughter friends? Don''t take this the wrong way, but you don''t exactly strike me as the type of person she calls her friend."'
											'You stand and ponder for a while. "I don''t know. we just click. It''s hard to explain, but being around your daughter is a blast."'
											'"Hopefully, you''ll be a good influence on her then. And be careful, don''t let her corrupt you." he smiles and winks.'
										end
									elseif edchat = 5:
										'"I don''t know how to say this..." you stammer as you look at Eduard fearfully. "But your boys have been spying on me."'
										'"Spying? In what way?" Eduard asks.'
										'"Well..." you squirm a little, "They like to watch me when I''m taking a shower at your place..." you blush.'
										'Eduard stops and thinks for a while. "Again?! Those damn boys will be the death of me... Don''t worry, I''ll have a long discussion with them about it not being okay... Seems like I''ll need to show them what happens when they overstep their boundaries..."'
									elseif edchat = 6:
										'"Those damn kids are sitting in front of a computer all day just staring at the screen..." Eduard rants.'
										'"What''s the problem?" you ask.'
										'"I''ll tell you what''s the problem... Those brats are joining a sports team. I don''t care which one, but they''re not sitting around on their asses anymore..." Eduard keeps on ranting.'
									elseif edchat = 7:
										'Eduard looks worryingly at you. "Has Anushka mentioned anything about her brothers?"'
										'"No, not really. She usually doesn''t mention them that often." you reply honestly.'
										'"Oh, okay. They''ve been going at each other lately, so I was just wondering if you''ve heard anything." Eduard says before he shrugs his shoulders.'
									elseif edchat = 8:
										'"I don''t want to be rude, but what does your wife act like that, you know, like a bitch?" you curiously ask.'
										'He sighs loudly. "Look, I know she sometimes acts like she has a stick up her ass, but she''s got her heart in the right place. You just don''t see it that often."'
									elseif edchat = 9:
										'"I was heading over to see Anushka and I saw your wife talking with some people outside the store..."'
										'Eduard starts laughing. "Ah yes, the good old gossip gang. They were probably talking shit, thinking they''re the center of attention. It''s quite sad to be honest."'
									elseif edchat = 10:
										'"That damn, fucking... Always on my ass. One day I''ll fucking..." Eduard is muttering to himself...'
										'"I-Is everything okay?" you quietly ask, afraid of his reaction.'
										'He mutters on. "Is everything okay... Such a stupid question, everyone always want to know what''s on Eduard''s mind. Can''t be alone for a fucking minute..."'
										'Noticing he''s deep inside his thoughts, you turn around and begin to leave before you hear "Oh sorry <<$pcs_nickname>>. I''m just having a bad day today."'
									elseif edchat = 11:
										'"How many tattoos do you have?" you curiously ask.'
										'Eduard smiles and starts looking all over his body.` "Got this one when I was thirteen, got this one in jail..." he trails off and looks at you. "I can''t remember how many I''ve done, but it''s at least a dozen."'
										'"Cool!" you reply.'
										if tattCount = 0:
											'He sighs. "No, it''s not cool. But they can be meaningful if you get one. Make sure you get one for the right reasons and not just to be ''cool'', okay?" he says in a poor attempt to discourage you.'
										elseif tattCount > 0 and tatarm = 0 and tathand = 0 and tatwrist = 0 and tatunder = 0 and tatupb = 0 and tatside = 0 and tatlech = 0 and tatneck = 0 and tatlip = 0 and tatleg = 0 and tatankle = 0 and tatfce = 0 and tatchst = 0:
											'You start to remove your clothes to show him your special tattoo and he holds up his hands, partially blocking his own view. "What the hell are you doing?!" he exclaims.'
											'"I was just going to show you my tattoo..." you innocently respond.'
											'He snorts a laugh and shakes his head. "That''s okay, I believe you. I swear you''re almost as bad as Nush. You would think she was allergic to clothes or something with the number of times she walks around the apartment naked..." he trails off, muttering something about girls.'
										else
											'You proudly show off your own tattoo to him and he''s taken a back a little. "Oh you''ve already got one. It''s a great feeling, isn''t it? I remember getting my first one and it was like a drug. I was hooked."'
											'You nod your head. "I''m already thinking about getting another one."'
											'"Just remember to do something tasteful or cool and not something horrible that you''ll regret later on." he advices.'
										end
									elseif edchat = 12:
										'"So I was just harassed by the local police..." you complain to Eduard.'
										'"Ah yes, our finest." he says and spits on the ground out of spite. "They''re always harassing people, looking for a bribe. I''ve always hated this city''s police force. Even when I was young, they were out to get me."' 
									elseif edchat = 13:
										'"Tell me <<$pcs_nickname>>, is that place over by the old factory still there?" Eduard curiously asks.'
										'You ponder for a while. "I don''t really know which one you mean, but no one really hangs out over there anymore. The only ones that remain are the drug dealers..."'
										'"That''s a shame, we used to use that as a meeting place. Lots of crazy stuff happened there. The fights, the women, the dru-..." he clears his throat, "Yeah, those were great times..." His mind travels away somewhere as a little smirk appears on his face.'
									end
									act 'Go back to the courtyard':minut += 1 & gt 'pav_complex', 'start'
								end
							end
							act 'Work on motorcycle':
								cla & *clr
								minut += 60
								gs 'exp_gain', 'hndiwrk', rand(3,5)
								'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/garage/ed/ed5.jpg"></center>'
								if LearntAboutMotorcycle = 0:
									LearntAboutMotorcycle = 1
									'You walk up to his bike and pick up a random tool. "Actually, I was wondering if maybe you can teach me a little about working on motorcycles?" you ask hopefully.'
									'He arches a brow and seems slightly surprised, but shrugs. "Sure, if you want to learn."'
									'You nod enthusiastically. "I do, I really do. I think all girls should learn the basics, in case we break down out on the road somewhere with no one around."'
									*nl
									'He smiles and looks... proud. "Couldn''t have said it better myself." He then starts explaining how the motorcycle works in basic terms, explains some of the tools and then puts you to work on some easy stuff on the bike. You do learn stuff and before long, you are covered in grease and grime.'
									'He chuckles and shakes his head. "Okay, I think that''s enough for now. Why don''t you go get cleaned up? We can continue some other time." You put down the tools, smile and thank him for helping you before leaving.'
								else
									'You walk up to his bike and pick up a tool. "Actually, I was wondering if you could teach me a little more about working on motorcycles?" you ask hopefully.'
									'He nods. "I would be happy to show you more. Grab that wrench over there." He points at a wrench lying on a table.'
									*nl
									'He puts you to work on some easy stuff on the bike. You do learn stuff and before long, you are covered in grease and grime.'
									'He chuckles and shakes his head. "Okay, I think that''s enough for now. Why don''t you go get cleaned up? We can continue some other time." You put down the tools, smile and thank him for helping you before leaving.'
								end
								gs 'stat'
								act 'Go back to the courtyard':minut += 1 & gt 'pav_complex', 'start'
							end
						end
					end
					killvar 'garageedevent'
				end
			end
		end
	end
	if $CURACTS = '':
		gs 'stat'
		act 'Go back to the courtyard':minut += 2 & gt 'pav_complex', 'start'
		if mid($start_type,1,2) = 'sg': act 'Go to your stepfather''s garage': minut += 5 & gt 'gargazel'
	end

end


--- pav_complex ---------------------------------
