# obj_din

if $ARGS[0] = 'chartabs':
	cla
	!0: Character
	!1: Skills
	!2: Stats
	!4: Pain
	!5: Traits
	!6: Renown
	!7: Magic
	'<center><b><table width="90%" cellspacing="0" cellpadding="0" valign="top"><tr>'
	if menu_page = 0:'<th>Character</th><th><a href="exec:menu_page = 1 & gs ''obj_din'', ''skills''">Skills</a></th><th><a href="exec:menu_page = 2 & gs ''obj_din'', ''stats''">Statistics</a></th><th><a href="exec:menu_page = 3 & gs ''obj_din'', ''pain''">Pain</a></th><th><a href="exec:menu_page = 4 & gs ''traits'', ''menu''">Traits</a></th><th><a href="exec:menu_page = 5 & gs ''obj_din'', ''reputation''">Renown</a></th>'+iif(pcs_magik = 0,'','<th><a href="exec:menu_page = 6 & gs ''obj_din'', ''magic''">Magic</a></th>')+''
	if menu_page = 1:'<th><a href="exec:menu_page = 0 & gs ''obj_din'', ''description''">Character</a></th><th>Skills</th><th><a href="exec:menu_page = 2 & gs ''obj_din'', ''stats''">Statistics</a></th><th><a href="exec:menu_page = 3 & gs ''obj_din'', ''pain''">Pain</a></th><th><a href="exec:menu_page = 4 & gs ''traits'', ''menu''">Traits</a></th><th><a href="exec:menu_page = 5 & gs ''obj_din'', ''reputation''">Renown</a></th>'+iif(pcs_magik = 0,'','<th><a href="exec:menu_page = 6 & gs ''obj_din'', ''magic''">Magic</a></th>')+''
	if menu_page = 2:'<th><a href="exec:menu_page = 0 & gs ''obj_din'', ''description''">Character</a></th><th><a href="exec:menu_page = 1 & gs ''obj_din'', ''skills''">Skills</a></th><th>Statistics</th><th><a href="exec:menu_page = 3 & gs ''obj_din'', ''pain''">Pain</a></th><th><a href="exec:menu_page = 4 & gs ''traits'', ''menu''">Traits</a></th><th><a href="exec:menu_page = 5 & gs ''obj_din'', ''reputation''">Renown</a></th>'+iif(pcs_magik = 0,'','<th><a href="exec:menu_page = 6 & gs ''obj_din'', ''magic''">Magic</a></th>')+''
	if menu_page = 3:'<th><a href="exec:menu_page = 0 & gs ''obj_din'', ''description''">Character</a></th><th><a href="exec:menu_page = 1 & gs ''obj_din'', ''skills''">Skills</a></th><th><a href="exec:menu_page = 2 & gs ''obj_din'', ''stats''">Statistics</a></th><th>Pain</th><th><a href="exec:menu_page = 4 & gs ''traits'', ''menu''">Traits</a></th><th><a href="exec:menu_page = 5 & gs ''obj_din'', ''reputation''">Renown</a></th>'+iif(pcs_magik = 0,'','<th><a href="exec:menu_page = 6 & gs ''obj_din'', ''magic''">Magic</a></th>')+''
	if menu_page = 4:'<th><a href="exec:menu_page = 0 & gs ''obj_din'', ''description''">Character</a></th><th><a href="exec:menu_page = 1 & gs ''obj_din'', ''skills''">Skills</a></th><th><a href="exec:menu_page = 2 & gs ''obj_din'', ''stats''">Statistics</a></th><th><a href="exec:menu_page = 3 & gs ''obj_din'', ''pain''">Pain</a></th><th>Traits</th><th><a href="exec:menu_page = 5 & gs ''obj_din'', ''reputation''">Renown</a></th>'+iif(pcs_magik = 0,'','<th><a href="exec:menu_page = 6 & gs ''obj_din'', ''magic''">Magic</a></th>')+''
	if menu_page = 5:'<th><a href="exec:menu_page = 0 & gs ''obj_din'', ''description''">Character</a></th><th><a href="exec:menu_page = 1 & gs ''obj_din'', ''skills''">Skills</a></th><th><a href="exec:menu_page = 2 & gs ''obj_din'', ''stats''">Statistics</a></th><th><a href="exec:menu_page = 3 & gs ''obj_din'', ''pain''">Pain</a></th><th><a href="exec:menu_page = 4 & gs ''traits'', ''menu''">Traits</a></th><th>Renown</th>'+iif(pcs_magik = 0,'','<th><a href="exec:menu_page = 6 & gs ''obj_din'', ''magic''">Magic</a></th>')+''
	if menu_page = 6:'<th><a href="exec:menu_page = 0 & gs ''obj_din'', ''description''">Character</a></th><th><a href="exec:menu_page = 1 & gs ''obj_din'', ''skills''">Skills</a></th><th><a href="exec:menu_page = 2 & gs ''obj_din'', ''stats''">Statistics</a></th><th><a href="exec:menu_page = 3 & gs ''obj_din'', ''pain''">Pain</a></th><th><a href="exec:menu_page = 4 & gs ''traits'', ''menu''">Traits</a></th><th><a href="exec:menu_page = 5 & gs ''obj_din'', ''reputation''">Renown</a></th>'+iif(pcs_magik = 0,'','<th>Magic</th>')+''
	'</tr></table></b></center>'
	act 'Exit the menu': killvar 'menu_page' & gt 'obj_din', 'menu_exit'
end

if $ARGS[0] = 'bodytabs':
	cla
	!0: Face
	!1: Body
	!2: Clothes
	!3: Bra
	!4: Panties
	!5: Shoes
	!6: Tattoos
	!7: Magic
	'<center><b><table width="90%" cellspacing="0" cellpadding="0" valign="top"><tr>'
	if menu_page = 0:'<th>Looks</th><th><a href="exec:menu_page = 1 & gs ''obj_din'', ''body''">Body</a></th><th><a href="exec:menu_page = 2 & gs ''obj_din'', ''clothes''">Clothes</a></th><th><a href="exec:menu_page = 3 & gs ''obj_din'', ''bra''">Bra</a></th><th><a href="exec:menu_page = 4 & gs ''obj_din'', ''panties''">Panties</a></th><th><a href="exec:menu_page = 5 & gs ''obj_din'', ''shoes''">Shoes</a></th><th><a href="exec:menu_page = 6 & gs ''obj_din'', ''tattoos''">Tattoos</a></th><th><a href="exec:menu_page = 7 & gs ''obj_din'', ''piercing''">Piercings</a></th>'
	if menu_page = 1:'<th><a href="exec:menu_page = 0 & gs ''obj_din'', ''face''">Looks</a></th><th>Body</th><th><a href="exec:menu_page = 2 & gs ''obj_din'', ''clothes''">Clothes</a></th><th><a href="exec:menu_page = 3 & gs ''obj_din'', ''bra''">Bra</a></th><th><a href="exec:menu_page = 4 & gs ''obj_din'', ''panties''">Panties</a></th><th><a href="exec:menu_page = 5 & gs ''obj_din'', ''shoes''">Shoes</a></th><th><a href="exec:menu_page = 6 & gs ''obj_din'', ''tattoos''">Tattoos</a></th><th><a href="exec:menu_page = 7 & gs ''obj_din'', ''piercing''">Piercings</a></th>'
	if menu_page = 2:'<th><a href="exec:menu_page = 0 & gs ''obj_din'', ''face''">Looks</a></th><th><a href="exec:menu_page = 1 & gs ''obj_din'', ''body''">Body</a></th><th>Clothes</th><th><a href="exec:menu_page = 3 & gs ''obj_din'', ''bra''">Bra</a></th><th><a href="exec:menu_page = 4 & gs ''obj_din'', ''panties''">Panties</a></th><th><a href="exec:menu_page = 5 & gs ''obj_din'', ''shoes''">Shoes</a></th><th><a href="exec:menu_page = 6 & gs ''obj_din'', ''tattoos''">Tattoos</a></th><th><a href="exec:menu_page = 7 & gs ''obj_din'', ''piercing''">Piercings</a></th>'
	if menu_page = 3:'<th><a href="exec:menu_page = 0 & gs ''obj_din'', ''face''">Looks</a></th><th><a href="exec:menu_page = 1 & gs ''obj_din'', ''body''">Body</a></th><th><a href="exec:menu_page = 2 & gs ''obj_din'', ''clothes''">Clothes</a></th><th>Bra</th><th><a href="exec:menu_page = 4 & gs ''obj_din'', ''panties''">Panties</a></th><th><a href="exec:menu_page = 5 & gs ''obj_din'', ''shoes''">Shoes</a></th><th><a href="exec:menu_page = 6 & gs ''obj_din'', ''tattoos''">Tattoos</a></th><th><a href="exec:menu_page = 7 & gs ''obj_din'', ''piercing''">Piercings</a></th>'
	if menu_page = 4:'<th><a href="exec:menu_page = 0 & gs ''obj_din'', ''face''">Looks</a></th><th><a href="exec:menu_page = 1 & gs ''obj_din'', ''body''">Body</a></th><th><a href="exec:menu_page = 2 & gs ''obj_din'', ''clothes''">Clothes</a></th><th><a href="exec:menu_page = 3 & gs ''obj_din'', ''bra''">Bra</a></th><th>Panties</th><th><a href="exec:menu_page = 5 & gs ''obj_din'', ''shoes''">Shoes</a></th><th><a href="exec:menu_page = 6 & gs ''obj_din'', ''tattoos''">Tattoos</a></th><th><a href="exec:menu_page = 7 & gs ''obj_din'', ''piercing''">Piercings</a></th>'
	if menu_page = 5:'<th><a href="exec:menu_page = 0 & gs ''obj_din'', ''face''">Looks</a></th><th><a href="exec:menu_page = 1 & gs ''obj_din'', ''body''">Body</a></th><th><a href="exec:menu_page = 2 & gs ''obj_din'', ''clothes''">Clothes</a></th><th><a href="exec:menu_page = 3 & gs ''obj_din'', ''bra''">Bra</a></th><th><a href="exec:menu_page = 4 & gs ''obj_din'', ''panties''">Panties</a></th><th>Shoes</th><th><a href="exec:menu_page = 6 & gs ''obj_din'', ''tattoos''">Tattoos</a></th><th><a href="exec:menu_page = 7 & gs ''obj_din'', ''piercing''">Piercings</a></th>'
	if menu_page = 6:'<th><a href="exec:menu_page = 0 & gs ''obj_din'', ''face''">Looks</a></th><th><a href="exec:menu_page = 1 & gs ''obj_din'', ''body''">Body</a></th><th><a href="exec:menu_page = 2 & gs ''obj_din'', ''clothes''">Clothes</a></th><th><a href="exec:menu_page = 3 & gs ''obj_din'', ''bra''">Bra</a></th><th><a href="exec:menu_page = 4 & gs ''obj_din'', ''panties''">Panties</a></th><th><a href="exec:menu_page = 5 & gs ''obj_din'', ''shoes''">Shoes</a></th><th>Tattoos</th><th><a href="exec:menu_page = 7 & gs ''obj_din'', ''piercing''">Piercings</a></th>'
	if menu_page = 7:'<th><a href="exec:menu_page = 0 & gs ''obj_din'', ''face''">Looks</a></th><th><a href="exec:menu_page = 1 & gs ''obj_din'', ''body''">Body</a></th><th><a href="exec:menu_page = 2 & gs ''obj_din'', ''clothes''">Clothes</a></th><th><a href="exec:menu_page = 3 & gs ''obj_din'', ''bra''">Bra</a></th><th><a href="exec:menu_page = 4 & gs ''obj_din'', ''panties''">Panties</a></th><th><a href="exec:menu_page = 5 & gs ''obj_din'', ''shoes''">Shoes</a></th><th><a href="exec:menu_page = 6 & gs ''obj_din'', ''tattoos''">Tattoos</a></th><th>Piercings</th>'
	'</tr></table></b></center>'
	act 'Exit the menu': killvar 'menu_page' & gt 'obj_din', 'menu_exit'
end

if $ARGS[0] = 'settingtabs':
	cla
	!0: Gameplay
	!1: Display
	!2: Status
	!3: Phone
	!4: Mods
	'<center><b><table width="90%" cellspacing="0" cellpadding="0" valign="top"><tr>'
	if menu_page = 0:'<th>Gameplay Settings</th><th><a href="exec:menu_page = 1 & dynamic $cheatmenu[''display'']">Display Settings</a></th><th><a href="exec:menu_page = 2 & dynamic $cheatmenu[''status'']">Status Window Settings</a></th>'+iif(settingmode = 1,'','<th><a href="exec:menu_page = 3 & dynamic $cheatmenu[''theme'']">Phone Theme Settings</a></th>')+'<th><a href="exec:menu_page = 4 & gt ''mod_setting''">Mods</a></th>'
	if menu_page = 1:'<th><a href="exec:menu_page = 0 & dynamic $cheatmenu[''setting'']">Gameplay Settings</a></th><th>Display Settings</th><th><a href="exec:menu_page = 2 & dynamic $cheatmenu[''status'']">Status Window Settings</a></th>'+iif(settingmode = 1,'','<th><a href="exec:menu_page = 3 & dynamic $cheatmenu[''theme'']">Phone Theme Settings</a></th>')+'<th><a href="exec:menu_page = 4 & gt ''mod_setting''">Mods</a></th>'
	if menu_page = 2:'<th><a href="exec:menu_page = 0 & dynamic $cheatmenu[''setting'']">Gameplay Settings</a></th><th><a href="exec:menu_page = 1 & dynamic $cheatmenu[''display'']">Display Settings</a></th><th>Status Window Settings</th>'+iif(settingmode = 1,'','<th><a href="exec:menu_page = 3 & dynamic $cheatmenu[''theme'']">Phone Theme Settings</a></th>')+'<th><a href="exec:menu_page = 4 & gt ''mod_setting''">Mods</a></th>'
	if menu_page = 3:'<th><a href="exec:menu_page = 0 & dynamic $cheatmenu[''setting'']">Gameplay Settings</a></th><th><a href="exec:menu_page = 1 & dynamic $cheatmenu[''display'']">Display Settings</a></th><th><a href="exec:menu_page = 2 & dynamic $cheatmenu[''status'']">Status Window Settings</a></th>'+iif(settingmode = 1,'','<th>Phone Theme Settings</th>')+'<th><a href="exec:menu_page = 4 & gt ''mod_setting''">Mods</a></th>'
	if menu_page = 4:'<th><a href="exec:menu_page = 0 & dynamic $cheatmenu[''setting'']">Gameplay Settings</a></th><th><a href="exec:menu_page = 1 & dynamic $cheatmenu[''display'']">Display Settings</a></th><th><a href="exec:menu_page = 2 & dynamic $cheatmenu[''status'']">Status Window Settings</a></th>'+iif(settingmode = 1,'','<th><a href="exec:menu_page = 3 & dynamic $cheatmenu[''theme'']">Phone Theme Settings</a></th>')+'<th>Mods</th>'
	'</tr></table></b></center>'
	if settingmode = 1:
		act '<center><b>Return to character creation</b></center>':
			killvar 'menu_page'
			settingmode = 0
			gt 'begin', 'start'
		end
	else
		!call from Menu - Game settings
		act 'Enter cheat menu': killvar 'menu_page' & gs '$menu_cheat'
		act 'Emergency Exit': killvar 'menu_page' & gt 'obj_din', 'emergency'
		act 'Exit the menu': killvar 'menu_page' & gt 'obj_din', 'menu_exit'
	end
end

