!! FOLDER: school
# gschool_detention
!2021/05/02

if $ARGS[0] = 'start':
	minut += 60 - minut
	menu_off = 1
	gs 'stat'
	detention_set = 0
!!ToDo: The $ARGS in gschool_office is missing	if PCloThinness = 6 or PCloSkirt = 6 or PCloPants = 6 or (PCloTopCut = 6 and tits < 2) or (PCloTopCut = 7 and tits > 1 and tits < 4) or (PCloTopCut = 8 and tits > 4 and tits < 6) or (PCloTopCut = 9 and tits >= 6): gt 'gschool_detention', 'inappropriate_clothes'
	i = rand(1,100)
	if ((gruptipe = 3 and i <= 20) or (gruptipe = 5 and i <= 30) or i <= 10) and $pantyworntype ! 'none':
		killvar 'i' & gt 'gschool_detention', 'wedgie'
	elseif i <= 20 and npc_rel['A144'] > 50 and $pantyworntype ! 'none':
		killvar 'i' & gt 'gschool_detention', 'anushka_wedgie'
	else
		*clr & cla
		demerit -= 20
		grupvalue[3] -= 2
		grupvalue[4] += 2
		gs 'stat'
		'<center><b><font color="maroon">Detention</font></b></center>'
		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/detention/detention.jpg"></center>'
		'You arrive back at school on a Saturday - it sucks. Considering you spent all week here already, what could be worse than wasting part of a Saturday in school too? You go to the library where detention is held, walk in and take a seat at one of the tables. A couple of other students are there and by the time the bell rings, a couple more have trickled in. The teacher is the last to come. He sits behind his desk and, one by one, calls out the names on his list to make sure everyone who is supposed to be here is present.'
	    'You confirm your presence, cursing the fact that you are stuck here. Once he has finished, he tells everyone to study quietly and use their time to "do homework or whatever"; it would appear he doesn''t want to be here anymore than the rest of you. After giving somebody who was talking a deathly stare that quietens the room, the teacher pulls out a laptop and starts typing away, ignoring you and probably counting the minutes until he can go home, just like you.'
		i = rand(1,100)
		if i <= 10:
			gt 'gschool_detention', 'Chat with <<$rand_girl>>'
		elseif i <= 20:
			gt 'gschool_detention', 'Chat with <<$rand_boy>>'
		elseif i <= 25:
			gt 'gschool_detention', 'Help friends in need'
		elseif i <= 30:
			gt 'gschool_detention', 'strange'
		elseif i <= 40:
			gt 'gschool_detention', 'company'
		elseif i <= 45:
			if Ivanov_toilet = 1:
				gt 'gschool_detention', 'Ivanov'
			else
				act 'Sitting': gt 'gschool_detention', 'sitting'
			end
		elseif i <= 50:
			if (anushkaQW['toilet'] = 1 or npc_rel['A144'] > 50):
				gt 'anushka', 'plan'
			else
				act 'Sitting': gt 'gschool_detention', 'sitting'
			end
		elseif i <= 60 and npc_rel['A144'] > 50:
			gt 'anushka', 'temptation'
		else
			act 'Sitting': gt 'gschool_detention', 'sitting'
		end
	end
end

if $ARGS[0] = 'wedgie':
	wedgie_counter = 0
	:wedgie_girl
	gs 'gschool_events', 'rand_girl_arg', 1, 1, 0, 1, 1, 0
	if grupTipe = 4 and wedgie_counter < 1000:
		if $rand_girl ! 'Pauline' and $rand_girl ! 'Lena' and $rand_girl ! 'Lera' and $rand_girl ! 'Alyona': wedgie_counter += 1 & jump 'wedgie_girl'
	elseif grupTipe = 2 and wedgie_counter < 1000:
		if $rand_girl ! 'Pauline' and $rand_girl ! 'Lena' and $rand_girl ! 'Lera' and $rand_girl ! 'Alyona' and $rand_girl ! 'Christina': wedgie_counter += 1 & jump 'wedgie_girl'
	elseif wedgie_counter < 1000:
		if $rand_girl ! 'Pauline' and $rand_girl ! 'Lena' and $rand_girl ! 'Lera' and $rand_girl ! 'Alyona' and $rand_girl ! 'Christina' and $rand_girl ! 'Lina' and $rand_girl ! 'Lariska' and $rand_girl ! 'Stasya': wedgie_counter += 1 & jump 'wedgie_girl'
	end
	'<center><b><font color="maroon">Detention</font></b></center>'
	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/detention/wedgie.jpg"></center>'
	'You arrive back at school on a Saturday - it sucks. Considering you spent all week here already, what could be worse than wasting part of a Saturday in school too? You go to the library where detention is held. A couple of other students are there already, as you make your way over to one of the tables, you feel a hand slide inside your clothes and grab the top of your panties.'
    'Before you can react or even object, the person yanks up on them hard. They jerk them up several times, hard enough that they almost lift you off your feet, leaving you with a massive wedgie. Once they let go, you spin around as you hear the rest of the students laughing at you and you see <<$rand_girl>> standing there, obviously amused by her handiwork.'

	act 'Promise revenge':
		*clr & cla
		'<center><b><font color="maroon">Detention</font></b></center>'
		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/detention/detention.jpg"></center>'
		'You stare at her for a moment. "Just you wait, you''ll pay for this!"'
		'She snorts at your threat. "I''m right here bitch! Do it now, you fucking pussy!"'

		gs 'gschool_detention', 'back_down'
		gs 'gschool_detention', 'return_favor', 'random'
	end

	gs 'gschool_detention', 'back_down'
	gs 'gschool_detention', 'return_favor', 'random'

	gs 'willpower', 'misc', 'self', 'medium'
	if will_cost <= pcs_willpwr:
		act 'Smack her (<<will_cost>> Willpower)':
			*clr & cla
			gs 'willpower', 'pay', 'self'
			gs 'stat'
			grupvalue[4] += 1
			'<center><b><font color="maroon">Detention</font></b></center>'
			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/slap.jpg"></center>'
			'Seeing the smug look on her face is too much and so you slap her hard across her face. She is obviously surprised by your move as she doesn''t even try to block it. Several of the other students start yelling "Fight, fight!" but before anything more can happen the teacher walks in. "Enough! Just what the hell is going on?"'
			*nl
			'You open your mouth to explain but before you can he cuts you off. "Come up here right now!" You do as you are told and walk up to him. "I am going to give you a choice. Take my punishment right now or we can go see the principal. Your choice."'
			act 'Go to the principal': gt 'gschool_office', 'detPunishment1'
			act 'Take the offer': gt 'gschool_detention', 'offer'
		end
	else
		act 'Smack her (<font color="red"><<will_cost>> Willpower</font>)':'<br><font color="red">You don''t have enough willpower to hit her.</font>'
	end
end

if $ARGS[0] = 'anushka_wedgie':
	*clr & cla
	'<center><b><font color="maroon">Detention</font></b></center>'
	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/detention/wedgie.jpg"></center>'
	'You arrive back at school on a Saturday - it sucks. Considering you spent all week here already, what could be worse than wasting part of a Saturday in school too? You go to the library where detention is held. A couple of other students are there already, as you make your way over to one of the tables, you feel a hand slide inside your clothes and grab the top of your panties.'
	'Before you can react or even object, the person yanks up on them hard. They jerk them up several times, hard enough that they almost lift you off your feet, leaving you with a massive wedgie. Once they let go, you spin around as you hear the rest of the students laughing at you and you see Anushka standing there, obviously amused by her handiwork.'

	act 'Promise revenge':
		*clr & cla
		'<center><b><font color="maroon">Detention</font></b></center>'
		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/detention/detention.jpg"></center>'
		'You stare at her for a moment. "Just you wait, you''ll pay for this!"'
		'She snorts at you in amusement. "Calm down, it was just a joke."'

		gs 'gschool_detention', 'back_down'
		gs 'gschool_detention', 'return_favor', 'anushka'
	end

	gs 'gschool_detention', 'back_down'
	gs 'gschool_detention', 'return_favor', 'anushka'
end

if $ARGS[0] = 'back_down':
	act 'Back down':
		*clr & cla
		grupvalue[4] -= 2
		'<center><b><font color="maroon">Detention</font></b></center>'
		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/detention/detention.jpg"></center>'
		'You open your mouth to say something but then realize it will only make matters worse, so you meekly ignore her and all the laughing. You barely even notice the teacher raising his voice as he comes in late, ordering everyone to calm down. You take a seat at one of the tables and the teacher sits down, calling out names to make sure that everyone who should be here is present.'
		*nl
		'You confirm your presence, cursing the fact that you are stuck here. Once he has finished, he tells everyone to study quietly and use their time to "do homework or whatever"; it would appear he doesn''t want to be here anymore than the rest of you. After giving somebody who was talking to his neighbor a deathly stare that quietens the room, the teacher pulls out a laptop and starts typing away, ignoring you and probably counting the minutes until he can go home, just like you.'
		act 'Study':
			*clr & cla
			gs 'grades', 'homework', 'school', 'no', min(lernHome,3), 0, 0, 0
			'<center><b><font color="maroon">Detention</font></b></center>'
			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/detention/detention.jpg"></center>'
			'You spend the next three hours studying and doing your homework. Once the bell rings, you gather up your books and head home.'
			act 'Go home': gt 'gschool_detention', 'end'
		end
		act 'Play on your phone':
			*clr & cla
			pcs_mood += 3
			'<center><b><font color="maroon">Detention</font></b></center>'
			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/detention/detention.jpg"></center>'
			'You briefly consider doing your homework, but the thought alone is enough to bore you, so you pull our your phone and browse the web, play a few games and text a few friends. It seems to take forever but eventually, the time is up and the bell rings, allowing you to go home.'
			act 'Go home': gt 'gschool_detention', 'end'
		end
	end
end

if $ARGS[0] = 'return_favor':
	if $ARGS[1] = 'random' or $ARGS[1] = '':
		if grupTipe = 2 or grupTipe = 4:
			act 'Return the favor':
				*clr & cla
				grupvalue[4] += 1
				npc_rel['A#'] += 1
				'<center><b><font color="maroon">Detention</font></b></center>'
				'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/detention/wedgierev.jpg"></center>'
				'You quickly step forward and snake your arms around her. Reaching into the back of her pants, you grab her panties. She realizes what you are going to do a moment too late. She reaches back to stop you, but by then you already have a good hold of her panties. You yank up on them and lean back, lifting her off her feet.'
				*nl
				'She grabs your panties again and starts yanking of them as well. The two of you give each other wedgies, trying to force the other to relent first. You can hear the other students hooting and encouraging the two of you. Before a victor can be determined, one of the other students yells that the teacher is coming. You share a look with each other, then both let go and quickly find your seats. Both of you give each other amused looks for the rest of detention while trying to discreetly pull your panties out of your ass crack.'
				act 'Go home': gt 'gschool_detention', 'end'
			end
		end
	elseif $ARGS[1] = 'anushka':
		act 'Return the favor':
			*clr & cla
			npc_rel['A144'] += 1
			'<center><b><font color="maroon">Detention</font></b></center>'
			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/detention/wedgierev.jpg"></center>'
			'You quickly step forward and snake your arms around Anushka. Reaching into the back of her pants, you grab her panties. She realizes what you are going to do a moment too late. She reaches back to stop you, but by then you already have a good hold of her panties. You yank up on them and lean back, lifting her off her feet.'
			'She grabs your panties again and starts yanking of them as well, the two of you give each other wedgies, trying to force the other to relent first. You can hear the other students hooting and encouraging the two of you. Before a victor can be determined, one of the other students yells that the teacher is coming. She doesn''t releant and you know the teacher is getting close. "You let go first and then I will let go." she says with a smirk. You''re not sure if you should trust her or not.'
			act 'Refuse to let go': gt 'anushka', 'wedgie fight'
			act 'Let go first':
				*clr & cla
				'<center><b><font color="maroon">Detention</font></b></center>'
				'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/girl/anushka/atomicwed.jpg"></center>'
				'When you let go and put your hands up, she yanks you forward and trips you. Once you are on the ground, you try to turn over but she holds onto your panties and starts dragging you across the floor. You struggle to get up, but she keeps pulling you before you can get your balance and you can''t pry her hands off your panties. Fortunately for you, the teacher walks in. "What''s the meaning of this Miss Konstantinov!? Let go of her at once!" Anushka lets go, but not without a final yank.'
				*nl
				'The teacher speaks again. "Miss <<$pcs_lastname>>, please take your seat and study. That goes for all of you. Except for you Miss Konstantinov. You''re coming with me." He grabs Anushka roughly by the arm and drags her out of the library. You go and take your seat and try to pluck your underwear out of your twat and ass crack. It is all stretched out of shape, it might even be ruined. About fifteen minutes later, the teacher returns alone and takes a seat. He keeps a watchful eye on everyone for the rest of detention.'
				gs 'gschool_detention', 'sitting_events'
			end
		end
	end
