# preSYS

!!Background Options
cls
if night_mode = 1:
	fcolor = rgb(255, 255, 255)
	bcolor = rgb(0, 0, 0)
	lcolor = rgb(106, 90, 205)
else
	fcolor = rgb(0, 0, 0)
	bcolor = rgb(255, 255, 255)
	lcolor = rgb(106, 90, 205)
end

!!******************** TG Start Background Options ******************************
if $ARGS[0] = 'TGStart':
!!	Nothing here for now

	gs 'npcstatic1'
	gs 'npcstatic2'
	gs 'npcstatic3'
	gs 'npcstatic4'
	$pcs_dna = func('dna','create')
	
	if tgs_skipinto = 1:
		gt 'preCUST', 'TGStart'
	else
		gt 'preTG', 'roomPRE'
	end
end

!!******************** SG Start Background Options ******************************
if $ARGS[0] = 'SGStart':

	StoryLine = 1

	month = 8
!!	Last friday in August 2016
	$month = 'August'
	day = 26
	week = 5
	hour = 9
	kanikuli = 5
	$holyday = '<b>Summer holidays</b>'

	if player_avatar = 0:
		birthmonth = 4
		birthday = 1
		pcs_haircol = 1
	end

!!	Body
	pcs_hgt = 170
	salo = 80
	dick = 0
	pcs_energy = 60
	water = 60
	pcs_sleep = 70
!!	Stats
	pcs_stren = 30
	strenbuf = 10
	pcs_agil = 30
	agilbuf = 10
	pcs_vital = 30
	vitalbuf = 10
	pcs_intel = 30
	pcs_sprt = 30
	pcs_react = 30
	pcs_chrsm = 30
	pcs_prcptn = 30
	pcs_magik = 0


	pcs_eyesize = 2
	pcs_lip = 1
	pcs_lashes = 1

	pcs_heels = 5
	pcs_makupskl = 20
	pcs_pubes = 30
	pcs_leghair = 12
	pcs_makeup = 1

	money = 2000
	housrA = 0
	pcs_grades = 75
	prezikProver = 3
	brothersawpirsF = 0

!!	********************
	$pcs_firstname = input("What is your first name? (Leave blank for default)")

	if $pcs_firstname = '':$pcs_firstname = 'Svetlana'

	$pcs_lastname = input("What is your last name? (Leave blank for default)")

	if $pcs_lastname = '':$pcs_lastname = 'Lebedev'

	$pcs_nickname = input("What is your nick name? (Note: If you chose a custom name, you have to enter something here!)")

	if $pcs_nickname = '':$pcs_nickname = 'Sveta'
	'<center><img <<$set_imgh>> src="images/pre/sys/altstart.jpg"></center>'
	'Your name is <<$pcs_firstname>> <<$pcs_lastname>>, Friends and family sometimes call you <<$pcs_nickname>>. Your mother''s name is Natasha, and your biological father left before you was born. Your mother married your stepfather, Vladimir, shortly afterwards. Anya is your older sister; she is two years your senior and is still living at home while working at the local grocery story. She chose not to attend college and instead spends most of her free time drinking with her friends or going to parties, much to your mother''s dismay. You have a younger half-brother, Kolka, who is really into sports - especially football - and is shaping up to be a fine athlete. He is a year younger than you are, and his father is your stepfather.'
	*nl
	'Your Aunt Lyuda lives in the same building as you do, though you rarely see her except when you pass her in the stairwell. She is your mother''s sister. Uncle Misha, as everyone calls him, is best friends with your stepfather. Vasily Shulgin, your childhood friend, is the same age as you and grew up living in the same apartment building on the floor above yours. His father, Sergey, is an old friend of your mother''s.'

	act 'Re-enter name/s': gt 'preSYS', 'SGStart'
	act 'Continue':
		cls
		'<center><img <<$set_imgh>> src="images/pre/sys/altstart1.jpg"></center>'
		'Please select how long you have left in school.'
		act 'Begin at the last year of school, age 16 or 17':
			birthyear = 2000
			yearlefttemp = 1
			schoool_year = 2000
			gt 'preSYS', 'SGStart2'
		end
		act 'Begin at the second-to-last year of school, age 15 or 16':
			birthyear = 2001
			yearlefttemp = 2
			schoool_year = 2001
			gt 'preSYS', 'SGStart2'
		end
	end
end

if $ARGS[0] = 'SGStart2':
!!make sure this image shows up above the text that shows your birthday
	'<center><img <<$set_imgh>> src="images/pre/sys/altstart2.jpg"></center>'
	if birthday < 10 and birthmonth < 10:
		$startdob = 'Your birthday: <B>0<<birthmonth>>/0<<birthday>>/<<birthyear>></B> (MM/DD/YYYY)'
	elseif birthday < 10 and birthmonth >= 10:
		$startdob = 'Your birthday: <B><<birthmonth>>/0<<birthday>>/<<birthyear>></B> (MM/DD/YYYY)'
	elseif birthday >= 10 and birthmonth < 10:
		$startdob = 'Your birthday: <B>0<<birthmonth>>/<<birthday>>/<<birthyear>></B> (MM/DD/YYYY)'
	elseif birthday >= 10 and birthmonth >= 10:
		$startdob = 'Your birthday: <B><<birthmonth>>/<<birthday>>/<<birthyear>></B> (MM/DD/YYYY)'
	end

	if player_avatar = 0:
		'<a href="exec:gt ''begin'', ''birthday''"><<$startdob>></a>.'
	else
		'<<$startdob>>'
	end
	act 'confirm':
		cls
		'<center><img <<$set_imgh>> src="images/pre/sys/altstart26.jpg"></center>'
		'You have two options when it comes to beginning your game. You can start at the end of the summer holiday, very close to starting the new school year, or you can start at the beginning of the summer holiday.'
