|
@@ -433,6 +433,7 @@ if $ARGS[0] = 'cs_main_advanced':
|
|
|
end
|
|
|
*nl
|
|
|
|
|
|
+ !! ---- MAIN BODY IMAGE CLASSES
|
|
|
$temp_table = '<table cellpadding="10">'
|
|
|
$temp_table += '<tr align="center">'
|
|
|
$temp_table += '<th></th>'
|
|
@@ -500,14 +501,34 @@ if $ARGS[0] = 'cs_main_advanced':
|
|
|
if cmd_adv_str_i < 18: jump 'cs_main_adv_str_loop'
|
|
|
killvar 'cmd_adv_str_i'
|
|
|
killvar 'cmd_adv_bmi_i'
|
|
|
+ killvar 'cmbs_class'
|
|
|
|
|
|
$temp_table += '</table>'
|
|
|
'<<$temp_table>>'
|
|
|
killvar '$temp_table'
|
|
|
killvar '$temp_str_text'
|
|
|
+ !! ---- END MAIN BODY IMAGE CLASSES
|
|
|
+
|
|
|
+ !{
|
|
|
+ *nl
|
|
|
+ *nl
|
|
|
+ !! ---- PREG IMAGES
|
|
|
+ num_pregsets = cheatVars['fix_biset_<<cmbs_set>>_pregsets']
|
|
|
+ if num_pregsets > 0:
|
|
|
+ cmd_pregset_i = 0
|
|
|
+ :cs_main_adv_preg_loop
|
|
|
+ func('cheatmenu_bisets', 'get_pregset_link', cmbs_set, cmd_pregset_i)
|
|
|
+ cmd_pregset_i += 1
|
|
|
+ if cmd_pregset_i < num_pregsets: jump 'cs_main_adv_preg_loop'
|
|
|
+ *nl
|
|
|
+ end
|
|
|
+ killvar 'num_pregsets'
|
|
|
|
|
|
+ '<a href="exec: gs ''cheatmenu_bisets'', ''add_pregset'', <<cmbs_set>>">Add new pregnant image set</a>'
|
|
|
+ *nl
|
|
|
+ *nl
|
|
|
+ }
|
|
|
killvar 'cmbs_set'
|
|
|
- killvar 'cmbs_class'
|
|
|
end
|
|
|
|
|
|
if $ARGS[0] = 'cs_main_advanced2':
|
|
@@ -649,6 +670,96 @@ if $ARGS[0] = 'get_custom_bodyimg_desc_link_advanced':
|
|
|
killvar 'temp_img_num'
|
|
|
end
|
|
|
|
|
|
+if $ARGS[0] = 'add_pregset':
|
|
|
+ temp_set = ARGS[1]
|
|
|
+ cheatVars['fix_biset_<<temp_set>>_pregsets'] += 1
|
|
|
+ gs 'cheatmenu_bisets', 'cs_main', temp_set
|
|
|
+ killvar 'temp_set'
|
|
|
+end
|
|
|
+
|
|
|
+
|
|
|
+if $ARGS[0] = 'get_pregset_link':
|
|
|
+ *clr & cla
|
|
|
+ temp_set = ARGS[1]
|
|
|
+ preg_set = ARGS[2]
|
|
|
+
|
|
|
+ '<center><h1>Cheat menu</h1></center>'
|
|
|
+ *nl
|
|
|
+ '<center><b>Pregnancy Image Set Display - Set = <<preg_set>></b></center>'
|
|
|
+
|
|
|
+ $cheatmenu['table_start']
|
|
|
+ act 'Go Back': gs 'cheatmenu_bisets', 'cs_main', temp_set
|
|
|
+ '<a href="exec: gs ''cheatmenu_bisets'', ''cs_main'', temp_set"><b>Go Back</b></a>'
|
|
|
+ *nl
|
|
|
+
|
|
|
+ $temp_cmd_path = $cheatVars['fix_biset_<<temp_set>>_path']
|
|
|
+ if $temp_cmd_path = '':
|
|
|
+ $temp_cmd_path = 'images/pc/body/shape'
|
|
|
+ end
|
|
|
+ $temp_cmd_path += '/' + $cheatVars['fix_biset_<<cmbs_set>>_folder']
|
|
|
+
|
|
|
+ $temp_cmd_subpath = $cheatVars['fix_biset_<<cmbs_set>>_pregpath_<<preg_set>>']
|
|
|
+ if $temp_cmd_subpath = '':
|
|
|
+ $temp_cmd_subpath = 'preg/0'
|
|
|
+ end
|
|
|
+ 'Path: <<$temp_cmd_path>>/<a href="exec: gs ''cheatmenu_bisets'', ''cs_change_preg_subpath'', <<temp_set>>, <<preg_set>>"><<$temp_cmd_subpath>></a>'
|
|
|
+ killvar '$temp_cmd_subpath'
|
|
|
+ killvar 'temp_cmd_path'
|
|
|
+ *nl
|
|
|
+ *nl
|
|
|
+
|
|
|
+ $temp_table = '<table width=80% align="center">'
|
|
|
+ $temp_table += '<tr>'
|
|
|
+ $temp_table += '<th>Currently using</th>'
|
|
|
+ $temp_table += '<th></th>'
|
|
|
+ $temp_table += '<th></th>'
|
|
|
+ $temp_table += '</tr>'
|
|
|
+
|
|
|
+ cmd_preg_img = 0
|
|
|
+ :pregset_img_loop
|
|
|
+ $temp_table += func('cheatmenu_bisets', 'get_custom_pregimg', temp_set, preg_set, cmd_preg_img)
|
|
|
+ cmd_preg_img += 1
|
|
|
+ if cmd_preg_img < 9: jump 'pregset_img_loop'
|
|
|
+ killvar 'cmd_preg_img'
|
|
|
+
|
|
|
+ $cheatmenu['table_end']
|
|
|
+
|
|
|
+ killvar 'temp_set'
|
|
|
+ killvar 'preg_set'
|
|
|
+end
|
|
|
+
|
|
|
+if $ARGS[0] = 'get_custom_pregimg':
|
|
|
+ temp_set = ARGS[1]
|
|
|
+ preg_set = ARGS[2]
|
|
|
+ temp_img = ARGS[3]
|
|
|
+
|
|
|
+ $temp_cmd_img_name = $cheatVars['fix_biset_<<temp_set>>_pregimg_<<preg_set>>_<<temp_img>>']
|
|
|
+ $temp_cmd_desc = $cheatVars['fix_biset_<<temp_set>>_desc_<<preg_set>>']
|
|
|
+
|
|
|
+ if $temp_cmd_img_name = '':
|
|
|
+ $temp_cmd_image = func('cheatmenu_bisets', 'cs_get_default_img', temp_set, temp_class)
|
|
|
+ $temp_cmd_img_addon = ''
|
|
|
+ else
|
|
|
+ $temp_base_folder = $cheatVars['fix_biset_<<temp_set>>_path']
|
|
|
+ if $temp_base_folder = '':
|
|
|
+ $temp_base_folder = 'images/pc/body/shape'
|
|
|
+ end
|
|
|
+ $temp_base_folder += '/' + $cheatVars['fix_biset_<<temp_set>>_folder']
|
|
|
+ if $cheatVars['fix_biset_<<temp_set>>_path_<<$temp_bs_class_str>>'] ! '':
|
|
|
+ $temp_base_folder += '/' + $cheatVars['fix_biset_<<temp_set>>_path_<<$temp_bs_class_str>>']
|
|
|
+ end
|
|
|
+ $temp_cmd_image = $temp_base_folder + '/' + $temp_cmd_img_name + '.jpg'
|
|
|
+ $temp_cmd_img_addon = $temp_cmd_img_name + '.jpg'
|
|
|
+ killvar '$temp_base_folder'
|
|
|
+ end
|
|
|
+
|
|
|
+ killvar 'temp_set'
|
|
|
+ killvar 'preg_set'
|
|
|
+ killvar 'temp_img'
|
|
|
+end
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
if $ARGS[0] = 'cs_copy_class_menu':
|
|
|
*clr & cla
|
|
|
act 'Cancel':
|
|
@@ -1201,6 +1312,22 @@ if $ARGS[0] = 'cs_change_subpath':
|
|
|
killvar '$temp_class_str'
|
|
|
end
|
|
|
|
|
|
+if $ARGS[0] = 'cs_change_preg_subpath':
|
|
|
+ temp_set = ARGS[1]
|
|
|
+ preg_set = ARGS[2]
|
|
|
+
|
|
|
+ $cmd_temp_input = input('Input subpath (i.e. 0_starving)')
|
|
|
+ if $cmd_temp_input ! '':
|
|
|
+ $cheatVars['fix_biset_<<temp_set>>_pregpath_<<preg_set>>'] = $cmd_temp_input
|
|
|
+ end
|
|
|
+ killvar '$cmd_temp_input'
|
|
|
+
|
|
|
+ gs 'cheatmenu_bisets', 'get_pregset_link', temp_set, preg_set
|
|
|
+ killvar 'temp_set'
|
|
|
+ killvar 'preg_set'
|
|
|
+end
|
|
|
+
|
|
|
+
|
|
|
if $ARGS[0] = 'cs_change_img':
|
|
|
temp_set = ARGS[1]
|
|
|
temp_class = ARGS[2]
|
|
@@ -1367,6 +1494,7 @@ if $ARGS[0] = 'cs_delete_set2':
|
|
|
|
|
|
gs 'shortgs', 'remove_array_element', 'cheatVars', $cmbs_text + 'folder'
|
|
|
gs 'shortgs', 'remove_array_element', 'cheatVars', $cmbs_text + 'path'
|
|
|
+ gs 'shortgs', 'remove_array_element', 'cheatVars', $cmbs_text + 'name'
|
|
|
|
|
|
killvar 'cmbs_bmi'
|
|
|
killvar 'cmbs_stren'
|