2 Revize 5a024dd190 ... 94e836d2e4

Autor SHA1 Zpráva Datum
  Lusticon 94e836d2e4 [added] cheat menu var cleanup před 5 měsíci
  Lusticon c46dcfdaf4 [changed] text display layout před 5 měsíci

+ 48 - 60
locations/Cheatmenu_din.qsrc

@@ -1,6 +1,9 @@
 # Cheatmenu_din
 # Cheatmenu_din
 if settingmode = 0: settingmode = 69
 if settingmode = 0: settingmode = 69
 menu_off = 1
 menu_off = 1
+$cheatmenu['table_start'] = '<center><table width="80%" cellspacing="0" cellpadding="20" valign="top"><tr><td width="500" cellspacing="0" cellpadding="20" valign="top">'
+$cheatmenu['table_second'] = '</td><td width="500" cellspacing="0" cellpadding="20" valign="top">'
+$cheatmenu['table_end'] = '</td></tr></table></center>'
 cla & *clr
 cla & *clr
 
 
 $cheatmenu['empty'] = {
 $cheatmenu['empty'] = {
@@ -29,8 +32,7 @@ $cheatmenu['setting'] = {
 	if $theme['name'] = 'Custom': gs 'themes', 'check_custom_vars' & gs 'themes', 'set_custom' & gs '$menu_obnovit'
 	if $theme['name'] = 'Custom': gs 'themes', 'check_custom_vars' & gs 'themes', 'set_custom' & gs '$menu_obnovit'
 	gs 'obj_din', 'settingtabs'
 	gs 'obj_din', 'settingtabs'
 	'<center><h1>Gameplay Settings</h1></center>'
 	'<center><h1>Gameplay Settings</h1></center>'
-	'<center><table cellspacing="0" cellpadding="20" valign="top"><tr>'
-	'<td cellspacing="0" cellpadding="20" valign="top">'
+	$cheatmenu['table_start']
 
 
 	'AutoSave: <a href="exec:									disable_autosave					= iif(disable_autosave, 0, 1)					& dynamic $cheatmenu[$cheatmenu[''this_menu'']]"><<iif(disable_autosave						, ''Disabled'', ''Enabled'')>></a>'
 	'AutoSave: <a href="exec:									disable_autosave					= iif(disable_autosave, 0, 1)					& dynamic $cheatmenu[$cheatmenu[''this_menu'']]"><<iif(disable_autosave						, ''Disabled'', ''Enabled'')>></a>'
 	'Music: <a href="exec:												dynamic $cheatmenu[''music'']												& dynamic $cheatmenu[$cheatmenu[''this_menu'']]"><<iif(music_on								, ''Enabled'', ''Disabled'')>></a>'
 	'Music: <a href="exec:												dynamic $cheatmenu[''music'']												& dynamic $cheatmenu[$cheatmenu[''this_menu'']]"><<iif(music_on								, ''Enabled'', ''Disabled'')>></a>'
@@ -65,7 +67,7 @@ $cheatmenu['setting'] = {
 	'<li>set to ' + iif($temp_diff = 'hardcore', 'hardcore', '<a href="exec:		FUNC(''_difficulty'',''setdifficulty'',''hardcore'')		& dynamic $cheatmenu[$cheatmenu[''this_menu'']]">hardcore</a>') + '</li>'
 	'<li>set to ' + iif($temp_diff = 'hardcore', 'hardcore', '<a href="exec:		FUNC(''_difficulty'',''setdifficulty'',''hardcore'')		& dynamic $cheatmenu[$cheatmenu[''this_menu'']]">hardcore</a>') + '</li>'
 	'</ul>'
 	'</ul>'
 	killvar '$temp_diff'
 	killvar '$temp_diff'
-	'</tr></table></b></center>'
+	$cheatmenu['table_end']
 }
 }
 
 
 !!----------------------------------------------------------------------------------------------------------------------------
 !!----------------------------------------------------------------------------------------------------------------------------
@@ -235,8 +237,7 @@ $cheatmenu['index'] = {
 	cla & *clr
 	cla & *clr
 	gs 'obj_din', 'cheattabs'
 	gs 'obj_din', 'cheattabs'
 	'<center><h1>Cheat Menu - Index</h1></center>'
 	'<center><h1>Cheat Menu - Index</h1></center>'
-	'<center><table cellspacing="0" cellpadding="20" valign="top"><tr>'
-	'<td width="50%" cellspacing="0" cellpadding="20" valign="top">'
+	$cheatmenu['table_start']
 	'<a href="exec:dynamic $cheatmenu[''dynamic'']">Dynamic Input Command</a>'
 	'<a href="exec:dynamic $cheatmenu[''dynamic'']">Dynamic Input Command</a>'
 	'<a href="exec:gs ''fertility'',''cum_arrcheat''">OOX Debug</a>'
 	'<a href="exec:gs ''fertility'',''cum_arrcheat''">OOX Debug</a>'
 	'Right now <<$week[week]>> <<$month>> <<day>> <<year>> <<hour>>:<<minut>>'
 	'Right now <<$week[week]>> <<$month>> <<day>> <<year>> <<hour>>:<<minut>>'
@@ -255,7 +256,7 @@ $cheatmenu['index'] = {
 	if blackmailQW['stage'] ! 0: 'Purge the "Blackmailer" questline: <a href="exec: gs ''blackmailer'', ''purge_all'' & dynamic $cheatmenu[$cheatmenu[''this_menu'']]">Permanently reset the entire questline!</a>'
 	if blackmailQW['stage'] ! 0: 'Purge the "Blackmailer" questline: <a href="exec: gs ''blackmailer'', ''purge_all'' & dynamic $cheatmenu[$cheatmenu[''this_menu'']]">Permanently reset the entire questline!</a>'
 	*nl
 	*nl
 	'<a href="exec:dynamic $cheatmenu[''vartracker'']"><b>Variable tracker</b></a>'
 	'<a href="exec:dynamic $cheatmenu[''vartracker'']"><b>Variable tracker</b></a>'
-	'</tr></table></b></center>'
+	$cheatmenu['table_end']
 }
 }
 
 
 !!----------------------------------------------------------------------------------------------------------------------------
 !!----------------------------------------------------------------------------------------------------------------------------
@@ -369,8 +370,7 @@ $cheatmenu['permanent'] = {
 
 
 	'<center><h1>Cheat Menu - Recurrent Cheats</h1></center>'
 	'<center><h1>Cheat Menu - Recurrent Cheats</h1></center>'
 	'<center><font color="red"><b>WARNING!</b></font>: Disabling states may cause some events not to trigger. Use at your own risk!</center>'
 	'<center><font color="red"><b>WARNING!</b></font>: Disabling states may cause some events not to trigger. Use at your own risk!</center>'
-	'<center><table cellspacing="0" cellpadding="20" valign="top"><tr>'
-	'<td width="90%" cellspacing="0" cellpadding="20" valign="top">'
+	$cheatmenu['table_start']
 
 
 	'Willpower cost always zero: <a href="exec:					cheatVars[''willpower'']			= iif(cheatVars[''willpower''], 0, 1)				& dynamic $cheatmenu[$cheatmenu[''this_menu'']]"><<iif(cheatVars[''willpower'']				, ''Enabled'', ''Disabled'')>></a>'
 	'Willpower cost always zero: <a href="exec:					cheatVars[''willpower'']			= iif(cheatVars[''willpower''], 0, 1)				& dynamic $cheatmenu[$cheatmenu[''this_menu'']]"><<iif(cheatVars[''willpower'']				, ''Enabled'', ''Disabled'')>></a>'
 	'Infinite willpower: <a href="exec:							cheatVars[''inf_willpower'']		= iif(cheatVars[''inf_willpower''], 0, 1)			& dynamic $cheatmenu[$cheatmenu[''this_menu'']]"><<iif(cheatVars[''inf_willpower'']			, ''Enabled'', ''Disabled'')>></a>'
 	'Infinite willpower: <a href="exec:							cheatVars[''inf_willpower'']		= iif(cheatVars[''inf_willpower''], 0, 1)			& dynamic $cheatmenu[$cheatmenu[''this_menu'']]"><<iif(cheatVars[''inf_willpower'']			, ''Enabled'', ''Disabled'')>></a>'
@@ -417,7 +417,7 @@ $cheatmenu['permanent'] = {
 
 
 	*nl
 	*nl
 	'<font color="red"><b>WARNING!</b></font>: Disabling states may cause some events not to trigger. Use at your own risk!'
 	'<font color="red"><b>WARNING!</b></font>: Disabling states may cause some events not to trigger. Use at your own risk!'
-	'</tr></table></b></center>'
+	$cheatmenu['table_end']
 }
 }
 
 
 !!----------------------------------------------------------------------------------------------------------------------------
 !!----------------------------------------------------------------------------------------------------------------------------
@@ -526,8 +526,7 @@ $cheatmenu['state'] = {
 	'<center><h1>Cheat Menu - Character State Changes</h1></center>'
 	'<center><h1>Cheat Menu - Character State Changes</h1></center>'
 	'<center><font color="red"><b>WARNING!</b></font>: Using cheats can cause bugs and break your save. Cheats manipulating pregnancy or the menstrual cycle are'
 	'<center><font color="red"><b>WARNING!</b></font>: Using cheats can cause bugs and break your save. Cheats manipulating pregnancy or the menstrual cycle are'
 	'especially dangerous unless you know what you''re doing. When reporting bugs, please mention any cheats you used.</center>'
 	'especially dangerous unless you know what you''re doing. When reporting bugs, please mention any cheats you used.</center>'
-	'<center><table cellspacing="0" cellpadding="20" valign="top"><tr>'
-	'<td width="50%" cellspacing="0" cellpadding="20" valign="top">'
+	$cheatmenu['table_start']
 	'Set alcohol levels:'
 	'Set alcohol levels:'
 	'<a href="exec:alko = 0 & dynamic $cheatmenu[''state''] & gs ''stat''">Sober</a> <a href="exec:alko = 2 & dynamic $cheatmenu[''state''] & gs ''stat''">Tipsy</a> <a href="exec:alko = 4 & dynamic $cheatmenu[''state''] & gs ''stat''">Drunk</a> <a href="exec:alko = 7 & dynamic $cheatmenu[''state''] & gs ''stat''">Wasted</a> <a href="exec:alko = 11 & dynamic $cheatmenu[''state''] & gs ''stat''">Barely coherent</a>'
 	'<a href="exec:alko = 0 & dynamic $cheatmenu[''state''] & gs ''stat''">Sober</a> <a href="exec:alko = 2 & dynamic $cheatmenu[''state''] & gs ''stat''">Tipsy</a> <a href="exec:alko = 4 & dynamic $cheatmenu[''state''] & gs ''stat''">Drunk</a> <a href="exec:alko = 7 & dynamic $cheatmenu[''state''] & gs ''stat''">Wasted</a> <a href="exec:alko = 11 & dynamic $cheatmenu[''state''] & gs ''stat''">Barely coherent</a>'
 	*nl
 	*nl
@@ -593,7 +592,7 @@ $cheatmenu['state'] = {
 	end
 	end
 	*nl
 	*nl
 	'<a href="exec:dynamic $cheatmenu[''therapist_reset'']">Reset therapist states</a>'
 	'<a href="exec:dynamic $cheatmenu[''therapist_reset'']">Reset therapist states</a>'
-	'</tr></table></b></center>'
+	$cheatmenu['table_end']
 }
 }
 
 
 $cheatmenu['set_preg_body'] = {
 $cheatmenu['set_preg_body'] = {
@@ -617,8 +616,7 @@ $cheatmenu['bodyMod'] = {
 	act 'Return to last menu': dynamic $cheatmenu['state']
 	act 'Return to last menu': dynamic $cheatmenu['state']
 
 
 	'<center><h1>Cheat Menu - Body Modification</h1></center>'
 	'<center><h1>Cheat Menu - Body Modification</h1></center>'
-	'<center><table cellspacing="0" cellpadding="20" valign="top"><tr>'
-	'<td width="50%" cellspacing="0" cellpadding="20" valign="top">'
+	$cheatmenu['table_start']
 	'<center><b><font color="red">WARNING!</font></b></center>'
 	'<center><b><font color="red">WARNING!</font></b></center>'
 	'Changing body shape does not resize clothes.'
 	'Changing body shape does not resize clothes.'
 	'May cause adverse interactions, use at your own risk!'
 	'May cause adverse interactions, use at your own risk!'
@@ -699,7 +697,7 @@ $cheatmenu['bodyMod'] = {
 		killvar 'bs_temp_bs_class'
 		killvar 'bs_temp_bs_class'
 	end
 	end
 
 
-	'</tr></table></b></center>'
+	$cheatmenu['table_end']
 }
 }
 
 
 !!----------------------------------------------------------------------------------------------------------------------------
 !!----------------------------------------------------------------------------------------------------------------------------
@@ -781,8 +779,7 @@ $cheatmenu['looks'] = {
 	'<center><h1>Cheat Menu - Character Appearance</h1></center>'
 	'<center><h1>Cheat Menu - Character Appearance</h1></center>'
 	'<center><font color="red"><b>WARNING!</b></font>: Using cheats can cause bugs and break your save, use them with care. When reporting bugs, please mention any cheats you used.</center>'
 	'<center><font color="red"><b>WARNING!</b></font>: Using cheats can cause bugs and break your save, use them with care. When reporting bugs, please mention any cheats you used.</center>'
 	*nl
 	*nl
-	'<center><table  width="90%" cellspacing="0" cellpadding="0" valign="top">'
-	'<tr><td width="33%" cellpadding="20" valign="top">'
+	$cheatmenu['table_start']
 	'<<$pcs_firstname>> <<$pcs_lastname>> (<<$pcs_nickname>>). <a href="exec:dynamic $cheatmenu[''rename'']">Rename</a>'
 	'<<$pcs_firstname>> <<$pcs_lastname>> (<<$pcs_nickname>>). <a href="exec:dynamic $cheatmenu[''rename'']">Rename</a>'
 
 
 
 
@@ -860,7 +857,7 @@ $cheatmenu['looks'] = {
 		'<a href="exec:dounsplkil = 2 & gs ''body'', ''hardreset''">Hard Reset body shape</a>'
 		'<a href="exec:dounsplkil = 2 & gs ''body'', ''hardreset''">Hard Reset body shape</a>'
 	end
 	end
 
 
-	'</td><td width="33%" cellpadding="20" valign="top">'
+	*nl
 	'<<$pcs_vag>>'
 	'<<$pcs_vag>>'
 	if pcs_vag > 0:'<a href="exec:pcs_vag = 0 & dynamic $cheatmenu[''looks'']">Reinstate virginity</a>'
 	if pcs_vag > 0:'<a href="exec:pcs_vag = 0 & dynamic $cheatmenu[''looks'']">Reinstate virginity</a>'
 	if stat['think_virgin'] < 1:'<a href="exec:stat[''vaginal''] = 0 & stat[''vaginal_fist''] = 0 & stat[''vaginal_dildo''] = 0 & stat[''vaginal_strap''] = 0 & dynamic $cheatmenu[''looks'']">Make Sveta believe she is a virgin again (resets the related sex stats)</a>'
 	if stat['think_virgin'] < 1:'<a href="exec:stat[''vaginal''] = 0 & stat[''vaginal_fist''] = 0 & stat[''vaginal_dildo''] = 0 & stat[''vaginal_strap''] = 0 & dynamic $cheatmenu[''looks'']">Make Sveta believe she is a virgin again (resets the related sex stats)</a>'
@@ -894,8 +891,7 @@ $cheatmenu['looks'] = {
 	end
 	end
 	*nl
 	*nl
 	'<a href="exec:dynamic $cheatmenu[''tatoo'']">Tattoo removal</a>'
 	'<a href="exec:dynamic $cheatmenu[''tatoo'']">Tattoo removal</a>'
-
-	'</td><td width="33%" cellpadding="20" valign="top">'
+	*nl
 	'<<$hair>>'
 	'<<$hair>>'
 	if pcs_haircol = 0:
 	if pcs_haircol = 0:
 		'Your hair is now (prev) <<$pcs_haircol>> <a href="exec:pcs_haircol +=1 & dynamic $cheatmenu[''looks''] & nathcol = pcs_haircol">(next)</a>'
 		'Your hair is now (prev) <<$pcs_haircol>> <a href="exec:pcs_haircol +=1 & dynamic $cheatmenu[''looks''] & nathcol = pcs_haircol">(next)</a>'
@@ -934,7 +930,7 @@ $cheatmenu['looks'] = {
 	elseif pcs_eyecol >= 3:
 	elseif pcs_eyecol >= 3:
 		'Your eyes are now <a href="exec:pcs_eyecol -=1 & dynamic $cheatmenu[''looks'']">(prev)</a> <<$pcs_eyecol>> (next)'
 		'Your eyes are now <a href="exec:pcs_eyecol -=1 & dynamic $cheatmenu[''looks'']">(prev)</a> <<$pcs_eyecol>> (next)'
 	end
 	end
-	'</td></tr></table></center>'
+	$cheatmenu['table_end']
 }
 }
 
 
 $cheatmenu['change_avatar_path'] = {
 $cheatmenu['change_avatar_path'] = {
@@ -1277,8 +1273,7 @@ $cheatmenu['stats'] = {
 	'<center><h1>Cheat Menu - Attributes and Skills</h1></center>'
 	'<center><h1>Cheat Menu - Attributes and Skills</h1></center>'
 	'<center><font color="red"><b>WARNING!</b></font>: Using cheats can cause bugs and break your save, use them with care. When reporting bugs, please mention any cheats you used.</center>'
 	'<center><font color="red"><b>WARNING!</b></font>: Using cheats can cause bugs and break your save, use them with care. When reporting bugs, please mention any cheats you used.</center>'
 	*nl
 	*nl
-	'<center><table  width="90%" cellspacing="0" cellpadding="0" valign="top">'
-	'<tr><td width="50%" cellpadding="10" valign="top">'
+	$cheatmenu['table_start']
 	*pl'<b>Attributes</b> (values 0 - 100):'
 	*pl'<b>Attributes</b> (values 0 - 100):'
 	*pl '<a href="exec:dynamic $cheatmenu[''setAttrs''], 100" >Max Attributes</a>    <a href="exec:dynamic $cheatmenu[''setAttrs''], 0" >Min Attributes</a>'
 	*pl '<a href="exec:dynamic $cheatmenu[''setAttrs''], 100" >Max Attributes</a>    <a href="exec:dynamic $cheatmenu[''setAttrs''], 0" >Min Attributes</a>'
 	*p 'Strength (<<stren_lvl>>): ' & dynamic $cheatmenu['printStatLinks'], 'stren', 'Strength'
 	*p 'Strength (<<stren_lvl>>): ' & dynamic $cheatmenu['printStatLinks'], 'stren', 'Strength'
@@ -1335,7 +1330,7 @@ $cheatmenu['stats'] = {
 	*p 'Pool (<<pool_lvl>>) - Total (<<pcs_pool>>): ' & dynamic $cheatmenu['printStatLinks'], 'pool', 'Pool'
 	*p 'Pool (<<pool_lvl>>) - Total (<<pcs_pool>>): ' & dynamic $cheatmenu['printStatLinks'], 'pool', 'Pool'
 	*p 'Heels (<<pcs_heels>>) - Total (<<pcs_heels>>): ' & dynamic $cheatmenu['printStatLinks'], 'heels', 'Heels'
 	*p 'Heels (<<pcs_heels>>) - Total (<<pcs_heels>>): ' & dynamic $cheatmenu['printStatLinks'], 'heels', 'Heels'
 	if $start_type[1] ! 'nomagic': *p 'Spell Casting (<<splcstng_lvl>>) - Total (<<pcs_splcstng>>): ' & dynamic $cheatmenu['printStatLinks'], 'splcstng', 'Spellcasting'
 	if $start_type[1] ! 'nomagic': *p 'Spell Casting (<<splcstng_lvl>>) - Total (<<pcs_splcstng>>): ' & dynamic $cheatmenu['printStatLinks'], 'splcstng', 'Spellcasting'
-	'</td><td width="50%" cellpadding="10" valign="top">'
+	*nl
 	*pl'<b>Combat:</b>'
 	*pl'<b>Combat:</b>'
 	*p 'Jabs (<<jab_lvl>>)- Total (<<pcs_jab>>): ' & dynamic $cheatmenu['printStatLinks'], 'jab', 'Jabs'
 	*p 'Jabs (<<jab_lvl>>)- Total (<<pcs_jab>>): ' & dynamic $cheatmenu['printStatLinks'], 'jab', 'Jabs'
 	*p 'Power Strikes (<<punch_lvl>>) - Total (<<pcs_punch>>): ' & dynamic $cheatmenu['printStatLinks'], 'punch', 'Power Strikes'
 	*p 'Power Strikes (<<punch_lvl>>) - Total (<<pcs_punch>>): ' & dynamic $cheatmenu['printStatLinks'], 'punch', 'Power Strikes'
@@ -1371,7 +1366,7 @@ $cheatmenu['stats'] = {
 	*p 'Modeling (<<mdlng_lvl>>) - Total (<<pcs_mdlng>>): ' & dynamic $cheatmenu['printStatLinks'], 'mdlng', 'Modeling'
 	*p 'Modeling (<<mdlng_lvl>>) - Total (<<pcs_mdlng>>): ' & dynamic $cheatmenu['printStatLinks'], 'mdlng', 'Modeling'
 	*p 'Medicine (<<medcn_lvl>>) - Total (<<pcs_medcn>>): ' & dynamic $cheatmenu['printStatLinks'], 'medcn', 'Medicine'
 	*p 'Medicine (<<medcn_lvl>>) - Total (<<pcs_medcn>>): ' & dynamic $cheatmenu['printStatLinks'], 'medcn', 'Medicine'
 	*p 'Cleaning (<<cleaning_lvl>>) - Total (<<pcs_cleaning>>): ' & dynamic $cheatmenu['printStatLinks'], 'cleaning', 'Cleaning'
 	*p 'Cleaning (<<cleaning_lvl>>) - Total (<<pcs_cleaning>>): ' & dynamic $cheatmenu['printStatLinks'], 'cleaning', 'Cleaning'
-	'</tr></table></b></center>'
+	$cheatmenu['table_end']
 }
 }
 
 
 !!----------------------------------------------------------------------------------------------------------------------------
 !!----------------------------------------------------------------------------------------------------------------------------
@@ -1385,8 +1380,7 @@ $cheatmenu['reputation'] = {
 	'<center><h1>Cheat Menu - Relationships and Renown</h1></center>'
 	'<center><h1>Cheat Menu - Relationships and Renown</h1></center>'
 	'<center>Relationship values are from 0 - 100.</center>'
 	'<center>Relationship values are from 0 - 100.</center>'
 	'<center>If they exceed this limit they will be reset overnight.</center>'
 	'<center>If they exceed this limit they will be reset overnight.</center>'
-	'<center><table  width="90%" cellspacing="0" cellpadding="0" valign="top">'
-	'<tr><td width="50%" cellpadding="10" valign="top">'
+	$cheatmenu['table_start']
 	*nl
 	*nl
 	'Relationships in Pavlovsk'
 	'Relationships in Pavlovsk'
 	*nl
 	*nl
@@ -1525,11 +1519,7 @@ $cheatmenu['reputation'] = {
 			'<<$npc_firstname[''A138'']>> <<$npc_lastname[''A138'']>>: <<npc_rel[''A138'']>>  <a href="exec:npc_rel[''A138''] += 10 & dynamic $cheatmenu[''reputation'']">+10</a> <a href="exec:npc_rel[''A138''] -= 10 & dynamic $cheatmenu[''reputation'']">-10</a>'
 			'<<$npc_firstname[''A138'']>> <<$npc_lastname[''A138'']>>: <<npc_rel[''A138'']>>  <a href="exec:npc_rel[''A138''] += 10 & dynamic $cheatmenu[''reputation'']">+10</a> <a href="exec:npc_rel[''A138''] -= 10 & dynamic $cheatmenu[''reputation'']">-10</a>'
 		end
 		end
 	end
 	end
-	*nl
-	'<font color="blue"><b>Nicholas'' Family</b></font>'
-	'<a href="exec:gt ''nichUtil'', ''debug''">Storyline Debug Menu</a>'
-	'</td><td width="50%" cellpadding="10" valign="top">'
-	*nl
+	$cheatmenu['table_second']
 	'Miscellaneous relationships'
 	'Miscellaneous relationships'
 	*nl
 	*nl
 	'<font color="blue"><b>Others</b></font>'
 	'<font color="blue"><b>Others</b></font>'
@@ -1585,6 +1575,9 @@ $cheatmenu['reputation'] = {
 			'Martin: <<npc_rel[''A216'']>>	<a href="exec:npc_rel[''A216''] += 10 & dynamic $cheatmenu[''reputation'']">+10</a> <a href="exec:npc_rel[''A216''] -= 10 & dynamic $cheatmenu[''reputation'']">-10</a>'
 			'Martin: <<npc_rel[''A216'']>>	<a href="exec:npc_rel[''A216''] += 10 & dynamic $cheatmenu[''reputation'']">+10</a> <a href="exec:npc_rel[''A216''] -= 10 & dynamic $cheatmenu[''reputation'']">-10</a>'
 		end
 		end
 	end
 	end
+	*nl
+	'<font color="blue"><b>Nicholas'' Family</b></font>'
+	'<a href="exec:gt ''nichUtil'', ''debug''">Storyline Debug Menu</a>'
 
 
 	if pcs_lovers[0] = 1:
 	if pcs_lovers[0] = 1:
 		*nl
 		*nl
@@ -1675,7 +1668,7 @@ $cheatmenu['reputation'] = {
 			'You''ve been expelled from school. <a href="exec:SchoolBlock = 0 & schoolPredupr = 0 & schoolprogul = 0 & pcs_grades = 50 & dynamic $cheatmenu[''reputation'']">Clear</a>.'
 			'You''ve been expelled from school. <a href="exec:SchoolBlock = 0 & schoolPredupr = 0 & schoolprogul = 0 & pcs_grades = 50 & dynamic $cheatmenu[''reputation'']">Clear</a>.'
 		end
 		end
 	end
 	end
-	'</td></tr></table></center>'
+	$cheatmenu['table_end']
 }
 }
 
 
 !!----------------------------------------------------------------------------------------------------------------------------
 !!----------------------------------------------------------------------------------------------------------------------------
@@ -1687,9 +1680,7 @@ $cheatmenu['documents'] = {
 	cla & *clr
 	cla & *clr
 	gs 'obj_din', 'cheattabs'
 	gs 'obj_din', 'cheattabs'
 	'<center><h1>Cheat Menu - Diplomas, Licences, and Certificates</h1></center>'
 	'<center><h1>Cheat Menu - Diplomas, Licences, and Certificates</h1></center>'
-	'<center><table cellspacing="0" cellpadding="20" valign="top"><tr>'
-	'<td width="33%" cellspacing="0" cellpadding="20" valign="top">'
-	'<td width="50%" cellspacing="0" cellpadding="20" valign="top">'
+	$cheatmenu['table_start']
 	if SchoolAtestat = 0: '<a href="exec:SchoolAtestat = 1 & dynamic $cheatmenu[''documents'']">Get School Certificate</a>'
 	if SchoolAtestat = 0: '<a href="exec:SchoolAtestat = 1 & dynamic $cheatmenu[''documents'']">Get School Certificate</a>'
 	if mid($start_type,1,2) = 'sg' and SchoolAtestat = 0: '<font color="red"><b>WARNING!</b></font>: This will end your school year!' & *nl
 	if mid($start_type,1,2) = 'sg' and SchoolAtestat = 0: '<font color="red"><b>WARNING!</b></font>: This will end your school year!' & *nl
 	if SchoolAtestat = 1:'Already have a School Certificate'
 	if SchoolAtestat = 1:'Already have a School Certificate'
@@ -1704,7 +1695,7 @@ $cheatmenu['documents'] = {
 	if masseuse['certification'] >= 10:'You already have a Masseuse Certificate'
 	if masseuse['certification'] >= 10:'You already have a Masseuse Certificate'
 	if prava = 0:'<a href="exec:prava = 1 & dynamic $cheatmenu[''documents'']">Get Driving Licence</a>'
 	if prava = 0:'<a href="exec:prava = 1 & dynamic $cheatmenu[''documents'']">Get Driving Licence</a>'
 	if prava = 1:'You already have Driving Licence'
 	if prava = 1:'You already have Driving Licence'
-	'</td></tr></table></center>'
+	$cheatmenu['table_end']
 }
 }
 
 
 !!----------------------------------------------------------------------------------------------------------------------------
 !!----------------------------------------------------------------------------------------------------------------------------
@@ -1814,8 +1805,7 @@ $cheatmenu['time'] = {
 	'<center><h1>Cheat Menu - Manipulate Time and Weather</h1></center>'
 	'<center><h1>Cheat Menu - Manipulate Time and Weather</h1></center>'
 	'<center><font color="red"><b>WARNING!</b></font>: Using cheats to manipulate time can <b>easily</b> break quests and cause bugs. Do not use them unless'
 	'<center><font color="red"><b>WARNING!</b></font>: Using cheats to manipulate time can <b>easily</b> break quests and cause bugs. Do not use them unless'
 	'you know what you''re doing. When reporting bugs, please mention any cheats you used.</center>'
 	'you know what you''re doing. When reporting bugs, please mention any cheats you used.</center>'
-	'<center><table cellspacing="0" cellpadding="20" valign="top"><tr>'
-	'<td width="50%" cellspacing="0" cellpadding="20" valign="top">'
+	$cheatmenu['table_start']
 	if temp_minut > 9:
 	if temp_minut > 9:
 		if temp_hour > 9: $temptime = '<b><<temp_hour>>:<<temp_minut>></b>' else $temptime = '<b>0<<temp_hour>>:<<temp_minut>></b>'
 		if temp_hour > 9: $temptime = '<b><<temp_hour>>:<<temp_minut>></b>' else $temptime = '<b>0<<temp_hour>>:<<temp_minut>></b>'
 	else
 	else
@@ -1883,7 +1873,7 @@ $cheatmenu['time'] = {
 	*nl
 	*nl
 	'<a href="exec:day = temp_day & $month = $temp_month & month = temp_month & year = temp_year & hour = temp_hour & minut = temp_minut & currtimecheck = 1 & dynamic $cheatmenu[''time'']">Accept target date & time</a>'
 	'<a href="exec:day = temp_day & $month = $temp_month & month = temp_month & year = temp_year & hour = temp_hour & minut = temp_minut & currtimecheck = 1 & dynamic $cheatmenu[''time'']">Accept target date & time</a>'
 	'<a href="exec:temp_day = day & $temp_month = $month & temp_month = month & temp_year = year & temp_hour = hour & temp_minut = minut & dynamic $cheatmenu[''time'']">Reset target date & time</a>'
 	'<a href="exec:temp_day = day & $temp_month = $month & temp_month = month & temp_year = year & temp_hour = hour & temp_minut = minut & dynamic $cheatmenu[''time'']">Reset target date & time</a>'
-	'</td></tr></table></center>'
+	$cheatmenu['table_end']
 }
 }
 
 
 !!----------------------------------------------------------------------------------------------------------------------------
 !!----------------------------------------------------------------------------------------------------------------------------
@@ -1996,6 +1986,7 @@ $cheatmenu['magic'] = {
 	cla & *clr
 	cla & *clr
 	gs 'obj_din', 'cheattabs'
 	gs 'obj_din', 'cheattabs'
 	'<center><h1>Cheat Menu - Magic</h1></center>'
 	'<center><h1>Cheat Menu - Magic</h1></center>'
+	$cheatmenu['table_start']
 	'<center>Is magical: <a href="exec:pcs_magik += 1 & dynamic $cheatmenu[''magic'']">+1<<pcs_magik>></a></center>'
 	'<center>Is magical: <a href="exec:pcs_magik += 1 & dynamic $cheatmenu[''magic'']">+1<<pcs_magik>></a></center>'
 	if succubusflag = 1:
 	if succubusflag = 1:
 		'<center><a href="exec:dynamic $cheatmenu[''succubreset'']"><b>Remove & Reset Succubus status</b></a></center>'
 		'<center><a href="exec:dynamic $cheatmenu[''succubreset'']"><b>Remove & Reset Succubus status</b></a></center>'
@@ -2035,6 +2026,7 @@ $cheatmenu['magic'] = {
 
 
 	*pl func('cleanHTML',$SpellListStr)
 	*pl func('cleanHTML',$SpellListStr)
 
 
+	$cheatmenu['table_end']
 	killvar 'i'
 	killvar 'i'
 	killvar '$ThisLocation'
 	killvar '$ThisLocation'
 	killvar '$spellFlipper'
 	killvar '$spellFlipper'
@@ -2050,7 +2042,7 @@ $cheatmenu['display'] = {
 	cla & *clr
 	cla & *clr
 	gs 'obj_din', 'settingtabs'
 	gs 'obj_din', 'settingtabs'
 	'<center><h1>Display Setting</h1></center>'
 	'<center><h1>Display Setting</h1></center>'
-	*p '<center><table cellspacing="0" cellpadding="20" valign="top"><tr><td cellspacing="0" cellpadding="20" valign="top">'
+	$cheatmenu['table_start']
 	if usePopUps = 1:
 	if usePopUps = 1:
 		'Allow Popup Pictures: Currently ON - <a href="exec:usePopUps = 0 & dynamic $cheatmenu[''display'']">Turn OFF</a>'
 		'Allow Popup Pictures: Currently ON - <a href="exec:usePopUps = 0 & dynamic $cheatmenu[''display'']">Turn OFF</a>'
 	else
 	else
@@ -2114,7 +2106,7 @@ $cheatmenu['display'] = {
 	else
 	else
 		'Show Debug window on save load: Currently ON - <a href="exec:loadg_show_debug = 0 & debug_warning_closed = 1 & showobjs 0 & dynamic $cheatmenu[''display'']">Turn OFF</a>'
 		'Show Debug window on save load: Currently ON - <a href="exec:loadg_show_debug = 0 & debug_warning_closed = 1 & showobjs 0 & dynamic $cheatmenu[''display'']">Turn OFF</a>'
 	end
 	end
-	*p '</td></tr></table></center>'
+	$cheatmenu['table_end']
 }
 }
 
 
 $cheatmenu['theme_customize_input'] = {
 $cheatmenu['theme_customize_input'] = {
@@ -2377,7 +2369,7 @@ $cheatmenu['theme_customize'] = {
 	!!  --- LOREM IPSUM ---
 	!!  --- LOREM IPSUM ---
 	$icon_selector = iif(theme['is_dark'] = 0, '_b', '_w')
 	$icon_selector = iif(theme['is_dark'] = 0, '_b', '_w')
 	icon_height = fsize * 15 / 10
 	icon_height = fsize * 15 / 10
-	*p '<td width="50%" cellspacing="0" cellpadding="20" valign="top">'
+	*p '<td width="500" cellspacing="0" cellpadding="20" valign="top">'
 
 
 	*p '"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."'
 	*p '"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."'
 
 
@@ -2426,8 +2418,7 @@ $cheatmenu['status'] = {
 	cla & *clr
 	cla & *clr
 	gs 'obj_din', 'settingtabs'
 	gs 'obj_din', 'settingtabs'
 	'<center><h1>Status Window Settings</h1></center>'
 	'<center><h1>Status Window Settings</h1></center>'
-	'<center><table cellspacing="0" cellpadding="20" valign="top"><tr>'
-	'<td cellspacing="0" cellpadding="20" valign="top">'
+	$cheatmenu['table_start']
 	if disable_LoadSave = 0:
 	if disable_LoadSave = 0:
 		'Save/Load Buttons: Currently Image - <a href="exec:disable_LoadSave = 2 & dynamic $cheatmenu[''status''] & gs ''stat''">Select Text</a>'
 		'Save/Load Buttons: Currently Image - <a href="exec:disable_LoadSave = 2 & dynamic $cheatmenu[''status''] & gs ''stat''">Select Text</a>'
 	elseif disable_LoadSave = 1:
 	elseif disable_LoadSave = 1:
@@ -2564,7 +2555,7 @@ $cheatmenu['status'] = {
 	end
 	end
 
 
 	!<a href="exec:gs ''Cheatmenu_din'' & dynamic $cheatmenu[''status''] & gs ''stat''"><img src="images/system/phone/theme/<<$phonetheme_name[pcs_phonetheme]>>/icon_settings.png"></a>
 	!<a href="exec:gs ''Cheatmenu_din'' & dynamic $cheatmenu[''status''] & gs ''stat''"><img src="images/system/phone/theme/<<$phonetheme_name[pcs_phonetheme]>>/icon_settings.png"></a>
-	'</tr></table></b></center>'
+	$cheatmenu['table_end']
 }
 }
 
 
 !!----------------------------------------------------------------------------------------------------------------------------
 !!----------------------------------------------------------------------------------------------------------------------------
@@ -2575,7 +2566,7 @@ $cheatmenu['theme'] = {
 	cla & *clr
 	cla & *clr
 	gs 'obj_din', 'settingtabs'
 	gs 'obj_din', 'settingtabs'
 	'<center><h1>Phone Theme Menu</h1></center>'
 	'<center><h1>Phone Theme Menu</h1></center>'
-	'<center><table width="90%" cellspacing="0" cellpadding="20" valign="top"><tr>'
+	$cheatmenu['table_start']
 	*nl
 	*nl
 	if pcs_phonetheme = 0: $phoneNameTemp = 'Standard'
 	if pcs_phonetheme = 0: $phoneNameTemp = 'Standard'
 	if pcs_phonetheme = 1: $phoneNameTemp = 'Bimbo'
 	if pcs_phonetheme = 1: $phoneNameTemp = 'Bimbo'
@@ -2617,7 +2608,7 @@ $cheatmenu['theme'] = {
 	elseif i <= ARRSIZE('phonetheme') and i > 12 and i <= 15:
 	elseif i <= ARRSIZE('phonetheme') and i > 12 and i <= 15:
 		jump 'phonethemeloop'
 		jump 'phonethemeloop'
 	end
 	end
-	'</tr></table></b></center>'
+	$cheatmenu['table_end']
 }
 }
 
 
 !!----------------------------------------------------------------------------------------------------------------------------
 !!----------------------------------------------------------------------------------------------------------------------------
@@ -2666,8 +2657,7 @@ $cheatmenu['pain'] = {
 	'<center><h1>Cheat Menu - Pain Management</h1></center>'
 	'<center><h1>Cheat Menu - Pain Management</h1></center>'
 	'<center><a href="exec:killvar ''pain'' & dynamic $cheatmenu[''pain'']">No pain</a></center>'
 	'<center><a href="exec:killvar ''pain'' & dynamic $cheatmenu[''pain'']">No pain</a></center>'
 	*nl
 	*nl
-	'<center><table  width="90%" cellspacing="0" cellpadding="0" valign="top">'
-	'<tr><td width="50%" cellpadding="10" valign="top">'
+	$cheatmenu['table_start']
 	'pain[head] = <<pain[''head'']>> <a href="exec:pain[''head''] -= 10 & dynamic $cheatmenu[''pain'']">-10</a> <a href="exec:pain[''head''] += 10 & dynamic $cheatmenu[''pain'']">+10</a>'
 	'pain[head] = <<pain[''head'']>> <a href="exec:pain[''head''] -= 10 & dynamic $cheatmenu[''pain'']">-10</a> <a href="exec:pain[''head''] += 10 & dynamic $cheatmenu[''pain'']">+10</a>'
 	'pain[hair] = <<pain[''hair'']>> <a href="exec:pain[''hair''] -= 10 & dynamic $cheatmenu[''pain'']">-10</a> <a href="exec:pain[''hair''] += 10 & dynamic $cheatmenu[''pain'']">+10</a>'
 	'pain[hair] = <<pain[''hair'']>> <a href="exec:pain[''hair''] -= 10 & dynamic $cheatmenu[''pain'']">-10</a> <a href="exec:pain[''hair''] += 10 & dynamic $cheatmenu[''pain'']">+10</a>'
 	'pain[ears] = <<pain[''ears'']>> <a href="exec:pain[''ears''] -= 10 & dynamic $cheatmenu[''pain'']">-10</a> <a href="exec:pain[''ears''] += 10 & dynamic $cheatmenu[''pain'']">+10</a>'
 	'pain[ears] = <<pain[''ears'']>> <a href="exec:pain[''ears''] -= 10 & dynamic $cheatmenu[''pain'']">-10</a> <a href="exec:pain[''ears''] += 10 & dynamic $cheatmenu[''pain'']">+10</a>'
@@ -2687,7 +2677,7 @@ $cheatmenu['pain'] = {
 	'pain[thighs] = <<pain[''thighs'']>> <a href="exec:pain[''thighs''] -= 10 & dynamic $cheatmenu[''pain'']">-10</a> <a href="exec:pain[''thighs''] += 10 & dynamic $cheatmenu[''pain'']">+10</a>'
 	'pain[thighs] = <<pain[''thighs'']>> <a href="exec:pain[''thighs''] -= 10 & dynamic $cheatmenu[''pain'']">-10</a> <a href="exec:pain[''thighs''] += 10 & dynamic $cheatmenu[''pain'']">+10</a>'
 	'pain[left leg] = <<pain[''legL'']>> <a href="exec:pain[''legL''] -= 10 & dynamic $cheatmenu[''pain'']">-10</a> <a href="exec:pain[''legL''] += 10 & dynamic $cheatmenu[''pain'']">+10</a>'
 	'pain[left leg] = <<pain[''legL'']>> <a href="exec:pain[''legL''] -= 10 & dynamic $cheatmenu[''pain'']">-10</a> <a href="exec:pain[''legL''] += 10 & dynamic $cheatmenu[''pain'']">+10</a>'
 	'pain[right leg] = <<pain[''legR'']>> <a href="exec:pain[''legR''] -= 10 & dynamic $cheatmenu[''pain'']">-10</a> <a href="exec:pain[''legR''] += 10 & dynamic $cheatmenu[''pain'']">+10</a>'
 	'pain[right leg] = <<pain[''legR'']>> <a href="exec:pain[''legR''] -= 10 & dynamic $cheatmenu[''pain'']">-10</a> <a href="exec:pain[''legR''] += 10 & dynamic $cheatmenu[''pain'']">+10</a>'
-	'</td><td width="50%" cellpadding="10" valign="top">'
+	$cheatmenu['table_second']
 	'pain[feet] = <<pain[''feet'']>> <a href="exec:pain[''feet''] -= 10 & dynamic $cheatmenu[''pain'']">-10</a> <a href="exec:pain[''feet''] += 10 & dynamic $cheatmenu[''pain'']">+10</a>'
 	'pain[feet] = <<pain[''feet'']>> <a href="exec:pain[''feet''] -= 10 & dynamic $cheatmenu[''pain'']">-10</a> <a href="exec:pain[''feet''] += 10 & dynamic $cheatmenu[''pain'']">+10</a>'
 	'pain[toes] = <<pain[''toes'']>> <a href="exec:pain[''toes''] -= 10 & dynamic $cheatmenu[''pain'']">-10</a> <a href="exec:pain[''toes''] += 10 & dynamic $cheatmenu[''pain'']">+10</a>'
 	'pain[toes] = <<pain[''toes'']>> <a href="exec:pain[''toes''] -= 10 & dynamic $cheatmenu[''pain'']">-10</a> <a href="exec:pain[''toes''] += 10 & dynamic $cheatmenu[''pain'']">+10</a>'
 	'pain[shoulders] = <<pain[''shoulders'']>> <a href="exec:pain[''shoulders''] -= 10 & dynamic $cheatmenu[''pain'']">-10</a> <a href="exec:pain[''shoulders''] += 10 & dynamic $cheatmenu[''pain'']">+10</a>'
 	'pain[shoulders] = <<pain[''shoulders'']>> <a href="exec:pain[''shoulders''] -= 10 & dynamic $cheatmenu[''pain'']">-10</a> <a href="exec:pain[''shoulders''] += 10 & dynamic $cheatmenu[''pain'']">+10</a>'
@@ -2706,7 +2696,7 @@ $cheatmenu['pain'] = {
 	'pain[clitoris] = <<pain[''clitoris'']>> <a href="exec:pain[''clitoris''] -= 10 & dynamic $cheatmenu[''pain'']">-10</a> <a href="exec:pain[''clitoris''] += 10 & dynamic $cheatmenu[''pain'']">+10</a>'
 	'pain[clitoris] = <<pain[''clitoris'']>> <a href="exec:pain[''clitoris''] -= 10 & dynamic $cheatmenu[''pain'']">-10</a> <a href="exec:pain[''clitoris''] += 10 & dynamic $cheatmenu[''pain'']">+10</a>'
 	'pain[urethra] = <<pain[''urethra'']>> <a href="exec:pain[''urethra''] -= 10 & dynamic $cheatmenu[''pain'']">-10</a> <a href="exec:pain[''urethra''] += 10 & dynamic $cheatmenu[''pain'']">+10</a>'
 	'pain[urethra] = <<pain[''urethra'']>> <a href="exec:pain[''urethra''] -= 10 & dynamic $cheatmenu[''pain'']">-10</a> <a href="exec:pain[''urethra''] += 10 & dynamic $cheatmenu[''pain'']">+10</a>'
 	'pain[cervix] = <<pain[''cervix'']>> <a href="exec:pain[''cervix''] -= 10 & dynamic $cheatmenu[''pain'']">-10</a> <a href="exec:pain[''cervix''] += 10 & dynamic $cheatmenu[''pain'']">+10</a>'
 	'pain[cervix] = <<pain[''cervix'']>> <a href="exec:pain[''cervix''] -= 10 & dynamic $cheatmenu[''pain'']">-10</a> <a href="exec:pain[''cervix''] += 10 & dynamic $cheatmenu[''pain'']">+10</a>'
-	'</td></tr></table></center>'
+	$cheatmenu['table_end']
 	*nl
 	*nl
 	'You may still have pain from gaping or having been spanked, you can clear these using "Cure all ailments." in "Cheat Menu - Character State Changes"'
 	'You may still have pain from gaping or having been spanked, you can clear these using "Cure all ailments." in "Cheat Menu - Character State Changes"'
 	'You currently have vaginal gaping of <<vgape>>'
 	'You currently have vaginal gaping of <<vgape>>'
@@ -2743,8 +2733,7 @@ $cheatmenu['DNA'] = {
 	cla & *clr
 	cla & *clr
 	gs 'obj_din', 'cheattabs'
 	gs 'obj_din', 'cheattabs'
 	'<center><h1>Cheat Menu - DNA Generation</h1></center>'
 	'<center><h1>Cheat Menu - DNA Generation</h1></center>'
-	'<center><table width="90%" cellspacing="0" cellpadding="20" valign="top"><tr>'
-	'<td cellspacing="0" cellpadding="20" valign="top">'
+	$cheatmenu['table_start']
 	'<center>DNA string generation<br>If parents are not in game, leave the respective IDs empty</center>'
 	'<center>DNA string generation<br>If parents are not in game, leave the respective IDs empty</center>'
 	*nl
 	*nl
 	if $cheatDNAC ! '':
 	if $cheatDNAC ! '':
@@ -2917,7 +2906,7 @@ $cheatmenu['DNA'] = {
 	killvar '$tempDNAM'
 	killvar '$tempDNAM'
 	killvar '$tempDNAC'
 	killvar '$tempDNAC'
 	killvar 'cheatDNAgenerated'
 	killvar 'cheatDNAgenerated'
-	'</td></tr></table></center>'
+	$cheatmenu['table_end']
 }
 }
 
 
 !!----------------------------------------------------------------------------------------------------------------------------
 !!----------------------------------------------------------------------------------------------------------------------------
@@ -3258,8 +3247,7 @@ $cheatmenu['bdimmain'] = {
 	cla & *clr
 	cla & *clr
 	gs 'obj_din', 'cheattabs'
 	gs 'obj_din', 'cheattabs'
 	'<center><h1>Cheat Menu - Body Image Sets</h1></center>'
 	'<center><h1>Cheat Menu - Body Image Sets</h1></center>'
-	'<center><table cellspacing="0" cellpadding="20" valign="top"><tr>'
-	'<td width="50%" cellspacing="0" cellpadding="20" valign="top">'
+	$cheatmenu['table_start']
 	'<center><b>Body Image Controls</b></center>'
 	'<center><b>Body Image Controls</b></center>'
 	*nl
 	*nl
 	'You are currently using set: <<$bodimgsets[((bodset * 10) + 9)]>>'
 	'You are currently using set: <<$bodimgsets[((bodset * 10) + 9)]>>'
@@ -3321,7 +3309,7 @@ $cheatmenu['bdimmain'] = {
 		'<a href="exec:dynamic $cheatmenu[''bdimcstadd'']"><b>Add new set</b></a>'
 		'<a href="exec:dynamic $cheatmenu[''bdimcstadd'']"><b>Add new set</b></a>'
 		*nl
 		*nl
 	end
 	end
-	'</td></tr></table></center>'
+	$cheatmenu['table_end']
 }
 }
 
 
 !!----------------------------------------------------------------------------------------------------------------------------
 !!----------------------------------------------------------------------------------------------------------------------------
@@ -3335,12 +3323,12 @@ $cheatmenu['about'] = {
 	gs 'saveg'
 	gs 'saveg'
 	gs 'addbuilddate'
 	gs 'addbuilddate'
 	'<center><h1>About Window</h1></center>'
 	'<center><h1>About Window</h1></center>'
-	'<center><table cellspacing="0" cellpadding="20" valign="top">'
+	$cheatmenu['table_start']
 	'<tr><td><h3><center>Girl Life version <<version_major+"."+version_minor+"."+version_revision+"."+version_patch+iif($git_hash ! "", "<br>"+$git_hash+" (dev build)", "")>></center></h3></td></tr>'
 	'<tr><td><h3><center>Girl Life version <<version_major+"."+version_minor+"."+version_revision+"."+version_patch+iif($git_hash ! "", "<br>"+$git_hash+" (dev build)", "")>></center></h3></td></tr>'
 	'<tr><td><h3><center>built on <<$builddate>></center></h3></td></tr>'
 	'<tr><td><h3><center>built on <<$builddate>></center></h3></td></tr>'
 	'<tr><td><h5><center>if loaded so it was the save from</center></h5></td></tr>'
 	'<tr><td><h5><center>if loaded so it was the save from</center></h5></td></tr>'
 	'<tr><td cellspacing="0" cellpadding="20" valign="top"><center><<$version>></center></td></tr>'
 	'<tr><td cellspacing="0" cellpadding="20" valign="top"><center><<$version>></center></td></tr>'
-	'</table></center>'
+	$cheatmenu['table_end']
 	killvar '$tmp'
 	killvar '$tmp'
 }
 }
 
 

+ 6 - 0
locations/nichUtil.qsrc

@@ -24,6 +24,12 @@ if $ARGS[0] = '' or $ARGS[0] = 'start':
 	'This page should never appear. Please report this bug including a description of how you got here.'
 	'This page should never appear. Please report this bug including a description of how you got here.'
 
 
 elseif $ARGS[0] = 'debug':
 elseif $ARGS[0] = 'debug':
+	!reset cheat menu
+	if settingmode > 0:
+		killvar 'settingmode'
+		killvar 'menu_off'
+	end
+
 	if $ARGS[1] = 'debugToggle':
 	if $ARGS[1] = 'debugToggle':
 		nichDebug = 1 - nichDebug
 		nichDebug = 1 - nichDebug
 	elseif $ARGS[1] = 'galaTrainingToggle':
 	elseif $ARGS[1] = 'galaTrainingToggle':

+ 1 - 1
locations/npc_finder.qsrc

@@ -2,7 +2,7 @@
 
 
 *clr
 *clr
 gs 'obj_din', 'cheattabs'
 gs 'obj_din', 'cheattabs'
-'<a href="exec: gt ''npc_finder'', ''finder''">Enter the ID of the character.</a>'
+'<center><a href="exec: gt ''npc_finder'', ''finder''">Enter the ID of the character.</a></center>'
 if $ARGS[0] = 'finder':
 if $ARGS[0] = 'finder':
     $looking = input ('ID (like <i>A17</i>)')
     $looking = input ('ID (like <i>A17</i>)')
     gt 'npc_finder'
     gt 'npc_finder'

+ 2 - 0
locations/stat_explanations.qsrc

@@ -10,6 +10,7 @@ if $ARGS[0] = 'start':
 	menu_off = 1
 	menu_off = 1
 	gs 'stat'
 	gs 'stat'
 	'<center><b><font color="maroon">Glossary</font></b></center>'
 	'<center><b><font color="maroon">Glossary</font></b></center>'
+	'<center><table width="80%" cellspacing="0" cellpadding="20" valign="top"><tr><td width="500" cellspacing="0" cellpadding="20" valign="top">'
 	'Here we want to explain the different stats your player character has, and give other useful information about the play mechanics.'
 	'Here we want to explain the different stats your player character has, and give other useful information about the play mechanics.'
 	*nl
 	*nl
 	'The glossary is divided over several pages explaining different aspect of the character stats. For a new player we recommend going true them in the order presented, but if you need some specific information, just go to the page containing it.'
 	'The glossary is divided over several pages explaining different aspect of the character stats. For a new player we recommend going true them in the order presented, but if you need some specific information, just go to the page containing it.'
@@ -21,6 +22,7 @@ if $ARGS[0] = 'start':
 	'<a href="exec:gt ''stat_explanations'', ''skill''">The third page</a> includes information about the skills the player character have.'
 	'<a href="exec:gt ''stat_explanations'', ''skill''">The third page</a> includes information about the skills the player character have.'
 	*nl
 	*nl
 	'<a href="exec:gt ''stat_explanations'', ''status''">The fourth page</a> includes information about the different status effects like mood, hunger, and willpower the player character have.'
 	'<a href="exec:gt ''stat_explanations'', ''status''">The fourth page</a> includes information about the different status effects like mood, hunger, and willpower the player character have.'
+	'</td></tr></table></center>'
 end
 end
 
 
 if $ARGS[0] = 'icons':
 if $ARGS[0] = 'icons':