123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248 |
- # budgetclothes
- if $ARGS[0] = 'start':
- $metka = $ARGS[0]
- $loc = $CURLOC
- $metkaM = $ARGS[0]
- $locM = $CURLOC
- $location_type = 'event'
- '<center><b><font color="maroon">Welcome to G & M - Clothes for all your needs</font></b></center>'
- clr
- gs 'stat'
- if night_mode = 1:
- fcolor = rgb(255, 255, 255)
- bcolor = rgb(0, 0, 0)
- lcolor = rgb(106, 90, 205)
- else
- fcolor = rgb(0, 0, 0)
- bcolor = rgb(255, 255, 255)
- lcolor = rgb(106, 90, 205)
- end
- act 'View cheap clothing':
- cla
- minut += 5
- gt 'budgetclothes', 'clothes'
- end
-
- act 'View office wear':
- cla
- minut += 5
- gt 'budgetclothes', 'office'
- end
- act 'View uniforms':
- cla
- minut += 5
- gt 'budgetclothes', 'uniform'
- end
- act 'View school uniforms':
- cla
- minut += 5
- gt 'budgetclothes', 'school'
- end
- act 'View coats':
- cla
- minut += 5
- gt 'budgetclothes', 'coats'
- end
- act 'Leave the store':
- cla
- if torg = 1:
- minut += 3
- gt 'torgcentr'
- else
- gt 'Gshveyfab', 'start'
- end
- end
- end
- if $ARGS[0] = 'clothes':
- $metka = $ARGS[0]
- $loc = $CURLOC
- cls
- gs'stat'
- act 'Return':
- cla
- minut += 5
- gt 'budgetclothes', 'start'
- end
- i = Clothingstock + 1
- if Clothingstock - 18 > 0:
- i -= 18
- elseif Clothingstock - 12 > 0:
- i -= 12
- elseif Clothingstock - 6 > 0:
- i -= 6
- end
- :loopcheap
- if cheap[i] = 0:*p '<a href="exec: i = <<i>> & gt ''budgetclothes'', ''cheapclo''"><img src="images/pc/clothing/1cheap/<<i>>.jpg" height="250" /></a>'
- i += 6
- if i = 77:i = 83
- if i <= 86:jump 'loopcheap'
- end
- if $ARGS[0] = 'cheapclo':
- cla
-
- if cheap[i] ! 0:
- msg 'You already own these clothes.'
- gt 'budgetclothes', 'clothes'
- end
- gt 'clothing', 'view_clothing_item', 'shop', 'cheap',i, 2000
- end
- if $ARGS[0] = 'office':
- $metka = $ARGS[0]
- $loc = $CURLOC
- cls
- gs'stat'
- act 'Return':
- cla
- minut += 5
- gt 'budgetclothes', 'start'
- end
- if Clothingstock > 15:
- i = 1
- elseif Clothingstock > 7:
- i = 2
- else
- i = 3
- end
- :loopoffice
- if office[i] = 0:*p '<a href="exec: i = <<i>> & gt ''budgetclothes'', ''officeclo''"><img src="images/pc/clothing/5office/<<i>>.jpg" height="250" /></a>'
- i += 3
- if i <= 44:jump 'loopoffice'
- end
- if $ARGS[0] = 'officeclo':
- cla
-
- if office[i] ! 0:
- msg 'You already own these clothes.'
- gt 'budgetclothes', 'office'
- end
- gt 'clothing', 'view_clothing_item', 'shop', 'office',i, 4000
- end
- if $ARGS[0] = 'uniform':
- $metka = $ARGS[0]
- $loc = $CURLOC
- cls
- gs'stat'
- act 'Return':
- cla
- minut += 5
- gt 'budgetclothes', 'start'
- end
- if Clothingstock > 7:
- i = 1
- elseif Clothingstock > 15:
- i = 2
- else
- i = 3
- end
- :loopuniform
- if uniform[i] = 0:*p '<a href="exec: i = <<i>> & gt ''budgetclothes'', ''uniformclo''"><img src="images/pc/clothing/10uniform/<<i>>.jpg" height="250" /></a>'
- i += 3
- if i <= 32:jump 'loopuniform'
- end
- if $ARGS[0] = 'uniformclo':
- cla
-
- if uniform[i] ! 0:
- msg 'You already own these clothes.'
- gt 'budgetclothes', 'uniform'
- end
- gt 'clothing', 'view_clothing_item', 'shop', 'uniform',i, 3000
- end
- if $ARGS[0] = 'school':
- $metka = $ARGS[0]
- $loc = $CURLOC
- cls
- gs'stat'
- act 'Return':
- cla
- minut += 5
- gt 'budgetclothes', 'start'
- end
- if Clothingstock > 7:
- i = 1
- elseif Clothingstock > 15:
- i = 2
- else
- i = 3
- end
- :loopschool
- if school[i] = 0:*p '<a href="exec: i = <<i>> & gt ''budgetclothes'', ''schoolclo''"><img src="images/pc/clothing/6school/<<i>>.jpg" height="250" /></a>'
- i += 3
- if i = 6:i = 9
- if i <= 38:jump 'loopschool'
- end
- if $ARGS[0] = 'schoolclo':
- cla
-
- if school[i] ! 0:
- msg 'You already own these clothes.'
- gt 'budgetclothes', 'school'
- end
- gt 'clothing', 'view_clothing_item', 'shop', 'school',i, 3000
- end
- if $ARGS[0] = 'coats':
- $metka = $ARGS[0]
- $loc = $CURLOC
- cls
- gs'stat'
- act 'Return':
- cla
- minut += 5
- gt 'budgetclothes', 'start'
- end
- i = 2
- :loopcoats
- if coat[i] = 0:*p '<a href="exec: i = <<i>> & gt ''budgetclothes'', ''coatsclo''"><img src="images/pc/clothing/11coat/<<i>>.jpg" height="250" /></a>'
- i += 1
- if i = 5:i = 6
- if i = 9:i = 10
- if i = 11:i = 12
- if i <= 19:jump 'loopcoats'
- end
- if $ARGS[0] = 'coatsclo':
- cla
-
- if coat[i] ! 0:
- msg 'You already own these clothes.'
- gt 'budgetclothes', 'coats'
- end
- gt 'clothing', 'view_clothing_item', 'shop', 'coat',i, 8000
- end
- --- budgetclothes ---------------------------------
|