:: school_lesson_literature[include]
<<switch $location_var[$here][0]>>
	<<case 'getData'>>
		<<set $result = {
			label:'Literature',
			varname:'lit',
			teacherId:'A137',
			flags: {
				start: 'own',
				npcs:{
					neighbor_boy:'A8',
					neighbor_girl:'A25'
				},
				skills:{
					intelligence: 0.5
				}
			}
		}>>

	<<case 'start'>>
		<<image "locations/pavlovsk/school/classroom/literature/classlit.jpg">>
		<p>
			"I want everyone quiet and in a seat!" <<npc _schoolClassEvent.teacherId>><</npc>> demands as she finishes writing today's lesson plan on the chalkboard.
			The room lets out a collective groan as they see the mountain of work they have to do today.
		</p>
		<p>
			"She's always piling on the work and expects everyone to have it finished by the end of class!" you overhear a girl complain with a heavy sigh.
		</p>
		<p>
			Clearing her throat, <<npc _schoolClassEvent.teacherId>><</npc>> raises her voice to speak over the noise.
			"The sooner everyone takes out their textbooks, the quicker we can get started.
			Who knows, maybe we'll finish early and you'll have some free time." Hearing this, the room settles down and the lesson begins.
		</p>
<</switch>>

:: school_lesson_literature_class_events[event class_events]
<<if _schoolClassEvent.id == 'literature'>>
	<<event `($time.daystart - ($quest('school').eventDays.class_lit_read ?? 0)) * 50`>>

		<<set $quest('school').eventDays.class_lit_read = $time.daystart>>
		<<eventFired>>
		<<image "locations/pavlovsk/school/classroom/literature/work2.jpg">>
		<p>
			You <<if _classParticipation == 'high'>>obediently<<else>>reluctantly<</if>> open your textbook and start following along<<if _classParticipation == 'high'>>, even taking notes where needed<</if>>.
			Eventually, <<npc _schoolClassEvent.teacherId>><</npc>> stops reading the passages herself and starts looking for volunteers to read.
		</p>
		<<actCLA 'Volunteer to read'>>
			<<gs 'school_lesson_literature_volunteerToRead'>>
		<</actCLA>>
		<<actCLA 'Avoid being chosen'>>
			<<image "locations/pavlovsk/school/classroom/literature/work.jpg">>
			You keep your head down and pretend to be deep in thought as <<npc _schoolClassEvent.teacherId>><</npc>> scans the rooms for a moment. Luckily, she stops and points to someone else in the class. "Please read the next passage."

			<<either>>
				<!--A4-->
				<p>You watch Igor sink lower into his seat; it seems he was also trying to hide. He reluctantly and quietly starts to read the passage, but <<npc _schoolClassEvent.teacherId>><</npc>> interrupts and asks him to speak clearly. Some kids start to snicker and whisper to each other, causing Igor to awkwardly clear his throat before continuing. By the time he's finished reading, his cheeks are colored a rosy red and he refuses to look up from his desk for the rest of the class.</p>
			<<or>>
				<!--A140-->
				<p>Upon being called on, Lizaveta quickly hides her phone under her desk, an innocent smile gracing her face as <<npc _schoolClassEvent.teacherId>><</npc>> glares at her. "Uh... what page are we on?" she asks with a nervous chuckle. There's a few scattered laughs, but <<npc _schoolClassEvent.teacherId>><</npc>> quickly silences the room. A nearby girl points out the right page number and paragraph, and with a smile Lizaveta starts reading as if nothing happened.</p>
			<<or>>
				<!--A156-->
				<p>"Give me a fucking break..." Arkadi mutters under his breath. Either <<npc _schoolClassEvent.teacherId>><</npc>> didn't hear him, or she's choosing to avoid confrontation since she continues to wait in silence. Realizing there's no avoiding it, Arkadi clears his throat and begins reading; his voice is flat and at times he pretends not to be able to pronounce a word just to annoy the teacher. Fed up with his antics, <<npc _schoolClassEvent.teacherId>><</npc>> cuts him off, sarcastically thanks him for reading and quickly chooses a more competent student. With a triumphant smile, Arkadi closes his book and relaxes into his seat.</p>
			<<or>>
				<!--A157-->
				<p>Roman scoffs. "Fuck that," he says nonchalantly. You can feel the tension growing as <<npc _schoolClassEvent.teacherId>><</npc>> narrows her eyes and tells him again to read, only to be met with a taunting smile and silent defiance from the gopnik. After what feels like an eternity, <<npc _schoolClassEvent.teacherId>><</npc>> chooses a different student and continues with the lesson like nothing happened.</p>
			<<or>>
				<!--A144-->
				<p>Anushka throws her head back and sighs dramatically. "The quicker you read, the sooner this will be over," <<npc _schoolClassEvent.teacherId>><</npc>> insists. Hearing this, Anushka straightens up and starts to read, taking <<npc _schoolClassEvent.teacherId>><</npc>>''s comment literally and speaking so fast that you can barely understand her.</p>
			<<or>>
				<!--A6-->
				<p>Pekta obediently reads the passage and does so without any mistakes. "It's always a pleasure to hear you read. If only your fellow students took their studies as seriously as you." <<npc _schoolClassEvent.teacherId>><</npc>> compliments. Petka smiles slightly, but you can tell that he doesn't like being openly complimented by the teacher, especially when the others giggle and call him a teacher's pet.</p>
			<<or>>
				<!--A152-->
				<p>You watch <<npc 'A152'>><</npc>> frantically hide the comic book he was secretly reading before trying to find the right passage. "Save the cartoons for after class, <<=$npc('A152').titlename>>," <<npc _schoolClassEvent.teacherId>><</npc>> warns him. <<npc 'A152'>><</npc>> starts to correct her, but the laughter from the other students silences him.</p>
			<<or>>
				<!--A159-->
				<p>"Can't you pick someone else?" Petia asks, slumping back into his seat. "I don't even know what page we're on!" He garners a few laughs, but <<npc _schoolClassEvent.teacherId>><</npc>> is quick to reprimand him, reminding him that if he keeps this up he'll end up in detention and fail her class.</p>
			<<or>>
				<!--A145-->
				<p>You look over and notice that Ekaterina has her head down, presumably asleep. <<npc _schoolClassEvent.teacherId>><</npc>> asks her again, but the gopnik doesn't respond. "We can always continue the lesson during detention..." she threatens. After a few seconds, Ekaterina slowly sits up and lazily stretches before asking a nearby student for the page number and reading as instructed.</p>
			<</either>>
			_endAction
			
		<</actCLA>>
		
	<</event>>
