budgetclothes.qsrc 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492
  1. # budgetclothes
  2. if $ARGS[0] = 'start':
  3. $loc_arg = $ARGS[0]
  4. $loc = 'budgetclothes'
  5. $menu_loc = 'budgetclothes'
  6. $menu_arg = 'start'
  7. menu_off = 0
  8. $location_type = 'event'
  9. '<center><b><font color="maroon">Welcome to G & M - Clothes for all your needs</font></b></center>'
  10. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/mall/gandm/shop.jpg"</center>'
  11. 'G&M is not fancy, it''s certainly not high fashion but it''s cheap and has specific work and school wear.'
  12. clr
  13. gs 'stat'
  14. gs 'themes', 'indoors'
  15. act 'Leave the store':
  16. cla
  17. $shoplocation = ''
  18. if torg = 1:
  19. minut += 3
  20. gt 'torgcentr'
  21. else
  22. gt 'pav_industrial'
  23. end
  24. end
  25. act 'Visit clothing department':
  26. cla
  27. menu_off = 1
  28. act 'Return':gt 'budgetclothes', 'start'
  29. act 'View clothing':
  30. minut += 5
  31. gt 'budgetclothes', 'clothes'
  32. end
  33. act 'View dresses':
  34. minut += 5
  35. gt 'budgetclothes', 'dresses'
  36. end
  37. act 'View office wear':
  38. minut += 5
  39. gt 'budgetclothes', 'office'
  40. end
  41. act 'View uniforms':
  42. minut += 5
  43. gt 'budgetclothes', 'uniform'
  44. end
  45. act 'View school uniforms':
  46. minut += 5
  47. gt 'budgetclothes', 'school'
  48. end
  49. end
  50. act 'View regular shoes':
  51. minut += 5
  52. gt 'budgetclothes', 'shoes'
  53. end
  54. act 'View panties':
  55. minut += 5
  56. gt 'budgetclothes', 'panties'
  57. end
  58. act 'View bras':
  59. minut += 5
  60. gt 'budgetclothes', 'bras'
  61. end
  62. act 'View purses':
  63. minut += 5
  64. gt 'budgetclothes', 'purses'
  65. end
  66. act 'View coats':
  67. minut += 5
  68. gt 'budgetclothes', 'coats'
  69. end
  70. end
  71. if $ARGS[0] = 'clothes':
  72. $loc_arg = 'clothes'
  73. $loc = 'budgetclothes'
  74. $menu_loc = 'budgetclothes'
  75. $menu_arg = 'clothes'
  76. menu_off = 0
  77. *clr & cla
  78. gs'stat'
  79. '<center><b><font color="maroon">Viewing G&M outfits</font></b></center>'
  80. *nl
  81. gs 'clothing_QV', 'shop_header'
  82. act 'Return':
  83. cla
  84. minut += 1
  85. gt 'budgetclothes', 'start'
  86. end
  87. clothingfilter['qualitycheck'] = 7
  88. :loopquality
  89. if Clothingstock - 16 > 0:
  90. i = 1
  91. elseif Clothingstock - 8 > 0:
  92. i = 2
  93. else
  94. i = 3
  95. end
  96. :loopgm_outfits
  97. if gm_outfits[i] = 0:
  98. gs 'clothing_attributes', 'gm_outfits', i
  99. gs 'clothing_QV', 'shop_filter'
  100. if clothingfilter['quality'] = 0 or clothingfilter['qualitycheck'] = CloQuality:
  101. if clothingfilter_risk = 1 and clothingfilter_pandb = 1 and clothingfilter_norm2 = 1: *p '<a href="exec: i = <<i>> & gt ''budgetclothes'', ''gm_outfits''"><img src="images/pc/items/gm/outfits/<<i>>.jpg" height="250" /></a>'
  102. end
  103. end
  104. i += 3
  105. if i = 414:i = 415
  106. if i <= 150:jump 'loopgm_outfits'
  107. if clothingfilter['quality'] = 1 and clothingfilter['qualitycheck'] > 0: clothingfilter['qualitycheck'] -=1 & jump 'loopquality'
  108. end
  109. if $ARGS[0] = 'gm_outfits':
  110. cla
  111. menu_off = 1
  112. if gm_outfits[i] ! 0:
  113. msg 'You already own these clothes.'
  114. gt 'budgetclothes', 'clothes'
  115. end
  116. gt 'clothing', 'view_clothing_item', 'shop', 'gm_outfits',i, 1000
  117. end
  118. if $ARGS[0] = 'dresses':
  119. $loc_arg = 'dresses'
  120. $loc = 'budgetclothes'
  121. $menu_loc = 'budgetclothes'
  122. $menu_arg = 'dresses'
  123. menu_off = 0
  124. *clr & cla
  125. gs'stat'
  126. '<center><b><font color="maroon">Viewing G&M dresses</font></b></center>'
  127. *nl
  128. gs 'clothing_QV', 'shop_header'
  129. act 'Return':
  130. cla
  131. minut += 1
  132. gt 'budgetclothes', 'start'
  133. end
  134. clothingfilter['qualitycheck'] = 7
  135. :loopquality1
  136. if Clothingstock - 16 > 0:
  137. i = 1
  138. elseif Clothingstock - 8 > 0:
  139. i = 2
  140. else
  141. i = 3
  142. end
  143. :loopgm_dress
  144. if gm_dress[i] = 0:
  145. gs 'clothing_attributes', 'gm_dress', i
  146. gs 'clothing_QV', 'shop_filter'
  147. if clothingfilter['quality'] = 0 or clothingfilter['qualitycheck'] = CloQuality:
  148. if clothingfilter_risk = 1 and clothingfilter_pandb = 1 and clothingfilter_norm2 = 1: *p '<a href="exec: i = <<i>> & gt ''budgetclothes'', ''gm_dress''"><img src="images/pc/items/gm/dress/<<i>>.jpg" height="250" /></a>'
  149. end
  150. end
  151. i += 3
  152. if i <= 150:jump 'loopgm_dress'
  153. if clothingfilter['quality'] = 1 and clothingfilter['qualitycheck'] > 0: clothingfilter['qualitycheck'] -=1 & jump 'loopquality1'
  154. end
  155. if $ARGS[0] = 'gm_dress':
  156. cla
  157. menu_off = 1
  158. if gm_dress[i] ! 0:
  159. msg 'You already own this dress.'
  160. gt 'budgetclothes', 'dresses'
  161. end
  162. gt 'clothing', 'view_clothing_item', 'shop', 'gm_dress',i, 1000
  163. end
  164. if $ARGS[0] = 'office':
  165. $menu_loc = 'budgetclothes'
  166. $menu_arg = 'office'
  167. menu_off = 0
  168. $loc_arg = $ARGS[0]
  169. $loc = 'budgetclothes'
  170. *clr & cla
  171. gs'stat'
  172. '<center><b><font color="maroon">Viewing G&M office clothing</font></b></center>'
  173. *nl
  174. gs 'clothing_QV', 'shop_header'
  175. act 'Return':
  176. cla
  177. minut += 1
  178. gt 'budgetclothes', 'start'
  179. end
  180. clothingfilter['qualitycheck'] = 7
  181. :loopquality2
  182. if Clothingstock > 15:
  183. i = 3
  184. elseif Clothingstock > 7:
  185. i = 2
  186. else
  187. i = 1
  188. end
  189. :loopoffice
  190. if gm_office[i] = 0:
  191. gs 'clothing_attributes', 'gm_office', i
  192. gs 'clothing_QV', 'shop_filter'
  193. if clothingfilter['quality'] = 0 or clothingfilter['qualitycheck'] = CloQuality:
  194. if clothingfilter_risk = 1 and clothingfilter_pandb = 1 and clothingfilter_norm2 = 1: *p '<a href="exec: i = <<i>> & gt ''budgetclothes'', ''officeclo''"><img src="images/pc/clothing/5office/<<i>>.jpg" height="250" /></a>'
  195. end
  196. end
  197. i += 3
  198. if i <= 140:jump 'loopoffice'
  199. if clothingfilter['quality'] = 1 and clothingfilter['qualitycheck'] > 0: clothingfilter['qualitycheck'] -=1 & jump 'loopquality2'
  200. end
  201. if $ARGS[0] = 'officeclo':
  202. cla
  203. menu_off = 1
  204. if gm_office[i] ! 0:
  205. msg 'You already own these clothes.'
  206. gt 'budgetclothes', 'office'
  207. end
  208. gt 'clothing', 'view_clothing_item', 'shop', 'gm_office',i, 2000
  209. end
  210. if $ARGS[0] = 'uniform':
  211. $menu_loc = 'budgetclothes'
  212. $menu_arg = 'uniform'
  213. menu_off = 0
  214. $loc_arg = $ARGS[0]
  215. $loc = 'budgetclothes'
  216. *clr & cla
  217. gs'stat'
  218. '<center><b><font color="maroon">Viewing G&M uniforms</font></b></center>'
  219. *nl
  220. gs 'clothing_QV', 'shop_header'
  221. act 'Return':
  222. cla
  223. minut += 1
  224. gt 'budgetclothes', 'start'
  225. end
  226. clothingfilter['qualitycheck'] = 7
  227. :loopquality3
  228. if Clothingstock > 15:
  229. i = 1
  230. elseif Clothingstock > 7:
  231. i = 2
  232. else
  233. i = 3
  234. end
  235. :loopuniform
  236. if gm_uniform[i] = 0:
  237. gs 'clothing_attributes', 'gm_uniform', i
  238. gs 'clothing_QV', 'shop_filter'
  239. if clothingfilter['quality'] = 0 or clothingfilter['qualitycheck'] = CloQuality:
  240. if clothingfilter_risk = 1 and clothingfilter_pandb = 1 and clothingfilter_norm2 = 1: *p '<a href="exec: i = <<i>> & gt ''budgetclothes'', ''uniformclo''"><img src="images/pc/clothing/10uniform/<<i>>.jpg" height="250" /></a>'
  241. end
  242. end
  243. i += 3
  244. if i <= 60:jump 'loopuniform'
  245. if clothingfilter['quality'] = 1 and clothingfilter['qualitycheck'] > 0: clothingfilter['qualitycheck'] -=1 & jump 'loopquality3'
  246. end
  247. if $ARGS[0] = 'uniformclo':
  248. cla
  249. menu_off = 1
  250. if gm_uniform[i] ! 0:
  251. msg 'You already own these clothes.'
  252. gt 'budgetclothes', 'uniform'
  253. end
  254. gt 'clothing', 'view_clothing_item', 'shop', 'gm_uniform',i, 2000
  255. end
  256. if $ARGS[0] = 'school':
  257. $menu_loc = 'budgetclothes'
  258. $menu_arg = 'school'
  259. menu_off = 0
  260. $loc_arg = $ARGS[0]
  261. $loc = 'budgetclothes'
  262. *clr & cla
  263. gs'stat'
  264. '<center><b><font color="maroon">Viewing G&M school uniforms</font></b></center>'
  265. *nl
  266. gs 'clothing_QV', 'shop_header'
  267. act 'Return':
  268. cla
  269. minut += 1
  270. gt 'budgetclothes', 'start'
  271. end
  272. clothingfilter['qualitycheck'] = 7
  273. :loopquality4
  274. if Clothingstock > 15:
  275. i = 1
  276. elseif Clothingstock > 7:
  277. i = 2
  278. else
  279. i = 3
  280. end
  281. :loopschool
  282. if gm_school[i] = 0:
  283. gs 'clothing_attributes', 'gm_school', i
  284. gs 'clothing_QV', 'shop_filter'
  285. if clothingfilter['quality'] = 0 or clothingfilter['qualitycheck'] = CloQuality:
  286. if clothingfilter_risk = 1 and clothingfilter_pandb = 1 and clothingfilter_norm2 = 1: *p '<a href="exec: i = <<i>> & gt ''budgetclothes'', ''schoolclo''"><img src="images/pc/clothing/6school/<<i>>.jpg" height="250" /></a>'
  287. end
  288. end
  289. i += 3
  290. if i = 6:i = 9
  291. if i <= 80:jump 'loopschool'
  292. if clothingfilter['quality'] = 1 and clothingfilter['qualitycheck'] > 0: clothingfilter['qualitycheck'] -=1 & jump 'loopquality4'
  293. end
  294. if $ARGS[0] = 'schoolclo':
  295. cla
  296. menu_off = 1
  297. if gm_school[i] ! 0:
  298. msg 'You already own these clothes.'
  299. gt 'budgetclothes', 'school'
  300. end
  301. gt 'clothing', 'view_clothing_item', 'shop', 'gm_school',i, 1500
  302. end
  303. if $ARGS[0] = 'shoes':
  304. $loc_arg = 'shoes'
  305. $loc = 'budgetclothes'
  306. $menu_loc = 'budgetclothes'
  307. $menu_arg = 'shoes'
  308. menu_off = 0
  309. *clr & cla
  310. gs'stat'
  311. act 'Return':
  312. cla
  313. minut += 1
  314. gt 'budgetclothes', 'start'
  315. end
  316. i = 1
  317. :loopgm_shoes
  318. if sgm[i] = 0:*p '<a href="exec: i = <<i>> & gt ''budgetclothes'', ''budget_shoes''"><img src="images/pc/items/gm/shoes/<<i>>.jpg" height="250" /></a>'
  319. i += 1
  320. if i <= 30:jump 'loopgm_shoes'
  321. end
  322. if $ARGS[0] = 'budget_shoes': gt 'shoes', 'view_shoe_item', 'shop', 'gm',i, 700
  323. if $ARGS[0] = 'coats':
  324. $menu_loc = 'budgetclothes'
  325. $menu_arg = 'coats'
  326. menu_off = 0
  327. $loc_arg = 'coats'
  328. $loc = 'budgetclothes'
  329. *clr & cla
  330. gs'stat'
  331. act 'Return':
  332. cla
  333. minut += 1
  334. gt 'budgetclothes', 'start'
  335. end
  336. i = 1
  337. :loopcoats
  338. if gm_coats[i] = 0:*p '<a href="exec: i = <<i>> & gt ''budgetclothes'', ''coats2''"><img src="images/pc/items/gm/coats/<<i>>.jpg" height="250" /></a>'
  339. i += 1
  340. if i <= 20:jump 'loopcoats'
  341. end
  342. if $ARGS[0] = 'coats2': gt 'coats', 'view_coat_item', 'shop', 'gm',i, 1500
  343. if $ARGS[0] = 'purses':
  344. $menu_loc = 'budgetclothes'
  345. $menu_arg = 'purses'
  346. menu_off = 0
  347. $loc_arg = 'purses'
  348. $loc = 'budgetclothes'
  349. *clr & cla
  350. gs'stat'
  351. act 'Return':
  352. cla
  353. minut += 1
  354. gt 'budgetclothes', 'start'
  355. end
  356. i = 1
  357. :looppurses
  358. if gm_purses[i] = 0:*p '<a href="exec: i = <<i>> & gt ''budgetclothes'', ''purses2''"><img src="images/pc/items/gm/purses/<<i>>.jpg" height="250" /></a>'
  359. i += 1
  360. if i <= 14:jump 'looppurses'
  361. end
  362. if $ARGS[0] = 'purses2': gt 'purses', 'view_purse_item', 'shop', 'gm',i, 1500
  363. if $ARGS[0] = 'panties':
  364. $loc_arg = 'panties'
  365. $loc = 'budgetclothes'
  366. $menu_loc = 'budgetclothes'
  367. $menu_arg = 'panties'
  368. menu_off = 0
  369. *clr & cla
  370. gs'stat'
  371. act 'Return':
  372. cla
  373. minut += 1
  374. gt 'budgetclothes', 'start'
  375. end
  376. i = 1
  377. :looppanties
  378. if cheap_panties[i] = 0:*p '<a href="exec: gt ''panties'', ''view_panty_item'', ''shop'', ''cheap'', <<i>>, 300"><img src="images/pc/panties/basic/<<i>>.jpg" height="250" /></a>'
  379. i += 1
  380. if i = 7: i = 8
  381. if i = 9: i = 10
  382. if i = 21: i = 22
  383. if i = 37: i = 38
  384. if i <= 37:jump 'looppanties'
  385. end
  386. if $ARGS[0] = 'bras':
  387. $menu_loc = 'budgetclothes'
  388. $menu_arg = 'bras'
  389. menu_off = 0
  390. $loc_arg = 'bras'
  391. $loc = 'budgetclothes'
  392. *clr & cla
  393. gs'stat'
  394. act 'Return':
  395. cla
  396. minut += 1
  397. gt 'budgetclothes', 'start'
  398. end
  399. i = 1
  400. :loopbras
  401. if cheap_bras[i] = 0:*p '<a href="exec:gt ''bras'', ''view_bra_item'', ''shop'', ''cheap'', <<i>>, 300"><img src="images/pc/bras/basic/<<i>>.jpg" height="250" /></a>'
  402. i += 1
  403. if i = 11: i = 13
  404. if i = 16: i = 17
  405. if i = 18: i = 19
  406. if i <= 19:jump 'loopbras'
  407. end
  408. --- budgetclothes ---------------------------------