소스 검색

Merge branch 'master' of https://git.tfgames.site/Kevin_Smarts/glife

Lusticon 9 달 전
부모
커밋
8853f2fba9
2개의 변경된 파일6개의 추가작업 그리고 12개의 파일을 삭제
  1. 0 12
      locations/clothing.qsrc
  2. 6 0
      locations/clothing_attributes.qsrc

+ 0 - 12
locations/clothing.qsrc

@@ -1461,12 +1461,6 @@ if $ARGS[0] = 'view_clothing_item':
 	'<center><img src="<<FUNC(''$clothing_image'',  $ARGS[1], ARGS[2])>>"></center>'
 	gs 'clothing_attributes', $ARGS[1], ARGS[2]
 
-	if CloTopCut > 1:
-		if tits = 2 or tits = 3: CloTopCut += 1
-		if tits >= 4: CloTopCut += 2
-		if CloTopCut > 2 and tits >=6: CloTopCut += 1
-	end
-
 	$RESULT = FUNC('$short_description', $ARGS[1], CloStyle2)
 	$RESULT += '<<ARGS[2]>>'
 	'<<$RESULT>>'
@@ -1895,12 +1889,6 @@ if $ARGS[0] = 'wear':
 
 	gs 'clothing_attributes', $ARGS[1], ARGS[2]
 
-	if CloTopCut > 1:
-		if tits = 2 or tits = 3: CloTopCut += 1
-		if tits >= 4: CloTopCut += 2
-		if CloTopCut > 2 and tits >=6: CloTopCut += 1
-	end
-
 	dynamic '<<$ARGS[1]>>_s[<<ARGS[2]>>] = 0'
 
 	if CloStyle2 = 4:

+ 6 - 0
locations/clothing_attributes.qsrc

@@ -277,5 +277,11 @@ if $ARGS[0] ! 'allure_swimsuit' and $ARGS[0] ! 'allure_bikinis' and $ARGS[0] ! '
 	end
 end
 
+if CloTopCut > 1:
+	if tits = 2 or tits = 3: CloTopCut += 1
+	if tits >= 4: CloTopCut += 2
+	if CloTopCut > 2 and tits >=6: CloTopCut += 1
+end
+
 --- clothing_attributes ---------------------------------