0
0
Эх сурвалжийг харах

[fixed] Underwear in appearance system was not using the new quality attributes

Kevin_Smarts 1 жил өмнө
parent
commit
1c42198d4f

+ 14 - 6
locations/AppearanceSystem.qsrc

@@ -251,16 +251,24 @@ if $ARGS[0] = 'CalcAccessoriesBonus':
 	shoesQualityBonus = ARGS[2] & !! PShoQuality
 
 	!!bonuses for certain underwear
-	if $pantyworntype = 'lusso':
+	if PanQuality = 6:
 		pantyBonus = 4
-	elseif $pantyworntype = 'fashionista':
+	elseif PanQuality = 5:
+		pantyBonus = 3
+	elseif PanQuality <= 3:
 		pantyBonus = 2
+	else
+		pantyBonus = PanQuality - 1
 	end
 
-	if $braworntype = 'lusso':
-		braBonus = 4
-	elseif $braworntype = 'fashionista':
-		braBonus = 2
+	if BraQuality = 6:
+		pantyBonus = 4
+	elseif BraQuality = 5:
+		pantyBonus = 3
+	elseif BraQuality <= 3:
+		pantyBonus = 2
+	else
+		pantyBonus = BraQuality - 1
 	end
 
 	result = coatQualityBonus + shoesQualityBonus + pantyBonus + braBonus