# intro_customization
!!2022/03/12
if $ARGS[0] = 'start':
	'If you want to set your skills and attributes to a certain number, use the cheat menu to do it, the options to do it here were removed.'
	if pcs_mass['butt_gen'] = 0: pcs_mass['butt_gen'] = 22
	if pcs_mass['bust_gen'] = 0: pcs_mass['bust_gen'] = 22
	if $soc_grup = '':gs 'intro_customization', 'none'
	act 'Set attributes': gt 'intro_customization','modatt'
	act 'Set skills': gt 'intro_customization','modskl'
	act 'Set appearance':gt 'intro_customization','modapp'
	act 'Set purse': gt 'intro_customization','modpur'
	act 'Set items': gt 'intro_customization','modite'
	act 'Set money (<<money>>₽)': money = input 'Set Cash Amount' & gt'intro_customization','start'
	if $start_type['loc'] = 'sg':
		gs 'intro_sg_select_custom', 'start'
	else
		act 'Confirm these options':
			if bag = 1:
				!!using current combination should prevent having more than 1 bag at the start of game.
				dynamic $currentpursetype + '_purses[<<currentpursenumber>>] = 1'
				gs 'obj_din', 'old'
			end
			gt $loc, $loc_arg
		end
	end
end

if $ARGS[0] = 'modapp':
	cla & *clr
	if pcs_mass['bust_gen'] = 0: pcs_mass['bust_gen'] = 12
	if pcs_mass['butt_gen'] = 0: pcs_mass['butt_gen'] = 22

	'Choose base genetic breast size: (this is the genetic disposition and not the actual size at game start)'
	nl
	if pcs_mass['bust_gen'] = 2:
		'Very small - Currently set'
	else
		'<a href="exec:pcs_mass[''bust_gen''] = 2 & gt ''intro_customization'', ''modapp''">Very small</a>'
	end

	if pcs_mass['bust_gen'] = 7:
		'Below average - Currently set'
	else
		'<a href="exec:pcs_mass[''bust_gen''] = 7 & gt ''intro_customization'', ''modapp''">Below average</a>'
	end
	
	if pcs_mass['bust_gen'] = 12:
		'Average - Currently set'
	else
		'<a href="exec:pcs_mass[''bust_gen''] = 12 & gt ''intro_customization'', ''modapp''">Average</a>'
	end
	
	if pcs_mass['bust_gen'] = 17:
		'Above average - Currently set'
	else
		'<a href="exec:pcs_mass[''bust_gen''] = 17 & gt ''intro_customization'', ''modapp''">Above average</a>'
	end

	if pcs_mass['bust_gen'] = 22:
		'Large - Currently set'
	else
		'<a href="exec:pcs_mass[''bust_gen''] = 22 & gt ''intro_customization'', ''modapp''">Large</a>'
	end

	if pcs_mass['bust_gen'] = 27:
		'Extra large - Currently set'
	else
		'<a href="exec:pcs_mass[''bust_gen''] = 27 & gt ''intro_customization'', ''modapp''">Extra large</a>'
	end

	if pcs_mass['bust_gen'] = 32:
		'Really big - Currently set'
	else
		'<a href="exec:pcs_mass[''bust_gen''] = 32 & gt ''intro_customization'', ''modapp''">Really big</a>'
	end

	if pcs_mass['bust_gen'] = 37:
		'Massive - Currently set'
	else
		'<a href="exec:pcs_mass[''bust_gen''] = 37 & gt ''intro_customization'', ''modapp''">Massive</a>'
	end

	if pcs_mass['bust_gen'] = 42:
		'Getting silly - Currently set'
	else
		'<a href="exec:pcs_mass[''bust_gen''] = 42 & gt ''intro_customization'', ''modapp''">Getting silly</a>'
	end

	if pcs_mass['bust_gen'] = 47:
		'Crazy big - Currently set'
	else
		'<a href="exec:pcs_mass[''bust_gen''] = 47 & gt ''intro_customization'', ''modapp''">Crazy big</a>'
	end

	if pcs_mass['bust_gen'] = 57:
		'Freakishly big - Currently set'
	else
		'<a href="exec:pcs_mass[''bust_gen''] = 57 & gt ''intro_customization'', ''modapp''">Freakishly big</a>'
	end
	
	if pcs_mass['bust_gen'] = 67:
		'Will struggle to open doors or see the ground big - Currently set'
	else
		'<a href="exec:pcs_mass[''bust_gen''] = 67 & gt ''intro_customization'', ''modapp''">Will struggle to open doors or see the ground big</a>'
	end
	
	if pcs_mass['bust_gen'] = 87:
		'You''ve been eclipsed by 2 small moons - Currently set'
	else
		'<a href="exec:pcs_mass[''bust_gen''] = 87 & gt ''intro_customization'', ''modapp''">You''ve been eclipsed by 2 small moons</a>'
	end
	*nl
	*nl
	*nl
	'Choose base genetic butt size: (this is the genetic disposition and not the actual size at game start)'
	if pcs_mass['butt_gen'] = 2:
		'Flat - Currently set'
	else
		'<a href="exec:pcs_mass[''butt_gen''] = 2 & gt ''intro_customization'', ''modapp''">Flat</a>'
	end

	if pcs_mass['butt_gen'] = 7:
		'Mostly Flat - Currently set'
	else
		'<a href="exec:pcs_mass[''butt_gen''] = 7 & gt ''intro_customization'', ''modapp''">Mostly Flat</a>'
	end
	
	if pcs_mass['butt_gen'] = 12:
		'Small - Currently set'
	else
		'<a href="exec:pcs_mass[''butt_gen''] = 12 & gt ''intro_customization'', ''modapp''">Small</a>'
	end
	
	if pcs_mass['butt_gen'] = 17:
		'Below Average - Currently set'
	else
		'<a href="exec:pcs_mass[''butt_gen''] = 17 & gt ''intro_customization'', ''modapp''">Below Average</a>'
	end

	if pcs_mass['butt_gen'] = 22:
		'Average - Currently set'
	else
		'<a href="exec:pcs_mass[''butt_gen''] = 22 & gt ''intro_customization'', ''modapp''">Average</a>'
	end

	if pcs_mass['butt_gen'] = 27:
		'Above Average - Currently set'
	else
		'<a href="exec:pcs_mass[''butt_gen''] = 27 & gt ''intro_customization'', ''modapp''">Above Average</a>'
	end

	if pcs_mass['butt_gen'] = 32:
		'Big - Currently set'
	else
		'<a href="exec:pcs_mass[''butt_gen''] = 32 & gt ''intro_customization'', ''modapp''">Big</a>'
	end

	if pcs_mass['butt_gen'] = 37:
		'Massive - Currently set'
	else
		'<a href="exec:pcs_mass[''butt_gen''] = 37 & gt ''intro_customization'', ''modapp''">Massive</a>'
	end


	act 'Body fat (<<pcs_mass[''body'']>>/200)':  gs 'intro_customization', 'setbodymass' & pcs_mass['body'] = nstat & gt 'intro_customization', 'modapp'
	act 'Return': gt'intro_customization','start'