!!	This is to account for the school year not matching up with the calendar year.
		if birthmonth >= 7: birthyear -= 1
		if birthmonth = 6 and day > 1: birthyear -= 1
		killvar '$startdob'
		act 'Start at the end of August <B>(recommended for new players)</B>':
!!		This is the default start
			kanicont = 6
			gt 'preSYS', 'SGStart3'
		end

!!	This is to prevent to player from starting at 14
		if birthmonth = 6 and yearlefttemp = 2:
			act '<i>Start at the beginning of June</i> Restricted due PC age, set birthday before June or after July to unlock': gt 'preSYS', 'SGStart2'
		else
			act 'Start at the beginning of June':
				month = 6
				$month = 'June'
				day = 1
				week = 3
				kanicont = 92
				gt 'preSYS', 'SGStart3'
			end
		end
	end
end

if $ARGS[0] = 'SGStart3':

	gs 'npcstatic1'
	gs 'npcstatic2'
	gs 'npcstatic3'
	gs 'npcstatic4'
	gs 'npcstatic5'
	$pcs_dna = func('dna','generate',$npc_dna['A29'],$npc_dna['A35'])

!! Sets family relationship values and overwrites the npcstatic data for them
	npc_rel['A28'] = 50
	npc_rel['A29'] = 50
	npc_rel['A30'] = 50
	npc_rel['A31'] = 50
	npc_rel['A32'] = 50
	npc_rel['A33'] = 70
	npc_rel['A34'] = 50

	gs 'gschool_lessons', 'npc_data'

!!default friendship is 30 for all students, except Vasily Shulgin who starts at 60
	r = 1
	:default_friendship_loop
	$static_num = $static_num[r]
	if grupTipe[r] ! 5:npc_rel[$static_num] = 30
	r += 1
	if r <= 65:jump 'default_friendship_loop'

	npc_rel['A11'] = 60
	
	gt 'preSYS', 'charselect'
end


