# gschool_lessons

if $ARGS[0] = 'morning':
	if detention_set = 1 and week = 1:
		cls
		detention_set = 2
		'<center><img src="images/characters/pavlovsk/school/head/50.jpg"></center>'
		'The principal is waiting for you in the hall, and with a simple curl of a finger, she summons you to follow her to her office.'
		act 'Follow': gt 'gschool_lessons', 'principal'
	else

	    '<center><b><font color="maroon">School Hallway</font></b></center>'
	    '<center><img src="images/locations/pavlovsk/school/building/gschool_hall0<<Rand(0,2)>>.jpg"></center>'
	    'Walking down the halls, you barely notice the poor state of the school anymore, having grown used to it. Approaching your locker, you see several of your classmates who you wave to. The first bell rings to attend morning class and now you debate cutting class.'
		gs 'gschool_gossip', 'morning'
		act 'Go to class':gt 'gschool_lessons', 'class'
		act 'Skip one of your classes':
			cla
			
			*nl
			'<center><b><font color="maroon">School Hallway</font></b></center>'
	        '<center><img src="images/locations/pavlovsk/school/building/gschool_hall0<<Rand(0,2)>>.jpg"></center>'
			'You don''t feel like attending all of your classes this morning. Surely no one will miss you if you skip one of your three morning classes.'
			act 'Go to girl''s bathroom': gt 'gschool_bathrooms', 'girls bathroom'
			act 'Go to boy''s bathroom': gt 'gschool_bathrooms', 'boys bathroom'
	!!		act 'Go to old school building': gt
		end
	end
end

if $ARGS[0] = 'class':
	if hour = 10:
		minut += 60 * 2
		school_lunch = 0
		urand = rand(0, 12)
		if lernHome = 0: pcs_grades += 2
		if lernHome > 0: pcs_grades -= 1
		if pcs_grades > 100: pcs_grades = 100

		if pcs_grades < 0: pcs_grades = 0
		lernSkill += 1
		lernHome += 1
		if schoolSorev = 1: schoolSorev = 0
	elseif school_lunch = 1 and hour ! 16:
		gt 'gschool_lessons', 'afternoon2'
	end
	cla
	if hour <= 12 and (week = 2 or week = 4):
		$teacher = 'Anatoly E.'
		$teacher[1] = 'Anatoly E.'
		$teacher[2] = 'Anatoly E.'
	else
		$teacher =  'Ilya Yenotin'
		$teacher[1] = 'Ilya Yenotin'
		$teacher[2] = 'Ilya Yenotin'
	end

	gs 'stat'
	'<center><img src="images/locations/pavlovsk/school/events/urok<<urand>>.jpg"></center>'
	
	if late = 1 and hour = 10: 'Under the disapproving gaze of the teacher, you feel guilty for being late.' & late=0
	'You sit in the classroom and listen to the monotonous droning of your teacher, doing your best not to fall asleep.'
	
	if GorSlut > 0:'During the class you hear classmates whisper nasty things about you, and sometimes they make lewd gestures when the teacher is not looking.'
	
	if soniaPS = 1:soniaPS = 2 & 'Everyone is talking about Sonia today. Apparently, she got very drunk last night at the disco and gave five guys blowjobs, at the same time! Her reputation is ruined, now that everyone thinks she''s a whore. No one wants to be seen with her anymore and Sonia herself looks distraught and keeps to herself.'

	if Enable_skipnoevclass > 0 and ($teacher = 'Ilya Yenotin' or RAND(1,100) > Enable_skipnoevclass):
		gt 'gschool_lunch', 'lesson_end' & !skip class ev if 1.not Anatoly E. or 2. rand < set chance by illume

	elseif rand(1,100) < 3:
		*clr
		'<center><img src="images/locations/pavlovsk/school/classroom/sleeping.jpg"></center>'
		if pcs_grades >= 80:
			'You''re far too tired to pay attention in class today. You don''t even know what the lesson is about, as you keep dozing off.'
			'You''re snapped back to consciousness when you hear <<$teacher>> call your name. Everyone looks at you expectantly, and you realize that you were just asked a question about the topic.'
			'Taking your best guess at what the teacher might be asking, the entire class is shocked as you somehow manage to produce the correct answer, since it must''ve been obvious to everyone that you were sleeping. <<$teacher>> tells you, "Very good, but try and keep your head up during class, if you don''t mind."'

			act 'Continue': gt 'gschool_lunch', 'lesson_end'
		else
			'You''re far too tired to pay attention in class today. You don''t even know what the lesson is about, sense you keep dozing off.'
			'You''re snapped back to consciousness when you hear <<$teacher>> call your name. Everyone is looking at you expectantly, realizing that you were just asked a question about the topic.'
			'You take your best guess at what they might be asking. Some of the other kids snicker when you say something that''s obviously wrong. <<$teacher>> chides you for sleeping in class, and asks for someone else to inform you of the correct answer.'
			'It was an embarrassing experience, but the sudden adrenaline surge helps you to stay awake during the rest of the period.'

			act 'Continue': gt 'gschool_lunch', 'lesson_end'
		end
	else
		if rand(1,100) < 3:
			if pcs_skin < 20:
				*clr
				'<center><img src="images/locations/pavlovsk/school/classroom/gossipb.jpg"></center>'
				'Entering the classroom, you overhear your name in a boys conversation.'
				'"<<$pcs_nickname>>? She wouldn''t look half bad if it wasn''t for the acne."'
				'"I know. All day yesterday, I just couldn''t stop staring at that whitehead. I just wanted somebody to pop it so that I wouldn''t have to look at it anymore."'
				'"The boys go silent when they notice you walking past, hoping you didn''t catch the details of the conversation.'
			elseif hotcat > 8:
				'<<$teacher>> is talking to the class about current political events. A few students are engaging in the discussion with the teacher, while most of the others are simply waiting for class to end.'
				'You, however, find yourself suddenly aware of having eyes on you. Looking around the classroom, you catch quite a few of the boys stealing glances at you. You''re not the only one who notices, either, as a few of the other girls have caught them in the act. One even gives you a dirty look, as if you were somehow responsible for it.'
			else
				gs 'gschool_events', 'rand_girl_arg', 1, 1, 1, 1, 1, 0

				gs 'gschool_events', 'rand_girl_arg1', 1, 1, 1, 1, 1, 0

				'Waiting for class to start, <<$rand_girl1>> reapplies some of her makeup. <<$rand_girl>> compliments her on her look, but <<$rand_girl1>> complains: "I wish I didn''t have to use so much foundation, though."'
				'"Wouldn''t it be nice to have <<$pcs_nickname>>''s skin?" <<$rand_girl>> suggests. "I bet she barely needs to use anything on it."'
			end
		elseif rand(1,100) < 3:
			if hotcat < 7:
				*clr
				'<center><img src="images/shared/sex/kiss/kiss.jpg"></center>'
				'On your way into the classroom, you find yourself forced to pass by a couple off to the side of the hallway, caught in the middle of a fairly passionate kiss. They get giggles from some of the girls, and comments from a couple of guys as people walk past.'
			elseif hotcat < 9:
				'On your way into the classroom, you find yourself forced to pass by a couple off to the side of the hallway, caught in the middle of a fairly passionate kiss. Opening his eyes as you approach, the boy catches sight of you. His eyes continue to follow you as you walk past and into the classroom.'
			else
				'On your way into the classroom, you find yourself forced to pass by a couple off to the side of the hallway, caught in the middle of a fairly passionate kiss. Opening his eyes as you approach, the boy catches sight of you. For a moment, it seems like he''s forgotten what he was doing as the two of you make eye contact.'
				'Realizing why he''s suddenly stopped kissing her, the girl grabs his face and forcibly turns it back to. You walk a little faster as you pass them, hoping to avoid an awkward confrontation.'
			end
		end

		act'Listen attentively to <<$teacher[1]>>':
			*clr
			cla
			'<center><img src="images/locations/pavlovsk/school/classroom/attention.jpg"></center>'
			pcs_grades += 1
			
			if $teacher = 'Anatoly E.': npc_rel['A26'] += 1
			
			if RAND(1,2) = 1:
				'You listen attentively to <<$teacher[1]>> for the duration of the class. Today''s lesson was interesting and informative, and you feel you learned from taking part in class.'
			
			else
				'You listen attentively to <<$teacher[1]>> for the duration of the class. You particularly enjoy the debate section.'
			
			end	

			if rand(1,100) < 3:
				*clr
				cla
				school_event_hour = 1
				gs 'gschool_events', 'rand_boy_arg', 1, 1, 0, 1, 0, 0
				gs 'gschool_events', 'rand_girl_arg', 1, 1, 1, 1, 1, 0
                '<center><img src="images/locations/pavlovsk/school/classroom/crash.gif"></center>'
				'<<$teacher>>''s lecture has fallen into a droning rhythm that has brought you, and most of your classmates, into something of a trance as you slowly approach the end of the class you so desperately yearn for.'
				'That comes to an abrupt end when a loud crash from the back of the room nearly startles you out of your chair.'
				'As one, everyone in the room turns to look, only to see <<$rand_boy>> on the floor, his desk overturned; his cellphone sliding across the floor before clattering against the wall. Silence is soon replaced by laughter. The eyes of the entire class on him, <<$rand_boy>> struggles to act nonchalant as he works to quickly return his desk to an upright position and gather the items that had fallen to the floor.'
				'<<$teacher>> scowls at him, and is about to offer a few stern words when the bell rings. He''ll likely get a talking to, but as class is over, you won''t get to listen in. One of the girls audibly wonders what he was doing when he fell.'

				act 'Continue': gt 'gschool_lunch', 'lesson_end'

			exit

			end
			act'Ask a question about the lesson':
				cla
				if $teacher = 'Anatoly E.': npc_rel['A26'] += 1

				if RAND(1,4) = 1:
					gt 'gschool_events', 'disrupt'
				
				else
					pcs_grades += 1
					*clr
					'<center><img src="images/characters/pavlovsk/school/head/26.jpg"></center>'
					'<<$teacher>> nods approvingly, always happy to see his students engaged in his class. He happily spends some extra time explaining the topic again, and answers any extra questions you might have. You feel smarter, thoroughly understanding today''s lessons now.'
				
				end
				
				act 'Continue': gt 'gschool_lunch', 'lesson_end'
			
			end
			
			if $teacher = 'Anatoly E.' and pcs_apprnc > 60 and npc_rel['A26'] >= 40:
				*clr
				if npc_rel['A26'] >= 40 and npc_rel['A26'] < 60:
					ivrand = 1
				elseif npc_rel['A26'] >= 60 and npc_rel['A26'] < 80:
					ivrand = RAND (1,3)
				elseif npc_rel['A26'] >= 80:
					ivrand = RAND (1,4)
				end
				if ivrand = 1:
!!check to make sure I got these images for all these options in the correct place.
					npc_rel['A26'] += 1
					if RAND(1,3) = 1:
					    '<center><img src="images/locations/pavlovsk/school/classroom/blackboard.jpg"></center>'
						'Today, there''s a test about the homework you hopefully did. Anatoly E. calls you forward a lot, having you write your answers down on the board. When he asks you for the fourth time today, you begin to suspect he keeps asking you just because of how cute you look in your school uniform, and blush a little as you pick up the chalk once more.'
					elseif RAND(1,2) = 1:
						'<center><img src="images/locations/pavlovsk/school/classroom/engaged.jpg"></center>'
						'Today, school turns out to be quite interesting. Instead of just teaching, <<$teacher>> spends the hours engaging the students in a discussion about all sorts of topics. Whenever you say anything, he compliments the eloquent way you engage in discussion and uses you as an example for the rest of the class.'
					else
						'<center><img src="images/locations/pavlovsk/school/classroom/engaged.jpg"></center>'
						'Today, you had to work hard at school. It certainly payed off though, and <<$teacher>> does his best to involve you in the lessons.'
					end
				elseif ivrand = 2:
					gt 'gschool_events', 'legs'
				elseif ivrand = 3:
					gt 'gschool_events', 'help'
				
				elseif ivrand = 4:
					npc_rel['A26'] += 1
					
					if RAND(1,2) = 1:
						'<center><img src="images/locations/pavlovsk/school/classroom/teacherhelp.jpg"></center>'
						'You sit at your desk, writing a summary on today''s lesson to help you study later. Suddenly, <<$teacher>> comes up from behind you and puts his hand on your shoulder. He takes his time and patiently corrects your mistakes, leaning in a bit closer than is appropriate from a teacher. You don''t mind though, <<$teacher>> is always nice to you.'
					
					else
						'<center><img src="images/locations/pavlovsk/school/classroom/teachpic.jpg"></center>'
						'As you are solving some maths dilemmas in your text book, you notice <<$teacher>> walking past your desk. When you hear a suspicious *click* you quickly look to your side, and see that he has his phone in his hand, and was quietly trying to make a photo of your legs from the side! He notices you looking at his hand, very embarrassed by the fact that you caught him. As he tries to walk away, you call him towards you and whisper in his ear, "Let me know next time, so I can get into a more elegant pose first." before sending him off with a lewd wink.'
					
					end
				
				end
			
			end
						
			act 'Continue': gt 'gschool_lunch', 'lesson_end'
		
		end

		act'Daydream':
			cla
			pcs_grades -= 1
			if RAND(1,2) = 1:
				'<center><img src="images/locations/pavlovsk/school/classroom/sleeping.jpg"></center>'
				'Today''s lessons don''t particularly interest you, and you find yourself drifting off constantly. After a while you notice <<$teacher>> has stopped teaching and is looking at you intently, asking you to pay attention. Apparently this is already the third time he asked; you missed the first two completely while you was lost in your own thoughts. The whole class is looking at you now.'
				if $teacher = 'Anatoly E.' and pcs_apprnc > 60 and npc_rel['A26'] >= 40 and sub < 30:
					cla
					
					act'Don''t pay attention':
						cla
						
						if rand(1,100) > 3:
							school_event_hour = 1
							gs 'gschool_events', 'rand_boy_arg', 1, 1, 0, 1, 0, 0
							gs 'gschool_events', 'rand_girl_arg', 1, 1, 1, 1, 1, 0

							'Almost the entire period has been a lecture, and a quick glance around the room suggests that most of your classmates are on the verge of falling asleep.'
							'Not all, however. You catch some male voices sniggering from the back of the room.'
							'Turning in your chair, at first you can''t make out what''s going on. However, you soon notice that <<$rand_boy>> is missing.'
							'Well, not missing exactly; you can see his legs. It seemed like, perhaps, he was retrieving something he''d dropped on the floor, but then you realize he''s actually leaning far out to the side, holding out his phone.'
							'It all becomes clear in an instant. In her lecture-induced haze, <<girl>> is sitting with her legs apart and <<$rand_boy>> is maneuvering his phone for a discrete upskirt photo.'
							'He''s over-extended himself, however, and two of the other boys in the back row have noticed it. The legs of his chair have lifted off the ground slightly as he stretches out, and it seems like a miracle that he''s been able to remain balanced this long.'
							'Contrary to all expectations, he manages to get the shot and return to a proper sitting position. The other boys shake their heads in disbelief, but <<$rand_boy>> takes a moment to examine the booty before holding his phone up to them and putting his hard-won reward on display: Several upskirt photos of <<girl>> that are sure to spread around school like cooties at a kindergarten.'

							act 'Leave the classroom': gt 'gschool_lunch', 'lesson_end'
						
						elseif pcs_dom > 70:
							'<center><img src="images/locations/pavlovsk/school/classroom/bored.jpg"></center>'