end

if $ARGS[0] = 'setgenbsize':
	nstat = pcs_mass['bust_gen']
	nstat = input 'Enter value that ends in a 2 or a 7. For example, 2, 7, 12 etc.'
	if nstat > 97:
		msg 'Please enter a value less than or equal to 97'
		gs 'intro_customization', 'setval2'
	elseif nstat < 2:
		msg 'Please enter a value greater than or equal to 2'
		gs 'intro_customization', 'setval2'
	elseif nstat mod 5 ! 2:
		msg 'Please enter a value that ends in 2, or a 7'
		gs 'intro_customization', 'setval2'
	else
		exit
	end
end

if $ARGS[0] = 'modite':
	act 'Fake passport (<<fakepassport>>/1)':
		if fakepassport = 0:
			fakepassport = 1
		else
			fakepassport = 0
		end
		gt 'intro_customization','modite'
	end
	act 'Computer (<<mc_inventory[''tech_computer'']>>/1)':
		if mc_inventory['tech_computer'] = 0:
			mc_inventory['tech_computer'] = 1
		else 
			mc_inventory['tech_computer'] = 0
		end
		gt 'intro_customization','modite'
	end
	act 'Cosmetic items':gt 'intro_customization','modite_cos'
	act 'Pharmacy items':gt 'intro_customization','modite_pha'
	act 'Miscellaneous items':gt 'intro_customization','modite_mis'
	act 'Return': gt 'intro_customization','start'
end

if $ARGS[0] = 'modrel_setup2':
	dynamic 'if <<$ARGS[1]>> < 0: <<$ARGS[1]>> = 0'
	dynamic 'if <<$ARGS[1]>> > 100: <<$ARGS[1]>> = 100'
	dynamic 'x = <<$ARGS[1]>>'
	$table_display += '<TR bgcolor=<<$theme[''table_bg'']>>><TD><<$ARGS[2]>> (<<x>>/100)</TD><TD><a href="exec:<<$ARGS[1]>> = 0 & gt ''intro_customization'', $locM_arg">zero</a></TD><TD bgcolor=#ff9999><a href="exec:<<$ARGS[1]>> -= 10 & gt ''intro_customization'', $locM_arg">minus 10</a></TD><TD bgcolor=#ff9999><a href="exec:<<$ARGS[1]>>  -= 5 & gt ''intro_customization'', $locM_arg">minus 5</a></TD><TD bgcolor=#99ff99><a href="exec:<<$ARGS[1]>>  += 5 & gt ''intro_customization'', $locM_arg">plus 5</a></TD><TD bgcolor=#99ff99><a href="exec:<<$ARGS[1]>>  += 10 & gt ''intro_customization'', $locM_arg">plus 10</a></TD><TD><a href="exec:<<$ARGS[1]>>  = 100 & gt ''intro_customization'', $locM_arg">100</a></TD>'
end

if $ARGS[0] = 'modrel_setup3':
	dynamic 'if <<$ARGS[1]>> < 50: <<$ARGS[1]>> = 50'
	dynamic 'if <<$ARGS[1]>> > 200: <<$ARGS[1]>> = 200'
	dynamic 'x = <<$ARGS[1]>>'
	$table_display += '<TR bgcolor=<<$theme[''table_bg'']>>><TD><<$ARGS[2]>> (<<x>>/200)</TD><TD><a href="exec:<<$ARGS[1]>> = 0 & gt ''intro_customization'', $locM_arg">zero</a></TD><TD bgcolor=#ff9999><a href="exec:<<$ARGS[1]>> -= 10 & gt ''intro_customization'', $locM_arg">minus 10</a></TD><TD bgcolor=#ff9999><a href="exec:<<$ARGS[1]>>  -= 5 & gt ''intro_customization'', $locM_arg">minus 5</a></TD><TD bgcolor=#99ff99><a href="exec:<<$ARGS[1]>>  += 5 & gt ''intro_customization'', $locM_arg">plus 5</a></TD><TD bgcolor=#99ff99><a href="exec:<<$ARGS[1]>>  += 10 & gt ''intro_customization'', $locM_arg">plus 10</a></TD><TD><a href="exec:<<$ARGS[1]>>  = 200 & gt ''intro_customization'', $locM_arg">200</a></TD>'
end

!!Values reversed just for inhib use
if $ARGS[0] = 'modrel_setup4':
	dynamic 'if <<$ARGS[1]>> < 0: <<$ARGS[1]>> = 0'
	dynamic 'if <<$ARGS[1]>> > 100: <<$ARGS[1]>> = 100'
	dynamic 'x = 100-<<$ARGS[1]>>'
	$table_display += '<TR bgcolor=<<$theme[''table_bg'']>>><TD><<$ARGS[2]>> (<<x>>/100)</TD><TD><a href="exec:<<$ARGS[1]>> = 100 & gt ''intro_customization'', $locM_arg">zero</a></TD><TD bgcolor=#ff9999><a href="exec:<<$ARGS[1]>> += 10 & gt ''intro_customization'', $locM_arg">minus 10</a></TD><TD bgcolor=#ff9999><a href="exec:<<$ARGS[1]>>  += 5 & gt ''intro_customization'', $locM_arg">minus 5</a></TD><TD bgcolor=#99ff99><a href="exec:<<$ARGS[1]>>  -= 5 & gt ''intro_customization'', $locM_arg">plus 5</a></TD><TD bgcolor=#99ff99><a href="exec:<<$ARGS[1]>>  -= 10 & gt ''intro_customization'', $locM_arg">plus 10</a></TD><TD><a href="exec:<<$ARGS[1]>>  = 0 & gt ''intro_customization'', $locM_arg">100</a></TD>'