if $ARGS[0] = 'cheattabs':
	cla
	!0: Index
	!1: Recurrent
	!2: State
	!3: Appearance
	!4: Skill
	!5: Relationships
	!6: Documents
	!7: Magic
	!8: Time
	!9: NPCChanger
	!10: Pain
	!11: DNA
	!12: ImageSets
	'<center><b><table width="90%" cellspacing="0" cellpadding="10" align="center" valign="top"><tr>'
	if menu_page = 0:'<th>Index</th><th><a href="exec:menu_page = 1 & dynamic $cheatmenu[''permanent'']">Recurrent</a></th><th><a href="exec:menu_page = 2 & dynamic $cheatmenu[''state'']">State</a></th><th><a href="exec:menu_page = 3 & dynamic $cheatmenu[''looks'']">Appearance</a></th><th><a href="exec:menu_page = 4 & dynamic $cheatmenu[''stats'']">Skill</a></th><th><a href="exec:menu_page = 5 & dynamic $cheatmenu[''reputation'']">Relationships</a></th><th><a href="exec:menu_page = 6 & dynamic $cheatmenu[''documents'']">Documents</a></th></tr><tr>'+iif(pcs_magik = 0,'','<th><a href="exec:menu_page = 7 & dynamic $cheatmenu[''magic'']">Magic</a></th>')+'<th><a href="exec:menu_page = 8 & dynamic $cheatmenu[''time'']">Time</a></th><th><a href="exec:menu_page = 9 & gs ''NPCChanger'', ''Start''">NPC Editor</a></th><th><a href="exec:menu_page = 10 & dynamic $cheatmenu[''pain'']">Pain</a></th><th><a href="exec:menu_page = 11 & dynamic $cheatmenu[''DNA'']">DNA</a></th><th><a href="exec:menu_page = 12 & dynamic $cheatmenu[''bdimmain'']">Image Sets</a></th>'
	if menu_page = 1:'<th><a href="exec:menu_page = 0 & dynamic $cheatmenu">Index</a></th><th>Recurrent</th><th><a href="exec:menu_page = 2 & dynamic $cheatmenu[''state'']">State</a></th><th><a href="exec:menu_page = 3 & dynamic $cheatmenu[''looks'']">Appearance</a></th><th><a href="exec:menu_page = 4 & dynamic $cheatmenu[''stats'']">Skill</a></th><th><a href="exec:menu_page = 5 & dynamic $cheatmenu[''reputation'']">Relationships</a></th><th><a href="exec:menu_page = 6 & dynamic $cheatmenu[''documents'']">Documents</a></th></tr><tr>'+iif(pcs_magik = 0,'','<th><a href="exec:menu_page = 7 & dynamic $cheatmenu[''magic'']">Magic</a></th>')+'<th><a href="exec:menu_page = 8 & dynamic $cheatmenu[''time'']">Time</a></th><th><a href="exec:menu_page = 9 & gs ''NPCChanger'', ''Start''">NPC Editor</a></th><th><a href="exec:menu_page = 10 & dynamic $cheatmenu[''pain'']">Pain</a></th><th><a href="exec:menu_page = 11 & dynamic $cheatmenu[''DNA'']">DNA</a></th><th><a href="exec:menu_page = 12 & dynamic $cheatmenu[''bdimmain'']">Image Sets</a></th>'
	if menu_page = 2:'<th><a href="exec:menu_page = 0 & dynamic $cheatmenu">Index</a></th><th><a href="exec:menu_page = 1 & dynamic $cheatmenu[''permanent'']">Recurrent</a></th><th>State</th><th><a href="exec:menu_page = 3 & dynamic $cheatmenu[''looks'']">Appearance</a></th><th><a href="exec:menu_page = 4 & dynamic $cheatmenu[''stats'']">Skill</a></th><th><a href="exec:menu_page = 5 & dynamic $cheatmenu[''reputation'']">Relationships</a></th><th><a href="exec:menu_page = 6 & dynamic $cheatmenu[''documents'']">Documents</a></th></tr><tr>'+iif(pcs_magik = 0,'','<th><a href="exec:menu_page = 7 & dynamic $cheatmenu[''magic'']">Magic</a></th>')+'<th><a href="exec:menu_page = 8 & dynamic $cheatmenu[''time'']">Time</a></th><th><a href="exec:menu_page = 9 & gs ''NPCChanger'', ''Start''">NPC Editor</a></th><th><a href="exec:menu_page = 10 & dynamic $cheatmenu[''pain'']">Pain</a></th><th><a href="exec:menu_page = 11 & dynamic $cheatmenu[''DNA'']">DNA</a></th><th><a href="exec:menu_page = 12 & dynamic $cheatmenu[''bdimmain'']">Image Sets</a></th>'
	if menu_page = 3:'<th><a href="exec:menu_page = 0 & dynamic $cheatmenu">Index</a></th><th><a href="exec:menu_page = 1 & dynamic $cheatmenu[''permanent'']">Recurrent</a></th><th><a href="exec:menu_page = 2 & dynamic $cheatmenu[''state'']">State</a></th><th>Appearance</th><th><a href="exec:menu_page = 4 & dynamic $cheatmenu[''stats'']">Skill</a></th><th><a href="exec:menu_page = 5 & dynamic $cheatmenu[''reputation'']">Relationships</a></th><th><a href="exec:menu_page = 6 & dynamic $cheatmenu[''documents'']">Documents</a></th></tr><tr>'+iif(pcs_magik = 0,'','<th><a href="exec:menu_page = 7 & dynamic $cheatmenu[''magic'']">Magic</a></th>')+'<th><a href="exec:menu_page = 8 & dynamic $cheatmenu[''time'']">Time</a></th><th><a href="exec:menu_page = 9 & gs ''NPCChanger'', ''Start''">NPC Editor</a></th><th><a href="exec:menu_page = 10 & dynamic $cheatmenu[''pain'']">Pain</a></th><th><a href="exec:menu_page = 11 & dynamic $cheatmenu[''DNA'']">DNA</a></th><th><a href="exec:menu_page = 12 & dynamic $cheatmenu[''bdimmain'']">Image Sets</a></th>'
	if menu_page = 4:'<th><a href="exec:menu_page = 0 & dynamic $cheatmenu">Index</a></th><th><a href="exec:menu_page = 1 & dynamic $cheatmenu[''permanent'']">Recurrent</a></th><th><a href="exec:menu_page = 2 & dynamic $cheatmenu[''state'']">State</a></th><th><a href="exec:menu_page = 3 & dynamic $cheatmenu[''looks'']">Appearance</a></th><th>Skill</th><th><a href="exec:menu_page = 5 & dynamic $cheatmenu[''reputation'']">Relationships</a></th><th><a href="exec:menu_page = 6 & dynamic $cheatmenu[''documents'']">Documents</a></th></tr><tr>'+iif(pcs_magik = 0,'','<th><a href="exec:menu_page = 7 & dynamic $cheatmenu[''magic'']">Magic</a></th>')+'<th><a href="exec:menu_page = 8 & dynamic $cheatmenu[''time'']">Time</a></th><th><a href="exec:menu_page = 9 & gs ''NPCChanger'', ''Start''">NPC Editor</a></th><th><a href="exec:menu_page = 10 & dynamic $cheatmenu[''pain'']">Pain</a></th><th><a href="exec:menu_page = 11 & dynamic $cheatmenu[''DNA'']">DNA</a></th><th><a href="exec:menu_page = 12 & dynamic $cheatmenu[''bdimmain'']">Image Sets</a></th>'
	if menu_page = 5:'<th><a href="exec:menu_page = 0 & dynamic $cheatmenu">Index</a></th><th><a href="exec:menu_page = 1 & dynamic $cheatmenu[''permanent'']">Recurrent</a></th><th><a href="exec:menu_page = 2 & dynamic $cheatmenu[''state'']">State</a></th><th><a href="exec:menu_page = 3 & dynamic $cheatmenu[''looks'']">Appearance</a></th><th><a href="exec:menu_page = 4 & dynamic $cheatmenu[''stats'']">Skill</a></th><th>Relationships</th><th><a href="exec:menu_page = 6 & dynamic $cheatmenu[''documents'']">Documents</a></th></tr><tr>'+iif(pcs_magik = 0,'','<th><a href="exec:menu_page = 7 & dynamic $cheatmenu[''magic'']">Magic</a></th>')+'<th><a href="exec:menu_page = 8 & dynamic $cheatmenu[''time'']">Time</a></th><th><a href="exec:menu_page = 9 & gs ''NPCChanger'', ''Start''">NPC Editor</a></th><th><a href="exec:menu_page = 10 & dynamic $cheatmenu[''pain'']">Pain</a></th><th><a href="exec:menu_page = 11 & dynamic $cheatmenu[''DNA'']">DNA</a></th><th><a href="exec:menu_page = 12 & dynamic $cheatmenu[''bdimmain'']">Image Sets</a></th>'
	if menu_page = 6:'<th><a href="exec:menu_page = 0 & dynamic $cheatmenu">Index</a></th><th><a href="exec:menu_page = 1 & dynamic $cheatmenu[''permanent'']">Recurrent</a></th><th><a href="exec:menu_page = 2 & dynamic $cheatmenu[''state'']">State</a></th><th><a href="exec:menu_page = 3 & dynamic $cheatmenu[''looks'']">Appearance</a></th><th><a href="exec:menu_page = 4 & dynamic $cheatmenu[''stats'']">Skill</a></th><th><a href="exec:menu_page = 5 & dynamic $cheatmenu[''reputation'']">Relationships</a></th><th>Documents</th></tr><tr>'+iif(pcs_magik = 0,'','<th><a href="exec:menu_page = 7 & dynamic $cheatmenu[''magic'']">Magic</a></th>')+'<th><a href="exec:menu_page = 8 & dynamic $cheatmenu[''time'']">Time</a></th><th><a href="exec:menu_page = 9 & gs ''NPCChanger'', ''Start''">NPC Editor</a></th><th><a href="exec:menu_page = 10 & dynamic $cheatmenu[''pain'']">Pain</a></th><th><a href="exec:menu_page = 11 & dynamic $cheatmenu[''DNA'']">DNA</a></th><th><a href="exec:menu_page = 12 & dynamic $cheatmenu[''bdimmain'']">Image Sets</a></th>'
	if menu_page = 7:'<th><a href="exec:menu_page = 0 & dynamic $cheatmenu">Index</a></th><th><a href="exec:menu_page = 1 & dynamic $cheatmenu[''permanent'']">Recurrent</a></th><th><a href="exec:menu_page = 2 & dynamic $cheatmenu[''state'']">State</a></th><th><a href="exec:menu_page = 3 & dynamic $cheatmenu[''looks'']">Appearance</a></th><th><a href="exec:menu_page = 4 & dynamic $cheatmenu[''stats'']">Skill</a></th><th><a href="exec:menu_page = 5 & dynamic $cheatmenu[''reputation'']">Relationships</a></th><th><a href="exec:menu_page = 6 & dynamic $cheatmenu[''documents'']">Documents</a></th></tr><tr>'+iif(pcs_magik = 0,'','<th>Magic</th>')+'<th><a href="exec:menu_page = 8 & dynamic $cheatmenu[''time'']">Time</a></th><th><a href="exec:menu_page = 9 & gs ''NPCChanger'', ''Start''">NPC Editor</a></th><th><a href="exec:menu_page = 10 & dynamic $cheatmenu[''pain'']">Pain</a></th><th><a href="exec:menu_page = 11 & dynamic $cheatmenu[''DNA'']">DNA</a></th><th><a href="exec:menu_page = 12 & dynamic $cheatmenu[''bdimmain'']">Image Sets</a></th>'
	if menu_page = 8:'<th><a href="exec:menu_page = 0 & dynamic $cheatmenu">Index</a></th><th><a href="exec:menu_page = 1 & dynamic $cheatmenu[''permanent'']">Recurrent</a></th><th><a href="exec:menu_page = 2 & dynamic $cheatmenu[''state'']">State</a></th><th><a href="exec:menu_page = 3 & dynamic $cheatmenu[''looks'']">Appearance</a></th><th><a href="exec:menu_page = 4 & dynamic $cheatmenu[''stats'']">Skill</a></th><th><a href="exec:menu_page = 5 & dynamic $cheatmenu[''reputation'']">Relationships</a></th><th><a href="exec:menu_page = 6 & dynamic $cheatmenu[''documents'']">Documents</a></th></tr><tr>'+iif(pcs_magik = 0,'','<th><a href="exec:menu_page = 7 & dynamic $cheatmenu[''magic'']">Magic</a></th>')+'<th>Time</th><th><a href="exec:menu_page = 9 & gs ''NPCChanger'', ''Start''">NPC Editor</a></th><th><a href="exec:menu_page = 10 & dynamic $cheatmenu[''pain'']">Pain</a></th><th><a href="exec:menu_page = 11 & dynamic $cheatmenu[''DNA'']">DNA</a></th><th><a href="exec:menu_page = 12 & dynamic $cheatmenu[''bdimmain'']">Image Sets</a></th>'
	if menu_page = 9:'<th><a href="exec:menu_page = 0 & dynamic $cheatmenu">Index</a></th><th><a href="exec:menu_page = 1 & dynamic $cheatmenu[''permanent'']">Recurrent</a></th><th><a href="exec:menu_page = 2 & dynamic $cheatmenu[''state'']">State</a></th><th><a href="exec:menu_page = 3 & dynamic $cheatmenu[''looks'']">Appearance</a></th><th><a href="exec:menu_page = 4 & dynamic $cheatmenu[''stats'']">Skill</a></th><th><a href="exec:menu_page = 5 & dynamic $cheatmenu[''reputation'']">Relationships</a></th><th><a href="exec:menu_page = 6 & dynamic $cheatmenu[''documents'']">Documents</a></th></tr><tr>'+iif(pcs_magik = 0,'','<th><a href="exec:menu_page = 7 & dynamic $cheatmenu[''magic'']">Magic</a></th>')+'<th><a href="exec:menu_page = 8 & dynamic $cheatmenu[''time'']">Time</a></th><th>NPC Editor</th><th><a href="exec:menu_page = 10 & dynamic $cheatmenu[''pain'']">Pain</a></th><th><a href="exec:menu_page = 11 & dynamic $cheatmenu[''DNA'']">DNA</a></th><th><a href="exec:menu_page = 12 & dynamic $cheatmenu[''bdimmain'']">Image Sets</a></th>'
	if menu_page = 10:'<th><a href="exec:menu_page = 0 & dynamic $cheatmenu">Index</a></th><th><a href="exec:menu_page = 1 & dynamic $cheatmenu[''permanent'']">Recurrent</a></th><th><a href="exec:menu_page = 2 & dynamic $cheatmenu[''state'']">State</a></th><th><a href="exec:menu_page = 3 & dynamic $cheatmenu[''looks'']">Appearance</a></th><th><a href="exec:menu_page = 4 & dynamic $cheatmenu[''stats'']">Skill</a></th><th><a href="exec:menu_page = 5 & dynamic $cheatmenu[''reputation'']">Relationships</a></th><th><a href="exec:menu_page = 6 & dynamic $cheatmenu[''documents'']">Documents</a></th></tr><tr>'+iif(pcs_magik = 0,'','<th><a href="exec:menu_page = 7 & dynamic $cheatmenu[''magic'']">Magic</a></th>')+'<th><a href="exec:menu_page = 8 & dynamic $cheatmenu[''time'']">Time</a></th><th><a href="exec:menu_page = 9 & gs ''NPCChanger'', ''Start''">NPC Editor</a></th><th>Pain</th><th><a href="exec:menu_page = 11 & dynamic $cheatmenu[''DNA'']">DNA</a></th><th><a href="exec:menu_page = 12 & dynamic $cheatmenu[''bdimmain'']">Image Sets</a></th>'
	if menu_page = 11:'<th><a href="exec:menu_page = 0 & dynamic $cheatmenu">Index</a></th><th><a href="exec:menu_page = 1 & dynamic $cheatmenu[''permanent'']">Recurrent</a></th><th><a href="exec:menu_page = 2 & dynamic $cheatmenu[''state'']">State</a></th><th><a href="exec:menu_page = 3 & dynamic $cheatmenu[''looks'']">Appearance</a></th><th><a href="exec:menu_page = 4 & dynamic $cheatmenu[''stats'']">Skill</a></th><th><a href="exec:menu_page = 5 & dynamic $cheatmenu[''reputation'']">Relationships</a></th><th><a href="exec:menu_page = 6 & dynamic $cheatmenu[''documents'']">Documents</a></th></tr><tr>'+iif(pcs_magik = 0,'','<th><a href="exec:menu_page = 7 & dynamic $cheatmenu[''magic'']">Magic</a></th>')+'<th><a href="exec:menu_page = 8 & dynamic $cheatmenu[''time'']">Time</a></th><th><a href="exec:menu_page = 9 & gs ''NPCChanger'', ''Start''">NPC Editor</a></th><th><a href="exec:menu_page = 10 & dynamic $cheatmenu[''pain'']">Pain</a></th><th>DNA</th><th><a href="exec:menu_page = 12 & dynamic $cheatmenu[''bdimmain'']">Image Sets</a></th>'
	if menu_page = 12:'<th><a href="exec:menu_page = 0 & dynamic $cheatmenu">Index</a></th><th><a href="exec:menu_page = 1 & dynamic $cheatmenu[''permanent'']">Recurrent</a></th><th><a href="exec:menu_page = 2 & dynamic $cheatmenu[''state'']">State</a></th><th><a href="exec:menu_page = 3 & dynamic $cheatmenu[''looks'']">Appearance</a></th><th><a href="exec:menu_page = 4 & dynamic $cheatmenu[''stats'']">Skill</a></th><th><a href="exec:menu_page = 5 & dynamic $cheatmenu[''reputation'']">Relationships</a></th><th><a href="exec:menu_page = 6 & dynamic $cheatmenu[''documents'']">Documents</a></th></tr><tr>'+iif(pcs_magik = 0,'','<th><a href="exec:menu_page = 7 & dynamic $cheatmenu[''magic'']">Magic</a></th>')+'<th><a href="exec:menu_page = 8 & dynamic $cheatmenu[''time'']">Time</a></th><th><a href="exec:menu_page = 9 & gs ''NPCChanger'', ''Start''">NPC Editor</a></th><th><a href="exec:menu_page = 10 & dynamic $cheatmenu[''pain'']">Pain</a></th><th><a href="exec:menu_page = 11 & dynamic $cheatmenu[''DNA'']">DNA</a></th><th>Image Sets</th>'
	'</tr></table></b></center>'
	act 'Settings menu': killvar 'menu_page' & gs '$menu_setting'
	act 'Emergency Exit': killvar 'menu_page' & gt 'obj_din', 'emergency'
	act 'Exit the menu': killvar 'menu_page' & gt 'obj_din', 'menu_exit'
	end

if $ARGS[0] = 'menu_exit': gt '<<$menu_loc>>', '<<$menu_arg>>'

if $ARGS[0] = 'menu_disabled': '<font color="red"><b>Menu is disabled for this event</b></font>'

if $ARGS[0] = 'description':
	*clr & cla
	gs 'obj_din','chartabs'
	gs 'body'
	!'<center><img src="images/system/icon/description.png"><br></center>'
	'<center><h1>Character Description</h1></center>'

	'<center><table width="90%" cellspacing="0" cellpadding="20" valign="top"><tr><td>'
	'Your name is <<$pcs_firstname>> <<$pcs_lastname>>.'

	!!!0.2.6 extension
	if StoryLine > 0:
		'Your friends and family call you <<$pcs_nickname>>.'
	else
		'Your friends call you <<$pcs_nickname>>.'
	end
	!!!

	if ARRSIZE('home_owned') = 0:
		'You have nowhere to live, if this is an error set your current home <a href="exec:gs ''obj_din'', ''cur_home''">here</a>.'
	else
		'Your current home is <a href="exec:gs ''obj_din'', ''cur_home''"><<$home_name>></a>.'
	end

	if succubusflag = 1 and sucpcinfo >= 4:
		'You are a Succubus.'
		'Succubus Level: <<succublvl>>'
	end
	if age = vidage:
		'You are <<age>> years old.'
	else
		'You are <<age>> years old, but you appear to be <<vidage>>.'
	end
	if birthday <= 9 and birthmonth <= 9:
		$birthdayD = '0<<birthday>>.0<<birthmonth>>.<<birthyear>>.'
	elseif birthday > 9 and birthmonth <= 9:
		$birthdayD = '<<birthday>>.0<<birthmonth>>.<<birthyear>>.'
	elseif birthday > 9 and birthmonth > 9:
		$birthdayD = '<<birthday>>.<<birthmonth>>.<<birthyear>>.'
	else
		$birthdayD = '0<<birthday>>.<<birthmonth>>.<<birthyear>>.'
	end
	'Your date of birth is <<$birthdayD>>'
	*nl
	'<<$pcs_apprnc>>'
	*nl
	'You are <<pcs_hgt>>cm tall and <a href="exec:gs ''obj_din'', ''show_body''"><<$body>></a>.'
	'Your breasts would be considered an EU <a href="exec:gs ''obj_din'', ''show_tits''"><<$titsize>></a>.'
	'<<$nipplesize>>'
	*nl
	if preg = 1:
		if denypreg = 1 and pregchem > 2688:
			'You seem to be putting on a bit of weight, your belly is definitely bigger.'
			*nl
		elseif pregchem > 4704:
			'You''re rapidly approaching the finish line and have entered the third trimester. Your belly is so big now that you can barely remember what your toes look like. Your back hurts most of the time and it is a struggle to get to your feet if you sit down. The baby seems to think that your bladder makes a nice punching bag.'
			*nl
		elseif pregchem > 3696:
			'Your belly is quite swollen now and shows under even the loosest of clothes. You find yourself constantly caressing your belly without realizing it.'
			*nl
		elseif pregchem > 3192 and knowpreg = 1:
			'You are showing for sure now. Your tummy is starting to become rounder as it grows larger each day, although you can still wear baggy clothes to hide it. At least the morning sickness and nausea seem to have gone away for the most part.'
			*nl
		elseif pregchem > 3192 and knowpreg = 0:
			'You can''t seem to stop gaining weight and your belly looks like it is getting bigger everyday, although you can still wear baggy clothes to hide it. At least the flu you''ve been fighting lately seems to have finally gone away for the most part.'
			*nl
		elseif pregchem > 1800 and knowpreg = 1:
			'Your breasts look and feel swollen and tingle at the slightest touch. Waking up is getting harder to do and it takes you longer to get going in the morning. Lately, just the thought of food is enough to turn your stomach.'
			*nl
		elseif pregchem > 1800 and knowpreg = 0:
			'Your breasts look and feel swollen and tingle at the slightest touch. Waking up is getting harder to do and it takes you longer to get going in the morning. Lately, just the thought of food is enough to turn your stomach.'
			*nl
		elseif pregchem > 1200:
			'You''ve noticed that your breasts seem firmer lately and your nipples seem to be sticking out more.'
			*nl
		end
	end

	'<<$lip>>'
	'<<$pcs_throat>>'
	'<<$skin>>'
	'<<$glaza>>'
	'<<$pcs_makeup>>.'
	'<<$pcs_leghair>>'
	'<<$pcs_pubes>>'
	'<<$pcs_vag>>'
	'<<$pcs_ass>>'
	*nl
	if avatar_hair = 1:
		'Your hair: <<$av_hair>>.'
	else
		'<<$hair>>'
	end
	if defcurly = 0 and curly > 0: 'Your curls are good for another <<curly>> days.'
	if defcurly = 1 and straight > 0: 'Your hair should be straight for another <<straight>> days.'
	*nl

	if salo < 10 and musle > 0 and dounspell = 0: '<b><font color="red">You are showing signs of malnourishment. You should probably eat more and more often.</font></b>'
	if salo < 10 and musle = 0 and dounspell = 0: '<b><font color="red">You are dangerously malnourished, which has led to a loss in muscle mass. You''re in a critical condition and likely to pass out!</font></b>'
	if pcs_teeth = 1:$zuba = ' tooth'
	if pcs_teeth >= 2:$zuba = ' teeth'
	if pcs_teeth > 0: 'You have lost <<pcs_teeth>><<$zuba>>.'

	!! 'pcs_apprnc <<pcs_apprnc>>'
	!! 'curlykoef <<curlykoef>> a maximum of 1'
	!! 'tits <<tits>> A maximum of 6'
	!! 'pcs_lip <<pcs_lip>> a maximum of 4'
	!! 'tanKoef <<tanKoef>> a maximum of 1'
	!! 'skin <<skin>> a maximum of 4'
	!! 'pcs_makeup <<pcs_makeup>> a maximum of 4'
	!! 'pcs_lashes <<pcs_lashes>> a maximum of 2'
	!! 'pcs_eyesize <<pcs_eyesize>> a maximum of 3'
	!! 'bodykoef <<bodykoef>> a maximum of 8'
	!! 'legkoef <<legkoef>> a maximum of 3'
	!! 'lobkoef <<lobkoef>> a maximum of 3'
	!! 'odevnesh <<odevnesh>> a maximum of 15'
	!! 'pcs_sweat <<pcs_sweat>> the maximum 0'
	!! 'pcs_hairbsh <<pcs_hairbsh>> a maximum of 1'

	'</td></tr></table></center>'
