clothing_QV.qsrc 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436
  1. # clothing_QV
  2. if $ARGS[0] = 'list':
  3. '<center><b><font color="maroon">Wardrobe - click on a shop name to view clothes from that shop</font></b></center>'
  4. *nl
  5. *nl
  6. $regularwornclothingtype = ''
  7. '<center><table border=1><TH><a href="exec:gt ''clothing'', ''view_clothing_list'', ''wardrobe''">Switch to wardrobe list</a></TH><TH><a href="exec:gt ''clothing'', ''view_clothing_list'', ''store''">Switch to stored clothing list</a></TH><TH><a href="exec:gt ''clothing'', ''view_clothing_list'', ''unwanted''">Switch to unwanted clothing list</a></TH></center>'
  8. if $clothingworntype ! 'nude':
  9. act 'Strip':gt 'clothing_QV', 'strip'
  10. end
  11. act 'Return':gt 'wardrobe', 'start'
  12. '<center><a href="exec:gt ''clothing_QV'', ''gm''"><img src="images/locations/city/citycenter/mall/GM.png"></a></center>'
  13. if ARRSIZE('average') > 0:'<center><a href="exec:gt ''clothing_QV'', ''kats''"><img src="images/locations/city/citycenter/mall/pussycat.png"></a></center>'
  14. if ARRSIZE('expensive') > 0:'<center><a href="exec:gt ''clothing_QV'', ''fashionista''"><img src="images/locations/city/citycenter/mall/fashionistat.png"></a></center>'
  15. if ARRSIZE('formal') > 0:'<center><a href="exec:gt ''clothing_QV'', ''moncheri''"><img src="images/locations/city/citycenter/mall/moncheri.png"></a></center>'
  16. if ARRSIZE('fetish') > 0 or ARRSIZE('burlesque') > 0:'<center><a href="exec:gt ''clothing_QV'', ''sexshop''"><img src="images/locations/city/citycenter/sexshop/shop_name.png"></a></center>'
  17. if ARRSIZE('exhibit') > 0:'<center><a href="exec:gt ''clothing_QV'', ''exhibitshop''"><img src="images/locations/oldtown/exhibitshop/shop_name.png"></a></center>'
  18. if ARRSIZE('alternative') > 0:'<center><a href="exec:gt ''clothing_QV'', ''dolls''"><img src="images/locations/city/island/dolls.png"></a></center>'
  19. if ARRSIZE('exercise') > 0:'<center><a href="exec:gt ''clothing_QV'', ''sports''"><img src="images/locations/city/citycenter/mall/sports.png"></a></center>'
  20. end
  21. if $ARGS[0] = 'gm':
  22. '<center><img src="images/locations/city/citycenter/mall/GM.png"></center>'
  23. if StoryLine = 1 and SchoolAtestat = 0 and SchoolBlock = 0 and schoolS[6] = 0:*p '<a href="exec:gt ''clothing_QV'', ''change'', ''school'', 6"><img src="images/pc/clothing/6school/6.jpg" height="250" /></a>'
  24. i = 1
  25. :loopcheap
  26. if cheap[i] = 1:
  27. gs 'clothing_attributes', 'cheap', i
  28. if CloInhibit <= pcs_inhib:
  29. if CloStyle ! 5:
  30. if cheapS[i] = 0 and cheapH[i] > 0 and cheapB[i] >= (pcs_hips - 8) and cheapB[i] <= (pcs_hips + 8):*p '<a href="exec:gt ''clothing_QV'', ''change'', ''cheap'', <<i>>"><img src="images/pc/clothing/1cheap/<<i>>.jpg" height="250" /></a>'
  31. else
  32. if cheapS[i] = 0 and cheapH[i] > 0:*p '<a href="exec:gt ''clothing_QV'', ''change'', ''cheap'', <<i>>"><img src="images/pc/clothing/1cheap/<<i>>.jpg" height="250" /></a>'
  33. end
  34. end
  35. end
  36. i += 1
  37. if i <= ARRSIZE('cheap'):jump 'loopcheap'
  38. i = 1
  39. :loopoffice
  40. if office[i] = 1:
  41. gs 'clothing_attributes', 'office', i
  42. if CloInhibit <= pcs_inhib:
  43. if officeS[i] = 0 and officeH[i] > 0 and officeB[i] >= (pcs_hips - 8) and officeB[i] <= (pcs_hips + 8):*p '<a href="exec:gt ''clothing_QV'', ''change'', ''office'', <<i>>"><img src="images/pc/clothing/5office/<<i>>.jpg" height="250" /></a>'
  44. end
  45. end
  46. i += 1
  47. if i <= ARRSIZE('office'):jump 'loopoffice'
  48. i = 1
  49. :loopschool
  50. if school[i] = 1:
  51. gs 'clothing_attributes', 'school', i
  52. if CloInhibit <= pcs_inhib:
  53. if schoolS[i] = 0 and schoolH[i] > 0 and schoolB[i] >= (pcs_hips - 8) and schoolB[i] <= (pcs_hips + 8):*p '<a href="exec:gt ''clothing_QV'', ''change'', ''school'', <<i>>"><img src="images/pc/clothing/6school/<<i>>.jpg" height="250" /></a>'
  54. end
  55. end
  56. i += 1
  57. if i = 6: i = 7
  58. if i <= ARRSIZE('school'):jump 'loopschool'
  59. i = 1
  60. :loopuniform
  61. if uniform[i] = 1:
  62. gs 'clothing_attributes', 'uniform', i
  63. if CloInhibit <= pcs_inhib:
  64. if uniformS[i] = 0 and uniformH[i] > 0 and uniformB[i] >= (pcs_hips - 8) and uniformB[i] <= (pcs_hips + 8):*p '<a href="exec:gt ''clothing_QV'', ''change'', ''uniform'', <<i>>"><img src="images/pc/clothing/10uniform/<<i>>.jpg" height="250" /></a>'
  65. end
  66. end
  67. i += 1
  68. if i <= ARRSIZE('uniform'):jump 'loopuniform'
  69. act 'Return': gt 'clothing_QV', 'list'
  70. end
  71. if $ARGS[0] = 'kats':
  72. '<center><img src="images/locations/city/citycenter/mall/pussycat.png"></center>'
  73. i = 1
  74. :loopaverage
  75. if average[i] = 1:
  76. gs 'clothing_attributes', 'average', i
  77. if CloInhibit <= pcs_inhib:
  78. if CloStyle ! 5:
  79. if averageS[i] = 0 and averageH[i] > 0 and averageB[i] >= (pcs_hips - 8) and averageB[i] <= (pcs_hips + 8):*p '<a href="exec:gt ''clothing_QV'', ''change'', ''average'', <<i>>"><img src="images/pc/clothing/2average/<<i>>.jpg" height="250" /></a>'
  80. else
  81. if averageS[i] = 0 and averageH[i] > 0:*p '<a href="exec:gt ''clothing_QV'', ''change'', ''average'', <<i>>"><img src="images/pc/clothing/2average/<<i>>.jpg" height="250" /></a>'
  82. end
  83. end
  84. end
  85. i += 1
  86. if i <= ARRSIZE('average'):jump 'loopaverage'
  87. act 'Return': gt 'clothing_QV', 'list'
  88. end
  89. if $ARGS[0] = 'fashionista':
  90. '<center><img src="images/locations/city/citycenter/mall/fashionistat.png"></center>'
  91. i = 1
  92. :loopexpensive
  93. if expensive[i] = 1:
  94. gs 'clothing_attributes', 'expensive', i
  95. if CloInhibit <= pcs_inhib:
  96. if CloStyle ! 5:
  97. if expensiveS[i] = 0 and expensiveH[i] > 0 and expensiveB[i] >= (pcs_hips - 8) and expensiveB[i] <= (pcs_hips + 8):*p '<a href="exec:gt ''clothing_QV'', ''change'', ''expensive'', <<i>>"><img src="images/pc/clothing/3expensive/<<i>>.jpg" height="250" /></a>'
  98. else
  99. if expensiveS[i] = 0 and expensiveH[i] > 0:*p '<a href="exec:gt ''clothing_QV'', ''change'', ''expensive'', <<i>>"><img src="images/pc/clothing/3expensive/<<i>>.jpg" height="250" /></a>'
  100. end
  101. end
  102. end
  103. i += 1
  104. if i <= ARRSIZE('expensive'):jump 'loopexpensive'
  105. act 'Return': gt 'clothing_QV', 'list'
  106. end
  107. if $ARGS[0] = 'moncheri':
  108. '<center><img src="images/locations/city/citycenter/mall/moncheri.png"></center>'
  109. i = 1
  110. :loopformal
  111. if formal[i] = 1:
  112. gs 'clothing_attributes', 'formal', i
  113. if CloInhibit <= pcs_inhib:
  114. if formalS[i] = 0 and formalH[i] > 0 and formalB[i] >= (pcs_hips - 8) and formalB[i] <= (pcs_hips + 8):*p '<a href="exec:gt ''clothing_QV'', ''change'', ''formal'', <<i>>"><img src="images/pc/clothing/4formal/<<i>>.jpg" height="250" /></a>'
  115. end
  116. end
  117. i += 1
  118. if i <= ARRSIZE('formal'):jump 'loopformal'
  119. act 'Return': gt 'clothing_QV', 'list'
  120. end
  121. if $ARGS[0] = 'sexshop':
  122. '<center><img src="images/locations/city/citycenter/sexshop/shop_name.png"></center>'
  123. i = 1
  124. :loopfetish
  125. if fetish[i] = 1:
  126. gs 'clothing_attributes', 'fetish', i
  127. if CloInhibit <= pcs_inhib:
  128. if fetishS[i] = 0 and fetishH[i] > 0 and fetishB[i] >= (pcs_hips - 8) and fetishB[i] <= (pcs_hips + 8):*p '<a href="exec:gt ''clothing_QV'', ''change'', ''fetish'', <<i>>"><img src="images/pc/clothing/8fetish/<<i>>.jpg" height="250" /></a>'
  129. end
  130. end
  131. i += 1
  132. if i <= ARRSIZE('fetish'):jump 'loopfetish'
  133. i = 1
  134. :loopburlesque
  135. if burlesque[i] = 1:
  136. gs 'clothing_attributes', 'burlesque', i
  137. if CloInhibit <= pcs_inhib:
  138. if burlesqueS[i] = 0 and burlesqueH[i] > 0 and burlesqueB[i] >= (pcs_hips - 8) and burlesqueB[i] <= (pcs_hips + 8):*p '<a href="exec:gt ''clothing_QV'', ''change'', ''burlesque'', <<i>>"><img src="images/pc/clothing/13burlesque/<<i>>.jpg" height="250" /></a>'
  139. end
  140. end
  141. i += 1
  142. if i <= ARRSIZE('burlesque'):jump 'loopburlesque'
  143. act 'Return': gt 'clothing_QV', 'list'
  144. end
  145. if $ARGS[0] = 'exhibitshop':
  146. '<center><img src="images/locations/oldtown/exhibitshop/shop_name.png"></center>'
  147. i = 1
  148. :loopexhibit
  149. if exhibit[i] = 1:
  150. gs 'clothing_attributes', 'exhibit', i
  151. if CloInhibit <= pcs_inhib:
  152. if exhibitS[i] = 0 and exhibitH[i] > 0 and exhibitB[i] >= (pcs_hips - 8) and exhibitB[i] <= (pcs_hips + 8):*p '<a href="exec:gt ''clothing_QV'', ''change'', ''exhibit'', <<i>>"><img src="images/pc/clothing/9exhibit/<<i>>.jpg" height="250" /></a>'
  153. end
  154. end
  155. i += 1
  156. if i <= ARRSIZE('exhibit'):jump 'loopexhibit'
  157. act 'Return': gt 'clothing_QV', 'list'
  158. end
  159. if $ARGS[0] = 'dolls':
  160. '<center><img src="images/locations/city/island/dolls.png"></center>'
  161. i = 1
  162. :loopalternative
  163. if alternative[i] = 1:
  164. gs 'clothing_attributes', 'alternative', i
  165. if CloInhibit <= pcs_inhib:
  166. if alternativeS[i] = 0 and alternativeH[i] > 0 and alternativeB[i] >= (pcs_hips - 8) and alternativeB[i] <= (pcs_hips + 8):*p '<a href="exec:gt ''clothing_QV'', ''change'', ''alternative'', <<i>>"><img src="images/pc/clothing/14alternative/<<i>>.jpg" height="250" /></a>'
  167. end
  168. end
  169. i += 1
  170. if i <= ARRSIZE('alternative'):jump 'loopalternative'
  171. act 'Return': gt 'clothing_QV', 'list'
  172. end
  173. if $ARGS[0] = 'sports':
  174. '<center><img src="images/locations/city/citycenter/mall/sports.png"></center>'
  175. i = 1
  176. :loopexercise
  177. if exercise[i] = 1:
  178. gs 'clothing_attributes', 'exercise', i
  179. if CloInhibit <= pcs_inhib:
  180. if exerciseS[i] = 0 and exerciseH[i] > 0:*p '<a href="exec:gt ''clothing_QV'', ''change'', ''exercise'', <<i>>"><img src="images/pc/clothing/7exercise/<<i>>.jpg" height="250" /></a>'
  181. end
  182. end
  183. i += 1
  184. if i <= ARRSIZE('exercise'):jump 'loopexercise'
  185. act 'Return': gt 'clothing_QV', 'list'
  186. end
  187. if $ARGS[0] = 'gym':
  188. if $regularwornclothingtype = '':
  189. $regularwornclothingtype = $clothingworntype
  190. regularwornclothingnumber = clothingwornnumber
  191. end
  192. '<center><img src="images/locations/city/citycenter/mall/sports.png"></center>'
  193. i = 1
  194. :loopexercise2
  195. if exercise[i] = 1:
  196. gs 'clothing_attributes', 'exercise', i
  197. if CloInhibit <= pcs_inhib:
  198. if exerciseS[i] = 0 and exerciseH[i] > 0:*p '<a href="exec:gt ''clothing_QV'', ''change'', ''exercise'', <<i>>"><img src="images/pc/clothing/7exercise/<<i>>.jpg" height="250" /></a>'
  199. end
  200. end
  201. i += 1
  202. if i <= ARRSIZE('exercise'):jump 'loopexercise2'
  203. act 'Return': gt $loc, $metka
  204. if $clothingworntype ! $regularwornclothingtype: gs 'clothing_QV', 'gym2'
  205. if $clothingworntype ! 'nude':
  206. act 'Strip':gt 'clothing_QV', 'strip'
  207. end
  208. end
  209. if $ARGS[0] = 'gym2':
  210. act 'Change back into your regular clothes':
  211. $clothingworntype = $regularwornclothingtype
  212. clothingwornnumber = regularwornclothingnumber
  213. killvar '$regularwornclothingtype'
  214. killvar 'regularwornclothingnumber'
  215. gt 'clothing_QV', 'gym'
  216. end
  217. end
  218. if $ARGS[0] = 'cloak':
  219. i = 1
  220. :loopcoat
  221. if coat[i] = 1:
  222. if coatH[i] > 0:*p '<a href="exec:gt ''clothing_QV'', ''change'', ''coat'', <<i>>"><img src="images/pc/clothing/11coat/<<i>>.jpg" height="250" /></a>'
  223. end
  224. i += 1
  225. if i <= ARRSIZE('coat'):jump 'loopcoat'
  226. end
  227. if $ARGS[0] = 'strip':
  228. if $pantyworntype ! 'none':
  229. '<center><img src="images/pc/clothing/nude.jpg"></center>'
  230. '<center>You strip down to your panties.</center>'
  231. else
  232. '<center><img src="images/pc/clothing/nude1.jpg"></center>'
  233. '<center>You strip completely naked.</center>'
  234. end
  235. gs 'clothing', 'strip'
  236. act 'Choose something to wear':
  237. if $regularwornclothingtype = '':
  238. gt 'clothing_QV', 'list'
  239. else
  240. gt 'clothing_QV', 'gym'
  241. end
  242. end
  243. act 'Leave': gt $loc, $metka
  244. end
  245. if $ARGS[0] = 'change':
  246. *clr
  247. cla
  248. gs 'clothing_attributes', $ARGS[1], ARGS[2]
  249. '<center><img src="<<FUNC(''$clothing_image'', $ARGS[1], ARGS[2])>>"></center>'
  250. $RESULT = FUNC('$short_description', $ARGS[1], CloStyle2)
  251. $RESULT += '<<ARGS[2]>>'
  252. '<<$RESULT>>'
  253. if $ARGS[1] ! 'coat' and $ARGS[1] ! 'swimwear':
  254. gs 'clothing_descriptions'
  255. '<<$description>>'
  256. else
  257. FUNC('$clothing_name', $ARGS[1], ARGS[2])
  258. end
  259. if CloBimbo = 1:'This item is considered bimbo clothing.'
  260. if CloStyle = 4:'This outfit can be used for prostitution.'
  261. if $ARGS[2] = 'uniform':
  262. if CloStyle2 = 1:
  263. 'This outfit is considered to be a maid uniform.'
  264. elseif CloStyle2 = 3:
  265. 'This is a stripper outfit.'
  266. else
  267. 'This outfit is a server uniform, suitable for jobs that require one.'
  268. end
  269. end
  270. if $ARGS[2] = 'school':
  271. if CloSkirtShortness < 5 and CloThinness < 5 and CloBra = 0:
  272. '<font color="blue">This uniform complies with the school regulations on skirt length.</font>'
  273. elseif CloSkirtShortness = 5 and CloThinness < 5 and CloBra = 0:
  274. '<font color="blue">This uniform slightly breaches the school regulations on skirt length.</font>'
  275. else
  276. '<font color="red">This uniform makes a mockery of the school uniform regulations.</font>'
  277. end
  278. end
  279. if $clothingworntype = $ARGS[1] and clothingwornnumber = ARGS[2]:
  280. 'You are wearing this outfit.'
  281. elseif CloInhibit > pcs_inhib:
  282. 'You don''t feel confident enough to wear an outfit this revealing.'
  283. elseif ARRPOS('$CloLosTyp', $ARGS[1]) ! -1 and ARRPOS('CloLosNum',ARGS[2]) ! -1 :
  284. 'You lost these clothes somewhere, maybe you can find them again?.'
  285. else
  286. if CloInhibit + 10 > pcs_inhib: 'You find this outfit more revealing than you are completely comfortable with but that makes it quite exciting too.'
  287. act 'Wear this outfit':
  288. gs 'clothing', 'wear', $ARGS[1], ARGS[2]
  289. if $regularwornclothingtype = '':
  290. gt 'wardrobe', 'start'
  291. else
  292. gt 'clothing_QV', 'gym'
  293. end
  294. end
  295. end
  296. act 'Return': gt 'clothing_QV', 'list'
  297. end
  298. if $ARGS[0] = 'shop_header':
  299. $Headerstring = '<TH>Prostitute clothing '
  300. if clothingfilter_prost = 0:
  301. $Headerstring += '<a href="exec:clothingfilter_prost = 1 & gt $loc, $metka">Included</a></TH>'
  302. else
  303. $Headerstring += '<a href="exec:clothingfilter_prost = 0 & gt $loc, $metka">Excluded</a></TH>'
  304. end
  305. $Headerstring += '<TH>Bimbo clothing '
  306. if clothingfilter_bimbo = 0:
  307. $Headerstring += '<a href="exec:clothingfilter_bimbo = 1 & gt $loc, $metka">Included</a></TH>'
  308. else
  309. $Headerstring += '<a href="exec:clothingfilter_bimbo = 0 & gt $loc, $metka">Excluded</a></TH>'
  310. end
  311. $Headerstring += '<TH>Neither Prostitute or Bimbo clothing '
  312. if clothingfilter_norm = 0:
  313. $Headerstring += '<a href="exec:clothingfilter_norm = 1 & gt $loc, $metka">Included</a></TH>'
  314. else
  315. $Headerstring += '<a href="exec:clothingfilter_norm = 0 & gt $loc, $metka">Excluded</a></TH>'
  316. end
  317. $Headerstring += '<TH>Clothing you don''t find risqué '
  318. if clothingfilter_comf = 0:
  319. $Headerstring += '<a href="exec:clothingfilter_comf = 1 & gt $loc, $metka">Included</a></TH>'
  320. else
  321. $Headerstring += '<a href="exec:clothingfilter_comf = 0 & gt $loc, $metka">Excluded</a></TH>'
  322. end
  323. $Headerstring += '<TH>Risqué clothing '
  324. if clothingfilter_daring = 0:
  325. $Headerstring += '<a href="exec:clothingfilter_daring = 1 & gt $loc, $metka">Included</a></TH>'
  326. else
  327. $Headerstring += '<a href="exec:clothingfilter_daring = 0 & gt $loc, $metka">Excluded</a></TH>'
  328. end
  329. $Headerstring += '<TH>Clothing too risqué for you '
  330. if clothingfilter_too_daring = 0:
  331. $Headerstring += '<a href="exec:clothingfilter_too_daring = 1 & gt $loc, $metka">Included</a></TH>'
  332. else
  333. $Headerstring += '<a href="exec:clothingfilter_too_daring = 0 & gt $loc, $metka">Excluded</a></TH>'
  334. end
  335. '<center><table border=1><<$Headerstring>></center>'
  336. end
  337. if $ARGS[0] = 'shop_filter':
  338. if (clothingfilter_comf = 0 and CloInhibit + 10 < pcs_inhib) or (clothingfilter_daring = 0 and CloInhibit + 10 >= pcs_inhib and CloInhibit <= pcs_inhib) or (clothingfilter_too_daring = 0 and CloInhibit > pcs_inhib):
  339. clothingfilter_risk = 1
  340. else
  341. clothingfilter_risk = 0
  342. end
  343. if (clothingfilter_prost = 0 or CloStyle ! 4) and (clothingfilter_bimbo = 0 or CloBimbo = 0):
  344. clothingfilter_pandb = 1
  345. else
  346. clothingfilter_pandb = 0
  347. end
  348. if clothingfilter_norm = 1 and CloStyle ! 4 and CloBimbo ! 1:
  349. clothingfilter_norm2 = 0
  350. else
  351. clothingfilter_norm2 = 1
  352. end
  353. end
  354. --- clothing_QV ---------------------------------