!!This one should add 5 demerits for this or the else below 
							'<<$teacher>> tries to convince you of the importance of todays lesson, "<<$pcs_nickname>>, please pay attention, this is very important. Today''s topic is going to be on the exam for sure."'
							'"Of course, sir. Please continue your super-fascinating lesson. Just keep it a bit up-beat please. If you talk any slower, I might fall asleep!" you answer boldly.'
							'The whole class bursts into loud laughter, and <<$teacher>> has a rough time getting everyone to quiet down.'
							'"Miss <<$pcs_lastname>>, get out of class! I should call your parents, and let the principal know you''re being impossible! Out, now!"'
							
							act 'Don''t leave the classroom':
								'<center><img src="images/locations/pavlovsk/school/classroom/bitchflip.jpg"></center>'
								'"What good would that do? Are you trying to get me to start smoking to pass the time? I''m not interrupting your classes, just leave me alone. I''m having some... girl problems. Would you like me to talk about those instead?" you answer brashly, not having any intentions of getting up.'
								'Your teacher doesn''t know what to say, and after a while just decides to continue his classes. Obviously, you don''t learn anything today. You hear one of the boys behind you mutter your being a bitch, you turn around and flip him off.'
								
								act 'Continue': gt 'gschool_lunch', 'lesson_end'
							
							end
							
							act 'Leave the classroom':school_event_hour = 1 & gt 'gschool_lunch', 'lesson_end'
						
						else
							'<center><img src="images/locations/pavlovsk/school/bathroom/angryteacher.jpg"></center>'
							'The eyes of <<$teacher>> grow narrower, and even though you roll your eyes at him, you sit through the rest of the lesson in silence, at least pretending to pay attention sometimes. You don''t learn anything today, though.'
							
							act 'Continue': gt 'gschool_lunch', 'lesson_end'
						
						end
					
					end
					
					act'Try to focus on the lesson':
						cla
						
						act 'Continue': gt 'gschool_lunch', 'lesson_end'
					
					end
				
				end
				
				act'Try to focus on the lesson':
					cla
					
					act 'Continue': gt 'gschool_lunch', 'lesson_end'
				
				end
			
			else
				
				act 'Continue': gt 'gschool_lunch', 'lesson_end'
			
			end
		
		end
		
		act'Play with your phone':
!!make sure the images for all the options will work
			cla
			pcs_grades -= 1
			
			if RAND(1,3) = 1:
				'<center><img src="images/locations/pavlovsk/school/classroom/phone.jpg"></center>'
				$school_class_txtrand = 'The lesson is so boring that you have to do something to keep yourself entertained. You take out your phone and begin to play a mobile game, hoping the lesson will be over soon.'
			
			elseif RAND(1,2) = 1:
!!this should result in 5 demerit
				'<center><img src="images/locations/pavlovsk/school/classroom/bored.jpg"></center>'
				$school_class_txtrand = 'Unfortunately, <<$teacher>> notices you''re not listening at all and asks you to put your phone away. You decide not to make things worse and put your phone back in your pocket. The lesson feels like it takes forever to end, and you''re glad when it''s finally over.'
			
			else
				$school_class_txtrand = 'This lesson is so boring that you have to do something to keep yourself entertained. You take out your phone and begin to play a mobile game, hoping the lesson will be over soon.'
			
			end
			
			if $teacher = 'Anatoly E.' and pcs_apprnc > 60 and npc_rel['A26'] >= 40:
				cla
				
				gt 'gschool_events', 'phone'
			
			else
				''
				'<<$school_class_txtrand>>'
			end
			
			act 'Wait for the end of the lesson': gt 'gschool_lunch', 'lesson_end'
		
		end
	
	end

end

if $ARGS[0] = 'afternoon':
!!added image and text to the next two parts make sure it works please.
	'<center><b><font color="maroon">School Hallway</font></b></center>'
	'<center><img src="images/locations/pavlovsk/school/building/gschool_hall0<<Rand(0,2)>>.jpg"></center>'
	'Walking down the halls, you barely notice the poor state of the school anymore, having grown used to it. Approaching your locker, you see several of your classmates who you wave to. The first bell rings to attend afternoon class and now you debate cutting class.'
	act 'Go to class':gt 'gschool_lessons', 'afternoon2'
	act 'Skip one of your classes':
		cla
		''
		'<center><b><font color="maroon">School Hallway</font></b></center>'
	    '<center><img src="images/locations/pavlovsk/school/building/gschool_hall0<<Rand(0,2)>>.jpg"></center>'
		'You don''t feel like attending all of your classes this afternoon. Surely no one will miss you if you skip one of your three afternoon classes.'
		act 'Go to girl''s bathroom': gt 'gschool_bathrooms', 'girls bathroom'
		act 'Go to boy''s bathroom': gt 'gschool_bathrooms', 'boys bathroom'
!!		act 'Go to old school building': gt
	end
end

if $ARGS[0] = 'afternoon2':
	cls
	minut += 60 * 3
	hour = 16
	minut = 0
	schoolprogul -= 1

	if week ! 1 and week ! 3 and week ! 5:
		urand = rand(0, 12)
		lernSkill += 1
		lernHome += 1
		gt 'gschool_lessons', 'class'
	else
		gs 'stat'
		school_event_hour = 0
		'<center><img src="images/locations/pavlovsk/school/gym/fizra.jpg"></center>'
		'On Wednesdays and Fridays, you have gym class as always. After everyone gets dressed and gets ready for gym class, Viktor Pavlovich conducts a roll call to ensure everyone is there.'
		if week = 5 and LocalRun = 0:
			if schoolSorev = 0:schoolSorev = 1

			'Mr. Pavlovich announces that the inter-school running competition will be held this Saturday at 11:00. If you want to participate, you should come to school between 10:00 and 11:00.'
		elseif week = 5 and LocalRun = 1:
			if schoolSorev = 0:schoolSorev = 2

			'Mr. Pavlovich announces that the inter-school running competition will be held this Saturday at 11:00. If you want to participate, you should come to school between 10:00 and 11:00.'
		end
		fizrarand = rand(0, 4)

		if fizrarand = 0:
			pcs_mood -= 5
			fat -= 5
			pcs_sweat += 30
			run_exp += rand(1, 2)
			'After the roll call, Mr. Pavlovich announces that you will be going on a run today.'
			act 'Run':
				*clr
				cla
				if temper >= 10 and sunWeather = 1:
!!I changed temper to 10 which is 50F which is plenty warm for running. For weather I would like to change it so as long as it isn''t raining/storming or really bad weather.
					'<center><img src="images/locations/pavlovsk/school/gym/fizra2.jpg"></center>'
					'Since the weather is nice outside, Mr. Pavlovich decides to stage the run outside, on the forest track on school grounds, near the old school building.'
					if pcs_horny => 90 and npcSex[3] = 1:
						'As you run through the forest, you feel a hand on your ass. It''s Ivan; he''s much faster than you, and sprints past you to show you how fast he can be when he wants. He then pauses and lets you catch up, and you run together for a while.'
						act 'Show him your tits':
							cla & *clr
							'<center><img src="images/locations/pavlovsk/school/gym/fizra3.jpg"></center>'
							'Making sure no one else is near you, you pull up your shirt and reveal your <<$titsize>> boobs to Ivan. You almost immediately notice his erection growing in his tight shorts, and he awkwardly tries to hide his boner. As you pull your shirt back where it belongs you give him a sweet smile and say, "Try hiding that while you''re running past everyone!"'
							'He grimaces as he sprints away from you, carefully checking to make sure no one is near him. You have a knowing smile on your face when, at the end of the class, his friends ask him why his lap time was so much slower than usual.'

							act 'Finish run':gt 'gschool_lessons', 'postphys'
						end
						act 'Laugh it off and let him go':
							cla
							'"Very funny, Ivan," you tell him as you give him a wink. He salutes you theatrically as he sprints off again, finishing the run well before anyone else.'
							act 'Finish run':gt 'gschool_lessons', 'postphys'
						end
					end
				else
					'<center><img src="images/locations/pavlovsk/school/gym/fizra1.jpg"></center>'
				end
				'You join the class in running laps around the gymnasium. Half-way into the fourteenth lap, you wonder if there''s any way gym class could be more boring than this.'
				act 'Finish the run':gt 'gschool_lessons', 'postphys'
			end
		elseif fizrarand = 1:
			agil_exp += rand(1, 3)
			fat -= 5
			pcs_mood -= 5
			pcs_sweat += 30
			'After the roll call, Mr. Pavlovich announces that you will be taking turns performing vaults.'
			gs 'gschool_events', 'fiz_rand'
			act 'End of lesson':gt 'gschool_lessons', 'postphys'
		elseif fizrarand = 2:
			stren_exp += rand(1, 3) + (steroid_dose - rand(0,steroid_dose)) & gs 'obj_din', 'steroids'
			pcs_mood -= 5
			fat -= 2
			pcs_sweat += 30
			'After the roll call, Mr. Pavlovich announces that you will all be doing pull-ups today.'
			act 'Pull ups':
				*clr
				cla
				if temper >= 18 and sunWeather = 1:
					'<center><img src="images/locations/pavlovsk/school/gym/fizra5.jpg"></center>'
					'Since the weather is nice, the class will be having their gym class outside today.'
				else
					'<center><img src="images/locations/pavlovsk/school/gym/fizra6.jpg"></center>'
				end
				'You wait for your turn and then do your best to do as many pull-ups as you can.'

				gs 'gschool_events', 'fiz_rand'
				act 'End of lesson':gt 'gschool_lessons', 'postphys'
			end
		elseif fizrarand = 3:
			vital_exp += rand(1, 3) + (steroid_dose - rand(0,steroid_dose)) & gs 'obj_din', 'steroids'
			pcs_mood -= 5
			fat -= 2
			pcs_sweat += 30
			'After the roll call, Mr. Pavlovich announces that you will all be working on general fitness today.'
			if rand(0,1) = 0:
				'The boys get it a little harder, as they''re asked to do full pull-ups, but everyone needs to do the sit-ups. The instructor is actually counting and recording how many each person does, so it''s a bit more stressful than usual.'
				if pcs_apprnc >= 60:'Some of the boys stop what they''re doing when it''s your turn, coming over to shout some words of support.'
				if pcs_stren <= 40:
					'Unfortunately, sit-ups aren''t your strong point, and you''re unable to do as many as most of the girls.'
				elseif pcs_stren <= 60:
					'In the end, you wind up doing a perfectly respectable amount, better than most of the girls, but less than the jocks.'
				else
					'You''ve done enough sit-ups in the past that this isn''t too much of a challenge. Eventually you stop just because the instructor seems to be getting tired of counting.'
				end

				act 'End of lesson':gt 'gschool_lessons', 'postphys'
			else
				'For one of the activities, the teacher breaks everyone into small groups and has you compete to see who can jump rope the longest. Many of the boys pay special attention to the girls as they jump rope.'
				if pcs_cupsize <= 20:
					if pcs_agil <= 40:
					'<center><img src="images/locations/pavlovsk/school/gym/jumpr.gif"></center>'
						'You''re barely able to do more than a few before you get tripped up on the rope. The teacher wants to make sure you get enough exercise, though, so you''re made to give it a few tries.'
					elseif pcs_agil <= 60:
						'Jumping rope is a surprisingly good workout. While you never win any of the competitions, you don''t embarrass yourself, either. You''re tired by the time you''re done.'
					else
						'The other girls in your group are surprised at just how long you can jump rope without messing up. You manage to go the longest in a couple of rounds of the competition.'
					end

					act 'End of lesson':gt 'gschool_lessons', 'postphys'
				elseif pcs_cupsize <= 60:
					'<center><img src="images/locations/pavlovsk/school/gym/jumprb.gif"></center>'
					if pcs_agil <= 40:
						'You''re barely able to do more than a few before you get tripped up on the rope. The teacher wants to make sure you get enough exercise, though, so you''re made to give it a few tries. A number of the boys grumble each time you fail to go for more than a couple of seconds.'
					elseif pcs_agil <= 60:
						'Jumping rope is a surprisingly hard workout. You don''t win any of the rounds, but you find that a number of boys have come over to watch you compete, and offer their support. You have no doubt why the boys are watching, you can feel your boobs bouncing with every jump.'
					else
						'With your fitness skills, you easily manage to outlast the other girls. You could actually jump rope for quite a bit longer, but notice that the longer the class goes on, the more boys have found their way over to watch you. Some of the girls you were competing with make snide remarks about just which particular parts of you they are so keen on watching.'
					end

					act 'End of lesson':gt 'gschool_lessons', 'postphys'
				else
					'<center><img src="images/locations/pavlovsk/school/gym/jumph.gif"></center>'
					if pcs_agil <= 40:
						'You''re barely able to do more than a few before you get tripped up on the rope. It''s hard to get the coordination right, and your breasts always seem to be in the way. The teacher wants to make sure you get enough exercise, so you''re made to give it a few tries. There''s outright jeering from some of the boys whenever you screw up. One of them shouts: "C''mon, already! We want to see them bounce!"'
					elseif pcs_agil <= 60:
						'Jumping rope is a complete misery. You can''t manage it for very long; although your coordination and endurance are there, the pain from your breasts slapping around builds up fast. The girls you''re competing with are sympathetic at first, but that slowly goes away as some of the boys wander over to cheer you on. It''s completely apparent what their eyes are focused on each time a round begins.'
					else
						'You''re easily in good enough shape that this should be a snap, but each time you jump, your breasts slap up and down pretty hard, and in no time they''ve gotten really sore. Fitness means enduring a little pain sometimes though, so you try to press on for as long as you can bear it. What ultimately stops you is the hooting and hollering from the boys. By the end of the period, almost all of them have come over to gawk at your boobs.'
					end

					act 'End of lesson':gt 'gschool_lessons', 'postphys'
				end
			end
		elseif fizrarand = 4:
			cls
			stren_exp += rand(1, 3) + (steroid_dose - rand(0,steroid_dose)) & gs 'obj_din', 'steroids'

			pcs_mood -= 5
			fat -= 2
			pcs_sweat += 30
			pcs_horny += 10
			gs 'stat'
			'After the roll call, he announces that you will all be taking turns climbing the ropes today.'

			if pcs_horny >= 100:
				pcs_horny = 0
				orgasm += 1
				rope_orgasm += 1
				'<center><img src="images/locations/pavlovsk/school/gym/fizra8.jpg"></center>'
				'You climb the rope as instructed, and can''t help but feel the rough robe rubbing against your pussy through your clothes. You do your best to climb up, but the rubbing of the rope against your pussy gets more and more intense as you try to climb higher. After a few seconds the stimulation from the rope against your clit brings you to orgasm, and you have to do everything in your power to not fall down as you quiver against the rope, stifling your moans. Your teacher looks up to you and says, "Why are you shaking, Miss <<$pcs_lastname>>? Are you tired or something? Go ahead, come down then."'
			elseif pcs_horny >= 50 and pcs_horny < 100:
				pcs_horny += 20
				'<center><img src="images/locations/pavlovsk/school/gym/rope.jpg"></center>'
				'You climb the rope as instructed, and can''t help but feel the rough robe rubbing against your pussy through your clothes. You do your best to climb up, but the rubbing of the rope against your pussy gets more and more intense as you try to climb higher. You manage to reach the top, but the rubbing of the rope has got you all worked up. With a bright blush on your face you slide back down, making sure the rope doesn''t rub against your most sensitive spots.'
			end
			gs 'gschool_events', 'fiz_rand'
			act 'End of lesson':gt 'gschool_lessons', 'postphys'
		end
	end
