|
@@ -226,39 +226,39 @@ $cheatmenu['bodyMod'] = {
|
|
|
''
|
|
|
if knowpreg = 1 or (preg = 1 and (thinkpreg = 1 or PregChem > 3600)):
|
|
|
if (pregchem < 2688) = 0:
|
|
|
- '<a href="exec:pregchem = 100 & pregtime = 4 & gs ''body'', ''softreset'' & gs ''stat'' & dynamic $cheatmenu[''bodyMod'']"><<func(''body_structure'', ''body_desc'', pcs_bmi, strenbuf, 100)>></a>'
|
|
|
+ '<a href="exec: dynamic $cheatmenu[''set_preg_body''], 100"><<func(''body_structure'', ''body_desc'', pcs_bmi, strenbuf, 100)>></a>'
|
|
|
''
|
|
|
end
|
|
|
if (pregchem >= 2688 and pregchem < 3192) = 0:
|
|
|
- '<a href="exec:pregchem = 2688 & pregtime = 112 & gs ''body'', ''softreset'' & gs ''stat'' & dynamic $cheatmenu[''bodyMod'']"><<func(''body_structure'', ''body_desc'', pcs_bmi, strenbuf, 2688)>></a>'
|
|
|
+ '<a href="exec: dynamic $cheatmenu[''set_preg_body''], 2688"><<func(''body_structure'', ''body_desc'', pcs_bmi, strenbuf, 2688)>></a>'
|
|
|
''
|
|
|
end
|
|
|
if (pregchem >= 3192 and pregchem < 3696) = 0:
|
|
|
- '<a href="exec:pregchem = 3192 & pregtime = 133 & gs ''body'', ''softreset'' & gs ''stat'' & dynamic $cheatmenu[''bodyMod'']"><<func(''body_structure'', ''body_desc'', pcs_bmi, strenbuf, 3192)>></a>'
|
|
|
+ '<a href="exec: dynamic $cheatmenu[''set_preg_body''], 3192"><<func(''body_structure'', ''body_desc'', pcs_bmi, strenbuf, 3192)>></a>'
|
|
|
''
|
|
|
end
|
|
|
if (pregchem >= 3696 and pregchem < 4200) = 0:
|
|
|
- '<a href="exec:pregchem = 3696 & pregtime = 154 & gs ''body'', ''softreset'' & gs ''stat'' & dynamic $cheatmenu[''bodyMod'']"><<func(''body_structure'', ''body_desc'', pcs_bmi, strenbuf, 3696)>></a>'
|
|
|
+ '<a href="exec: dynamic $cheatmenu[''set_preg_body''], 3696"><<func(''body_structure'', ''body_desc'', pcs_bmi, strenbuf, 3696)>></a>'
|
|
|
''
|
|
|
end
|
|
|
if (pregchem >= 4200 and pregchem < 4704) = 0:
|
|
|
- '<a href="exec:pregchem = 4200 & pregtime = 175 & gs ''body'', ''softreset'' & gs ''stat'' & dynamic $cheatmenu[''bodyMod'']"><<func(''body_structure'', ''body_desc'', pcs_bmi, strenbuf, 4200)>></a>'
|
|
|
+ '<a href="exec: dynamic $cheatmenu[''set_preg_body''], 4200"><<func(''body_structure'', ''body_desc'', pcs_bmi, strenbuf, 4200)>></a>'
|
|
|
''
|
|
|
end
|
|
|
if (pregchem >= 4704 and pregchem < 5208) = 0:
|
|
|
- '<a href="exec:pregchem = 4704 & pregtime = 196 & gs ''body'', ''softreset'' & gs ''stat'' & dynamic $cheatmenu[''bodyMod'']"><<func(''body_structure'', ''body_desc'', pcs_bmi, strenbuf, 4704)>></a>'
|
|
|
+ '<a href="exec: dynamic $cheatmenu[''set_preg_body''], 4704"><<func(''body_structure'', ''body_desc'', pcs_bmi, strenbuf, 4704)>></a>'
|
|
|
''
|
|
|
end
|
|
|
if (pregchem >= 5208 and pregchem < 5712) = 0:
|
|
|
- '<a href="exec:pregchem = 5208 & pregtime = 217 & gs ''body'', ''softreset'' & gs ''stat'' & dynamic $cheatmenu[''bodyMod'']"><<func(''body_structure'', ''body_desc'', pcs_bmi, strenbuf, 5208)>></a>'
|
|
|
+ '<a href="exec: dynamic $cheatmenu[''set_preg_body''], 5208"><<func(''body_structure'', ''body_desc'', pcs_bmi, strenbuf, 5208)>></a>'
|
|
|
''
|
|
|
end
|
|
|
if (pregchem >= 5712 and pregchem < 6216) = 0:
|
|
|
- '<a href="exec:pregchem = 5712 & pregtime = 238 & gs ''body'', ''softreset'' & gs ''stat'' & dynamic $cheatmenu[''bodyMod'']"><<func(''body_structure'', ''body_desc'', pcs_bmi, strenbuf, 5712)>></a>'
|
|
|
+ '<a href="exec: dynamic $cheatmenu[''set_preg_body''], 5712"><<func(''body_structure'', ''body_desc'', pcs_bmi, strenbuf, 5712)>></a>'
|
|
|
''
|
|
|
end
|
|
|
if (pregchem >= 6216) = 0:
|
|
|
- '<a href="exec:pregchem = 6216 & pregtime = 259 & gs ''body'', ''softreset'' & gs ''stat'' & dynamic $cheatmenu[''bodyMod'']"><<func(''body_structure'', ''body_desc'', pcs_bmi, strenbuf, 6216)>></a>'
|
|
|
+ '<a href="exec: dynamic $cheatmenu[''set_preg_body''], 6216"><<func(''body_structure'', ''body_desc'', pcs_bmi, strenbuf, 6216)>></a>'
|
|
|
''
|
|
|
end
|
|
|
else
|
|
@@ -266,31 +266,31 @@ $cheatmenu['bodyMod'] = {
|
|
|
'starving (No, you may not select ''starving'', it''s here to show where the scale starts)'
|
|
|
''
|
|
|
if (bs_temp_bs_class / 100) ! 1:
|
|
|
- '<a href="exec: pcs_mass[''body''] = func(''body'', ''CalcOptBodyMass'', 170) & gs ''body'', ''softreset'' & gs ''stat'' & dynamic $cheatmenu[''bodyMod'']"><<func(''body_structure'', ''body_desc'', 17, strenbuf)>></a>'
|
|
|
+ '<a href="exec: dynamic $cheatmenu[''set_body_class''], 170"><<func(''body_structure'', ''body_desc'', 17, strenbuf)>></a>'
|
|
|
''
|
|
|
end
|
|
|
if (bs_temp_bs_class / 100) ! 2:
|
|
|
- '<a href="exec: pcs_mass[''body''] = func(''body'', ''CalcOptBodyMass'', 200) & gs ''body'', ''softreset'' & gs ''stat'' & dynamic $cheatmenu[''bodyMod'']"><<func(''body_structure'', ''body_desc'', 20, strenbuf)>></a>'
|
|
|
+ '<a href="exec: dynamic $cheatmenu[''set_body_class''], 200"><<func(''body_structure'', ''body_desc'', 20, strenbuf)>></a>'
|
|
|
''
|
|
|
end
|
|
|
if (bs_temp_bs_class / 100) ! 3:
|
|
|
- '<a href="exec: pcs_mass[''body''] = func(''body'', ''CalcOptBodyMass'', 230) & gs ''body'', ''softreset'' & gs ''stat'' & dynamic $cheatmenu[''bodyMod'']"><<func(''body_structure'', ''body_desc'', 23, strenbuf)>></a>'
|
|
|
+ '<a href="exec: dynamic $cheatmenu[''set_body_class''], 230"><<func(''body_structure'', ''body_desc'', 23, strenbuf)>></a>'
|
|
|
''
|
|
|
end
|
|
|
if (bs_temp_bs_class / 100) ! 4:
|
|
|
- '<a href="exec: pcs_mass[''body''] = func(''body'', ''CalcOptBodyMass'', 270) & gs ''body'', ''softreset'' & gs ''stat'' & dynamic $cheatmenu[''bodyMod'']"><<func(''body_structure'', ''body_desc'', 27, strenbuf)>></a>'
|
|
|
+ '<a href="exec: dynamic $cheatmenu[''set_body_class''], 270"><<func(''body_structure'', ''body_desc'', 27, strenbuf)>></a>'
|
|
|
''
|
|
|
end
|
|
|
if (bs_temp_bs_class / 100) ! 5:
|
|
|
- '<a href="exec: pcs_mass[''body''] = func(''body'', ''CalcOptBodyMass'', 320) & gs ''body'', ''softreset'' & gs ''stat'' & dynamic $cheatmenu[''bodyMod'']"><<func(''body_structure'', ''body_desc'', 32, strenbuf)>></a>'
|
|
|
+ '<a href="exec: dynamic $cheatmenu[''set_body_class''], 320"><<func(''body_structure'', ''body_desc'', 32, strenbuf)>></a>'
|
|
|
''
|
|
|
end
|
|
|
if (bs_temp_bs_class / 100) ! 6:
|
|
|
- '<a href="exec: pcs_mass[''body''] = func(''body'', ''CalcOptBodyMass'', 370) & gs ''body'', ''softreset'' & gs ''stat'' & dynamic $cheatmenu[''bodyMod'']"><<func(''body_structure'', ''body_desc'', 37, strenbuf)>></a>'
|
|
|
+ '<a href="exec: dynamic $cheatmenu[''set_body_class''], 370"><<func(''body_structure'', ''body_desc'', 37, strenbuf)>></a>'
|
|
|
''
|
|
|
end
|
|
|
if (bs_temp_bs_class / 100) ! 7:
|
|
|
- '<a href="exec: pcs_mass[''body''] = func(''body'', ''CalcOptBodyMass'', 420) & gs ''body'', ''softreset'' & gs ''stat'' & dynamic $cheatmenu[''bodyMod'']"><<func(''body_structure'', ''body_desc'', 42, strenbuf)>></a>'
|
|
|
+ '<a href="exec: dynamic $cheatmenu[''set_body_class''], 420"><<func(''body_structure'', ''body_desc'', 42, strenbuf)>></a>'
|
|
|
''
|
|
|
end
|
|
|
killvar 'bs_temp_bs_class'
|
|
@@ -299,6 +299,23 @@ $cheatmenu['bodyMod'] = {
|
|
|
'</tr></table></b></center>'
|
|
|
}
|
|
|
|
|
|
+$cheatmenu['set_preg_body'] = {
|
|
|
+ pregchem = ARGS[0]
|
|
|
+ pregtime = ARGS[0] / 24
|
|
|
+ gs 'body', 'reset_preg_mass'
|
|
|
+ gs 'body', 'softreset'
|
|
|
+ gs 'stat'
|
|
|
+ dynamic $cheatmenu['bodyMod']
|
|
|
+}
|
|
|
+
|
|
|
+$cheatmenu['set_body_class'] = {
|
|
|
+ pcs_mass['body'] = func('body', 'CalcOptBodyMass', ARGS[0])
|
|
|
+ gs 'body', 'softreset'
|
|
|
+ gs 'stat'
|
|
|
+ dynamic $cheatmenu['bodyMod']
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
$cheatmenu['addict'] = {
|
|
|
if drugVars['cheat_immune'] = 0:
|
|
|
drugVars['cheat_immune'] = 1
|