bras.qsrc 8.4 KB

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