end

if $ARGS[0] = 'postphys':
	cls
	gs 'stat'
	'<center><img src="images/locations/pavlovsk/school/gym/postphys<<rand(1,4)>>.jpg"></center>'

	if zverevaQW = 1:
		postphys_event = daystart
		'After class, Mr. Pavlovich returns to his office. For some reason, Christina Zvereva is following him while all other students go to the locker rooms as usual.'

		act 'Listen in on Christina and Mr. Pavlovich':
			cls
			gs 'stat'
			'You quietly move up to Mr. Pavlovich''s office, to listen to what they''re talking about. You hear Christina saying, "Please, sir, you can''t let <<$pcs_nickname>> go to the regional competition!"'
			'He replies, "<<$pcs_nickname>> beat you fair and square, Christina. There''s not a whole lot I can do about it."'
			'Christina''s voice again: "But you promised! Please? I''ll make it worth your while if you choose me over her, sir..."'
			'After a few seconds of silence, you hear him smirk, "Is that so, Christina? You know what to do then, this is not your first time here." Seconds later you hear a gasp from your teacher, and then soft moaning from him.'

			act 'Try to see what''s happening':
				cls
				zverevaQW = 2
				pcs_horny += 10
				gs 'stat'
				'<center><img src="images/characters/pavlovsk/school/girl/christina/sex/school/chcoachbj.jpg"></center>'
				'You lean over and try to look through the keyhole. You''re flabbergasted by what you see: Christina is on her knees in front of Mr. Pavlovich, and is sucking him off like her life depended on it.'


				act 'Burst into the room':
					cls
					zverevaQW = 3
					gs 'stat'
					'<center><img src="images/characters/pavlovsk/school/girl/christina/sex/school/chcoachbj.jpg"></center>'
					if GorSlut = 0:
						'You open the door and enter Mr. Pavlovich''s room. Christine is startled, jumping up from her kneeling position and desperately wiping her mouth while your teacher quickly stuffs his erection back into his shorts. "Miss <<$pcs_lastname>>, has no one taught you you should knock!? Me and Christina were just discussing some important matters!" he exclaims, pretending to be insulted by your sudden intrusion.'
						*nl
						'You can''t believe he''s even trying! You tell him just that, "Christina was using her mouth, but it certainly wasn''t for talking! You''re letting her suck you off so she can go to the regional competition instead of me!"'
						*nl
						'He drops the charade, but has a confident grin on his face, "Who would believe you? It''s your word against mine, and the word of our school''s star athlete Christina Zvereva. The principal would consider it slander! Your parents would be outraged! Face it: You don''t have shit on me, so get out of my office. Christina, get back on your knees, we''re not done." The last part was directed at Christina.'
						*nl
						'Christina obliges, rubbing his cock through his shorts as she looks you in the eye. Having regained her confidence in knowing that she''ll be your school''s admission for the contest, she parrots, "Face it bitch, you can''t prove a thing. Now get the fuck out, Mr. Pavlovich and I have more to discuss."'
					elseif GorSlut > 0:
						'You open the door and burst into Mr. Pavlovich''s room. Christina pulls off her teacher''s dick in a panic reaction, but regains her confidence when she sees it''s you, "Look what the cat dragged in, it''s <<$pcs_nickname>> the <<$pcs_nickname>>. I recognize that look, you want to suck him off too, don''t you? That''s okay, we can share."'

						act 'Give him a blowjob with Christina':
							cls

							if fizrukSex = 0:fizrukSex = 1 & guy += 1
							if kristinaSex = 0:kristinaSex = 1

							npc_rel['A18'] = 100
							gs 'stat'
							'<center><img src="images/shared/sex/mff/fiz.jpg"></center>'
							'You nod and get down on your knees next to Christina, thinking maybe if you outperform her, he will still pick you for the competition. She diligently takes off his clothes and takes his penis in her hand, sucking on it for a little while before offering it to you. You follow her lead and obediently take his cock in your mouth, sucking on it and trying to take it as far down your throat as you are comfortable with. After a while she pushes your face away and closes her lips around it, sucking him off until he shoots his load inside her mouth. Unwilling to share, she swallows it and then goes to the changing room to get dressed. You might be faster than Christina, but she definitely outperformed you here.'

							act 'Go and get changed': gt 'gschool_lessons', 'postphys2'
						end
					end

					act 'Go and get changed': gt 'gschool_lessons', 'postphys2'
				end

				act 'Keep looking':
					cls
					gs 'stat'
					'<center><img src="images/characters/pavlovsk/school/girl/christina/sex/school/chcoachbj.jpg"></center>'
					'Mr. Pavlovich groans, and after a few minutes he can''t hold back any more and shoots his load into Christina''s mouth. She diligently swallows his sperm without even taking her mouth off his cock, giving it a thorough tongue-bath before tucking it back into his shorts. You hear her ask, "Did I do a good job, sir? Did I earn my spot in the regional championships?"'
					*nl
					'He groans, petting her head as he instructs her to stay on her knees for a while longer, "Absolutely babe, as long as you keep taking care of me, I''ll make sure you''ll be running those championships. Don''t get up, stay there and keep nuzzling. I think I can go again in a minute."'


					act 'Admit defeat':
						cla
						*clr
						'<center><img src="images/shared/sex/cum/cumf10.gif"></center>'
						'As you see Christina happily dig her face into his groin, you quietly close the door and leave. It looks like, despite being the better runner, you won''t be going to the regional championships.'

						act 'Go and get changed': gt 'gschool_lessons', 'postphys2'
					end
				end

				act 'Admit defeat':
					cla
					*clr
					'<center><img src="images/shared/sex/cum/cumf10.gif"></center>'
					'Yeah, you''re not willing to do that. As you see Christina happily dig her face into his groin, you quietly close the door and leave. It looks like, despite being the better runner, you won''t be going to the regional championships.'

					act 'Go and get changed': gt 'gschool_lessons', 'postphys2'
				end
			end
		end
	elseif fizrukSex > 0 and kristinaSex > 0:
		'When the class is dismissed, Christina approaches you, "<<$pcs_nickname>>, sweetie, Mr. Pavlovich wants you to join me again in his office. He wants us to ''entertain him'', if you know what I mean. Want to join me?"'

		act 'Entertain Mr. Pavlovich with Christina':
			cls
			stat['bj'] += 1

			if fizrukSex = 0:fizrukSex = 1 & guy += 1
			if kristinaSex = 0:kristinaSex = 1

			npc_rel['A18'] = 100
			gs 'stat'
			'<center><img src="images/characters/pavlovsk/school/girl/christina/sex/school/chcoachbj.jpg"></center>'
			'You follow Christina, and follow her lead as she squats before your teacher. She diligently takes off his clothes and takes his penis in her hand, sucking on it for a little while before offering it to you. You follow her lead and obediently take his cock in your mouth, sucking on it and trying to take it as far down your throat as you are comfortable with. After a while she pushes your face away and closes her lips around it, sucking him off until he shoots his load inside her mouth. Unwilling to share, she swallows it and then goes to the changing room to get dressed.'

			act 'Go and get changed': gt 'gschool_lessons', 'postphys2'
		end
	else
		gt 'gschool_lessons', 'postphys2'
	end
end

!!second note, make sure to randomize the teachers for the classes that is not Anatoly, the other ones that can be random teachers of classes would be numbers 47, 48, 51, 52, 54, and 55. the rest of them would have a specific class like PE etc or they don''t teach classes.
if $ARGS[0] = 'postphys2':
	if zverRageQW = 10 and postphys_event ! daystart:postphys_event = daystart & gt 'gKristinaZv'
	cls
	$metka = 'postphys2'
	$loc = 'gschool_lessons'
	$gt1 = 'gschool_lessons'
	$gt2 = 'postphys2'
	gs 'stat'
	'<center><img src="images/locations/pavlovsk/school/gym/postphys<<rand(1,4)>>.jpg"></center>'
    'You enter the girls locker room and find several other girls already inside, undressing, changing, heading for or returning from the showers, or simply chatting with each other. You ignore the young women in various states of undress around you, find your locker, and start to take off your clothes.'
	gs 'gschool_gossip', 'gym'
	act 'Get dressed': gt 'gschool_lessons', 'dress'
!!This should just let Sveta change to any clothes since Gym is always the last class at school.
	act 'Have a shower': gt 'gschool_lessons', 'shower'
	act 'Use the mirror':
		cla
		gt 'portmirror', 'start'
	end

	if pcs_hairbsh = 0:
		act 'Brush your hair': gt 'portmirror', 'brush'
	end
end

if $ARGS[0] = 'shower':
	cls
	shower_shave = 0
	gs 'stat'
    '<center><img src="images/locations/pavlovsk/school/gym/change.jpg"></center>'
    'After taking off all of your clothes, you gather up your towel, washcloth and soap, then head to the showers; you are greeted by wafts of steam and several girls who are giggling and gossiping among themselves, apparently oblivious to your existence.'
	if (pcs_leghair > 3 or pcs_pubes > 3) and stanok > 0:
		'In a clumsy moment, you drop your soap with loud clatter. As you crouch to pick it up again, you notice that you badly need to shave your legs and bikini area.'
		act 'Ignore it': gt 'gschool_lessons', 'shower2'
		act 'Better shave':
			cla
			shower_shave = 1
			'Blushing slightly - now that you''re aware how badly groomed you are compared to the other girls - you quickly head back to the locker and gather up your shaving cream and razor as well.'
			act 'Return to the showers': gt 'gschool_lessons', 'shower2'
		end
	else
		act 'Return to the showers': gt 'gschool_lessons', 'shower2'
	end
end
!!second option adds act after shower text below, act 'Shave' that act only shows up if the act Better shave was choosen.

if $ARGS[0] = 'shower2':
	cls
	dynamic $showerdin
	gs 'stat'
	'<center><img src="images/locations/pavlovsk/school/gym/postphyssho<<rand(1,7)>>.jpg"></center>'
	'You pick one of the empty shower heads at random and turn the water on, letting it pour over you and run down your body, caressing you in the relaxing way that is unique to hot showers - after PE, this feels simply great. After a few moments of basking in this joy of modern civilization and silently thanking providence that you life in an era where this is commonplace, you lather up your body with soap. You barely pay any attention to the other girls showering with you, their conversations mostly drowned out by the sound of the shower.'
	if rand(0, 9) = 0:
		*clr
		'<center><img src="images/locations/pavlovsk/school/gym/showerspank.gif"></center>'
		'You pick one of the empty shower heads at random and turn the water on, letting it pour over you and run down your body, caressing you in the relaxing way that is unique to hot showers - after PE, this feels simply great. After a few moments of basking in this joy of modern civilization and silently thanking providence that you life in an era where this is commonplace, you lather up your body with soap. You barely pay any attention to the other girls showering with you, their conversations mostly drowned out by the sound of the shower.'
		'As you wash off the soap, you turn just in time to see one girl start spanking another one; most of the girls in the shower room stop what they''re doing to watch the antics of the two of them. After several fairly hard smacks, they stop and laugh about it, the ''victim'' rubbing her butt with strange glee, before everyone returns to showering.'
	end
	if shower_shave = 1:
	    act 'Shave':
			cla
			minut += 20
			if pcs_leghair ! 0 :stanok -= 1 & pcs_leghair = -5
			if pcs_pubes ! 0 :stanok -= 1 & pcs_pubes = -5
			pcs_horny += 5
			if stanok < 0: stanok = 0
	        '<center><img src="images/locations/pavlovsk/school/gym/shave<<rand(1,2)>>.jpg"></center>'
		    'Once you have washed your hair and body, you stand next to the shower and lather up with your shaving cream before you turn your attention to the stubbles on your legs and bikini area. Once you are satisfied with the smoothness of your bottom half, you wash off any remaining cream and soap before turning off the water.'

			act 'Return to locker room': gt 'gschool_lessons', 'post_shower'
			act 'Check out the other girls': gt 'gschool_lessons', 'post_shower2'
		end
	end

	act 'Return to locker room': gt 'gschool_lessons', 'post_shower'
	act 'Check out the other girls': gt 'gschool_lessons', 'post_shower2'
end

if $ARGS[0] = 'post_shower':
	cla
    '<center><img src="images/locations/pavlovsk/school/gym/nudepic2.jpg"></center>'
	'You grab your towel and diligently dry off your body. With your hair still wet, you wrap the towel around you, ready to return to the locker room and put that blow dryer to use.'
	act 'Get Dressed': gt 'gschool_lessons', 'dress'
end

if $ARGS[0] = 'post_shower2':
	cls
	pcs_horny += 5
	gs 'stat'
	'<center><img src="images/locations/pavlovsk/school/gym/postphyssho<<rand(1,7)>>.jpg"></center>'
	'Before leaving, you pause a moment by the door and casually glance back at the other girls who are still showering, pretending to be unsatisfied with your shave so you can check out their naked bodies. Several of them are really good looking and you can feel yourself getting aroused as you watch them lathering up their wet, nubile, naked bodies. Biting your lip, you give a particularly pretty girl a final, longing, lingering glance before going back to the locker room to dry your hair and get dressed. You don''t think anyone noticed you watching them.'
	gs 'arousal', 'voyeur', 2
	gs 'arousal', 'end'
	gs 'stat'
	*nl
	'You grab your towel and diligently dry off your body. With your hair still wet, you wrap the towel around you, ready to return to the locker room and put that blow dryer to use.'

	act 'Get Dressed': gt 'gschool_lessons', 'dress'
