1
0

budgetclothes.qsrc 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449
  1. # budgetclothes
  2. if $ARGS[0] = 'start':
  3. $metka = $ARGS[0]
  4. $loc = 'budgetclothes'
  5. $location_type = 'event'
  6. '<center><b><font color="maroon">Welcome to G & M - Clothes for all your needs</font></b></center>'
  7. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/mall/gandm/shop.jpg"</center>'
  8. clr
  9. gs 'stat'
  10. if night_mode = 1:
  11. fcolor = rgb(255, 255, 255)
  12. bcolor = rgb(0, 0, 0)
  13. lcolor = rgb(106, 90, 205)
  14. elseif night_mode = 2:
  15. fcolor = rgb(255, 255, 255)
  16. bcolor = rgb(20, 20, 20)
  17. lcolor = rgb(106, 90, 205)
  18. else
  19. fcolor = rgb(0, 0, 0)
  20. bcolor = rgb(255, 255, 255)
  21. lcolor = rgb(106, 90, 205)
  22. end
  23. act 'Leave the store':
  24. cla
  25. $shoplocation = ''
  26. if torg = 1:
  27. minut += 3
  28. gt 'torgcentr'
  29. else
  30. gt 'Gshveyfab', 'start'
  31. end
  32. end
  33. act 'Visit clothing department':
  34. cla
  35. act 'Return':gt 'budgetclothes', 'start'
  36. act 'View cheap clothing':
  37. minut += 5
  38. gt 'budgetclothes', 'clothes'
  39. end
  40. act 'View office wear':
  41. minut += 5
  42. gt 'budgetclothes', 'office'
  43. end
  44. act 'View uniforms':
  45. minut += 5
  46. gt 'budgetclothes', 'uniform'
  47. end
  48. act 'View school uniforms':
  49. minut += 5
  50. gt 'budgetclothes', 'school'
  51. end
  52. end
  53. act 'Visit shoe department':
  54. cla
  55. act 'Return':gt 'budgetclothes', 'start'
  56. act 'View regular shoes':
  57. minut += 5
  58. gt 'budgetclothes', 'shoes'
  59. end
  60. act 'View exercise shoes':
  61. minut += 5
  62. gt 'budgetclothes', 'trainers'
  63. end
  64. end
  65. act 'View panties':
  66. minut += 5
  67. gt 'budgetclothes', 'panties'
  68. end
  69. act 'View bras':
  70. minut += 5
  71. gt 'budgetclothes', 'bras'
  72. end
  73. act 'View purses':
  74. minut += 5
  75. gt 'budgetclothes', 'purses'
  76. end
  77. act 'View coats':
  78. minut += 5
  79. gt 'budgetclothes', 'coats'
  80. end
  81. end
  82. if $ARGS[0] = 'clothes':
  83. $metka = 'clothes'
  84. $loc = 'budgetclothes'
  85. cls
  86. gs'stat'
  87. '<center><b><font color="maroon">Viewing G&M cheap clothing</font></b></center>'
  88. *nl
  89. gs 'clothing_QV', 'shop_header'
  90. act 'Return':
  91. cla
  92. minut += 1
  93. gt 'budgetclothes', 'start'
  94. end
  95. i = Clothingstock + 1
  96. if Clothingstock - 18 > 0:
  97. i -= 18
  98. elseif Clothingstock - 12 > 0:
  99. i -= 12
  100. elseif Clothingstock - 6 > 0:
  101. i -= 6
  102. end
  103. :loopcheap
  104. if cheap[i] = 0:
  105. gs 'clothing_attributes', 'cheap', i
  106. gs 'clothing_QV', 'shop_filter'
  107. if clothingfilter_risk = 1 and clothingfilter_pandb = 1 and clothingfilter_norm2 = 1: *p '<a href="exec: i = <<i>> & gt ''budgetclothes'', ''cheapclo''"><img src="images/pc/clothing/1cheap/<<i>>.jpg" height="250" /></a>'
  108. end
  109. i += 6
  110. if i = 3: i = 9
  111. if i = 10: i = 16
  112. if i = 45: i = 57
  113. if i = 80:i = 86
  114. if i = 414:i = 415
  115. if i <= 414:jump 'loopcheap'
  116. end
  117. if $ARGS[0] = 'cheapclo':
  118. cla
  119. if cheap[i] ! 0:
  120. msg 'You already own these clothes.'
  121. gt 'budgetclothes', 'clothes'
  122. end
  123. gt 'clothing', 'view_clothing_item', 'shop', 'cheap',i, 1000
  124. end
  125. if $ARGS[0] = 'office':
  126. $metka = $ARGS[0]
  127. $loc = 'budgetclothes'
  128. cls
  129. gs'stat'
  130. '<center><b><font color="maroon">Viewing G&M office clothing</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. if Clothingstock > 15:
  139. i = 3
  140. elseif Clothingstock > 7:
  141. i = 2
  142. else
  143. i = 1
  144. end
  145. :loopoffice
  146. if office[i] = 0:
  147. gs 'clothing_attributes', 'office', i
  148. gs 'clothing_QV', 'shop_filter'
  149. 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>'
  150. end
  151. i += 3
  152. if i <= 101:jump 'loopoffice'
  153. end
  154. if $ARGS[0] = 'officeclo':
  155. cla
  156. if office[i] ! 0:
  157. msg 'You already own these clothes.'
  158. gt 'budgetclothes', 'office'
  159. end
  160. gt 'clothing', 'view_clothing_item', 'shop', 'office',i, 2000
  161. end
  162. if $ARGS[0] = 'uniform':
  163. $metka = $ARGS[0]
  164. $loc = 'budgetclothes'
  165. cls
  166. gs'stat'
  167. '<center><b><font color="maroon">Viewing G&M uniforms</font></b></center>'
  168. *nl
  169. gs 'clothing_QV', 'shop_header'
  170. act 'Return':
  171. cla
  172. minut += 1
  173. gt 'budgetclothes', 'start'
  174. end
  175. if Clothingstock > 15:
  176. i = 1
  177. elseif Clothingstock > 7:
  178. i = 2
  179. else
  180. i = 3
  181. end
  182. :loopuniform
  183. if uniform[i] = 0:
  184. gs 'clothing_attributes', 'uniform', i
  185. gs 'clothing_QV', 'shop_filter'
  186. 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>'
  187. end
  188. i += 3
  189. if i <= 49:jump 'loopuniform'
  190. end
  191. if $ARGS[0] = 'uniformclo':
  192. cla
  193. if uniform[i] ! 0:
  194. msg 'You already own these clothes.'
  195. gt 'budgetclothes', 'uniform'
  196. end
  197. gt 'clothing', 'view_clothing_item', 'shop', 'uniform',i, 2000
  198. end
  199. if $ARGS[0] = 'school':
  200. $metka = $ARGS[0]
  201. $loc = 'budgetclothes'
  202. cls
  203. gs'stat'
  204. '<center><b><font color="maroon">Viewing G&M school uniforms</font></b></center>'
  205. *nl
  206. gs 'clothing_QV', 'shop_header'
  207. act 'Return':
  208. cla
  209. minut += 1
  210. gt 'budgetclothes', 'start'
  211. end
  212. if Clothingstock > 15:
  213. i = 1
  214. elseif Clothingstock > 7:
  215. i = 2
  216. else
  217. i = 3
  218. end
  219. :loopschool
  220. if school[i] = 0:
  221. gs 'clothing_attributes', 'school', i
  222. gs 'clothing_QV', 'shop_filter'
  223. 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>'
  224. end
  225. i += 3
  226. if i = 6:i = 9
  227. if i <= 62:jump 'loopschool'
  228. end
  229. if $ARGS[0] = 'schoolclo':
  230. cla
  231. if school[i] ! 0:
  232. msg 'You already own these clothes.'
  233. gt 'budgetclothes', 'school'
  234. end
  235. gt 'clothing', 'view_clothing_item', 'shop', 'school',i, 1500
  236. end
  237. if $ARGS[0] = 'shoes':
  238. $metka = 'shoes'
  239. $loc = 'budgetclothes'
  240. cls
  241. gs'stat'
  242. act 'Return':
  243. cla
  244. minut += 1
  245. gt 'budgetclothes', 'start'
  246. end
  247. if Clothingstock > 15:
  248. i = 1
  249. elseif Clothingstock > 7:
  250. i = 2
  251. else
  252. i = 3
  253. end
  254. :loopgandm_shoes
  255. if sgandm[i] = 0:*p '<a href="exec: i = <<i>> & gt ''budgetclothes'', ''budget_shoes''"><img src="images/pc/shoes/G&M/<<i>>.jpg" height="250" /></a>'
  256. i += 3
  257. if i = 6:i = 9
  258. if i <= 51:jump 'loopgandm_shoes'
  259. end
  260. if $ARGS[0] = 'budget_shoes': gt 'shoes', 'view_shoe_item', 'shop', 'gandm',i, 700
  261. if $ARGS[0] = 'trainers':
  262. $metka = 'trainers'
  263. $loc = 'budgetclothes'
  264. cls
  265. gs'stat'
  266. act 'Return':
  267. cla
  268. minut += 1
  269. gt 'budgetclothes', 'start'
  270. end
  271. if Clothingstock > 11:
  272. i = 1
  273. else
  274. i = 2
  275. end
  276. :looptrainers_shoes
  277. if strainers[i] = 0:*p '<a href="exec: i = <<i>> & gt ''budgetclothes'', ''training_shoes''"><img src="images/pc/shoes/trainers/<<i>>.jpg" height="250" /></a>'
  278. i += 2
  279. if i = 21:i = 23
  280. if i <= 29:jump 'looptrainers_shoes'
  281. end
  282. if $ARGS[0] = 'training_shoes': gt 'shoes', 'view_shoe_item', 'shop', 'trainers',i, 800
  283. if $ARGS[0] = 'coats':
  284. $metka = $ARGS[0]
  285. $loc = 'budgetclothes'
  286. cls
  287. gs'stat'
  288. act 'Return':
  289. cla
  290. minut += 1
  291. gt 'budgetclothes', 'start'
  292. end
  293. i = 2
  294. :loopcoats
  295. if coat[i] = 0:*p '<a href="exec: i = <<i>> & gt ''budgetclothes'', ''coatsclo''"><img src="images/pc/clothing/11coat/<<i>>.jpg" height="250" /></a>'
  296. i += 1
  297. if i = 5:i = 6
  298. if i = 9:i = 10
  299. if i = 11:i = 12
  300. if i <= 19:jump 'loopcoats'
  301. end
  302. if $ARGS[0] = 'coatsclo':
  303. cla
  304. if coat[i] ! 0:
  305. msg 'You already own these clothes.'
  306. gt 'budgetclothes', 'coats'
  307. end
  308. gt 'clothing', 'view_clothing_item', 'shop', 'coat',i, 1000
  309. end
  310. if $ARGS[0] = 'purses':
  311. $metka = 'purses'
  312. $loc = 'budgetclothes'
  313. cls
  314. gs'stat'
  315. act 'Return':
  316. cla
  317. minut += 1
  318. gt 'budgetclothes', 'start'
  319. end
  320. i = 1
  321. :looppurses
  322. if cheap_purse[i] = 0:*p '<a href="exec: i = <<i>> & gt ''budgetclothes'', ''purses2''"><img src="images/pc/purses/cheap/<<i>>.jpg" height="250" /></a>'
  323. i += 1
  324. if i <= 14:jump 'looppurses'
  325. end
  326. if $ARGS[0] = 'purses2': gt 'purses', 'view_purse_item', 'shop', 'cheap',i, 1500
  327. if $ARGS[0] = 'panties':
  328. $metka = 'panties'
  329. $loc = 'budgetclothes'
  330. cls
  331. gs'stat'
  332. act 'Return':
  333. cla
  334. minut += 1
  335. gt 'budgetclothes', 'start'
  336. end
  337. i = 1
  338. :looppanties
  339. 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>'
  340. i += 1
  341. if i = 7: i = 8
  342. if i = 9: i = 10
  343. if i = 21: i = 22
  344. if i = 37: i = 38
  345. if i <= 37:jump 'looppanties'
  346. end
  347. if $ARGS[0] = 'bras':
  348. $metka = 'bras'
  349. $loc = 'budgetclothes'
  350. cls
  351. gs'stat'
  352. act 'Return':
  353. cla
  354. minut += 1
  355. gt 'budgetclothes', 'start'
  356. end
  357. i = 1
  358. :loopbras
  359. 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>'
  360. i += 1
  361. if i = 11: i = 13
  362. if i = 16: i = 17
  363. if i = 18: i = 19
  364. if i <= 19:jump 'loopbras'
  365. end
  366. --- budgetclothes ---------------------------------