end

if $ARGS[0] = 'sitting':
	*clr & cla
	'<center><b><font color="maroon">Detention</font></b></center>'
	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/detention/detention.jpg"></center>'
	'Once the teacher is busy ignoring you, you look around a bit and really don''t see anything interesting going on. It looks like you will have to entertain yourself.'
	gs 'gschool_detention', 'incidental_events'
	gs 'gschool_detention', 'sitting_events'
end

if $ARGS[0] = 'sitting_events':
	act 'Study':
		*clr & cla
		gs 'grades', 'homework', 'school', min(lernHome,3), 0, 0, 0
		'<center><b><font color="maroon">Detention</font></b></center>'
		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/detention/detention.jpg"></center>'
		'You spend the next three hours studying and doing your homework. Once the bell rings, you gather up your books and head home.'
		act 'Go home': gt 'gschool_detention', 'end'
	end
	act 'Play on your phone':
		*clr & cla
		pcs_mood += 3
		'<center><b><font color="maroon">Detention</font></b></center>'
		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/detention/detention.jpg"></center>'
		'You briefly consider doing your homework, but the thought alone is enough to bore you, so you pull our your phone and browse the web, play a few games and text a few friends. It seems to take forever but eventually, the time is up and the bell rings, allowing you to go home.'
		act 'Go home': gt 'gschool_detention', 'end'
	end
	act 'Roam around':
		*clr & cla
		'<center><b><font color="maroon">Detention</font></b></center>'
		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/detention/detention.jpg"></center>'
		'You briefly consider doing your homework, but the thought alone is enough to bore you. You look around and see no one is looking, so you get up and sneak back into the rows of book shelves.'
		act 'Look around': gt 'gschool_detention', 'roam_around'
	end
	act 'Sit around bored':
		*clr & cla
		'<center><b><font color="maroon">Detention</font></b></center>'
		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/detention/detention.jpg"></center>'
		'You briefly consider doing your homework, but the thought alone is enough to bore you. You try playing on your phone, but after a while even that gets boring. You sigh and look around the room. Most of the others are just as bored as you and no one is really paying any attention. You notice one of the boys occasionally looking around and the idea of flashing him pops into your head.'
		act 'Don''t do it':
			*clr & cla
			'<center><b><font color="maroon">Detention</font></b></center>'
			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/detention/detention.jpg"></center>'
			'As tempting as it is, you decided against it. After a while, you give up and starting playing on your phone again.'
			act 'Go home': gt 'gschool_detention', 'end'
		end
		gs 'willpower', 'exhib', 'self'
		if will_cost <= pcs_willpwr:
			act 'Do it (<<will_cost>> willpower)':
				*clr & cla
				gs 'willpower', 'pay', 'self'
				gs 'fame', 'pav', 'sex', 1
				gs 'flash', 'tits', 'indoors', 1, 1
				gs 'stat'
				inhib_exp += rand(1,3)
				'<center><b><font color="maroon">Detention</font></b></center>'
				'<center><video autoplay loop src="images/locations/pavlovsk/school/detention/detsitflash.mp4"></video></center>'
				'You look around once more to make sure no one else is looking, then wait for him to look back. When he does, you pull open your shirt and expose your tits to him. His eyes grow wide in surprise and you can tell he is shocked by your actions. You start to giggle and quickly cover up, and for the rest of detention, you can''t help but smile. You catch him watching you for the rest of detention, while you mostly ignore him and play on your phone.'
				act 'Go home': gt 'gschool_detention', 'end'
			end
		else
			act 'Do it (<font color="red"><<will_cost>> willpower</font>)':'<br><font color="red">You don''t have enough willpower to do it.</font>'
		end
	end
end

if $ARGS[0] = 'incidental_events':
	i = rand(1,100)
	if i <= 10:
		gt 'gschool_detention', 'upskirt1'
	elseif i <= 20:
		gt 'gschool_detention', 'upskirt2'
	elseif i <= 30:
		gt 'gschool_detention', 'flashing girl'
	elseif i <= 40:
		gt 'gschool_detention', 'teasing girl'
	elseif i <= 50:
		gt 'gschool_detention', 'handjob'
	end
end

if $ARGS[0] = 'upskirt1':
	*clr & cla
	minut += 60
	:newupskirtgirl1
	gs 'gschool_events', 'rand_girl_arg', 1, 1, 0, 1, 1, 0
	if ($rand_girl = 'Veronika' or $rand_girl = 'Ekaterina' or $rand_girl = 'Anushka') and jump_counter < 1000: jump_counter += 1 & jump'newupskirtgirl1'
	jump_counter = 0
	'<center><b><font color="maroon">Detention</font></b></center>'
	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/detention/spreadg.jpg"></center>'
	'You are sitting at a table, bored out of your mind and waiting for detention to end. You start looking around and you notice <<$rand_girl>> sitting at a table across from you. After a few minutes she leans back in her chair and relaxes, spreading her legs slightly as she does. The movement draws your eyes and you are given an eye full. She seems to have forgotton her panties today because her pussy is now on full display for anyone to see.'
	gs 'arousal', 'erotic', 5
	gs 'arousal', 'end'
	gs 'stat'
	act 'Ignore it':
		*clr & cla
		'<center><b><font color="maroon">Detention</font></b></center>'
		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/detention/spreadg.jpg"></center>'
		'You decide that it is none of your business and do your best to ignore it. After a few minutes, one of the boys takes notice and walks over to the table, puts his phone under it and takes pictures. She quickly realizes what''s going on and closes her legs together and blushes. The two of them are soon in a heated whisper argument which soon draws the teacher''s attention. When both feign ignorance and go back to their seats, the teacher keeps an eye on them for a bit before losing interest.'
		'The rest of detention passes much more quietly with nothing else interesting happening.'
		act 'Go home': gt 'gschool_detention', 'end'
	end
	act 'Get her attention and let her know.':
		*clr & cla
		npc_rel['A<<r>>'] += 1
		'<center><b><font color="maroon">Detention</font></b></center>'
		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/detention/spreadg.jpg"></center>'
		'You have to let her know. It takes a bit before you finally get her attention and then mimic closing together with your hands as if they were legs and then gesture towards her. It takes her a moment to realize what you mean, then she blushes slightly and closes her legs, followed by her mouthing thank you to you. You smile and nod back to her. Feeling pretty good about helping a fellow girl out, the rest of detention doesn''t seem as bad.'
		act 'Go home': gt 'gschool_detention', 'end'
	end
end

if $ARGS[0] = 'upskirt2':
	*clr & cla
	minut += 60
	:newupskirtgirl2
	gs 'gschool_events', 'rand_girl_arg', 1, 1, 0, 1, 1, 0
	if ($rand_girl = 'Veronika' or $rand_girl = 'Anushka') and jump_counter < 1000: jump_counter += 1 & jump'newupskirtgirl2'
	jump_counter = 0
	'<center><b><font color="maroon">Detention</font></b></center>'
	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/detention/upskirt.jpg"></center>'
	'You are sitting at a table, bored out of your mind waiting for detention to end. You start looking around and you notice <<$rand_girl>> climbing up the small ladder used to get to the top shelves of books. As you watch her climb, you quickly realize she is not wearing any panties and is giving everyone watching a clear view of her pussy. Before you can say anything someone whistles, which causes the teacher to start asking who did it. During the distraction, she quickly climbs back down and returns to her seat, blushing slightly but also smiling.'
	gs 'arousal', 'voyeur', 5
	gs 'arousal', 'end'
	gs 'stat'
	act 'Go home': gt 'gschool_detention', 'end'
end

if $ARGS[0] = 'flashing girl':
	*clr & cla
	minut += 60
	:newflashinggirl
	gs 'gschool_events', 'rand_girl_arg', 1, 1, 0, 1, 1, 0
	if ($rand_girl = 'Veronika' or $rand_girl = 'Ekaterina') and jump_counter < 1000: jump_counter += 1 & jump 'newflashinggirl'
	jump_counter = 0
	'<center><b><font color="maroon">Detention</font></b></center>'
	'<center><video autoplay loop src="images/locations/pavlovsk/school/detention/detflash1.mp4"></video></center>'
	'You are sitting at a table, bored out of your mind waiting for detention to end. You start looking around and notice <<$rand_girl>> sitting in a spot that blocks almost everybody''s view of her. She has her phone held in front of her, obviously having a video conversation with someone. To your surprise, she lifts her shirt and flashes whoever it is on the phone. She laughs at their reaction, which grabs the teacher''s attention and he clears his throat. She quickly ends the call and spends the rest of the time playing on her phone. After watching her a bit more, you realize she is not going to do anything more, so you play on your phone as well. At least there was a little excitement today.'
	gs 'arousal', 'voyeur', 5
	gs 'arousal', 'end'
	gs 'stat'
	act 'Go home': gt 'gschool_detention', 'end'
end

if $ARGS[0] = 'teasing girl':
	*clr & cla
	minut += 60
	:newteasinggirl
	gs 'gschool_events', 'rand_girl_arg', 1, 1, 0, 1, 1, 0
	if ($rand_girl = 'Veronika' or $rand_girl = 'Ekaterina') and jump_counter < 1000: jump_counter += 1 & jump'newteasinggirl'
	jump_counter = 0
	'<center><b><font color="maroon">Detention</font></b></center>'
	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/detention/tease.jpg"></center>'
	'You are sitting at a table, bored out of your mind waiting for detention to end. You start looking around and notice <<$rand_girl>> has snuck off into the book stacks with some boys. She pulls down her pants and starts to pull down her panties, but she stops just before she shows anything and grins as she pulls her clothes back up. After doing this a few times, the boys hopeful that she will show them something, she gets bored teasing them and wanders off. The show over, you start playing on your phone again. At least there was a little excitement today.'
	gs 'arousal', 'voyeur', 5
	gs 'arousal', 'end'
	gs 'stat'
	act 'Go home': gt 'gschool_detention', 'end'
end

if $ARGS[0] = 'handjob':
	*clr & cla
	minut += 60
	:boy_jump
	if rand(0,1) = 0:
		gs 'gschool_events', 'rand_boy_arg', 0, 0, 0, 1, 0, 0
		if $rand_boy = 'Niko' and jump_counter < 1000: jump_counter += 1 & jump 'boy_jump'
	else
		gs 'gschool_events', 'rand_boy_arg', 1, 1, 0, 0, 0, 0
		if $rand_boy ! 'Dimka' and $rand_boy ! 'Andrey' and $rand_boy ! 'Ivan' and $rand_boy ! 'Lazar' and $rand_boy ! 'Svyatoslav' and jump_counter < 1000: jump_counter += 1 & jump 'boy_jump'
	end
	jump_counter = 0
	'<center><b><font color="maroon">Detention</font></b></center>'
	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/detention/sex/handjob.jpg"></center>'
	'You are sitting at a table bored out of your mind waiting for detention to end. You start looking around and notice a girl from another grade, but you can''t recall her name. She is sitting next to <<$rand_boy>>, who has his shorts pulled down, jerking him off under the desk. Both of them do a fairly good job of acting like nothing is going on, but from your seat, you have a perfect view of the action.'
	*nl
	'Some time later, she switches hands, but he finally leans back and closes his eyes. Sensing he is close, she tilts his dick down as she keeps jerking him off and cups her other hand under the head of his dick. Moments later, he is shooting his load into her hand. Once he finishes, she lets go of him and brings her hands up to her face, where she starts to lick all his cum off them as he tucks his dick away. Not long after they sit side by side playing on their phones, pretending nothing happened and you start playing on your phone as well. At least there was a little excitement today.'
	gs 'arousal', 'voyeur_sex', 10
	gs 'arousal', 'end'
	gs 'stat'
	act 'Go home': gt 'gschool_detention', 'end'
