budgetclothes.qsrc 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630
  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 <= 62: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. '<center><b><font color="maroon">Viewing G&M shoes</font></b></center>'
  381. *nl
  382. gs 'shoes', 'shop_filter_header'
  383. act 'Return':
  384. cla
  385. minut += 1
  386. gt 'budgetclothes', 'start'
  387. end
  388. !!To filter just this set
  389. clo_i = 0
  390. :loopshoequality_filter
  391. i = 1
  392. :loopgm_shoes
  393. if gm_shoe[i] = 0:
  394. gs 'shoe_attributes', 'gm', i
  395. gs 'shoes', 'shoe_filter'
  396. if (Shofilter['quality'] = 0 and ShoQuality = clo_i) or Shofilter['number'] = 0:
  397. if Shofilter['inc'] = 1 and Shofilter['only'] = 1:
  398. *p '<a href="exec: i = <<i>> & gt ''budgetclothes'', ''budget_shoes''"><img src="images/pc/items/gm/shoes/<<i>>.jpg" height="250" /></a>'
  399. end
  400. end
  401. end
  402. i += 1
  403. if i <= 30:jump 'loopgm_shoes'
  404. clo_i += 1
  405. if Shofilter['quality'] = 0 and clo_i <= 7:
  406. jump 'loopshoequality_filter'
  407. end
  408. end
  409. if $ARGS[0] = 'budget_shoes': gt 'shoes', 'view_shoe_item', 'shop', 'gm',i, 700
  410. if $ARGS[0] = 'coats':
  411. $menu_loc = 'budgetclothes'
  412. $menu_arg = 'coats'
  413. menu_off = 0
  414. $loc_arg = 'coats'
  415. $loc = 'budgetclothes'
  416. *clr & cla
  417. gs'stat'
  418. act 'Return':
  419. cla
  420. minut += 1
  421. gt 'budgetclothes', 'start'
  422. end
  423. i = 1
  424. :loopcoats
  425. 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>'
  426. i += 1
  427. if i <= 20:jump 'loopcoats'
  428. end
  429. if $ARGS[0] = 'coats2': gt 'coats', 'view_coat_item', 'shop', 'gm',i, 1500
  430. if $ARGS[0] = 'purses':
  431. $menu_loc = 'budgetclothes'
  432. $menu_arg = 'purses'
  433. menu_off = 0
  434. $loc_arg = 'purses'
  435. $loc = 'budgetclothes'
  436. *clr & cla
  437. gs'stat'
  438. act 'Return':
  439. cla
  440. minut += 1
  441. gt 'budgetclothes', 'start'
  442. end
  443. i = 1
  444. :looppurses
  445. 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>'
  446. i += 1
  447. if i <= 20:jump 'looppurses'
  448. end
  449. if $ARGS[0] = 'purses2': gt 'purses', 'view_purse_item', 'shop', 'gm',i, 1500
  450. if $ARGS[0] = 'panties':
  451. $loc_arg = 'panties'
  452. $loc = 'budgetclothes'
  453. $menu_loc = 'budgetclothes'
  454. $menu_arg = 'panties'
  455. menu_off = 0
  456. *clr & cla
  457. gs'stat'
  458. '<center><b><font color="maroon">Viewing G&M panties</font></b></center>'
  459. gs 'panties', 'shop_filter_header'
  460. act 'Return':
  461. cla
  462. minut += 1
  463. gt 'budgetclothes', 'start'
  464. end
  465. !!To filter just this set
  466. clo_i = 0
  467. :looppantyquality_filter
  468. i = 1
  469. :looppanties
  470. if gm_panties[i] = 0:
  471. gs 'underwear_attributes', 'gm_panties', i
  472. if (clothingfilter['quality'] = 0 and PanQuality = clo_i) or clothingfilter['number'] = 0:
  473. *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>'
  474. end
  475. end
  476. i += 1
  477. if i = 7: i = 8
  478. if i = 9: i = 10
  479. if i = 21: i = 22
  480. if i = 37: i = 38
  481. if i <= 37:jump 'looppanties'
  482. clo_i += 1
  483. if clothingfilter['quality'] = 0 and clo_i <= 6:
  484. jump 'looppantyquality_filter'
  485. end
  486. end
  487. if $ARGS[0] = 'bras':
  488. $menu_loc = 'budgetclothes'
  489. $menu_arg = 'bras'
  490. menu_off = 0
  491. $loc_arg = 'bras'
  492. $loc = 'budgetclothes'
  493. *clr & cla
  494. gs'stat'
  495. '<center><b><font color="maroon">Viewing G&M bras</font></b></center>'
  496. *nl
  497. gs 'bras', 'shop_filter_header'
  498. act 'Return':
  499. cla
  500. minut += 1
  501. gt 'budgetclothes', 'start'
  502. end
  503. !!To filter just this set
  504. clo_i = 0
  505. :loopbraquality_filter
  506. i = 1
  507. :loopgm_bras
  508. if gm_bras[i] = 0:
  509. gs 'underwear_attributes', 'gm_bras', i
  510. if (clothingfilter['quality'] = 0 and BraQuality = clo_i) or clothingfilter['number'] = 0:
  511. *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>'
  512. end
  513. end
  514. i += 1
  515. if i = 11: i = 13
  516. if i = 16: i = 17
  517. if i = 18: i = 19
  518. if i <= 19:jump 'loopgm_bras'
  519. clo_i += 1
  520. if clothingfilter['quality'] = 0 and clo_i <= 6:
  521. jump 'loopbraquality_filter'
  522. end
  523. end
  524. --- budgetclothes ---------------------------------