budgetclothes.qsrc 13 KB

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