123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238 |
- # budgetclothes
- if $ARGS[0] = 'start':
- $metka = $ARGS[0]
- $loc = $CURLOC
- $metkaM = $ARGS[0]
- $locM = $CURLOC
- '<center><b><font color="maroon">Welcome to G & M - Clothes for all your needs</font></b></center>'
- clr
- gs 'stat'
- fcolor = rgb(0, 0, 0)
- bcolor = rgb(255, 255, 255)
- lcolor = rgb(106, 90, 205)
- 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''"><div style="width:100%; max-width:250px; max-height:250px;"><img src="images/Clothing/1cheap/Cheap<<i>>.jpg" height="250" /></div></a>'
- i += 6
- if i = 77:i = 83
- if i <= 85: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''"><div style="width:100%; max-width:250px; max-height:250px;"><img src="images/Clothing/5office/Office<<i>>.jpg" height="250" /></div></a>'
- i += 3
- if i <= 30: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''"><div style="width:100%; max-width:250px; max-height:250px;"><img src="images/Clothing/10uniform/Uniform<<i>>.jpg" height="250" /></div></a>'
- i += 3
- if i <= 24: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 > 11:
- i = 1
- else
- i = 2
- end
- :loopschool
- if school[i] = 0:*p '<a href="exec: i = <<i>> & gt ''budgetclothes'', ''schoolclo''"><div style="width:100%; max-width:250px; max-height:250px;"><img src="images/Clothing/6school/School<<i>>.jpg" height="250" /></div></a>'
- i += 2
- if i <= 14: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''"><div style="width:100%; max-width:250px; max-height:250px;"><img src="images/Clothing/11coat/Coat<<i>>.jpg" height="250" /></div></a>'
- i += 1
- if i = 5:i = 6
- if i = 9:i = 10
- if i = 11:i = 12
- if i <= 12: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 ---------------------------------
|