:: sitrPar[indoors private livingroom homeParents]
	<h2>Living Room</h2>

	<<set _location_dad = $npcs.location('A28')>>
	<<set _location_mum = $npcs.location('A29')>>
	<<set _location_anya = $npcs.location('A33')>>
	<<set _location_kolka = $npcs.location('A34')>>


	<<if $npc('A28').atActivity('tv','home') && $npc('A29').atActivity('tv','home')>>
		<<image "locations/pavlovsk/resident/apartment/home/momvladtv.jpg">>
	<<else>>
		<<image "locations/pavlovsk/resident/apartment/home/sitrpar.jpg">>
	<</if>>
	<<ConnectedLocation'Hallway' 'korrPar' '' 'locations/pavlovsk/resident/apartment/home/korrPar.webp' 1>>
	
	<<act 'Watch TV'>><<gt 'TV' 'low'>><</act>>
	<p>
		The living room has a TV, which is near the window. In front of the TV is a sofa bed, on which your brother sleeps at night.
		A large tapestry covers one wall, while the other wall has several shelves on it, stocked with books and other things.
	</p>

	<<if $npc('A34').atActivity('tv','home')>>
		<p>Your younger brother <<npc 'A34'>><<gt 'brother'>><</npc>> is sitting on the sofa, playing video games.</p>
	<<elseif $npc('A34').atActivity('asleep','home')>>
		<p>Your younger brother <<npc 'A34'>><<gt 'brother_asleep'>><</npc>> is sleeping on the sofa.</p>
	<<elseif $npc('A34').atActivity('homework','home')>>
		<p>Your little brother <<npc 'A34'>><<gt 'brother'>><</npc>> is sitting by the table and doing his homework.</p>
	<</if>>

	<<if $npc('A28').atActivity('tv','home') && $npc('A29').atActivity('tv','home')>>
		<p><<npc 'A29' undefined 'Your mother'>><</npc>> and <<npc 'A28'>><</npc>> are sitting on the couch watching TV.</p>
	<<elseif $npc('A28').atActivity('tv','home')>>
		<p>Your <<npc $npc_father undefined 'stepfather'>><<gt 'father'>><</npc>> is sitting on the sofa, watching TV.</p>
	<<elseif $npc('A29').atActivity('tv','home')>>
		<p>Your <<npc $npc_mother undefined 'mother'>><<gt 'mother'>><</npc>> is sitting on the couch watching TV.</p>
	<</if>>

	<<if $npc('A29').atActivity(['clean','living'],'home')>>
		<p><<npc 'A29' undefined 'Your mother'>><<gt 'mother'>><</npc>> is cleaning the room.</p>
	<</if>>




	/*<<if getvar("$locat['Fam_livingroom']") == 0 and getvar("$locat['Mother']") != 24 and getvar("$locat['Mother']") != 19>>
		No one else is here right now, so you're free to use the room how you like.
		<<gs 'exercise' 'start'>>
	<</if>>
	<<if getvar("$locat['Kolka']") == 2 and $brothermorningsex == $time.daystart>>
		Your younger brother <<npc 'A34'>><<gt 'brother' 'start'>><</npc>> is getting ready for school.
	<<elseif getvar("$locat['Kolka']") == 1>>
		Your younger brother <<npc 'A34'>><<gt 'brother' 'start'>><</npc>> is sleeping on the sofa.
	<<elseif getvar("$locat['Kolka']") == 7>>
		
	<<elseif getvar("$locat['Kolka']") == 11>>
		<<if getvar("$locat['Mother']") == 19 or getvar("$locat['Stepdad']") == 10>>
			Your younger brother <<npc 'A34'>><<gt 'brother' 'start'>><</npc>> is sitting in the armchair, playing on his phone.
		<<else>>
			
		<</if>>
	<</if>>
	<<if $time.month == 12 and $time.day >= 20>>
		A Christmas tree stands next to the TV, decorated with tinsel garlands and other ornaments.

	<</if>>
	<<if $time.month == 12 and $time.day == 31 and $time.hour >= 20>>
		<<actCLA 'Celebrate the New Year with your family.'>>
			<<gs 'npc_relationship' 'modify' 'A29' 10>>
			<<gs 'npc_relationship' 'modify' 'A28' 10>>
			<<gs 'npc_relationship' 'modify' 'A33' 10>>
			<<gs 'npc_relationship' 'modify' 'A34' 10>>
			<<set $finances.cash += 5000>>
			<<set $time.hour = 23>>
			<<set $time.minutes = 0>>
			<<set $time.minutes += 120>>
			<<set $pc.pcs_sleep = 0>>
			<<set $pc.mood += 100>>
			<<gt 'beverage' 'l_meal'>>
			<p>You sit at the festive table laid in front of the TV and celebrate the New Year with your family, the TV providing some background noise. At the table, people strike up a conversation and common problems are forgotten as everyone is has fun talking to each other. At midnight, everyone wishes one another a happy New Year and enjoys the champagne and fireworks outside as your mother gives you an envelope with a greeting card and 5000 <b>₽</b>.</p>
			You continue to watch TV and enjoy the champagne and company of your family, but everyone eventually grows tired and they go to bed, one by one.
			<<act 'Leave'>>
				<<gt 'korrPar'>>
			<</act>>
		<</actCLA>>
	<<elseif $time.month == 1 and $time.day == 1>>
		<<actCLA 'Eat some leftovers at the festive table'>>
			<<set $pc.frost = 0>>
			<<set $time.minutes += 10>>
			<<set $pc.pcs_health += 10>>
			<<set $pc.mood += 20>>
			<<set $pc.fat += 8>>
			<<set $pc.pcs_energy += 60>>
			<<if $pc.pcs_hydra >= 100>>
				<<set $pc.pcs_hydra += 30>>
			<<else>>
				<<set $pc.pcs_hydra += 60>>
			<</if>>
			<<set $cumspclnt = 2>>
			<<gs 'cum_cleanup'>>
			<<set $pc.pcs_breath = 0>>
			<<image "shared/food/leftovers.jpg">>
			You finish the leftovers remaining on the table from the holidays.
			<<act 'Get up from the table'>>
				<<gt 'sitrPar'>>
			<</act>>
		<</actCLA>>
	<<elseif getvar("$locat['Mother']") == 24>>
		<<image "characters/pavlovsk/resident/mom/uborka1.jpg">>
		<<if $time.isSchoolHoliday == 0 and $pc.isSchoolStudent and $time.weekday < 6>>
			<<if getvar("$CloStyle2") == 4>>
				<p>As you walk into the living room, you see your mother sweeping the floor. She looks up and gives you a disappointed look. "What are you still doing home? Go to school, now!" With that, she practically pushes you out of the apartment and closes the door. As she does, she adds once more, "Go to school."</p>
				<<act 'Continue'>>
					<<gt 'pod_ezd' 'etaj_2'>>
				<</act>>
			<<else>>
				<<gs 'wardrobe' 'school_outfit'>>
				<p>As you walk into the living room, you see your mother sweeping the floor. She looks up and gives you a disappointed look. "What are you still doing home? Why are you not wearing your uniform? Go get changed and go to school, now!" She follows you back to your room and watches as you change into your uniform. After that, she practically pushes you out of the apartment and closes the door. As she does, she adds once more, "Go to school."</p>
				<<act 'Continue'>>
					<<gt 'pod_ezd' 'etaj_2'>>
				<</act>>
			<</if>>
		<<else>>
			As you walk into the living room, you see your mother sweeping the floor. She hasn't noticed you, she is intent on cleaning.
			<<act 'Leave'>>
				<<gt 'korrPar'>>
			<</act>>
		<</if>>
		$exit
	<<elseif getvar("$locat['Mother']") == 19 and getvar("$locat['Stepdad']") == 10>>
		<<act 'Leave'>>
			<<gt 'korrPar'>>
		<</act>>
		<<actCLA 'Join them'>>
			<<set $pc.mood += 10>>
			<<set $time.minutes += 30>>
			<<set $npc('A28').rel += 1>>
			<<set $npc('A29').rel += 1>>
			<<set $npc('A34').rel += 1>>
			<!-- !!'<<image 'locations/pavlovsk/resident/apartment/home/familytv.jpg'>>'-->
			You move over to join them, and your mother scoots away from Vladimir and pats the spot between her and him. You take a seat between them and Vlad barely even glances at you with a brief smile before he goes back to watching TV. Your mother pats you on the shoulder before returning her attention to the TV, apparently happy the family is spending time together.
			<<act 'Leave'>>
				<<gt 'korrPar'>>
			<</act>>
			<<act 'Keep watching'>>
				<<gt 'parents_livingroom_TVfam'>>
			<</act>>
			<<act 'Finish watching'>>
				<<gt 'parents_livingroom_TVfamTVend'>>
			<</act>>
		<</actCLA>>

	<</if>>
	<<if $pc.isSchoolStudent>>
		<<gs 'subkid'>>
		<<if getvar("$kid") >= 1>>
			<<if getvar("$breastpump") == 1 and getvar("$bp_unbox") == 1 and $pc.pcs_inhib > 30>>
				<<link "Try out">><<gt 'lact_bp' 'bp_unbox_event'>><</link>> your breast pump
			<<elseif getvar("$breastpump") == 1 and getvar("$bp_unbox") <= 0>>
				<<link "Unbox">><<gt 'lact_bp' 'bp_unbox_event'>><</link>> your breast pump
			<</if>>
		<<elseif getvar("$locat['Fam_livingroom']") == 0>>
			<<if getvar("$breastpump") == 1 and getvar("$bp_unbox") == 1>>
				<<link "Try out">><<gt 'lact_bp' 'bp_unbox_event'>><</link>> your breast pump
			<<elseif getvar("$breastpump") == 1 and getvar("$bp_unbox") <= 0>>
				<<link "Unbox">><<gt 'lact_bp' 'bp_unbox_event'>><</link>> your breast pump
			<</if>>
		<</if>>
	<</if>>*/

:: parents_livingroom_sofa[quest]

	<<gs 'sitrPar' 'occupied'>>
	<<image "locations/pavlovsk/resident/apartment/home/sofa.jpg">>
	<p>A small sofa bed, when not folded out into a bed, is just big enough for you to curl up on and take a nap.</p>
	<<act 'Get up'>>
		<<gt 'sitrPar'>>
	<</act>>
	<<act 'Watch TV'>>
		<<gt 'TV_Parents' 'start'>>
	<</act>>
	<<if getvar("$locat['Fam_livingroom']") == 0 and getvar("$pornMagazine") > 0>>
		<br>There is a porn magazine under the sofa cushions.
		<<gs 'events' 'read_porn'>>
		<<if $pc.horny >= 50>>
			<<act 'Masturbate'>>
				<<gt 'selfplay' 'start'>>
			<</act>>
		<</if>>
	<</if>>
	<<gs 'events' 'read'>>
	<<if getvar("$locat['Fam_livingroom']") == 0>>
		<<actCLA 'Take a nap (1:00)'>>
			<<if $pc.pcs_sleep < 90>>
				<<set $pc.pcs_sleep += 10>>
				<<set $pc.pcs_health += 5>>
				<<set $time.minutes += 60>>
				You sleep for about an hour.
			<<else>>
				<<set $time.minutes += 5>>
				You're not tired enough to sleep, even for a short nap.
			<</if>>
		<</actCLA>>
	<</if>>

