123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366 |
- # budgetclothes
- if $ARGS[0] = 'start' or $shoplocation = 'start':
- $metka = $ARGS[0]
- $loc = 'budgetclothes'
- $location_type = 'event'
- $shoplocation = 'start'
- '<center><b><font color="maroon">Welcome to G & M - Clothes for all your needs</font></b></center>'
- '<center><img <<$set_imgh>> src="images/locations/city/citycenter/mall/gandm/shop.jpg"</center>'
- clr
- *pl '<center><table align="center" width=80%>'
- *P FUNC ('$stock_item', 1, 'Panties', 300, 'clrbelo', 'budgetclothes')
- *P FUNC ('$stock_item', 7, 'Pack of 7 pairs of panties', 2000, 'clrbelo', 'budgetclothes')
- *P FUNC ('$stock_item', 1, 'Bra', 300, 'clrbra', 'budgetclothes')
- *P FUNC ('$stock_item', 7, 'Pack of 7 bras', 2000, 'clrbra', 'budgetclothes')
- *P '</table></center>'
- 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 'Visit clothing department':
- cla
- act 'View cheap clothing':
- $shoplocation = ''
- minut += 5
- gt 'budgetclothes', 'clothes'
- end
-
- act 'View office wear':
- $shoplocation = ''
- minut += 5
- gt 'budgetclothes', 'office'
- end
- act 'View uniforms':
- $shoplocation = ''
- minut += 5
- gt 'budgetclothes', 'uniform'
- end
- act 'View school uniforms':
- $shoplocation = ''
- minut += 5
- gt 'budgetclothes', 'school'
- end
- act 'Return':gt 'budgetclothes', 'start'
- end
- act 'Visit shoe department':
- cla
- $shoplocation = ''
- act 'Look at regular shoes':
- $shoplocation = ''
- minut += 5
- gt 'budgetclothes', 'shoes'
- end
- act 'Look at exercise shoes':
- $shoplocation = ''
- minut += 5
- gt 'budgetclothes', 'trainers'
- end
- act 'Return':gt 'budgetclothes', 'start'
- end
- act 'View coats':
- cla
- $shoplocation = ''
- minut += 5
- gt 'budgetclothes', 'coats'
- end
- act 'View purses':
- cla
- $shoplocation = ''
- minut += 5
- gt 'budgetclothes', 'purses'
- end
- act 'Leave the store':
- cla
- $shoplocation = ''
- if torg = 1:
- minut += 3
- gt 'torgcentr'
- else
- gt 'Gshveyfab', 'start'
- end
- end
- end
- if $ARGS[0] = 'clothes':
- $metka = $ARGS[0]
- $loc = 'budgetclothes'
- 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 <= 413: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 = 'budgetclothes'
- 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 <= 101: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 = 'budgetclothes'
- 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
- :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 <= 49: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 = 'budgetclothes'
- 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
- :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 <= 62: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] = 'shoes':
- $metka = 'shoes'
- $loc = 'budgetclothes'
- 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
- :loopgandm_shoes
- if sgandm[i] = 0:*p '<a href="exec: i = <<i>> & gt ''budgetclothes'', ''budget_shoes''"><img src="images/pc/shoes/G&M/<<i>>.jpg" height="250" /></a>'
- i += 3
- if i = 6:i = 9
- if i <= 51:jump 'loopgandm_shoes'
- end
- if $ARGS[0] = 'budget_shoes': gt 'shoes', 'view_shoe_item', 'shop', 'gandm',i, 1500
- if $ARGS[0] = 'trainers':
- $metka = 'trainers'
- $loc = 'budgetclothes'
- cls
- gs'stat'
- act 'Return':
- cla
- minut += 5
- gt 'budgetclothes', 'start'
- end
- if Clothingstock > 11:
- i = 1
- else
- i = 2
- end
- :looptrainers_shoes
- if strainers[i] = 0:*p '<a href="exec: i = <<i>> & gt ''budgetclothes'', ''training_shoes''"><img src="images/pc/shoes/trainers/<<i>>.jpg" height="250" /></a>'
- i += 2
- if i = 21:i = 23
- if i <= 29:jump 'looptrainers_shoes'
- end
- if $ARGS[0] = 'training_shoes': gt 'shoes', 'view_shoe_item', 'shop', 'trainers',i, 2500
- if $ARGS[0] = 'coats':
- $metka = $ARGS[0]
- $loc = 'budgetclothes'
- 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
- if $ARGS[0] = 'purses':
- $metka = 'purses'
- $loc = 'budgetclothes'
- cls
- gs'stat'
- act 'Return':
- cla
- minut += 5
- gt 'budgetclothes', 'start'
- end
- i = 1
- :looppurses
- if cheap_purse[i] = 0:*p '<a href="exec: i = <<i>> & gt ''budgetclothes'', ''purses2''"><img src="images/pc/purses/cheap/<<i>>.jpg" height="250" /></a>'
- i += 1
- if i <= 14:jump 'looppurses'
- end
- if $ARGS[0] = 'purses2': gt 'purses', 'view_purse_item', 'shop', 'cheap',i, 5000
- --- budgetclothes ---------------------------------
|