end

if $ARGS[0] = 'dress':
	cls
	$metka = 'dress'
	$loc = 'gschool_lessons'
	gs 'stat'
    '<center><img src="images/locations/pavlovsk/school/gym/change.jpg"></center>'
	'You take your clothes out of your locker and start putting them on. This takes longer than expected, however, since you get distracted several times while getting dressed - sometimes by other girls engaging you in a brief conversation, sometimes by something or someone catching your eye. By the time you are finished, most of the other girls have already left the locker room.'
	'You can choose another outfit while you''re here.'

!!below is a list of random incidental events that can happen in the locker room while getting dressed. Set up how we did the in class events, I would say 25% chance one of them happens and then random which one it is. Or what ever chance you feel works best. Also you might want to put them in gschool_events file as well. Not sure, I am leaving them here because I was working on the locker room and these take place in the locker room.

	if postphys_event ! daystart:
		if rand(0,10) = 0:
			cls
			postphys_event = daystart
			pcs_mood += 10
			gs 'stat'
			gs 'gschool_events', 'rand_girl_arg', 1, 1, 0, 1, 1, 0
			gs 'gschool_events', 'rand_girl1_arg', 1, 1, 0, 1, 1, 0
			'<center><img src="images/locations/pavlovsk/school/gym/lockerflash.jpg"></center>'
			'Several other girls come in from the showers together, wearing their towels. <<$rand_girl1>> picks up her phone and holds it up to take their picture when <<$rand_girl>> see''s this. She stops and, with a lewd smile, pulls her towel wide open, showing off her naked body as <<$rand_girl1>> takes the picture. Several girls giggle at <<$rand_girl>>''s antics while others whistle or cat call. All in all, everyone has a good laugh at the moment.'
			*nl
			'You take your clothes out of your locker and start putting them on. This takes longer than expected, however, since you get distracted several times while getting dressed - sometimes by other girls engaging you in a brief conversation, sometimes by something or someone catching your eye. By the time you are finished, most of the other girls have already left the locker room.'
			'You can choose another outfit while you''re here.'

		elseif rand(0,10) = 0:
			cls
			postphys_event = daystart
			pcs_mood += 10
			gs 'stat'
			gs 'gschool_events', 'rand_girl_arg', 1, 1, 0, 1, 1, 0
			gs 'gschool_events', 'rand_girl1_arg', 1, 1, 0, 1, 1, 0
			'<center><img src="images/locations/pavlovsk/school/gym/locselfiedan.gif"></center>'
			'<<$rand_girl1>> is at the mirror, taking a selfie of herself while trying to look all sexy. As she does, <<$rand_girl>> walks up beside her and then starts to dance next to her, bending over and grinding her butt against <<$rand_girl1>>''s. <<$rand_girl1>> can''t help but laugh and grind back, and soon both of them are teasing each other and laughing, along with many of the other girls in the locker room that saw the whole thing.'
			*nl
			'You take your clothes out of your locker and start putting them on. This takes longer than expected, however, since you get distracted several times while getting dressed - sometimes by other girls engaging you in a brief conversation, sometimes by something or someone catching your eye. By the time you are finished, most of the other girls have already left the locker room.'
			'You can choose another outfit while you''re here.'

		elseif rand(0,10) = 0:
			cls
			postphys_event = daystart
			gs 'stat'
			'<center><img src="images/locations/pavlovsk/school/gym/lockerroom.jpg"></center>'
			'You are running extra late today. By the time you finally finish dressing, nobody seems to be left in the room or shower. You take a few steps towards the door, convinced that you are the last person here, when you hear a soft moan. At first you think you misheard but... there it is again.'
			act 'Ignore it': gt 'gschool_lessons', 'dress'
			act 'Take a peek':
				cls
!!two random girls from class or unknown girls. only those we listed as bisexual or lesbian
				'<center><img src="images/locations/pavlovsk/school/gym/les<<rand(1,3)>>.jpg"></center>'
				'Curious, you sneak toward the source of the soft, feminine sounds. As you get closer, you are sure you are about to come across a couple of girls making out... and, sure enough, when you peek around the next corner, you spy two girls you don''t know making out and feeling each other up. Their display of passion is so infectious that you are tempted to join them, but they seem so into each other that you would feel guilty intruding on their tender moment. That doesn''t make it any less arousing to watch, though.'
				gs 'arousal', 'voyeur', 1
				gs 'stat'

				act 'Leave them in peace':gs 'arousal', 'end' & gt 'gschool_lessons', 'dress'
				act 'Masturbate':
					cls
					'<center><img src="images/locations/pavlovsk/school/gym/sex/mast<<rand(1,2)>>.gif"></center>'
					'As you watch them, you feel yourself getting horny, <b>really</b> horny, and before you know it, you have slipped your hand under your clothes and have started masturbating. As you watch them more, the girls oblivious to their aroused observer, you pull some of your clothes away to make it easier to fondle yourself. You stifle your moans as best you can, but you don''t think they can possible hear them over their own, the couple too absorbed in kissing and caressing each other to notice anything around them.'
					'Your fingers make their rounds around your clit in smaller, harder circles, your eyes glued to lovers, and you feel yourself getting closer to a climax.'
					$orgasm_txt = 'About a second later, you feel like a small explosive went off inside you, and you have to clamp one of your hands over your mouth to keep yourself from shouting as the other continues to rub your clit. The climax hits you hard and your legs nearly give out, your whole body shaking and shuddering like an actual shockwave is passing through it. You are momentarily blinded by the pleasure but after a few seconds, you get yourself back under control.'
					gs 'arousal', 'voyeur', 10
					minut -= 10
					gs 'arousal', 'masturbate', 10
					'As you do, you hear their joined moans of pleasure grow to crescendo that fills the room and your ears. Then, all goes quiet. You peek around the corner again and watch them talk softly for a moment, exchanging final kisses before they get up to get dressed. You quickly straighten out your clothes as well and head for the exit as quietly as you can - you don''t want them to know you have been spying on them.'
					$orgasm_txt = ''
					gs 'arousal', 'end'
					gs 'stat'

					act 'Return': gt 'gschool_lessons', 'dress'
				end
			end
		exit

		elseif rand(0,10) = 0:
			cls
			postphys_event = daystart
			gs 'stat'
!!Someone took a picture of Sveta, We will need a argument to decided on who it could be. eventually will lead to the picture going up all over and everyone at school seeing it
			'<center><img src="images/locations/pavlovsk/school/gym/nudepic<<rand(1,3)>>.jpg"></center>'
			'While you are still naked, you hear a couple of girls giggling. You turn to look at them, but they are not looking at you. Confused, you follow their collective gaze but can''t see anything in that direction that would be worth a laugh. Glancing back at them, you see them looking at you and giggling again - obviously, something happened that you missed; something that they thought was funny. You wonder what it was.'
			*nl
			'You take your clothes out of your locker and start putting them on. This takes longer than expected, however, since you get distracted several times while getting dressed - sometimes by other girls engaging you in a brief conversation, sometimes by something or someone catching your eye. By the time you are finished, most of the other girls have already left the locker room.'
			'You can choose another outfit while you''re here.'

		end
	end

	act 'Choose an outfit':postphys_event = daystart & gt 'clothing_QV','list'
	!!act 'Return to gym':
!!I would like to keep the gym open until 18:00 so kids can work out in the gym or use the showers/locker rooms after school. A lot of schools do that when they have sports teams that practice after school and some do it to give the kids a place to be that is safe. Right now the return to gym will do nothing but eventually I will add stuff. 
	act 'Leave school':
		if $clothingworntype = 'nude':
			msg'<b><font color = red>You need to get dressed before you leave the changing rooms.</font></b>'
			gt 'gschool_lessons', 'dress'
		else
			gt 'gschool_grounds', 'main'
		end   
	end   
end

if $ARGS[0] = 'principal':
	cls
	gs 'stat'
    '<center><b><font color="maroon">Principal''s Office</font></b></center>'
    '<center><img src="images/locations/pavlovsk/school/principal/office.jpg"></center>'
	'The office is, in a word, impressive: It must have cost a full year''s worth of the school''s budget to decorate it. At least now you know why so much of the rest of the school has cracked and faded paint, or is in need of repair that never seems to happen - all the money is spent on this one room.'
	if detention_set = 2:
		'You take a seat at Principal <<$npc_lastname[''134'']>>''s desk and wait for her to address you with an exacerbated tone: "I usually give pupils the choice of detention so that I don''t have to punish them personally... but you have abused my leniency one time too many. I''m going to teach you not to insult my kindness." She is clearly angry and you can almost already feel the pain on your butt that you are about to receive.'
		act 'Accept the inevitable': gt 'gschool_lessons', 'spanked'
	elseif demerit > 20:
		'You take a seat at Principal <<$npc_lastname[''134'']>>''s desk and wait for her to address you with an exacerbated tone: "What did you do this time, <<$pcs_lastname>>? No, I don''t want to know. I really don''t care what it is. You obviously have no respect for me or your teachers." She looks over your file some more and shakes her head slightly. "You have been here enough and you know what comes next. So, what will it be this time? Spanking, or perhaps Saturday detention?" She seems more than a bit annoyed that you appear to be immune to her punishment system... or maybe that you are that troubled of a student.'
		act 'Choose detention':detention_set = 1 & gt 'gschool_lessons', 'class'
		act 'Choose spanking': gt 'gschool_lessons', 'spanked'
!!		if demerit >= 50:act 'Choose suspension': gt 'gschool_lessons', 'suspension'
!!		act 'Call Parents': gt 'gschool_lessons', 'Call Parents' - I will add this one in later as it will be a bit of work to write and tie in events at home.
	elseif demerit > 10:
		'You take a seat at her desk and wait for Principal <<$npc_lastname[''134'']>> to address you. "This is becoming a routine with you; I feel like I am seeing you every day! What has changed, <<$pcs_lastname>>? You used to be such a good girl, perhaps a bit quiet, but now? This is not the way to get attention." She looks over your file some more and shakes her head slightly.'
		'"We can''t have you keep getting in trouble like this - I will have to punish you." She looks directly at you for a moment to make sure you understand that when you cause problems, you will be getting punished. "I believe in giving the students a voice in their future, so I will let you decide: Saturday detention, or a spanking, right now - which will it be?"'

		act 'Choose detention': detention_set = 1 & gt 'gschool_lessons', 'class'
		act 'Choose spanking': gt 'gschool_lessons', 'spanked'
	else
		'You take a seat at Principal <<$npc_lastname[''134'']>>''s desk and wait for her to address you. "Do you know why you are here, <<$pcs_lastname>>?", before you have a chance to reply she continues on. "It was a rhetorical question - we both know why you are here. You are here because you got in trouble." She pauses to look over at the folder in front of her. "Your file shows you have mostly stayed out of trouble until now. I hope this is only a minor lapse in judgment and not a new trend from you. We won''t get into what you did, just understand this is a warning. Straighten yourself out or there will be consequences. Now, return to class."'
		act 'Go to class':gt 'gschool_lessons', 'class'
	end
end

if $ARGS[0] = 'spanked':
	cls
	gs 'stat'
	'<center><b><font color="maroon">Principal''s Office</font></b></center>'
	'<center><img src="images/characters/pavlovsk/school/head/50.jpg"></center>'
	if detention_set ! 2:'No way are you coming back to school on a Saturday. "Uh, I would rather just get it over with, so... Spanking."'
	'"Very well, come over here." She says as she gets up, pulls a chair out and sits down on it. You get up and walk over to her.'
	principal_spank += 1
	demerit -= 10
	if principal_spank <= 5 and detention_set ! 2:
	!!there is different levels of spanking, first 5 times is Spanked, next 5 is Bare Spanked, next 5 times is Leather Paddle, after that all future ones is Wooden Paddle. If flirt is selected it automatic jumps to the next level, regardless of number of times.
		act 'Take Punishment':
			cls
			gs 'pain', 1, 'asscheeks', 'spank'
			gs 'stat'
			'<center><img src="images/characters/pavlovsk/school/teacher/aleksandrina/sex/school/schoolspank.jpg"></center>'
			'Once you walk over to her, Principal <<$npc_lastname[''134'']>> pulls you down across her knees. With you laying like that, she pulls up your skirt and gives your ass a hard smack with her hand. You jerk a bit in reflex - she is a strong woman and her blows sting quite a bit. She is obviously trying to spank your butt with enough force to teach you a lesson.'
			*nl
			'You silently take your punishment, even if it is not all that bad and a bit of you actually likes it. Regardless, you don''t want her to know this doesn''t bother you all that much, so you play along, withering around and whimpering as she spanks you for a good solid minute.'
			'Then she lifts you back to your feet and rubs your arm. "I hope this has taught you a lesson; I don''t want to see you in my office anymore, <<$pcs_lastname>>. You can return to your classes now." With that, she goes back to her desk and you head back to class.'
			gs 'arousal', 'foreplay', 5, 'maso', 'rough'
			gs 'stat'
			gs 'arousal', 'end'
			gs 'stat'
			act 'Go to class':gt 'gschool_lessons', 'class'
		end
		act 'Flirt/rebel':
			principal_spank = 6
			cls
			gs 'pain', 2, 'asscheeks', 'spank'
			gs 'stat'
			'<center><img src="images/characters/pavlovsk/school/teacher/aleksandrina/sex/school/schoolspank.jpg"></center>'
			'Once you walk over to her, Principal <<$npc_lastname[''134'']>> pulls you down across her knees. With you laying like that, she pulls up your skirt and gives your ass a hard smack with her hand. You jerk a bit in reflex - she is a strong woman and her blows sting quite a bit. She is obviously trying to spank your butt with enough force to teach you a lesson.'
			*nl
			'With each hit, you give a moan, soft at first but getting louder each time she strikes. "Stop that!", she says and gives you the hardest smack on your ass yet. You moan even louder and wiggle your butt a bit.'
			*nl
			'"Oh yes, Mrs. <<$npc_lastname[''134'']>>, yes, please, harder, harder!", you beg as if you were on the verge of an orgasm. "Yes, spank me, spank me harder and I promise to be your special, little, bad girl," you say with a giggle.'
			*nl
			'To her credit, she doesn''t relent and even manages to spank you harder. After another a minute or two of this, however, she roughly lifts you off her knees and back on your feet. She points at the door, her voice quivering with anger: "Back to class now, before I give you detention as well." Not wanting detention, you don''t say anymore but, instead, head for the door, putting a bit of extra sway into your hips as you go.'
			gs 'arousal', 'foreplay', 5, 'maso', 'rough'
			gs 'stat'
			gs 'arousal', 'end'
			gs 'stat'
			act 'Go to class':gt 'gschool_lessons', 'class'
		end
	elseif principal_spank <= 10 and detention_set ! 2:
