123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- # NewCloShop
- $location_type = 'event'
- if $ARGS[0] = 'start':
- $metka = $ARGS[0]
- $loc = $CURLOC
- $metkaM = $ARGS[0]
- $locM = $CURLOC
- clr
- mag = 1
- gs 'stat'
- fcolor = rgb(0, 0, 0)
- bcolor = rgb(255, 255, 255)
- lcolor = rgb(106, 90, 205)
- '<center><b><font color="maroon">Shop "Fashionista"</font></b></center>'
-
- act 'View Clothing':
- cla
- minut += 5
- gt 'NewCloShop', 'clothes'
- end
- act 'Leave':
- mag = 0
- minut += 15
- view
- gt 'torgcentr'
- end
- end
- if $ARGS[0] = 'clothes':
- $metka = $ARGS[0]
- $loc = $CURLOC
- cls
- gs'stat'
- act 'Return':
- cla
- minut += 5
- gt 'NewCloShop', 'start'
- end
-
- i = Clothingstock +1
- if Clothingstock - 12 > 0:i -= 12
- :loopexpensive
- if expensive[i] = 0:*p '<a href="exec: i = <<i>> & gt ''NewCloShop'', ''shmotmag''"><img src="images/clothing/3expensive/expensive<<i>>.jpg" height="250" /></a>'
- i += 12
- if i <= 147:jump 'loopexpensive'
- end
- if $ARGS[0] = 'shmotmag':
- cla
-
- if expensive[i] ! 0:
- msg 'You already own these clothes.'
- gt 'NewCloShop', 'clothes'
- end
- gt 'clothing', 'view_clothing_item', 'shop', 'expensive',i, 10000
- end
- --- NewCloShop ---------------------------------
|