if $ARGS[0] = 'charselect':
	*clr
	cla
	'<center><img <<$set_imgh>> src="images/pre/sys/altstart27.jpg"></center>'
	'Select your personality/social group. Your social group will have a major defining impact upon your life in school, and will determine your starting friends, starting traits, and overall look. While you can always change groups later on, it takes time and effort, so choose wisely. Your five choices of social group are.'
	*nl
	'Nerds, geeks, and good students. - These students tend to do well in school and are well-liked by teachers and other adults, and your parents will also be more proud of you. They tend to not have many friends outside of the geeks and nerds social group, however, and are also sometimes picked on or bullied. They are subpar athletically and place less value on looks and social skills than other cliques.'
	*nl
	'Jocks and natural athletes. - These students are gifted in their chosen sport and are very athletically inclined. This means that they tend to be fit and in good shape, often making them better looking than many of the other students. They get along with other jocks and are respected by the cool kids of the school while being feared by the nerds, geeks and losers. They don''t value academic achievements and can come into conflict with the gopniks and other troublemakers.'
	*nl
	'The popular, cool, and beautiful. - These students are typically socially-gifted and are often blessed with natural good looks. They are envied by many because of this, and most other kids want to be their friends. More than any of the other cliques, they have the ability to ruin someone''s reputation and make them social outcasts, which makes them respected and feared by many students. Being cool and good looking is all they value, so they tend to be subpar athletically and academically.'
	*nl
	'Gopniks, rebels, punks, or troublemakers. - These students don''t play by the rules and, in fact, will often happily piss on them if given half a chance. They are in decent shape from all of their fighting and troublemaking, but their predilection for drinking, smoking and drugs often counteracts this to a point. They are not the most well-liked students; teachers and parents alike take a dim view of them, as does the local police. Most other students fear them, either from the years of bullying or from the gopniks'' willingness to fight. Some students secretly envy their carefree attitude and apparent ability to sneer and wave off many of the social pitfalls that other students face.'
	*nl
	'Losers, teachers'' pets, sluts, and the ugly. - These students are the outcasts - the kids no one likes to spend time with, other than to pick on them or bully them. Perhaps they are just socially awkward and never made many friends, broke one of the unwritten social school rules, or are ugly, a tattle tell, a slut, and/or an outed gay boy. Either way, they all have one thing in common: they are easy targets to bully and mock.'

	act 'Nerd, Geek, Student':
        *clr
		cla
		'<center><img <<$set_imgh>> src="images/pre/sys/altstart3.jpg"></center>'
        'While you were growing up, you spent virtually all of your free time at home, pursuing various cerebral pursuits. These might have included reading comics, fantasy or sci-fi books, learning about chess or computers, or playing cards, board games, or RPGs with the other nerds in addition to faithfully going to school. While you have gained a huge amount of knowledge from this, your lack of interest in exercising as a child has left your body a little frail.'
		*nl
		'The long nights of trying to read in poor light have taken a toll on your eyesight as well, and you now need glasses to be able to read. Your cerebral pursuits have also had somewhat of a negative impact on your friendship with Vasily: as you grew up, he became a gopnik and the two of you slowly started hanging out less and less, although you still consider each other to be friends. On the plus side, doing well in school has made your parents happy and has left you with some extra spending money as a reward for your hard work. Now...'

        act 'I am the queen of the nerds!':
			!!above average looks and average physically fit
            cls
			'<center><img <<$set_imgh>> src="images/pre/sys/altstart8.jpg"></center>'
			alterstrtimg = 8
			'While you love all things nerdy or geeky, what you love the most is hanging out with your fellow nerds and doing nerdy things together. This has made you fairly social for a nerd and more general in your areas of knowledge. As you got older and started to develop as a girl, it also made you much more aware of your sexuality than most nerds are comfortable with. As such, you cultivated that awareness more than most and are now more at ease with your body than most of the other nerds. By the usual nerd standards you are confident, dynamic, and attractive. This has lead to you being the leader of your group of friends, and you are more acceptable to other social groups as a result.'
			act 'Select another': gt 'preSYS', 'charselect'
			act 'Confirm this option':
				gs 'preSYS', 'nerd'
				pcs_intel = 40
				pcs_chrsm = 40
				pcs_sprt = 40
				pcs_grades = 70
				pcs_icesktng = 10
				pcs_humint = 10
				pcs_persuas = 10
				pcs_makupskl = 20
				pcs_exhibition = 15
				pcs_heels = 10
				pirsC = 2
				PirsC2_owned = 1
				gs 'preSYS', 'socialgroup_setting', 10, 5, 10, 5, 5, 0
				grupvalue[3] = 50
				grupvalue[1] = 10
				if player_avatar ! 1: pcs_hairlng = 300
				kosmetica = 10
				shampoo = 20
				stanok = 10
				pcs_eyesize = 3
				pcs_lip = 2
				pcs_lashes = 1
				pcs_skin = 40
				genbsize = 17
				salo = 60
				gt 'preCUST', 'SGStart'
			end
		end

        act 'I am a good student':
            cls
			'<center><img <<$set_imgh>> src="images/pre/sys/altstart9.jpg"></center>'
			'You just love school, and your grades are more than good enough to attend the university of your choosing after graduation - all you have to do is not let your grades slip. You have always tried to absorb every bit of knowledge possible and have done everything you could to excel in school. While this attitude has gained you a lot of respect from the other nerds, it did not earn you a lot of friends and you never found the time for sports. You are often asked to be a tutor and sometimes find yourself forced to do others'' homework for them. You have excellent grades, and your mother is very proud of you. She has shown her appreciation for your hard work by rewarding you with money.'
			act 'Select another': gt 'preSYS', 'charselect'
			act 'Confirm this option':
				gs 'preSYS', 'nerd'
				alterstrtimg = 9
				pcs_intel = 50
				pcs_grades = 90
				pcs_instrmusic = 10
				pcs_artskls = 10
				money += 2000
				grupvalue[6] = 30
				npc_rel['A29'] += 20
				if player_avatar ! 1: pcs_hairlng = 200
				gt 'preCUST', 'SGStart'
			end
		end

        act 'I am a computer geek': 
            cls
			'<center><img <<$set_imgh>> src="images/pre/sys/altstart10.jpg"></center>'
			'You were always into computers, whether it be by playing video games, taking computers apart, or learning programing and even hacking. You love everything about computers, but this passion left you little time to make friends - real-life friends, at least. You have managed to befriend many online players that you talk to while you play various video games, however, and you rarely spend any time outdoors, nor money on clothes or other girly stuff. You are far more interested in saving your money for a better computer in order to play even better games. You have considered hosting a web series of video games or vlogs - you even took the time to learn how to video edit - but you aren’’t sure if you want to put yourself out there like that.'
			act 'Select another': gt 'preSYS', 'charselect'
			act 'Confirm this option':
				gs 'preSYS', 'nerd'
				alterstrtimg = 10
				pcs_intel = 55
				pcs_grades = 80
				pcs_compskl = 40
				pcs_comphckng = 20
				pcs_ttgmng = 30
				npc_rel['A152'] += 10
				npc_rel['A153'] += 10
				npc_rel['A142'] += 15
				npc_rel['A129'] += 10
				komp = 1
				if player_avatar ! 1: pcs_hairlng = 120
				gt 'preCUST', 'SGStart'
			end
		end

        act 'I am a avid Chess player':
            cls
			'<center><img <<$set_imgh>> src="images/pre/sys/altstart11.jpg"></center>'
			'You were always into chess as a child, and you have studied all the great chess masters. You can even name them all as well as their favorite strategies! You find nothing more interesting than matching your wits against someone else’’s in a game of chess. It has left you with the ability to often see the consequences of your actions better than most as you are used to looking several moves ahead. All of this has left you with little time to make many friends, and you rarely spend any time outdoors.'
			act 'Select another': gt 'preSYS', 'charselect'
			act 'Confirm this option':
				gs 'preSYS', 'nerd'
				alterstrtimg = 11
				pcs_intel = 55
				pcs_prcptn = 40
				pcs_react = 40
				pcs_grades = 80
				pcs_chess = 40
				chessyear = year
				chessmonth = month
				npc_rel['A151'] += 20
				if player_avatar ! 1: pcs_hairlng = 200
				gt 'preCUST', 'SGStart'
			end
		end
	end

    act 'Athlete, Jock':
        *clr
		cla
		'<center><img <<$set_imgh>> src="images/pre/sys/altstart4.jpg"></center>'
        'While you were growing up, you spent virtually all of your free time outdoors. You loved playing sports, running, biking, horseback riding, hiking, and most other outdoor activities. This has kept you in fairly good shape as well as decently socially active in a variety of team sports over the years. Doing this, however, negatively impacted your friendship with Vasily somewhat. As you grew up, he became a gopnik and the two of you slowly started hanging out less and less, though you still consider each other to be friends. From all the sports available, you are a...'

        act 'Avid volleyball player!':
            cls
			'<center><img <<$set_imgh>> src="images/pre/sys/altstart12.jpg"></center>'
			'Ever since the first time you played volleyball, you have been in love with the sport. You spent a lot of your free time trying to improve your ability, and it paid off; you''re actually quite good now! Your obsession with volleyball, however, has had some repercussions on your school performance. You''re a sub-par student, and you haven''t made many friends other than your fellow jocks. You are especially close with Lariska and your coach.'
			act 'Select another': gt 'preSYS', 'charselect'
			act 'Confirm this option':
				gs 'preSYS', 'jock'
				alterstrtimg = 12
				pcs_react = 50
				pcs_vital = 50
				pcs_stren = 45
				pcs_agil = 50
				salo = 60
				pcs_vball = 50
				gsAboVolley += 30
				npc_rel['A13'] += 10
				npc_rel['A69'] += 10
				gt 'preCUST', 'SGStart'
			end
		end

        act 'Avid dancer!':
            cls
			'<center><img <<$set_imgh>> src="images/pre/sys/altstart13.jpg"></center>'
			'You fell in love with dance at an early age and never looked back. You spent a lot of your free time trying to improve your skills, and it paid off; you''re actually quite good now! Vasily helpfully pointed out that an added benefit of dance was a greater increase in your flexibility (that is, of course, typical of Vasily). Your obsession with dancing, however, has had some repercussions on your school performance. You''re a sub-par student, and you haven''t made many friends other than your fellow jocks and Albina, one of the popular girls, who is just as passionate about dance as you are.'
			act 'Select another': gt 'preSYS', 'charselect'
			act 'Confirm this option':
				gs 'preSYS', 'jock'
				alterstrtimg = 13
				pcs_sprt = 45
				pcs_vital = 50
				pcs_react = 50
				pcs_agil = 55
				pcs_chrsm = 35
				salo = 40
				genbsize = 12
				pcs_eyesize = 2
				pcs_lip = 2
				pcs_lashes = 1
				pcs_skin = 80
				if player_avatar ! 1: pcs_hairlng = 200
				pcs_danc = 50
				pcs_heels = 10
				pcs_exhibition = 25
				pcs_makupskl = 35
				gsAboDance += 30
				npc_rel['A23'] += 20
				grupvalue[1] = 20
				gt 'preCUST', 'SGStart'
			end
		end

        act 'Avid runner!':
            cls
			'<center><img <<$set_imgh>> src="images/pre/sys/altstart14.jpg"></center>'
			'Ever since you first tried track, you have been in love with the sport. When you’re running, the rest of the world fades away and you experience a natural high like none other. You spent a lot of your free time trying to get better at it, and it paid off; you''re actually quite good now! Your obsession with running, however, has had some repercussions on your school performance. You''re a sub-par student, and you haven''t made many friends other than your fellow jocks and your coach.'
			act 'Select another': gt 'preSYS', 'charselect'
			act 'Confirm this option':
				gs 'preSYS', 'jock'
				alterstrtimg = 14
				pcs_vital = 60
				pcs_agil = 50
				pcs_stren = 45
				salo = 40
				genbsize = 12
				pcs_run = 50
				gsAboBeg += 30
				npc_rel['A3'] += 10
				npc_rel['A5'] += 10
				npc_rel['A8'] += 5
				npc_rel['A18'] -= 30
				npc_rel['A131'] += 10
				gt 'preCUST', 'SGStart'
			end
		end

        act 'Avid football player.':
            cls
			'<center><img <<$set_imgh>> src="images/pre/sys/altstart15.jpg"></center>'
			'Ever since your first football game, you have been in love with the sport. You spent a lot of your free time trying to get better at it, and it paid off; you''re actually quite good now! Your obsession with running has had some repercussions on your school performance, however, and you''re now a sub-par student. You haven''t made many friends other than your fellow jocks, especially Lazar and your coach.'
			act 'Select another': gt 'preSYS', 'charselect'
			act 'Confirm this option':
				gs 'preSYS', 'jock'
				alterstrtimg = 15
				pcs_stren = 50
				pcs_react = 50
				pcs_vital = 50
				salo = 60
				pcs_kick = 20
				pcs_ftbll = 50
				npc_rel['A131'] += 10
				npc_rel['A149'] += 10
				npc_rel['A34'] += 10
				gt 'preCUST', 'SGStart'
			end
		end
	end

    act 'Popular, Cool, Beautiful':
!!if we can do school uniforms gets a appropriate or borderline uniform.
        *clr
		cla
		'<center><img <<$set_imgh>> src="images/pre/sys/altstart5.jpg"></center>'
        'You spent most of your childhood outdoors, playing with other girls and boys. As a result, you''re quite healthy. You’’re also pretty strong verbally, with a keen understanding about how to get yourself out of trouble (or shifting the blame to someone else). You were never very interested in school or sports, however, and are only a sub-par student. Your popularity has negatively impacted your relationship with Vasily somewhat, and you are not as close as you once were. Now...'

        act 'I have a lot of friends!':
            cls
			'<center><img <<$set_imgh>> src="images/pre/sys/altstart16.jpg"></center>'
			'You have a ton of friends! You’’re friends with all of the important kids at school, anyways, which is what really matters. You were very social growing up and enjoyed being around others, often becoming the center of attention. You have always had a knack of knowing the right thing to say at the right moment, which led to many other students wanting to be your friend.'
			act 'Select another': gt 'preSYS', 'charselect'
			act 'Confirm this option':
				gs 'preSYS', 'cool'
				alterstrtimg = 16
				pcs_chrsm = 45
				genbsize = 32
				pcs_humint = 40
				pcs_makupskl = 35
				pcs_heels = 10
				pirsC = 1
				PirsC1_owned = 1
				if player_avatar ! 1: pcs_hairlng = 200
				gs 'preSYS', 'socialgroup_setting', 10, 5, 0, 0, 0, 0
				npc_rel['A140'] += 10
				salo = 80
				gt 'preCUST', 'SGStart'
			end
		end

        act 'I am beautiful':
            cls
			'<center><img <<$set_imgh>> src="images/pre/sys/altstart17.jpg"></center>'
			'You might not be the smartest, and you might not be the most social or have the toughest attitude - but what you do have are natural good looks, that’s not something you can earn! You blossomed earlier than most girls and the boys took note, especially Vasily, who started acting differently around you. You know he is attracted to you, but who can blame him? After all, you’’re fairly certain that all of the boys (and even some of the girls) lust after you either openly or secretly. As you got older your looks only improved, and you are often considered one of the best-looking girls in the room wherever you go. In fact, most consider you to be one of - if not THE - most beautiful girl in school.'
			act 'Select another': gt 'preSYS', 'charselect'
			act 'Confirm this option':
				gs 'preSYS', 'cool'
				alterstrtimg = 17
				pcs_humint = 20
				pcs_makupskl = 40
				pcs_heels = 20
				pcs_eyesize = 2
				pcs_lip = 3
				pcs_lashes = 2
				pcs_skin = 100
				genbsize = 37
				pcs_exhibition = 25
				kosmetica = 50
				bag = 1
				greben = 1
				kosmetitka = 10
				krem = 10
				pirsC = 2
				PirsC2_owned = 1
				if player_avatar ! 1: pcs_hairlng = 300
				gs 'preSYS', 'socialgroup_setting_boys', 20, 20, 20, 20, 20, 0
				salo = 60
				pav_sex = 20
				gt 'preCUST', 'SGStart'
			end
		end
	end

    act 'Gopnik, Rebel, Punk, Troublemaker':