!!Spanked Bare Bottom
		act 'Take Punishment':
			cls
			gs 'pain', 2, 'asscheeks', 'spank'
			gs 'stat'
			'<center><img src="images/characters/pavlovsk/school/teacher/aleksandrina/sex/school/schoolbarespank.jpg"></center>'
			'Once you walk over to her, Principal <<$npc_lastname[''134'']>> pulls you down across her knees. With you laying like that, she pulls up your skirt and your panties down to your knees, exposing your bare ass before she gives it a hard smack with her hand. You jerk a bit in reflex - she is a strong woman and her blows sting quite a bit. She is obviously trying to spank your butt with enough force to teach you a lesson.'
			*nl
			'You silently take your punishment, even if it is not all that bad and a bit of you actually likes it. Regardless, you don''t want her to know this doesn''t bother you all that much, so you play along, withering around and whimpering as she spanks you for a good solid minute, giving your butt a nice crimson hue.'
			*nl
			'Then she lifts you back to your feet and rubs your arm. "I hope this has taught you a lesson; I don''t want to see you in my office anymore, <<$pcs_lastname>>. You can return to your classes now." With that, she goes back to her desk and you pull your panties up before heading back to class.'
			gs 'arousal', 'foreplay', 5, 'maso', 'rough'
			gs 'stat'
			gs 'arousal', 'end'
			gs 'stat'
			act 'Go to class':gt 'gschool_lessons', 'class'
		end
		act 'Flirt/rebel':
			principal_spank = 11
			cls
			gs 'pain', 3, 'asscheeks', 'spank'
			gs 'stat'
			'<center><img src="images/characters/pavlovsk/school/teacher/aleksandrina/sex/school/schoolbarespank.jpg"></center>'
			'Once you walk over to her, Principal <<$npc_lastname[''134'']>> pulls you down across her knees. With you laying like that, she pulls up your skirt and your panties down to your knees, exposing your bare ass before she gives it a hard smack with her hand. You jerk a bit in reflex - she is a strong woman and her blows sting quite a bit. She is obviously trying to spank your butt with enough force to teach you a lesson.'
			*nl
			'With each hit, you give a moan, soft at first but getting louder each time she strikes. "Stop that!", she says and gives you the hardest smack on your ass yet. You moan even louder and wiggle your butt a bit.'
			*nl
			'"Oh yes, Mrs. <<$npc_lastname[''134'']>>, yes, please, harder, harder!", you beg as if you were on the verge of an orgasm. "Yes, spank me, spank me harder and I promise to be your special, little, bad girl," you say with a giggle.'
			*nl
			'To her credit, she doesn''t relent and even manages to spank you harder. After another a minute or two of this, about the time your butt has taken on a nice shade of red, she roughly lifts you off her knees and back on your feet. She points at the door, her voice quivering with anger: "Back to class now, before I give you detention as well." Not wanting detention, you slowly pull your panties back up, giving her an extra-long look at your cherry-red butt cheeks before you head for the door, putting a bit of extra sway into your hips as you go.'
			gs 'arousal', 'foreplay', 5, 'maso', 'rough'
			gs 'stat'
			gs 'arousal', 'end'
			gs 'stat'
			act 'Go to class':gt 'gschool_lessons', 'class'
		end
	elseif principal_spank <= 15 and detention_set ! 2:
!!Spanked Leather Paddle
		act 'Take Punishment':
			cls
			gs 'pain', 4, 'asscheeks', 'spank'
			gs 'stat'
			'<center><img src="images/characters/pavlovsk/school/teacher/aleksandrina/sex/school/schoolpaddle2.jpg"></center>'
			'Once you walk over to her, Principal <<$npc_lastname[''134'']>> pulls you down across her knees. With you laying like that, she pulls up your skirt and your panties down to your knees, exposing your bare ass. This time she pulls out a leather paddle and gives you a hard smack across your bare butt. You jerk a bit in reflex - she is a strong woman and her blows sting quite a bit. She is obviously trying to spank your butt with enough force to teach you a lesson... and it''s kinda working, too.'
			*nl
			'You silently take your punishment. It almost brings you to tears but a part of you gets turned on by it as well... a circumstance you don''t want her to know about. You don''t have to play along much to hide it either: It <b>really</b> stings, even if you are enjoying it too, so you wither around and whimper as she spanks you for a good solid minute or three, until your butt is bright red and feels like it''s radiating heat.'
			*nl
			'Then she lifts you back to your feet and rubs your arm. "I hope this has taught you a lesson; I don''t want to see you in my office anymore, <<$pcs_lastname>>. You can return to your classes now." With that, she goes back to her desk and you pull your panties up before heading back to class.'
			gs 'arousal', 'foreplay', 5, 'maso', 'rough'
			gs 'stat'
			gs 'arousal', 'end'
			gs 'stat'
			act 'Go to class':gt 'gschool_lessons', 'class'
		end
		act 'Flirt/rebel':
			principal_spank = 16
			cls
			gs 'pain', 5, 'asscheeks', 'spank'
			gs 'stat'
			'<center><img src="images/characters/pavlovsk/school/teacher/aleksandrina/sex/school/schoolpaddle2.jpg"></center>'
			'You walk over to her, swaying your hips. You pull your panties down to your knees and lay across her legs, biting your lower lips and looking back up at her expectantly like you might at a lover. Principal <<$npc_lastname[''134'']>> tries to ignore your look and picks up a leather paddle with which she then smacks you hard across your bare ass. You jerk a bit in reflex - she is a strong woman and her blows really sting - but a soft moan escapes you while she is obviously trying to spank your butt with enough force to teach you a lesson.'
			*nl
			'With each hit, you''re getting louder. She smacks your ass even harder, really putting her shoulder into it now, but all it does is cause you to respond with a louder groan and a wiggle of your butt. She looks a little troubled, like she is unsure if this is working at all, but the troubled look only lasts a second and her face hardens into an expression of stern, if not stubborn, resolve.'
			*nl
			'"Oh yes, Mrs. <<$npc_lastname[''134'']>>, yes, please, harder, harder!", you beg as if you were on the verge of an orgasm. "Yes, spank me, spank me harder and I promise to be your special, little, bad girl. Oh god, you are making me so wet," you say in a husky tone.'
			*nl
			'To her credit, she doesn''t relent and even manages to spank you harder. After another a minute or two of this, about the time your butt has taken on a nice shade of red, she roughly lifts you off her knees and back on your feet. She points at the door, her voice quivering with anger... but also uncertainty: "Back to class now, before this gets worse for you." You head for the door, putting a bit of extra sway into your hips and very slowly pulling your panties back up as you go, giving her an extra-long look at your cherry-red butt cheeks.'
			gs 'arousal', 'foreplay', 5, 'maso', 'rough'
			gs 'stat'
			gs 'arousal', 'end'
			gs 'stat'
			act 'Go to class':gt 'gschool_lessons', 'class'
		end
	elseif principal_spank <= 20 or detention_set = 2:
!!Spanked Wooden Paddle
		if detention_set = 2: detention_set = 0
		act 'Take Punishment':
			cls
			gs 'pain', 5, 'asscheeks', 'spank'
			gs 'stat'
			'<center><img src="images/characters/pavlovsk/school/teacher/aleksandrina/sex/school/schoolpaddle1.jpg"></center>'
			'Once you walk over to her, Principal <<$npc_lastname[''134'']>> pulls you down across her knees. With you laying like that, she pulls up your skirt and your panties down to your knees, exposing your bare ass. This time she pulls out a large wooden paddle and gives you a hard smack across your bare butt. You jerk a bit in reflex - she is a strong woman and her blows sting quite a bit. She is obviously trying to spank your butt with enough force to teach you a lesson... and it''s kinda working, too.'
			*nl
			'You silently take your punishment. It almost brings you to tears but a part of you gets turned on by it as well... a circumstance you don''t want her to know about. You don''t have to play along much to hide it either: It <b>really</b> stings, even if you are enjoying it too, so you wither around and whimper as she spanks you for a good solid minute or three, until your butt is bright red and feels like it''s radiating heat.'
			*nl
			'Then she lifts you back to your feet and rubs your arm. "I hope this has taught you a lesson; I don''t want to see you in my office anymore, <<$pcs_lastname>>. You can return to your classes now." With that, she goes back to her desk and you pull your panties up before heading back to class.'
			gs 'arousal', 'foreplay', 5, 'maso', 'rough'
			gs 'stat'
			gs 'arousal', 'end'
			gs 'stat'
			act 'Go to class':gt 'gschool_lessons', 'class'
		end
		act 'Flirt/rebel':
			principal_spank += 1
			cls
			gs 'pain', 6, 'asscheeks', 'spank'
			gs 'stat'
			'<center><img src="images/characters/pavlovsk/school/teacher/aleksandrina/sex/school/schoolpaddle1.jpg"></center>'
			'You walk over to her, swaying your hips. You pull your panties down to your knees and lay across her legs, biting your lower lips and looking back up at her expectantly like you might at a lover. Principal <<$npc_lastname[''134'']>> tries to ignore your look and picks up a large wooden paddle with which she then smacks you hard across your bare ass. You jerk a bit in reflex - she is a strong woman and her blows really sting - but a soft moan escapes you while she is obviously trying to spank your butt with enough force to teach you a lesson.'
			*nl
			'With each hit, you''re getting louder. She smacks your ass even harder, really putting her shoulder into it now, but all it does is cause you to respond with a louder groan and a wiggle of your butt. She looks a little troubled, like she is unsure if this is working at all, but the troubled look only lasts a second and her face hardens into an expression of stern, if not stubborn, resolve.'
			*nl
			'"Oh yes, Mrs. <<$npc_lastname[''134'']>>, yes, please, harder, harder!", you beg as if you were on the verge of an orgasm. "Yes, spank me, spank me harder and I promise to be your special, little, bad girl. Oh god, you are making me so wet," you say in a husky tone.'
			*nl
			'To her credit, she doesn''t relent and even manages to spank you harder. After another a minute or two of this, about the time your butt has taken on a nice shade of red, she roughly lifts you off her knees and back on your feet. Her hands rest on your hips and as she stands up to face you, one hand slips down to your bare ass and stays there for just a moment... Then she removes her hands and points at the door, her expression unreadable. "You are playing a very dangerous game, young lady. Get back to class." You head for the door, putting a bit of extra sway into your hips and very slowly pulling your panties back up as you go, giving her an extra-long look at your cherry-red butt cheeks. You don''t dare to look back but you are almost certain that Principal <<$npc_lastname[''134'']>> had her eyes on your ass right until the door closed behind you.'

			act 'Go to class':gt 'gschool_lessons', 'class'
		end
	else
!!this happens if Sveta choose to flirt/rebel 5 times while getting spanked by the wooden paddle and chooses spanking again then it goes to this.
		*nl
		'"It is obvious spanking is not an option any longer. In fact, I doubt it was an adequate punishment for you to begin with: You just moan and act like a whore when I try and punish you." She looks at you for a long moment to see if you will dispute it, but, really, what can you say? She''s right - you do - and it is just as funny now as it was the first time you did it, despite her best efforts.' 
		'"You leave me no choice. If you are going to act like a whore, I will treat you like a whore. Come over here."'
		if tanga = 0 and plugin = 0:
!!if not wearing panties.
			'<center><img src="images/locations/pavlovsk/school/principal/bare.jpg"></center>'
			'Once you walk over to her, Principal <<$npc_lastname[''134'']>> bends you over. With you standing like that, she pulls up your skirt and when she see''s your bare ass she pauses. "Where are your panties?"'
			'<center><img src="images/locations/pavlovsk/school/principal/bare.jpg"></center>'
			'Once you walk over to her, Principal <<$npc_lastname[''134'']>> bends you over. With you standing like that, she pulls up your skirt, and when she see''s your bare ass, she pauses. "Where are your panties?"'
			act 'Feign innocence':
				cls
				gs 'pain', 7, 'asscheeks', 'spank'
				gs 'stat'
				'<center><img src="images/characters/pavlovsk/school/teacher/aleksandrina/sex/school/schoolpaddle1.jpg"></center>'
				'"What? Oh, I must have forgotten them," you tell her in mock-surprise.'
				'She sighs. "You seriously expect me to believe you forgot to put on your underwear?" She pauses for the briefest of moments and, before you can reply, she adds. "I don''t care what reasons you have - it is simply unacceptable not to wear underwear to school. I will note this down as additional demerits; don''t let me catch you not wearing them again, <<$pcs_lastname>>. Do you understand me?" Without waiting for a response, she pulls out a large wooden paddle and gives you a hard smack across your bare butt. You jerk a bit in reflex - she is a strong woman and her blows sting quite a bit. She is obviously trying to spank your butt with enough force to teach you a lesson... and it''s kinda working, too.'
				*nl
				'You silently take your punishment. It almost brings you to tears... but a part of you gets turned on by it as well - a circumstance you don''t want her to know about. You don''t have to play along much to hide it either: It <b>really</b> hurts, even if you are enjoying it too, so you wither around and whimper as she spanks you for a good solid minute or three, until your butt is bright red and feels like it''s radiating heat.'
				*nl
				'Then she lifts you back to your feet. "I hope this has taught you a lesson; I don''t want to see you in my office anymore, <<$pcs_lastname>>. You can return to your classes now." With that, she goes back to her desk and you pull your skirt down, making sure your naked privates are properly covered, before heading back to class.'