end

if $ARGS[0] = 'Chat with <<$rand_girl>>':
	*clr & cla
	:rand_girlrel_jump
	gs 'gschool_events', 'rand_girl_arg', 1, 1, 1, 1, 1, 0
	if npc_rel['A<<r>>'] < 50 and counter_girl < 1000: counter_girl += 1 & jump 'rand_girlrel_jump'
	counter_girl = 0
	npc_rel['A<<r>>'] += 3
	gs 'stat'
	'<center><b><font color="maroon">Detention</font></b></center>'
	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/detention/detgchat.jpg"></center>'
	'You decide to move to an empty seat next to <<$rand_girl>>. The teacher watches you for a while afterwards to see what you''re up to, but soon loses interest in you and starts doing something on his laptop again, following the example of half the students in the room.'
	*nl
	'You turn to <<$rand_girl>> and the two of you start chatting away about school, boys, clothes, makeup and anything else that strikes your fancy. Occasionally, the two of you get a little noisy and have a fit of giggles, causing the teacher to look up and clear his throat until you quieten back down, but he always returns his attention to his phone or laptop after a few seconds and you begin your chatter once again. Before you know it, the class bell rings. You both stop in surprise but quickly gather your things, part with a smile and head home.'
	act 'Go home': gt 'gschool_detention', 'end'
end

if $ARGS[0] = 'Chat with <<$rand_boy>>':
	*clr & cla
	:rand_boyrel_jump
	gs 'gschool_events', 'rand_boy_arg', 1, 1, 1, 1, 1, 0
	if npc_rel['A<<r>>'] < 50 and counter_boy < 1000: counter_boy += 1 & jump 'rand_boyrel_jump'
	counter_boy = 0
	npc_rel['A<<r>>'] += 3
	gs 'stat'
	'<center><b><font color="maroon">Detention</font></b></center>'
	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/detention/detbchat.jpg"></center>'
	'You decide to move to an empty seat next to <<$rand_boy>>. The teacher watches you for a while afterwards to see what you''re up to, but soon loses interest in you and starts playing something on his phone, following the example of half the students in the room.'
	*nl
	'You turn to <<$rand_boy>> and the two of you start chatting away about school, teachers, girls he likes, boys you like and anything else that strikes your fancy. Occasionally, the two of you get a little noisy and raise your voices a little too much in excitement, causing the teacher to look up and clear his throat until you quieten back down, but he always returns his attention to his phone or laptop after a few seconds and you begin your chatter once again. Before you know it, the class bell rings. You both stop in surprise but quickly gather your things, part with a smile and head home.'
	act 'Go home': gt 'gschool_detention', 'end'
end

if $ARGS[0] = 'Help friends in need':
	*clr & cla
	gs 'gschool_randperson', 'couple_generator'
	gs 'stat'
	'<center><b><font color="maroon">Detention</font></b></center>'
	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/detention/detflirt.jpg"></center>'
	'You share a table with <<$rand_girl>> and <<$rand_boy>>. Before long, he is flirting for all he is worth with her and going by her giggles, he''s striking the right tone. The teacher shushes them a few times but doesn''t really make much of an effort to silence them. <<$rand_boy>> leans in and whisper something to her that earns him a half hearted smack on the shoulder and you overhear her calling him "bad" - her smile and the way she plays with her hair suggests that she likes "bad."'
	*nl
	'They have a whispered argument or discussion - you are not sure which - but when they are done, they both look around and you can tell they are up to something. <<$rand_girl>> leans over to you and whispers: "Can you distract Mr <<$rand_teacher>> for us, so we can slip away?" Both of them give you pleading looks.'
	gs 'willpower', 'misc', 'resist', 'medium'
	if will_cost <= pcs_willpwr:
		act 'Refuse (<<will_cost>> Willpower)':
			cla & *clr
			gs 'willpower', 'pay', 'resist'
			gs 'stat'
			'<center><b><font color="maroon">Detention</font></b></center>'
			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/detention/detflirt.jpg"></center>'
			npc_rel['A<<r>>'] -= 2
			'You shake your head, not wanting to risk getting in more trouble by helping them. "Sorry, but I can''t."'
			'They give you an annoyed look and move off to look for someone else to help them. You think you hear her call you a bitch.'
			act 'Go home': gt 'gschool_detention', 'end'
		end
	else
		act 'Refuse (<font color="red"><<will_cost>> Willpower</font>)':'<br><font color="red">You don''t have enough willpower to say ''no''.</font>'
	end
	act 'Agree':
		cla & *clr
		'<center><b><font color="maroon">Detention</font></b></center>'
		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/detention/detflirt.jpg"></center>'
		npc_rel['A<<r>>'] += 1
		'Thinking about it, you feel that helping out friends in need is probably the best use of your time here, so you nod and smile. "Of coure I will help you guys out." You get up and approach the teacher, asking him some questions about his last lesson. He is a bit reluctant at first but you manage to make the right inquiries and he cannot resist engaging you in a discussion on his subject.'
		*nl
		'You see the two of them slip away successfully and after a while, you thank your teacher and head back to your table. You think you can faintly hear soft feminine moans of pleasure, but nobody else seems to even notice it. You don''t see them again until detention is over and everyone is leaving the building.'
		act 'Go home': gt 'gschool_detention', 'end'
	end
end

if $ARGS[0] = 'strange':
	*clr & cla
	'<center><b><font color="maroon">Detention</font></b></center>'
	'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/boy/feofan/sex/school/det.jpg"></center>'
	'You take out your phone and amuse yourself for a while. When you look up, you rather bizzarely notice Feofan sitting at the same table as you, hunched over his folder with his arms surrounding it, obviously trying to hide what he''s looking at. You think it''s odd, yet amusing that one of the nerds is in detention. He seems to be very engrossed in what he''s doing and is acting weird. Maybe you should take a peek at what he''s doing? But then again, not minding your own business is part of the reason why you''re here in the first place.'
	act 'Ignore him':
		*clr & cla
		'<center><b><font color="maroon">Detention</font></b></center>'
		'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/boy/feofan/sex/school/det.jpg"></center>'
		'You give him one more curious look and then decide to ignore him, going back to playing on your phone without reacting to the one or two sideways glances he gives you. After a while, he raises his hand and asks to go to the bathroom. When he gets up, you notice the bulge in his pants and his flushed features. He hurries out of the library and comes back some time later looking... relieved, with the bulge in his pants gone. He sits down at a different table and you soon forget about this little "mystery."'
		'Time passes really slowly but the bell finally rings and you can gather your stuff and head home.'
		act 'Go home': gt 'gschool_detention', 'end'
	end
	act 'Catch him red handed':
		*clr & cla
		'<center><b><font color="maroon">Detention</font></b></center>'
		'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/boy/feofan/sex/school/det1.jpg"></center>'
		'Your curiousity gets the better of you and you get up, quietly circle around behind him and look over his shoulder. You see that he is engrossed in an adult magazine, looking at a picture of a guy fucking a schoolgirl in the ass, "Albina" scrawled on the page with a winky face. As you stare at the porn yourself, he notices your presence, turning to look over his shoulder at you, blushing bright red. He frantically covers the image up with his hands and blurts out "Please don''t tell anyone! Especially not Albina!"'
		act 'Ignore it':
			*clr & cla
			npc_rel['A152'] += 1
			'<center><b><font color="maroon">Detention</font></b></center>'
			'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/boy/feofan/sex/school/det.jpg"></center>'
			'You roll your eyes at him and then decide to ignore him, going back to playing on your phone without reacting to the one or two sideways glances he gives you. After a while, he raises his hand and asks to go to the bathroom. When he gets up, you notice the bulge in his pants and his flushed features. He hurries out of the library and comes back some time later looking... relieved, with the bulge in his pants gone. He sits down at a different table and you can''t help but snort a bit in amusement, knowing what he likely went and done.'
			'Time passes really slowly, but the bell finally rings and you can gather your stuff and head home.'
			act 'Go home': gt 'gschool_detention', 'end'
		end
		act 'Report him':
			*clr & cla
			npc_rel['A152'] -= 3
			'<center><b><font color="maroon">Detention</font></b></center>'
			'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/boy/feofan/sex/school/det1.jpg"></center>'
			'You call the teacher over and the color leaves Feofan''s face. He pleads with you not to tell on him but when the teacher arrives, you let him know what he was doing. After a bit of arguing, the teacher grabs the magazine from him, looks it over and lets him know that what got him into detention is nothing compared to the trouble he''s in now. The teacher has Feofan move to a seat near his desk so he can keep an eye on him, then thanks you and leads Feofan to the front of the library.'
			'As they walk away, Feofan gives you a really dirty look. You spend the rest of the time playing on your phone, occasionally getting dirty looks from him whenever the teacher is not looking.'
			act 'Go home': gt 'gschool_detention', 'end'
		end
		act '"Eat me out"':
			*clr & cla
			inhib_exp += rand(3,5)
			gs 'fame', 'pav', 'sex', 3
			npc_rel['A152'] += 1
			gs 'boyStat', 'A152'
			'<center><b><font color="maroon">Detention</font></b></center>'
			'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/boy/feofan/sex/school/det2.jpg"></center>'
			'You bite your lower lip and pull his hands away so you can see the porn, getting greatly aroused by it. You glance around and see no one is looking your way. Making a split-second decision, you pull him to his feet and drag him behind one of the bookshelves, out of sight of the others. At first he is thoroughly confused but once he understands the look on your face, he becomes very eager to follow you.'
			*nl
			'Another table, empty and hidden from view, beckons you. Bookshelves surround it, essentially hiding it from the rest of the library. You lean against it and pull your panties off, letting them drop to the floor, then sit on the table and spread your legs, showing off your glistening wet pussy to him as you say: "I won''t tell but you got to do something for me in exchange: Lick my pussy!" He pauses a moment to look around - he seems to expect this to be some kind of elaborate joke - but when all remains silent, he quickly kneels down and starts licking your pussy.'
			gs 'arousal', 'cuni', 5, 'dom'
			gs 'stat'
			act 'Enjoy':
				*clr & cla
				'<center><b><font color="maroon">Detention</font></b></center>'
				'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/boy/feofan/sex/school/detlick.jpg"></center>'
				'As he licks your clit and slit, you get the impression that he''s not exactly experienced, but he is eager to learn and what he lacks in skill, he more than makes up for with effort - you can barely contain your moans. When he slips his tongue inside, you reach down, grab him by the hair and hold his face against your crotch. You struggle to keep quiet, rotating your hips to grind your twat against his face while you pull him against you as hard as you can.'
				*nl
				'As you feel your arousal building, you wonder if you shouldn''t do more with him. Your original intention was to just make him get you off with his tongue, but now you badly want more. Then again, you love being in control for a change and the idea of getting off while giving nothing in return is appealing too.'
				$orgasm_or = 'no'
				gs 'arousal', 'cuni', 10, 'dom'
				gs 'stat'
				gs 'willpower', 'cuni', 'force'
				if will_cost <= pcs_willpwr:
					act 'Glaze his face (<<will_cost>> willpower)':
						*clr & cla
						gs 'willpower', 'pay', 'force'
						gs 'stat'
						npc_rel['A152'] -= 5
						'<center><b><font color="maroon">Detention</font></b></center>'
						'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/boy/feofan/sex/school/detlick2.jpg"></center>'
						'While licking your pussy, he reaches up and starts to fingerbang you, but you slap his hand, causing him to jerk it away and give you a confused look. "I said lick my pussy, not finger it. So keep licking." You notice a hint of frustration in his expression, but he obediently goes back to licking your pussy. You feel a rush of power, getting a boy to do exactly what you want, the way you want it. It is perhaps the most exciting feeling of this entire experience.'
						*nl
						'You start to pant and moan louder and have to bite the sleeve of your shirt to keep it down, but your arousal is more than a match for the piece of cloth.'
						$orgasm_txt = 'You end up clamping a hand over your own mouth to keep from crying out as you feel yourself having an earth-shattering orgasm. You lean back on the desk, shaking uncontrollably and desperately trying to swallow your screams as he keeps licking you through your orgasm.'
						$orgasm_or = 'custom'
						gs 'arousal', 'cuni', 10, 'dom'
						gs 'arousal', 'end'
						gs 'stat'
						'The shudders pass eventually and you feel your strength returning, your breathing returning to normal. Even though your climax couldn''t have been more obvious, you pull his head away from your pussy so you can slide off the table.'
						*nl
						'While you grab your panties and put them back on, he stands up and starts to unbutton his pants. Ignoring him completely, you straighten out your clothes and start to walk back to the main area when you hear him behind you: "Hey, what about me?" You stop and lean against a bookshelf. "What about you? I said I wouldn''t tell if you eat me, which you did. I never said anything about getting you off." You spin and leave him behind as you giggle. You are pretty sure you hear him muttering something about you being a cruel bitch, but you don''t care, especially not after a mind-blowing orgasm like that.'
						*nl
						'You return to your seat and start playing on your phone. About ten minutes later, your ''friend'' joins you as well and sits back down. He seems a bit confused, alternating between giving you annoyed looks and lustful looks, but the huge grin you have on your face stays there for the rest of detention.'
						act 'Go home': gt 'gschool_detention', 'end'
					end
				else
					act 'Glaze his face (<font color="red"><<will_cost>> Willpower</font>)':'<br><font color="red">You don''t have enough willpower to force him to keep going.</font>'
				end
				act 'Suck his cock':
					*clr & cla
					gs 'boyStat', 72
					'<center><b><font color="maroon">Detention</font></b></center>'
					'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/boy/feofan/sex/school/detbj.jpg"></center>'
					'You pull his head away from your crotch and slide off the table, then squat down in front of him. He immediately start to unbutton his pants but you slap his hands away. "Remember: I''m in charge. Just relax, do as I say and have fun, got it?" He pauses for a moment, maybe to determine whether being submissive is a turn-on or a turn-off, but then, unsurprisingly, nods his head - not that you actually expected him to turn down a blowjob. You finish unbuttoning his pants and pull them and his underwear down to his knees, revealing his erect dick.'
					*nl
					'Under his expectant looks, you take the tip of his <<dick>>cm <<$dick_girth>> cock into your mouth and start sucking him, slowly, teasingly. He starts to move his hips to fuck your mouth, or at least go a little deeper, but a quick slap gets him standing still. You are loving feeling completely in control, you reach down and masturbate as you suck his dick, taking more of it into your mouth at your own leisure. He does rest one of his hands on your head, but doesn''t try to force you to deepthroat him, so you let it happen.'
					gs 'arousal', 'bj', 5, 'dom'
					gs 'arousal', 'clit_finger', 5, 'dom'
					minut -= 5
					gs 'stat'
					act 'Make him cum':
						$orgasm_or = 'no'
						gs 'arousal', 'clit_finger', 1, 'masturbate'
						gt 'gschool_detention', 'strange_cum'
					end
					act '"Fuck my pussy"': gt 'gschool_detention', 'pussy_fuck'
					act 'Tell him to fuck your ass': gt 'gschool_detention', 'ass_fuck'
				end
			end
		end
	end
end

if $ARGS[0] = 'pussy_fuck':
	*clr & cla
	'<center><b><font color="maroon">Detention</font></b></center>'
	'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/boy/feofan/sex/school/detvag.jpg"></center>'
	'Your pussy is soaking wet at this point and you are aching to have something inside it. "Come here and fuck me." you command. He moves over to you at once and slides his <<dick>>cm <<$dick_girth>> dick into your soaking wet pussy in one stroke, a soft groan escaping both of your mouths as he does. You stop and remind him with a gesture of your finger that you have to keep it down. When he nods in acknowledgment, you lean back and he starts fucking you, deep and hard.'
	*nl
	'You place your hand against his chest and he slows down a little and stops going as deep, causing a soft smile to curl your lips - having a willing boytoy following your every whim is intoxicating! After a while, you feel that familiar sensation well-up within you; you grab his hips and pull him closer until he is balls deep inside you, then push him back and forth as fast as you can. He quickly catches on that you want him to fuck you harder and starts pounding your pussy balls deep, as hard and fast as he can. You start rubbing your clit with one hand, moaning louder and louder. One of his hands clamps over your mouth to muffle your moans and you don''t even care.'
	$orgasm_txt = 'Before long your muffled cries of ecstasy are barely contained by his hand but the orgasm turns your brain to mush.'
	$orgasm_or = 'custom'
	gs 'arousal', 'vaginal', 15, 'dom'
	gs 'stat'
	'Still in your dream-like state, you pull him out. You haven''t quite decided what you want to do with his dick yet, but you know you don''t want him to cum inside you.'
	act 'Make him cum': gt 'gschool_detention', 'strange_cum'
	act 'Tell him to fuck your ass': gt 'gschool_detention', 'ass_fuck'
end

if $ARGS[0] = 'ass_fuck':
	*clr & cla
	'<center><b><font color="maroon">Detention</font></b></center>'
	'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/boy/feofan/sex/school/detanal.jpg"></center>'
	'Feeling incredibly turned on, you want to feel him in your ass, so you touch his chest again to stop his movement. "You were thinking about fucking a schoolgirl in her tight little ass, right? So fuck my ass!" you say teasingly.'
	'He pauses and it takes a moment for him to process what you just said, but when it dawns on him that he can realize his porn magazine fantasy, he wastes no time, perhaps afraid you might change your mind: He climbs up on the table next to you, spooning you, then starts rubbing the tip of his dick against your anus. He rubs it against your pussy again, lubing himself up; you almost didn''t expect him to be this considerate. When he has your puckered hole lubed up a little with your own fluids, he gently eases his dick into your ass. Eliciting a moan of pleasure and pain from you, he slowly slides his way deeper into your ass, only stopping when he feels you tense up. He then starts fucking your ass, gingerly at first, savoring the feeling of being inside your other hole.'
	'He even reaches over and starts rubbing your clit as he moves in and out, and as your moans get louder, you feel yourself building up towards an orgasm, but his slow pace is driving you mad and you can''t take it anymore. You reach back, grab his ass and pull him closer so his dick slides deeper up your ass. Perceptive as ever, he takes the hint and works his way deeper into you until he is balls deep. Once there, he starts fucking you faster too, slowly building up speed until he is hammering your ass, giving you exactly what you wanted.'
	$orgasm_or = 'no'
	anal_slip += 4
	gs 'arousal', 'vaginal_finger', 10, 'dom'
	$orgasm_txt = 'Another, even more intense orgasm crashes through your body and to your luck, the hand of his that isn''t rubbing your clit clamps tightly over your mouth, muffling your cries.'
	$orgasm_or = 'custom'
	gs 'arousal', 'anal', 10, 'dom'
	minut -= 10
	gs 'stat'
	'Once the sensation passes, you pull away, pulling him out of your ass. Sliding off the table, you pull him with you, grab his underwear and wipe his dick off really well with it.'
	act 'Make him cum':gt 'gschool_detention', 'strange_cum'
end

if $ARGS[0] = 'strange_cum':
	*clr & cla
	npc_rel['A152'] += 1
	'<center><b><font color="maroon">Detention</font></b></center>'
	'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/boy/feofan/sex/school/detcum.jpg"></center>'
	'You squat down in front of him again and start jerking him off. All things considered, you are surprised and very pleased with how long he''s lasted and you are just about to take Feofan''s cock into your mouth again to suck him some more when he groans and shoots his load of sperm across your face. You open wide and some of the follow-up spurts end up in your mouth, but some of the jets still manage to hit your face. You take his dick inside and suck him, swallowing the last few small spurts in your mouth and cleaning him up, relishing the taste of his cum.'
	gs 'arousal', 'hj', 5, 'dom'
	gs 'arousal', 'end'
	gs 'cum_call', 'mouth', $boy
	gs 'stat'
	'When his erection starts to deflate, you release him and begin cleaning yourself up, as does he. He even helps you wipe the cum off your face, making sure you don''t miss a spot. Once you are both dressed and presentable once more, you want to head back, but after taking one or two steps in that direction, he grabs your arm and kisses you on the lips. "Thanks for not telling and well... everything. I won''t tell anyone about this, I promise. You''re a cool chick." He gives you a look of longing, lust and admiration, then nods his head and heads back out. You follow him a couple of minutes later, taking your seat opposite him again and waiting for detention to end. If detention is always like this, maybe you need to get in trouble more often.'
	*nl
	'You spend the rest of the time playing on your phone and occasionally giving the boy a conspiratorial grin, which he returns in kind. Once detention ends and you start to head out, Feofan catches up to you. "Hey <<$pcs_nickname>>, do you think maybe sometime you might want to go out or maybe you want to come over to my place and we can study together or something?" He asks with a hopeful look on his face. You stop and actually consider it for a moment. "Let me think about it." He looks a little crestfallen but still hopeful, he nods and heads out. "Ok <<$pcs_nickname>> talk to you Monday."'
	act 'Go home': gt 'gschool_detention', 'end'
end

if $ARGS[0] = 'company':
	if Marcus_sextype < 2 and npc_rel['A146'] > 50:
		act 'Enjoy some company': gt 'gschool_detention', 'company'
	elseif Marcus_sextype = 2:
		act 'Enjoy some company': gt 'gschool_detention', 'company2'
	end
	*clr & cla
	minut += 120
	gs 'stat'
	'<center><b><font color="maroon">Detention</font></b></center>'
	'<center><img <<$set_imgh>> src="images/characters/shared/headshots_main/big146.jpg"></center>'
	if Marcus_sextype = 0:
		'Shortly after the teacher stops paying attention to everyone, Marcus walks over and sits down next to you. "Hey <<$pcs_nickname>>, what''s up?"'
		'You give him a friendly smile. "Doing time for my crime. At least I won''t have to do it alone now."'
		'He laughs a little. "Is that an invitation for me to stick around and talk?" He seems a bit nervous, which is unusual for him.'
		*nl
		'"Sure, I would like that." you tell him and soon the two of you are talking. He mostly asks you about you: About what you like, what you do, your favorite movies, books and other bits of information like that. Detention definitely isn''t fun, but Marcus certainly makes the time fly. Before you know it, the bell rings and you can pack your things and leave.'
	else
		'Shortly after the teacher stops paying attention to everyone, Marcus walks over and sits down next to you. "Hey <<$pcs_nickname>>, what''s up?"'
		'You give him a friendly smile. "Doing time for my crime. At least I won''t have to do it alone."'
		'He laughs a little. "Yeah, I''ve seen your name on the detention sheet, so I knew you had been a bad girl and would be here." His expression turns serious and he talks softly so no one can overhear him. "I have been wanting to talk to you about the other day, you know, in the bathroom?" He flushes a little bit as he says that.'
		'You grin - it is funny watching him getting a little embarrassed about it. "What about it? I had fun. Didn''t you?" you ask, feigning indignance to tease him.'
		*nl
		'He looks slightly panicked as he reassures you. "No, no, no. It''s not that, I had fun, it was great! I, um... well, I was just wondering if you wanted talk?" He seems a bit nervous, which is unusual for him.'
		'"Sure, I would like that" you tell him and soon the two of you are talking. He mostly asks you about you: About what you like, what you do, your favorite movies, books and other bits of information like that. Detention definitely isn''t fun, but Marcus certainly makes the time fly. Before you know it, the bell rings and you can pack your things and leave.'
	end
	act 'After detention':
		*clr & cla
		'<center><img <<$set_imgh>> src="images/characters/shared/headshots_main/big146.jpg"></center>'
		'As you leave the school building, Marcus jogs to catch up to you. "Hey <<$pcs_nickname>>, wait up!" You stop and turn around. He looks down at you for a moment before saying: "I like you, <<$pcs_nickname>> and I would like to walk you home, if that''s OK?"'
		act 'Refuse':
			*clr & cla
			npc_rel['A146'] -= 1
			'You put your hand on his chest. "I like you too, Marcus, but I can walk home on my own. Thank you for the offer, though. See you later?"'
			'He nods and is obviously a little disappointed. "Sure, see you later. Take care." He walks off without another look at you.'
			act 'Go home': gt 'gschool_detention', 'end'
		end
		act 'Agree':
			*clr & cla
			npc_rel['A146'] += 1
			'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/boy/marcus/marcuswalk.jpg"></center>'
			'You smile to him. "I like you too, Marcus, and I''d love it if you walked me home." He smiles and walks with you. The two of you continue your conversation from earlier, mostly revolving around you. It seems that he wants to know everything about you. The way home takes way longer than usual, but you are in no hurry in his company; at one point, he even puts his arm around your shoulder as you walk.'
			*nl
			'As you come up to your building, you stop and turn to him. "We''re here. I live on the second floor." You smile at him. "Thank you for walking me home." He returns the smile and when he leans down to kiss you, you feel a warm tingle in your belly.'
			'Way too quickly, he breaks the kiss, his eyes locked with yours. "Mind if I call you some time?"'
			gs 'arousal', 'kiss', 2
			gs 'arousal', 'end'
			gs 'stat'
			'"Ye- no! I mean, I would like that." you tell him, still a little dazed from the kiss, and give him your number.'
			'He grins, both at your reaction and the fact he got your phone number. "Okay, well, I will call you then. Talk to you later." He waits until you go inside before he leaves.'

			msg '!!Marcus BF content is WIP. More will added in in future!!'
			act 'Home':
				if hour = 8:
					minut += 180 - minut
				elseif hour = 9:
					minut += 120 - minut
				end
				gs 'stat'
				gt 'pod_ezd', 'etaj_1'
			end
		end
	end
