:: korrPar[hasEvents indoors private homeParents region_pav]
	<h2>Corridor</h2>
	<<image "locations/pavlovsk/resident/apartment/home/korrPar.webp">>
	<<mirrorAction>>
	The corridor of your parent's apartment. There are several doors which lead to the other rooms of the apartment, as well as the front door which leads outside to the stairwell.
	A mirror hangs on the wall near the front door.

	<<set _familyLocations = $npcs.locationGroup(['A28','A29','A33','A34'])>>
	<<npcList _familyLocations.beach "# may be at the lake." "# may be at the lake.">>
	<<npcList _familyLocations.communityCenter "# is at the community center." "# are at the community center.">>
	<<npcList _familyLocations.garage "# is at the garage." "# are at the garage.">>
	<<npcList _familyLocations.home "# should be somewhere in the apartment." "# should be somewhere in the apartment.">>
	<<npcList _familyLocations.luda "# is visiting your aunt." "# are visiting your aunt.">>
	<<npcList _familyLocations.outdoors "# is somewhere outside." "# are somewhere outside.">>
	<<npcList _familyLocations.party "# is at a party." "# are at a party.">>
	<<npcList _familyLocations.school "# is at school." "# are at school.">>
	<<npcList _familyLocations.supermarket "# is buying groceries." "# are buying groceries.">>
	<<npcList _familyLocations.trackfield "# is at the football field." "# are at the football field.">>
	<<npcList _familyLocations.work "# is at work." "# are at work.">>
	<<npcList _familyLocations.undefined "You don't know, where # is." "You don't know, where # are.">>

	/*<<if getvar("$locat['Fam_inGad']") == 1>>
		With your parents away visiting your grandparents, the apartment seems quiet and empty.
	<</if>>*/




/*<<if $courtletter_date <= $time.daystart and getvar("$courtletter_date") != 0>>
	<<gt 'sentence' 'letter'>>

<</if>>
<<if ($time.hour != 16 or $time.hour != 17) and getvar("$blockBedrPar") == 1>>
	<<set $blockBedrPar = 0>>

<</if>>
/*<<if getvar("$locat['Mother']") == 1 and $time.hour == 22 and $time.minutes < 30 and $motherQW['con_steal_talk'] + 4 < $time.daystart and $prezikday + 4 < $time.daystart and rand(1,5) == 1>>
	<<gt 'mother' 'condom_steal' 'talk'>>

<</if>>*/
<<ConnectedLocationCode 'Stairwell' 'locations/pavlovsk/resident/apartment/stairs/etaj2.jpg' 1  `{priority:0,indecencyBlocked:true}`>>
	<<if !$wardrobe.clothingIsNude>>
		<<travel  'parents_stairwell_level2'>>
	<<else>>
		<<msg '<b><font color = red>You need to get dressed.</font></b>'>>
	<</if>>
<</ConnectedLocationCode>>
<<ConnectedLocationCode 'Courtyard' 'locations/pavlovsk/resident/apartment/complex.jpg' -5 `{priority:1000,hotkeys:['S'],indecencyBlocked:true}`>>
	<<if $wardrobe.clothingworntype != 'nude'>>
		<<if $time.hour < 5 and getvar("$motherWorry") == 0 and getvar("$pc.age") < 18 and getvar("$locat['Fam_inGad']") == 0>>
			<font color=red>Are you sure? Your mother will worry.</b></font>
			<<actCLA '<font color=red><b>Yes, go outside</b></font>'>>
				<<set $time.minutes += 5>>
				<<travel  'pav_complex' 'start'>>
			<</actCLA>>
			<<act 'No, stay inside'>>
				<<travel  'korrPar'>>
			<</act>>
		<<else>>
			<<set $time.minutes += 5>>
			<<travel  'pav_complex' 'start'>>
		<</if>>
	<<else>>
		<<msg '<b><font color = red>You need to get dressed.</font></b>'>>
	<</if>>
<</ConnectedLocationCode>>
/*<<if getvar("$npc_mother") == 0>>
	<<ConnectedLocationCode 'Your Room' 'locations/pavlovsk/resident/apartment/home/bedrpar.jpg' 1 `{priority:10000}`>>
		<<if getvar("$locat['Anya']") == 11 and getvar("$sisboytrioQW") == 1>>
			<<travel  'sisterQW' 'sisboytrioQW_bedroom'>>
		<<elseif getvar("$locat['Anya']") == 11 and ($npc('A33').QW == 3 or $npc('A33').QW == 5 or $npc('A33').QW == 7 or $npc('A33').QW >= 9)>>
			<<travel  'sisterQW' 'sisboyQW_bedroom'>>
		<<else>>
			<<travel  'bedrPar'>>
		<</if>>
	<</ConnectedLocationCode>>
<</if>>*/
<<ConnectedLocation 'Your Room' 'bedrPar' '' 'locations/pavlovsk/resident/apartment/home/bedrpar.jpg' 1 `{priority:10000}`>>

/*
<<if getvar("$locat['Mother']") == 3>>

<</if>> */
<<ConnectedLocation 'Parents\' room' 'bedrPar2' '' 'locations/pavlovsk/resident/apartment/home/bedrpar2.jpg' 1 `{priority:2000}`>>
<<ConnectedLocation 'Living room' 'sitrPar' '' 'locations/pavlovsk/resident/apartment/home/sitrpar.jpg' 1 `{priority:3000,indecencyBlocked:true}`>>
<<ConnectedLocation 'Bathroom' 'vanrPar' '' 'locations/pavlovsk/resident/apartment/home/vanrpar.jpg' 1  `{priority:8000}`>>
<<ConnectedLocation 'Kitchen' 'kuhrPar' '' 'locations/pavlovsk/resident/apartment/home/kuhrpar.jpg' 1  `{priority:6000,indecencyBlocked:true}`>>


/*<<if $housing.home == 'homeParents'>>
	<<if !$status>><<set $status = {}>><</if>>
	<<if !$rex>><<set $rex = {}>><</if>>
	<<if $status['dog'] != 'blocked' and getvar("$menu_off") == 0 and getvar("$rex['owned']") == 1>>
		<<if getvar("$rex['status']") == 0>>
			<<gt 'pet_dog' 'name'>>
		<<elseif $time.hour > 5>>
			<br>Your dog <<link $rex['name']>><<gt 'pet_dog' 'start'>><</link>> is lying on the floor.<br>
		<<elseif $time.hour < 6>>
			<br>$rex['name'] is sleeping in his dog basket.<br>
		<</if>>
	<</if>>
<</if>>*/