end

if $ARGS[0] = 'cur_home':
	*clr & cla
	!'<center><img src="images/system/icon/description.png"><br></center>'
	'<center><h1><<$pcs_firstname>>''s Home Location</h1></center>'
	'<center><table cellspacing="0" cellpadding="20" valign="top"><tr><td>'
	act 'Return to main description': gt 'obj_din', 'description'
	*nl
!!This is correct it just looks wrong
	if home_owned[1] > 0: 'Set current home as <a href="exec:gs ''set_home'', 1 & gs ''obj_din'', ''cur_home''">City residential apartment</a>'
	if home_owned[2] = 1: 'Set current home as <a href="exec:gs ''set_home'', 2 & gs ''obj_din'', ''cur_home''">Parent''s home in Pavlovsk</a>'
	if home_owned[3] > 0: 'Set current home as <a href="exec:gs ''set_home'', 3 & gs ''obj_din'', ''cur_home''">My cottage in the cooperative farm</a>'
	if home_owned[4] = 1: 'Set current home as <a href="exec:gs ''set_home'', 4 & gs ''obj_din'', ''cur_home''">Old town apartment</a>'
	if home_owned[5] > 2: 'Set current home as <a href="exec:gs ''set_home'', 5 & gs ''obj_din'', ''cur_home''">My mansion</a>'
	if home_owned[6] = 1: 'Set current home as <a href="exec:gs ''set_home'', 6 & gs ''obj_din'', ''cur_home''">My hotel room in Pavlovsk</a>'
	if home_owned[7] = 1: 'Set current home as <a href="exec:gs ''set_home'', 7 & gs ''obj_din'', ''cur_home''">Nicholas'' apartment</a>'
	if home_owned[8] = 1: 'Set current home as <a href="exec:gs ''set_home'', 8 & gs ''obj_din'', ''cur_home''">Niko''s apartment</a>'
	if home_owned[9] = 1: 'Set current home as <a href="exec:gs ''set_home'', 9 & gs ''obj_din'', ''cur_home''">Uncle Sergey''s apartment</a>'
	if home_owned[10] = 1: 'Set current home as <a href="exec:gs ''set_home'', 10 & gs ''obj_din'', ''cur_home''">Lyceum school</a>'
	if home_owned[11] = 1: 'Set current home as <a href="exec:gs ''set_home'', 11 & gs ''obj_din'', ''cur_home''">University halls</a>'
	if home_owned[12] = 1: 'Set current home as <a href="exec:gs ''set_home'', 12 & gs ''obj_din'', ''cur_home''">Hunter''s lodge in Gadukino</a>'
	if home_owned[13] = 1: 'Set current home as <a href="exec:gs ''set_home'', 13 & gs ''obj_din'', ''cur_home''">Shared apartment in Pavlovsk</a>'
