1
0

budgetclothes.qsrc 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636
  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. gs 'clothing', 'totals', 'gm_outfits'
  89. act 'Return':
  90. cla
  91. minut += 1
  92. gt 'budgetclothes', 'start'
  93. end
  94. !!To filter just this set
  95. clo_i = 0
  96. :loopgm_outfits_filter
  97. if Clothingstock - 16 > 0:
  98. i = 1
  99. elseif Clothingstock - 8 > 0:
  100. i = 2
  101. else
  102. i = 3
  103. end
  104. :loopgm_outfits
  105. if gm_outfits[i] = 0:
  106. gs 'clothing_attributes', 'gm_outfits', i
  107. gs 'clothing_QV', 'shop_filter'
  108. !!sort by filter
  109. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  110. 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>'
  111. end
  112. end
  113. i += 3
  114. if i <= total:jump 'loopgm_outfits'
  115. clo_i += 1
  116. if clothingfilter['quality'] = 0 and clo_i <= 7:
  117. jump 'loopgm_outfits_filter'
  118. elseif clothingfilter['inhibition'] = 0 and clo_i <= 50:
  119. jump 'loopgm_outfits_filter'
  120. end
  121. end
  122. if $ARGS[0] = 'gm_outfits':
  123. cla
  124. menu_off = 1
  125. if gm_outfits[i] ! 0:
  126. msg 'You already own these clothes.'
  127. gt 'budgetclothes', 'clothes'
  128. end
  129. gt 'clothing', 'view_clothing_item', 'gm_outfits',i, 1000, 'shop'
  130. end
  131. if $ARGS[0] = 'dresses':
  132. $loc_arg = 'dresses'
  133. $loc = 'budgetclothes'
  134. $menu_loc = 'budgetclothes'
  135. $menu_arg = 'dresses'
  136. menu_off = 0
  137. *clr & cla
  138. gs'stat'
  139. '<center><b><font color="maroon">Viewing G&M dresses</font></b></center>'
  140. *nl
  141. gs 'clothing_QV', 'shop_filter_header'
  142. gs 'clothing', 'totals', 'gm_dress'
  143. act 'Return':
  144. cla
  145. minut += 1
  146. gt 'budgetclothes', 'start'
  147. end
  148. !!To filter just this set
  149. clo_i = 0
  150. :loopgm_dress_filter
  151. if Clothingstock > 17:
  152. i = 1
  153. elseif Clothingstock > 11:
  154. i = 2
  155. elseif Clothingstock > 5:
  156. i = 3
  157. else
  158. i = 4
  159. end
  160. :loopgm_dress
  161. if gm_dress[i] = 0:
  162. gs 'clothing_attributes', 'gm_dress', i
  163. gs 'clothing_QV', 'shop_filter'
  164. !!sort by filter
  165. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  166. 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>'
  167. end
  168. end
  169. i += 3
  170. if i <= total:jump 'loopgm_dress'
  171. clo_i += 1
  172. if clothingfilter['quality'] = 0 and clo_i <= 7:
  173. jump 'loopgm_dress_filter'
  174. elseif clothingfilter['inhibition'] = 0 and clo_i <= 50:
  175. jump 'loopgm_dress_filter'
  176. end
  177. end
  178. if $ARGS[0] = 'gm_dress':
  179. cla
  180. menu_off = 1
  181. if gm_dress[i] ! 0:
  182. msg 'You already own this dress.'
  183. gt 'budgetclothes', 'dresses'
  184. end
  185. gt 'clothing', 'view_clothing_item', 'gm_dress',i, 1000, 'shop'
  186. end
  187. if $ARGS[0] = 'office':
  188. $menu_loc = 'budgetclothes'
  189. $menu_arg = 'office'
  190. menu_off = 0
  191. $loc_arg = $ARGS[0]
  192. $loc = 'budgetclothes'
  193. *clr & cla
  194. gs'stat'
  195. '<center><b><font color="maroon">Viewing G&M office clothing</font></b></center>'
  196. *nl
  197. gs 'clothing_QV', 'shop_filter_header'
  198. gs 'clothing', 'totals', 'gm_office'
  199. act 'Return':
  200. cla
  201. minut += 1
  202. gt 'budgetclothes', 'start'
  203. end
  204. !!To filter just this set
  205. clo_i = 0
  206. :loopoffice_filter
  207. i = 1
  208. :loopoffice
  209. if gm_office[i] = 0:
  210. gs 'clothing_attributes', 'gm_office', i
  211. gs 'clothing_QV', 'shop_filter'
  212. !!sort by filter
  213. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  214. 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>'
  215. end
  216. end
  217. i += 1
  218. if i <= total:jump 'loopoffice'
  219. clo_i += 1
  220. if clothingfilter['quality'] = 0 and clo_i <= 7:
  221. jump 'loopoffice_filter'
  222. elseif clothingfilter['inhibition'] = 0 and clo_i <= 50:
  223. jump 'loopoffice_filter'
  224. end
  225. end
  226. if $ARGS[0] = 'officeclo':
  227. cla
  228. menu_off = 1
  229. if gm_office[i] ! 0:
  230. msg 'You already own these clothes.'
  231. gt 'budgetclothes', 'office'
  232. end
  233. gt 'clothing', 'view_clothing_item', 'gm_office',i, 2000, 'shop'
  234. end
  235. if $ARGS[0] = 'gm_maid':
  236. $menu_loc = 'budgetclothes'
  237. $menu_arg = 'gm_maid'
  238. menu_off = 0
  239. $loc_arg = $ARGS[0]
  240. $loc = 'budgetclothes'
  241. *clr & cla
  242. gs'stat'
  243. '<center><b><font color="maroon">Viewing G&M maid outfits</font></b></center>'
  244. *nl
  245. gs 'clothing_QV', 'shop_filter_header'
  246. gs 'clothing', 'totals', 'gm_maid'
  247. act 'Return':
  248. cla
  249. minut += 1
  250. gt 'budgetclothes', 'start'
  251. end
  252. !!To filter just this set
  253. clo_i = 0
  254. :loopgm_maid_filter
  255. if Clothingstock > 11:
  256. i = 1
  257. else
  258. i = 2
  259. end
  260. :loopgm_maid
  261. if gm_maid[i] = 0:
  262. gs 'clothing_attributes', 'gm_maid', i
  263. gs 'clothing_QV', 'shop_filter'
  264. !!sort by filter
  265. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  266. 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>'
  267. end
  268. end
  269. i += 2
  270. if i <= total:jump 'loopgm_maid'
  271. clo_i += 1
  272. if clothingfilter['quality'] = 0 and clo_i <= 7:
  273. jump 'loopgm_maid_filter'
  274. elseif clothingfilter['inhibition'] = 0 and clo_i <= 50:
  275. jump 'loopgm_maid_filter'
  276. end
  277. end
  278. if $ARGS[0] = 'gm_maidclo': gt 'clothing', 'view_clothing_item', 'gm_maid',i, 2000, 'shop'
  279. if $ARGS[0] = 'gm_server':
  280. $menu_loc = 'budgetclothes'
  281. $menu_arg = 'gm_server'
  282. menu_off = 0
  283. $loc_arg = $ARGS[0]
  284. $loc = 'budgetclothes'
  285. *clr & cla
  286. gs'stat'
  287. '<center><b><font color="maroon">Viewing G&M server uniforms</font></b></center>'
  288. *nl
  289. gs 'clothing_QV', 'shop_filter_header'
  290. gs 'clothing', 'totals', 'gm_outfits'
  291. act 'Return':
  292. cla
  293. minut += 1
  294. gt 'budgetclothes', 'start'
  295. end
  296. !!To filter just this set
  297. clo_i = 0
  298. :loopgm_server_filter
  299. if Clothingstock > 11:
  300. i = 1
  301. else
  302. i = 2
  303. end
  304. :loopgm_server
  305. if gm_server[i] = 0:
  306. gs 'clothing_attributes', 'gm_server', i
  307. gs 'clothing_QV', 'shop_filter'
  308. !!sort by filter
  309. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  310. 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>'
  311. end
  312. end
  313. i += 2
  314. if i <= total:jump 'loopgm_server'
  315. clo_i += 1
  316. if clothingfilter['quality'] = 0 and clo_i <= 7:
  317. jump 'loopgm_server_filter'
  318. elseif clothingfilter['inhibition'] = 0 and clo_i <= 50:
  319. jump 'loopgm_server_filter'
  320. end
  321. end
  322. if $ARGS[0] = 'gm_serverclo': gt 'clothing', 'view_clothing_item', 'gm_server', i, 2000, 'shop'
  323. if $ARGS[0] = 'school':
  324. $menu_loc = 'budgetclothes'
  325. $menu_arg = 'school'
  326. menu_off = 0
  327. $loc_arg = $ARGS[0]
  328. $loc = 'budgetclothes'
  329. *clr & cla
  330. gs'stat'
  331. '<center><b><font color="maroon">Viewing G&M school uniforms</font></b></center>'
  332. *nl
  333. gs 'clothing_QV', 'shop_filter_header'
  334. gs 'clothing', 'totals', 'gm_school'
  335. act 'Return':
  336. cla
  337. minut += 1
  338. gt 'budgetclothes', 'start'
  339. end
  340. !!To filter just this set
  341. clo_i = 0
  342. :loopgm_school_filter
  343. if Clothingstock > 15:
  344. i = 1
  345. elseif Clothingstock > 7:
  346. i = 2
  347. else
  348. i = 3
  349. end
  350. :loopschool
  351. if gm_school[i] = 0:
  352. gs 'clothing_attributes', 'gm_school', i
  353. gs 'clothing_QV', 'shop_filter'
  354. !!sort by filter
  355. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  356. 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>'
  357. end
  358. end
  359. i += 3
  360. if i = 6:i = 9
  361. if i <= total:jump 'loopschool'
  362. clo_i += 1
  363. if clothingfilter['quality'] = 0 and clo_i <= 7:
  364. jump 'loopgm_school_filter'
  365. elseif clothingfilter['inhibition'] = 0 and clo_i <= 50:
  366. jump 'loopgm_school_filter'
  367. end
  368. end
  369. if $ARGS[0] = 'schoolclo':
  370. cla
  371. menu_off = 1
  372. if gm_school[i] ! 0:
  373. msg 'You already own these clothes.'
  374. gt 'budgetclothes', 'school'
  375. end
  376. gt 'clothing', 'view_clothing_item', 'gm_school',i, 1500, 'shop'
  377. end
  378. if $ARGS[0] = 'shoes':
  379. $loc_arg = 'shoes'
  380. $loc = 'budgetclothes'
  381. $menu_loc = 'budgetclothes'
  382. $menu_arg = 'shoes'
  383. menu_off = 0
  384. *clr & cla
  385. gs'stat'
  386. '<center><b><font color="maroon">Viewing G&M shoes</font></b></center>'
  387. *nl
  388. gs 'shoes', 'shop_filter_header'
  389. act 'Return':
  390. cla
  391. minut += 1
  392. gt 'budgetclothes', 'start'
  393. end
  394. !!To filter just this set
  395. clo_i = 0
  396. :loopshoequality_filter
  397. i = 1
  398. :loopgm_shoes
  399. if gm_shoe[i] = 0:
  400. gs 'shoe_attributes', 'gm', i
  401. gs 'shoes', 'shoe_filter'
  402. if (Shofilter['quality'] = 0 and ShoQuality = clo_i) or Shofilter['number'] = 0:
  403. if Shofilter['inc'] = 1 and Shofilter['only'] = 1:
  404. *p '<a href="exec: i = <<i>> & gt ''budgetclothes'', ''budget_shoes''"><img src="images/pc/items/gm/shoes/<<i>>.jpg" height="250" /></a>'
  405. end
  406. end
  407. end
  408. i += 1
  409. if i <= 30:jump 'loopgm_shoes'
  410. clo_i += 1
  411. if Shofilter['quality'] = 0 and clo_i <= 7:
  412. jump 'loopshoequality_filter'
  413. end
  414. end
  415. if $ARGS[0] = 'budget_shoes': gt 'shoes', 'view_shoe_item', 'shop', 'gm',i, 700
  416. if $ARGS[0] = 'coats':
  417. $menu_loc = 'budgetclothes'
  418. $menu_arg = 'coats'
  419. menu_off = 0
  420. $loc_arg = 'coats'
  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. :loopcoats
  431. 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>'
  432. i += 1
  433. if i <= 20:jump 'loopcoats'
  434. end
  435. if $ARGS[0] = 'coats2': gt 'coats', 'view_coat_item', 'shop', 'gm',i, 1500
  436. if $ARGS[0] = 'purses':
  437. $menu_loc = 'budgetclothes'
  438. $menu_arg = 'purses'
  439. menu_off = 0
  440. $loc_arg = 'purses'
  441. $loc = 'budgetclothes'
  442. *clr & cla
  443. gs'stat'
  444. act 'Return':
  445. cla
  446. minut += 1
  447. gt 'budgetclothes', 'start'
  448. end
  449. i = 1
  450. :looppurses
  451. 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>'
  452. i += 1
  453. if i <= 20:jump 'looppurses'
  454. end
  455. if $ARGS[0] = 'purses2': gt 'purses', 'view_purse_item', 'shop', 'gm',i, 1500
  456. if $ARGS[0] = 'panties':
  457. $loc_arg = 'panties'
  458. $loc = 'budgetclothes'
  459. $menu_loc = 'budgetclothes'
  460. $menu_arg = 'panties'
  461. menu_off = 0
  462. *clr & cla
  463. gs'stat'
  464. '<center><b><font color="maroon">Viewing G&M panties</font></b></center>'
  465. gs 'panties', 'shop_filter_header'
  466. act 'Return':
  467. cla
  468. minut += 1
  469. gt 'budgetclothes', 'start'
  470. end
  471. !!To filter just this set
  472. clo_i = 0
  473. :looppantyquality_filter
  474. i = 1
  475. :looppanties
  476. if gm_panties[i] = 0:
  477. gs 'underwear_attributes', 'gm_panties', i
  478. if (clothingfilter['quality'] = 0 and PanQuality = clo_i) or clothingfilter['number'] = 0:
  479. *p '<a href="exec: gt ''panties'', ''view_panty_item'', ''shop'', ''gm'', <<i>>, 300"><img src="images/pc/items/gm/panties/<<i>>.jpg" height="150" /></a>'
  480. end
  481. end
  482. i += 1
  483. if i = 7: i = 8
  484. if i = 9: i = 10
  485. if i = 21: i = 22
  486. if i = 37: i = 38
  487. if i <= 37:jump 'looppanties'
  488. clo_i += 1
  489. if clothingfilter['quality'] = 0 and clo_i <= 6:
  490. jump 'looppantyquality_filter'
  491. end
  492. end
  493. if $ARGS[0] = 'bras':
  494. $menu_loc = 'budgetclothes'
  495. $menu_arg = 'bras'
  496. menu_off = 0
  497. $loc_arg = 'bras'
  498. $loc = 'budgetclothes'
  499. *clr & cla
  500. gs'stat'
  501. '<center><b><font color="maroon">Viewing G&M bras</font></b></center>'
  502. *nl
  503. gs 'bras', 'shop_filter_header'
  504. act 'Return':
  505. cla
  506. minut += 1
  507. gt 'budgetclothes', 'start'
  508. end
  509. !!To filter just this set
  510. clo_i = 0
  511. :loopbraquality_filter
  512. i = 1
  513. :loopgm_bras
  514. if gm_bras[i] = 0:
  515. gs 'underwear_attributes', 'gm_bras', i
  516. if (clothingfilter['quality'] = 0 and BraQuality = clo_i) or clothingfilter['number'] = 0:
  517. *p '<a href="exec:gt ''bras'', ''view_bra_item'', ''shop'', ''gm'', <<i>>, 300"><img src="images/pc/items/gm/bras/<<i>>.jpg" height="150" /></a>'
  518. end
  519. end
  520. i += 1
  521. if i = 11: i = 13
  522. if i = 16: i = 17
  523. if i = 18: i = 19
  524. if i <= 19:jump 'loopgm_bras'
  525. clo_i += 1
  526. if clothingfilter['quality'] = 0 and clo_i <= 6:
  527. jump 'loopbraquality_filter'
  528. end
  529. end
  530. --- budgetclothes ---------------------------------