:: npc_mother
<<switch $location_var[$here][0]>>
	<<case 'event'>>
		<<switch $location_var[$here][1]>>
			<<case 'critical'>>
				<<set _korrParMomHeader = '<h2>'+$npc('A29').nickname+'</h2><<image "characters/pavlovsk/resident/mom/mother.jpg">>'>>
				<<if $q.questIsActive('school_mother') and $npcs.get('A29','discussedSchoolAbsenteeWarnings',0) < $quest('school').missedDayWarnings>>
					<<addtime 3>>
					<<=_korrParMomHeader>>
					<<switch $quest('school').missedDayWarnings>>
						<<case 1>>
							<<run $npcs.dec('A29','rel',20)>>
							<p>
								You find your mother waiting for you when you enter the hallway.
								"$pc.name_nick? The school called saying you weren't at school today.
								You know they're very unforgiving when it comes to absenteeism.
								They said they would expel you if it happens again. What are you doing with your life? Get it together!"
								Your mother angrily leaves the room, leaving you to your thoughts.
							</p>
						<<case 2>>
							<<run $npcs.dec('A29','rel',30)>>
							<p>
								You find your mother waiting for you when you enter the hallway. She seems very angry with you.
								"The school called saying you didn't show up for class again. They wanted to expel you!
								I had to go over there and beg the principal to give you one last chance. I've never felt so humiliated!
								This is your last chance $pc.name_nick. You will not embarrass me any further.
								If you miss one more day of school, they will kick you out. And if you get kicked out of school,
								<<if $npc('A29').rel > 50>>
									life is going to get a lot tougher for you, especially around here!" Having said her piece, your mother turns around and leaves.
								<<else>>
									I will personally kick you out of the house.
									If you cannot be responsible and behave like a normal person, then get out!
									No one is forcing you to stay." Having said her piece, your mother turns around and leaves.
								<</if>>
							</p>
						<<case 3>>
							<<run $npcs.dec('A29','rel',50)>>
							<<if $q.questIsActive('school')>>
								<<run $quest('school').fail(8001)>>
							<</if>>
							<<run $quest('school')_mother.fail(8001)>>
							<p>
								You find your mother waiting for you when you enter the hallway. You have never seen her this furious before.
								"$pc.name_nick? I just got off the phone with the school. They told me you didn't show up yet again and expelled you.
								<<if $npc('A29').rel > 0>>
									I'm extremely disappointed with you! I've warned you so many times!
									If you want to keep sleeping under this roof, then you better start pulling your weight around here!
									Right now, I want you to go out and find a job!"
								<<else>>
									I've had it with you! I've warned you so many times! Go ahead, live your irresponsible life the way you want.
									You're no longer welcome here."
									She has already packed up all your things and roughly shoves the bag into your hands before she pushes you out the door and slams it shut in your face.
									<<set _thrownOutByMother = true>>
								<</if>>
							</p>
					<</switch>>
					<<set $npc('A29').discussedSchoolAbsenteeWarnings = $quest('school').missedDayWarnings>>
					<<set _eventHasContent = true>>
					<<if _thrownOutByMother>>
						<<act 'Leave'>>
							<<addtime 5>>
							<<gt 'pav_residential'>>
						<</act>>
					<<else>>
						<<act 'Continue'>>
							<<eventReturn>>
						<</act>>
					<</if>>
				<</if>>
			<<case 'chat'>>
					<<if !$motherQW>><<set $motherQW = {}>><</if>>
					<<if getvar("$locat['Mother']") == 2 and getvar("$vanrPar_suction_dildo") > 0>>
						<<setinit $motherQW['dildo_shower_discovery'] = 1>>
						<<gt 'mother' 'bathroom_dildo_shriek1'>>
					<<elseif getvar("$motherQW['bathroom_dildos']") > 0 and getvar("$locat['Mom_athome']") == 1>>
						<<gt 'mother_sextalk' 'bathroom_dildos1'>>
					<</if>>
			<<default>>
		<</switch>>
	<<case 'timetable'>>

		<<set $result = {
			'weekday':[
				{start:[0,0],	data:{location: 'home',activity:['asleep']}},
				{start:[5,30],	data:{location: 'home',activity:['shower']}},
				{start:[5,45],	data:{location: 'home',activity:['dressingUp']}},
				{start:[6,0],	data:{location: 'home',activity:['breakfast','prepare']}},
				{start:[6,40],	data:{location: 'home',activity:['breakfast','setup']}},
				{start:[6,45],	data:{location: 'home',activity:['breakfast','eat']}},
				{start:[7,15],	data:{location: 'home',activity:['breakfast','cleanup']}},
				{start:[7,30],	either:[
					{location: 'home',activity:['clean','kitchen']},
					{location: 'home',activity:['clean','living']}
				]},
				{start:[8,30],	data:{location: 'work',activity:[]}},
				{start:[18,0],	data:{location: 'home',activity:['dinner','eat']}},
				{start:[18,30],	data:{location: 'home',activity:['dinner','cleanup']}},
				{start:[22,0],	data:{location: 'home',activity:['sexDad']}},
				{start:[23,0],	data:{location: 'home',activity:['asleep']}},
			],
			'mo|tu|we|th':[
				{start:[16,0],	data:{location: 'supermarket',activity:[]}},
				{start:[16,50],	data:{location: 'outdoors',activity:['toHome']}},
				{start:[17,0],	data:{location: 'home',activity:['dinner','prepare']}},
			],
			'fr':[
				{start:[17,50],	data:{location: 'outdoors',activity:['toHome']}},
			],
			'mo':[
				{start:[19,0],	data:{location: 'luda',activity:['visiting']}},
			],
			'tu|we|th|fr':[
				{start:[19,0],	either:[
					{location: 'home',activity:['clean','kitchen']},
					{location: 'home',activity:['clean','bathroom']}
				]},
				{start:[20,0],	data:{location: 'home',activity:['tv']}},
			],
			'weekend':[
				{start:[0,0],	data:{location: 'home',activity:['asleep']}},
				{start:[5,30],	data:{location: 'home',activity:['shower']}},
				{start:[5,45],	data:{location: 'home',activity:['dressingUp']}},
				{start:[6,0],	data:{location: 'home',activity:['breakfast','prepare']}},
				{start:[6,40],	data:{location: 'home',activity:['breakfast','setup']}},
				{start:[6,45],	data:{location: 'home',activity:['breakfast','eat']}},
				{start:[7,15],	data:{location: 'home',activity:['breakfast','cleanup']}},
				{start:[7,30],	either:[
					{location: 'home',activity:['clean','kitchen']},
					{location: 'home',activity:['clean','living']},
					{location: 'home',activity:['clean','bathroom']},
					{location: 'home',activity:['clean','playerRoom']},
				]},
				{start:[11,0],	data:{location: 'outdoors',activity:['fromHome']}},
				{start:[14,0],	either:[{location: 'outdoors',activity:['kolkasGame']},{location: 'luda',activity:['visiting']}]},
				{start:[17,0],	data:{location: 'home',activity:['dinner','prepare']}},
				{start:[18,0],	data:{location: 'home',activity:['dinner','eat']}},
				{start:[18,30],	data:{location: 'home',activity:['dinner','cleanup']}},
				{start:[19,0],	data:{location: 'outdoors',activity:['slut']}},
				{start:[21,0],	data:{location: 'home',activity:['tv']}},
				{start:[22,0],	data:{location: 'home',activity:['asleep']}},
			],
			'sa':[
				{start:[11,30],	either:[
					{location: 'outdoors',activity:['shopping']},
					{location: 'outdoors',activity:['salon']}
				]},
			],
			'su':[
				{start:[11,30],	data:{location: 'outdoors',activity:['church']}},
			]
		}>>
<</switch>>