end

if $ARGS[0] = 'modite_cos':
	$locM_arg = 'modite_cos'
	'<center><b>Cosmetic items</b></center>'
	*nl
	killvar '$table_display'
	gs 'intro_customization', 'modrel_setup2', 'mc_inventory[''cosmetics'']', 'Cosmetics'
	gs 'intro_customization', 'modrel_setup2', 'mc_inventory[''razor'']', 'Razors (number of shaves)'
	gs 'intro_customization', 'modrel_setup2', 'mc_inventory[''suncream'']', 'Sunblock'
	gs 'intro_customization', 'modrel_setup2', 'mc_inventory[''scrunchies'']', 'Hair scrunchies'
	gs 'intro_customization', 'modrel_setup2', 'mc_inventory[''kirbygrips'']', 'Hair pins'
	gs 'intro_customization', 'modrel_setup2', 'mc_inventory[''shampoo'']', 'Shampoo'
	'<center><table border=0 cellspacing=0 cellpadding=25  bgcolor=#808080><TH></TH><TH>Set to zero</TH><TH>Minus 10</TH><TH>Minus 5</TH><TH>Plus 5</TH><TH>Plus 10</TH><TH>Set to 100</TH>'
	$table_display
	'</table></center>'
	act 'Return': gt'intro_customization','modite'
end

if $ARGS[0] = 'modite_pha':
	$locM_arg = 'modite_pha'
	'<center><b>Pharmaceutical items</b></center>'
	*nl
	killvar '$table_display'
	gs 'intro_customization', 'modrel_setup2', 'mc_inventory[''equipped_condoms'']', 'Condoms'
	gs 'intro_customization', 'modrel_setup2', 'mc_inventory[''pregnancy_test'']', 'Pregnancy tests'
	gs 'intro_customization', 'modrel_setup2', 'mc_inventory[''contraceptive_pill'']', 'Birth control pills'
	gs 'intro_customization', 'modrel_setup2', 'mc_inventory[''antibiotics'']', 'Antibiotics'
	gs 'intro_customization', 'modrel_setup2', 'mc_inventory[''vitamins'']', 'Vitamins'
	gs 'intro_customization', 'modrel_setup2', 'mc_inventory[''painkillers'']', 'Painkillers'
	gs 'intro_customization', 'modrel_setup2', 'mc_inventory[''chaffing_cream'']', 'Ointment for chafing'
	gs 'intro_customization', 'modrel_setup2', 'mc_inventory[''lubricant'']', 'Lubricants'
	gs 'intro_customization', 'modrel_setup2', 'mc_inventory[''lipbalm'']', 'Lip balms'
	gs 'intro_customization', 'modrel_setup2', 'mc_inventory[''weight_loss_pill'']', 'Weight loss pills'
	gs 'intro_customization', 'modrel_setup2', 'mc_inventory[''tampons'']', 'Tampons'
	gs 'intro_customization', 'modrel_setup2', 'mc_inventory[''sanitary_pads'']', 'Sanitary napkins'
	'<center><table border=0 cellspacing=0 cellpadding=25  bgcolor=#808080><TH></TH><TH>Set to zero</TH><TH>Minus 10</TH><TH>Minus 5</TH><TH>Plus 5</TH><TH>Plus 10</TH><TH>Set to 100</TH>'
	$table_display
	'</table></center>'
	act 'Return': gt'intro_customization','modite'
end

if $ARGS[0] = 'modite_mis':
	$locM_arg = 'modite_mis'
	'<center><b>Misc items</b></center>'
	*nl
	killvar '$table_display'
	gs 'intro_customization', 'modrel_setup2', 'mc_inventory[''cigarettes'']', 'Cigarettes'
	gs 'intro_customization', 'modrel_setup2', 'dur', 'Cocaine'
	gs 'intro_customization', 'modrel_setup2', 'mc_inventory[''food_biscuits'']', 'Tea Biscuits'
	'<center><table border=0 cellspacing=0 cellpadding=25  bgcolor=#808080><TH></TH><TH>Set to zero</TH><TH>Minus 10</TH><TH>Minus 5</TH><TH>Plus 5</TH><TH>Plus 10</TH><TH>Set to 100</TH>'
	$table_display
	'</table></center>'
	act 'Return': gt 'intro_customization','modite'
end

