:: school_start[event interruptible]
/*<<if $time.hour == 8>>
    <<set $late = 1>>
<</if>>*/
<<run $quest('school').inc('attendedDays',1)>>
<<set $quest('school').period = 0>>
<<set $quest('school').lastAttendedDay = $time.daystart>>

<!--<<gs 'gschool_gossip' 'morning'>>-->
<<image 'locations/pavlovsk/school/schoolStart.jpg'>>
<p>It's the beginning of the school day. As your classmates assemble in front of the classroom, waiting for your teacher, you have to face their judgemental looks on your current outfit.</p>
<<for _socialGroup range ['cool','jocks','nerds','gopniks']>>
	<<set _isMember = $quest('school').func('isGroupMember',_socialGroup)>>
	<<set _isMemberString = _isMember ? 'Since you are one of their members, you spend most of your time with them and the effect of your outfit on their opinion of you is bigger.' : ''>>
	<<set _outfitEffect = $quest('school').func('groupOutfitRating',_socialGroup)>>
	<<set _outfitModifiedEffect = _outfitEffect * 0.5>>
	<<if _isMember>><<set _outfitModifiedEffect *= 2>><</if>>
	<<set _min = -Infinity>>
	<<set _max = -Infinity>>
	<p>
		<<switch _outfitEffect>>
			<<case -2>>
				<<set _min = 10>>
				<<negative 2>>The <<socialGroupName _socialGroup>> hate your current outfit. _isMemberString<</negative>>
			<<case -1>>
				<<set _min = 30>>
				<<negative>>The <<socialGroupName _socialGroup>> dislike your current outfit. _isMemberString<</negative>>
			<<case 0>>
				The <<socialGroupName _socialGroup>> tolerate your current outfit.
			<<case 1>>
				<<set _max = 65>>
				<<positive>>The <<socialGroupName _socialGroup>> like your current outfit. _isMemberString<</positive>>
			<<case 2>>
				<<set _max = 75>>
				<<positive 2>>The <<socialGroupName _socialGroup>> love your current outfit. _isMemberString<</positive>>
		<</switch>>
	</p>
	<<run $npcs.incBulkByFilter({group:_socialGroup},'rel',_outfitModifiedEffect,_min,_max)>>
<</for>>
<p>
	The outcasts don't share a common opinion regarding outfit styles and the teachers are (or pretend to be) above judging students by their outfit choices.
</p>
<<actCLA 'Continue'>>
	<<gs 'school_schedule'>>
<</actCLA>>



:: school_start_events[event school_start_events]



	/*<<or 0*6>>
		<<set $eventtype = 'before_school'>>
		<<gs 'gschool_events' 'break_events'>>*/

<!--
<<gs 'school_schedule'>>


<<elseif getvar("$dimaRevenge") == 1>>
		<<set $menu_off = 1>>
		You're in a good mood today as you enter the school. That changes when Dimka stops you in the hall on the way to class.
		"I know what you did, bitch. Did you really thing I wouldn't figure out it was you that wiped my hard drive?"
		Before you can deny anything , he continues , "I don't even need that video to ruin your life. Just you wait. Soon the whole school will know what a whore you are."
		His words fill you with dread as you make your way to class.
<<elseif getvar("$starlets_missed") == 1>>
    <<set $menu_off = 1>>
    <<set $starlets_missed = 0>>
    <<set $starlet_practice_skipped += 1>>
    <<if getvar("$starlet_practice_skipped") == 1>>
        <<gs 'npc_relationship' 'modify' 'A23' -10>>
        <p>As you walk down the hallway, you see an annoyed Albina waiting for you, her arms crossed as she glares at you. "Where the fuck were you $pc.name_nick?! And don't fucking lie to me!"</p>
        "Sorry, Albina. I... had a family thing I had to deal with and I didn''t have time to tell you." you meekly reply.
        She doesn''t look completely convinced. "Right... Well if you care about your place on the team, then you'll be at the next training session on time. No excuses."
        You nod at her and she gives you a pat on the head before walking away. It looks like you got off lightly this time.
    <<elseif getvar("$starlet_practice_skipped") == 2>>
        <<gs 'npc_relationship' 'modify' 'A23' -20>>
        You notice Albina angrily watching you walk down the hallway towards her and she drags you to the side when you reach her.
        <p>"Skipping training <i>again</i>, $pc.name_nick?! I thought I told you that you were to be there on time <b>no excuses</b>?! I don't care about what miserable story you have to defend yourself with. You either commit to the squad or you're out. This is your final warning $pc.name_nick, don't fucking test me!"</p>
        <p>You don't have a chance to speak before she storms off. Maybe it's best for both of you if you stopped pissing her off?</p>
    <<else>>
        <<setinit $AlbinaQW['StarletsJoined'] = -1>>
        <<gs 'npc_relationship' 'set' 'A23' 10>>
        You are walking down the hallway and freeze when you clock a furious Albina heading straight for you. You barely have time to react before she grabs your shirt and forcefully slams you into the lockers, silencing the hall as everyone looks at you.
        <p>Albina glares directly into your eyes. "ARE YOU DOING THIS TO MOCK ME YOU FUCKING BITCH?! I GAVE YOU ONE. LAST. FUCKING. CHANCE AND YOU THROW IT BACK IN MY FUCKING FACE?!" She tightens her grips as she gets up in your face. "You're done with the Starlets. If I <i>ever</i> see you anywhere near us, you better hope that I'm in a good fucking mood, bitch!"</p>
        She releases you and angrily storms off, shoving other students out of her way. You compose yourself and continue on your way, trying to ignore the stares.
    <</if>>
<<elseif ($time.weekday == 1 or $time.weekday == 3 or $time.weekday == 5) and ($quest('christina').fight == -1 or $quest('christina').submit == 1) and $quest('christina').subpath < 3>>
    <<set $menu_off = 1>>
    <<if $quest('christina').fight == -1>>
        <p><<npc 'A18'>><</npc>> approaches you. "Have you recovered from your ass-kicking yet? At least you understand your place now. I'm looking forward to after P.E. class today!"</p>
        <p>"W-What happens after P.E. class?" you meekly ask.</p>
        Without answering, she simply smirks at you and walks away.
    <<else>>
        <p><<npc 'A18'>><</npc>> approaches you. "Hello, pet. I'm looking forward to after P.E. class today!"</p>
        <p>"W-What happens after P.E. class?" you meekly ask.</p>
        Without answering, she simply smirks at you and walks away.
    <</if>>
<</if>>-->