!!this part only shows up if detention is allowed.
				detention_set = 1
				'Just before you walk out the door she adds. "I am also giving you detention this Saturday, do not miss it."'
				gs 'arousal', 'foreplay', 5, 'maso', 'rough'
				gs 'arousal', 'end'
				gs 'stat'

				act 'Go to class':gt 'gschool_lessons', 'class'
			end
			act '"Don''t like wearing them"':
				*clr
				cla
				'<center><img src="images/characters/pavlovsk/school/teacher/aleksandrina/angry.jpg"></center>'
				'"I don''t like wearing them; the freedom I feel when I don''t have them on is just so..."'
				*nl
				'You stop when you realize how quickly your headmaster''s face darkens. A blind man could tell she is angry with you, even without the shrill tone of her voice: "I don''t care if you don''t like wearing them, you will not walk around my school like some whore. Do you understand me?"'
				act '"Yes"':
					cls
					gs 'pain', 7, 'asscheeks', 'spank'
					gs 'stat'
					'<center><img src="images/characters/pavlovsk/school/teacher/aleksandrina/sex/school/schoolpaddle1.jpg"></center>'
					'"Yes, I understand, I won''t let it happen again," you respond meekly. She nods, pulls out a large wooden paddle and gives you a hard smack across your bare butt. You jerk a bit in reflex - she is a strong woman and her blows sting quite a bit. She is obviously trying to spank your butt with enough force to teach you a lesson... and it''s kinda working, too.'
					*nl
					'You silently take your punishment. It almost brings you to tears... but a part of you gets turned on by it as well - a circumstance you don''t want her to know about. You don''t have to play along much to hide it either: It <b>really</b> hurts, even if you are enjoying it too, so you wither around and whimper as she spanks you for a good solid minute or three, until your butt is bright red and feels like it''s radiating heat.'
					*nl
					'Then she lifts you back to your feet. "I hope this has taught you a lesson; I don''t want to see you in my office anymore, <<$pcs_lastname>>. You can return to your classes now." With that, she goes back to her desk and you pull your skirt down, making sure your naked privates are properly covered, before heading back to class.'
					gs 'arousal', 'foreplay', 5, 'maso', 'rough'
					gs 'arousal', 'end'
					gs 'stat'

					act 'Go to class':gt 'gschool_lessons', 'class'
				end
				act '"No"':
					*clr
					cla
					'<center><img src="images/characters/pavlovsk/school/teacher/aleksandrina/angry.jpg"></center>'
					'"No, I don''t have to wear them if I don''t want to," you say in a haughty voice; it''s not like she can force you, right?'
					*nl
					'She gives you a long, hard look and her eyes narrow dangerously. "Fine, if that is what you wanna be... but this is a school, <b>your</b> school, and as your teacher, I will show you how to be a proper whore."'

					act 'See how she treats a whore': gt 'gschool_lessons', 'whore'
				end
			end
			act 'Flirt':
				*clr
				cla
				'<center><img src="images/locations/pavlovsk/school/principal/flirt.jpg"></center>'
				'You wiggle your butt around a bit. "I didn''t wear any for you. Like what you see?"'
				*nl
				'"Stop acting like some little whore right this moment!", she says in a stern voice, obviously not pleased by you or your antics.'
				*nl
				'You smile at her. "Come on and give my ass a slap, you know you want to."'
				*nl
				'She gives you a long, hard look and her eyes narrow dangerously. "Fine, if that is what you wanna be... but this is a school, <b>your</b> school, and as your teacher, I will show you how to be a proper whore."'

				act 'See how she treats a whore': gt 'gschool_lessons', 'whore'
			end
		elseif tanga = 1 and plugin = 1:
!!if wearing buttplug and wearing panties.
			'<center><img src="images/characters/pavlovsk/school/teacher/aleksandrina/sex/school/plug.jpg"></center>'
			'Once you walk over to her, Principal <<$npc_lastname[''134'']>> bends you over. With you standing like that, she pulls up your skirt, pulls down your panties and stops when she see''s the buttplug. "Why do you have that stuck in your butt?"'
			act '"Sorry"':
				cls
				gs 'pain', 7, 'asscheeks', 'spank'
				gs 'stat'
				'<center><img src="images/characters/pavlovsk/school/teacher/aleksandrina/sex/school/schoolpaddle1.jpg"></center>'
				'"What? Oh, sorry. I like the way it feels and I forgot I was wearing it. I meant to take it out before I came to school this morning," you tell her.'
				'She sighs. "You seriously expect me to believe you forgot you had a plug stuck in your butt?" She pauses for the briefest of moments and, before you can reply, she adds. "I don''t care what reasons you have - it is simply unacceptable to wear a buttplug to school. I will note this down as additional demerits; don''t let me catch you wearing this again, <<$pcs_lastname>>. Do you understand me?" Without waiting for a response, she pulls out a large wooden paddle and gives you a hard smack across your bare butt. You jerk a bit in reflex - she is a strong woman and her blows sting quite a bit. She is obviously trying to spank your butt with enough force to teach you a lesson... and it''s kinda working, too.'
				*nl
				'You silently take your punishment. It almost brings you to tears... but a part of you gets turned on by it as well - a circumstance you don''t want her to know about. You don''t have to play along much to hide it either: It <b>really</b> hurts, even if you are enjoying it too, so you wither around and whimper as she spanks you for a good solid minute or three, until your butt is bright red and feels like it''s radiating heat.'
				*nl
				'Then she lifts you back to your feet. "I hope this has taught you a lesson; I don''t want to see you in my office anymore, <<$pcs_lastname>>. You can return to your classes now." With that, she goes back to her desk; you pull your panties back up before heading back to class.'
!!this part only shows up if detention is allowed.
				detention_set = 1
				'Just before you walk out the door she adds. "I am also giving you detention this Saturday, do not miss it."'
				gs 'arousal', 'foreplay', 5, 'maso', 'rough'
				gs 'arousal', 'end'
				gs 'stat'

				act 'Go to class':gt 'gschool_lessons', 'class'
			end
			act '"I like wearing it':
				*clr
				cla
				'<center><img src="images/characters/pavlovsk/school/teacher/aleksandrina/angry.jpg"></center>'
				'"I like the way it feels, it especially helps class pass more quickly."'
				'Her face darkens and you can tell she is angry with you, even without the shrill tone of her voice. "I don''t care if you like wearing them, you will not walk around my school like some whore. Do you understand me?"'
				act 'Yes':
					cls
					gs 'pain', 7, 'asscheeks', 'spank'
					gs 'stat'
					'<center><img src="images/characters/pavlovsk/school/teacher/aleksandrina/sex/school/schoolpaddle1.jpg"></center>'
					'"Yes, I understand, I won''t let it happen again," you respond meekly. She nods, pulls out a large wooden paddle and gives you a hard smack across your bare butt. You jerk a bit in reflex - she is a strong woman and her blows sting quite a bit. She is obviously trying to spank your butt with enough force to teach you a lesson... and it''s kinda working, too.'
					*nl
					'You silently take your punishment. It almost brings you to tears... but a part of you gets turned on by it as well - a circumstance you don''t want her to know about. You don''t have to play along much to hide it either: It <b>really</b> hurts, even if you are enjoying it too, so you wither around and whimper as she spanks you for a good solid minute or three, until your butt is bright red and feels like it''s radiating heat.'
					*nl
					'Then she lifts you back to your feet. "I hope this has taught you a lesson; I don''t want to see you in my office anymore, <<$pcs_lastname>>. You can return to your classes now." With that, she goes back to her desk; you pull your panties back up before heading back to class.'
!!this part only shows up if detention is allowed.
					detention_set = 1
					'Just before you walk out the door she adds. "I am also giving you detention this Saturday, do not miss it."'
					gs 'arousal', 'foreplay', 5, 'maso', 'rough'
					gs 'arousal', 'end'
					gs 'stat'

					act 'Go to class':gt 'gschool_lessons', 'class'
				end
				act 'No':
					*clr
					cla
					'<center><img src="images/characters/pavlovsk/school/teacher/aleksandrina/angry.jpg"></center>'
					'"No, I like wearing it and I''m not gonna let you tell me what I can or can''t do," you say in a haughty voice; it''s not like she can force you, right?'
					'She gives you a long, hard look and her eyes narrow dangerously. "Fine, if that is what you wanna be... but this is a school, <b>your</b> school, and as your teacher, I will show you how to be a proper whore."'

					act 'See how she treats a whore': gt 'gschool_lessons', 'whore'
					
				end
			end
			act 'Flirt':
				*clr
				cla
				'<center><img src="images/locations/pavlovsk/school/principal/flirt.jpg"></center>'
				'You wiggle your butt around a bit. "I wore it for you. Like what you see?"'
				*nl
				'"Stop acting like some little whore right this moment!", she says in a stern voice, obviously not pleased by you or your antics.'
				*nl
				'You smile at her. "Come on and give my ass a slap, you know you want to."'
				*nl
				'She gives you a long, hard look and her eyes narrow dangerously. "Fine, if that is what you wanna be... but this is a school, <b>your</b> school, and as your teacher, I will show you how to be a proper whore."'

				act 'See how she treats a whore': gt 'gschool_lessons', 'whore'
			end
		elseif tanga = 0 and plugin = 1:
!!if buttplug and no panties
			'<center><img src="images/characters/pavlovsk/school/teacher/aleksandrina/sex/school/plug.jpg"></center>'
			'Once you walk over to her, Principal <<$npc_lastname[''134'']>> bends you over. With you standing like that, she pulls up your skirt and when she see''s your bare ass she pauses. "Where are your panties? And why do you have that stuck in your butt?"'
			act '"Sorry"':
				cls
				gs 'pain', 7, 'asscheeks', 'spank'
				gs 'stat'
				'<center><img src="images/characters/pavlovsk/school/teacher/aleksandrina/sex/school/schoolpaddle1.jpg"></center>'
				'"What? Oh, sorry. I like the way it feels and I forgot I was wearing it. I meant to take it out before I came to school this morning, but I forgot... and I guess I also forgot my panties," you tell her.'
				'She sighs. "You seriously expect me to believe you forgot to put on your underwear <b>and</b> forgot that you had a plug stuck in your butt?" She pauses for the briefest of moments and, before you can reply, she adds. "I don''t care what reasons you have - it is simply unacceptable to wear a buttplug to school... or <i>not to</i> wear underwear. I will note this down as additional demerits; don''t let me catch you doing this again, <<$pcs_lastname>>. Do you understand me?" Without waiting for a response, she pulls out a large wooden paddle and gives you a hard smack across your bare butt. You jerk a bit in reflex - she is a strong woman and her blows sting quite a bit. She is obviously trying to spank your butt with enough force to teach you a lesson... and it''s kinda working, too.'
				*nl
				'You silently take your punishment. It almost brings you to tears... but a part of you gets turned on by it as well - a circumstance you don''t want her to know about. You don''t have to play along much to hide it either: It <b>really</b> hurts, even if you are enjoying it too, so you wither around and whimper as she spanks you for a good solid minute or three, until your butt is bright red and feels like it''s radiating heat.'
				*nl
				'Then she lifts you back to your feet. "I hope this has taught you a lesson; I don''t want to see you in my office anymore, <<$pcs_lastname>>. You can return to your classes now." With that, she goes back to her desk and you pull your skirt down, making sure your naked privates and plug are properly covered, before heading back to class.'
!!this part only shows up if detention is allowed.
				detention_set = 1
				'Just before you walk out the door she adds. "I am also giving you detention this Saturday, do not miss it."'
				gs 'arousal', 'foreplay', 5, 'maso', 'rough'
				gs 'arousal', 'end'
				gs 'stat'

				act 'Go to class':gt 'gschool_lessons', 'class'
			end
			act '"I like the way it feels"':
				*clr
				cla
				'<center><img src="images/characters/pavlovsk/school/teacher/aleksandrina/angry.jpg"></center>'
				'"I don''t like wearing them; the freedom I feel when I don''t have them on is incredible, and the sensations of having a plug in my ass are..."'
				*nl
				'You stop when you realize how quickly your headmaster''s face darkens. A blind man could tell she is angry with you, even without the shrill tone of her voice: "I don''t care if you don''t like wearing them, you will not walk around my school like some whore. Do you understand me?"'
				act 'Yes':
					cls
					gs 'pain', 7, 'asscheeks', 'spank'
					gs 'stat'
					'<center><img src="images/characters/pavlovsk/school/teacher/aleksandrina/sex/school/schoolpaddle1.jpg"></center>'
					'"Yes, I understand, I won''t let it happen again," you respond meekly. She nods, pulls out a large wooden paddle and gives you a hard smack across your bare butt. You jerk a bit in reflex - she is a strong woman and her blows sting quite a bit. She is obviously trying to spank your butt with enough force to teach you a lesson... and it''s kinda working, too.'
					*nl
					'You silently take your punishment. It almost brings you to tears... but a part of you gets turned on by it as well - a circumstance you don''t want her to know about. You don''t have to play along much to hide it either: It <b>really</b> hurts, even if you are enjoying it too, so you wither around and whimper as she spanks you for a good solid minute or three, until your butt is bright red and feels like it''s radiating heat.'
					*nl
					'Then she lifts you back to your feet. "I hope this has taught you a lesson; I don''t want to see you in my office anymore, <<$pcs_lastname>>. You can return to your classes now." With that, she goes back to her desk and you pull your skirt down, making sure your naked privates and plug are properly covered, before heading back to class.'
!!this part only shows up if detention is allowed.
					detention_set = 1
					'Just before you walk out the door she adds. "I am also giving you detention this Saturday, do not miss it."'
					gs 'arousal', 'foreplay', 5, 'maso', 'rough'
					gs 'arousal', 'end'
					gs 'stat'

					act 'Go to class':gt 'gschool_lessons', 'class'
				end
				act 'No':
					*clr
					cla
					'<center><img src="images/characters/pavlovsk/school/teacher/aleksandrina/angry.jpg"></center>'
					'"No, I''m not gonna let you tell me what I can or can''t wear," you say in a haughty voice; it''s not like she can force you, right?'
					*nl
					'She gives you a long, hard look and her eyes narrow dangerously. "Fine, if that is what you wanna be... but this is a school, <b>your</b> school, and as your teacher, I will show you how to be a proper whore."'

					act 'See how she treats a whore': gt 'gschool_lessons', 'whore'
				end
			end
			act 'Flirt':
				*clr
				cla
				'<center><img src="images/locations/pavlovsk/school/principal/flirt.jpg"></center>'
				'You wiggle your butt around a bit. "I wore it for you. Like what you see?"'
				'"Stop acting like some little whore right this moment!", she says in a stern voice, obviously not pleased by you or your antics.'
				'You smile at her. "Come on and give my ass a slap, you know you want to."'
				*nl
				'She gives you a long, hard look and her eyes narrow dangerously. "Fine, if that is what you wanna be... but this is a school, <b>your</b> school, and as your teacher, I will show you how to be a proper whore."'

				act 'See how she treats a whore': gt 'gschool_lessons', 'whore'
			end
		else
			act 'See how she treats a whore': gt 'gschool_lessons', 'whore'
		end
	end
end