:: parents_livingroom_TVfam
	<<set $pc.mood += 10>>
	<<set $time.minutes += 30>>
	<<image "locations/pavlovsk/resident/apartment/home/familytv.jpg">>
	You continue to watch TV with the family. Everyone seems very engrossed in the program and almost never says anything, though Kolka occasionally makes a crack about what is happening, often getting shushed by Vlad or your mother.
	<<if getvar("$locat['Mother']") == 19>>
		<<act 'Keep watching TV with your family'>>
			<<gt 'parents_livingroom_TVfam'>>
		<</act>>

	<</if>>
	<<act 'Finish watching'>>
		<<gt 'parents_livingroom_TVfamTVend'>>
	<</act>>
:: parents_livingroom_TVfamTVend
	<<image "locations/pavlovsk/resident/apartment/home/familytv.jpg">>
	Once the show is over, Vladimir picks up the remote and turns the TV off. He gets up and stretches before he turns and walks out of the room, likely heading to bed. Your mother also gets up. "You should go to bed or at least go to your room so your brother can get his rest." She then turns to Kolka. "Don't stay up, go to bed." She then ushers you out of the room. As you walk out, you see Kolka putting his pillow and sheet on the couch.
	<<act 'Leave'>>
		<<gt 'korrPar'>>
	<</act>>