if $ARGS[0] = 'modpur':
	*clr & cla
	if $ARGS[1] ! '':
		$currentpursetype = $ARGS[1]
		currentpursenumber = ARGS[2]
	end
	*clr & cla
	if $currentpursetype = '': 
		'You do not own a purse.'
	else
		bag = 1
		'<center><img <<$set_imgh>> src="images/pc/items/<<$currentpursetype>>/purses/<<currentpursenumber>>.jpg"></center>'
		'Your current purse is <<$currentpursetype>>_<<currentpursenumber>>.'
	end
	act 'Return':
		dynamic $currentpursetype + '_purses[<<currentpursenumber>>] = 1'
		gt'intro_customization','start'
	end
	act 'Get G&M':
		*clr & cla
		'<center><img src="images/locations/city/citycenter/mall/gm.png"></center>'
		i = 1
		:loopgmpurses
		*p '<a href="exec:gt ''intro_customization'', ''modpur'', ''gm'', <<i>>"><img src="images/pc/items/gm/purses/<<i>>.jpg" 	height="300" /></a>'
		i += 1
		if i <= 20:jump 'loopgmpurses'
	end	
	act 'Get Danilovich':
		*clr & cla
		'<center><img src="images/locations/city/citycenter/mall/sports.png"></center>'
		i = 1
		:loopdanilovichpurses
		*p '<a href="exec:gt ''intro_customization'', ''modpur'', ''danilovich'', <<i>>"><img src="images/pc/items/danilovich/purses/<<i>>.jpg" 	height="300" /></a>'
		i += 1
		if i <= 60:jump 'loopdanilovichpurses'
	end	
	act 'Get Dolls':
		*clr & cla
		'<center><img src="images/locations/city/island/dolls/shop_name.png"></center>'
		i = 1
		:loopdollspurses
		*p '<a href="exec:gt ''intro_customization'', ''modpur'', ''dolls'', <<i>>"><img src="images/pc/items/dolls/purses/<<i>>.jpg" 	height="300" /></a>'
		i += 1
		if i <= 40:jump 'loopdollspurses'
	end
	act 'Get Bomba':
		*clr & cla
		'<center><img src="images/locations/pushkin/bomba/shop_name.png"></center>'
		i = 1
		:loopbombapurses
		*p '<a href="exec:gt ''intro_customization'', ''modpur'', ''bomba'', <<i>>"><img src="images/pc/items/bomba/purses/<<i>>.jpg" 	height="300" /></a>'
		i += 1
		if i <= 20:jump 'loopbombapurses'
	end
	act 'Get Fashionista':
		*clr & cla
		'<center><img src="images/locations/city/citycenter/mall/fashionista.png"></center>'
		i = 1
		:loopfashionistapurses
		*p '<a href="exec:gt ''intro_customization'', ''modpur'', ''fashionista'', <<i>>"><img src="images/pc/items/fashionista/purses/<<i>>.jpg" 	height="300" /></a>'
		i += 1
		if i <= 40:jump 'loopfashionistapurses'
	end
	act 'Get Coco':
		*clr & cla
		'<center><img src="images/locations/pavlovsk/coco/shop_name.png"></center>'
		i = 1
		:loopcocopurses
		*p '<a href="exec:gt ''intro_customization'', ''modpur'', ''coco'', <<i>>"><img src="images/pc/items/coco/purses/<<i>>.jpg" 	height="300" /></a>'
		i += 1
		if i <= 60:jump 'loopcocopurses'
	end	
	act 'Get Pussy_Cats':
		*clr & cla
		'<center><img src="images/locations/city/citycenter/mall/pussycat.png"></center>'
		i = 1
		:loopkatspurses
		*p '<a href="exec:gt ''intro_customization'', ''modpur'', ''cats'', <<i>>"><img src="images/pc/items/cats/purses/<<i>>.jpg" 	height="300" /></a>'
		i += 1
		if i <= 20:jump 'loopkatspurses'
	end
	act 'Get Flamingos':
		*clr & cla
		'<center><img src="images/locations/city/island/flamingos/shop_name.png"></center>'
		i = 1
		:loopflamingospurses
		*p '<a href="exec:gt ''intro_customization'', ''modpur'', ''flamingos'', <<i>>"><img src="images/pc/items/flamingos/purses/<<i>>.jpg" 	height="300" /></a>'
		i += 1
		if i <= 20:jump 'loopflamingospurses'
	end
	act 'Get Mon Chéri':
		*clr & cla
		'<center><img src="images/locations/city/citycenter/mall/moncheri.png"></center>'
		i = 1
		:loopmoncheripurses
		*p '<a href="exec:gt ''intro_customization'', ''modpur'', ''moncheri'', <<i>>"><img src="images/pc/items/moncheri/purses/<<i>>.jpg" 	height="300" /></a>'
		i += 1
		if i <= 40:jump 'loopmoncheripurses'
	end
	act 'I do not want a purse':
		bag = 0
		$currentpursetype = ''
		currentpursenumber = ''
		gt 'intro_customization','modpur'
	end	
end
!!This is used to set value, is used to avoid any values that go below 5.
if $ARGS[0] = 'setval':
	nstat = 0
	nstat = input 'Enter value in multiples of 5, between 10 and 150. For example, 10, 15, 60 etc.'
	if nstat > 150:
		msg 'Please enter a value less than or equal to 100'
		gs 'intro_customization', 'setval'
	elseif nstat < 10:
		msg 'Please enter a value greater than or equal to 5'
		gs 'intro_customization', 'setval'
	elseif nstat mod 5 ! 0:
		msg 'Please enter a value in multiples of 5'
		gs 'intro_customization', 'setval'
	else
		gs 'stat'
		exit
	end
end

!!This is used to set values, that can go below 5 and ranges from 100 to -100.
if $ARGS[0] = 'setval2':
	nstat = 0
	nstat = input 'Enter value in multiples of 5. For example, 5, 0, -5 etc.'
	if nstat > 100:
		msg 'Please enter a value less than or equal to 100'
		gs 'intro_customization', 'setval2'
	elseif nstat < -100:
		msg 'Please enter a value greater than or equal to -100'
		gs 'intro_customization', 'setval2'
	elseif nstat mod 5 ! 0:
		msg 'Please enter a value in multiples of 5'
		gs 'intro_customization', 'setval2'
	else
		exit
	end
end

!!This is used to set values, that can go to 0 and ranges from 0 to 100.
if $ARGS[0] = 'setval3':
	nstat = 0
	nstat = input 'Enter value in multiples of 5. For example, 0, 5, 10 etc.'
	if nstat > 100:
		msg 'Please enter a value less than or equal to 100'
		gs 'intro_customization', 'setval3'
	elseif nstat < 0:
		msg 'Please enter a value greater than or equal to 0'
		gs 'intro_customization', 'setval3'
	elseif nstat mod 5 ! 0:
		msg 'Please enter a value in multiples of 5'
		gs 'intro_customization', 'setval3'
	else
		exit
	end
end

if $ARGS[0] = 'setbodymass':
	*clr & cla
	'15 = underweight, slight, wiry'
	'30 = slender, skinny, lean'
	'45 = healthy, toned, ripped'
	'60 = cute, muscular'
	'75 = chubby, curvy, herculean'
	'90 = overweight, stocky'
	'105 = fat, heavy set'

	nstat = pcs_mass['body']
	nstat = input 'Enter value in multiples of 5, between 10 and 150. For example, 10, 15, 60 etc.'
	if nstat > 150:
		msg 'Please enter a value less than 150'
		gs 'intro_customization', 'setval'
	elseif nstat < 10:
		msg 'Please enter a value greater than 10'
		gs 'intro_customization', 'setval'
	elseif nstat mod 5 ! 0:
		msg 'Please enter a value in multiples of 5'
		gs 'intro_customization', 'setval'
	else
		exit
	end
end