!!If you can do uniforms then they can choose inappropriate or borderline
!!can pick 1-3 tattoo''s at start
        cla
		*clr
		'<center><img <<$set_imgh>> src="images/pre/sys/altstart6.jpg"></center>'
        'You spent most of your childhood outdoors, playing with the other girls and boys. As a result, you''re quite healthy. As you got older you lost any interest you might have once had with fitting in - now you do your own thing, and you’’re ready to tell anyone where they can stick it if they have a problem with that.'
		'As you and Vasily walked a similar path, your bond of friendship only deepened. This has had some repercussions on your school performance; you''re a sub-par student. It has also had some less enjoyable consequences leading you into more than your fair share of fights, into all sorts of problems at home, landing you in trouble and often punished at school, and even into a few run-ins with the local police. Now most consider you...'

		act 'A Gopnik':
            cls
			'<center><img <<$set_imgh>> src="images/pre/sys/altstart18.jpg"></center>'
			'You are a gopnik. While you are still low in the gopnik pecking order, you have already proven yourself to them and most fully accept you. Because of your behavior, you have problems at home and school. This is especially true with your mother and stepfather, who see you going down the wrong path. The teachers and the police all know you''re one of the local gopniks.'
			act 'Select another': gt 'preSYS', 'charselect'
			act 'Confirm this option':
				gs 'preSYS', 'gopnik'
				gs 'preSYS', 'socialgroup_setting', -10, -10, -10, 0, -10, 0
				alterstrtimg = 18
				pcs_stren = 40
				pcs_vital = 40
				pcs_jab = 35
				pcs_punch = 35
				pcs_kick = 35
				pcs_def = 35
				npc_rel['A9'] += 10
				npc_rel['A10'] += 10
				npc_rel['A11'] += 10
				npc_rel['A20'] += 10
				npc_rel['A21'] += 10
				npc_rel['A24'] += 10
				npc_rel['A28'] -= 10
				npc_rel['A29'] -= 20
				npc_rel['A33'] -= 10
				npc_rel['A34'] -= 10
				grupvalue[4] = 40
				gt 'preCUST', 'SGStart'
			end
		end
			
        act 'A Punk or Troublemaker!':
            cls
			'<center><img <<$set_imgh>> src="images/pre/sys/altstart19.jpg"></center>'
			'You are a troublemaker. Nothing makes you happier than causing problems, whether it be petty larceny, getting into fights, or vandalizing. You live for the thrill of breaking the rules. You get along fairly well with the gopniks and they accept you as a kindred spirit. They seem to love your willingness to jump head first into any and all trouble you run across - and if you can''t find any, you will happily make your own, which keeps things lively.'
			act 'Select another': gt 'preSYS', 'charselect'
			act 'Confirm this option':
				gs 'preSYS', 'gopnik'
				gs 'preSYS', 'socialgroup_setting', 0, 0, -10, 0, -10, 0
				alterstrtimg = 19
				pcs_stren = 40
				pcs_react = 40
				pcs_jab = 20
				pcs_punch = 20
				pcs_kick = 20
				pcs_def = 20
				pcs_humint = 10
				pcs_persuas = 10
				pcs_makupskl = 20
				pirsD = 4
				PirsD4_owned = 1
				if player_avatar ! 1: pcs_hairlng = 55
				npc_rel['A24'] += 10
				npc_rel['A155'] += 15
				npc_rel['A157'] += 10
				npc_rel['A143'] += 10
				npc_rel['A144'] += 15
				npc_rel['A145'] += 10
				npc_rel['A28'] -= 10
				npc_rel['A29'] -= 20
				npc_rel['A33'] -= 10
				npc_rel['A34'] -= 10
				gt 'preCUST', 'SGStart'
			end
		end

        act 'Vitek''s Girl Friend':
            cls
			'<center><img <<$set_imgh>> src="images/pre/sys/altstart20.jpg"></center>'
			'You are Vitek''s girlfriend. You love the thrill and danger of hanging out with the gopniks, even if you lack the true attitude yourself. You met Vitek after he and Vasily became friends. There was something about his bad boy attitude that drew you in, and you soon found yourself falling for him.'
			'As you developed, he started to take an interest in you as well. Soon thereafter the two of you started dating. You’’re not technically a gopnik - you are considered more of a hanger on - but the rest of the gopniks seem to accept you anyways. You’’re not sure what would happen if you ever broke up with Vitek, however, as being his girlfriend and hanging out with the other gopniks has cost you any real, close friends outside of their group.'
			act 'Select another': gt 'preSYS', 'charselect'
			act 'Confirm this option':
				gs 'preSYS', 'gopnik'
				alterstrtimg = 20
				pcs_sprt = 30
				pcs_stren = 30
				pcs_vital = 30
				pcs_react = 30
				pcs_agil = 30
				pcs_chrsm = 40
				genbsize = 32
				pcs_humint = 20
				pcs_makupskl = 30
				pcs_heels = 10
				pcs_jab = 10
				pcs_punch = 10
				pcs_kick = 10
				pcs_def = 10
				pirsD = 3
				PirsD3_owned = 1
				if player_avatar ! 1: pcs_hairlng = 200
				npc_rel['A9'] += 50
				npc_rel['A10'] += 5
				npc_rel['A11'] += 5
				npc_rel['A20'] += 15
				npc_rel['A21'] += 10
				npc_rel['A24'] -= 10
				npc_rel['A28'] -= 10
				npc_rel['A29'] -= 20
				npc_rel['A33'] -= 10
				pcs_eyesize = 2
				pcs_lip = 2
				pcs_lashes = 1
				pcs_skin = 80
				pcs_vag = 1
				pcs_throat = 1
				salo = 60
				stat['hj'] = 10
				stat['bj'] = 5
				stat['vaginal'] = 2
				grupvalue[4] = 25
				gt 'preCUST', 'SGStart'
			end
		end

        act 'a Alternative, Party Girl, or Rebel':