<</if>>

:: school_lesson_literature_volunteerToRead[include]
	<<run $quest('school').func('class_activity_attributes','lit',$pc.skillLevel("perception"))>>
	<<run $pc.skillExperienceGain('perception',rand(0,1))>>
	<<run $quest('school').func('groupRelInc','nerds',3)>>
	<<image "locations/pavlovsk/school/classroom/participation/read_#.jpg" 0 1>>
	<p>You raise your hand, and with a nod, <<npc _schoolClassEvent.teacherId>><</npc>> lets you speak. You read the passage clearly without any mistakes, which earns you some praise from your teacher. "Very nice, Miss $pc.name_last." she says with a small smile before continuing on with the lesson.</p>

	<<mood 'littlePraise'>>

	<<either>>
		<p>"Screw reading! $pc.name_nick's mouth is better suited for sucking cock." you overhear someone say from behind you. You turn around and it's none other than Petia staring back at you. Unashamed, a perverted smile spreads across his face. You get the feeling he's undressing you with his eyes.</p>
		<<actCLA 'Say nothing'>>
			<<image "characters/shared/headshots_main/big159.jpg">>
			Unable to respond, you turn around without confronting him. You hear him chuckle and mutter something incoherent under his breath, but he doesn''t say anything else for the remainder of class. Replaying the encounter in your head, a part of you wonders if saying nothing was the right thing to do.
			_endAction
		<</actCLA>>
		<<actCLA 'Blush'>>
			<<image "characters/shared/headshots_main/big159.jpg">>
			Your cheeks flush with heat at his words and you meekly look away, feeling his leering gaze burn into your neck. A few boys nearby snigger at his remark and a couple girls huff in disgust.
			As class continues and everyone's attention moves on, you wonder maybe if your reaction might haveve given the wrong impression...
			<<fame 'pav' 'sex' `rand(0,1)`>>
			_endAction
		<</actCLA>>

		<<actCLA 'Tell him he`s right' undefined `{willpower:['bj','self','easy']}`>>
			<<image "characters/shared/headshots_main/big159.jpg">>
			<<fame 'pav' 'sex' 2>>
			<<run $quest('school').func('groupRelInc','cool',-1)>>
			<<run $quest('school').func('groupRelInc','jocks',-1)>>
			<<run $quest('school').func('groupRelInc','nerds',-1)>>
			<p>"You're right, and I'm pretty damn good at it, too!" you say with a playful smile. A few nearby students overhear you and start to whisper amongst themselves, the girls quick to bash you and the guys eagerly wanting to put your skills to the test. Before you know it, the whole class is stealing glances at you, some looking disgusted, others lustful. You're sure that by the end of the day, the whole school will know about how proud you are of your cocksucking skills.</p>
			_endAction
		<</actCLA>>

		<<actCLA 'Tell him to fuck off' undefined `{willpower:['misc','self','hard']}`>>

			<<image "characters/shared/headshots_main/big159.jpg">>
			<<run $npcs.dec('A159','rel',2)>>
			<<set $npc('A144').rel += 1>>
			<<set $npc('A156').rel += 1>>
			<<set $npc('A157').rel += 1>>
			<<run $quest('school').func('groupRelInc','cool',1)>>
			<<run $quest('school').func('groupRelInc','jocks',1)>>
			<<run $quest('school').func('groupRelInc','gopniks',1)>>
			<<set $pc.mood += 10>>
			<p>"Fuck off you fat, disgusting pig!" you shout, jaw clenched and eyes narrowed. As if he had been slapped across the face, Petia's expression falls and is replaced by a mixture of surprise and fear as he cowers slightly under your heated gaze.</p>
			"I was just joking..." he says quietly while sinking back into his seat.
			<p>"Damn $pc.name_nick isn't fucking around." Anushka marvels, giving you a nod of approval.</p>
			<p>"Just hit that fat piece of shit! Nobody's going to care." Roman comments as he turns to face Petia with a scowl.</p>
			<p>"Jesus Christ, when are you going to realize that nobody fucking likes you, especially chicks!?" Arkadi adds, his lips curled back in disgust. Before you know it, the three gopniks have zeroed in on the outcast, giving him a verbal lashing he'll spend all day recovering from.</p>
			<<actCLA 'Get back to work'>>
				Leaving it to the gopniks to finish what you started, you go back to work.
				<<actCLA 'Wait for the end of the lesson'>>
					<<gs 'school_schedule'>>
				<</actCLA>>
			<</actCLA>>
			<<actCLA 'Join in'>>
				<<run $quest('school').func('groupRelInc','cool',1)>>
				<<run $quest('school').func('groupRelInc','jocks',1)>>
				<<run $quest('school').func('groupRelInc','nerds',-1)>>
				<<run $quest('school').func('groupRelInc','gopniks',1)>>
				You join the three gopniks and continue to mercilessly berate Petia until he's saved by <<npc _schoolClassEvent.teacherId>><</npc>> telling everyone to get back to work.
				_endAction
			<</actCLA>>
		<</actCLA>>

		<<actCLA 'Insult him' undefined `{willpower:['misc','self','medium']}`>>
			<<image "characters/shared/headshots_main/big159.jpg">>

			<<set $demerit += 5>>
			<<run $quest('school').func('groupRelInc','cool',1)>>
			<<run $quest('school').func('groupRelInc','jocks',1)>>
			<<run $quest('school').func('groupRelInc','nerds',-1)>>
			<<run $quest('school').func('groupRelInc','gopniks',1)>>
			<p>"You're too fat to even see your own dick, so what would you know about blowjobs besides being a pro at giving them?" you say with a mocking smile. There's a moment of stunned silence before laughter breaks out in the class. Watching Petia's face flush bright red as he struggles to defend himself fills you with a smug satisfaction.</p>
			<p>"Miss $pc.name_last! I don't want to hear that kind of language in my class!" <<npc _schoolClassEvent.teacherId>><</npc>> shouts, barely managing to speak above the noise in the class.</p>
			_endAction
		<</actCLA>>

	<<or>>
		<<set $pc.mood -= 10>>
		<p>You've just finished reading when you feel a paper ball bounce off the back of your head. You glance behind you, but can't find the culprit.</p>
		<<actCLA 'Wait for the end of the lesson'>>
			<<gs 'school_schedule'>>
		<</actCLA>>
	<<or>>
		<p>"Very nice work, Miss $pc.name_last." a boy mocks, his voice a poor imitation of a woman. You turn around just in time to see <<npc 'A156'>><</npc>> and <<npc 'A157'>><</npc>> snickering.</p>
		<<mood 'annoyed'>>
		<<actCLA 'Wait for the end of the lesson'>>
			<<gs 'school_schedule'>>
		<</actCLA>>
	<<or>>
		You sigh with relief when no one follows up <<npc _schoolClassEvent.teacherId>><</npc>>'s compliment with a snide remark.
		<<actCLA 'Wait for the end of the lesson'>>
			<<gs 'school_schedule'>>
		<</actCLA>>
	<</either>>