if $ARGS[0] = 'modatt':
	*clr & cla
	$locM_arg = 'modatt'
	'<center><b>Attributes</b></center>'
	*nl
	killvar '$table_display'
	gs 'intro_customization', 'modrel_setup2', 'pcs_stren', 'Strength'
	gs 'intro_customization', 'modrel_setup2', 'pcs_agil', 'Agility'
	gs 'intro_customization', 'modrel_setup2', 'pcs_vital', 'Endurance'
	gs 'intro_customization', 'modrel_setup2', 'pcs_intel', 'Intelligence'
	gs 'intro_customization', 'modrel_setup2', 'pcs_sprt', 'Spirit'
	gs 'intro_customization', 'modrel_setup2', 'pcs_react', 'Reaction'
	gs 'intro_customization', 'modrel_setup2', 'pcs_chrsm', 'Charisma'
	gs 'intro_customization', 'modrel_setup2', 'pcs_prcptn', 'Perception'
	if $start_type['magic'] ! 'nomagic': gs 'intro_customization', 'modrel_setup2', 'pcs_magik', 'Magic'
	gs 'intro_customization', 'modrel_setup4', 'pcs_inhib', 'Inhibition'
	gs 'intro_customization', 'modrel_setup2', 'pcs_heels', 'Heels'
	gs 'intro_customization', 'modrel_setup3', 'willpowermax', 'Willpower'
	'<center><table border=0 cellspacing=0 cellpadding=25  bgcolor=#808080><TH></TH><TH>Set to zero</TH><TH>Minus 10</TH><TH>Minus 5</TH><TH>Plus 5</TH><TH>Plus 10</TH><TH>Set to 100</TH>'
	$table_display
	'</table></center>'
	nl

	act 'Return':
		gt'intro_customization','start'
	end
end

if $ARGS[0] = 'modskl':
	*clr & cla
	act 'Mental skills':gt 'intro_customization','modskl_men'
	act 'Sport skills':gt 'intro_customization','modskl_spo'
	act 'Beauty skills':gt 'intro_customization','modskl_bea'
	act 'Artistic skills':gt 'intro_customization','modskl_art'
	act 'Job skills':gt 'intro_customization','modskl_job'
	act 'Return': gt 'intro_customization','start'
end

if $ARGS[0] = 'modskl_men':
	*clr & cla
	$locM_arg = 'modskl_men'
	'<center><b>Mental Skills</b></center>'
	*nl
	killvar '$table_display'
	if $start_type['magic'] ! 'nomagic': gs 'intro_customization', 'modrel_setup2', 'pcs_splcstng', 'Spell Casting'
	gs 'intro_customization', 'modrel_setup2', 'pcs_humint', 'People skills'
	gs 'intro_customization', 'modrel_setup2', 'pcs_persuas', 'Persuasion'
	gs 'intro_customization', 'modrel_setup2', 'pcs_observ', 'Observation'
	'<center><table border=0 cellspacing=0 cellpadding=25  bgcolor=#808080><TH></TH><TH>Set to zero</TH><TH>Minus 10</TH><TH>Minus 5</TH><TH>Plus 5</TH><TH>Plus 10</TH><TH>Set to 100</TH>'
	$table_display
	'</table></center>'
	nl

	act 'Return':
		gt 'intro_customization','modskl'
	end 
end

if $ARGS[0] = 'modskl_spo':
	*clr & cla
	$locM_arg = 'modskl_spo'
	'<center><b>Sport Skills</b></center>'
	*nl
	killvar '$table_display'
	gs 'intro_customization', 'modrel_setup2', 'pcs_jab', 'Jabs'
	gs 'intro_customization', 'modrel_setup2', 'pcs_punch', 'Power Strikes'
	gs 'intro_customization', 'modrel_setup2', 'pcs_kick', 'Kicks'
	gs 'intro_customization', 'modrel_setup2', 'pcs_def', 'Defence'
	gs 'intro_customization', 'modrel_setup2', 'pcs_run', 'Running'
	gs 'intro_customization', 'modrel_setup2', 'pcs_vball', 'Volleyball'
	gs 'intro_customization', 'modrel_setup2', 'pcs_ftbll', 'Football'
	gs 'intro_customization', 'modrel_setup2', 'pcs_wrstlng', 'Wrestling'
	gs 'intro_customization', 'modrel_setup2', 'pcs_shoot', 'Marksmanship'
	gs 'intro_customization', 'modrel_setup2', 'pcs_bushcraft', 'Bushcraft'
	gs 'intro_customization', 'modrel_setup2', 'pcs_chess', 'Chess'
	gs 'intro_customization', 'modrel_setup2', 'pcs_icesktng', 'Ice Skating'
	gs 'intro_customization', 'modrel_setup2', 'pcs_gaming', 'Gaming'
	'<center><table border=0 cellspacing=0 cellpadding=25  bgcolor=#808080><TH></TH><TH>Set to zero</TH><TH>Minus 10</TH><TH>Minus 5</TH><TH>Plus 5</TH><TH>Plus 10</TH><TH>Set to 100</TH>'
	$table_display
	'</table></center>'
	nl

	act 'Return':
		gt 'intro_customization','modskl'
	end
end

if $ARGS[0] = 'modskl_bea':
	*clr & cla
	$locM_arg = 'modskl_bea'
	'<center><b>Beauty skills</b></center>'
	*nl
	killvar '$table_display'
	gs 'intro_customization', 'modrel_setup2', 'pcs_makupskl', 'Makeup Skills'
	gs 'intro_customization', 'modrel_setup2', 'pcs_danc', 'Modern Dancing'
	gs 'intro_customization', 'modrel_setup2', 'pcs_dancero', 'Erotic Dancing'
	gs 'intro_customization', 'modrel_setup2', 'pcs_dancpol', 'Pole Dancing'
	gs 'intro_customization', 'modrel_setup2', 'pcs_cheer', 'Cheerleading'
	gs 'intro_customization', 'modrel_setup2', 'pcs_mdlng', 'Modelling'
	'<center><table border=0 cellspacing=0 cellpadding=25  bgcolor=#808080><TH></TH><TH>Set to zero</TH><TH>Minus 10</TH><TH>Minus 5</TH><TH>Plus 5</TH><TH>Plus 10</TH><TH>Set to 100</TH>'
	$table_display
	'</table></center>'
	nl

	act 'Return':
		gt 'intro_customization','modskl'
	end
end