!!can choose two more starting tattoo''s
            cls
			'<center><img <<$set_imgh>> src="images/pre/sys/altstart21.jpg"></center>'
			'You march to your own tune. You’’re not a follower - you’’re a leader! You just have no desire to actually lead anything. You do what you want, when you want, and you do it with a fuck-it-all attitude. The local gopniks respect you and for the most part you get along with them. You’’re not one of them, however, but rather a kindred spirit looking to walk your own path and raise a little hell along the way.'
			'Unlike most of the rest, you have far less interest in fighting or causing problems and a far more interest in looking for a good time - you love to party more than anything else.'
			act 'Select another': gt 'preSYS', 'charselect'
			act 'Confirm this option':
				gs 'preSYS', 'gopnik'
				alterstrtimg = 21
				pcs_vital = 40
				pcs_agil = 40
				pcs_react = 40
				salo = 60
				pcs_chrsm = 35
				pcs_humint = 20
				pcs_persuas = 10
				pcs_makupskl = 30
				pcs_danc = 20
				pcs_heels = 10
				pirsD = 5
				PirsD5_owned = 1
				pirsA = 2
				PirsA2_owned = 1
				pcs_eyesize = 2
				pcs_lip = 2
				pcs_lashes = 1
				pcs_skin = 80
				pcs_exhibition = 30
				pcs_vag = 1
				pcs_ass = 1
				pcs_throat = 5
				stat['hj'] = 15
				stat['bj'] = 10
				stat['vaginal'] = 3
				stat['anal'] = 1
				stat['vaginal_finger'] = 5
				stat['vaginal_finger_give'] = 5
				stat['cuni'] = 3
				stat['cuni_give'] = 3
				pav_sex = 40
				npc_rel['A154'] += 10
				npc_rel['A155'] += 10
				npc_rel['A156'] += 10
				npc_rel['A158'] += 10
				npc_rel['A143'] += 10
				npc_rel['A144'] += 20
				npc_rel['A28'] -= 10
				npc_rel['A29'] -= 10
				npc_rel['A33'] += 10
				gt 'preCUST', 'SGStart'
			end
		end
	end

    act 'Outcast, Loser, Goth, Ugly':
		*clr
		cla
		'<center><img <<$set_imgh>> src="images/pre/sys/altstart7.jpg"></center>'
        'You never really fit in. You’’re just one of those individuals who, by choice or circumstance, never really clicked with the other kids. As you got older things only got worse, and now you are seen as an outcast. This breaks one of the most important social rules among your peers, and you are now considered in the same vein as sluts, losers, gay boys and the like.'
		'Being an outcast has also had a somewhat negative impact on your friendship with Vasily. As you grew up, he became a gopnik and the two of you slowly started hanging out less and less, although you still consider each other to be friends - if just barely. You have no other real friends, and you get bullied and made fun of all the time because...'

        act 'I have no friends':
            cls
            '<center><img <<$set_imgh>> src="images/pre/sys/altstart22.jpg"></center>'
			'You were never very social and you never learned how to make friends. You were often made fun of or bullied by the other kids as you grew up. As such, you naturally shied away from them, an action that only served to isolate you even further. Now, years later, you have yet to make any real friends - even Vasily, who is your closest friend, wouldn''t be considered a particularly close one.'
			act 'Select another': gt 'preSYS', 'charselect'
			act 'Confirm this option':
				gs 'preSYS', 'outcast'
				gs 'preSYS', 'socialgroup_setting', -10, -10, -10, -10, -10, 0
				alterstrtimg = 22
				genbsize = 17
				pcs_chrsm = 20
				pcs_observ = 20
				pcs_skin = 10
				npc_rel['A11'] -= 20
				gt 'preCUST', 'SGStart'
			end
		end

        act 'I am a Ugly duckling':
            cls
            '<center><img <<$set_imgh>> src="images/pre/sys/altstart23.jpg"></center>'
			'Some girls blossom early, and some have natural good looks… you got neither. In fact, you seem to have been cursed with an androgynous face and body. You have been mistaken for a boy more times than you would care to admit.'
			'Your body seems to grow out of sync, leaving you looking odd and, at best, unattractive for most of your life. Now in your teens, your body is starting to even out in growth but is still very androgynous, and you are still considered not much to look at, if not outright ugly.'
			act 'Select another': gt 'preSYS', 'charselect'
			act 'Confirm this option':
				gs 'preSYS', 'outcast'
				gs 'preSYS', 'socialgroup_setting_boys', -10, -10, -10, -10, 0, 0
				alterstrtimg = 23
				genbsize = 2
				pcs_exhibition = 5
				pcs_skin = 0
				pcs_eyesize = 0
				pcs_lip = 0
				pcs_lashes = 3
				salo = 20
				gt 'preCUST', 'SGStart'
			end
		end

        act 'I am a Good girl':
            cls
            '<center><img <<$set_imgh>> src="images/pre/sys/altstart24.jpg"></center>'
			'You are a good girl, the kind parents, teachers and adults love, but the other kids hate. You always reminded the teacher to give out homework and you would tell on anyone for doing anything. You love the attention you get from adults, and while at times it can be lonely you are still pretty happy knowing you''re a good girl. You also regularly attend church just like any good girl should.'
			act 'Select another': gt 'preSYS', 'charselect'
			act 'Confirm this option':
				gs 'preSYS', 'outcast'
				gs 'preSYS', 'socialgroup_setting', -5, -5, 0, -20, 0, 0
				alterstrtimg = 24
				pcs_intel = 35
				pcs_sprt = 60
				pcs_exhibition = 5
				money += 1000
				shampoo = 10
				if player_avatar ! 1: pcs_hairlng = 300
				pcs_skin = 40
				pcs_eyesize = 3
				pcs_lip = 2
				pcs_lashes = 1
				salo = 80
				genbsize = 17
				npc_rel['A25'] -= 5
				npc_rel['A28'] += 10
				npc_rel['A29'] += 10
				npc_rel['A11'] -= 20
				gt 'preCUST', 'SGStart'
			end
		end

        act 'I am a slut':
