Browse Source

[fixed] exercise clothing variable not updated

Kevin_Smarts 3 years ago
parent
commit
235208a921
2 changed files with 3 additions and 3 deletions
  1. 1 1
      locations/body.qsrc
  2. 2 2
      locations/exercise.qsrc

+ 1 - 1
locations/body.qsrc

@@ -2495,7 +2495,7 @@ if $ARGS[0] = 'calcClothesBonus':
 
 	tempCloAdjustedBeauty = tempRevealing * tempPCloQuality
 
-	!!if $tempclothingworntype = 'exercise': tempCloAdjustedBeauty = tempCloAdjustedBeauty * 2 / 3
+	!!if $tempclothingworntype = 'danilovich': tempCloAdjustedBeauty = tempCloAdjustedBeauty * 2 / 3
 
 	result = tempCloAdjustedBeauty
 

+ 2 - 2
locations/exercise.qsrc

@@ -41,7 +41,7 @@ if $ARGS[0] = 'workout':
 			gt $loc, $loc_arg
 		end
 	end
-	if $clothingworntype = 'nude' or $clothingworntype = 'exercise':
+	if $clothingworntype = 'nude' or $clothingworntype = 'danilovich':
 		act 'Manual routines': gt 'exercise', 'manual'
 		act 'Define routines': gt 'exercise', 'setup'
 		if exer_stam[1] ! 0 and pcs_stam > exer_stam[1]: act '<<$excer_name[1]>> - (<<exer_stam[1]>> stamina)': exercisex = 1 & gt 'exercise', 'auto'
@@ -49,7 +49,7 @@ if $ARGS[0] = 'workout':
 		if exer_stam[3] ! 0 and pcs_stam > exer_stam[3]: act '<<$excer_name[3]>> - (<<exer_stam[3]>> stamina)': exercisex = 3 & gt 'exercise', 'auto'
 		if exer_stam[4] ! 0 and pcs_stam > exer_stam[4]: act '<<$excer_name[4]>> - (<<exer_stam[4]>> stamina)': exercisex = 4 & gt 'exercise', 'auto'
 		if exer_stam[5] ! 0 and pcs_stam > exer_stam[5]: act '<<$excer_name[5]>> - (<<exer_stam[5]>> stamina)': exercisex = 5 & gt 'exercise', 'auto'
-	elseif $clothingworntype ! 'nude' or $clothingworntype ! 'exercise':
+	else
 		'<b>You need to equip the proper attire before you can exercise</b>'
 	end
 end