if $ARGS[0] = 'whore':
	*clr
	cla
	'<center><img src="images/characters/pavlovsk/school/teacher/aleksandrina/sex/school/whore.jpg"></center>'
	'"Strip off your clothes." When you hesitate, she adds: "Either that or I call your parents right now and tell them why you are being expelled from school." A cold chill runs down your spine at the thought - could she really expel you for this? Unwilling to test her and with little choice in the matter, you strip off your clothes. Once you are down to just your shoes and socks, she pulls you across her lap and starts giving your bare ass a hard spanking with her hand. She hits you with full force every single time and keeps it up until her own hand starts to sting and she stops. You''re starting to think you''re done then she grips you by the hair and bends you over her desk instead.'
	act 'She takes out the paddle':
		*clr
		cla
		'<center><img src="images/characters/pavlovsk/school/teacher/aleksandrina/sex/school/whore1.jpg"></center>'
		'Once bent over her desk, she takes out a large paddle and spanks you hard with it, leaving your ass red and throbbing. After a while, the pain is really starting to get to you, and she doesn''t seem to have any intention of stopping. Finally, after many minutes, she seems to be getting tired, her hits lack the zip the early ones had. She pulls you away from the desk and turns you to face the other way, then forces you down to your knees. "Stay like this", she commands, and walks behind you, back to her desk.'
		act 'When she comes back...':
			*clr
			cla
			'<center><img src="images/characters/pavlovsk/school/teacher/aleksandrina/sex/school/whore4.jpg"></center>'
			'You hear her rummaging around in her desk for a moment and then... well, you can''t really sort the sounds and you don''t dare looking at her. But sure enough, she comes back into view a couple of minutes later, wearing a rather large strap-on. Your eyes widen a bit in shock at the sight of it, and while you''re still preoccupied with working through your surprise, she closes the gap between you and starts rubbing the tip of the dildo against your lips, as if trying to force it into your mouth. "Open your mouth like the good little whore you so desperately want to be."'
			act 'Suck it':
				cls
				gs 'boyStat', 64
				'<center><img src="images/characters/pavlovsk/school/teacher/aleksandrina/sex/school/whore5.jpg"></center>'
				'You barely even have time to open your mouth at all before she shoves the <<dick>>cm <<$dick_girth>> strap-on inside and down your throat, causing you to start gagging at once. Unconcerned by this, she shoves the dildo as far down your throat as it will physically go and then she starts roughly fucking your throat with it, barely giving you any time to catch your breath. After several minutes, your throat feels like it is on fire and she finally stops, finally giving you time to gulp down the air you so desperately needed. As you do, she lifts you up and bends you over her desk once more. She briefly slips one finger into your pussy, likely checking if you are a virgin.'
				gs 'arousal', 'bj', 5, 'lesbian', 'humiliation', 'sub', 'deepthroat'
				gs 'stat'
				if pcs_vag = 0:
					'"I must admit, I am very surprised anyone acting like such a whore like yourself would still be a virgin. I suppose that means you are one of those girls that just let the boys use their other holes instead."'
					act 'Get your ass fucked': gt 'gschool_lessons', 'whore2'
				else
					act 'Get fucked':
						cls
						'<center><img src="images/characters/pavlovsk/school/teacher/aleksandrina/sex/school/whore6.jpg"></center>'
						'Lifting one of your legs up to place your knee on the desk, you know what is about to come next, and though knowing itself only helps so much, the natural wetness of your pussy and your slobber on the dildo absolutely do. It hurts a little when she shoves the <<dick>>cm <<$dick_girth>> strap-on basically all the way into your twat, and the moan you give is one of both pain and pleasure. "You even moan like a little whore," the Principal says as she hammers the dildo''s full length into you repeatedly.'
						gs 'arousal', 'vaginal', 5, 'lesbian', 'humiliation', 'sub'
						gs 'stat'

						act 'Get your ass fucked': gt 'gschool_lessons', 'whore2'
					end
				end
			end
		end
	end
end

if $ARGS[0] = 'whore2':
	cls
	'<center><img src="images/characters/pavlovsk/school/teacher/aleksandrina/sex/school/whore7.jpg"></center>'
	'She half-lifts, half-pushes you onto her desk where she has you kneel down and sit back until you''re touching your heels. With your feet dangling off the edge of the desk, your backdoor is easily accessible, which seems to be the idea - you feel the pressure of the <<dick>>cm <<$dick_girth>> strap-on against you anus. It only lasts for a moment, though: As soon as she is sure she has it lined up, she shoves the dildo up your ass. Given how unprepared you were and that the only lubrication was whatever wetness clung to the dildo, your cry of pain was surprisingly soft, but your first reflex still is to move forward.'
	*nl
	'Realizing that, she grabs hold of your hips to keep you from pulling away. "I''m not done with you yet, <<$pcs_lastname>>. This is what whores do every day, and they have to like it," she says as she pounds the dildo into your ass. The first few thrusts are the worst, even worse than the initial penetration... but after a while - and maybe also due to the Principal spitting on your puckered hole several times - the pain subsides to tolerable levels and it starts feeling good, <i>really</i> good. Soft moans escape your lips as she pounds your little ass. No longer trying to pull away, you are pushing back against her.' 
	'"Now you''re acting like a good little whore," she comments, and with your only response being another moan and thrust against her, she is not wrong.'
	gs 'arousal', 'anal', 5, 'lesbian', 'humiliation', 'sub'
	gs 'stat'
	act 'Take it deep':
		cls
		'<center><img src="images/characters/pavlovsk/school/teacher/aleksandrina/sex/school/whore8.jpg"></center>'
		'She pulls out of you and part of you is relieved... but another part of you wants her to keep going. She pushes you forward until your elbows touch the top of her desk, and once you are on your hands and knees, she climbs onto the desk behind you. It seems she isn''t actually done after all, slipping the <<dick>>cm <<$dick_girth>> dildo back into your gaping ass and sliding inside with ease.'
		*nl
		'Her one hand holds onto your hips for leverage, but with the other she grabs a handful of your hair and painfully pulls and twists it as she starts jackhammering your ass again.'
		*nl
		'Many more minutes pass, and while it did feel extraordinarily good for a while, your butt is now starting to get really sore and hurt; all the lubrication seems to have come off the dildo and the friction is turning every thrust into a bigger (literal) pain in the ass than the last. You grit your teeth and bear it as best you can, but eventually it starts hurting so much that your ass feels like it is on fire and you beg: "Please, Miss Volkov, please stop, it is really starting to hurt!"'
		$orgasm_txt = 'As she gives your ass a merciless pounding, you can feel that familiar tingling building up inside of your body, and soon an orgasm crashes over you. You start humping back against her as she fucks your ass while the orgasm courses through your body. Barely coherent, you hear her say something along the lines of "that''s right, my little whore, moan and orgasm like the dirty little anal slut you are", and eventually the sensation passes... but she doesn''t stop fucking you.'
		gs 'arousal', 'anal', 10, 'lesbian', 'humiliation', 'sub'
		gs 'stat'
		$orgasm_txt = ''
		*nl
		'"I thought you wanted to act like a little whore in my school. Are you saying you changed your mind?", she asks as she pulls nearly completely out and then slams the entire shaft back in again.'
		*nl
		'You cry out in agony; at this point, you''d be willing to do just about anything to stop this. "Yes! Yes, I changed my mind! I''m sorry, Principal, I don''t want to be a whore. Please stop!"'
		*nl
		'For a moment you don''t know what she''s going to do, and are nonetheless surprised, let alone relieved, when she pulls out. "Very well", she says, "roll over."'
		act 'Roll over':
			cls
			'<center><img src="images/characters/pavlovsk/school/teacher/aleksandrina/sex/school/whore9.jpg"></center>'
			'You do as she tells you and roll over, now belly-up on her desk. She steps one leg off the desk, straddling your face, and lowers her pussy right over your mouth. "Good little whores get their customers off. Maybe you have changed your mind, or maybe you just told me what I wanted to hear, but either way, this lesson isn''t over yet. Get licking or I''ll fuck that sore little ass of yours again."'
			*nl
			'Not wanting her to make good on that threat, you start licking her pussy and find it soaking wet already: It would seem the rumors that she used to be or still is a dominatrix really are true, if fucking you raw excited her this much. You lick and suck on her pussy lips and clit, avoiding the center for a few moments, but then slip your tongue into her twat, fucking her pussy as well as you can to get at least a hint of poetic justice. It doesn''t take long until she orgasms and coats your face in her pussy juices.'
			gs 'arousal', 'cuni_give', 5, 'humiliation', 'sub'
			gs 'stat'
			act 'Clean up':
				cls
				'<center><img src="images/characters/pavlovsk/school/teacher/aleksandrina/sex/school/whore10.jpg"></center>'
				'She rises just a bit and then uses her hand to tilt the dildo down to your mouth. "That wasn''t too bad, <<$pcs_lastname>>. All you have to do now is suck my dick clean, and then you can go. Or maybe you''d rather...?" She leaves the exact alternative unspoken, but you have no doubt as to what she is alluding to, and while you''d rather be doing anything else than sucking a large dildo your headmaster just violated your ass with, it beats getting fucked up your sore ass with it again.'
				*nl
				'With the choice rather easy, you obediently open your mouth and start sucking it clean, ignoring both the taste and the throbbing pain in your bowels as best you can.'
				gs 'arousal', 'bj', 2, 'lesbian', 'humiliation', 'sub'
				gs 'arousal', 'end'
				gs 'stat'
				act 'Get out':
					cls
					'<center><img src="images/characters/pavlovsk/school/teacher/aleksandrina/sex/school/whore11.jpg"></center>'
					'Once the Principal deems the dildo clean enough, she removes it from your mouth, gets off the desk and pulls you off as well. She leans against the table and points at the door. "Get your shit and remove yourself from my office right now. If you hurry, you can make it back into the hall and get dressed before the next bell." Your eyes widen slightly at the thought of being forced out into a hall full of the classmates, naked as you are, but the expression on her face and her previous cruelties leave no doubt in your mind that she is serious. You quickly gather your clothes and hurry out of the office.'
					*nl
					'Once out in the hall, you quickly get dressed and try your best to ignore your burning asshole as you do. You barely finish getting yourself in order before the bell rings and the hall fills up with your fellow students. It takes you a moment to realize that the Principal was fucking you for a full class - no wonder your ass started hurting so much. With a new understanding for what school punishment can entail, you go to your next class, trying not to walk too bowlegged.'
					act 'Go to class':gt 'gschool_lessons', 'class'
				end
			end
		end
	end
end


if $ARGS[0] = 'npc_data':
!!$npc_firstname[i] - npc given name stored since MGX
!!$npc_nickname[i] - npc nick name stored since MGX
!!$npc_lastname[i] - npc surname name stored since MGX
!!$npc_usedname[i] - npc usual used name name stored since MGX
!!$npc_notes[i] - npc character description stored since MGX
!!npc_rel[i] - npc relationship stored since MGX
!!npc_love[i] - npc lust for PC stored since MGX
!!npc_gender[i] - 0 - male, 1 - female stored since MGX
!!npc_rel['A<<i>>'] - Starting relationship
!!npcPol[i] - sex, 0 - male, 1 - female
!!grupTipe[i] - social group, -1 - outcasts, 1 - nerds, 2 - jocks, 3 - cool kids, 4 - gopnik, 0 - teachers
!!1 - cool kids
!!2 - jocks
!!3 - nerds
!!4 - Gopnik
!!5 - outcasts
!!6 - teachers

!!
!!===========================Male Students=======================
!!
!!Dimka Nosov
	$static_num[1] = 'A1'
	npcPol[1] = 0
	grupTipe[1] = 1
	$npcGo[1] = '<a href="exec:numnpc = 1 & gt ''Snpc''"><<$npc_firstname[''A1'']>> <<$npc_lastname[''A1'']>></a>'

!!Artem Chebotarev
	$static_num[2] = 'A2'
	npcPol[2] = 0
	grupTipe[2] = 3
	$npcGo[2] = '<a href="exec:numnpc = 2 & gt ''Snpc''"><<$npc_firstname[''A2'']>> <<$npc_lastname[''A2'']>></a>'

!!Ivan Prokhorov
	$static_num[3] = 'A3'
	npcPol[3] = 0
	grupTipe[3] = 2
	$npcGo[3] = '<a href="exec:numnpc = 3 & gt ''Snpc''"><<$npc_firstname[''A3'']>> <<$npc_lastname[''A3'']>></a>'

!!Igor Kruglov
	$static_num[4] = 'A4'
	npcPol[4] = 0
	grupTipe[4] = 1
	$npcGo[4] = '<a href="exec:numnpc = 4 & gt ''Snpc''"><<$npc_firstname[''A4'']>> <<$npc_lastname[''A4'']>></a>'

!!Fedor Kozlov
	$static_num[5] = 'A5'
	npcPol[5] = 0
	if fedormasha = 1: grupTipe[5] = 5
	if fedormasha = 0: grupTipe[5] = 2
	$npcGo[5] = '<a href="exec:numnpc = 5 & gt ''Snpc''"><<$npc_firstname[''A5'']>> <<$npc_lastname[''A5'']>></a>'

!!Petka Klyuyev
	$static_num[6] = 'A6'
	npcPol[6] = 0
	grupTipe[6] = 3
	$npcGo[6] = '<a href="exec:numnpc = 6 & gt ''Snpc''"><<$npc_firstname[''A6'']>> <<$npc_lastname[''A6'']>></a>'

!!Lesco Tsarev
	$static_num[7] = 'A7'
	npcPol[7] = 0
	grupTipe[7] = 5
	$npcGo[7] = '<a href="exec:numnpc = 7 & gt ''Snpc''"><<$npc_firstname[''A7'']>> <<$npc_lastname[''A7'']>></a>'

!!Svyatoslav Voinov
	$static_num[8] = 'A8'
	npcPol[8] = 0
	grupTipe[8] = 2
	$npcGo[8] = '<a href="exec:numnpc = 8 & gt ''Snpc''"><<$npc_firstname[''A8'']>> <<$npc_lastname[''A8'']>></a>'

!!Vitek Kotov
	$static_num[9] = 'A9'
	npcPol[9] = 0
	grupTipe[9] = 4
	$npcGo[9] = '<a href="exec:numnpc = 9 & gt ''Snpc''"><<$npc_firstname[''A9'']>> <<$npc_lastname[''A9'']>></a>'

!!Dan Ryzhov
	$static_num[10] = 'A10'
	npcPol[10] = 0
	grupTipe[10] = 4
	$npcGo[10] = '<a href="exec:numnpc = 10 & gt ''Snpc''"><<$npc_firstname[''A10'']>> <<$npc_lastname[''A10'']>></a>'

!!Vasily Shulgin
	$static_num[11] = 'A11'
	npcPol[11] = 0
	grupTipe[11] = 4
	$npcGo[11] = '<a href="exec:numnpc = 11 & gt ''Snpc''"><<$npc_firstname[''A11'']>> <<$npc_lastname[''A11'']>></a>'

!!Marcus Larson
	$static_num[27] = 'A146'
	npcPol[27] = 0
	grupTipe[27] = 1
	$npcGo[27] = '<a href="exec:numnpc = 27 & gt ''Snpc''"><<$npc_firstname[''A146'']>> <<$npc_lastname[''A146'']>></a>'

