1234567891011121314151617181920212223242526272829303132333435 |
- # sell_young_clothes
- $metka = $ARGS[0]
- $loc = $CURLOC
- cls
- gs'stat'
- act 'Return':
- cla
- minut += 5
- gt 'young_shop'
- end
- i = Clothingstock + 1
- if Clothingstock - 12 >= 0:i -= 12
- :loopaverage
- if average[i] = 0:*p '<a href="exec: i = <<i>> & dynamic $yshopclo"><img <<$set_imgh>> src="images/pc/clothing/2average/<<i>>.jpg" height="250" /></a>'
- i += 12
- if i <= 132:jump 'loopaverage'
- $yshopclo = {
- cla
-
- if average[i] ! 0:
- msg 'You already own these clothes.'
- gt 'sell_young_clothes'
- end
- gt 'clothing', 'view_clothing_item', 'shop', 'average',i, 7500
- }
- --- sell_young_clothes ---------------------------------
|