end

if $ARGS[0] = 'company2':
	*clr & cla
	'<center><b><font color="maroon">Detention</font></b></center>'
	'<center><img <<$set_imgh>> src="images/characters/shared/headshots_main/big146.jpg"></center>'
	'Shortly after the teacher stops paying attention to everyone, Marcus walks over and sits down next to you. "Hey <<$pcs_nickname>>, what''s up?"'
	'You give him a friendly smile. "Doing time for my crime. At least I won''t have to do it alone."'
	'He laughs a little. "Yeah, I''ve seen your name on the detention sheet, so I knew you had been a bad girl and would be here." His expression then grows serious and he talks softly so no one can overhear him. "I have been wanting to talk to you about the other day, you know, in the bathroom?" He flushes a little bit as he says that.'
	'You grin - it is funny watching him getting a little embarrassed about it. "What about it? I had fun. Didn''t you?" you ask, feigning indignance to tease him.'
	'He looks slightly panicked as he reassures you. "No, no, no. It''s not that, I had fun, it was great! I, um... well, I was just wondering if you wanted to meet me after detention?"'
	gs 'willpower', 'sex', 'resist'
	if will_cost <= pcs_willpwr:
		act 'Refuse (<<will_cost>> willpower)':
			*clr & cla
			gs 'willpower', 'pay','resist'
			gs 'stat'
			'<center><b><font color="maroon">Detention</font></b></center>'
			'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/boy/marcus/marcusflirt.jpg"></center>'
			'You shake your head. "Sorry Marcus, I don''t have time today."'
			'He accepts it gracefully. "It''s cool. Just forget I asked, okay?"'
			'He starts to get up, but you stop him. "Maybe some other time? Either way, we can still talk and make time go by faster. Beats sitting around and doing homework or something, right?"'
			*nl
			'He smiles and nods. "Sure, works for me. So, did you hear about what happened in gym yesterday?" After that, the two of you talk the rest of detention about a variety of things. Marcus is polite and nice the whole time. Once detention is over, he walks you out of the school and bids you farewell. On your way home, you wonder if you should just say "yes" next time, or maybe see if you see him cutting class again...'
			act 'Go home': gt 'gschool_detention', 'end'
		end
	else
		act 'Refuse (<font color="red"><<will_cost>> Willpower</font>)':'<br><font color="red">You don''t have enough willpower to resist.</font>'
	end
	act 'Agree':
		*clr & cla
		npc_sex['A146'] += 1
		npc_rel['A146'] += 1
		'<center><b><font color="maroon">Detention</font></b></center>'
		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/detention/detention.jpg"></center>'
		'You grin and let him wait for a bit, pretending you''re not sure how to answer him. You know exactly what meeting him would be about and you would like that very much. You reach over and grab his crotch, leaving no doubt in his mind as you lean over and whisper to him: "Sure, we can hang out after detention. We can do anything you want."'
		*nl
		'You lean back, letting go of him and biting your lower lip at the thought of what''s waiting for you. A grin spreads on his face and he takes a moment to adjust his pants. "Great." Then he looks up at the clock and a frown dampens his excitement. "Fuck me, this is going to be the longest detention of my life." You can''t help but laugh at his expression when he says that.'
		*nl
		'"Well, we would talk; you know, to kill time", you suggest. He nods and soon the two of you are talking about what he likes about Russia and you have him tell you about what it''s like living in America.'
		act 'After detention':
			*clr & cla
			gs 'boyStat', 146
			'<center><b><font color="maroon">Detention</font></b></center>'
			'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/boy/marcus/sex/school/detmbj.jpg"></center>'
			'When the bell rings, you both get up and head out of the library, but instead of heading out of the school, you duck into a side hall. Marcus opens one of the classroom doors and pulls you in with him, closing the door behind the two of you.'
			*nl
			'"You said you would do anything I want, right? So, if I tell you to do something, you will?" You roll your eyes slightly, but also smile a bit at the little game before nodding. He grins and pulls his dick out of his pants. "Alright: I want you to suck my dick."'
			*nl
			'You squat down in front of him without delay, take his <<dick>>cm <<$dick_girth>> cock into your mouth and start sucking it, your tongue swirling around the tip as you bob your head up and down. He cedes complete control of the action to you, content with having his cock in your mouth.'
			$orgasm_or = 'no'
			gs 'arousal', 'bj', 5
			'After a few minutes, he touches your chin. "Stop. Get up and get naked, then bend over the desk." You do as he tells you, finding this oddly arousing.'
			act 'Anal':
				*clr & cla
				'<center><b><font color="maroon">Detention</font></b></center>'
				'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/boy/marcus/sex/school/detmanal.jpg"></center>'
				'You strip from your clothes and bend over the desk. You look back and see him pull a small bottle of lube out of his pocket and lubing his dick up really well, then spreading some of it on your anus as well.'
				*nl
				'"Reach back and spread your ass cheeks. Don''t worry, I used lots of lube and I''ll be gentle." Again, you follow his command and reach back to spread your cheeks. You feel him rub the head of his dick against your asshole for a moment before easing the tip inside. He stops almost at once, giving you a moment to adjust, but with all the lube his <<dick>>cm <<$dick_girth>> cock slides surprisingly easily into your ass.'
				*nl
				'Gently and slowly, Marcus fucks your ass, carefully working his way deeper into you, giving you plenty of time to get used to the size of his cock. Before long, you find yourself moaning in pleasure and that familiar feeling building in your groin. All you feel is the intense stimulation from having your puckered hole stretched and fucked.'
				anal_slip += 10
				gs 'arousal', 'anal', 15
				gs 'stat'
				act 'Continue':
					*clr & cla
					'<center><b><font color="maroon">Detention</font></b></center>'
					'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/boy/marcus/sex/school/detmanal1.jpg"></center>'
					'He fucks your ass doggy style for a while before pulling out and rolling you over on the desk. With your legs spread, he puts his <<dick>>cm <<$dick_girth>> cock back into your ass. This time, it slips right in with no pain at all. The only thing you seem to be capable of feeling right now is lust. "Play with your pussy, fingerbang yourself." he tells you as he picks up the pace.'
					'You start playing with your clit and feel an intense orgasm building up inside you.'
					gs 'arousal', 'anal', 10
					$orgasm_txt = 'Almost as soon as you put two of your fingers inside your dripping cunt, you are overwhelmed by waves of intense ecstasy; you cry out and your whole body shakes as you orgasm.'
					$orgasm_or = 'custom'
					gs 'arousal', 'vaginal_finger', 10
					'During your climax, you don''t even notice him shooting his load into your ass, filling you with his hot sticky sperm as you cum together.'
					gs 'cum_call', 'anus', $boy
					gs 'stat'
					act 'Finish':
						*clr & cla
						'<center><b><font color="maroon">Detention</font></b></center>'
						'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/boy/marcus/sex/school/detmcum.jpg"></center>'
						'When you regain your senses, you feel your ass gaping wide. You also feel the cum running out of it and dripping down on the desk underneath. Marcus pulls you up and gives you a long, passionate kiss.'
						*nl
						'Once he finishes the kiss, he steps away to give you room, but when you actually try to get off the desk, he has to hold you for a moment - your legs feel like jelly after this orgasm and you giggle into his chest for a moment until you feel strong enough to stand on your own. He gets dressed and helps you gather your own clothes, waiting patiently until you get yourself cleaned up and dressed as well. Then he leads you out of the school and, once outside, stops and turns to you. "I like you, <<$pcs_nickname>>. Can I walk you home?"'
						act 'Refuse':
							*clr & cla
							npc_rel['A146'] -= 1
							'You put your hand on his chest. "I like you too, Marcus, but I can walk home on my own. Thank you for the offer, though. See you later?"'
							'He nods and is obviously a little disappointed. "Sure, see you later. Take care." He walks off without another look at you.'
							act 'Go home': gt 'gschool_detention', 'end'
						end
						act 'Yes':
							*clr & cla
							npc_rel['A146'] += 1
							'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/boy/marcus/marcuswalk.jpg"></center>'
							'You smile to him. "I like you too, Marcus, and I''d love it if you walked me home." He smiles and walks with you. The two of you continue your conversation from earlier, mostly revolving around you. It seems that he wants to know everything about you. The way home takes way longer than usual, but you are in no hurry in his company; at one point, he even puts his arm around your shoulder as you walk.'
							*nl
							'As you come up to your building, you stop and turn to him. "We''re here. I live on the second floor." You smile at him. "Thank you for walking me home." He returns the smile and when he leans down to kiss you, you feel a warm tingle in your belly.'
							'Way too quickly, he breaks the kiss, his eyes locked with yours. "Mind if I call you some time?"'
							'"Ye- no! I mean, I would like that." You tell him, still a little dazed from the kiss, and give him your number.'
							'He grins, both at your reaction and the fact he got your phone number. "Okay, well, I will call you then. Talk to you later." He waits until you go inside before he leaves.'

							msg '!!Marcus BF content is WIP. More will be added in future!!'

							act 'Home':
								if hour = 8:
									minut += 180 - minut
								elseif hour = 9:
									minut += 120 - minut
								end
								gs 'stat'
								gt 'pod_ezd', 'etaj_1'
							end
						end
					end
				end
			end
		end
	end
end

