Browse Source

Changes to inhibition variable in clothing files

KevinSmarts 6 years ago
parent
commit
d28a3a5528
3 changed files with 22 additions and 22 deletions
  1. 5 5
      locations/clothing.qsrc
  2. 16 16
      locations/clothing_QV.qsrc
  3. 1 1
      locations/wardrobe.qsrc

+ 5 - 5
locations/clothing.qsrc

@@ -357,7 +357,7 @@ if $ARGS[0] = 'view_clothing_item':
 
 	if CloStyle = 4:'This outfit can be used for prostitution.'
 
-	if CloExhibit + 10 > pcs_exhibition and CloExhibit <= pcs_exhibition: 'You find this outfit more revealing than you are completely comfortable with but that makes it quite exciting too.'
+	if CloInhibit + 10 > pcs_inhib and CloInhibit <= pcs_inhib: 'You find this outfit more revealing than you are completely comfortable with but that makes it quite exciting too.'
 
 	if $ARGS[2] = 'uniform':
 		if CloStyle2 = 1:
@@ -403,7 +403,7 @@ if $ARGS[0] = 'view_clothing_item':
 			end
 			'Price: <<price>> <b>₽</b>'
 			act 'Leave': gt $loc, $metka
-			if CloExhibit > pcs_exhibition:
+			if CloInhibit > pcs_inhib:
 				'You don''t feel daring enough to wear an outfit this revealing and can''t bring yourself to buy it.'
 			elseif money >= Price:
 				act 'Buy':
@@ -504,7 +504,7 @@ if $ARGS[0] = 'view_clothing_item':
 
 		if $ARGS[2] ! 'coat' and $ARGS[2] ! 'swimwear':
 
-			if CloExhibit > pcs_exhibition:
+			if CloInhibit > pcs_inhib:
 				'You don''t feel daring enough to wear an outfit this revealing.'
 			elseif ARRPOS('$CloLosTyp', $ARGS[2]) ! -1 and ARRPOS('CloLosNum',ARGS[3]) ! -1 :
 				'You lost these clothes somewhere, maybe you can find them again?.'
@@ -626,7 +626,7 @@ if $ARGS[0] = 'strip':
 	PCloStyle = 0
 	PCloStyle2 = 0
 	PCloBimbo = 0
-	PCloExhibit = 0
+	PCloInhibit = 0
 	PXCloThinness = 0
 	PXCloTopCut = 0
 	PXCloSkirtShortness = 0
@@ -707,7 +707,7 @@ if $ARGS[0] = 'wear':
 	PCloPanties = CloPanties
 	PCloStyle = CloStyle
 	PCloStyle2 = CloStyle2
-	PCloExhibit = CloExhibit
+	PCloInhibit = CloInhibit
 	if $cheatBimbo ! '<b>ON</b>':
 		PCloBimbo = CloBimbo
 		if CloBimbo = 1:bimbocl = 1

+ 16 - 16
locations/clothing_QV.qsrc

@@ -42,7 +42,7 @@ if $ARGS[0] = 'gm':
 	:loopcheap
 	if cheap[i] = 1: 
 		gs 'clothing_attributes', 'cheap', i
-		if CloExhibit <= pcs_exhibition:
+		if CloInhibit <= pcs_inhib:
 			if CloStyle ! 5:
 				if cheapS[i] = 0 and cheapH[i] > 0 and cheapB[i] >= (pcs_hips - 8) and cheapB[i] <= (pcs_hips + 8):*p '<a href="exec:gt ''clothing_QV'', ''change'', ''cheap'', <<i>>"><img src="images/pc/clothing/1cheap/<<i>>.jpg" 	height="250" /></a>'
 			else
@@ -57,7 +57,7 @@ if $ARGS[0] = 'gm':
 	:loopoffice
 	if office[i] = 1:
 		gs 'clothing_attributes', 'office', i
-		if CloExhibit <= pcs_exhibition:
+		if CloInhibit <= pcs_inhib:
 			if officeS[i] = 0 and officeH[i] > 0 and officeB[i] >= (pcs_hips - 8) and officeB[i] <= (pcs_hips + 8):*p '<a href="exec:gt ''clothing_QV'', ''change'', ''office'', <<i>>"><img src="images/pc/clothing/5office/<<i>>.jpg" 	height="250" /></a>'
 		end
 	end
@@ -68,7 +68,7 @@ if $ARGS[0] = 'gm':
 	:loopschool
 	if school[i] = 1:
 		gs 'clothing_attributes', 'school', i
-		if CloExhibit <= pcs_exhibition:
+		if CloInhibit <= pcs_inhib:
 			if schoolS[i] = 0 and schoolH[i] > 0 and schoolB[i] >= (pcs_hips - 8) and schoolB[i] <= (pcs_hips + 8):*p '<a href="exec:gt ''clothing_QV'', ''change'', ''school'', <<i>>"><img src="images/pc/clothing/6school/<<i>>.jpg" 	height="250" /></a>'
 		end
 	end