if $ARGS[0] = 'modskl_art':
	*clr & cla
	$locM_arg = 'modskl_art'
	'<center><b>Artistic Skills</b></center>'
	*nl
	killvar '$table_display'
	gs 'intro_customization', 'modrel_setup2', 'pcs_vokal', 'Singing'
	gs 'intro_customization', 'modrel_setup2', 'pcs_instrmusic', 'Instrumental Music'
	gs 'intro_customization', 'modrel_setup2', 'pcs_photoskl', 'Photography'
	gs 'intro_customization', 'modrel_setup2', 'pcs_artskls', 'Artistic Skills'
	gs 'intro_customization', 'modrel_setup2', 'pcs_perform', 'Performance'
	'<center><table border=0 cellspacing=0 cellpadding=25  bgcolor=#808080><TH></TH><TH>Set to zero</TH><TH>Minus 10</TH><TH>Minus 5</TH><TH>Plus 5</TH><TH>Plus 10</TH><TH>Set to 100</TH>'
	$table_display
	'</table></center>'
	nl

	act 'Return':
		gt 'intro_customization','modskl'
	end
end

if $ARGS[0] = 'modskl_job':
	*clr & cla
	$locM_arg = 'modskl_job'
	'<center><b>Job Skills</b></center>'
	*nl
	killvar '$table_display'
	gs 'intro_customization', 'modrel_setup2', 'pcs_compskl', 'Computer Skills'
	gs 'intro_customization', 'modrel_setup2', 'pcs_comphckng', 'Hacking'
	gs 'intro_customization', 'modrel_setup2', 'pcs_hndiwrk', 'Handy-work'
	gs 'intro_customization', 'modrel_setup2', 'pcs_sewng', 'Tailoring'
	gs 'intro_customization', 'modrel_setup2', 'pcs_servng', 'Serving'
	gs 'intro_customization', 'modrel_setup2', 'pcs_medcn', 'Medicine'
	'<center><table border=0 cellspacing=0 cellpadding=25  bgcolor=#808080><TH></TH><TH>Set to zero</TH><TH>Minus 10</TH><TH>Minus 5</TH><TH>Plus 5</TH><TH>Plus 10</TH><TH>Set to 100</TH>'
	$table_display
	'</table></center>'
	nl

	act 'Return':
		gt 'intro_customization','modskl'
	end
end

if $ARGS[0] = 'hair':
	cls
	'<center><b><font color = maroon>CHARACTER CUSTOMIZATION</font></b></center>'
	if player_avatar = 1:
		'<center><img HEIGHT = 478 src="images/avatar.jpg"></center>'
	else
		'<center><img <<$set_imgh>> src="<<FUNC(''$face_image'')>>"></center>'
	end
	*nl
	
	if player_avatar = 1:
		'<center>Adjust your hair to match your avatar.</center>'
		'<center>Please note that this choice is given only once and you will not be able to change it without starting a new game!</center>'
	end

	*nl

	if pcs_hairlng > 1000:
		$hair = 'You have <a href="exec:pcs_hairlng = 1 & gs ''intro_customization'', ''hair''">extremely long</a> hair,'
	elseif pcs_hairlng > 800:
		$hair = 'You have <a href="exec:pcs_hairlng = 1001 & gs ''intro_customization'', ''hair''">ass length</a> hair,'
	elseif pcs_hairlng > 600:
		$hair = 'You have <a href="exec:pcs_hairlng = 801 & gs ''intro_customization'', ''hair''">hip length</a> hair,'
	elseif pcs_hairlng > 400:
		$hair = 'You have <a href="exec:pcs_hairlng = 601 & gs ''intro_customization'', ''hair''">back length</a> hair,'
	elseif pcs_hairlng > 260:
		$hair = 'You have <a href="exec:pcs_hairlng = 401 & gs ''intro_customization'', ''hair''">breast length</a> hair,'
	elseif pcs_hairlng > 160:
		$hair = 'You have <a href="exec:pcs_hairlng = 261 & gs ''intro_customization'', ''hair''">shoulder length</a> hair,'
	elseif pcs_hairlng > 80:
		$hair = 'You have <a href="exec:pcs_hairlng = 161 & gs ''intro_customization'', ''hair''">chin length</a> hair,'
	elseif pcs_hairlng > 30:
		$hair = 'You have <a href="exec:pcs_hairlng = 81 & gs ''intro_customization'', ''hair''">short</a> hair,'
	else
		$hair = 'You have <a href="exec:pcs_hairlng = 31 & gs ''intro_customization'', ''hair''">very short</a> hair,'
	end

	*nl

	if pcs_haircol = 0 and curly <= 0:$hair += ' it is <a href="exec:defcurly = 1 & curly = 2147483647 & gs ''intro_customization'', ''hair''">straight</a> and <a href="exec:gs ''intro_customization'', ''pcs_haircol'' & gs ''intro_customization'', ''hair''">black</a>.'& $hair2 = 'black hair' & $hair3 = 'black hair'
	if pcs_haircol = 1 and curly <= 0:$hair += ' it is <a href="exec:defcurly = 1 & curly = 2147483647 & gs ''intro_customization'', ''hair''">straight</a> and <a href="exec:gs ''intro_customization'', ''pcs_haircol'' & gs ''intro_customization'', ''hair''">brown</a>.'& $hair2 = 'brown hair' & $hair3 = 'brown hair'
	if pcs_haircol = 2 and curly <= 0:$hair += ' it is <a href="exec:defcurly = 1 & curly = 2147483647 & gs ''intro_customization'', ''hair''">straight</a> and <a href="exec:gs ''intro_customization'', ''pcs_haircol'' & gs ''intro_customization'', ''hair''">red</a>.'& $hair2 = 'Red hair' & $hair3 = 'red hair'
	if pcs_haircol = 3 and curly <= 0:$hair += ' it is <a href="exec:defcurly = 1 & curly = 2147483647 & gs ''intro_customization'', ''hair''">straight</a> and <a href="exec:gs ''intro_customization'', ''pcs_haircol'' & gs ''intro_customization'', ''hair''">blonde</a>.'& $hair2 = 'blond hair' & $hair3 = 'blond hair'
	if pcs_haircol = 0 and curly > 0:$hair += ' it is <a href="exec:defcurly = 0 & curly = 0 & gs ''intro_customization'', ''hair''">curly</a> and <a href="exec:gs ''intro_customization'', ''pcs_haircol'' & gs ''intro_customization'', ''hair''">black</a>.'& $hair2 = 'curls' & $hair3 = 'black curls'
	if pcs_haircol = 1 and curly > 0:$hair += ' it is <a href="exec:defcurly = 0 & curly = 0 & gs ''intro_customization'', ''hair''">curly</a> and <a href="exec:gs ''intro_customization'', ''pcs_haircol'' & gs ''intro_customization'', ''hair''">brown</a>.'& $hair2 = 'curls' & $hair3 = 'brown curls'
	if pcs_haircol = 2 and curly > 0:$hair += ' it is <a href="exec:defcurly = 0 & curly = 0 & gs ''intro_customization'', ''hair''">curly</a> and <a href="exec:gs ''intro_customization'', ''pcs_haircol'' & gs ''intro_customization'', ''hair''">red</a>.'& $hair2 = 'curls' & $hair3 = 'red curls'
	if pcs_haircol = 3 and curly > 0:$hair += ' it is <a href="exec:defcurly = 0 & curly = 0 & gs ''intro_customization'', ''hair''">curly</a> and <a href="exec:gs ''intro_customization'', ''pcs_haircol'' & gs ''intro_customization'', ''hair''">blonde</a>.' &$hair2 = 'curls' & $hair3 = 'blond curls'

	if player_avatar = 1:
		'<center><i><<$hair>></i> You may also <a href="exec:gs ''intro_customization'', ''hair_input'' & gs ''intro_customization'', ''hair''">manually enter a description</a> if you would prefer.</center>'
	else
		'<center><i><<$hair>></i></center>'
	end
	nathcol = pcs_haircol
	act'<center><b>Done</b></center>': gt $loc, $loc_arg