!!If you can do uniforms then they can choose inappropriate
            cls
			'<center><img <<$set_imgh>> src="images/pre/sys/altstart25.jpg"></center>'
			'You were the first girl at your age to lose her virginity. You became curious about sex far sooner than other kids your age and started masturbating at an early age. You loved the sensation so much that you wanted to find out how good sex would feel. Once you tried it, you learned that you love it - you really love everything about it.'
			'You used to give the boys blowjobs under the bleachers during recess and after school - you always savored swallowing their cum, and you even love its taste. The only thing you like more than sucking cock and swallowing cum is getting fucked by huge cock while sucking on another one.'
			act 'Select another': gt 'preSYS', 'charselect'
			act 'Confirm this option':
				gs 'preSYS', 'outcast'
				gs 'preSYS', 'socialgroup_setting_boys', 10, 10, 0, 20, 0, 0
				alterstrtimg = 25
				if player_avatar ! 1: pcs_hairlng = 120
				pcs_makupskl = 35
				pcs_heels = 30
				genbsize = 32
				kosmetica = 30
				bag = 1
				greben = 1
				kosmetitka = 10
				salfetka = 10
				stanok = 10
				shampoo = 20
				pirsC = 2
				PirsC2_owned = 1
				npc_rel['A11'] += 20
				npc_rel['A25'] += 30
				npc_rel['A28'] -= 20
				npc_rel['A29'] -= 30
				npc_rel['A33'] -= 10
				npc_rel['A34'] -= 10
				motherKnowSpravka = 1
				gs 'preSYS', 'socialgroup_setting', 0, 0, 0, 10, 0, 0
				pcs_eyesize = 2
				pcs_lip = 2
				pcs_lashes = 1
				pcs_skin = 80
				pcs_vag = 10
				pcs_ass = 10
				pcs_throat = 10
				pcs_exhibition = 35
				pav_sex = 150
				GspravkaT = 2
				motherKnowSpravka = 2
				salo = 60
				stat['hj'] = 50
				stat['bj'] = 30
				stat['vaginal'] = 30
				stat['anal'] = 20
				stat['group'] = 5
				guy = 15
				orgasm = 15
				swallow = 20
				gt 'preCUST', 'SGStart'
			end
		end
	end
end

if $ARGS[0] = 'nerd':
	pcs_tan = 0
	pcs_ttgmng = 20
	if glass < 1 : glass = 1
	if player_avatar ! 1: pcs_haircol = 1
	if player_avatar ! 1: pcs_eyecol = 0
	fantasybook = 5
	grupTipe=3
	money += 3000
	shampoo = 10
	pcs_eyesize = 1
	pcs_lip = 1
	pcs_lashes = 0
	pcs_skin = 40
	pcs_exhibition = 10
	gs 'preSYS', 'socialgroup_setting', -10, 0, 25, 0, 0, 0
	npc_rel['A129'] += 10
	npc_rel['A28'] += 10
	npc_rel['A29'] += 10
	grupvalue[3] = 30
	grupvalue[6] = 10
	genbsize = 22
	salo = 100
end

if $ARGS[0] = 'jock':
	pcs_sprt = 40
	pcs_stren = 40
	pcs_vital = 40
	pcs_react = 40
	pcs_agil = 40
	genbsize = 17
	pcs_grades = 50
	kosmetica = 10
	stanok = 10
	shampoo = 10
	tampon = 20
	pcs_run = 20
	pcs_ftbll = 10
	pcs_vball = 10
	pcs_danc = 10
	pcs_icesktng = 20
	pcs_humint = 10
	pcs_makupskl = 30
	pcs_dom = 10
	pcs_exhibition = 20
	swim_start = 69
	pirsC = 1
	PirsC1_owned = 1
	gs 'preSYS', 'socialgroup_setting', 10, 25, 0, 0, -5, 0
	npc_rel['A129'] -= 10
	grupvalue[2] = 30
	if player_avatar ! 1: pcs_hairlng = 55
	if player_avatar ! 1: pcs_haircol = 3
	if player_avatar ! 1: pcs_eyecol = 3
	hscrunch = 10
	hscrunchw = 0
	pcs_tan = 30
	pcs_eyesize = 3
	pcs_lip = 2
	pcs_lashes = 1
	pcs_skin = 60
	npc_rel['A34'] += 10
	grupTipe=2