@@ -80,7 +80,7 @@ if $ARGS[0] = 'gm':
 	:loopuniform
 	if uniform[i] = 1:
 		gs 'clothing_attributes', 'uniform', i
-		if CloExhibit <= pcs_exhibition:
+		if CloInhibit <= pcs_inhib:
 			if uniformS[i] = 0 and uniformH[i] > 0 and uniformB[i] >= (pcs_hips - 8) and uniformB[i] <= (pcs_hips + 8):*p '<a href="exec:gt ''clothing_QV'', ''change'', ''uniform'', <<i>>"><img src="images/pc/clothing/10uniform/<<i>>.jpg" 	height="250" /></a>'
 		end
 	end
@@ -98,7 +98,7 @@ if $ARGS[0] = 'kats':
 	:loopaverage
 	if average[i] = 1:
 		gs 'clothing_attributes', 'average', i
-		if CloExhibit <= pcs_exhibition:
+		if CloInhibit <= pcs_inhib:
 			if CloStyle ! 5:
 				if averageS[i] = 0 and averageH[i] > 0 and averageB[i] >= (pcs_hips - 8) and averageB[i] <= (pcs_hips + 8):*p '<a href="exec:gt ''clothing_QV'', ''change'', ''average'', <<i>>"><img src="images/pc/clothing/2average/<<i>>.jpg" 	height="250" /></a>'
 			else
@@ -120,7 +120,7 @@ if $ARGS[0] = 'fashionista':
 	:loopexpensive
 	if expensive[i] = 1:
 		gs 'clothing_attributes', 'expensive', i
-		if CloExhibit <= pcs_exhibition:
+		if CloInhibit <= pcs_inhib:
 			if CloStyle ! 5:
 				if expensiveS[i] = 0 and expensiveH[i] > 0 and expensiveB[i] >= (pcs_hips - 8) and expensiveB[i] <= (pcs_hips + 8):*p '<a href="exec:gt ''clothing_QV'', ''change'', ''expensive'', <<i>>"><img src="images/pc/clothing/3expensive/<<i>>.jpg" 	height="250" /></a>'
 			else
@@ -142,7 +142,7 @@ if $ARGS[0] = 'moncheri':
 	:loopformal
 	if formal[i] = 1:
 		gs 'clothing_attributes', 'formal', i
-		if CloExhibit <= pcs_exhibition:
+		if CloInhibit <= pcs_inhib:
 			if formalS[i] = 0 and formalH[i] > 0 and formalB[i] >= (pcs_hips - 8) and formalB[i] <= (pcs_hips + 8):*p '<a href="exec:gt ''clothing_QV'', ''change'', ''formal'', <<i>>"><img src="images/pc/clothing/4formal/<<i>>.jpg" 	height="250" /></a>'
 		end
 	end
@@ -160,7 +160,7 @@ if $ARGS[0] = 'sexshop':
 	:loopfetish
 	if fetish[i] = 1:
 		gs 'clothing_attributes', 'fetish', i
-		if CloExhibit <= pcs_exhibition:
+		if CloInhibit <= pcs_inhib:
 			if fetishS[i] = 0 and fetishH[i] > 0 and fetishB[i] >= (pcs_hips - 8) and fetishB[i] <= (pcs_hips + 8):*p '<a href="exec:gt ''clothing_QV'', ''change'', ''fetish'', <<i>>"><img src="images/pc/clothing/8fetish/<<i>>.jpg" 	height="250" /></a>'
 		end
 	end
@@ -171,7 +171,7 @@ if $ARGS[0] = 'sexshop':
 	:loopburlesque
 	if burlesque[i] = 1:
 		gs 'clothing_attributes', 'burlesque', i
-		if CloExhibit <= pcs_exhibition:
+		if CloInhibit <= pcs_inhib:
 			if burlesqueS[i] = 0 and burlesqueH[i] > 0 and burlesqueB[i] >= (pcs_hips - 8) and burlesqueB[i] <= (pcs_hips + 8):*p '<a href="exec:gt ''clothing_QV'', ''change'', ''burlesque'', <<i>>"><img src="images/pc/clothing/13burlesque/<<i>>.jpg" 	height="250" /></a>'
 		end
 	end
@@ -189,7 +189,7 @@ if $ARGS[0] = 'exhibitshop':
 	:loopexhibit
 	if exhibit[i] = 1:
 		gs 'clothing_attributes', 'exhibit', i
