Browse Source

[fixed] Bust and Butt unaffected by weight cheat re-implemented

anjuna krokus 3 months ago
parent
commit
9b597f1e3e
2 changed files with 15 additions and 1 deletions
  1. 14 0
      locations/Cheatmenu_din.qsrc
  2. 1 1
      locations/body.qsrc

+ 14 - 0
locations/Cheatmenu_din.qsrc

@@ -128,6 +128,17 @@ $cheatmenu['noFat'] = {
 	end
 }
 
+$cheatmenu['static_assets'] = {
+	if bodyVars['cheat_staticAssets'] = 0:
+		bodyVars['cheat_staticAssets'] = 1
+		dynamic $cheatmenu['permanent']
+		exit
+	elseif bodyVars['cheat_staticAssets'] = 1:
+		bodyVars['cheat_staticAssets'] = 0
+		dynamic $cheatmenu['permanent']
+	end
+}
+
 $cheatmenu['health'] = {
 	if cheatHealth = 0:
 		cheatHealth = 1
@@ -536,6 +547,8 @@ $cheatmenu['permanent'] = {
 	if cheatNoMood = 1: $cheatNoMood = 'Currently ON'
 	if cheatNoFat = 0: $cheatNoFat = 'Currently OFF'
 	if cheatNoFat = 1: $cheatNoFat = 'Currently ON'
+	if bodyVars['cheat_staticAssets'] = 0: $bodyVars['cheat_staticAssets_text'] = 'Currently OFF'
+	if bodyVars['cheat_staticAssets'] = 1: $bodyVars['cheat_staticAssets_text'] = 'Currently ON'
 	if cheatHealth = 0: $cheatHealth = 'Enabled'
 	if cheatHealth = 1: $cheatHealth = 'Disabled'
 	if cheatPee = 0: $cheatPee = 'Enabled'
@@ -598,6 +611,7 @@ $cheatmenu['permanent'] = {
 	'Never sleep: <a href="exec:dynamic $cheatmenu[''noSleep'']"><<$cheatNoSleep>></a>'
 	'Never unhappy: <a href="exec:dynamic $cheatmenu[''noMood'']"><<$cheatNoMood>></a>'
 	'Never lose or gain weight: <a href="exec:dynamic $cheatmenu[''noFat'']"><<$cheatNoFat>></a>'
+	'Bust and butt unaffected by weight: <a href="exec: dynamic $cheatmenu[''static_assets'']"><<$bodyVars[''cheat_staticAssets_text'']>></a>'
 	'Never get addicted: <a href="exec:dynamic $cheatmenu[''addict'']"><<$NarkImmune>></a>'
 	'Never shave legs: <a href="exec:dynamic $cheatmenu[''shaveLegs'']"><<$cheatShaveLegs>></a>'
 

+ 1 - 1
locations/body.qsrc

@@ -592,7 +592,7 @@ if $ARGS[0] = 'Redistribute_Mass':
 	end
 
 
-	if salobustdo = 0:
+	if salobustdo = 0 and bodyVars['cheat_staticAssets'] = 0:
 		!!This controls the movement of pcs_mass['body'] to/from bust in order of precedence
 
 		!!===============    MAGIC    ===============!!