bras.qsrc 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273
  1. # bras
  2. !!2021/04/15
  3. !!gs 'bras', 'dispose'
  4. !!gs 'bras', 'remove'
  5. !!gs 'bras', 'wear'
  6. if $ARGS[0] = 'dispose':
  7. dynamic $braworntype + '_bras[<<lastwornbranumber>>] = 0'
  8. $lastwornbratype = 'none'
  9. lastwornbranumber = 0
  10. $braworntype = 'none'
  11. brawornnumber = 0
  12. end
  13. if $ARGS[0] = 'remove':
  14. $lastwornbratype = $braworntype
  15. lastwornbranumber = brawornnumber
  16. $braworntype = 'none'
  17. brawornnumber = 0
  18. end
  19. if $ARGS[0] = 'wear':
  20. bra_none = 0
  21. if $ARGS[1] = '':
  22. if dyneval('RESULT = <<$lastwornbratype>>_brasS[<<lastwornbranumber>>]') = 0 and $lastwornbratype ! '':
  23. $braworntype = $lastwornbratype
  24. brawornnumber = lastwornbranumber
  25. else
  26. $braworntype = 'none'
  27. brawornnumber = 0
  28. end
  29. else
  30. if dyneval('RESULT = <<$ARGS[1]>>_brasS[<<ARGS[2]>>]') = 0:
  31. $braworntype = $ARGS[1]
  32. brawornnumber = ARGS[2]
  33. else
  34. $braworntype = 'none'
  35. brawornnumber = 0
  36. end
  37. end
  38. end
  39. if $ARGS[0] = 'view_bra_list':
  40. !! ARGS 0 - view_bra_list
  41. !! ARGS 1 - action type (draw, store, unwanted)
  42. if $pursepantytype ! '' or $pursebratype ! '':
  43. '<center><b>You put the '+iif($pursepantytype ! '','panties','')+iif($pursepantytype ! '' and $pursebratype ! '',' and ','')+iif($pursebratype ! '','bra','')+' from your purse back in the wardrobe.</b></center><br>'
  44. killvar '$pursepantytype' & killvar 'pursepantynumber'
  45. killvar '$pursebratype' & killvar 'pursebranumber'
  46. end
  47. if $ARGS[1] ! 'bathroom':
  48. act 'Return': gt 'wardrobe', 'main'
  49. else
  50. act 'Return': gt $loc, $loc_arg
  51. end
  52. if $ARGS[1] = 'wardrobe':
  53. metka_bras = 0
  54. end
  55. if $ARGS[1] = 'store':
  56. metka_bras = 1
  57. end
  58. if $ARGS[1] = 'unwanted':
  59. metka_bras = 2
  60. end
  61. '<center><table border=1><TH><a href="exec:gt ''bras'', ''view_bra_list'', ''wardrobe''">Draw</a></TH><TH><a href="exec:gt ''bras'', ''view_bra_list'', ''store''">Storage</a></TH><TH><a href="exec:gt ''bras'', ''view_bra_list'', ''unwanted''">Unwanted</a></TH></table></center>'
  62. if $braworntype ! 'none':act 'Remove bra':gs 'bras', 'remove' & gt 'bras', 'view_bra_list', $ARGS[1]
  63. if $ARGS[1] = 'store':
  64. cloc = 1
  65. end
  66. '<center><img src="images/locations/city/citycenter/mall/gm.png"></center>'
  67. i = 1
  68. :loopcheapbras
  69. if cheap_brasS[i] = metka_bras and cheap_bras[i] = 1:*p '<a href="exec:gt ''bras'', ''view_bra_item'', ''<<$ARGS[1]>>'', ''cheap'', <<i>>"><img src="images/pc/bras/basic/<<i>>.jpg" height="150" /></a>'
  70. i += 1
  71. if i <= ARRSIZE('cheap_bras'):jump 'loopcheapbras'
  72. '<center><img src="images/locations/city/citycenter/mall/Lusso.png"></center>'
  73. i = 1
  74. :loopboutiquebras
  75. if boutique_brasS[i] = metka_bras and boutique_bras[i] = 1:*p '<a href="exec:gt ''bras'', ''view_bra_item'', ''<<$ARGS[1]>>'', ''boutique'', <<i>>"><img src="images/pc/bras/boutique/<<i>>.jpg" height="150" /></a>'
  76. i += 1
  77. if i <= ARRSIZE('boutique_bras'):jump 'loopboutiquebras'
  78. '<center><img src="images/locations/pushkin/exhibitshop/shop_name.png"></center>'
  79. i = 1
  80. :loopexhibitionistbras
  81. if exhibitionist_brasS[i] = metka_bras and exhibitionist_bras[i] = 1:*p '<a href="exec:gt ''bras'', ''view_bra_item'', ''<<$ARGS[1]>>'', ''exhibitionist'', <<i>>"><img src="images/pc/bras/exhibitionist/<<i>>.jpg" height="150" /></a>'
  82. i += 1
  83. if i <= ARRSIZE('exhibitionist_bras'):jump 'loopexhibitionistbras'
  84. '<center><img src="images/locations/city/citycenter/mall/fashionista.png"></center>'
  85. i = 1
  86. :loopfashionistabras
  87. if fashionista_brasS[i] = metka_bras and fashionista_bras[i] = 1:*p '<a href="exec:gt ''bras'', ''view_bra_item'', ''<<$ARGS[1]>>'', ''fashionista'', <<i>>"><img src="images/pc/bras/fashionista/<<i>>.jpg" height="150" /></a>'
  88. i += 1
  89. if i <= ARRSIZE('fashionista_bras'):jump 'loopfashionistabras'
  90. '<center><img src="images/locations/city/citycenter/mall/pussycat.png"></center>'
  91. i = 1
  92. :loopkatsbras
  93. if kats_brasS[i] = metka_bras and kats_bras[i] = 1:*p '<a href="exec:gt ''bras'', ''view_bra_item'', ''<<$ARGS[1]>>'', ''kats'', <<i>>"><img src="images/pc/bras/kats/<<i>>.jpg" height="150" /></a>'
  94. i += 1
  95. if i <= ARRSIZE('kats_bras'):jump 'loopkatsbras'
  96. '<center><img src="images/locations/city/redlight/erotomaniac/shop_name.png"></center>'
  97. i = 1
  98. :loopsexshopbras
  99. if sexshop_brasS[i] = metka_bras and sexshop_bras[i] = 1:*p '<a href="exec:gt ''bras'', ''view_bra_item'', ''<<$ARGS[1]>>'', ''sexshop'', <<i>>"><img src="images/pc/bras/sexshop/<<i>>.jpg" height="150" /></a>'
  100. i += 1
  101. if i <= ARRSIZE('sexshop_bras'):jump 'loopsexshopbras'
  102. '<center><img src="images/locations/city/citycenter/mall/sports.png"></center>'
  103. i = 1
  104. :loopsportbras
  105. if sport_brasS[i] = metka_bras and sport_bras[i] = 1:*p '<a href="exec:gt ''bras'', ''view_bra_item'', ''<<$ARGS[1]>>'', ''sport'', <<i>>"><img src="images/pc/bras/sport/<<i>>.jpg" height="150" /></a>'
  106. i += 1
  107. if i <= ARRSIZE('sport_bras'):jump 'loopsportbras'
  108. end
  109. if $ARGS[0] = 'view_bra_item':
  110. !! ARGS 0 - view_bra_item
  111. !! ARGS 1 = action type (wardrobe, bathroom, shop)
  112. !! ARGS 2 - bra type
  113. !! ARGS 3 - bra index
  114. !! ARGS 4 - price for shop
  115. cla
  116. '<center><img src="<<FUNC(''$bra_image'', $ARGS[2], ARGS[3])>>"></center>'
  117. !! gs 'bra_attributes', $ARGS[2], ARGS[3]
  118. !! $RESULT = FUNC('$short_description', $ARGS[2], CloStyle2)
  119. !! $RESULT += '<<ARGS[3]>>'
  120. !! '<<$RESULT>>'
  121. gs 'bras', 'descriptions', $ARGS[2]
  122. if $ARGS[1] = 'shop':
  123. if dyneval('RESULT = <<$ARGS[2]>>_bras[<<ARGS[3]>>]') = 1:
  124. 'You already own this item.'
  125. act 'Leave': gt $loc, $loc_arg
  126. else
  127. price = ARGS[4]
  128. 'Price: <<ARGS[4]>> <b>₽</b>'
  129. act 'Leave': gt $loc, $loc_arg
  130. if money >= price:
  131. act 'Buy (cash)':
  132. money -= price
  133. dynamic $ARGS[2] + '_bras[<<ARGS[3]>>] = 1'
  134. dynamic $ARGS[2] + '_brasS[<<ARGS[3]>>] = 0'
  135. gt $loc, $loc_arg
  136. end
  137. else
  138. 'You do not have enough cash to buy this bra.'
  139. end
  140. if karta + bankDebtLimit >= price:
  141. act 'Buy (card)':
  142. karta -= price
  143. dynamic $ARGS[2] + '_bras[<<ARGS[3]>>] = 1'
  144. dynamic $ARGS[2] + '_brasS[<<ARGS[3]>>] = 0'
  145. gt $loc, $loc_arg
  146. end
  147. else
  148. 'You do not have enough money in your bank to buy this bra.'
  149. end
  150. end
  151. else
  152. if $ARGS[1] ! 'bathroom':
  153. if metka_bras ! 1:$RESULT += 'Move these bras to <a href="exec:gt ''bras'', ''dest1'', ''<<$ARGS[1]>>'', ''<<$ARGS[2]>>'', <<ARGS[3]>>">Storage</a><BR>'
  154. if metka_bras ! 0:$RESULT += 'Move these bras to <a href="exec:gt ''bras'', ''dest0'', ''<<$ARGS[1]>>'', ''<<$ARGS[2]>>'', <<ARGS[3]>>">Wardrobe</a><BR>'
  155. if metka_bras ! 2:$RESULT += 'Move these bras to <a href="exec:gt ''bras'', ''dest2'', ''<<$ARGS[1]>>'', ''<<$ARGS[2]>>'', <<ARGS[3]>>">Unwanted</a>'
  156. end
  157. act 'Return':gt 'bras', 'view_bra_list', $ARGS[1]
  158. if $ARGS[1] = 'store':
  159. 'This bra is in storage.'
  160. elseif $ARGS[1] = 'unwanted':
  161. 'This bra is unwanted.'
  162. else
  163. if $braworntype = $ARGS[2] and brawornnumber = ARGS[3]:
  164. 'You are wearing this bra.'
  165. else
  166. if metka_bras = 0:
  167. act 'Wear':
  168. if hypnoBra > 0:
  169. cla
  170. *clr
  171. 'You pick up the bra and think about trying it on... but then you change your mind and put it back. You don''t really like wearing bras.'
  172. act 'Continue':
  173. gt 'wardrobe', 'main'
  174. end
  175. else
  176. if CloBra = 1:
  177. msg'You cannot wear a bra with this top'
  178. else
  179. gs 'bras', 'wear', $ARGS[2], ARGS[3]
  180. if $ARGS[1] = 'wardrobe':
  181. gt 'wardrobe', 'main'
  182. else
  183. gt $loc, $loc_arg
  184. end
  185. end
  186. end
  187. end
  188. end
  189. end
  190. end
  191. if $ARGS[1] ! 'store':
  192. act 'Move to storage': gt 'bras', 'dest1', $ARGS[1], $ARGS[2], ARGS[3]
  193. end
  194. if $ARGS[1] ! 'unwanted':
  195. act 'Move to unwanted': gt 'bras', 'dest2', $ARGS[1], $ARGS[2], ARGS[3]
  196. end
  197. if $ARGS[1] ! 'wardrobe':
  198. act 'Move to wardrobe': gt 'bras', 'dest0', $ARGS[1], $ARGS[2], ARGS[3]
  199. end
  200. end
  201. end
  202. if $ARGS[0] = 'dest0':
  203. *clr
  204. dynamic '<<$ARGS[2]>>_brasS[<<ARGS[3]>>] = 0'
  205. gt 'bras', 'view_bra_item', $ARGS[1], $ARGS[2], ARGS[3]
  206. end
  207. if $ARGS[0] = 'dest1':
  208. *clr
  209. dynamic '<<$ARGS[2]>>_brasS[<<ARGS[3]>>] = 1'
  210. gt 'bras', 'view_bra_item', $ARGS[1], $ARGS[2], ARGS[3]
  211. end
  212. if $ARGS[0] = 'dest2':
  213. *clr
  214. dynamic '<<$ARGS[2]>>_brasS[<<ARGS[3]>>] = 2'
  215. gt 'bras', 'view_bra_item', $ARGS[1], $ARGS[2], ARGS[3]
  216. end
  217. if $ARGS[0] = 'descriptions':
  218. if $ARGS[1] = 'cheap':
  219. 'Cheap bra with no redeeming features.'
  220. elseif $ARGS[1] = 'boutique':
  221. 'This bra is so beautifully made that your posture and confidence is improved wearing it boosting your appearance even when fully clothed.'
  222. elseif $ARGS[1] = 'exhibitionist':
  223. 'This bra is so revealing that it is more exciting than not wearing one and you''ll always feel horny wearing it.'
  224. elseif $ARGS[1] = 'fashionista':
  225. 'This bra is well made improving your posture and confidence and slightly boosting your appearance even when fully clothed.'
  226. elseif $ARGS[1] = 'kats':
  227. 'This bra feels reassuring and wear it gives your mood a lift.'
  228. elseif $ARGS[1] = 'sexshop':
  229. 'Tacky and cheap this bra makes you look like a hooker, this could be a bonus if working as one.'
  230. elseif $ARGS[1] = 'sport':
  231. 'This bra is designed for physical exercises to make them less tiring.'
  232. end
  233. end
  234. --- bras ---------------------------------