-		if CloExhibit <= pcs_exhibition:
+		if CloInhibit <= pcs_inhib:
 			if exhibitS[i] = 0 and exhibitH[i] > 0 and exhibitB[i] >= (pcs_hips - 8) and exhibitB[i] <= (pcs_hips + 8):*p '<a href="exec:gt ''clothing_QV'', ''change'', ''exhibit'', <<i>>"><img src="images/pc/clothing/9exhibit/<<i>>.jpg" 	height="250" /></a>'
 		end
 	end
@@ -207,7 +207,7 @@ if $ARGS[0] = 'dolls':
 	:loopalternative
 	if alternative[i] = 1:
 		gs 'clothing_attributes', 'alternative', i
-		if CloExhibit <= pcs_exhibition:
+		if CloInhibit <= pcs_inhib:
 			if alternativeS[i] = 0 and alternativeH[i] > 0 and alternativeB[i] >= (pcs_hips - 8) and alternativeB[i] <= (pcs_hips + 8):*p '<a href="exec:gt ''clothing_QV'', ''change'', ''alternative'', <<i>>"><img src="images/pc/clothing/14alternative/<<i>>.jpg" 	height="250" /></a>'
 		end
 	end
@@ -225,7 +225,7 @@ if $ARGS[0] = 'sports':
 	:loopexercise
 	if exercise[i] = 1:
 		gs 'clothing_attributes', 'exercise', i
-		if CloExhibit <= pcs_exhibition:
+		if CloInhibit <= pcs_inhib:
 			if exerciseS[i] = 0 and exerciseH[i] > 0:*p '<a href="exec:gt ''clothing_QV'', ''change'', ''exercise'', <<i>>"><img src="images/pc/clothing/7exercise/<<i>>.jpg" 	height="250" /></a>'
 		end
 	end
@@ -247,7 +247,7 @@ if $ARGS[0] = 'gym':
 	:loopexercise2
 	if exercise[i] = 1:
 		gs 'clothing_attributes', 'exercise', i
-		if CloExhibit <= pcs_exhibition:
+		if CloInhibit <= pcs_inhib:
 			if exerciseS[i] = 0 and exerciseH[i] > 0:*p '<a href="exec:gt ''clothing_QV'', ''change'', ''exercise'', <<i>>"><img src="images/pc/clothing/7exercise/<<i>>.jpg" 	height="250" /></a>'
 		end
 	end
@@ -348,12 +348,12 @@ if $ARGS[0] = 'change':
 
 	if $clothingworntype = $ARGS[1] and clothingwornnumber = ARGS[2]:
 		'You are wearing this outfit.'
-	elseif CloExhibit > pcs_exhibition:
+	elseif CloInhibit > pcs_inhib:
 		'You don''t feel confident enough to wear an outfit this revealing.'
 	elseif ARRPOS('$CloLosTyp', $ARGS[1]) ! -1 and ARRPOS('CloLosNum',ARGS[2]) ! -1 :
 		'You lost these clothes somewhere, maybe you can find them again?.'
 	else
-		if CloExhibit + 10 > pcs_exhibition: 'You find this outfit more revealing than you are completely comfortable with but that makes it quite exciting too.'
+		if CloInhibit + 10 > pcs_inhib: 'You find this outfit more revealing than you are completely comfortable with but that makes it quite exciting too.'
 		act 'Wear this outfit':
 			gs 'clothing', 'wear', $ARGS[1], ARGS[2]
 
@@ -415,7 +415,7 @@ if $ARGS[0] = 'shop_header':
 end
 
 if $ARGS[0] = 'shop_filter':
-	if (clothingfilter_comf = 0 and CloExhibit + 10 < pcs_exhibition) or (clothingfilter_daring = 0 and CloExhibit + 10 >= pcs_exhibition and CloExhibit <= pcs_exhibition) or (clothingfilter_too_daring = 0 and CloExhibit > pcs_exhibition):
+	if (clothingfilter_comf = 0 and CloInhibit + 10 < pcs_inhib) or (clothingfilter_daring = 0 and CloInhibit + 10 >= pcs_inhib and CloInhibit <= pcs_inhib) or (clothingfilter_too_daring = 0 and CloInhibit > pcs_inhib):
 		clothingfilter_risk = 1
 	else
 		clothingfilter_risk = 0

+ 1 - 1
locations/wardrobe.qsrc

@@ -187,7 +187,7 @@ if $ARGS[0] = 'default_entry_wear':
 			gt 'wardrobe', 'start'
 		end
 	!! clothing exhibition is greater than player exhibition
-	elseif CloExhibit > pcs_exhibition:
+	elseif CloInhibit > pcs_inhib:
 		cls
 		'<center><video autoplay loop src="images/locations/pavlovsk/trainstation/bimbo.strip6.mp4"></video></center>'
 		'You don''t feel daring enough to wear your <<$def_clothing_name[default_entry]>> outfit. Maybe you will be confident enough in the future? Guess you will have to find something else to wear.'