end

if $ARGS[0] = 'pcs_haircol':
	pcs_haircol += 1
	if pcs_haircol > 3: pcs_haircol = 0
end

if $ARGS[0] = 'hair_input':
	avatar_hair = 1
	$av_hair = input("Enter a description of your hair:")
end

if $ARGS[0] = 'lip':
	cls
	'<center><b><font color = maroon>CHARACTER CUSTOMIZATION</font></b></center>'
	if player_avatar = 1:
		'<center><img HEIGHT = 478 src="images/avatar.jpg"></center>'
	else
		'<center><img <<$set_imgh>> src="<<FUNC(''$face_image'')>>"></center>'
	end
	*nl
	if pcs_lip = 0:$pcs_lip = 'you have thin<<$pcs_lipbalm>> lips.' & $liptalk = 'thin lips' & $liptalk2 = 'thin lips' & $liptalk3 = 'thin lips'
	if pcs_lip = 1:$pcs_lip = 'You have normal<<$pcs_lipbalm>> lips.' & $liptalk = 'soft lips' & $liptalk2 = 'delicate lips' & $liptalk3 = 'tender lips'
	if pcs_lip = 2:$pcs_lip = 'You have plump<<$pcs_lipbalm>> lips.' & $liptalk = 'plump lips' & $liptalk2 = 'plump lips' & $liptalk3 = 'plump lips'
	if pcs_lip = 3:$pcs_lip = 'You have large,<<$pcs_lipbalm>> full lips.' & $liptalk = 'full lips' & $liptalk2 = 'plump lips' & $liptalk3 = 'full lips'
	if pcs_lip = 4:$pcs_lip = 'You have huge, thick<<$pcs_lipbalm>> lips.' & $liptalk = 'thick lips' & $liptalk2 = 'thick lips' & $liptalk3 = 'thick lips'
	'<center>Adjust the size of your lips to match your <a href="exec:view''images/avatar.jpg''">image</a>:</center>'
	*nl
	'<center><i><<$pcs_lip>></i></center>'
	*nl
	if pcs_lip < 4:'<center><a href="exec:pcs_lip += 1 & gs ''intro_customization'', ''lip''">Bigger lips</a></center>'
	if pcs_lip > 0:'<center><a href="exec:pcs_lip -= 1 & gs ''intro_customization'', ''lip''">Smaller lips</a></center>'
	act'<center><b>Done</b></center>': gt $loc, $loc_arg
end

if $ARGS[0] = 'eyes':
	cls
	'<center><b><font color = maroon>CHARACTER CUSTOMIZATION</font></b></center>'
	if pcs_eyecol = 0:$pcs_eyecol = 'brown' & $glacol2 = 'brown'
	if pcs_eyecol = 1:$pcs_eyecol = 'grey' & $glacol2 = 'grey'
	if pcs_eyecol = 2:$pcs_eyecol = 'green' & $glacol2 = 'green'
	if pcs_eyecol = 3:$pcs_eyecol = 'blue' & $glacol2 = 'blue'
	if player_avatar = 1:
		'<center><img HEIGHT = 478 src="images/avatar.jpg"></center>'
	else
		'<center><img <<$set_imgh>> src="images/pc/body/eyes/<<$pcs_eyecol>>.jpg"></center>'
	end
	*nl
	if glass <= 0:$glass = '' & glassvnesh = 0
	if glass = 1:$glass = ' You wear silly glasses in a cheap frame.' & glassvnesh = 10
	if pcs_lashes > 2:pcs_lashes = 2
	if pcs_lashes = 0:$pcs_lashes = 'with short eyelashes'
	if pcs_lashes = 1:$pcs_lashes = 'with normal eyelashes'
	if pcs_lashes = 2:$pcs_lashes = 'with long eyelashes'
	if pcs_eyesize > 3:pcs_eyesize = 3
	if pcs_eyesize = 0:$glaza = 'You have small <a href="exec:gs ''intro_customization'', ''eye color'' & gs ''intro_customization'', ''eyes''"><<$pcs_eyecol>></a> eyes, <<$pcs_lashes>>.<<$glass>>' & $glaza2 = '<<$pcs_eyecol>> eyes' & $glaza3 = '<<$glacol2>> eyes'
	if pcs_eyesize = 1:$glaza = 'You have expressive <a href="exec:gs ''intro_customization'', ''eye color'' & gs ''intro_customization'', ''eyes''"><<$pcs_eyecol>></a> eyes, <<$pcs_lashes>>.<<$glass>>' & $glaza2 = 'expressive <<$pcs_eyecol>> eyes' & $glaza3 = 'expressive <<$glacol2>> eyes'
	if pcs_eyesize = 2:$glaza = 'You have large <a href="exec:gs ''intro_customization'', ''eye color'' & gs ''intro_customization'', ''eyes''"><<$pcs_eyecol>></a> eyes, <<$pcs_lashes>>.<<$glass>>' & $glaza2 = 'big <<$pcs_eyecol>> eyes' & $glaza3 = 'high <<$glacol2>> eyes'
	if pcs_eyesize = 3:$glaza = 'You have huge <a href="exec:gs ''intro_customization'', ''eye color'' & gs ''intro_customization'', ''eyes''"><<$pcs_eyecol>></a> eyes, <<$pcs_lashes>>.<<$glass>>' & $glaza2 = 'great <<$pcs_eyecol>> eyes' & $glaza3 = 'great <<$glacol2>> eyes'

	if player_avatar = 1:
		'<center>Adjust your eyes and eyelashes to match your avatar.</center>'
	end	
	*nl
	'<center><i><<$glaza>></i></center>'
	*nl
	if pcs_lashes < 2:'<center><a href="exec:pcs_lashes += 1 & gs ''intro_customization'', ''eyes''">Lengthen lashes</a></center>'
	if pcs_lashes > 0:'<center><a href="exec:pcs_lashes -= 1 & gs ''intro_customization'', ''eyes''">Shorten lashes</a></center>'
	if pcs_eyesize < 3:'<center><a href="exec:pcs_eyesize += 1 & gs ''intro_customization'', ''eyes''">Larger eyes</a></center>'
	if pcs_eyesize > 0:'<center><a href="exec:pcs_eyesize -= 1 & gs ''intro_customization'', ''eyes''">Smaller eyes</a></center>'
	if glass = 0:'<center><a href="exec:glass = 1 & gs ''intro_customization'', ''eyes''">Wear glasses</a></center>'
	if glass = 1:'<center><a href="exec:glass = 0 & gs ''intro_customization'', ''eyes''">Remove glasses</a></center>'
	
	
	act'<center><b>Done</b></center>': gt $loc, $loc_arg