end

if $ARGS[0] = 'cool':
	pcs_sprt = 40
	pcs_chrsm = 40
	pcs_prcptn = 40
	pcs_grades = 60
	pcs_icesktng = 10
	pcs_danc = 10
	pcs_persuas = 30
	pcs_exhibition = 20
	swim_start = 98
	kosmetica = 20
	shampoo = 20
	stanok = 20
	money += 1000
	gs 'preSYS', 'socialgroup_setting', 25, 15, 0, -10, -20, 0
	npc_rel['A129'] -= 20
	grupvalue[1] = 30
	if player_avatar ! 1: pcs_haircol = 2
	if player_avatar ! 1: pcs_eyecol = 2
	pcs_tan = 30
	pcs_eyesize = 2
	pcs_lip = 2
	pcs_lashes = 1
	pcs_skin = 60
	npc_rel['A33'] += 10
	grupTipe=1
end

if $ARGS[0] = 'gopnik':
	pcs_sprt = 35
	pcs_stren = 35
	pcs_vital = 35
	pcs_react = 35
	pcs_agil = 35
	genbsize = 22
	pcs_grades = 40
	pcs_exhibition = 25
	kosmetica = 10
	shampoo = 10
	stanok = 10
	siga = 20
	fakepassport = 1
	pirsC = 1
	PirsC1_owned = 1
	gs 'preSYS', 'socialgroup_setting', 0, 0, -10, 25, 0, 0
	npc_rel['A129'] -= 30
	npc_rel['A11'] += 10
	grupvalue[4] = 30
	tampon = 20
	if player_avatar ! 1: pcs_hairlng = 120
	if player_avatar ! 1: pcs_haircol = 0
	if player_avatar ! 1: pcs_eyecol = 1
	pcs_run = 20
	pcs_humint = 10
	pcs_makupskl = 10
	pcs_tan = 30
	pcs_eyesize = 3
	pcs_lip = 2
	pcs_lashes = 1
	pcs_skin = 50
	pcs_vag = 1
	pcs_throat = 1
	salo = 80
	stat['hj'] = 10
	stat['bj'] = 5
	stat['vaginal'] = 1
	pav_sex = 30
	grupTipe=4
end

if $ARGS[0] = 'outcast':
	salo = 100
	pcs_prcptn = 35
	pcs_grades = 40
	pcs_exhibition = 10
	gs 'preSYS', 'socialgroup_setting', -10, -10, -10, -10, 0, 0
	npc_rel['A133'] += 20
	npc_rel['A11'] -= 10
	npc_rel['A33'] -= 10
	npc_rel['A34'] -= 10
	if player_avatar ! 1: pcs_hairlng = 200
	if player_avatar ! 1: pcs_haircol = 1
	if player_avatar ! 1: pcs_eyecol = 0
	pcs_eyesize = 1
	pcs_lip = 1
	pcs_lashes = 0
	pcs_skin = 20
	grupTipe=5
end

if $ARGS[0] = 'socialgroup_setting':
	grup0 = 0
	grup1 = 0
	grup2 = 0
	grup3 = 0
	grup4 = 0
	grup5 = 0
	if ARGS[1] ! 0:grup0 = ARGS[1]
	if ARGS[2] ! 0:grup1 = ARGS[2]
	if ARGS[3] ! 0:grup2 = ARGS[3]
	if ARGS[4] ! 0:grup3 = ARGS[4]
	if ARGS[5] ! 0:grup4 = ARGS[5]
	if ARGS[6] ! 0:grup5 = ARGS[6]
	r = 1
	:socialgroup_loop
	$static_num = $static_num[r]
	if grupTipe[r] = 1 and grup0 ! 0:
		npc_rel[$static_num] += grup0
	elseif grupTipe[r] = 2 and grup1 ! 0:
		npc_rel[$static_num] += grup1
	elseif grupTipe[r] = 3 and grup2 ! 0:
		npc_rel[$static_num] += grup2
	elseif grupTipe[r] = 4 and grup3 ! 0:
		npc_rel[$static_num] += grup3
	elseif grupTipe[r] = 5 and grup4 ! 0:
		npc_rel[$static_num] += grup4
	elseif grupTipe[r] = 6 and grup5 ! 0:
		npc_rel[$static_num] += grup5
	end
	r += 1
	if r <= 61:jump 'socialgroup_loop'
end

if $ARGS[0] = 'socialgroup_setting_boys':
	grup0 = 0
	grup1 = 0
	grup2 = 0
	grup3 = 0
	grup4 = 0
	grup5 = 0
	if ARGS[1] ! 0:grup0 = ARGS[1]
	if ARGS[2] ! 0:grup1 = ARGS[2]
	if ARGS[3] ! 0:grup2 = ARGS[3]
	if ARGS[4] ! 0:grup3 = ARGS[4]
	if ARGS[5] ! 0:grup4 = ARGS[5]
	if ARGS[6] ! 0:grup5 = ARGS[6]
	r = 1
	:socialgroup2_loop
	$static_num = $static_num[r]
	if grupTipe[r] = 1 and grup0 ! 0:
		npc_rel[$static_num] += grup0
	elseif grupTipe[r] = 2 and grup1 ! 0:
		npc_rel[$static_num] += grup1
	elseif grupTipe[r] = 3 and grup2 ! 0:
		npc_rel[$static_num] += grup2
	elseif grupTipe[r] = 4 and grup3 ! 0:
		npc_rel[$static_num] += grup3
	elseif grupTipe[r] = 5 and grup4 ! 0:
		npc_rel[$static_num] += grup4
	elseif grupTipe[r] = 6 and grup5 ! 0:
		npc_rel[$static_num] += grup5
	end
	r += 1
	if r <= 61:jump 'socialgroup2_loop'
end

--- preSYS ---------------------------------

