1
0
Просмотр исходного кода

[fixed] Strength and hip values for swimwear and coats were not all updated

KevinSmarts 3 лет назад
Родитель
Сommit
1e19980451
3 измененных файлов с 16 добавлено и 16 удалено
  1. 2 2
      locations/changingroom.qsrc
  2. 2 2
      locations/cloakroom.qsrc
  3. 12 12
      locations/preCUST.qsrc

+ 2 - 2
locations/changingroom.qsrc

@@ -20,7 +20,7 @@ if $ARGS[0] = 'view_swim_list':
 		i = 1
 		h = 0
 		:loopswimwear
-			if swimwear[i] = 1 and swimwearS[i] = 0 and ($clothingworntype ! 'swimwear' or clothingwornnumber ! i):h += 1 & *p '<a href="exec:gt ''changingroom'', ''view_swim_item'', ''swimwear'', <<i>>"><img <<$set_imgh>> src="images/pc/clothing/12swimwear/<<i>>.jpg" 	height="250" /></a>'
+			if swimwear[i] = 1 and swimwear_s[i] = 0 and ($clothingworntype ! 'swimwear' or clothingwornnumber ! i):h += 1 & *p '<a href="exec:gt ''changingroom'', ''view_swim_item'', ''swimwear'', <<i>>"><img <<$set_imgh>> src="images/pc/clothing/12swimwear/<<i>>.jpg" 	height="250" /></a>'
 			i += 1
 		if i <= ARRSIZE('swimwear'):jump 'loopswimwear'
 
@@ -30,7 +30,7 @@ if $ARGS[0] = 'view_swim_list':
 		i = 1
 		h = 0
 		:loopbeach
-			if beach[i] = 1 and beachS[i] = 0 and ($clothingworntype ! 'beach' or clothingwornnumber ! i):h += 1 & *p '<a href="exec:gt ''changingroom'', ''view_swim_item'', ''beach'', <<i>>"><img <<$set_imgh>> src="images/pc/clothing/15beachbabe/<<i>>.jpg" 	height="250" /></a>'
+			if beach[i] = 1 and beach_s[i] = 0 and ($clothingworntype ! 'beach' or clothingwornnumber ! i):h += 1 & *p '<a href="exec:gt ''changingroom'', ''view_swim_item'', ''beach'', <<i>>"><img <<$set_imgh>> src="images/pc/clothing/15beachbabe/<<i>>.jpg" 	height="250" /></a>'
 			i += 1
 		if i <= ARRSIZE('beach'):jump 'loopbeach'
 

+ 2 - 2
locations/cloakroom.qsrc

@@ -113,12 +113,12 @@ if $ARGS[0] = 'view_coat_item':
 
 
 	$RESULT = '(strength '
-	dynamic '$RESULT += coatH[<<ARGS[1]>>]'
+	dynamic '$RESULT += coat_h[<<ARGS[1]>>]'
 	$RESULT += ')'
 	'<<$RESULT>>'
 
 	!! if the clothing is worn out
-	if dyneval('RESULT = coatH[<<ARGS[1]>>]') <= 0:
+	if dyneval('RESULT = coat_h[<<ARGS[1]>>]') <= 0:
 		'This item is worn and is not suitable for further wear.'
 		act 'Throw it away':
 			dynamic 'coat[<<ARGS[1]>>] = 0'

+ 12 - 12
locations/preCUST.qsrc

@@ -394,8 +394,8 @@ if $ARGS[0] = 'Done':
 		gm_dress_h[11] = 100
 		gm_dress_b[11] = pcs_hips
 		swimwear[3] = 1
-		swimwearH[3] = 60
-		swimwearB[3] = pcs_hips
+		swimwear_h[3] = 60
+		swimwear_b[3] = pcs_hips
 		sportsclothingnumber = 29
 		gs 'clothing', 'wear', 'gm_dress', 370
 	elseif goth_clothing = 1:
@@ -560,23 +560,23 @@ if $ARGS[0] = 'Done':
 		gm_dress_h[149] = 100
 		gm_dress_b[149] = pcs_hips
 		swimwear[24] = 1
-		swimwearH[24] = 60
-		swimwearB[24] = pcs_hips
+		swimwear_h[24] = 60
+		swimwear_b[24] = pcs_hips
 		sportsclothingnumber = 58
 		gs 'clothing', 'wear', 'gm_dress', 149
 	end
 	if swim_start = 58:
 		swimwear[58] = 1
-		swimwearH[58] = 60
-		swimwearB[58] = pcs_hips
+		swimwear_h[58] = 60
+		swimwear_b[58] = pcs_hips
 	elseif swim_start = 98:
 		swimwear[98] = 1
-		swimwearH[98] = 60
-		swimwearB[98] = pcs_hips
+		swimwear_h[98] = 60
+		swimwear_b[98] = pcs_hips
 	elseif swim_start = 69:
 		swimwear[69] = 1
-		swimwearH[69] = 60
-		swimwearB[69] = pcs_hips
+		swimwear_h[69] = 60
+		swimwear_b[69] = pcs_hips
 	end
 	
 !!setting default exercise outfit and setting coats
@@ -590,7 +590,7 @@ if $ARGS[0] = 'Done':
 		$sportsbratype = 'kats'
 		$sportspantytype = 'kats'
 		coat[14] = 1
-		coatH[14] = 200
+		coat_h[14] = 200
 		defaultcoat = 14
 		sportscoat = 14
 	else
@@ -604,7 +604,7 @@ if $ARGS[0] = 'Done':
 		$sportsbratype = 'cheap'
 		$sportspantytype = 'cheap'
 		coat[5] = 1
-		coatH[5] = 200
+		coat_h[5] = 200
 		defaultcoat = 5
 		sportscoat = 5
 		if school_clothing = 2: