# gschool_lessons

!!exhibition_exp += 3  -  This is an example for adding gains to exhibitionism


if $ARGS[0] = 'morning':
	if detention_set = 1 and week = 1:
		cls
		detention_set = 2
		'<center><img <<$set_imgh>> 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_office', 'principal'
	else

	    '<center><b><font color="maroon">School Hallway</font></b></center>'
	    '<center><img <<$set_imgh>> 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
			*clr
			'<center><b><font color="maroon">School Hallway</font></b></center>'
	        '<center><img <<$set_imgh>> 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_girls_bathroom', 'start'
			act 'Go to boy''s bathroom': gt 'gschool_boys_bathroom', 'start'
	!!		act 'Go to old school building': gt
		end
	end
end

if $ARGS[0] = 'class':
	if hour = 10:
		minut += 60
		school_lunch = 0
		urand = rand(0, 8)
		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 ! 14:
		gt 'gschool_lessons', 'afternoon2'
	end
	cla
	if hour <= 11 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 <<$set_imgh>> 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 pav_slut >= 25:'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 <<$set_imgh>> 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 <<$set_imgh>> 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 <<$set_imgh>> 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 <<$set_imgh>> 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 <<$set_imgh>> 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 <<$set_imgh>> 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 <<$set_imgh>> 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 <<$set_imgh>> 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 <<$set_imgh>> 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 <<$set_imgh>> 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 <<$set_imgh>> 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':
			*clr & cla
			pcs_grades -= 1
			if RAND(1,2) = 1:
				'<center><img <<$set_imgh>> 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 <<$set_imgh>> 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 <<$set_imgh>> 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 <<$set_imgh>> 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
			*clr & cla
			pcs_grades -= 1

			if RAND(1,3) = 1:
				'<center><img <<$set_imgh>> 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 <<$set_imgh>> 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.
	act 'Go to class':gt 'gschool_lessons', 'afternoon2'
	act 'Skip one of your classes':
		cla
		*clr
		''
		'<center><b><font color="maroon">School Hallway</font></b></center>'
	    '<center><img <<$set_imgh>> 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_girls_bathroom', 'start'
		act 'Go to boy''s bathroom': gt 'gschool_boys_bathroom', 'start'
!!		act 'Go to old school building': gt
	end
end

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

	if week ! 1 and week ! 3 and week ! 5:
		urand = rand(0, 8)
		lernSkill += 1
		lernHome += 1
		gt 'gschool_lessons', 'class'
	else
		gs 'stat'
		school_event_hour = 0
		'<center><img <<$set_imgh>> 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 <<$set_imgh>> 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 <<$set_imgh>> 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 <<$set_imgh>> 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:
			gs 'exercise', 'tier2', 1, 'agil_exp'

			'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:
			gs 'exercise', 'tier2', 1, 'stren_exp'
			gs 'stat'
			'After the roll call, Mr. Pavlovich announces that you will all be doing pull-ups today.'
			act 'Pull ups':
				*clr
				cla
				gs 'exercise', 'tier2', 1, 'stren_exp'
				if temper >= 18 and sunWeather = 1:
					'<center><img <<$set_imgh>> 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 <<$set_imgh>> 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:
			gs 'exercise', 'tier2', 1, 'vital_exp'
			gs 'stat'
			'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 <<$set_imgh>> 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 <<$set_imgh>> 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 <<$set_imgh>> 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
			gs 'exercise', 'tier2', 1, 'stren_exp'
			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 <<$set_imgh>> 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 <<$set_imgh>> 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 <<$set_imgh>> 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 <<$set_imgh>> 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 <<$set_imgh>> src="images/characters/pavlovsk/school/girl/christina/sex/school/chcoachbj.jpg"></center>'
					if pav_slut < 25:
						'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 pav_slut >= 25:
						'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 <<$set_imgh>> 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 <<$set_imgh>> 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 <<$set_imgh>> 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 <<$set_imgh>> 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 <<$set_imgh>> 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'
	$metka = 'postphys2'
	$loc = 'gschool_lessons'
	$location_type = 'bathroom'
	$locM = 'gschool_lessons'
	$metkaM = 'postphys2'

	gs 'stat'
	'<center><img <<$set_imgh>> 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': gt 'mirror', 'start'
	if pcs_hairbsh = 0: act 'Brush your hair': gt 'mirror', 'brush'
end

if $ARGS[0] = 'shower':
	cls
	shower_shave = 0
	gs 'stat'
    '<center><img <<$set_imgh>> 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 <<$set_imgh>> 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 <<$set_imgh>> 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':
			*clr & 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 <<$set_imgh>> 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 <<$set_imgh>> 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 <<$set_imgh>> 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'
	!Add this so using mirror exits back to this stage instead of pre-shower stage.
	$metkaM = 'dress'
	$loc = 'gschool_lessons'
	gs 'stat'
    '<center><img <<$set_imgh>> 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'
			$rand_girl = func('gschool_randperson', 1, '', 1, 1, 0, 1, 1, 0)
			$rand_girl1 = func('gschool_randperson', 1, $rand_girl, 1, 1, 0, 1, 1, 0)
			'<center><img <<$set_imgh>> 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'
			$rand_girl = func('gschool_randperson', 1, '', 1, 1, 0, 1, 1, 0)
			$rand_girl1 = func('gschool_randperson', 1, $rand_girl, 1, 1, 0, 1, 1, 0)
			'<center><img <<$set_imgh>> 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 <<$set_imgh>> 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 <<$set_imgh>> src="images/locations/pavlovsk/school/gym/sex/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 <<$set_imgh>> 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 <<$set_imgh>> 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 'Use the mirror':gt 'mirror', 'start'
	!!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] = '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 - 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>'

!!Nikolai Volkov
	$static_num[61] = 'A189'
	npcPol[61] = 0
	grupTipe[61] = 4
	$npcGo[61] = '<a href="exec:numnpc = 61 & gt ''Snpc''"><<$npc_firstname[''A189'']>> <<$npc_lastname[''A189'']>></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 ---------------------------------