if $ARGS[0] = 'Ivanov':
	*clr & cla
	'<center><b><font color="maroon">Detention</font></b></center>'
	'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/teacher/serafim/sex/school/teacher.jpg"></center>'
	'Thirty minutes or so into detention, Mr. Ivanov calls your name. "Miss <<$pcs_lastname>>, please come with me. I need your help with something." He stands up and waits for you to walk up to him, then leads you out of detention, down the hall to the teachers'' lounge. "Please take a seat over there." he says once you''re inside. You walk over and sit down in the offered chair, more than a little confused - why are you here? For a while, he seems to ignore you again, then walks out of your view for a bit. Just when you are about to ask him why he brought you here, you hear him walk up close behind you and stop.'
	*nl
	'"Miss <<$pcs_lastname>>, it''s time that you repay me for keeping your cutting class secret." Turning in your chair, you see his dick sticking out of his pants; the bastard already had sex with you for his silence and now he expects you to keep getting him off!'
	*nl
	'The wheels are turning in your head: On one hand, it''s not like you haven''t already let him have his way with you, so your reluctance at the thought probably isn''t as strong as it should be. But that doesn''t change the fact that he is blackmailing you, and who''s to say where that leads you or when he''ll be satisfied? Should you submit or make a stand?'
	gs 'willpower', 'sex', 'resist'
	if will_cost <= pcs_willpwr:
		act 'Tell him to fuck off (<<will_cost>> willpower)':
			*clr & cla
			gs 'willpower', 'pay', 'resist'
			gs 'stat'
			'<center><b><font color="maroon">Detention</font></b></center>'
			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/classroom/fuckoff.jpg"></center>'
			'You flip him off and stand up. "Fuck you, I already gave you what you wanted to be silent." You take a few steps toward the door but then stop dead in your tracks when you hear your own voice, offering yourself to Mr. Ivanov so he doesn''t tell on you. The bastard recorded you in the bathroom?! You turn around to see him holding his phone, a hard, triumphant look meeting yours as he answers the silent question: "That''s right, I recorded our little chat. I knew you were going to offer sex - right from the first time you entered my class, I knew you were a little whore, and I was right, wasn''t I? So now you are going to be my little whore anytime I want, or else I will get you expelled for trying to have sex with one of your teachers... and I''ll make sure your parents will hear about it, too. Just imagine how disappointed they''ll be how their daughter turned out."'
			*nl
			'You are completely stunned, shock and fear burning in your chest like fire. Telling your parents? Getting you expelled from school? You knew he was a twisted motherfucker, but this? You had no idea he was the kind of scum who would threaten to destroy your life so he could own you. A part of you tries to stay rational and thinks that he would get in as much trouble as you, if not more, if the school found out. Problem is, you can''t <b>prove</b> that you had sex, that he took you up on your offer, that he fucked a student. The only recording of the event is his and he''s probably smart enough to cut it so it only has you soliciting him. Would they really expel you? You don''t know.'
			gs 'willpower', 'sex', 'resist'
			if will_cost <= pcs_willpwr:
				act '"Fuck you, asshole!" (<<will_cost>> Willpower)':
					*clr & cla
					gs 'willpower', 'pay', 'resist'
					gs 'stat'
					'<center><b><font color="maroon">Detention</font></b></center>'
					'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/classroom/fuckoff.jpg"></center>'
					'You gather all of your courage in one defiant smirk and flip him off again. "Fuck you, asshole. You hear me? FUCK YOU!!! Do what you want, but I will make sure they know you fucked me and tried to blackmail me, and then we''ll see if they let you keep your job." With that, you walk out and go back towards the library, your heart pounding in your chest. Several minutes later, Mr. Ivanov returns to detention as well and sits back down behind his desk. He doesn''t say anything to you for the rest of the detention, leaving you to contemplate in silence whether your decision was the right one or not. When the bell rings, you quickly gather your stuff and head home.'
					act 'Go home': gt 'gschool_detention', 'end'
				end
			else
				act '"Fuck you, asshole!" (<font color="red"><<will_cost>> Willpower</font>)':'<br><font color="red">You don''t have enough willpower to resist.</font>'
			end
			act 'You can''t take that risk - Suck his cock': gt 'gschool_detention', 'Ivanov_suck'
		end
	else
		act 'Tell him to "fuck off" (<font color="red"><<will_cost>> Willpower</font>)':'<br><font color="red">You don''t have enough willpower to resist.</font>'
	end
	act 'Suck his cock': gt 'gschool_detention', 'Ivanov_suck'
end

if $ARGS[0] = 'Ivanov_suck':
	*clr & cla
	gs 'boyStat', 129
	'<center><b><font color="maroon">Detention</font></b></center>'
	'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/teacher/serafim/sex/school/teacherbj.jpg"></center>'
	'You give in. You don''t know if this will save you from greater damage or destroy your life in the long run, but as you get on your knees in front of Mr. Ivanov, all you feel is defeat. You reach out for his dick and start stroking it. At least he had the courtesy to wash himself, you think, and wrap your lips tightly around his shaft. Your hand moves up and down in perfect sync with the bobs of your head, sucking him as well as you can in an attempt to get this over with as quickly as possible. He is not showing any signs of getting close to cumming though, even after ten minutes of intense sucking.'
	'Instead of the premature ejaculation you were hoping for, he merely pulls his dick out of your mouth and you to your feet. "Alright, enough of that, girl. Bend over the table."'
	gs 'arousal', 'bj', 5
	gs 'stat'
	act 'Bend over':
		*clr & cla
		'<center><b><font color="maroon">Detention</font></b></center>'
		'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/teacher/serafim/sex/school/teacherlick.jpg"></center>'
		'You turn and bend over the table, silently preparing yourself for whatever he has in mind as he pulls your skirt up and your panties down. His hands pull your ass cheeks apart and then you feel his tongue against your asshole, wet and warm, utterly disgusting you. He keeps licking your rosebud, uses his fingers to work his saliva into your anus, then goes back to licking it some more. He does this several times, preparing you for penetration no doubt, and all you can do is wait in fearful anticipation. Eventually, you hear him rummaging and then something bigger than a finger rubs against your asshole: He rubs the head of his dick around, lining it up.'
		gs 'arousal', 'rimming', 5
		anal_slip += 4
		gs 'stat'
		act 'Take his dick up your ass':
			*clr & cla
			'<center><b><font color="maroon">Detention</font></b></center>'
			'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/teacher/serafim/sex/school/teacheranal.jpg"></center>'
			'You were bracing for the push, the feeling of him entering. What you didn''t prepare for was his hard spank on your ass, just before he shoves his <<dick>>cm <<$dick_girth>> cock into you, causing you to tense up in surprise. He doesn''t let up, though; he grabs hold of your hips and drives himself balls deep inside you. All you can do is cry out in pain, but that is nothing compared to the agony that comes next: He starts hammering into your ass in violent thrusts, your thighs banging hard against the edge of the table. Any residual doubt that he does this deliberately to hurt you are eliminated by his words: "That''s right whore, scream for me! Your pain is music to my ears."'
			*nl
			'Your hands grasp the edge of the table tightly and you try to relax to endure his pounding. It''s kind of working, but apparently you are not making enough noises of pain for his liking. He pulls nearly all the way out of you and slams back all the way in, banging your thighs so hard against the table that the pain shoots up your spine and down to your toes. You cry out again and he returns to jackhammering your ass, but you bear it as well as you can; you muffle every sound he wants to hear and swallow your tears so he doesn''t get the satisfaction of seeing you cry: You grit your teeth and endure it.'
			gs 'arousal', 'anal', 20, 'rough'
			gs 'stat'
			act 'Take a facial':
				*clr & cla
				'<center><b><font color="maroon">Detention</font></b></center>'
				'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/teacher/serafim/sex/school/teachercum.jpg"></center>'
				'You cannot tell how long he violates your ass with his <<dick>>cm <<$dick_girth>> cock, other than through the fact that your thighs have been thrust against the edge of the table so many times that your legs really hurt now and you are sure they are badly bruised. It lasts so long that the pain doesn''t seem to let up, but only becomes greater, filling you up like a liquid, and you are close to the point where you don''t think you can take it anymore when he finally stops and pulls out. He jerks you back and forces you down on your knees, or at least that''s how he acts - in truth, your legs just give away as soon as you no longer have the table to support yourself on.'
				*nl
				'"Jerk me off on your face!". For a moment, you consider ignoring him and his dick hanging over you, but you are almost through this and so decide to tilt your head back and start jerking him off, keeping your eyes closed not only to protect them, but also because of your utter exhaustion. Not long after, you feel a hot spurt of sperm land on your face, quickly followed by several more until he has covered most of your face with his cum. Once finished, he moves over, grabs some tissues off the table and cleans up his dick.'
				*nl
				'As he does, he says: "Now you know your place, whore. I will have you properly trained before long." Then he breaks into a cruel smile. "We will be seeing a lot more of each other in the future. Now get your ass back to detention, where whores like you belong."'
				gs 'arousal', 'hj', 5
				gs 'arousal', 'end'
				gs 'cum_call', 'mouth', $boy
				gs 'stat'
				act 'Back to detention':
					*clr & cla
					gs 'stat'
					'<center><b><font color="maroon">Detention</font></b></center>'
					'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/detention/detention.jpg"></center>'
					'You clean yourself up, every movement a new world of agony, and then go back to detention, feeling empty inside, walking slowly to keep yourself from limping and sitting down with care - you still almost cry out in pain when you sit down on your abused ass. Several minutes later, Mr. Ivanov returns to detention as well and sits back at the front. He doesn''t say anything to you for the rest of the detention, leaving you to quietly nurse your injuries. When the bell rings, you quickly gather your stuff and head home.'

					act 'Go home': gt 'gschool_detention', 'end'
				end
			end
		end
	end
end

if $ARGS[0] = 'roam_around':
	i = rand(1,100)
	if i <= 10:
		killvar 'i' & gt 'gschool_detention', 'eatout'
	elseif i <= 20:
		killvar 'i' & gt 'gschool_detention', 'finger'
	elseif i <= 30:
		killvar 'i' & gt 'gschool_detention', 'doggy'
	elseif i <= 40:
		killvar 'i' & gt 'gschool_detention', 'couple'
	elseif i <= 50:
		killvar 'i' & gt 'gschool_detention', 'lesbian'
	elseif i <= 60:
		killvar 'i' & gt 'gschool_detention', 'anal'
	else
		killvar 'i' & gt 'gschool_detention', 'nothing'
	end
end

if $ARGS[0] = 'nothing':
	*clr & cla
	minut += 60 - minut
	gs 'stat'
	gs 'gschool_events', 'rand_teacher_arg'
	'<center><b><font color="maroon">Detention</font></b></center>'
	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/detention/shelves.jpg"></center>'
	'As you walk around you look at several books, but you find nothing of interest and quickly get bored. You debate between going back to the front of library or maybe doing something naughty.'
	act 'Go back to the front':
		'<center><b><font color="maroon">Detention</font></b></center>'
		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/detention/detention.jpg"></center>'
		'You decide to just go back to the front of the library and wait it out at one of the tables.'
		gs 'gschool_detention', 'sitting_events'
	end
	act 'Masturbate':
		*clr & cla
		'<center><b><font color="maroon">Detention</font></b></center>'
		'<center><video autoplay loop src="images/locations/pavlovsk/school/detention/sex/mast.mp4"></video></center>'
		'Bored out of your mind and feeling a little sexually frustrated, you remove enough of your clothes to expose your pussy. Then, sitting down with your back to a shelf and your legs spreading wide, you start to masturbate.You end up having to use your own panties as something to bite down on to keep from crying out. You are not sure how long it takes, but no one wanders by and finally you orgasm hard. It rocks your whole body, leaving you shaking in its aftermath. After a few minutes, you recover and get dressed again, peeking around the corner to make sure no one is near and heard you. Once it is clear, you decide to head back to the tables at the front and wait out the rest of detention there.'
		$orgasm_or = 'yes'
		gs 'arousal', 'masturbate', 15
		gs 'arousal', 'end'
		gs 'stat'
		act 'Go home': gt 'gschool_detention', 'end'
	end
end