!!Apostrophe colour correction - KS ''''
	'</td></tr></table></center>'
end

if $ARGS[0] = 'skills':
	*clr & cla
	gs 'obj_din','chartabs'
	!'<center><img src="images/system/icon/stats.png"><br></center>'
	'<center><h1>Character Skills</h1></center>'
	'<center><table width="90%" cellspacing="0" cellpadding="20" valign="top"><tr>'
	'<td width="25%" cellspacing="0" cellpadding="10" valign="top">'
	'<b>Base Skills</b>'
	*nl
	'<font color="grey">base / modified</font>'
	*nl
	'Strength - <<pcs_stren>> / <<stren_lvl>>'
	'Agility - <<pcs_agil>> / <<agil_lvl>>'
	'Endurance - <<pcs_vital>> / <<vital_lvl>>'
	'Intelligence - <<pcs_intel>> / <<intel_lvl>>'
	'Spirit - <<pcs_sprt>> / <<sprt_lvl>>'
	'Reaction - <<pcs_react>> / <<react_lvl>>'
	'Charisma - <<pcs_chrsm>> / <<chrsm_lvl>>'
	'Perception - <<pcs_prcptn>> / <<prcptn_lvl>>'
	if pcs_magik > 0: 'Magic - <<pcs_magik>>'
	'Attractiveness - <<pcs_apprnc>>'
	!'Speed <<speed>>' - not used
	*nl
	'<b>Mental Skills</b>'
	*nl
	if pcs_scstng > 0: 'Spell Casting - <<pcs_scstng>>'
	if pcs_humint > 0:'People skills - <<pcs_humint>>'
	if pcs_persuas > 0:'Persuasion - <<pcs_persuas>>'
	if pcs_observ > 0:'Observation - <<pcs_observ>>'

	'</td><td width="25%" cellspacing="0" cellpadding="10" valign="top">'
	'<b>Sport Skills</b>'
	*nl
	if pcs_jab > 0: 'Jabs - <<pcs_jab>>'
	if pcs_punch > 0: 'Power Strikes - <<pcs_punch>>'
	if pcs_kick > 0: 'Kicks - <<pcs_kick>>'
	if pcs_def > 0: 'Defense - <<pcs_def>>'
	if pcs_run > 0: 'Running - <<pcs_run>>'
	if pcs_vball > 0: 'Volleyball - <<pcs_vball>>'
	if pcs_ftbll > 0: 'Football - <<pcs_ftbll>>'
	if pcs_wrstlng > 0: 'Wrestling - <<pcs_wrstlng>>'
	if pcs_shoot > 0: 'Shooting Accuracy - <<pcs_shoot>>'
	if pcs_bushcraft > 0: 'Bushcraft - <<pcs_bushcraft>>'
	if pcs_chess > 0: 'Chess - <<pcs_chess>>'
	if pcs_icesktng > 0: 'Ice Skating - <<pcs_icesktng>>'
	if pcs_gaming > 0: 'Gaming - <<pcs_gaming>>'
	if pcs_pool > 0: 'Pool - <<pcs_pool>>'
	*nl
	'<b>Artistic Skills</b>'
	*nl
	if pcs_vokal > 0: 'Singing <<pcs_vokal>>'
	if pcs_instrmusic > 0: 'Instrumental Music - <<pcs_instrmusic>>'
	if pcs_photoskl > 0: 'Photography - <<pcs_photoskl>>'
	if pcs_artskls > 0: 'Artistic Skills - <<pcs_artskls>>'

	'</td><td width="25%" cellspacing="0" cellpadding="10" valign="top">'
	'<b>Job Skills</b>'
	*nl
	if pcs_compskl > 0: 'Computer Skill - <<pcs_compskl>>'
	if pcs_comphckng > 0: 'Hacking - <<pcs_comphckng>>'
	if pcs_hndiwrk > 0: 'Handy-work - <<pcs_hndiwrk>>'
	if pcs_sewng > 0: 'Tailoring - <<pcs_sewng>>'
	if pcs_servng > 0: 'Serving - <<pcs_servng>>'
	if pcs_medcn > 0: 'Medicine - <<pcs_medcn>>'
	if teachlevel > 0: 'Teacher - credibility <<teachlevel>>'
	*nl
	'<b>Other Skills</b>'
	*nl
	if SchoolAtestat = 0 and StoryLine > 0:
		if pcs_grades > 0: 'School Grades - <<pcs_grades>>'
		if schoolprogul > 0: 'Schhool absenteesim - <<schoolprogul>>'
	end
	'</td><td width="25%" cellspacing="0" cellpadding="10" valign="top">'
	'<b>Beauty Skills</b>'
	*nl
	if pcs_makeup > 0: 'Makeup Skill - <<pcs_makupskl>>'
	if pcs_danc > 0: 'Modern Dancing - <<pcs_danc>>'
	if pcs_dancero > 0: 'Erotic Dancing - <<pcs_dancero>>'
	if pcs_dancpol > 0: 'Pole Dancing - <<pcs_dancpol>>'
	if pcs_mdlng > 0: 'Modelling - <<pcs_mdlng>>'
	*nl
	'<b>Sexual Skills</b>'
	*nl
	'Inhibition <<100-pcs_inhib>>'
	'Exhibitionist preference: <<exhibitionism[''pref'']>>'
	'Exhibitionist sex: <<exhibitionism[''exp'']>>'
	if SUB > 0: 'Submissiveness <<SUB>>'
	if pcs_dom > 0: 'Dominance <<pcs_dom>>'
	'Submissive sex: <<sub[''exp'']>>'
	'Dominant sex: <<dom[''exp'']>>'
	'Lesbian sex preference: <<lesbian[''pref'']>>'
	'Lesbian sex: <<lesbian[''exp'']>>'
	'</td></tr></table></center>'
end

if $ARGS[0] = 'husb_cheat_count':
	if husband > 0:
		if guy > before_h_guy :
			guy_cheat += guy - guy_cheat
			before_h_guy = guy
		end
		if girl > before_h_girl:
			girl_cheat += girl - before_h_girl
			before_h_girl = girl
		end
	end
	if before_h_girl > 0 and before_h_guy > 0:
		'During your marriage you have cheated on your husband with <<guy_cheat>> guys and <<girl_cheat>> girls.'
	elseif before_h_guy > 0:
		'During your marriage you have cheated on your husband with <<guy_cheat>> guys.'
	elseif before_h_girl > 0:
		'During your marriage you have cheated on your husband with <<girl_cheat>> girls.'
	end
end

if $ARGS[0] = 'stats':
	*clr & cla
	gs 'obj_din','chartabs'
	gs 'housing', 'rent'
	!'<center><img src="images/system/icon/statistics.png"><br></center>'
	'<center><h1>Character Statistics</h1></center>'
	'<center><table width="90%" cellspacing="0" cellpadding="10" valign="top"><tr>'

	'<td width="35%" cellspacing="0" cellpadding="0" valign="top">'
	'<center><b>General Statistics</b></center>'
	*nl
	if opPRE = 0: 'It has been <<daystart>> days since the game started.'
	*nl

	if SchoolAtestat = 0 and StoryLine > 0:
		if pcs_grades >= 90:
			'You''re an A+ student.'
		elseif pcs_grades >= 80:
			'You''re a bright student, just not the top of your class.'
		elseif pcs_grades >= 70:
			'You''re an above average student, but you have to work hard to keep up.'
		elseif pcs_grades >= 60:
			'You''re the typical average student. You''re good in the fields you like, but can''t be bothered with the rest.'
		elseif pcs_grades >= 50:
			'You''re not very good in school, you wish you could be somewhere else and your grades show it.'
		elseif pcs_grades >= 40:
			'You''re not cut out for school, you skip out most of the time. You wonder how you''re going to manage to get passing grades.'
		else
			'You''re the class nitwit. You''re still not sure how you got this far in the first place.'
		end

		if schoolprogul > 1: 'Absenteeism in school - <<schoolprogul>> days'
	end
	*nl

	if (home_owned[1] = 1 and ArendHouseSL > 0) or (home_owned[4] > 0 and ArendHouseSL4 > 0):
			*nl
		if home_owned[1] = 1 and home_owned[4] > 0:
			'You have rented an apartment in the city residential area, which is paid up for <b><<ArendHouseSL>></b> days, and you also have an apartment in Pushkin, which is paid up for <b><<ArendHouseSL4>></b> days. Utilities are due on the 25th of <<$month>>.'
		elseif home_owned[1] = 1:
			'You have rented an apartment in the city residential area, and you''re paid up for <<ArendHouseSL>> days. Utilities are due on the 25th of <<$month>>.'
		elseif home_owned[4] > 0:
			'You have rented an apartment in Pushkin, and you''re paid up for <<ArendHouseSL4>> days. Utilities are due on the 25th of <<$month>>.'
		end
		if home_owned[1] = 1:
			if karta >= home_rent[1] or money >= home_rent[1] or money + stolmoney >= home_rent[1] or karta + bankDebtLimit >= home_rent[1]:
				*nl
				*p 'The monthly rent for your city apartment is <<home_rent[1]>> <b>₽</b>. '
				if karta >= home_rent[1]:
					!From bank
					*p 'You can make an advance <a href="exec:karta -= home_rent[1] & home_owned[1] = 1 & ArendHouseSL += ArendHouseSL_due & gs ''$menu_obnovit''">payment</a> from your bank account.'
				elseif money >= home_rent[1]:
					!From cash
					*p 'You can make an advance <a href="exec:money -= home_rent[1] & home_owned[1] = 1 & ArendHouseSL += ArendHouseSL_due & gs ''$menu_obnovit''">payment</a> from your on-hand cash.'
					*nl
				elseif stolmoney >= home_rent[1]:
					!From drawer
					*p 'You can make an advance <a href="exec:stolmoney -= home_rent[1] & home_owned[1] = 1 & ArendHouseSL += ArendHouseSL_due & gs ''$menu_obnovit''">payment</a> from the cash you have in your stash drawer.'
					*nl
				elseif money + stolmoney >= home_rent[1]:
					!From cash and drawer
					*p 'You can make an advance <a href="exec:money -= (home_rent[1] - stolmoney) & stolmoney = 0 & home_owned[1] = 1 & ArendHouseSL += ArendHouseSL_due & gs ''$menu_obnovit''">payment</a> from your on-hand cash and the cash in your stash drawer.'
					*nl
				elseif karta + bankDebtLimit >= home_rent[1]:
					!From bank and overdraw
					*p 'You can make an advance <a href="exec:karta -= home_rent[1] & home_owned[1] = 1 & ArendHouseSL += ArendHouseSL_due & gs ''$menu_obnovit''">payment</a> from your bank account and overdraw facility.'
					*nl
				else
					*p 'You can''t afford to make an advance payment right now, but you should try to have enough money in your account, so you don''t get evicted.'
					*nl
				end
			end
		end
		if home_owned[4] > 0:
			if karta >= home_rent[4] or money >= home_rent[4] or money + stolmoney >= home_rent[4] or karta + bankDebtLimit >= home_rent[4]:
				*nl
				*p 'The monthly rent for your Pushkin apartment is <<home_rent[4]>> <b>₽</b>. '
				if karta >= home_rent[4]:
					!From bank
					*p 'You can make an advance <a href="exec:karta -= home_rent[4] & home_owned[1] = 1 & ArendHouseSL4 += ArendHouseSL_due & gs ''$menu_obnovit''">payment</a> from your bank account.'
					*nl
				elseif money >= home_rent[4]:
					!From cash
					*p 'You can make an advance <a href="exec:money -= home_rent[4] & home_owned[1] = 1 & ArendHouseSL4 += ArendHouseSL_due & gs ''$menu_obnovit''">payment</a> from your on-hand cash.'
					*nl
				elseif stolmoney >= home_rent[4]:
					!From drawer
					*p 'You can make an advance <a href="exec:stolmoney -= home_rent[4] & home_owned[1] = 1 & ArendHouseSL4 += ArendHouseSL_due & gs ''$menu_obnovit''">payment</a> from the cash you have in your stash drawer.'
					*nl
				elseif money + stolmoney >= home_rent[4]:
					!From cash and drawer
					*p 'You can make an advance <a href="exec:money -= (home_rent[4] - stolmoney) & stolmoney = 0 & home_owned[1] = 1 & ArendHouseSL4 += ArendHouseSL_due & gs ''$menu_obnovit''">payment</a> from your on-hand cash and the cash in your stash drawer.'
					*nl
				elseif karta + bankDebtLimit >= home_rent[4]:
					!From bank and overdraw
					*p 'You can make an advance <a href="exec:karta -= home_rent[4] & home_owned[1] = 1 & ArendHouseSL4 += ArendHouseSL_due & gs ''$menu_obnovit''">payment</a> from your bank account and overdraw facility.'
					*nl
				else
					*p 'You can''t afford to make an advance payment right now, but you should try to have enough money in your account, so you don''t get evicted.'
					*nl
				end
			end
		end
	end

	if kid = 1:
		*nl
		'You have 1 child:'
	else
		'You have <<kid>> children:'
	end
	if kid > 0:
		k = 0
:kidloop
		if k < kid:
			gs 'obj_din','kidlist',k
			k += 1
			jump 'kidloop'
		end
	end
	if workPTU > 1: 'Reputation as a teacher <<teachlevel>>'
	*nl
	if npc_QW['A192'] > 0: 'Friendship with Nastya <<npc_QW[''A192'']>>'
	if npc_rel['A218'] > 0: 'Friendship with Tanya <<npc_rel[''A218'']>>'
	if npc_rel['A219'] > 0: 'Friendship with Kat <<npc_rel[''A219'']>>'
	if npc_rel['A220'] > 0: 'Friendship with Vika <<npc_rel[''A220'']>>'
	if npc_rel['A93'] > 0: 'Friendship with Ira <<npc_rel[''A93'']>>'
	if npc_rel['A43'] > 0: 'Friendship with Tamara <<npc_rel[''A43'']>>'
	if alla > 0: 'Friendship with Alla <<alla>>'
	if masha > 0: 'Friendship with Masha <<masha>>'
	if npc_rel['A41'] > 0: 'Friendship with Givi K. <<npc_rel[''A41'']>>'
	if npc_rel['A42'] > 0: 'Friendship with Ashot <<npc_rel[''A42'']>>'
	if Dmitry > 0: 'Friendship with Dima <<Dmitry>>'
	if afra > 0: 'Friendship with blacks <<afra>>'
	if npc_rel['A69'] > 0:'Friendship with Mikhail Nikolaevich	<<npc_rel[''A69'']>>'

	!!!WD: Formatting
	if (npc_rel['A93'] + npc_rel['A41'] + npc_rel['A42'] + npc_rel['A43'] + afra + gosh + npc_rel['A220'] + npc_rel['A219'] + npc_QW['A192'] + npc_rel['A218']) > 0:*nl
	*nl
	if KikWinPro > 0 or KikLossPro > 0 or KikDrawPro > 0:
		'Professional Kickboxing Record:Win (Victory KO) - Loss (Defeat KO) - Draw'
		'<<KikWinPro>> (<<KikWinProKO>>KO) - <<KikLossPro>> (<<KikLossProKO>>KO) - <<KikDrawPro>>'
	end

	if Win > 0 or Loss > 0: 'Wins in fights <<Win>>, losses in fights <<Loss>>' & *nl
	if razradKik > 0: '<<$razradKik>>'

	if KikWinAm > 0 or KikLossAm > 0 or KikDrawAm > 0:
		'Amateur Kickboxing Record:<br>Wins: <<KikWinAm>> (<<KikWinAmKO>> by KO) - Losses: <<KikLossAm>> (<<KikLossAmKO>> by KO) - Draws: <<KikDrawAm>>'
		*nl
	end

	if razradKik > 0:
		if razradKik = 1:$razradKik = 'You have earned green sash(rank 4) in kickboxing'
		if razradKik = 2:$razradKik = 'You have earned purple sash(rank 5) in kickboxing'
		if razradKik = 3:$razradKik = 'You have earned blue sash(rank 6) in kickboxing'
		if razradKik = 4:$razradKik = 'You have earned brown sash(rank 7) in kickboxing'
		if razradKik = 5:$razradKik = 'You have earned black sash, 1st dan in kickboxing'

		*nl
	end

	if kolsorev > 0: 'You have run in <<kolsorev>> races'
	if swinbeg >= 1: 'You have <<swinbeg/3>> trophies from local racing competitions'
	if bronzebeg > 0: '<<bronzebeg>> - bronze medals for running'
	if silverbeg > 0: '<<silverbeg>> - silver medals for running'
	if goldbeg > 0: '<<goldbeg>> - gold medals for running'
	if razradbegEB > 0: '<<razradbegEB>> times bronze medalist at European Championship'
	if razradbegES > 0: '<<razradbegES>> runner up at European Championship'
	if razradbegEG > 0: '<<razradbegEG>> times European champion.'
	if razradbegIB > 0: '<<razradbegIB>> times bronze medalist at World Championship'
	if razradbegIS > 0: '<<razradbegIS>> runner up at World Championship'
	if razradbegIG > 0: '<<razradbegIG>> times World champion'
	if razradbeg > 0:
		if razradbeg = 1: 'You have third sports category for event'
		if razradbeg = 2: 'You 2nd sports category for event'
		if razradbeg = 3: 'You 1st sports category for event'
		if razradbeg = 4: 'You have the title of Candidate Master of Sports for event'
		if razradbeg = 5: 'You have the title of Master of Sports in the run'
		if razradbeg >= 6: 'You have the title of International Master of Sports for event'
		*nl
	end


	if chess_win > 0 or chess_loss > 0:'Chess Record: Win <<chess_win>>, Loss <<chess_loss>>'
	if chess_rank > 0:
		if chess_rank = 1:'You have mastered the basics of chess'
		if chess_rank = 2:'You''re starting to get good at chess'
		if chess_rank = 3:'You''re a good chess player'
		if chess_rank = 4:'You''re an excellent chess player'
		if chess_rank = 5:'You''re a candidate for chess master'
		if chess_rank = 6:'You''re a chess master'
		if chess_rank = 7:'You''re a chess Grandmaster'
	end
	if chess_world_rank > 0:
		if chess_world_rank = 1:'The title of FIDE Master Chess'
		if chess_world_rank = 2:'The title of International Chess Master'
		if chess_world_rank = 3:'The title of International Grandmaster Chess'
	end
	*nl
	!!!
	if modelfoto > 0:
		'<b>Modelling Statistics</b>'
		*nl
		'<<modelfoto>> - Number of times you have worked as a model'
		'<<modelfotomoney>> - The amount of money you''ve made modelling'
		if modelfoto_fashion > 0: '<<modelfoto_fashion>> - Number of fashion shoots you have participated in'
		if modelfoto_ero_clo > 0: '<<modelfoto_ero_clo>> - Number of erotic clothing shoots you have participated in'
		if modelfoto_bikini > 0: '<<modelfoto_bikini>> - Number of swimsuit shoots you have modelled in'
		if modelfoto_lingerie > 0: '<<modelfoto_lingerie>> - Number of lingerie shoots you have participated in'
		if modelfoto_nip > 0: '<<modelfoto_nip>> - Number of times your nipples have been visible as a model'
		if modelfoto_topless > 0: '<<modelfoto_topless>> - Number of shoots where you have been topless'
		if modelfoto_nude > 0: '<<modelfoto_nude>> - Number of nude modelling shoots you have participated in'
		if modelfoto_pussy > 0: '<<modelfoto_pussy>> - Number of shoots your vagina has been visible'
		*nl
	end

	if slavafuck > 0:'You have let Borislav fuck you <<slavafuck>> times'
	if slava_bj > 0:'You have given Borislav <<$slava_bj>> blowjobs'

	if maxdamage > 0: 'The impact force on the dynamometer <<maxdamage>> kgN' & *nl

	if stripdancesum > 0 and hidden_stripdancesum = 0:
		'You have danced <<stripdancesum>> times in the stripclub'
	elseif stripdancesum = 0 and hidden_stripdancesum > 0:
		'You have danced <<hidden_stripdancesum>> times in the stripclub, but you do nor remember it'
	elseif stripdancesum > 0 and hidden_stripdancesum > 0:
		'You have danced <<stripdancesum+hidden_stripdancesum>> times in the stripclub, but you only remember <<stripdancesum>> times'
	end
	if profiDanceTime > 0: 'You danced <<profiDanceTime>> times professionally.'
	if SchoolAtestat = 1: 'You have finished school.'
	if diplom = 1: 'You graduated.'
	if teachlevel > 0: 'Your credibility as a teacher is <<teachlevel>>'
	!WD:FORMATING
	if (maxdamage + stripdancesum + profiDanceTime + SchoolAtestat + diplom + teachlevel) > 0:*nl

	'</td><td width="35%" cellspacing="0" cellpadding="0" valign="top">'
	'<center><b>Sex Statistics</b></center>'
	*nl
	!Sex stats
	! This is my suggestion, change it however you see fit, Sicaa
	if stat['kiss'] > 0: 'Times you have kissed someone: <<stat[''kiss'']>>'
	if mastr > 0 or stat['mast'] > 0: 'Times you have masturbated: <<stat[''mast'']>>'
	if stat['porn'] > 0: 'Times you have watched porn: <<stat[''porn'']>>'
	if stat['flashlite'] > 0 or stat['flash'] > 0: 'Times you have flashed: <<stat[''flashlite''] + stat[''flash'']>>'
	! This is my suggestion, change it however you see fit, Sicaa
	if stat['voyeur'] > 0: 'Times you have watched people''s erotic displays: <<stat[''voyeur'']>>'
	if stat['voyeur_sex'] > 0: 'Times you have watched other people fuck: <<stat[''voyeur_sex'']>>'
	if spank > 0: 'You have had your ass spanked <<spank>> times'
	! This is my suggestion, change it however you see fit, Sicaa
	if stat['BDSM'] > 0 or stat['BDSM_give'] > 0: 'Times you have participated in BDSM (sub/dom): <<stat[''BDSM'']>>/<<stat[''BDSM_give'']>>'
	temp = func('shortgs','guy')
	if guy+temp > 0 and hidden_guy = 0:
		'You had sex with <<guy+temp>> guys.'
	elseif guy+temp = 0 and hidden_guy > 0:
		'You had sex with <<hidden_guy>> guys, but you do not have any recollection of it. You still think of yourself as a virgin.'
	elseif guy+temp > 0 and hidden_guy > 0:
		'You had sex with <<guy+hidden_guy+temp>> guys, but you know only about <<guy+temp>> of them.'
	end
	temp = func('shortgs','girl')
	if girl+temp > 0 and hidden_girl = 0:
		'You had sex with <<girl+temp>> girls.'
	elseif girl+temp = 0 and hidden_girl > 0:
		'You had sex with <<hidden_girl>> girls, but you do not have any recollection of any of it.'
	elseif girl+temp > 0 and hidden_girl > 0:
		'You had sex with <<girl+temp+hidden_girl>> girls, but you know only about <<girl+temp>> of them.'
	end
	if divorced > 0: 'You were married <<divorced>> times.'
	if suprdolg > 0: 'You performed your conjugal duty for your husband <<suprdolg>> times'
	if rape > 0 and hidden_rape = 0:
		'You have been raped <<rape>> times'
	elseif rape = 0 and hidden_rape > 0:
		'You have been raped <<hidden_rape>> times, but you do not remember any of it'
	elseif rape > 0 and hidden_rape > 0:
		'You have been raped <<rape+hidden_rape>> times, but you only remember <<rape>> of them'
	end

	if slutty > 0 or hidden_slutty > 0:
		if bordelslutty = 0: 'Sold your body <<slutty>> times.'
		if bordelslutty > 0: 'Sold your body <<slutty>> times, including <<bordelslutty>> times in a brothel.'
		if hidden_slutty > 0: 'Sold your body <<hidden_slutty>> times, and gave all the money to your therapist. You do not remember any of it.'
	end

	if orgasm > 0: 'Experienced orgasm <<orgasm>> times.'
	if analorgasm > 0 : 'You''ve had <<analorgasm>> anal orgasms.'
	if swallow > 0: 'Sperm swallowed <<swallow>> times.'
	if facial > 0: 'You have taken <<facial>> facials.'
	if frot > 0 or hump > 0: 'Your clothes have been come on <<frot + hump>> times.'
	! This is my suggestion, change it however you see fit, Sicaa
	if stat['pee_give'] > 0: 'You''ve peed on others <<stat[''pee_give'']>> times.'
	if stat['pee'] > 0: 'You''ve been peed on <<stat[''pee'']>> times.'
	if swallowpee > 0: 'You swallowed urine <<swallowpee>> times.'
	!!!WD:FORMATING
	if (slutty + pfilmSTOP + film + orgasm + analorgasm + swallow + facial + frot + stat['pee_give'] + stat['pee'] + swallowpee) > 0:*nl
	!!!
	gs 'obj_din', 'husb_cheat_count'

	if hj > 0 or stat['hj'] > 0 or stat['hidden_hj'] > 0:
		'Jerked men off (known/unknown): <<stat[''hj'']>>/<<stat[''hidden_hj'']>>'
		if hja > 0: 'Jerked off your boyfriend: <<hja>>'
	end

	if stat['footjob'] > 0 or stat['hidden_footjob'] > 0: 'Jerked men off with your feet (known/unknown): <<stat[''footjob'']>>/<<stat[''hidden_footjob'']>>'

	! This is my suggestion, change it however you see fit, Sicaa
	if stat['titjob'] > 0 or stat['hidden_titjob'] > 0: 'Pleasured men with your breasts (known/unknown): <<stat[''titjob'']>>/<<stat[''hidden_titjob'']>>'

	if bj > 0 or stat['bj'] > 0 or stat['hidden_bj'] > 0:
		'Sucked cock (known/unknown): <<stat[''bj'']>>/<<stat[''hidden_bj'']>>'
		if bja > 0: 'Sucked your boyfriends cock: <<bja>>'
		if gloryhole > 0 or hidden_gloryhole > 0: 'Sucked cock in a gloryhole (known/unknown): <<gloryhole>>/<<hidden_gloryhole>>'
	end

	if sex > 0 or stat['vaginal'] > 0 or stat['hidden_vaginal'] > 0: 'Vaginal sex (known/unknown): <<stat[''vaginal'']>>/<<stat[''hidden_vaginal'']>>'
	if sexa > 0: 'Vaginal sex with your boyfriend: <<sexa>>'
	if (pcs_cp_safe_known + pcs_cp_notsafe_known + pcs_cp_risky_known) > 0:
		'    Known vaginal creampies:'
		if pcs_cp_safe_known > 0:'    Safe: <<pcs_cp_safe_known>>'
		if pcs_cp_notsafe_known > 0:'    Likely safe: <<pcs_cp_notsafe_known>>'
		if pcs_cp_risky_known > 0:'    Risky: <<pcs_cp_risky_known>>'
	end
	if (pcs_cp_safe_unknown + pcs_cp_notsafe_unknown + pcs_cp_risky_unknown) > 0:
		'    Unknown vaginal creampies:'
		if pcs_cp_safe_unknown > 0:'    Safe: <<pcs_cp_safe_unknown>>'
		if pcs_cp_notsafe_unknown > 0:'    Likely safe: <<pcs_cp_notsafe_unknown>>'
		if pcs_cp_risky_unknown > 0:'    Risky: <<pcs_cp_risky_unknown>>'
	end

	if lesbian > 0 or hidden_lesbian > 0:
		if hidden_lesbian = 0: 'Lesbian sex (known/unknown): <<lesbian>>/<<hidden_lesbian>>'
	end
	if futa > 0 or hidden_futa > 0: 'Sex with tgirls (known/unknown): <<futa>>/<<hidden_futa>>'

	if anal > 0 or stat['anal'] or stat['hidden_anal']:
		'Anal sex (known/unknown): <<stat[''anal'']>>/<<stat[''hidden_anal'']>>'
		if anala > 0: 'Anal sex with your boyfriend: <<anala>>'
	end
	if pcs_acp_known > 0:  '  Known anal creampies: <<pcs_acp_known>>'
	if pcs_acp_unknown > 0:	'	Unknown anal creampies: <<pcs_acp_unknown>>'

	if gang > 0 or hidden_gang > 0: 'Group sex (known/unknown): <<gang>>/<<hidden_gang>>'
	if kuni > 0 or stat['cuni'] > 0: 'Received cunnilingus: <<stat[''cuni'']>>'
	if stat['vaginal_finger'] > 0: 'Fingered: <<stat[''vaginal_finger'']>>'
	if stat['vaginal_fist'] > 0: 'Fisted: <<stat[''vaginal_fist'']>>'
	if stat['vaginal_dildo'] > 0: 'Fucked a dildo: <<stat[''vaginal_dildo'']>>'
	if stat['vaginal_strap'] > 0: 'Fucked with a strap-on: <<stat[''vaginal_strap'']>>'
	if stat['vaginal_vibe'] > 0: 'Clitoral / Vaginal vibrator: <<stat[''vaginal_vibe'']>>'
	if stat['trib'] > 0: 'Tribalism: <<stat[''trib'']>>'
	if stat['anal_finger'] > 0: 'Anally fingered: <<stat[''anal_finger'']>>'
	if stat['anal_fist'] > 0: 'Anally fisted: <<stat[''anal_fist'']>>'
	if stat['rimming'] > 0: 'Ass rimmed: <<stat[''rimming'']>>'
	if stat['anal_dildo'] > 0: 'Anal sex with a dildo: <<stat[''anal_dildo'']>>'
	if stat['anal_strap'] > 0: 'Ass fucked with a strap-on: <<stat[''anal_strap'']>>'
	if stat['anal_vibe'] > 0: 'Anal vibrator: <<stat[''anal_vibe'']>>'

	if stat['cuni_give'] > 0: 'Performed cunnilingus: <<stat[''cuni_give'']>>'
	if stat['vaginal_finger_give'] > 0: 'Fingered a girl: <<stat[''vaginal_finger_give'']>>'
	if stat['vaginal_fist_give'] > 0: 'Fisted a girl: <<stat[''vaginal_fist_give'']>>'
	if stat['vaginal_dildo_give'] > 0: 'Dildoed a girl: <<stat[''vaginal_dildo_give'']>>'
	if stat['vaginal_strap_give'] > 0: 'Strap-on fucked a girl: <<stat[''vaginal_strap_give'']>>'
	if stat['vaginal_vibe_give'] > 0: 'Used vibrator on a girl: <<stat[''vaginal_vibe_give'']>>'
	if stat['rimming_give'] > 0: 'Rimmed someone: <<stat[''rimming_give'']>>'
	if stat['anal_finger_give'] > 0: 'Fingered someone else''s ass: <<stat[''anal_finger_give'']>>'
	if stat['anal_fist_give'] > 0: 'Fisted someone else''s ass: <<stat[''anal_fist_give'']>>'
	if stat['anal_dildo_give'] > 0: 'Dildoed someone else''s ass: <<stat[''anal_dildo_give'']>>'
	if stat['anal_vibe_give'] > 0: 'Used a vibrator on someone else''s ass: <<stat[''anal_vibe_give'']>>'
	if stat['anal_strap_give'] > 0 or stat['anal_strap_give'] > 0: 'Fucked someone else''s ass with a strap-on: <<stat[''anal_strap_give'']>>'

	'</td><td width="30%" cellspacing="0" cellpadding="0" valign="top">'
	'<center><b>Fetish Statistics</b></center>'
	*nl
	'Feet preference: <<feet[''pref'']>>'
	'Foot jobs / worship: <<feet[''exp'']>>'
	'Deepthroat preference: <<deepthroat[''pref'']>>'
	'Deepthroated: <<deepthroat[''exp'']>>'
	'Group preference: <<group[''pref'']>>'
	'Group sex: <<group[''exp'']>>'
	'Gangbang preference: <<gangbang[''pref'']>>'
	'Gangbangs: <<gangbang[''exp'']>>'
	'Humiliation preference: <<humiliation[''pref'']>>'
	'Humiliation experiences: <<humiliation[''exp'']>>'
	'Prostitution preference: <<prostitution[''pref'']>>'
	'Prostituted yourself: <<prostitution[''exp'']>>'
	'Bondage preference: <<bound[''pref'']>>'
	'Bondage play: <<bound[''exp'']>>'
	'Masochism preference: <<maso[''pref'']>>'
	'Masochism experiences: <<maso[''exp'']>>'
	'Bestiality encounters: <<beast[''pref'']>>'
	'Bestiality experience: <<beast[''exp'']>>'
	'Rough sex preference: <<rough[''pref'']>>'
	'Rough sex: <<rough[''exp'']>>'
	'Incest preference: <<incest[''pref'']>>'
	'Incestuous sex: <<incest[''exp'']>>'
	'</td></tr></table></center>'
end

if $ARGS[0] = 'stats_gen':
	*clr & cla
	gs 'housing', 'rent'
	!'<center><img src="images/system/icon/statistics.png"><br></center>'
	'<center><h1>General Statistics</h1></center>'
	'<center><table cellspacing="0" cellpadding="20" valign="top"><tr>'
	'<td cellspacing="0" cellpadding="0" valign="top">'
	act 'Return to the statistics index': gt 'obj_din', 'stats'
	*nl
	if opPRE = 0: 'It has been <<daystart>> days since the game started.'
	*nl

	if SchoolAtestat = 0 and StoryLine > 0:
		if pcs_grades >= 90:
			'You are an A+ student.'
		elseif pcs_grades >= 80:
			'You are a bright student, just not the top of your class.'
		elseif pcs_grades >= 70:
			'You are an above average student, but you have to work hard to keep up.'
		elseif pcs_grades >= 60:
			'You are the typical average student. You''re good in the fields you like, but can''t be bothered with the rest.'
		elseif pcs_grades >= 50:
			'You''re not very good in school, you wish you could be somewhere else and your grades show it.'
		elseif pcs_grades >= 40:
			'You are not cut out for school, you skip out most of the time. You wonder how you''re going to manage to get passing grades.'
		else
			'You are the class nitwit. You''re still not sure how you got this far in the first place.'
		end

		if schoolprogul > 1: 'Absenteeism in school - <<schoolprogul>> days'
	end
	*nl

	if (home_owned[1] = 1 and ArendHouseSL > 0) or (home_owned[4] > 0 and ArendHouseSL4 > 0):
			*nl
		if home_owned[1] = 1 and home_owned[4] > 0:
			'You have rented an apartment in the city residential area, which is paid up for <b><<ArendHouseSL>></b> days, and you also have an apartment in Pushkin, which is paid up for <b><<ArendHouseSL4>></b> days. Utilities are due on the 25th of <<$month>>.'
		elseif home_owned[1] = 1:
			'You have rented an apartment in the city residential area, and you''re paid up for <<ArendHouseSL>> days. Utilities are due on the 25th of <<$month>>.'
		elseif home_owned[4] > 0:
			'You have rented an apartment in Pushkin, and you''re paid up for <<ArendHouseSL4>> days. Utilities are due on the 25th of <<$month>>.'
		end
		if home_owned[1] = 1:
			if karta >= home_rent[1] or money >= home_rent[1] or money + stolmoney >= home_rent[1] or karta + bankDebtLimit >= home_rent[1]:
				*nl
				*p 'The monthly rent for your city apartment is <<home_rent[1]>> <b>₽</b>. '
				if karta >= home_rent[1]:
					!From bank
					*p 'You can make an advance <a href="exec:karta -= home_rent[1] & home_owned[1] = 1 & ArendHouseSL += ArendHouseSL_due & gs ''$menu_obnovit''">payment</a> from your bank account.'
				elseif money >= home_rent[1]:
					!From cash
					*p 'You can make an advance <a href="exec:money -= home_rent[1] & home_owned[1] = 1 & ArendHouseSL += ArendHouseSL_due & gs ''$menu_obnovit''">payment</a> from your on-hand cash.'
					*nl
				elseif stolmoney >= home_rent[1]:
					!From drawer
					*p 'You can make an advance <a href="exec:stolmoney -= home_rent[1] & home_owned[1] = 1 & ArendHouseSL += ArendHouseSL_due & gs ''$menu_obnovit''">payment</a> from the cash you have in your stash drawer.'
					*nl
				elseif money + stolmoney >= home_rent[1]:
					!From cash and drawer
					*p 'You can make an advance <a href="exec:money -= (home_rent[1] - stolmoney) & stolmoney = 0 & home_owned[1] = 1 & ArendHouseSL += ArendHouseSL_due & gs ''$menu_obnovit''">payment</a> from your on-hand cash and the cash in your stash drawer.'
					*nl
				elseif karta + bankDebtLimit >= home_rent[1]:
					!From bank and overdraw
					*p 'You can make an advance <a href="exec:karta -= home_rent[1] & home_owned[1] = 1 & ArendHouseSL += ArendHouseSL_due & gs ''$menu_obnovit''">payment</a> from your bank account and overdraw facility.'
					*nl
				else
					*p 'You can''t afford to make an advance payment right now, but you should try to have enough money in your account, so you don''t get evicted.'
					*nl
				end
			end
		end
		if home_owned[4] > 0:
			if karta >= home_rent[4] or money >= home_rent[4] or money + stolmoney >= home_rent[4] or karta + bankDebtLimit >= home_rent[4]:
				*nl
				*p 'The monthly rent for your Pushkin apartment is <<home_rent[4]>> <b>₽</b>. '
				if karta >= home_rent[4]:
					!From bank
					*p 'You can make an advance <a href="exec:karta -= home_rent[4] & home_owned[1] = 1 & ArendHouseSL4 += ArendHouseSL_due & gs ''$menu_obnovit''">payment</a> from your bank account.'
					*nl
				elseif money >= home_rent[4]:
					!From cash
					*p 'You can make an advance <a href="exec:money -= home_rent[4] & home_owned[1] = 1 & ArendHouseSL4 += ArendHouseSL_due & gs ''$menu_obnovit''">payment</a> from your on-hand cash.'
					*nl
				elseif stolmoney >= home_rent[4]:
					!From drawer
					*p 'You can make an advance <a href="exec:stolmoney -= home_rent[4] & home_owned[1] = 1 & ArendHouseSL4 += ArendHouseSL_due & gs ''$menu_obnovit''">payment</a> from the cash you have in your stash drawer.'
					*nl
				elseif money + stolmoney >= home_rent[4]:
					!From cash and drawer
					*p 'You can make an advance <a href="exec:money -= (home_rent[4] - stolmoney) & stolmoney = 0 & home_owned[1] = 1 & ArendHouseSL4 += ArendHouseSL_due & gs ''$menu_obnovit''">payment</a> from your on-hand cash and the cash in your stash drawer.'
					*nl
				elseif karta + bankDebtLimit >= home_rent[4]:
					!From bank and overdraw
					*p 'You can make an advance <a href="exec:karta -= home_rent[4] & home_owned[1] = 1 & ArendHouseSL4 += ArendHouseSL_due & gs ''$menu_obnovit''">payment</a> from your bank account and overdraw facility.'
					*nl
				else
					*p 'You can''t afford to make an advance payment right now, but you should try to have enough money in your account, so you don''t get evicted.'
					*nl
				end
			end
		end
	end

	if kid = 1:
		*nl
		'You have 1 child:'
	else
		'You have <<kid>> children:'
	end
	if kid > 0:
		k = 0
:kidloop
		if k < kid:
			gs 'obj_din','kidlist',k
			k += 1
			jump 'kidloop'
		end
	end
	if workPTU > 1: 'Reputation as a teacher <<teachlevel>>'
	*nl
	if npc_QW['A192'] > 0: 'Friendship with Nastya <<npc_QW[''A192'']>>'
	if npc_rel['A218'] > 0: 'Friendship with Tanya <<npc_rel[''A218'']>>'
	if npc_rel['A219'] > 0: 'Friendship with Kat <<npc_rel[''A219'']>>'
	if npc_rel['A220'] > 0: 'Friendship with Vika <<npc_rel[''A220'']>>'
	if npc_rel['A93'] > 0: 'Friendship with Ira <<npc_rel[''A93'']>>'
	if npc_rel['A43'] > 0: 'Friendship with Tamara <<npc_rel[''A43'']>>'
	if alla > 0: 'Friendship with Alla <<alla>>'
	if masha > 0: 'Friendship with Masha <<masha>>'
	if npc_rel['A41'] > 0: 'Friendship with Givi K. <<npc_rel[''A41'']>>'
	if npc_rel['A42'] > 0: 'Friendship with Ashot <<npc_rel[''A42'']>>'
	if Dmitry > 0: 'Friendship with Dima <<Dmitry>>'
	if afra > 0: 'Friendship with blacks <<afra>>'
	if npc_rel['A69'] > 0:'Friendship with Mikhail Nikolaevich	<<npc_rel[''A69'']>>'

	!!!WD: Formatting
	if (npc_rel['A93'] + npc_rel['A41'] + npc_rel['A42'] + npc_rel['A43'] + afra + gosh + npc_rel['A220'] + npc_rel['A219'] + npc_QW['A192'] + npc_rel['A218']) > 0:*nl
	*nl
	if KikWinPro > 0 or KikLossPro > 0 or KikDrawPro > 0:
		'Professional Kickboxing Record:Win (Victory KO) - Loss (Defeat KO) - Draw'
		'<<KikWinPro>> (<<KikWinProKO>>KO) - <<KikLossPro>> (<<KikLossProKO>>KO) - <<KikDrawPro>>'
	end

	if Win > 0 or Loss > 0: 'Wins in fights <<Win>>, losses in fights <<Loss>>' & *nl
	if razradKik > 0: '<<$razradKik>>'

	if KikWinAm > 0 or KikLossAm > 0 or KikDrawAm > 0:
		'Amateur Kickboxing Record:<br>Wins: <<KikWinAm>> (<<KikWinAmKO>> by KO) - Losses: <<KikLossAm>> (<<KikLossAmKO>> by KO) - Draws: <<KikDrawAm>>'
		*nl
	end

	if razradKik > 0:
		if razradKik = 1:$razradKik = 'You have earned green sash(rank 4) in kickboxing'
		if razradKik = 2:$razradKik = 'You have earned purple sash(rank 5) in kickboxing'
		if razradKik = 3:$razradKik = 'You have earned blue sash(rank 6) in kickboxing'
		if razradKik = 4:$razradKik = 'You have earned brown sash(rank 7) in kickboxing'
		if razradKik = 5:$razradKik = 'You have earned black sash, 1st dan in kickboxing'

		*nl
	end

	if kolsorev > 0: 'You have run in <<kolsorev>> races'
	if swinbeg >= 1: 'You have <<swinbeg/3>> trophies from local racing competitions'
	if bronzebeg > 0: '<<bronzebeg>> - bronze medals for running'
	if silverbeg > 0: '<<silverbeg>> - silver medals for running'
	if goldbeg > 0: '<<goldbeg>> - gold medals for running'
	if razradbegEB > 0: '<<razradbegEB>> times bronze medalist at European Championship'
	if razradbegES > 0: '<<razradbegES>> runner up at European Championship'
	if razradbegEG > 0: '<<razradbegEG>> times European champion.'
	if razradbegIB > 0: '<<razradbegIB>> times bronze medalist at World Championship'
	if razradbegIS > 0: '<<razradbegIS>> runner up at World Championship'
	if razradbegIG > 0: '<<razradbegIG>> times World champion'
	if razradbeg > 0:
		if razradbeg = 1: 'You have third sports category for event'
		if razradbeg = 2: 'You 2nd sports category for event'
		if razradbeg = 3: 'You 1st sports category for event'
		if razradbeg = 4: 'You have the title of Candidate Master of Sports for event'
		if razradbeg = 5: 'You have the title of Master of Sports in the run'
		if razradbeg >= 6: 'You have the title of International Master of Sports for event'
		*nl
	end


	if chess_win > 0 or chess_loss > 0:'Chess Record: Win <<chess_win>>, Loss <<chess_loss>>'
	if chess_rank > 0:
		if chess_rank = 1:'You have mastered the basics of chess'
		if chess_rank = 2:'You are starting to get good at chess'
		if chess_rank = 3:'You are a good chess player'
		if chess_rank = 4:'You are an excellent chess player'
		if chess_rank = 5:'You are a candidate for chess master'
		if chess_rank = 6:'You are a chess master'
		if chess_rank = 7:'You are a chess Grandmaster'
	end
	if chess_world_rank > 0:
		if chess_world_rank = 1:'The title of FIDE Master Chess'
		if chess_world_rank = 2:'The title of International Chess Master'
		if chess_world_rank = 3:'The title of International Grandmaster Chess'
	end
	*nl
	!!!
	if modelfoto > 0:
		'<b>Modelling Stats</b>'
		'<<modelfoto>> - Number of times you have worked as a model'
		'<<modelfotomoney>> - The amount of money you''ve made modelling'
		if modelfoto_fashion > 0: '<<modelfoto_fashion>> - Number of fashion shoots you have participated in'
		if modelfoto_ero_clo > 0: '<<modelfoto_ero_clo>> - Number of erotic clothing shoots you have participated in'
		if modelfoto_bikini > 0: '<<modelfoto_bikini>> - Number of swimsuit shoots you have modelled in'
		if modelfoto_lingerie > 0: '<<modelfoto_lingerie>> - Number of lingerie shoots you have participated in'
		if modelfoto_nip > 0: '<<modelfoto_nip>> - Number of times your nipples have been visible as a model'
		if modelfoto_topless > 0: '<<modelfoto_topless>> - Number of shoots where you have been topless'
		if modelfoto_nude > 0: '<<modelfoto_nude>> - Number of nude modelling shoots you have participated in'
		if modelfoto_pussy > 0: '<<modelfoto_pussy>> - Number of shoots your vagina has been visible'
		*nl
	end

	if slavafuck > 0:'You have let Borislav fuck you <<slavafuck>> times'
	if slava_bj > 0:'You have given Borislav <<$slava_bj>> blowjobs'

	if maxdamage > 0: 'The impact force on the dynamometer <<maxdamage>> kgN' & *nl

	if stripdancesum > 0 and hidden_stripdancesum = 0:
		'You have danced <<stripdancesum>> times in the stripclub'
	elseif stripdancesum = 0 and hidden_stripdancesum > 0:
		'You have danced <<hidden_stripdancesum>> times in the stripclub, but you do nor remember it'
	elseif stripdancesum > 0 and hidden_stripdancesum > 0:
		'You have danced <<stripdancesum+hidden_stripdancesum>> times in the stripclub, but you only remember <<stripdancesum>> times'
	end
	if profiDanceTime > 0: 'You danced <<profiDanceTime>> times professionally.'
	if SchoolAtestat = 1: 'You have finished school.'
	if diplom = 1: 'You graduated.'
	if teachlevel > 0: 'Your credibility as a teacher is <<teachlevel>>'
	!WD:FORMATING
	if (maxdamage + stripdancesum + profiDanceTime + SchoolAtestat + diplom + teachlevel) > 0:*nl
	'</td></tr></table></center>'
end

if $ARGS[0] = 'kidlist':
	kidnumber = ARGS[1]
	if kidage[kidnumber] < 1:
		if (month - monthkid[kidnumber]) < 1 and (day-daykid[kidnumber]) < 7:
			kiddaycalc[kidnumber] = day - daykid[kidnumber]
			if kiddaycalc[kidnumber] = 0:
				$kidagetext[kidnumber] = 'was born today'
			elseif kiddaycalc[kidnumber] = 1:
				$kidagetext[kidnumber] = 'is <<kiddaycalc[kidnumber]>> day old'
			else
				$kidagetext[kidnumber] = 'is <<kiddaycalc[kidnumber]>> days old'
			end
		elseif (month - monthkid[kidnumber]) < 1 :
			kiddaycalc[kidnumber] = (day - daykid[kidnumber]) / 7
			if kiddaycalc[kidnumber] = 1:
				$kidagetext[kidnumber] = 'is <<kiddaycalc[kidnumber]>> week old'
			else
				$kidagetext[kidnumber] = 'is <<kiddaycalc[kidnumber]>> weeks old'
			end
		else
			kidmonthcalc[kidnumber] = (month - monthkid[kidnumber])
			if kidmonthcalc[kidnumber] = 1:
				$kidagetext[kidnumber] = 'is <<kidmonthcalc[kidnumber]>> month old'
			else
				$kidagetext[kidnumber] = 'is <<kidmonthcalc[kidnumber]>> months old'
			end
		end
	else
		if kidage[kidnumber] = 1:
			$kidagetext[kidnumber] = 'is <<kidage[kidnumber]>> year old'
		else
			$kidagetext[kidnumber] = 'is <<kidage[kidnumber]>> years old'
		end
	end
		if polkid[kidnumber] = 0:
			$sdtext[kidnumber] = 'daughter'
		else
			$sdtext[kidnumber] = 'son'
		end
		if polkid[kidnumber] = 0:
			$kidPosProPN[kidnumber] = 'She'
		else
			$kidPosProPN[kidnumber] = 'He'
		end
	*p'You have a <<$sdtext[kidnumber]>> named <<$kidname[kidnumber]>>. <<$kidPosProPN[kidnumber]>> <<$kidagetext[kidnumber]>>. <<$kidname[kidnumber]>>''s date of birth is <<daykid[kidnumber]>>-<<monthkid[kidnumber]>>-<<yearkid[kidnumber]>>'
	'.'
	*nl
	killvar 'kidnumber'
end

if $ARGS[0] = 'stats_sex':
	*clr & cla
	!'<center><img src="images/system/icon/statistics.png"><br></center>'
	'<center><h1>Sex Statistics</h1></center>'
	'<center><table width="90%" cellspacing="0" cellpadding="20" valign="top"><tr>'
	'<td width="50%" cellspacing="0" cellpadding="0" valign="top">'
	act 'Return to the statistics index': gt 'obj_din', 'stats'
	!Sex stats
	! This is my suggestion, change it however you see fit, Sicaa
	if stat['kiss'] > 0: 'Times you have kissed someone: <<stat[''kiss'']>>'
	if mastr > 0 or stat['mast'] > 0: 'Times you have masturbated: <<stat[''mast'']>>'
	if stat['porn'] > 0: 'Times you have watched porn: <<stat[''porn'']>>'
	if stat['flashlite'] > 0 or stat['flash'] > 0: 'Times you have flashed: <<stat[''flashlite''] + stat[''flash'']>>'
	! This is my suggestion, change it however you see fit, Sicaa
	if stat['voyeur'] > 0: 'Times you have watched people''s erotic displays: <<stat[''voyeur'']>>'
	if stat['voyeur_sex'] > 0: 'Times you have watched other people fuck: <<stat[''voyeur_sex'']>>'
	if spank > 0: 'You have had your ass spanked <<spank>> times'
	! This is my suggestion, change it however you see fit, Sicaa
	if stat['BDSM'] > 0 or stat['BDSM_give'] > 0: 'Times you have participated in BDSM (sub/dom): <<stat[''BDSM'']>>/<<stat[''BDSM_give'']>>'
	temp = func('shortgs','guy')
	if guy+temp > 0 and hidden_guy = 0:
		'You had sex with <<guy+temp>> guys.'
	elseif guy+temp = 0 and hidden_guy > 0:
		'You had sex with <<hidden_guy>> guys, but you do not have any recollection of it. You still think of yourself as a virgin.'
	elseif guy+temp > 0 and hidden_guy > 0:
		'You had sex with <<guy+hidden_guy+temp>> guys, but you know only about <<guy+temp>> of them.'
	end
	temp = func('shortgs','girl')
	if girl+temp > 0 and hidden_girl = 0:
		'You had sex with <<girl+temp>> girls.'
	elseif girl+temp = 0 and hidden_girl > 0:
		'You had sex with <<hidden_girl>> girls, but you do not have any recollection of any of it.'
	elseif girl+temp > 0 and hidden_girl > 0:
		'You had sex with <<girl+temp+hidden_girl>> girls, but you know only about <<girl+temp>> of them.'
	end
	if divorced > 0: 'You were married <<divorced>> times.'
	if suprdolg > 0: 'You performed your conjugal duty for your husband <<suprdolg>> times'
	if rape > 0 and hidden_rape = 0:
		'You have been raped <<rape>> times'
	elseif rape = 0 and hidden_rape > 0:
		'You have been raped <<hidden_rape>> times, but you do not remember any of it'
	elseif rape > 0 and hidden_rape > 0:
		'You have been raped <<rape+hidden_rape>> times, but you only remember <<rape>> of them'
	end
	*nl

	if slutty > 0 or hidden_slutty > 0:
		if bordelslutty = 0: 'Sold your body <<slutty>> times.'
		if bordelslutty > 0: 'Sold your body <<slutty>> times, including <<bordelslutty>> times in a brothel.'
		if hidden_slutty > 0: 'Sold your body <<hidden_slutty>> times, and gave all the money to your therapist. You do not remember any of it.'
	end

	if orgasm > 0: 'Experienced orgasm <<orgasm>> times.'
	if analorgasm > 0 : 'You''ve had <<analorgasm>> anal orgasms.'
	if swallow > 0: 'Sperm swallowed <<swallow>> times.'
	if facial > 0: 'You have taken <<facial>> facials.'
	if frot > 0 or hump > 0: 'Your clothes have been come on <<frot + hump>> times.'
	! This is my suggestion, change it however you see fit, Sicaa
	if stat['pee_give'] > 0: 'You''ve peed on others <<stat[''pee_give'']>> times.'
	if stat['pee'] > 0: 'You''ve been peed on <<stat[''pee'']>> times.'
	if swallowpee > 0: 'You swallowed urine <<swallowpee>> times.'
	!!!WD:FORMATING
	if (slutty + pfilmSTOP + film + orgasm + analorgasm + swallow + facial + frot + stat['pee_give'] + stat['pee'] + swallowpee) > 0:*nl
	!!!
	gs 'obj_din', 'husb_cheat_count'

	'</td><td width="50%" cellspacing="0" cellpadding="0" valign="top">'
	if hj > 0 or stat['hj'] > 0 or stat['hidden_hj'] > 0:
		'Jerked men off (known/unknown): <<stat[''hj'']>>/<<stat[''hidden_hj'']>>'
		if hja > 0: 'Jerked off your boyfriend: <<hja>>'
	end

	if stat['footjob'] > 0 or stat['hidden_footjob'] > 0: 'Jerked men off with your feet (known/unknown): <<stat[''footjob'']>>/<<stat[''hidden_footjob'']>>'

	! This is my suggestion, change it however you see fit, Sicaa
	if stat['titjob'] > 0 or stat['hidden_titjob'] > 0: 'Pleasured men with your breasts (known/unknown): <<stat[''titjob'']>>/<<stat[''hidden_titjob'']>>'

	if bj > 0 or stat['bj'] > 0 or stat['hidden_bj'] > 0:
		'Sucked cock (known/unknown): <<stat[''bj'']>>/<<stat[''hidden_bj'']>>'
		if bja > 0: 'Sucked your boyfriends cock: <<bja>>'
		if gloryhole > 0 or hidden_gloryhole > 0: 'Sucked cock in a gloryhole (known/unknown): <<gloryhole>>/<<hidden_gloryhole>>'
	end

	if sex > 0 or stat['vaginal'] > 0 or stat['hidden_vaginal'] > 0: 'Vaginal sex (known/unknown): <<stat[''vaginal'']>>/<<stat[''hidden_vaginal'']>>'
	if sexa > 0: 'Vaginal sex with your boyfriend: <<sexa>>'
	if (pcs_cp_safe_known + pcs_cp_notsafe_known + pcs_cp_risky_known) > 0:
		'	Known vaginal creampies:'
		if pcs_cp_safe_known > 0:  '	Safe: <<pcs_cp_safe_known>>'
		if pcs_cp_notsafe_known > 0:  '	  Likely safe: <<pcs_cp_notsafe_known>>'
		if pcs_cp_risky_known > 0:	'	Risky: <<pcs_cp_risky_known>>'
	end
	if (pcs_cp_safe_unknown + pcs_cp_notsafe_unknown + pcs_cp_risky_unknown) > 0:
		'	Unknown vaginal creampies:'
		if pcs_cp_safe_unknown > 0:	'	 Safe: <<pcs_cp_safe_unknown>>'
		if pcs_cp_notsafe_unknown > 0:	'	Likely safe: <<pcs_cp_notsafe_unknown>>'
		if pcs_cp_risky_unknown > 0:  '	  Risky: <<pcs_cp_risky_unknown>>'
	end

	if lesbian > 0 or hidden_lesbian > 0:
		if hidden_lesbian = 0: 'Lesbian sex (known/unknown): <<lesbian>>/<<hidden_lesbian>>'
	end
	if futa > 0 or hidden_futa > 0: 'Sex with tgirls (known/unknown): <<futa>>/<<hidden_futa>>'

	if anal > 0 or stat['anal'] or stat['hidden_anal']:
		'Anal sex (known/unknown): <<stat[''anal'']>>/<<stat[''hidden_anal'']>>'
		if anala > 0: 'Anal sex with your boyfriend: <<anala>>'
	end
	if pcs_acp_known > 0:  '  Known anal creampies: <<pcs_acp_known>>'
	if pcs_acp_unknown > 0:	'	Unknown anal creampies: <<pcs_acp_unknown>>'

	if gang > 0 or hidden_gang > 0: 'Group sex (known/unknown): <<gang>>/<<hidden_gang>>'
	if kuni > 0 or stat['cuni'] > 0: 'Received cunnilingus: <<stat[''cuni'']>>'
	if stat['vaginal_finger'] > 0: 'Fingered: <<stat[''vaginal_finger'']>>'
	if stat['vaginal_fist'] > 0: 'Fisted: <<stat[''vaginal_fist'']>>'
	if stat['vaginal_dildo'] > 0: 'Fucked a dildo: <<stat[''vaginal_dildo'']>>'
	if stat['vaginal_strap'] > 0: 'Fucked with a strap-on: <<stat[''vaginal_strap'']>>'
	if stat['vaginal_vibe'] > 0: 'Clitoral / Vaginal vibrator: <<stat[''vaginal_vibe'']>>'
	if stat['trib'] > 0: 'Tribalism: <<stat[''trib'']>>'
	if stat['anal_finger'] > 0: 'Anally fingered: <<stat[''anal_finger'']>>'
	if stat['anal_fist'] > 0: 'Anally fisted: <<stat[''anal_fist'']>>'
	if stat['rimming'] > 0: 'Ass rimmed: <<stat[''rimming'']>>'
	if stat['anal_dildo'] > 0: 'Anal sex with a dildo: <<stat[''anal_dildo'']>>'
	if stat['anal_strap'] > 0: 'Ass fucked with a strap-on: <<stat[''anal_strap'']>>'
	if stat['anal_vibe'] > 0: 'Anal vibrator: <<stat[''anal_vibe'']>>'

	*nl

	if stat['cuni_give'] > 0: 'Performed cunnilingus: <<stat[''cuni_give'']>>'
	if stat['vaginal_finger_give'] > 0: 'Fingered a girl: <<stat[''vaginal_finger_give'']>>'
	if stat['vaginal_fist_give'] > 0: 'Fisted a girl: <<stat[''vaginal_fist_give'']>>'
	if stat['vaginal_dildo_give'] > 0: 'Dildoed a girl: <<stat[''vaginal_dildo_give'']>>'
	if stat['vaginal_strap_give'] > 0: 'Strap-on fucked a girl: <<stat[''vaginal_strap_give'']>>'
	if stat['vaginal_vibe_give'] > 0: 'Used vibrator on a girl: <<stat[''vaginal_vibe_give'']>>'
	if stat['rimming_give'] > 0: 'Rimmed someone: <<stat[''rimming_give'']>>'
	if stat['anal_finger_give'] > 0: 'Fingered someone else''s ass: <<stat[''anal_finger_give'']>>'
	if stat['anal_fist_give'] > 0: 'Fisted someone else''s ass: <<stat[''anal_fist_give'']>>'
	if stat['anal_dildo_give'] > 0: 'Dildoed someone else''s ass: <<stat[''anal_dildo_give'']>>'
	if stat['anal_vibe_give'] > 0: 'Used a vibrator on someone else''s ass: <<stat[''anal_vibe_give'']>>'
	if stat['anal_strap_give'] > 0 or stat['anal_strap_give'] > 0: 'Fucked someone else''s ass with a strap-on: <<stat[''anal_strap_give'']>>'

	'</td></tr></table></center>'
end

if $ARGS[0] = 'stats_fetish':
	*clr & cla
	act 'Return to the statistics index': gt 'obj_din', 'stats'
	!'<center><img src="images/system/icon/statistics.png"><br></center>'
	'<center><h1>Fetishes</h1></center>'
	'<center><table cellspacing="0" cellpadding="20" valign="top"><tr>'
	'<td cellspacing="0" cellpadding="0" valign="top">'
	'Feet preference: <<feet[''pref'']>>'
	'Foot jobs / worship: <<feet[''exp'']>>'
	'Deepthroat preference: <<deepthroat[''pref'']>>'
	'Deepthroated: <<deepthroat[''exp'']>>'
	'Group preference: <<group[''pref'']>>'
	'Group sex: <<group[''exp'']>>'
	'Gangbang preference: <<gangbang[''pref'']>>'
	'Gangbangs: <<gangbang[''exp'']>>'
	'Humiliation preference: <<humiliation[''pref'']>>'
	'Humiliation experiences: <<humiliation[''exp'']>>'
	'Prostitution preference: <<prostitution[''pref'']>>'
	'Prostituted yourself: <<prostitution[''exp'']>>'
	'Bondage preference: <<bound[''pref'']>>'
	'Bondage play: <<bound[''exp'']>>'
	'Masochism preference: <<maso[''pref'']>>'
	'Masochism experiences: <<maso[''exp'']>>'
	'Bestiality encounters: <<beast[''pref'']>>'
	'Bestiality experience: <<beast[''exp'']>>'
	'Rough sex preference: <<rough[''pref'']>>'
	'Rough sex: <<rough[''exp'']>>'
	'Incest preference: <<incest[''pref'']>>'
	'Incestuous sex: <<incest[''exp'']>>'
	'</td></tr></table></center>'
end


if $ARGS[0] = 'reputation':
	*clr & cla
	gs 'obj_din','chartabs'
	!'<center><img src="images/system/icon/reputation.png"><br></center>'
	'<center><h1>Renown</h1></center>'
	'<center><table width="90%" cellspacing="0" cellpadding="20" valign="top">'
		'<tr><td width="50%" cellspacing="0" cellpadding="0" valign="top">'
		'<center>Family Renown</center>'
		if Enable_family_Reputation = 0:
			'<center><a href="exec:Enable_family_Reputation = 1 & gs ''obj_din'', ''reputation''">Show details</a></center>'
		end
		if Enable_family_Reputation = 1:
			'<center><a href="exec:Enable_family_Reputation = 0 & gs ''obj_din'', ''reputation''">Hide details</a></center>'
			if rinslut > 0 or kavslut > 0:'In the residential area of ​​you are known as a whore that sleeps with Caucasians.'
			if afra > 80: 'In the student hostel, you are known for bedding blacks.'
			if opusk > 0 or gnewQW >= 5: 'In the residential area it is well known by all the guys that you are a whore.'
			if StoryLine = 1:
				*nl
				if motherKnowSpravka > 0 and motherKnowWhore > 0:
					'Your mother knows, that you are sexually active and considers you a slut.'
				elseif motherKnowWhore > 0:
					'Your mother thinks you are a whore.'
				elseif motherKnowSpravka > 0:
					'Your mother knows that you are sexually active.'
				else
					'Your mother thinks that you are a virgin.'
				end
				if evgenQW >= 4 and pav_slut >= 125:
					'Your brother thinks you are a total whore.'
				elseif evgenQW >= 3:
					'Your brother thinks you are a slut.'
				elseif brotherknowslut = 1:
					'Your brother saw semen on your body and thinks that you fuck around.'
				elseif brotherknowslut >= 2:
					'Your brother saw you in the park screwing Gopniks.'
				else
					'Your brother has a good opinion of you.'
				end

				if sisterknowslut > 1 and sisboypartyQW >= 2:
					'Your sister thinks you are a slut'
				elseif sisterknowslut > 0:
					'Your sister knows that you sleep around.'
				else
					'Your sister has a good opinion of you.'
				end

				if brothershowertalk > 0:'<<brothershowertalk>> - Number of conversations you''ve had with your brother in the shower.'
				if brothershowerlook = 1:'You let your brother look at you when you''re shower'
				if brothershave > 0:'<<brothershave>> - Number of times you''ve let your brother watch you shave your pussy'
				if brotherkiss > 0: '<<brotherkiss>> - Number of times you and your brother have kissed'
				if brotherbj > 0:'<<brotherbj>> - Number of times you''ve given your brother blowjobs'
				if brotherfuck > 0:'<<brotherfuck>> - Number of times you''ve had sex with your brother'
			end
		*nl
		end
		'<center>Regional Renown</center>'
		if Enable_glo_Reputation = 0:
			'<center><a href="exec:Enable_glo_Reputation = 1 & gs ''obj_din'', ''reputation''">Show details</a></center>'
		end
		if Enable_glo_Reputation = 1:
			'<center><a href="exec:Enable_glo_Reputation = 0 & gs ''obj_din'', ''reputation''">Hide details</a></center>'
			'Regional renown as a performer = <<global_performer>>'
			if global_performer = 0:
				'You are not famous enough as a performer to be known outside of any local areas.'
			end
			*nl
			'Regional renown in the sex industry = <<global_sexind>>'
			if global_sexind = 0:
				'You are not famous enough in the industry to be known outside of any local areas.'
			end
			*nl
			'Regional renown as a slut = <<global_slut>>'
			if global_slut = 0:
				'You are not famous enough as a slut to be known outside of any local areas.'
			end
			*nl
			'Regional renown in sports = <<global_sport>>'
			if global_sport = 0:
				'You are not a famous enough athlete to be known outside of any local areas.'
			end
			*nl
			'Regional renown as an intellectual = <<global_int>>'
			if global_int = 0:
				'You are not famous enough as an intellectual to be known outside of any local areas.'
			end
			*nl
			'Regional renown through social media = <<global_social>>'
			if global_social = 0:
				'You are not famous enough on social media to be known outside of any local areas.'
			end
		end
		'<center><table width="225" cellspacing="0" cellpadding="20" valign="top"><tr><td>'
			'<center>Renown in Pavlovsk</center>'
			if Enable_pav_Reputation = 0:
				'<center><a href="exec:Enable_pav_Reputation = 1 & gs ''obj_din'', ''reputation''">Show details</a></center>'
			end
			if Enable_pav_Reputation = 1:
				'<center><a href="exec:Enable_pav_Reputation = 0 & gs ''obj_din'', ''reputation''">Hide details</a></center>'
				'<b>Performer = <<pav_performer>></b>'
				'  Actor = <<pav_acting>>'
				'  Dancer = <<pav_dance>>'
				'  Glamour model = <<pav_modelling>>'
				'  Painter = <<pav_painting>>'
				'  Musician = <<pav_music>>'
				'  Ballet dancer = <<pav_ballet>>'
				'<b>Sex Industry = <<pav_sexind>></b>'
				'  Porn actor = <<pav_porn>>'
				'  Stripper = <<pav_stripping>>'
				'<b>Slut = <<pav_slut>></b>'
				'  Sex = <<pav_sex>>'
				'  Prostitution = <<pav_prostitute>>'
				'<b>Sports = <<pav_sport>></b>'
				'  Kickboxer = <<pav_kickboxing>>'
				'  Runner = <<pav_running>>'
				'  Volleyball player = <<pav_volleyball>>'
				'<b>Intellectual = <<pav_int>></b>'
				'  Chess player = <<pav_chess>>'
				'  Teacher = <<pav_teaching>>'
				'<b>Social = <<pav_social>></b>'
				'  Social media = <<pav_media>>'
				*nl
			end
			'<center>Renown in the city</center>'
			if Enable_city_Reputation = 0:
				'<center><a href="exec:Enable_city_Reputation = 1 & gs ''obj_din'', ''reputation''">Show details</a></center>'
			end
			if Enable_city_Reputation = 1:
				'<center><a href="exec:Enable_city_Reputation = 0 & gs ''obj_din'', ''reputation''">Hide details</a></center>'
				'<b>Performer = <<city_performer>></b>'
				'  Actor = <<city_acting>>'
				'  Dancer = <<city_dance>>'
				'  Glamour model = <<city_modelling>>'
				'  Painter = <<city_painting>>'
				'  Musician = <<city_music>>'
				'  Ballet dancer = <<city_ballet>>'
				'<b>Sex Industry = <<city_sexind>></b>'
				'  Porn actor = <<city_porn>>'
				'  Stripper = <<city_stripping>>'
				'<b>Slut = <<city_slut>></b>'
				'  Sex = <<city_sex>>'
				'  Prostitution = <<city_prostitute>>'
				'<b>Sports = <<city_sport>></b>'
				'  Kickboxer = <<city_kickboxing>>'
				'  Runner = <<city_running>>'
				'  Volleyball player = <<city_volleyball>>'
				'<b>Intellectual = <<city_int>></b>'
				'  Chess player = <<city_chess>>'
				'  Teacher = <<city_teaching>>'
				'<b>Social = <<city_social>></b>'
				'  Social media = <<city_media>>'
				*nl
			end
			'<center>Renown in the old town</center>'
			if Enable_oldtown_Reputation = 0:
				'<center><a href="exec:Enable_oldtown_Reputation = 1 & gs ''obj_din'', ''reputation''">Show details</a></center>'
			end
			if Enable_oldtown_Reputation = 1:
				'<center><a href="exec:Enable_oldtown_Reputation = 0 & gs ''obj_din'', ''reputation''">Hide details</a></center>'
				'<b>Performer = <<oldtown_performer>></b>'
				'  Actor = <<oldtown_acting>>'
				'  Dancer = <<oldtown_dance>>'
				'  Glamour model = <<oldtown_modelling>>'
				'  Painter = <<oldtown_painting>>'
				'  Musician = <<oldtown_music>>'
				'  Ballet dancer = <<oldtown_ballet>>'
				'<b>Sex Industry = <<oldtown_sexind>></b>'
				'  Porn actor = <<oldtown_porn>>'
				'  Stripper = <<oldtown_stripping>>'
				'<b>Slut = <<oldtown_slut>></b>'
				'  Sex = <<oldtown_sex>>'
				'  Prostitution = <<oldtown_prostitute>>'
				'<b>Sports = <<oldtown_sport>></b>'
				'  Kickboxer = <<oldtown_kickboxing>>'
				'  Runner = <<oldtown_running>>'
				'  Volleyball player = <<oldtown_volleyball>>'
				'<b>Intellectual = <<oldtown_int>></b>'
				'  Chess player = <<oldtown_chess>>'
				'  Teacher = <<oldtown_teaching>>'
				'<b>Social = <<oldtown_social>></b>'
				'  Social media = <<oldtown_media>>'
				*nl
			end
			'<center>Renown in the village</center>'
			if Enable_village_Reputation = 0:
				'<center><a href="exec:Enable_village_Reputation = 1 & gs ''obj_din'', ''reputation''">Show details</a></center>'
			end
			if Enable_village_Reputation = 1:
				'<center><a href="exec:Enable_village_Reputation = 0 & gs ''obj_din'', ''reputation''">Hide details</a></center>'
				'<b>Performer = <<village_performer>></b>'
				'  Actor = <<village_acting>>'
				'  Dancer = <<village_dance>>'
				'  Glamour model = <<village_modelling>>'
				'  Painter = <<village_painting>>'
				'  Musician = <<village_music>>'
				'  Ballet dancer = <<village_ballet>>'
				'<b>Sex Industry = <<village_sexind>></b>'
				'  Porn actor = <<village_porn>>'
				'  Stripper = <<village_stripping>>'
				'<b>Slut = <<village_slut>></b>'
				'  Sex = <<village_sex>>'
				'  Prostitution = <<village_prostitute>>'
				'<b>Sports = <<village_sport>></b>'
				'  Kickboxer = <<village_kickboxing>>'
				'  Runner = <<village_running>>'
				'  Volleyball player = <<village_volleyball>>'
				'<b>Intellectual = <<village_int>></b>'
				'  Chess player = <<village_chess>>'
				'  Teacher = <<village_teaching>>'
				'<b>Social = <<village_social>></b>'
				'  Social media = <<village_media>>'
			end
		'</tr></td></table></center>'
		'</td><td width="50%" cellspacing="0" cellpadding="0" valign="top">'
		if film > 0:
			'<b>Pornographic Filmography</b>'
			gs 'pornhist', 'short'
			if pfilmSTOP = 0:
				*nl
				'<font color="magenta"><<$pfname>></font> has starred in <b><<film>></b> porn films:'
				*nl
			else
				*nl
				'<font color="magenta"><<$pfname>></font> retired after <b><<film>></b> porn films:'
				*nl
			end
			'<a href="exec:gs ''pornhist'', ''pdetail''">View detailed Filmography</a>'
			*nl
			*p '<<$pfilmhistory>>'
		end
	'</td></tr></table></center>'
end

if $ARGS[0] = 'magic':
	*clr & cla
	gs 'obj_din','chartabs'
	'<center><h1>Magic</h1></center>'
	'<center><table width="90%" cellspacing="0" cellpadding="20" valign="top"><tr>'
	'<td cellspacing="0" cellpadding="0" valign="top">'
	if pcs_magik = 0:
		'You are unable to use magic.'
	elseif pcs_magik > 0:
		'You have <<pcs_mana>> units of mana available to you.'
		!!' Forces Rikudo available to you <<rikudo>> units'
		*nl

		$SpellListStr = "<center>
			<h1>Combat Spells</h1><br>
			<<func('spellBook','list','$combatSpells')>><br>
			<h1>Non-Combat Spells</h1><br>
			<<func('spellBook','list','$nonComSpells')>><br>
		</center>"

		*pl func('cleanHTML',$SpellListStr)

		killvar 'i'
		killvar '$ThisSpellName'
		killvar '$SpellListStr'

	end

	if succubusflag = 1 and sucpcinfo >= 4 and sucskill >= 1:
		'<center><b>Succubus Stats</b></center>'
		*nl
		'Succubus Level = <<succublvl>>'
		'Succubus XP = <<succubxp>>'
		'"Food" Energy Reserve = <<0 - succhungry>> day(s)'
		'Stored Sexual Energy = <<sucexcess>>'
		'Sexual Energy Storage Capacity = <<sucstorecap>>'
		*nl
		if sucskill >= 2: 'You have learned to increase your storage capacity and to store energy before using it.'
		if sucskill >= 3: 'You have learned to be more efficient in your energy handling.'
		if sucskill >= 4: 'You have learned the accommodation ability.'
		*nl
!!		More to come
	end
	'</td></tr></table></center>'
end

if $ARGS[0] = 'pain':
	*clr & cla
	gs 'obj_din','chartabs'
	'<center><h1>Pain</h1></center>'
	'<center><table cellspacing="0" cellpadding="20" valign="top"><tr>'
	'<td cellspacing="0" cellpadding="0" valign="top">'
	if pain['head'] > 0:
		if pain['head'] > 70:
			'<b><font color="red">Your head is in extreme pain.</font></b>'
		elseif pain['head'] > 40:
			'Your head is very sore.'
		else
			'Your head hurts.'
		end
	end
	if pain['hair'] > 0:
		if pain['hair'] > 70:
			'<b><font color="red">Your scalp is in extreme pain.</font></b>'
		elseif pain['hair'] > 40:
			'Your scalp is very sore.'
		else
			'Your scalp hurts.'
		end
	end
	if pain['ears'] > 0:
		if pain['ears'] > 70:
			'<b><font color="red">Your ears are in extreme pain.</font></b>'
		elseif pain['ears'] > 40:
			'Your ears are very sore.'
		else
			'Your ears hurt.'
		end
	end
	if pain['eyebrows'] > 0:
		if pain['eyebrows'] > 70:
			'<b><font color="red">Your eyebrows are in extreme pain.</font></b>'
		elseif pain['eyebrows'] > 40:
			'Your eyebrows are very sore.'
		else
			'Your eyebrows hurt.'
		end
	end
	if pain['eyes'] > 0:
		if pain['eyes'] > 70:
			'<b><font color="red">Your eyes are in extreme pain.</font></b>'
		elseif pain['eyes'] > 40:
			'Your eyes are very sore.'
		else
			'Your eyes hurt.'
		end
	end
	if pain['cheeks'] > 0:
		if pain['cheeks'] > 70:
			'<b><font color="red">Your cheeks are in extreme pain.</font></b>'
		elseif pain['cheeks'] > 40:
			'Your cheeks are very sore.'
		else
			'Your cheeks hurt.'
		end
	end
	if pain['nose'] > 0:
		if pain['nose'] > 70:
			'<b><font color="red">Your nose is in extreme pain.</font></b>'
		elseif pain['nose'] > 40:
			'Your nose is very sore.'
		else
			'Your nose hurts.'
		end
	end
	if pain['mouth'] > 0:
		if pain['mouth'] > 70:
			'<b><font color="red">Your mouth is in extreme pain.</font></b>'
		elseif pain['mouth'] > 40:
			'Your mouth is very sore.'
		else
			'Your mouth hurts.'
		end
	end
	if pain['jaw'] > 0:
		if pain['jaw'] > 70:
			'<b><font color="red">Your jaw is in extreme pain.</font></b>'
		elseif pain['jaw'] > 40:
			'Your jaw is very sore.'
		else
			'Your jaw hurts.'
		end
	end
	if pain['lips'] > 0:
		if pain['lips'] > 70:
			'<b><font color="red">Your lips are in extreme pain.</font></b>'
		elseif pain['lips'] > 40:
			'Your lips are very sore.'
		else
			'Your lips hurt.'
		end
	end
	if pain['tongue'] > 0:
		if pain['tongue'] > 70:
			'<b><font color="red">Your tongue is in extreme pain.</font></b>'
		elseif pain['tongue'] > 40:
			'Your tongue is very sore.'
		else
			'Your tongue hurts.'
		end
	end
	if pain['throat'] > 0:
		if pain['throat'] > 70:
			'<b><font color="red">Your throat is in extreme pain.</font></b>'
		elseif pain['throat'] > 40:
			'Your throat is very sore.'
		else
			'Your throat hurts.'
		end
	end
	if pain['neck'] > 0:
		if pain['neck'] > 70:
			'<b><font color="red">Your neck is in extreme pain.</font></b>'
		elseif pain['neck'] > 40:
			'Your neck is very sore.'
		else
			'Your neck hurts.'
		end
	end
	if pain['back'] > 0:
		if pain['back'] > 70:
			'<b><font color="red">Your back is in extreme pain.</font></b>'
		elseif pain['back'] > 40:
			'Your back is very sore.'
		else
			'Your back hurts.'
		end
	end
	if pain['asscheeks'] + (spanked * 24) > 0:
		if pain['asscheeks'] + (spanked * 24) > 70:
			'<b><font color="red">Your <a href="exec:view''images/pc/body/spankedass2.jpg''">asscheeks</a> are in extreme pain.</font></b>'
		elseif pain['asscheeks'] + (spanked * 24) > 40:
			'<b><font color="red">Your <a href="exec:view''images/pc/body/spankedass1.jpg''">asscheeks</a> are very sore.</font></b>'
		else
			'<b><font color="red">Your <a href="exec:view''images/pc/body/spankedass.jpg''">asscheeks</a> hurt.</font></b>'
		end
	end
	if pain['asshole'] + (agape * 10) > 0:
		if pain['asshole'] + (agape * 10) > 70:
			'<b><font color="red">You an extremely sore anus and it is bleeding.</font></b>'
		elseif pain['asshole'] + (agape * 10) > 40:
			'<b><font color="red">You have a very sore anus.</font></b>'
		else
			'<b><font color="red">You have a sore and itchy anus.</font></b>'
		end
	end
	if pain['hips'] > 0:
		if pain['hips'] > 70:
			'<b><font color="red">Your hips are in extreme pain.</font></b>'
		elseif pain['hips'] > 40:
			'Your hips are very sore.'
		else
			'Your hips hurt.'
		end
	end
	if pain['thighs'] > 0:
		if pain['thighs'] > 70:
			'<b><font color="red">Your thighs are in extreme pain.</font></b>'
		elseif pain['thighs'] > 40:
			'Your thighs are very sore.'
		else
			'Your thighs hurt.'
		end
	end
	if pain['legL'] > 0:
		if pain['legL'] > 70:
			'<b><font color="red">Your left leg is in extreme pain.</font></b>'
		elseif pain['legL'] > 40:
			'Your left leg is very sore.'
		else
			'Your left leg hurts.'
		end
	end
	if pain['legR'] > 0:
		if pain['legR'] > 70:
			'<b><font color="red">Your right leg is in extreme pain.</font></b>'
		elseif pain['legR'] > 40:
			'Your right leg is very sore.'
		else
			'Your right leg hurts.'
		end
	end
	if pain['feet'] > 0:
		if pain['feet'] > 70:
			'<b><font color="red">Your feet are in extreme pain.</font></b>'
		elseif pain['feet'] > 40:
			'Your feet are very sore.'
		else
			'Your feet hurt.'
		end
	end
	if pain['toes'] > 0:
		if pain['toes'] > 70:
			'<b><font color="red">Your toes are in extreme pain.</font></b>'
		elseif pain['toes'] > 40:
			'Your toes are very sore.'
		else
			'Your toes foot hurt.'
		end
	end
	if pain['shoulders'] > 0:
		if pain['shoulders'] > 70:
			'<b><font color="red">Your shoulders are in extreme pain.</font></b>'
		elseif pain['shoulders'] > 40:
			'Your shoulders are very sore.'
		else
			'Your shoulders hurt.'
		end
	end
	if pain['armL'] > 0:
		if pain['armL'] > 70:
			'<b><font color="red">Your left arm is in extreme pain.</font></b>'
		elseif pain['armL'] > 40:
			'Your left arm is very sore.'
		else
			'Your left arm hurts.'
		end
	end
	if pain['armR'] > 0:
		if pain['armR'] > 70:
			'<b><font color="red">Your right arm is in extreme pain.</font></b>'
		elseif pain['armR'] > 40:
			'Your right arm is very sore.'
		else
			'Your right arm hurts.'
		end
	end
	if pain['hands'] > 0:
		if pain['hands'] > 70:
			'<b><font color="red">Your hands are in extreme pain.</font></b>'
		elseif pain['hands'] > 40:
			'Your hands are very sore.'
		else
			'Your hands hurt.'
		end
	end
	if pain['fingers'] > 0:
		if pain['fingers'] > 70:
			'<b><font color="red">Your fingers are in extreme pain.</font></b>'
		elseif pain['fingers'] > 40:
			'Your fingers are very sore.'
		else
			'Your fingers hurt.'
		end
	end
	if pain['chest'] > 0:
		if pain['chest'] > 70:
			'<b><font color="red">Your chest is in extreme pain.</font></b>'
		elseif pain['chest'] > 40:
			'Your chest is very sore.'
		else
			'Your chest hurts.'
		end
	end
	if pain['breasts'] > 0:
		if pain['breasts'] > 70:
			'<b><font color="red">Your breasts are in extreme pain.</font></b>'
		elseif pain['breasts'] > 40:
			'Your breasts are very sore.'
		else
			'Your breasts hurt.'
		end
	end
	if pain['nipples'] > 0:
		if pain['nipples'] > 70:
			'<b><font color="red">Your nipples are in extreme pain.</font></b>'
		elseif pain['nipples'] > 40:
			'Your nipples are very sore.'
		else
			'Your nipples hurt.'
		end
	end
	if pain['ribs'] > 0:
		if pain['ribs'] > 70:
			'<b><font color="red">Your ribs are in extreme pain.</font></b>'
		elseif pain['ribs'] > 40:
			'Your ribs are very sore.'
		else
			'Your ribs hurt.'
		end
	end
	if pain['tummy'] > 0:
		if pain['tummy'] > 70:
			'<b><font color="red">Your tummy is in extreme pain.</font></b>'
		elseif pain['tummy'] > 40:
			'Your tummy is very sore.'
		else
			'Your tummy hurts.'
		end
	end
	if pain['pubic'] > 0:
		if pain['pubic'] > 70:
			'<b><font color="red">Your pubis is extremely painful.</font></b>'
		elseif pain['pubic'] > 40:
			'Your pubis is very sore.'
		else
			'Your pubis hurts.'
		end
	end
	if pain['labia'] > 0:
		if pain['labia'] > 70:
			'<b><font color="red">Your labia is extremely painful.</font></b>'
		elseif pain['labia'] > 40:
			'Your labia is very sore.'
		else
			'Your labia hurts.'
		end
	end
	if pain['vaginal'] + (vgape * 8) > 0:
		if pain['vaginal'] + (vgape * 8) > 70:
			'<b><font color="red">You have very sore vagina, you can hardly even walk, while trying to keep your feet apart.</font></b>'
		elseif pain['vaginal'] + (vgape * 8) > 40:
			'<b><font color="red">You have a very sore vagina and you can hardly keep your feet together.</font></b>'
		else
			'<b><font color="red">You have a sore vagina.</font></b>'
		end
	end
	if pain['clitoris'] > 0:
		if pain['clitoris'] > 70:
			'<b><font color="red">Your clitoris is in extreme pain.</font></b>'
		elseif pain['clitoris'] > 40:
			'Your clitoris is very sore.'
		else
			'Your clitoris hurts.'
		end
	end
	if pain['urethra'] > 0:
		if pain['urethra'] > 70:
			'<b><font color="red">Your urethra is extremely painful.</font></b>'
		elseif pain['urethra'] > 40:
			'Your urethra is very sore.'
		else
			'Your urethra hurts.'
		end
	end
	if pain['cervix'] > 0:
		if pain['cervix'] > 70:
			'<b><font color="red">Your cervix is in extreme pain.</font></b>'
		elseif pain['cervix'] > 40:
			'Your cervix is very sore.'
		else
			'Your cervix hurts.'
		end
	end
	'</td></tr></table></center>'
end

if $ARGS[0] = 'face':
	!disay image and escription for menu
	*clr
	gs 'obj_din','bodytabs'
	'<center><h1>Looks</h1></center>'
	'<center><table width="90%" cellspacing="0" cellpadding="20" valign="top"><tr>'
	'<td cellspacing="0" cellpadding="0" valign="top">'
	$img_temp = FUNC('$face_image')
	'<center><img <<$set_imgh>> src="<<$img_temp>>"></a></center>'
	killvar 'img_temp'
	if avatar_hair = 1:
		'Your hair: <<$av_hair>>.'
	else
		'<<$hair>>'
	end
	if defcurly = 0 and curly > 0: 'Your curls are good for another <<curly>> days.'
	if defcurly = 1 and straight > 0: 'Your hair should be straight for another <<straight>> days.'
	*nl

	'<<$lip>>'
	'<<$pcs_throat>>'
	'<<$skin>>'
	'<<$glaza>>'
	'<<$pcs_makeup>>.'
	'</td></tr></table></center>'
end

if $ARGS[0] = 'body':
	*clr
	gs 'obj_din','bodytabs'
	'<center><h1>Body</h1></center>'
	'<center><table width="90%" cellspacing="0" cellpadding="20" valign="top"><tr>'
	'<td cellspacing="0" cellpadding="0" valign="top">'
!!	This displays the body image; $bodimgsets[x9] is the folder name
	!some in-game script may call this to display image, so leave it be
	$img_temp = FUNC('$body_image','body')
	if $modApi_body_image ! '':
		$img_temp = $modApi_body_image
	end
	'<center><img <<$set_imgh>> src="<<$img_temp>>"></a></center>'
	if $modApi_body_image_msg = '':
		'<<$body_image_msg>>'
	else
		'<<$modApi_body_image_msg>>'
	end
	killvar 'img_temp'
	killvar 'body_image_msg'
	'</td></tr></table></center>'
end

if $ARGS[0] = 'clothes':
	*clr
	gs 'obj_din','bodytabs'
	'<center><h1>Clothes</h1></center>'
	'<center><table width="90%" cellspacing="0" cellpadding="20" valign="top"><tr>'
	'<td width="50%" cellspacing="0" cellpadding="20" valign="top">'
	!move image define to $body_image
	!display cloth
	$img_temp = FUNC('$body_image','clothes')
	if $modApi_clothes_image ! '':
		$img_temp = $modApi_clothes_image
	end
	'<center><img <<$set_imgh>> src="<<$img_temp>>"></a></center>'
	if $modApi_clothes_image_msg = '':
		'<<$body_image_msg>>'
	else
		'<<$modApi_clothes_image_msg>>'
	end
	'</td><td width="50%" cellpadding="20" valign="top">'
	!display coat
	$img_temp = FUNC('$body_image','coat')
	if $modApi_coat_image ! '':
		$img_temp = $modApi_coat_image
	end
	'<center><img <<$set_imgh>> src="<<$img_temp>>"></a></center>'
	if $modApi_coat_image_msg = '':
		'<<$body_image_msg>>'
	else
		'<<$modApi_coat_image_msg>>'
	end
	'</td></tr>'
	'</table></center>'

	killvar 'img_temp'
	killvar 'body_image_msg'
	'</td></tr></table></center>'
end

if $ARGS[0] = 'panties':
	*clr
	gs 'obj_din','bodytabs'
	'<center><h1>Panties</h1></center>'
	'<center><table width="90%" cellspacing="0" cellpadding="20" valign="top"><tr>'
	'<td cellspacing="0" cellpadding="0" valign="top">'
	$img_temp = FUNC('$body_image','panties')
	if $modApi_panties_image ! '':
		$img_temp = $modApi_panties_image
	end

	'<center><img <<$set_imgh>> src="<<$img_temp>>"></a></center>'
	if $modApi_panties_image_msg = '':
		'<<$body_image_msg>>'
	else
		'<<$modApi_panties_image_msg>>'
	end
	killvar 'img_temp'
	killvar 'body_image_msg'
	'</td></tr></table></center>'
end

if $ARGS[0] = 'bra':
	*clr
	gs 'obj_din','bodytabs'
	'<center><h1>Bra</h1></center>'
	'<center><table width="90%" cellspacing="0" cellpadding="20" valign="top"><tr>'
	'<td cellspacing="0" cellpadding="0" valign="top">'
	$img_temp = FUNC('$body_image','bra')
	if $modApi_bra_image ! '':
		$img_temp = $modApi_bra_image
	end
	'<center><img <<$set_imgh>> src="<<$img_temp>>"></a></center>'
	if $modApi_bra_image_msg = '':
		'<<$body_image_msg>>'
	else
		'<<$modApi_bra_image_msg>>'
	end
	killvar 'img_temp'
	killvar 'body_image_msg'
	'</td></tr></table></center>'
end

if $ARGS[0] = 'show_tits':
	view 'images/pc/body/tits/t<<tits>>.jpg'
end

if $ARGS[0] = 'show_body':
	$img_temp = FUNC('$body_image','body')
	view '<<$img_temp>>'
	killvar 'img_temp'
end

if $ARGS[0] = 'shoes':
	*clr
	gs 'obj_din','bodytabs'
	'<center><h1>Shoes</h1></center>'
	'<center><table width="90%" cellspacing="0" cellpadding="20" valign="top"><tr>'
	'<td cellspacing="0" cellpadding="0" valign="top">'
	$img_temp = FUNC('$body_image','shoes')
	if $modApi_shoes_image ! '':
		$img_temp = $modApi_shoes_image
	end
	'<center><img <<$set_imgh>> src="<<$img_temp>>"></a></center>'
	if $modApi_shoes_image_msg = '':
		'<<$body_image_msg>>'
	else
		'<<$modApi_shoes_image_msg>>'
	end
	killvar 'img_temp'
	killvar 'body_image_msg'
	'</td></tr></table></center>'
end

if $ARGS[0] = 'tattoos':
	*clr & cla
	gs 'obj_din','bodytabs'
	'<center><h1>Tattoos</h1></center>'
	tatcounter = 0
	'<center>'
	*pl
	if tatfce > 0:
		tatcounter = 1 & *p '<a href="exec: gs ''obj_din'', ''tattooface''">Face</a> | '
	else
		*p 'Face | '
	end
	if tatlip > 0:
		tatcounter = 1 & *p '<a href="exec: gs ''obj_din'', ''tattoolip''">Lip</a> | '
	else
		*p 'Lip | '
	end
	if tatneck > 0:
		tatcounter = 1 & *p '<a href="exec: gs ''obj_din'', ''tattooneck''">Neck</a> | '
	else
		*p 'Neck | '
	end

	if tatback > 0:
		tatcounter = 1 & *p '<a href="exec: gs ''obj_din'', ''tattooback''">Back</a> | '
	else
		*p 'Back | '
	end
	if tatlech > 0:
		tatcounter = 1 & *p '<a href="exec: gs ''obj_din'', ''tattooshoulder''">Shoulder</a> | '
	else
		*p 'Shoulder | '
	end
	if tatbrst > 0:
		tatcounter = 1 & *p '<a href="exec: gs ''obj_din'', ''tattoobreast''">Breast</a> | '
	else
		*p 'Breast | '
	end
	if tatunder > 0:
		tatcounter = 1 & *p '<a href="exec: gs ''obj_din'', ''tattoounder''">Under Breast</a> | '
	else
		*p 'Under Breast | '
	end
	if tatchst > 0:
		tatcounter = 1 & *p '<a href="exec: gs ''obj_din'', ''tattoochest''">Chest</a> | '
	else
		*p 'Chest | '
	end
	if tatside > 0:
		tatcounter = 1 & *p '<a href="exec: gs ''obj_din'', ''tattooside''">Side</a> | '
	else
		*p 'Side | '
	end
	if tatblly > 0:
		tatcounter = 1 & *p '<a href="exec: gs ''obj_din'', ''tattoobelly''">Belly</a>'
	else
		*p 'Belly'
	end
	*pl
	if tatarm > 0:
		tatcounter = 1 & *p '<a href="exec: gs ''obj_din'', ''tattooarm''">Arm</a> | '
	else
		*p 'Arm | '
	end
	if tatwrist > 0:
		tatcounter = 1 & *p '<a href="exec: gs ''obj_din'', ''tattoowrist''">Wrist</a> | '
	else
		*p 'Wrist | '
	end
	if tathand > 0:
		tatcounter = 1 & *p '<a href="exec: gs ''obj_din'', ''tattoohand''">Hand</a> | '
	else
		*p 'Hand | '
	end
	if tatleg > 0:
		tatcounter = 1 & *p '<a href="exec: gs ''obj_din'', ''tattooleg''">Leg</a> | '
	else
		*p 'Leg | '
	end
	if tatankle > 0:
		tatcounter = 1 & *p '<a href="exec: gs ''obj_din'', ''tattoofoot''">Foot</a> | '
	else
		*p 'Foot | '
	end

	if tatupb > 0:
		tatcounter = 1 & *p '<a href="exec: gs ''obj_din'', ''tattootramp''">"Tramp Stamp"</a> | '
	else
		*p 'Tramp Stamp | '
	end
	if tatass > 0:
		tatcounter = 1 & *p '<a href="exec: gs ''obj_din'', ''tattooass''">Butt</a> | '
	else
		*p 'Butt | '
	end
	if tatvag > 0:
		tatcounter = 1 & *p '<a href="exec: gs ''obj_din'', ''tattoovag''">Groin</a>'
	else
		*p 'Groin'
	end
	'</center>'
	if tatcounter = 0:
		'You have a pristine body. Not in terms of debauchery, but in terms of tattoos.'
	end
end

!!Image displays for tattoos
if $ARGS[0] = 'tattooarm':
	*clr
	gs 'obj_din', 'tattoos'
	*nl
	'<center><img <<$set_imgh>> src="images/pc/body/tattoos/arms/tatarm<<tatarm>>.jpg"></center>'
end

if $ARGS[0] = 'tattooass':
	*clr
	gs 'obj_din', 'tattoos'
	*nl
	'<center><img <<$set_imgh>> src="images/pc/body/tattoos/ass/tatass<<tatass>>.jpg"></center>'
end

if $ARGS[0] = 'tattooback':
	*clr
	gs 'obj_din', 'tattoos'
	*nl
	'<center><img <<$set_imgh>> src="images/pc/body/tattoos/back/tatback<<tatback>>.jpg"></center>'
end

if $ARGS[0] = 'tattoobelly':
	*clr
	gs 'obj_din', 'tattoos'
	*nl
	'<center><img <<$set_imgh>> src="images/pc/body/tattoos/belly/tatblly<<tatblly>>.jpg"></center>'
end

if $ARGS[0] = 'tattoobreast':
	*clr
	gs 'obj_din', 'tattoos'
	*nl
	'<center><img <<$set_imgh>> src="images/pc/body/tattoos/breasts/tatbrst<<tatbrst>>.jpg"></center>'
end

if $ARGS[0] = 'tattoochest':
	*clr
	gs 'obj_din', 'tattoos'
	*nl
	'<center><img <<$set_imgh>> src="images/pc/body/tattoos/chest/tatchst<<tatchst>>.jpg"></center>'
end

if $ARGS[0] = 'tattooface':
	*clr
	gs 'obj_din', 'tattoos'
	*nl
	'<center><img <<$set_imgh>> src="images/pc/body/tattoos/face/tatfce<<tatfce>>.jpg"></center>'
end

if $ARGS[0] = 'tattoofoot':
	*clr
	gs 'obj_din', 'tattoos'
	*nl
	'<center><img <<$set_imgh>> src="images/pc/body/tattoos/foot/tatankle<<tatankle>>.jpg"></center>'
end

if $ARGS[0] = 'tattooleg':
	*clr
	gs 'obj_din', 'tattoos'
	*nl
	'<center><img <<$set_imgh>> src="images/pc/body/tattoos/legs/tatleg<<tatleg>>.jpg"></center>'
end

if $ARGS[0] = 'tattoolip':
	*clr
	gs 'obj_din', 'tattoos'
	*nl
	'<center><img <<$set_imgh>> src="images/pc/body/tattoos/lip/tatlip<<tatlip>>.jpg"></center>'
end

if $ARGS[0] = 'tattooneck':
	*clr
	gs 'obj_din', 'tattoos'
	*nl
	'<center><img <<$set_imgh>> src="images/pc/body/tattoos/neck/tatnck<<tatneck>>.jpg"></center>'
end

if $ARGS[0] = 'tattoovag':
	*clr
	gs 'obj_din', 'tattoos'
	*nl
	'<center><img <<$set_imgh>> src="images/pc/body/tattoos/pubic/tatvag<<tatvag>>.jpg"></center>'
end

if $ARGS[0] = 'tattooshoulder':
	*clr
	gs 'obj_din', 'tattoos'
	*nl
	'<center><img <<$set_imgh>> src="images/pc/body/tattoos/shoulder/tatshldr<<tatlech>>.jpg"></center>'
end

if $ARGS[0] = 'tattooside':
	*clr
	gs 'obj_din', 'tattoos'
	*nl
	'<center><img <<$set_imgh>> src="images/pc/body/tattoos/side/tatside<<tatside>>.jpg"></center>'
end

if $ARGS[0] = 'tattootramp':
	*clr
	gs 'obj_din', 'tattoos'
	*nl
	'<center><img <<$set_imgh>> src="images/pc/body/tattoos/trampstamp/tatlowbck<<tatupb>>.jpg"></center>'
end

if $ARGS[0] = 'tattoounder':
	*clr
	gs 'obj_din', 'tattoos'
	*nl
	'<center><img <<$set_imgh>> src="images/pc/body/tattoos/underbreast/tatundbreast<<tatunder>>.jpg"></center>'
end

if $ARGS[0] = 'tattoowrist':
	*clr
	gs 'obj_din', 'tattoos'
	*nl
	'<center><img <<$set_imgh>> src="images/pc/body/tattoos/wrists/tatwrst<<tatwrist>>.jpg"></center>'
end

if $ARGS[0] = 'tattoohand':
	*clr
	gs 'obj_din', 'tattoos'
	*nl
	'<center><img <<$set_imgh>> src="images/pc/body/tattoos/hand/tathnd<<tathand>>.jpg"></center>'
end

if $ARGS[0] = 'piercing':
	*clr & cla
	gs 'obj_din','bodytabs'
	'<center><h1>Piercings</h1></center>'
	'<center>'
	if pirsA = 0 and pirsB = 0 and pirsC = 0 and pirsD = 0 and pirsE = 0 and pirsF = 0 and pirsN = 0 and pirsG = 0 and pirsGL = 0:
		'You have no piercings.'
	elseif (pirsA = 10000 or pirsA = 0) and (pirsB = 10000 or pirsB = 0) and (pirsC = 10000 or pirsC = 0) and (pirsD = 10000 or pirsD = 0) and (pirsE = 10000 or pirsE = 0) and (pirsF = 10000 or pirsF = 0) and (pirsN = 10000 or pirsN = 0) and (pirsG = 10000 or pirsG = 0) and (pirsGL = 10000 or pirsGL = 0):
		'You are not wearing any piercings'
	else
		*pl
		if pirsA > 0 and pirsA < 10000:
			*p '<a href="exec:gs ''obj_din'', ''pirsA''">Tongue</a> | '
		else
			*p 'Tongue | '
		end
		if pirsB > 0 and pirsB < 10000:
			*p '<a href="exec:gs ''obj_din'', ''pirsB''">Lips</a> | '
		else
			*p 'lips | '
		end
		if pirsC > 0 and pirsC < 10000:
			*p '<a href="exec:gs ''obj_din'', ''pirsC''">Ears</a> | '
		else
			*p 'Ears | '
		end
		if pirsD > 0 and pirsD < 10000:
			*p '<a href="exec:gs ''obj_din'', ''pirsD''">Nose</a> | '
		else
			*p 'Nose | '
		end
		if pirsE > 0 and pirsE < 10000:
			*p '<a href="exec:gs ''obj_din'', ''pirsE''">Eyebrows</a> | '
		else
			*p 'Eyebrows | '
		end
		if pirsF > 0 and pirsF < 10000:
			*p '<a href="exec:gs ''obj_din'', ''pirsF''">Nipples</a> | '
		else
			*p 'Nipples | '
		end
		if pirsN > 0 and pirsN < 10000:
			*p '<a href="exec:gs ''obj_din'', ''pirsN''">Navel</a> | '
		else
			*p 'Navel | '
		end
		if pirsG > 0 and pirsG < 10000:
			*p '<a href="exec:gs ''obj_din'', ''pirsG''">Pussy</a>'
		else
			*p 'Pussy'
		end
	end
	'</center>'
end

!! piercing images.
if $ARGS[0] = 'pirsA':
	*clr
	gs 'obj_din', 'piercing'
	*nl
	'<center><img <<$set_imgh>> src="images/pc/body/piercings/a<<pirsA>>.jpg"></center>'
end
if $ARGS[0] = 'pirsB':
	*clr
	gs 'obj_din', 'piercing'
	*nl
	'<center><img <<$set_imgh>> src="images/pc/body/piercings/b<<pirsB>>.jpg"></center>'
end
if $ARGS[0] = 'pirsC':
	*clr
	gs 'obj_din', 'piercing'
	*nl
	'<center><img <<$set_imgh>> src="images/pc/body/piercings/c<<pirsC>>.jpg"></center>'
end
if $ARGS[0] = 'pirsD':
	*clr
	gs 'obj_din', 'piercing'
	*nl
	'<center><img <<$set_imgh>> src="images/pc/body/piercings/d<<pirsD>>.jpg"></center>'
end
if $ARGS[0] = 'pirsE':
	*clr
	gs 'obj_din', 'piercing'
	*nl
	'<center><img <<$set_imgh>> src="images/pc/body/piercings/e<<pirsE>>.jpg"></center>'
end
if $ARGS[0] = 'pirsF':
	*clr
	gs 'obj_din', 'piercing'
	*nl
	'<center><img <<$set_imgh>> src="images/pc/body/piercings/f<<pirsF>>.jpg"></center>'
end
if $ARGS[0] = 'pirsN':
	*clr
	gs 'obj_din', 'piercing'
	*nl
	'<center><img <<$set_imgh>> src="images/pc/body/piercings/n<<pirsN>>.jpg"></center>'
end
if $ARGS[0] = 'pirsG':
	*clr
	gs 'obj_din', 'piercing'
	*nl
	'<center><img <<$set_imgh>> src="images/pc/body/piercings/g<<pirsG>>.jpg"></center>'
end

if $ARGS[0] = 'records': gt 'journal', 'records'

if $ARGS[0] = 'emergency':
	'<center><b>YOU JUST had to use emergency exit, this is only for use when you get a BLANK SCREEN.</b></center>'
	*nl
	'<center><b>DO NOT use this option without a good reason, doing so can cause instability and could damage your save game.</b></center>'
	*nl
	'<center><b>If this was the result of a bug in the game, then please report the issue and when / how it was trigger with as much info as you can on the tfgamesite.com forum.</b></center>'
	*nl

	cla
	if StoryLine = 1:act 'Go to Pavlovsk':gt 'pavResidential'
	act 'Go to City Residental':gt 'street'
	if $loc ! '' and $metka ! '':
		act 'Cancel':gt $loc, $metka
	elseif $loc ! '':
		act 'Cancel':gt $loc
	elseif $curloc ! '':
		act 'Cancel':gt $curloc
	end
end

!!quick time changes from the object menu
if $ARGS[0] = '-1 Hour':
	hour -= 1
	gs 'stat'
	gt $loc, $metka
end

if $ARGS[0] = '+1 Hour':
	hour += 1
	gs 'stat'
	gt $loc, $metka
end

! remnants of old menu for testing
if $ARGS[0] = 'old':
	killobj
	oldobjmenu = 1
	! addobj '<center><font color = green>Character</font></center>'
	! addobj '<center>Skills</center>'
	! addobj '<center>Statistics</center>'
	! addobj '<center>Pain</center>'
	! addobj '<center>Traits</center>'
	! addobj '<center>Renown</center>'
	! if pcs_magik > 0:addobj '<center>Magic</center>'
	! addobj '<center>Face</center>'
	! addobj '<center>Body</center>'
	! addobj '<center>Clothing</center>'
	! addobj '<center>Panties</center>'
	! addobj '<center>Shoes</center>'
	! addobj '<center>Tattoos</center>'
	! addobj '<center>Piercing</center>'
	! addobj '<center>Phone</center>'
	! if bag > 0:addobj '<center>Purse</center>'
	! addobj '<center>Notebook</center>'
	addobj '<center>Refresh</center>'
	!addobj '<center>Settings</center>'
	!addobj '<center>Cheats</center>'
	if cheatConsole = 0: addobj '<center>Console</center>'
	! if disable_autosave = 1:
		! addobj '<center><font color = red><b>[</b></font>Autosave<font color = red><b>]</b></font></center>'
	! else
		! addobj '<center><font color = green><b>[</b></font>Autosave<font color = green><b>]</b></font></center>'
	! end
	if cheatTime = 1:
		addobj '<center>-1 Hour</center>'
		addobj '<center>+1 Hour</center>'
	end
	addobj ''
	addobj '<center><font color = red>Emergency</font></center>'
	addobj ''
	if debug_warning_closed = 0:
		addobj '<center>This window is for debug only and can be safely closed.</center>'
		addobj '<center>Remove debug info</center>'
	end
end

if $ARGS[0] = 'wait':
	cla
	$waitStr = input ("How long would you like to wait?<br>(maximum 120 minutes, leave blank or press cancel to wait 15 minutes)<br>Alternatively, input a time to wait until (hh::mm). It is <<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>> now.")

	waiting = 0
	if $waitStr = '':
		waiting = 15
	elseif isnum($waitStr) = 0:
		waiting = val(mid($waitStr, 1,2)) * 60 + val(mid($waitStr, 4,2)) - minut - hour * 60
	else
		waiting = val($waitStr)
	end
	if waiting > 0 and waiting <= 120:
		minut += waiting
	else
		'Invalid time.'
	end
	gs 'stat'
	gt $loc, $metka
end

if $ARGS[0] = 'rest':
	cla
	waiting = input ("How long would you like to rest?<br>(Default 15 minutes, maximum 120 minutes)")

	if waiting = '':
		minut += 15
	elseif waiting > 0 and waiting <= 120:
		minut += waiting
		pcs_mood += 10
		if pcs_sleep < 90 and waiting >= 60:
			pcs_sleep += 10
		end
	elseif waiting <= 0 or waiting > 120:
		'Invalid time.'
	end
	gs 'stat'
	gt $loc, $metka
end

--- obj_din ---------------------------------