!!Andrey Aleksandrov
	$static_num[28] = 'A147'
	npcPol[28] = 0
	grupTipe[28] = 1
	$npcGo[28] = '<a href="exec:numnpc = 28 & gt ''Snpc''"><<$npc_firstname[''A147'']>> <<$npc_lastname[''A147'']>></a>'

!!Mefodiy Utkin
	$static_num[29] = 'A148'
	npcPol[29] = 0
	grupTipe[29] = 1
	$npcGo[29] = '<a href="exec:numnpc = 29 & gt ''Snpc''"><<$npc_firstname[''A148'']>> <<$npc_lastname[''A148'']>></a>'

!!Lazar Utkin
	$static_num[32] = 'A149'
	npcPol[32] = 0
	grupTipe[32] = 2
	$npcGo[32] = '<a href="exec:numnpc = 32 & gt ''Snpc''"><<$npc_firstname[''A149'']>> <<$npc_lastname[''A149'']>></a>'

!!Erast Vagin
	$static_num[33] = 'A150'
	npcPol[33] = 0
	grupTipe[33] = 2
	$npcGo[33] = '<a href="exec:numnpc = 33 & gt ''Snpc''"><<$npc_firstname[''A150'']>> <<$npc_lastname[''A150'']>></a>'

!!Evgeny Kuznetsov
	$static_num[35] = 'A151'
	npcPol[35] = 0
	grupTipe[35] = 3
	$npcGo[35] = '<a href="exec:numnpc = 35 & gt ''Snpc''"><<$npc_firstname[''A151'']>> <<$npc_lastname[''A151'']>></a>'

!!Feofan Krupin
	$static_num[36] = 'A152'
	npcPol[36] = 0
	grupTipe[36] = 3
	$npcGo[36] = '<a href="exec:numnpc = 36 & gt ''Snpc''"><<$npc_firstname[''A152'']>> <<$npc_lastname[''A152'']>></a>'

!!Gerasim Vasilyev
	$static_num[37] = 'A153'
	npcPol[37] = 0
	grupTipe[37] = 3
	$npcGo[37] = '<a href="exec:numnpc = 37 & gt ''Snpc''"><<$npc_firstname[''A153'']>> <<$npc_lastname[''A153'']>></a>'

!!Radomir Popov
	$static_num[39] = 'A154'
	npcPol[39] = 0
	grupTipe[39] = 4
	$npcGo[39] = '<a href="exec:numnpc = 39 & gt ''Snpc''"><<$npc_firstname[''A154'']>> <<$npc_lastname[''A154'']>></a>'

!!Lavrenti Romanov
	$static_num[40] = 'A155'
	npcPol[40] = 0
	grupTipe[40] = 4
	$npcGo[40] = '<a href="exec:numnpc = 40 & gt ''Snpc''"><<$npc_firstname[''A155'']>> <<$npc_lastname[''A155'']>></a>'

!!Arkadi Fyodorov
	$static_num[41] = 'A156'
	npcPol[41] = 0
	grupTipe[41] = 4
	$npcGo[41] = '<a href="exec:numnpc = 41 & gt ''Snpc''"><<$npc_firstname[''A156'']>> <<$npc_lastname[''A156'']>></a>'

!!Roman Yakovlev
	$static_num[42] = 'A157'
	npcPol[42] = 0
	grupTipe[42] = 4
	$npcGo[42] = '<a href="exec:numnpc = 42 & gt ''Snpc''"><<$npc_firstname[''A157'']>> <<$npc_lastname[''A157'']>></a>'

!!Valentin Bogdanov
	$static_num[43] = 'A158'
	npcPol[43] = 0
	grupTipe[43] = 4
	$npcGo[43] = '<a href="exec:numnpc = 43 & gt ''Snpc''"><<$npc_firstname[''A158'']>> <<$npc_lastname[''A158'']>></a>'

!!Petia Alkaev
	$static_num[47] = 'A159'
	npcPol[47] = 0
	grupTipe[47] = 5
	$npcGo[47] = '<a href="exec:numnpc = 47 & gt ''Snpc''"><<$npc_firstname[''A159'']>> <<$npc_lastname[''A159'']>></a>'

!!
!!===========================Female Students=======================
!!
!!Julia Milov
	$static_num[12] = 'A12'
	npcPol[12] = 1
	grupTipe[12] = 3
	$npcGo[12] = '<a href="exec:numnpc = 12 & gt ''Snpc''"><<$npc_firstname[''A12'']>> <<$npc_lastname[''A12'']>></a>'

!!Lariska Gruzdeva
	$static_num[13] = 'A13'
	npcPol[13] = 1
	grupTipe[13] = 2
	$npcGo[13] = '<a href="exec:numnpc = 13 & gt ''Snpc''"><<$npc_firstname[''A13'']>> <<$npc_lastname[''A13'']>></a>'

!!Katja Meynold
	$static_num[14] = 'A14'
	npcPol[14] = 1
	grupTipe[14] = 1
	$npcGo[14] = '<a href="exec:numnpc = 14 & gt ''Snpc''"><<$npc_firstname[''A14'']>> <<$npc_lastname[''A14'']>></a>'

!!Vicky Meynold
	$static_num[15] = 'A15'
	npcPol[15] = 1
	grupTipe[15] = 1
	$npcGo[15] = '<a href="exec:numnpc = 15 & gt ''Snpc''"><<$npc_firstname[''A15'']>> <<$npc_lastname[''A15'']>></a>'

!!Natasha Belova
	$static_num[16] = 'A16'
	npcPol[16] = 1
	grupTipe[16] = 3
	$npcGo[16] = '<a href="exec:numnpc = 16 & gt ''Snpc''"><<$npc_firstname[''A16'']>> <<$npc_lastname[''A16'']>></a>'

!!Inna Devyatova
	$static_num[17] = 'A17'
	npcPol[17] = 1
	grupTipe[17] = 1
	$npcGo[17] = '<a href="exec:numnpc = 17 & gt ''Snpc''"><<$npc_firstname[''A17'']>> <<$npc_lastname[''A17'']>></a>'

!!Christina Zvereva
	$static_num[18] = 'A18'
	npcPol[18] = 1
	if zverSlutQW >= 2:
		grupTipe[18] = 0
	else
		grupTipe[18] = 2
	end
	$npcGo[18] = '<a href="exec:numnpc = 18 & gt ''Snpc''"><<$npc_firstname[''A18'']>> <<$npc_lastname[''A18'']>></a>'

!!Lina Starov
	$static_num[19] = 'A19'
	npcPol[19] = 1
	grupTipe[19] = 2
	$npcGo[19] = '<a href="exec:numnpc = 19 & gt ''Snpc''"><<$npc_firstname[''A19'']>> <<$npc_lastname[''A19'']>></a>'

!!Lena Kotova
	$static_num[20] = 'A20'
	npcPol[20] = 1
	grupTipe[20] = 4
	$npcGo[20] = '<a href="exec:numnpc = 20 & gt ''Snpc''"><<$npc_firstname[''A20'']>> <<$npc_lastname[''A20'']>></a>'

!!Lera Tsarev
	$static_num[21] = 'A21'
	npcPol[21] = 1
	grupTipe[21] = 4
	$npcGo[21] = '<a href="exec:numnpc = 21 & gt ''Snpc''"><<$npc_firstname[''A21'']>> <<$npc_lastname[''A21'']>></a>'

!!Bella Artamonov
	$static_num[22] = 'A22'
	npcPol[22] = 1
	grupTipe[22] = 2
	$npcGo[22] = '<a href="exec:numnpc = 22 & gt ''Snpc''"><<$npc_firstname[''A22'']>> <<$npc_lastname[''A22'']>></a>'

!!Albina Barlovskaya
	$static_num[23] = 'A23'
	npcPol[23] = 1
	grupTipe[23] = 1
	$npcGo[23] = '<a href="exec:numnpc = 23 & gt ''Snpc''"><<$npc_firstname[''A23'']>> <<$npc_lastname[''A23'']>></a>'

!!Pauline Sebagotulina
	$static_num[24] = 'A24'
	npcPol[24] = 1
	grupTipe[24] = 4
	$npcGo[24] = '<a href="exec:numnpc = 24 & gt ''Snpc''"><<$npc_firstname[''A24'']>> <<$npc_lastname[''A24'']>></a>'

!!Sonia Ivanko
	$static_num[25] = 'A25'
	npcPol[25] = 1
	if soniaPS > 0:
		grupTipe[25] = 5
	else
		grupTipe[25] = 1
	end
	$npcGo[25] = '<a href="exec:numnpc = 25 & gt ''Snpc''"><<$npc_firstname[''A25'']>> <<$npc_lastname[''A25'']>></a>'

!!Stasya Pavlov
	$static_num[30] = 'A139'
	npcPol[30] = 1
	grupTipe[30] = 1
	$npcGo[30] = '<a href="exec:numnpc = 30 & gt ''Snpc''"><<$npc_firstname[''A139'']>> <<$npc_lastname[''A139'']>></a>'

!!Lizaveta Petrov
	$static_num[31] = 'A140'
	npcPol[31] = 1
	grupTipe[31] = 1
	$npcGo[31] = '<a href="exec:numnpc = 31 & gt ''Snpc''"><<$npc_firstname[''A140'']>> <<$npc_lastname[''A140'']>></a>'

!!Veronika Sokolov
	$static_num[34] = 'A141'
	npcPol[34] = 1
	grupTipe[34] = 2
	$npcGo[34] = '<a href="exec:numnpc = 34 & gt ''Snpc''"><<$npc_firstname[''A141'']>> <<$npc_lastname[''A141'']>></a>'

!!Zinaida Alkaev
	$static_num[38] = 'A142'
	npcPol[38] = 1
	grupTipe[38] = 3
	$npcGo[38] = '<a href="exec:numnpc = 38 & gt ''Snpc''"><<$npc_firstname[''A142'']>> <<$npc_lastname[''A142'']>></a>'

!!Alyona Alkaev
	$static_num[44] = 'A143'
	npcPol[44] = 1
	grupTipe[44] = 4
	$npcGo[44] = '<a href="exec:numnpc = 44 & gt ''Snpc''"><<$npc_firstname[''A143'']>> <<$npc_lastname[''A143'']>></a>'

!!Anushka Konstantinov
	$static_num[45] = 'A144'
	npcPol[45] = 1
	grupTipe[45] = 4
	$npcGo[45] = '<a href="exec:numnpc = 45 & gt ''Snpc''"><<$npc_firstname[''A144'']>> <<$npc_lastname[''A144'']>></a>'

!!Ekaterina Maksimov
	$static_num[46] = 'A145'
	npcPol[46] = 1
	grupTipe[46] = 4
	$npcGo[46] = '<a href="exec:numnpc = 46 & gt ''Snpc''"><<$npc_firstname[''A145'']>> <<$npc_lastname[''A145'']>></a>'

!!
!!===========================Teachers=======================
!!
!!Anatoly E. Tsarev
	$static_num[26] = 'A26'
	npcPol[26] = 0
	grupTipe[26] = 6
	$npcGo[26] = '<a href="exec:numnpc = 26 & GT ''Snpc''"><<$npc_firstname[''A26'']>> <<$npc_lastname[''A26'']>></a>'

!!Ilya Yenotin
	$static_num[48] = 'A130'
	npcPol[48] = 0
	grupTipe[48] = 6
	$npcGo[48] = '<a href="exec:numnpc = 48 & GT ''Snpc''"><<$npc_firstname[''A130'']>> <<$npc_lastname[''A130'']>></a>'

!!Viktor Pavlovich
	$static_num[49] = 'A131'
	npcPol[49] = 0
	grupTipe[49] = 6
	$npcGo[49] = '<a href="exec:numnpc = 49 & GT ''Snpc''"><<$npc_firstname[''A131'']>> <<$npc_lastname[''A131'']>></a>'

!!Aleksandrina Volkov
	$static_num[50] = 'A134'
	npcPol[50] = 1
	grupTipe[50] = 6
	$npcGo[50] = '<a href="exec:numnpc = 50 & GT ''Snpc''"><<$npc_firstname[''A134'']>> <<$npc_lastname[''A134'']>></a>'

!!Yeva Sokoloff
	$static_num[51] = 'A135'
	npcPol[51] = 1
	grupTipe[51] = 6
	$npcGo[51] = '<a href="exec:numnpc = 51 & GT ''Snpc''"><<$npc_firstname[''A135'']>> <<$npc_lastname[''A135'']>></a>'

!!Serafim Ivanov
	$static_num[52] = 'A129'
	npcPol[52] = 0
	grupTipe[52] = 6
	$npcGo[52] = '<a href="exec:numnpc = 52 & GT ''Snpc''"><<$npc_firstname[''A129'']>> <<$npc_lastname[''A129'']>></a>'

!!Olga Aleksandrov
	$static_num[53] = 'A136'
	npcPol[53] = 1
	grupTipe[53] = 6
	$npcGo[53] = '<a href="exec:numnpc = 53 & GT ''Snpc''"><<$npc_firstname[''A136'']>> <<$npc_lastname[''A136'']>></a>'

!!Raven Braakman
	$static_num[54] = 'A137'
	npcPol[54] = 1
	grupTipe[54] = 6
	$npcGo[54] = '<a href="exec:numnpc = 54 & GT ''Snpc''"><<$npc_firstname[''A137'']>> <<$npc_lastname[''A137'']>></a>'

!!Arina Orlov
	$static_num[55] = 'A138'
	npcPol[55] = 1
	grupTipe[55] = 6
	$npcGo[55] = '<a href="exec:numnpc = 55 & GT ''Snpc''"><<$npc_firstname[''A138'']>> <<$npc_lastname[''A138'']>></a>'

!!Ruslan Kuznetsov
	$static_num[56] = 'A132'
	npcPol[56] = 0
	grupTipe[56] = 6
	$npcGo[56] = '<a href="exec:numnpc = 56 & GT ''Snpc''"><<$npc_firstname[''A132'']>> <<$npc_lastname[''A132'']>></a>'

!!Makar Vasilyev
	$static_num[57] = 'A128'
	npcPol[57] = 0
	grupTipe[57] = 6
	$npcGo[57] = '<a href="exec:numnpc = 57 & GT ''Snpc''"><<$npc_firstname[''A128'']>> <<$npc_lastname[''A128'']>></a>'

!!Rolan Matveev
	$static_num[58] = 'A133'
	npcPol[58] = 0
	grupTipe[58] = 0
	$npcGo[58] = '<a href="exec:numnpc = 58 & GT ''Snpc''"><<$npc_firstname[''A133'']>> <<$npc_lastname[''A133'']>></a>'

end

--- gschool_lessons ---------------------------------