if $ARGS[0] = 'eatout':
	*clr & cla
	minut += 60 - minut
	gs 'stat'
	gs 'gschool_events', 'rand_teacher_arg'
	'<center><b><font color="maroon">Detention</font></b></center>'
	'<center><video autoplay loop src="images/locations/pavlovsk/school/detention/sex/eatout.mp4"></video></center>'
	'As you walk around you hear some soft moaning coming from further back. You quietly move forward and peek around one of the book shelves. You see Christina sitting in a chair with her legs spread and Svyatoslav with his head between her legs. He is vigorously eating her out and fingerbanging her pussy. You bite your lip as you watch, feeling your own arousal mounting.'
	gs 'arousal', 'voyeur_sex', 20
	gs 'stat'
	act 'Keep watching':
		*clr & cla
		'<center><b><font color="maroon">Detention</font></b></center>'
		'<center><video autoplay loop src="images/locations/pavlovsk/school/detention/sex/eatout.mp4"></video></center>'
		'You decide to watch them. He seems to really know what he is doing as she is fighting to keep from screaming out. Many minutes go by before she starts to spasm, obviously having an orgasm and he keeps it up through her whole orgasm. Once it is finally over, she stands up and pulls up her panties while he starts to unbutton his pants. She says something that leads to a bit of a heated discussion that you can''t quite hear, but you think you know what it is about. He eventually gives up and buttons his pants up before they both head back to the front of the library.'
		gs 'arousal', 'voyeur_sex', 20
		gs 'stat'
		act 'Masturbate':
			*clr & cla
			'<center><b><font color="maroon">Detention</font></b></center>'
			'<center><video autoplay loop src="images/locations/pavlovsk/school/detention/sex/mast.mp4"></video></center>'
			'After they leave, you are unable to take it anymore - you remove enough of your clothes to expose your pussy and sit down with your back to a shelf. Your legs spread wide, you start to masturbate. You end up having to use your own panties as something to bite down on to keep from crying out. You are not sure how long it takes, but no one wanders by and finally you orgasm hard. It rocks your whole body, leaving you shaking in its aftermath. After a few minutes, you recover and get dressed again. You decide to head back to the tables at the front and wait out the rest of detention there.'
			$orgasm_or = 'yes'
			gs 'arousal', 'masturbate', 15
			gs 'arousal', 'end'
			gs 'stat'
			act 'Go home': gt 'gschool_detention', 'end'
		end
	end
	act 'Masturbate':
		*clr & cla
		'<center><b><font color="maroon">Detention</font></b></center>'
		'<center><video autoplay loop src="images/locations/pavlovsk/school/detention/sex/mast.mp4"></video></center>'
		'Unable to take it anymore, you remove enough of your clothes to expose your pussy. Then, sitting down with your back to a shelf and your legs spreading wide, you start to masturbate. You can just barely hear the two of them which only enhances your own arousal. You end up having to use your own panties as something to bite down on to keep from crying out. You are not sure how long it takes, but no one wanders by and finally you orgasm hard. It rocks your whole body, leaving you shaking in its aftermath. After a few minutes, you recover and get dressed again, peeking around the corner to see that the couple are gone. You decide to head back to the tables at the front and wait out the rest of detention there.'
		$orgasm_or = 'yes'
		gs 'arousal', 'masturbate', 15
		gs 'arousal', 'end'
		gs 'stat'
		act 'Go home': gt 'gschool_detention', 'end'
	end
end

if $ARGS[0] = 'finger':
	*clr & cla
	minut += 60 - minut
	gs 'stat'
	gs 'gschool_events', 'rand_teacher_arg'
	'<center><b><font color="maroon">Detention</font></b></center>'
	'<center><video autoplay loop src="images/locations/pavlovsk/school/detention/sex/finger.mp4"></video></center>'
	'As you walk around, you hear some soft moaning coming from further back. You quietly move forward and peek around one of the book shelves to see Lizaveta leaning back against a book shelf, her shirt open and skirt pulled up. Andrey is sucking on her exposed nipple and slips his hand inside of her panties. You bite your lip as you watch, feeling your own arousal mounting. You have a moment of amusement at the idea of the queen of rumors is fucking her best friend''s boyfriend. She would be terrified if anyone found out.'
	gs 'arousal', 'voyeur_sex', 20
	gs 'stat'
	act 'Keep watching':
		*clr & cla
		'<center><b><font color="maroon">Detention</font></b></center>'
		'<center><video autoplay loop src="images/locations/pavlovsk/school/detention/sex/blowjob.mp4"></video></center>'
		'You decide to watch them. He seems to really know what he is doing as she is fighting to keep from screaming out. Many minutes go by before she pulls her shirt and bra off half way through. After a bit more finger banging from him, she starts to spasm, obviously having an orgasm. He keeps it up through her whole orgasm, and once it is finally over, she drops down to her knees as he pulls his dick out of his pants. She immediately starts sucking his cock, bobbing her head up and down along the shaft of his cock, sucking it for all she is worth. Finally he grunts and she slows down a bit and uses her hand to help milk his cock. Only once he has finished does she stop sucking his dick. Having obviously swallowed his whole load, they both get dressed and then head back to the front of the library.'
		gs 'arousal', 'voyeur_sex', 20
		gs 'stat'
		act 'Masturbate':
			*clr & cla
			'<center><b><font color="maroon">Detention</font></b></center>'
			'<center><video autoplay loop src="images/locations/pavlovsk/school/detention/sex/mast.mp4"></video></center>'
			'After they leave, you are unable to take it anymore. You remove enough of your clothes to expose your pussy and sit down with your back to a shelf. Your legs spread wide, you start to masturbate. You end up having to use your own panties as something to bite down on to keep from crying out. You are not sure how long it takes, but no one wanders by and finally you orgasm hard. It rocks your whole body, leaving you shaking in its aftermath. After a few minutes, you recover and get dressed again. You decide to head back to the tables at the front and wait out the rest of detention there.'
			$orgasm_or = 'yes'
			gs 'arousal', 'masturbate', 15
			gs 'arousal', 'end'
			gs 'stat'
			act 'Go home': gt 'gschool_detention', 'end'
		end
	end
	act 'Masturbate':
		*clr & cla
		'<center><b><font color="maroon">Detention</font></b></center>'
		'<center><video autoplay loop src="images/locations/pavlovsk/school/detention/sex/mast.mp4"></video></center>'
		'Unable to take it anymore, you remove enough of your clothes to expose your pussy. Then, sitting down with your back to a shelf and your legs spreading wide, you start to masturbate. You can just barely hear the two of them, which only enhances your own arousal. You end up having to use your own panties as something to bite down on to keep from crying out. You are not sure how long it takes, but no one wanders by and finally you orgasm hard. It rocks your whole body, leaving you shaking in its aftermath. After a few minutes, you recover and get dressed again, peeking around the corner to see that the couple is gone. You decide to head back to the tables at the front and wait out the rest of detention there.'
		$orgasm_or = 'yes'
		gs 'arousal', 'masturbate', 15
		gs 'arousal', 'end'
		gs 'stat'
		act 'Go home': gt 'gschool_detention', 'end'
	end
end

if $ARGS[0] = 'doggy':
	*clr & cla
	minut += 60 - minut
	gs 'stat'
	gs 'gschool_events', 'rand_teacher_arg'
	'<center><b><font color="maroon">Detention</font></b></center>'
	'<center><video autoplay loop src="images/locations/pavlovsk/school/detention/sex/doggy'+rand(1,2)+'.mp4"></video></center>'
	'As you walk around, you hear some soft moaning coming from further back. You quietly move forward and peek around one of the book shelves. In the middle of a pair of shelves is Lena, down on all fours with Lavrenti kneeling down behind her, pounding her hard. By the look on her face, she seems to be enjoying every second of it and you briefly wonder if Vitek knows Lavrenti is screwing his sister. Since Lavrenti is not beaten to a pulp, you doubt it. You bite your lip as you watch, feeling your own arousal mounting.'
	gs 'arousal', 'voyeur_sex', 20
	gs 'stat'
	act 'Keep watching':
		*clr & cla
		'<center><b><font color="maroon">Detention</font></b></center>'
		'<center><video autoplay loop src="images/locations/pavlovsk/school/detention/sex/doggy'+rand(1,2)+'.mp4"></video></center>'
		'You watch them for a bit and they go at it for some time. She is fighting to keep from screaming out as she starts to spasm, obviously having an orgasm. He keeps it up through her whole orgasm and once it is finally over, he hammers away at her for a few more minutes before pulling out and shooting his load all over her ass. Afterwards, they get cleaned up and dressed, exchange a few quiet words and head back to the front of the library.'
		gs 'arousal', 'voyeur_sex', 20
		gs 'stat'
		act 'Masturbate':
			*clr & cla
			'<center><b><font color="maroon">Detention</font></b></center>'
			'<center><video autoplay loop src="images/locations/pavlovsk/school/detention/sex/mast.mp4"></video></center>'
			'After they leave, you are unable to take it anymore - you remove enough of your clothes to expose your pussy. Then, sitting down with your back to a shelf and your legs spreading wide, you start to masturbate. You end up having to use your own panties as something to bite down on to keep from crying out. You are not sure how long it takes, but no one wanders by and finally you orgasm hard. It rocks your whole body, leaving you shaking in its aftermath. After a few minutes, you recover and get dressed again. You decide to head back to the tables at the front and wait out the rest of detention there.'
			$orgasm_or = 'yes'
			gs 'arousal', 'masturbate', 15
			gs 'arousal', 'end'
			gs 'stat'
			act 'Go home': gt 'gschool_detention', 'end'
		end
	end
	act 'Masturbate':
		*clr & cla
		'<center><b><font color="maroon">Detention</font></b></center>'
		'<center><video autoplay loop src="images/locations/pavlovsk/school/detention/sex/mast.mp4"></video></center>'
		'Unable to take it anymore, you remove enough of your clothes to expose your pussy. Then, sitting down with your back to a shelf and your legs spreading wide, you start to masturbate. You can just barely hear the two of them, which only enhances your own arousal. You end up having to use your own panties as something to bite down on to keep from crying out. You are not sure how long it takes, but no one wanders by and finally you orgasm hard. It rocks your whole body, leaving you shaking in its aftermath. After a few minutes, you recover and get dressed again, peeking around the corner to see that the couple is gone. You decide to head back to the tables at the front and wait out the rest of detention there.'
		$orgasm_or = 'yes'
		gs 'arousal', 'masturbate', 15
		gs 'arousal', 'end'
		gs 'stat'
		act 'Go home': gt 'gschool_detention', 'end'
	end
end

if $ARGS[0] = 'couple':
	*clr & cla
	minut += 60 - minut
	gs 'stat'
	gs 'gschool_events', 'rand_teacher_arg'
	'<center><b><font color="maroon">Detention</font></b></center>'
	'<center><video autoplay loop src="images/locations/pavlovsk/school/detention/sex/couple.mp4"></video></center>'
	'As you walk around, you hear some soft moaning coming from further back. You quietly move forward and peek around one of the book shelves. You see Stasya standing on one leg with her skirt pulled up and Andrey with his pants down between her legs. They vigorously fuck as they kiss and hold each other. It is almost touching, if they weren''t fucking in a library with people nearby. You bite your lip as you watch, feeling your own arousal mounting.'
	gs 'arousal', 'voyeur_sex', 20
	gs 'stat'
	act 'Keep watching':
		*clr & cla
		'<center><b><font color="maroon">Detention</font></b></center>'
		'<center><video autoplay loop src="images/locations/pavlovsk/school/detention/sex/couple.mp4"></video></center>'
		'You decide to watch them. They are very passionate and surprisingly tender in their love making and that is what this is. They are making love instead of fucking. Many minutes go by before she starts to spasm, obviously having an orgasm. He keeps it up through her whole orgasm and once it is finally over, they quickly get dressed and straighten up their clothes. They have one more final passionate kiss before heading back to the front of the library.'
		gs 'arousal', 'voyeur_sex', 20
		gs 'stat'
		act 'Masturbate':
			*clr & cla
			'<center><b><font color="maroon">Detention</font></b></center>'
			'<center><video autoplay loop src="images/locations/pavlovsk/school/detention/sex/mast.mp4"></video></center>'
			'After they leave, you are unable to take it anymore - you remove enough of your clothes to expose your pussy. Then, sitting down with your back to a shelf and your legs spreading wide, you start to masturbate. You end up having to use your own panties as something to bite down on to keep from crying out. You are not sure how long it takes, but no one wanders by and finally you orgasm hard. It rocks your whole body, leaving you shaking in its aftermath. After a few minutes, you recover and get dressed again. You decide to head back to the tables at the front and wait out the rest of detention there.'
			$orgasm_or = 'yes'
			gs 'arousal', 'masturbate', 15
			gs 'arousal', 'end'
			gs 'stat'
			act 'Go home': gt 'gschool_detention', 'end'
		end
	end
	act 'Masturbate':
		*clr & cla
		'<center><b><font color="maroon">Detention</font></b></center>'
		'<center><video autoplay loop src="images/locations/pavlovsk/school/detention/sex/mast.mp4"></video></center>'
		'Unable to take it anymore, you remove enough of your clothes to expose your pussy. Then, sitting down with your back to a shelf and your legs spreading wide, you start to masturbate. You can just barely hear the two of them, which only enhances your own arousal. You end up having to use your own panties as something to bite down on to keep from crying out. You are not sure how long it takes, but no one wanders by and finally you orgasm hard. It rocks your whole body, leaving you shaking in its aftermath. After a few minutes, you recover and get dressed again, peeking around the corner to see that the couple is gone. You decide to head back to the tables at the front and wait out the rest of detention there.'
		$orgasm_or = 'yes'
		gs 'arousal', 'masturbate', 15
		gs 'arousal', 'end'
		gs 'stat'
		act 'Go home': gt 'gschool_detention', 'end'
	end
