Эх сурвалжийг харах

[fixed] forgot to transition 'office' outfits to new display system in 'gm_shop'

f95Lok 2 долоо хоног өмнө
parent
commit
4545f42f4b
1 өөрчлөгдсөн 2 нэмэгдсэн , 33 устгасан
  1. 2 33
      locations/shop_gm.qsrc

+ 2 - 33
locations/shop_gm.qsrc

@@ -76,40 +76,9 @@ if $ARGS[0] = 'office':
 	'<center><b><font color="maroon">Viewing G&M office clothing</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_gm', 'start'
-		step = 1
-	end
+	gs 'shop_utils', 'display_clothes', 'gm_office', 1, 'gm/office', 'shop'
 
-	gs 'clothing_QV', 'shop_filter_header'
-	gs 'clothing', 'totals', 'gm_office'
-
-	step = 1
-	if intro_custom_step ! 0: step = intro_custom_step
-
-	!!To filter just this set
-	clo_i = 0
-	:loopoffice_filter
-		i = 1
-		:loopoffice
-			if gm_office[i] = 0:
-				gs 'clothing_attributes', 'gm_office', 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_gm'', ''officeclo''"><img src="images/pc/items/gm/office/<<i>>.jpg"	 height="250" /></a>'
-				end
-			end
-			i += step
-		if i <= total: jump 'loopoffice'
-		clo_i += 1
-	if clothingfilter['quality'] = 0 and clo_i <= 7 or clothingfilter['inhibition'] = 0 and clo_i <= 50:
-		jump 'loopoffice_filter'
-	end
+	act 'Return': minut += 1 & gt 'shop_gm', 'start'
 end
 
 if $ARGS[0] = 'gm_maid':