budgetclothes 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366
  1. # budgetclothes
  2. if $ARGS[0] = 'start' or $shoplocation = 'start':
  3. $metka = $ARGS[0]
  4. $loc = 'budgetclothes'
  5. $location_type = 'event'
  6. $shoplocation = 'start'
  7. '<center><b><font color="maroon">Welcome to G & M - Clothes for all your needs</font></b></center>'
  8. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/mall/gandm/shop.jpg"</center>'
  9. clr
  10. *pl '<center><table align="center" width=80%>'
  11. *P FUNC ('$stock_item', 1, 'Panties', 300, 'clrbelo', 'budgetclothes')
  12. *P FUNC ('$stock_item', 7, 'Pack of 7 pairs of panties', 2000, 'clrbelo', 'budgetclothes')
  13. *P FUNC ('$stock_item', 1, 'Bra', 300, 'clrbra', 'budgetclothes')
  14. *P FUNC ('$stock_item', 7, 'Pack of 7 bras', 2000, 'clrbra', 'budgetclothes')
  15. *P '</table></center>'
  16. gs 'stat'
  17. if night_mode = 1:
  18. fcolor = rgb(255, 255, 255)
  19. bcolor = rgb(0, 0, 0)
  20. lcolor = rgb(106, 90, 205)
  21. else
  22. fcolor = rgb(0, 0, 0)
  23. bcolor = rgb(255, 255, 255)
  24. lcolor = rgb(106, 90, 205)
  25. end
  26. act 'Visit clothing department':
  27. cla
  28. act 'View cheap clothing':
  29. $shoplocation = ''
  30. minut += 5
  31. gt 'budgetclothes', 'clothes'
  32. end
  33. act 'View office wear':
  34. $shoplocation = ''
  35. minut += 5
  36. gt 'budgetclothes', 'office'
  37. end
  38. act 'View uniforms':
  39. $shoplocation = ''
  40. minut += 5
  41. gt 'budgetclothes', 'uniform'
  42. end
  43. act 'View school uniforms':
  44. $shoplocation = ''
  45. minut += 5
  46. gt 'budgetclothes', 'school'
  47. end
  48. act 'Return':gt 'budgetclothes', 'start'
  49. end
  50. act 'Visit shoe department':
  51. cla
  52. $shoplocation = ''
  53. act 'Look at regular shoes':
  54. $shoplocation = ''
  55. minut += 5
  56. gt 'budgetclothes', 'shoes'
  57. end
  58. act 'Look at exercise shoes':
  59. $shoplocation = ''
  60. minut += 5
  61. gt 'budgetclothes', 'trainers'
  62. end
  63. act 'Return':gt 'budgetclothes', 'start'
  64. end
  65. act 'View coats':
  66. cla
  67. $shoplocation = ''
  68. minut += 5
  69. gt 'budgetclothes', 'coats'
  70. end
  71. act 'View purses':
  72. cla
  73. $shoplocation = ''
  74. minut += 5
  75. gt 'budgetclothes', 'purses'
  76. end
  77. act 'Leave the store':
  78. cla
  79. $shoplocation = ''
  80. if torg = 1:
  81. minut += 3
  82. gt 'torgcentr'
  83. else
  84. gt 'Gshveyfab', 'start'
  85. end
  86. end
  87. end
  88. if $ARGS[0] = 'clothes':
  89. $metka = $ARGS[0]
  90. $loc = 'budgetclothes'
  91. cls
  92. gs'stat'
  93. act 'Return':
  94. cla
  95. minut += 5
  96. gt 'budgetclothes', 'start'
  97. end
  98. i = Clothingstock + 1
  99. if Clothingstock - 18 > 0:
  100. i -= 18
  101. elseif Clothingstock - 12 > 0:
  102. i -= 12
  103. elseif Clothingstock - 6 > 0:
  104. i -= 6
  105. end
  106. :loopcheap
  107. if cheap[i] = 0:*p '<a href="exec: i = <<i>> & gt ''budgetclothes'', ''cheapclo''"><img src="images/pc/clothing/1cheap/<<i>>.jpg" height="250" /></a>'
  108. i += 6
  109. if i = 77:i = 83
  110. if i <= 413:jump 'loopcheap'
  111. end
  112. if $ARGS[0] = 'cheapclo':
  113. cla
  114. if cheap[i] ! 0:
  115. msg 'You already own these clothes.'
  116. gt 'budgetclothes', 'clothes'
  117. end
  118. gt 'clothing', 'view_clothing_item', 'shop', 'cheap',i, 2000
  119. end
  120. if $ARGS[0] = 'office':
  121. $metka = $ARGS[0]
  122. $loc = 'budgetclothes'
  123. cls
  124. gs'stat'
  125. act 'Return':
  126. cla
  127. minut += 5
  128. gt 'budgetclothes', 'start'
  129. end
  130. if Clothingstock > 15:
  131. i = 1
  132. elseif Clothingstock > 7:
  133. i = 2
  134. else
  135. i = 3
  136. end
  137. :loopoffice
  138. if office[i] = 0:*p '<a href="exec: i = <<i>> & gt ''budgetclothes'', ''officeclo''"><img src="images/pc/clothing/5office/<<i>>.jpg" height="250" /></a>'
  139. i += 3
  140. if i <= 101:jump 'loopoffice'
  141. end
  142. if $ARGS[0] = 'officeclo':
  143. cla
  144. if office[i] ! 0:
  145. msg 'You already own these clothes.'
  146. gt 'budgetclothes', 'office'
  147. end
  148. gt 'clothing', 'view_clothing_item', 'shop', 'office',i, 4000
  149. end
  150. if $ARGS[0] = 'uniform':
  151. $metka = $ARGS[0]
  152. $loc = 'budgetclothes'
  153. cls
  154. gs'stat'
  155. act 'Return':
  156. cla
  157. minut += 5
  158. gt 'budgetclothes', 'start'
  159. end
  160. if Clothingstock > 15:
  161. i = 1
  162. elseif Clothingstock > 7:
  163. i = 2
  164. else
  165. i = 3
  166. end
  167. :loopuniform
  168. if uniform[i] = 0:*p '<a href="exec: i = <<i>> & gt ''budgetclothes'', ''uniformclo''"><img src="images/pc/clothing/10uniform/<<i>>.jpg" height="250" /></a>'
  169. i += 3
  170. if i <= 49:jump 'loopuniform'
  171. end
  172. if $ARGS[0] = 'uniformclo':
  173. cla
  174. if uniform[i] ! 0:
  175. msg 'You already own these clothes.'
  176. gt 'budgetclothes', 'uniform'
  177. end
  178. gt 'clothing', 'view_clothing_item', 'shop', 'uniform',i, 3000
  179. end
  180. if $ARGS[0] = 'school':
  181. $metka = $ARGS[0]
  182. $loc = 'budgetclothes'
  183. cls
  184. gs'stat'
  185. act 'Return':
  186. cla
  187. minut += 5
  188. gt 'budgetclothes', 'start'
  189. end
  190. if Clothingstock > 15:
  191. i = 1
  192. elseif Clothingstock > 7:
  193. i = 2
  194. else
  195. i = 3
  196. end
  197. :loopschool
  198. if school[i] = 0:*p '<a href="exec: i = <<i>> & gt ''budgetclothes'', ''schoolclo''"><img src="images/pc/clothing/6school/<<i>>.jpg" height="250" /></a>'
  199. i += 3
  200. if i = 6:i = 9
  201. if i <= 62:jump 'loopschool'
  202. end
  203. if $ARGS[0] = 'schoolclo':
  204. cla
  205. if school[i] ! 0:
  206. msg 'You already own these clothes.'
  207. gt 'budgetclothes', 'school'
  208. end
  209. gt 'clothing', 'view_clothing_item', 'shop', 'school',i, 3000
  210. end
  211. if $ARGS[0] = 'shoes':
  212. $metka = 'shoes'
  213. $loc = 'budgetclothes'
  214. cls
  215. gs'stat'
  216. act 'Return':
  217. cla
  218. minut += 5
  219. gt 'budgetclothes', 'start'
  220. end
  221. if Clothingstock > 15:
  222. i = 1
  223. elseif Clothingstock > 7:
  224. i = 2
  225. else
  226. i = 3
  227. end
  228. :loopgandm_shoes
  229. 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>'
  230. i += 3
  231. if i = 6:i = 9
  232. if i <= 51:jump 'loopgandm_shoes'
  233. end
  234. if $ARGS[0] = 'budget_shoes': gt 'shoes', 'view_shoe_item', 'shop', 'gandm',i, 1500
  235. if $ARGS[0] = 'trainers':
  236. $metka = 'trainers'
  237. $loc = 'budgetclothes'
  238. cls
  239. gs'stat'
  240. act 'Return':
  241. cla
  242. minut += 5
  243. gt 'budgetclothes', 'start'
  244. end
  245. if Clothingstock > 11:
  246. i = 1
  247. else
  248. i = 2
  249. end
  250. :looptrainers_shoes
  251. 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>'
  252. i += 2
  253. if i = 21:i = 23
  254. if i <= 29:jump 'looptrainers_shoes'
  255. end
  256. if $ARGS[0] = 'training_shoes': gt 'shoes', 'view_shoe_item', 'shop', 'trainers',i, 2500
  257. if $ARGS[0] = 'coats':
  258. $metka = $ARGS[0]
  259. $loc = 'budgetclothes'
  260. cls
  261. gs'stat'
  262. act 'Return':
  263. cla
  264. minut += 5
  265. gt 'budgetclothes', 'start'
  266. end
  267. i = 2
  268. :loopcoats
  269. if coat[i] = 0:*p '<a href="exec: i = <<i>> & gt ''budgetclothes'', ''coatsclo''"><img src="images/pc/clothing/11coat/<<i>>.jpg" height="250" /></a>'
  270. i += 1
  271. if i = 5:i = 6
  272. if i = 9:i = 10
  273. if i = 11:i = 12
  274. if i <= 19:jump 'loopcoats'
  275. end
  276. if $ARGS[0] = 'coatsclo':
  277. cla
  278. if coat[i] ! 0:
  279. msg 'You already own these clothes.'
  280. gt 'budgetclothes', 'coats'
  281. end
  282. gt 'clothing', 'view_clothing_item', 'shop', 'coat',i, 8000
  283. end
  284. if $ARGS[0] = 'purses':
  285. $metka = 'purses'
  286. $loc = 'budgetclothes'
  287. cls
  288. gs'stat'
  289. act 'Return':
  290. cla
  291. minut += 5
  292. gt 'budgetclothes', 'start'
  293. end
  294. i = 1
  295. :looppurses
  296. 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>'
  297. i += 1
  298. if i <= 14:jump 'looppurses'
  299. end
  300. if $ARGS[0] = 'purses2': gt 'purses', 'view_purse_item', 'shop', 'cheap',i, 5000
  301. --- budgetclothes ---------------------------------