Browse Source

[fixed] clothing set gave wrong size message if no outfit in the set and a use of none where it should be nude

Kevin_Smarts 3 months ago
parent
commit
afecaa68c4
2 changed files with 2 additions and 2 deletions
  1. 1 1
      locations/clothing.qsrc
  2. 1 1
      locations/wardrobe.qsrc

+ 1 - 1
locations/clothing.qsrc

@@ -1777,7 +1777,7 @@ end
 
 
 if $ARGS[0] = 'dispose':
 if $ARGS[0] = 'dispose':
 	dynamic $clothingworntype + '[<<clothingwornnumber>>] = 0'
 	dynamic $clothingworntype + '[<<clothingwornnumber>>] = 0'
-	$lastwornclothingtype = 'none'
+	$lastwornclothingtype = 'nude'
 	lastwornclothingnumber = 0
 	lastwornclothingnumber = 0
 
 
 	gs 'clothing', 'strip_code'
 	gs 'clothing', 'strip_code'

+ 1 - 1
locations/wardrobe.qsrc

@@ -649,7 +649,7 @@ if $ARGS[0] = 'default_entry_wear':
 			act 'Return': gt 'wardrobe', $wloc
 			act 'Return': gt 'wardrobe', $wloc
 		end
 		end
 	!! not exercise clothing, and not loose fitting
 	!! not exercise clothing, and not loose fitting
-	elseif $temp1 ! 'danilovich_outfits' and CloStyle ! 5:
+	elseif ($temp1 ! 'danilovich_outfits' and CloStyle ! 5) or $temp1 ! 'nude':
 		!! check for if the hipsize is too far from your hipsize
 		!! check for if the hipsize is too far from your hipsize
 		dynamic 'RESULT = <<$temp1>>_b[<<temp2>>]'
 		dynamic 'RESULT = <<$temp1>>_b[<<temp2>>]'
 		if RESULT < pcs_hips - 8 or RESULT > pcs_hips + 8:
 		if RESULT < pcs_hips - 8 or RESULT > pcs_hips + 8: