budgetclothes.qsrc 12 KB

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