end

if $ARGS[0] = 'eye color':
	pcs_eyecol += 1
	if pcs_eyecol > 3: pcs_eyecol = 0
end

if $ARGS[0] = 'birthday':
	cls
	'<center><b><font color = maroon>CHARACTER CUSTOMIZATION</font></b></center>'
	if $start_type['loc'] ! 'sg' or $start_type['magic'] ! 'tg':
		if player_avatar = 1:
			'<center><img HEIGHT = 478 src="images/avatar.jpg"></center>'
		else
			'<center><img <<$set_imgh>> src="<<FUNC(''$face_image'')>>"></center>'
		end
	else
		'<center><img <<$set_imgh>> src="images/system/1_openings/4_csb/16.jpg"></center>'
	end
	'<center>Choose your date of birth:</center>'
	*nl
	if birthyear = 0: birthyear = 1998
	if birthmonth = 0: birthmonth = 4
	if birthday = 0: birthday = 1

	if birthmonth = 2:
		if ((birthyear mod 4 = 0) and (birthyear mod 100 ! 0)) or (birthyear mod 400 = 0): 
			monthdays = 29
		else
			monthdays = 28
		end
	elseif birthmonth = 4 or birthmonth = 6 or birthmonth = 9 or birthmonth = 11:
		monthdays = 30
	else
		monthdays = 31
	end

	if birthmonth > 12: birthmonth = 12
	if birthmonth < 1: birthmonth = 1
	if birthday < 1: birthday = 1
	if birthday > monthdays: birthday = monthdays

	if birthday < 10 and birthmonth < 10:
		'<center>Your birthday: <B>0<<birthmonth>>/0<<birthday>></B> (MM/DD)</center>'
	elseif birthday < 10 and birthmonth >= 10:
		'<center>Your birthday: <B><<birthmonth>>/0<<birthday>></B> (MM/DD)</center>'
	elseif birthday >= 10 and birthmonth < 10:
		'<center>Your birthday: <B>0<<birthmonth>>/<<birthday>></B> (MM/DD)</center>'
	elseif birthday >= 10 and birthmonth >= 10:
		'<center>Your birthday: <B><<birthmonth>>/<<birthday>></B> (MM/DD)</center>'
	end

	*nl
	'<center><a href="exec:birthday += 5 & gs ''intro_customization'', ''birthday''">+5 Days</a></center>'
	'<center><a href="exec:birthday += 1 & gs ''intro_customization'', ''birthday''">+1 Day</a></center>'
	'<center><a href="exec:birthday -= 1 & gs ''intro_customization'', ''birthday''">-1 Day</a></center>'
	'<center><a href="exec:birthday -= 5 & gs ''intro_customization'', ''birthday''">-5 Days</a></center>'
	'<center><a href="exec:birthmonth = 1 & gs ''intro_customization'', ''birthday''">January</a></center>'
	'<center><a href="exec:birthmonth = 2 & gs ''intro_customization'', ''birthday''">February</a></center>'
	'<center><a href="exec:birthmonth = 3 & gs ''intro_customization'', ''birthday''">March</a></center>'
	'<center><a href="exec:birthmonth = 4 & gs ''intro_customization'', ''birthday''">April</a></center>'
	'<center><a href="exec:birthmonth = 5 & gs ''intro_customization'', ''birthday''">May</a></center>'
	'<center><a href="exec:birthmonth = 6 & gs ''intro_customization'', ''birthday''">June</a></center>'
	'<center><a href="exec:birthmonth = 7 & gs ''intro_customization'', ''birthday''">July</a></center>'
	'<center><a href="exec:birthmonth = 8 & gs ''intro_customization'', ''birthday''">August</a></center>'
	'<center><a href="exec:birthmonth = 9 & gs ''intro_customization'', ''birthday''">September</a></center>'
	'<center><a href="exec:birthmonth = 10 & gs ''intro_customization'', ''birthday''">October</a></center>'
	'<center><a href="exec:birthmonth = 11 & gs ''intro_customization'', ''birthday''">November</a></center>'
	'<center><a href="exec:birthmonth = 12 & gs ''intro_customization'', ''birthday''">December</a></center>'

	act'<center><b>Done</b></center>': gt $locM, $locM_arg
end

--- intro_customization ---------------------------------