end

if $ARGS[0] = 'lesbian':
	*clr & cla
	minut += 60 - minut
	gs 'stat'
	gs 'gschool_events', 'rand_teacher_arg'
	'<center><b><font color="maroon">Detention</font></b></center>'
	'<center><video autoplay loop src="images/locations/pavlovsk/school/detention/sex/udesklick.mp4"></video></center>'
	'As you walk around, you hear some soft moaning coming from further back. You quietly move forward and peek around one of the book shelves. You see Lena sitting in a chair with her legs spread. Lera is under the table on all fours with her face firmly planted between Lena''s legs, obviously eating her out. Lera vigorously eats out Lena while she reaches inside her own pants and masturbates herself at the same time. You bite your lip as you watch, feeling your own arousal mounting.'
	gs 'arousal', 'voyeur_sex', 20
	gs 'stat'
	act 'Keep watching':
		*clr & cla
		'<center><b><font color="maroon">Detention</font></b></center>'
		'<center><video autoplay loop src="images/locations/pavlovsk/school/detention/sex/udesklick.mp4"></video></center>'
		'You decide to watch them. Lera seems to really know how to lick pussy, most likely having had a lot of practice at it. After a while, Lena finally has an orgasm. Once she does she pushes Lera''s face away form her pussy and gets dressed. Lera continues to masturbate herself for some time before she finally has an orgasm as well. Once she does, she moves up and takes a seat next to Lena and the two of them start to talk. They seem intent on staying there for the rest of detention.'
		gs 'arousal', 'voyeur_sex', 20
		gs 'stat'
		act 'Masturbate':
			*clr & cla
			'<center><b><font color="maroon">Detention</font></b></center>'
			'<center><video autoplay loop src="images/locations/pavlovsk/school/detention/sex/mast.mp4"></video></center>'
			'After they leave, you are unable to take it anymore - you remove enough of your clothes to expose your pussy. Then, sitting down with your back to a shelf and your legs spreading wide, you start to masturbate. You end up having to use your own panties as something to bite down on to keep from crying out. You are not sure how long it takes, but no one wanders by and finally you orgasm hard. It rocks your whole body, leaving you shaking in its aftermath. After a few minutes, you recover and get dressed again. You decide to head back to the tables at the front and wait out the rest of detention there.'
			$orgasm_or = 'yes'
			gs 'arousal', 'masturbate', 15
			gs 'arousal', 'end'
			gs 'stat'
			act 'Go home': gt 'gschool_detention', 'end'
		end
	end
	act 'Masturbate':
		*clr & cla
		'<center><b><font color="maroon">Detention</font></b></center>'
		'<center><video autoplay loop src="images/locations/pavlovsk/school/detention/sex/mast.mp4"></video></center>'
		'Unable to take it anymore, you remove enough of your clothes to expose your pussy. Then, sitting down with your back to a shelf and your legs spreading wide, you start to masturbate. You can just barely hear the two of them, which only enhances your own arousal. You end up having to use your own panties as something to bite down on to keep from crying out. You are not sure how long it takes, but no one wanders by and finally you orgasm hard. It rocks your whole body, leaving you shaking in its aftermath. After a few minutes, you recover and get dressed again, peeking around the corner to see that the couple is gone. You decide to head back to the tables at the front and wait out the rest of detention there.'
		$orgasm_or = 'yes'
		gs 'arousal', 'masturbate', 15
		gs 'arousal', 'end'
		gs 'stat'
		act 'Go home': gt 'gschool_detention', 'end'
	end
end

if $ARGS[0] = 'anal':
	*clr & cla
	minut += 60 - minut
	gs 'stat'
	gs 'gschool_events', 'rand_teacher_arg'
	'<center><b><font color="maroon">Detention</font></b></center>'
	'<center><video autoplay loop src="images/locations/pavlovsk/school/detention/sex/anal.mp4"></video></center>'
	'As you walk around, you hear some soft moaning coming from further back. You quietly move forward and peek around one of the book shelves. You see Lina down on all fours on the floor with her pants and panties pulled down just enough to expose her ass. Ivan stands behind and above her with his pants pulled down and his large cock deep in her ass. As you watch, he hammers away at her ass balls deep, her moans sounding like they are a mixture of pain and pleasure. She reaches up and starts to rub her pussy as Ivan pounds her ass. You bite your lip as you watch, feeling your own arousal mounting.'
	gs 'arousal', 'voyeur_sex', 20
	gs 'stat'
	act 'Keep watching':
		*clr & cla
		'<center><b><font color="maroon">Detention</font></b></center>'
		'<center><video autoplay loop src="images/locations/pavlovsk/school/detention/sex/anal.mp4"></video></center>'
		'You decide to watch them. He has massive amounts of endurance and it seems like he is never going to relent. A great deal of time passes before he finally grunts and stops with his dick buried balls deep in her ass. After a couple of breaths, he pulls out of her ass, pulling up his pants as he stands up. Lina is a little slower to get up. Once they are both standing, Ivan gives her a quick kiss and she is all smiles. The two of them then head back to the front of the library.'
		gs 'arousal', 'voyeur_sex', 20
		gs 'stat'
		act 'Masturbate':
			*clr & cla
			'<center><b><font color="maroon">Detention</font></b></center>'
			'<center><video autoplay loop src="images/locations/pavlovsk/school/detention/sex/mast.mp4"></video></center>'
			'After they leave, you are unable to take it anymore - you remove enough of your clothes to expose your pussy. Then, sitting down with your back to a shelf and your legs spreading wide, you start to masturbate. You end up having to use your own panties as something to bite down on to keep from crying out. You are not sure how long it takes, but no one wanders by and finally you orgasm hard. It rocks your whole body, leaving you shaking in its aftermath. After a few minutes, you recover and get dressed again. You decide to head back to the tables at the front and wait out the rest of detention there.'
			$orgasm_or = 'yes'
			gs 'arousal', 'masturbate', 15
			gs 'arousal', 'end'
			gs 'stat'
			act 'Go home': gt 'gschool_detention', 'end'
		end
	end
	act 'Masturbate':
		*clr & cla
		'<center><b><font color="maroon">Detention</font></b></center>'
		'<center><video autoplay loop src="images/locations/pavlovsk/school/detention/sex/mast.mp4"></video></center>'
		'Unable to take it anymore, you remove enough of your clothes to expose your pussy. Then, sitting down with your back to a shelf and your legs spreading wide, you start to masturbate. You can just barely hear the two of them, which only enhances your own arousal. You end up having to use your own panties as something to bite down on to keep from crying out. You are not sure how long it takes, but no one wanders by and finally you orgasm hard. It rocks your whole body, leaving you shaking in its aftermath. After a few minutes, you recover and get dressed again, peeking around the corner to see that the couple is gone. You decide to head back to the tables at the front and wait out the rest of detention there.'
		$orgasm_or = 'yes'
		gs 'arousal', 'masturbate', 15
		gs 'arousal', 'end'
		gs 'stat'
		act 'Go home': gt 'gschool_detention', 'end'
	end
end

if $ARGS[0] = 'end':
	if hour = 8:
		minut += 180 - minut
	elseif hour = 9:
		minut += 120 - minut
	end
	gs 'stat'

	gt 'gschool_grounds', 'main'
end

if $ARGS[0] = 'inappropriate_clothes':
	*clr & cla
	gs 'stat'
	gs 'gschool_events'
	'<center><b><font color="maroon">Detention</font></b></center>'
	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/detention/detention.jpg"></center>'
	'You arrive back at school on a Saturday - it sucks. Considering you spent all week here already, what could be worse than wasting part of a Saturday in school too? You go to the library where detention is held, walk in and take a seat at one of the tables. A couple of other students are there and by the time the bell rings, a couple more have trickled in. The teacher is the last to come. He sits behind his desk and, one by one, calls out the names on his list to make sure everyone who is supposed to be here is present.'
	*nl
	'You confirm your presence when he calls your name, cursing the fact that you are stuck here. "Miss <<$pcs_lastname>>, just what do you think you are wearing?" he asks in a stern, disapproving voice. You can tell he is not happy with your choice of attire.'
	act 'Is something wrong?':
		*clr & cla
		'<center><b><font color="maroon">Detention</font></b></center>'
		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/bathroom/angryteacher.jpg"></center>'
		'You look down at your clothes and you know they are on the daring style. You look up at him. "Is there something wrong?"'
		'He seems flabbergasted you would even ask that. "Is there something... Yes there is something wrong! Those clothes are completely inappropriate for school and you know that. Don''t pretend you don''t."'
		'You think you can talk your way out of this before you get more detention. "I didn''t..." Before you can say more, he cuts you off and gets up. "I don''t want to hear it Miss <<$pcs_lastname>>." He pauses a moment before continuing. "You can come up here and accept your punishment from me or we can go see the principal. Your choice."'
		act 'Go to the principal': gt 'gschool_office', 'detPunishment'
		act 'Take the offer': gt 'gschool_detention', 'offer'
	end
	act 'Be a smart ass':
		*clr & cla
		'<center><b><font color="maroon">Detention</font></b></center>'
		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/bathroom/angryteacher.jpg"></center>'
		'You pause a moment and look him over. "I know with your lack of fashion sense that you might not understand style, but surely even you must realize these are clothes." you tell him with a smirk, which gets several of the other students snickering.'
		'He gets up and strides over rapidly, grabbing you by the arm and jerking you out of your chair. "You think this is a joke? Let''s see how funny you think it is when the principal sees you!" he says as he painfully grips your arm and drags you to the door. "Quietly study until I get back." he orders to the others. With that, he drags you out of the library to the office.'
		act 'Punishment': gt 'gschool_office', 'detPunishment'
	end
end

if $ARGS[0] = 'offer':
	*clr & cla
	gs 'pain', 5, 'asscheeks', 'spank'
	'<center><b><font color="maroon">Detention</font></b></center>'
	'<center><video autoplay loop src="images/locations/pavlovsk/school/detention/detspank.mp4"></video></center>'
	'You get up and walk up to him. "I would rather just take my punishment here." He nods and pulls a large wooden paddle out of the desk. "Alright bend over the desk." You do as you are told and the first swat stings more than you expected. He puts a lot of force into his swings, each follow up one hurts even more. By the time he swats you for the eighth time, you are on the verge of crying.'
	'Finally, he stops. "Return to your seat and behave yourself. The goes for the rest of you too." he says while pointing the paddle at the rest of the students. You gingerly return to your seat and sit down slowly. It hurts to sit, but you have no choice. The rest of detention passes very quietly with everyone unusually well behaved.'
	act 'Go home': minut += 15 & gt 'gschool_detention', 'end'
end

--- gschool_detention ---------------------------------

