Forráskód Böngészése

[fixed] extra ends in scandalicious and wrong variable breaking market clothing lists, plus filter reset for markets

Kevin_Smarts 2 éve
szülő
commit
9e0f016726

+ 2 - 1
locations/city_market.qsrc

@@ -2,6 +2,7 @@
 !2021/04/29
 $location_type = 'public_outdoors'
 if $ARGS[0] = 'start' or $loc_arg = 'start':
+	killvar 'clothingfilter'
 	CLOSE ALL
 	if sound = 0:
 		if month >=11 and month <= 12 or month >=1 and month <=3:
@@ -200,7 +201,7 @@ if $ARGS[0] = 'clo':
 	i = 1
 	:loopmarket_outfits
 		if loopmarket_outfits[i] = 0:
-			gs 'clothing_attributes', 'loopmarket_outfits', i
+			gs 'clothing_attributes', 'market_outfits', i
 			gs 'clothing_QV', 'shop_filter'
 
 			!!sort by filter

+ 2 - 1
locations/pav_train_market.qsrc

@@ -2,6 +2,7 @@
 !2021/04/29
 $location_type = 'public_outdoors'
 if $ARGS[0] = 'start':
+	killvar 'clothingfilter'
 	$loc_arg = 'start'
 	$loc = 'pav_train_market'
 	$menu_loc = 'pav_train_market'
@@ -250,7 +251,7 @@ if $ARGS[0] = 'clo':
 	i = 1
 	:loopmarket_outfits
 		if loopmarket_outfits[i] = 0:
-			gs 'clothing_attributes', 'loopmarket_outfits', i
+			gs 'clothing_attributes', 'market_outfits', i
 			gs 'clothing_QV', 'shop_filter'
 
 			!!sort by filter

+ 0 - 2
locations/scandalicious.qsrc

@@ -216,7 +216,6 @@ if $ARGS[0] = 'swim':
 
 				!!sort by filter
 				if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0: *p '<a href="exec: i = <<i>> & gt ''scandalicious'', ''swim1''"><img src="images/pc/items/scandalicious/swim/one/<<i>>.jpg" 	height="250" /></a>'
-				end
 			end
 			i += 1
 		if i <= 40:jump 'loopscandalicious_swimsuit'
@@ -260,7 +259,6 @@ if $ARGS[0] = 'bikinis':
 
 				!!sort by filter
 				if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0: *p '<a href="exec: i = <<i>> & gt ''scandalicious'', ''bikini1''"><img src="images/pc/items/scandalicious/swim/two/<<i>>.jpg" 	height="250" /></a>'
-				end
 			end
 			i += 1
 		if i <= 70:jump 'loopscandalicious_bikinis'