Kaynağa Gözat

[changed] edited 'shop_fancy_pancy' to use the generalized display loops

f95Lok 2 hafta önce
ebeveyn
işleme
a49c62863d
1 değiştirilmiş dosya ile 2 ekleme ve 39 silme
  1. 2 39
      locations/shop_fancy_pancy.qsrc

+ 2 - 39
locations/shop_fancy_pancy.qsrc

@@ -30,46 +30,9 @@ if $ARGS[0] = 'clothes':
 	'<center><b><font color="maroon">Viewing Fancy Pancy outfits</font></b></center>'
 	*nl
 
-	if intro_custom_shop_return = 1:
-		act 'Return': gt 'intro_customization', 'modclo'
-		step = intro_custom_step
-	else
-		act 'Return': minut += 1 & gt 'shop_fancy_pancy', 'start'
-		step = 2
-	end
+	gt 'shop_utils', 'display_clothes', 'fancy_burlesque', 2, 'fancy/burlesque', 'shop', Clothingstock mod 2
 
-	gs 'clothing_QV', 'shop_filter_header'
-	gs 'clothing', 'totals', 'fancy_burlesque'
-	
-	!!To filter just this set
-	clo_i = 0
-	:loopfancy_burlesque_filter
-		i = 1 + Clothingstock mod 2
-		:loopfancy_burlesque
-			if fancy_burlesque[i] = 0:
-				gs 'clothing_attributes', 'fancy_burlesque', i
-				gs 'clothing_QV', 'shop_filter'
-
-				!!sort by filter
-				if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
-					if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1: *p '<a href="exec: i = <<i>> & gt ''shop_fancy_pancy'', ''fancy_burlesque''"><img src="images/pc/items/fancy/burlesque/<<i>>.jpg"	 height="250" /></a>'
-				end
-			end
-			i += step
-		if i <= total: jump 'loopfancy_burlesque'
-		clo_i += 1
-	if clothingfilter['quality'] = 0 and clo_i <= 7 or clothingfilter['inhibition'] = 0 and clo_i <= 50:
-		jump 'loopfancy_burlesque_filter'
-	end
-end
-
-if $ARGS[0] = 'fancy_burlesque':
-	if fancy_burlesque[i] ! 0:
-		msg 'You already own these clothes.'
-		gt 'shop_fancy_pancy', 'clothes'
-	end
-
-	gt 'clothing', 'view_clothing_item', 'fancy_burlesque', i, 20000, 'shop'
+	act 'Return': minut += 1 & gt 'shop_fancy_pancy', 'start'
 end
 
 --- shop_fancy_pancy ---------------------------------