panties.qsrc 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495
  1. # panties
  2. !!This is separate panties file and that means underwear['type'] = 0
  3. !!2021/04/15
  4. !!gs 'panties', 'dispose'
  5. !!to remove panties and destroy them
  6. !!gs 'panties', 'remove'
  7. !!To remove panties and store them
  8. !!gs 'panties', 'wear'
  9. !!To wear panties
  10. menu_off = 1
  11. if $ARGS[0] = 'view_panty_list':
  12. !! ARGS 0 - view_panty_list
  13. !! ARGS 1 - action type (clean, dirty, store, bathroom)
  14. if $pursepantytype ! '' or $pursebratype ! '':
  15. '<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>'
  16. killvar '$pursepantytype' & killvar 'pursepantynumber'
  17. killvar '$pursebratype' & killvar 'pursebranumber'
  18. end
  19. if $ARGS[1] ! 'bathroom':
  20. act 'Return': gt 'wardrobe', 'main'
  21. else
  22. act 'Return': gt $loc, $loc_arg
  23. end
  24. if $ARGS[1] = 'wardrobe':
  25. metka_panties = 0
  26. end
  27. if $ARGS[1] = 'store':
  28. metka_panties = 1
  29. end
  30. if $ARGS[1] = 'unwanted':
  31. metka_panties = 2
  32. end
  33. '<center><table border=1><TH><a href="exec:gt ''panties'', ''view_panty_list'', ''wardrobe''">Draw</a></TH><TH><a href="exec:gt ''panties'', ''view_panty_list'', ''store''">Storage</a></TH><TH><a href="exec:gt ''panties'', ''view_panty_list'', ''unwanted''">Unwanted</a></TH></table></center>'
  34. if $pantyworntype ! 'none':act 'Remove panties':gs 'panties', 'remove' & gt 'panties', 'view_panty_list', $ARGS[1]
  35. if $ARGS[1] = 'store':
  36. cloc = 1
  37. end
  38. '<center><img src="images/locations/city/citycenter/mall/gm.png"></center>'
  39. i = 1
  40. :loopcheappanties
  41. if cheap_pantiesS[i] = metka_panties and cheap_panties[i] = 1:*p '<a href="exec:gt ''panties'', ''view_panty_item'', ''<<$ARGS[1]>>'', ''cheap'', <<i>>"><img src="images/pc/panties/basic/<<i>>.jpg" height="150" /></a>'
  42. i += 1
  43. if i <= ARRSIZE('cheap_panties'):jump 'loopcheappanties'
  44. '<center><img src="images/locations/city/citycenter/mall/Lusso.png"></center>'
  45. i = 1
  46. :loopboutiquepanties
  47. if boutique_pantiesS[i] = metka_panties and boutique_panties[i] = 1:*p '<a href="exec:gt ''panties'', ''view_panty_item'', ''<<$ARGS[1]>>'', ''boutique'', <<i>>"><img src="images/pc/panties/boutique/<<i>>.jpg" height="150" /></a>'
  48. i += 1
  49. if i <= ARRSIZE('boutique_panties'):jump 'loopboutiquepanties'
  50. '<center><img src="images/locations/pushkin/exhibitshop/shop_name.png"></center>'
  51. i = 1
  52. :loopexhibitionistpanties
  53. if exhibitionist_pantiesS[i] = metka_panties and exhibitionist_panties[i] = 1:*p '<a href="exec:gt ''panties'', ''view_panty_item'', ''<<$ARGS[1]>>'', ''exhibitionist'', <<i>>"><img src="images/pc/panties/exhibitionist/<<i>>.jpg" height="150" /></a>'
  54. i += 1
  55. if i <= ARRSIZE('exhibitionist_panties'):jump 'loopexhibitionistpanties'
  56. '<center><img src="images/locations/city/citycenter/mall/fashionista.png"></center>'
  57. i = 1
  58. :loopfashionistapanties
  59. if fashionista_pantiesS[i] = metka_panties and fashionista_panties[i] = 1:*p '<a href="exec:gt ''panties'', ''view_panty_item'', ''<<$ARGS[1]>>'', ''fashionista'', <<i>>"><img src="images/pc/panties/fashionista/<<i>>.jpg" height="150" /></a>'
  60. i += 1
  61. if i <= ARRSIZE('fashionista_panties'):jump 'loopfashionistapanties'
  62. '<center><img src="images/locations/city/citycenter/mall/pussycat.png"></center>'
  63. i = 1
  64. :loopcatspanties
  65. if cats_pantiesS[i] = metka_panties and cats_panties[i] = 1:*p '<a href="exec:gt ''panties'', ''view_panty_item'', ''<<$ARGS[1]>>'', ''cats'', <<i>>"><img src="images/pc/panties/kats/<<i>>.jpg" height="150" /></a>'
  66. i += 1
  67. if i <= ARRSIZE('cats_panties'):jump 'loopcatspanties'
  68. '<center><img src="images/locations/city/redlight/erotomaniac/shop_name.png"></center>'
  69. i = 1
  70. :loopsexshoppanties
  71. if sexshop_pantiesS[i] = metka_panties and sexshop_panties[i] = 1:*p '<a href="exec:gt ''panties'', ''view_panty_item'', ''<<$ARGS[1]>>'', ''sexshop'', <<i>>"><img src="images/pc/panties/sexshop/<<i>>.jpg" height="150" /></a>'
  72. i += 1
  73. if i <= ARRSIZE('sexshop_panties'):jump 'loopsexshoppanties'
  74. '<center><img src="images/locations/city/citycenter/mall/sports.png"></center>'
  75. i = 1
  76. :loopsportpanties
  77. if sport_pantiesS[i] = metka_panties and sport_panties[i] = 1:*p '<a href="exec:gt ''panties'', ''view_panty_item'', ''<<$ARGS[1]>>'', ''sport'', <<i>>"><img src="images/pc/panties/sport/<<i>>.jpg" height="150" /></a>'
  78. i += 1
  79. if i <= ARRSIZE('sport_panties'):jump 'loopsportpanties'
  80. end
  81. if $ARGS[0] = 'view_panty_item':
  82. !! ARGS 0 - view_panty_item
  83. !! ARGS 1 = action type (draw, shop)
  84. !! ARGS 2 - panty type
  85. !! ARGS 3 - panty index
  86. !! ARGS 4 - price for shop
  87. cla
  88. '<center><img src="<<FUNC(''$panty_image'', $ARGS[2], ARGS[3])>>"></center>'
  89. gs 'underwear_attributes', $ARGS[2]+'_panties', ARGS[3]
  90. !! $RESULT = FUNC('$short_description', $ARGS[2], CloStyle2)
  91. !! $RESULT += '<<ARGS[3]>>'
  92. !! '<<$RESULT>>'
  93. if BraQuality > 0:
  94. gs 'underwear_descriptions', 'panties'
  95. 'This bra forms a set with bra #<<underwear[''pair'']>>.'
  96. else
  97. gs 'panties', 'descriptions', $ARGS[2]
  98. end
  99. if $ARGS[1] = 'shop':
  100. if dyneval('RESULT = <<$ARGS[2]>>_panties[<<ARGS[3]>>]') = 1:
  101. 'You already own this item.'
  102. act 'Leave': gt $loc, $loc_arg
  103. else
  104. price = ARGS[4]
  105. 'Price: <<ARGS[4]>> <b>₽</b>'
  106. act 'Leave': gt $loc, $loc_arg
  107. if money >= price:
  108. act 'Buy (cash)':
  109. money -= price
  110. dynamic $ARGS[2] + '_panties[<<ARGS[3]>>] = 1'
  111. dynamic $ARGS[2] + '_pantiesS[<<ARGS[3]>>] = 0'
  112. gt $loc, $loc_arg
  113. end
  114. else
  115. 'You do not have enough cash to buy these panties.'
  116. end
  117. if karta + bankDebtLimit >= price:
  118. act 'Buy (card)':
  119. karta -= price
  120. dynamic $ARGS[2] + '_panties[<<ARGS[3]>>] = 1'
  121. dynamic $ARGS[2] + '_pantiesS[<<ARGS[3]>>] = 0'
  122. gt $loc, $loc_arg
  123. end
  124. else
  125. 'You do not have enough money in your bank to buy these panties.'
  126. end
  127. if underwear['pair'] > 0:
  128. if dyneval('RESULT = <<$ARGS[2]>>_panties[<<underwear[''pair'']>>]') = 1:
  129. 'You own the matching bra buying these panties will complete the set.'
  130. else
  131. 'You do not own the matching bra, you can buy it and these panties together as a set.'
  132. price_set = ARGS[4]*18/10
  133. 'Price for set: <<price_set>> <b>₽</b>'
  134. if money >= price_set:
  135. act 'Buy set (cash)':
  136. money -= price_set
  137. dynamic $ARGS[2] + '_panties[<<ARGS[3]>>] = 1'
  138. dynamic $ARGS[2] + '_pantiesS[<<ARGS[3]>>] = 0'
  139. dynamic $ARGS[2] + '_bras[<<underwear[''pair'']>>] = 1'
  140. dynamic $ARGS[2] + '_brasS[<<underwear[''pair'']>>] = 0'
  141. gt $loc, $loc_arg
  142. end
  143. else
  144. 'You do not have enough cash to buy this set.'
  145. end
  146. if karta + bankDebtLimit >= price_set:
  147. act 'Buy set (card)':
  148. karta -= price_set
  149. dynamic $ARGS[2] + '_panties[<<ARGS[3]>>] = 1'
  150. dynamic $ARGS[2] + '_pantiesS[<<ARGS[3]>>] = 0'
  151. dynamic $ARGS[2] + '_bras[<<underwear[''pair'']>>] = 1'
  152. dynamic $ARGS[2] + '_brasS[<<underwear[''pair'']>>] = 0'
  153. gt $loc, $loc_arg
  154. end
  155. else
  156. 'You do not have enough money in your bank to buy this set.'
  157. end
  158. end
  159. end
  160. end
  161. else
  162. act 'Return':gt 'panties', 'view_panty_list', $ARGS[1]
  163. if $ARGS[1] = 'store':
  164. 'These panties are in storage.'
  165. elseif $ARGS[1] = 'unwanted':
  166. 'These panties are unwanted.'
  167. else
  168. if $pantyworntype = $ARGS[2] and pantywornnumber = ARGS[3]:
  169. 'You are wearing these panties.'
  170. else
  171. if metka_panties = 0:
  172. act 'Wear':
  173. if CloPanties = 1:
  174. msg'Your outfit is already replacing your panties'
  175. else
  176. if hypnoPanty > 0:
  177. cla
  178. *clr
  179. 'You pick up the panties and think about trying them on... but you don''t really like wearing panties.'
  180. gs 'willpower', 'misc', 'resist', 'easy'
  181. will_cost += hypnoTime
  182. if will_cost <= pcs_willpwr:
  183. act 'Put them on anyways (<<will_cost>> Willpower)':
  184. gs 'willpower', 'pay', 'resist'
  185. gs 'stat'
  186. gs 'panties', 'wear', $ARGS[2], ARGS[3]
  187. if $ARGS[1] = 'wardrobe':
  188. gt 'wardrobe', 'main'
  189. else
  190. gt $loc, $loc_arg
  191. end
  192. end
  193. else
  194. act 'Put them on anyways (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
  195. end
  196. act 'Back':
  197. gt 'wardrobe', 'main'
  198. end
  199. else
  200. gs 'panties', 'wear', $ARGS[2], ARGS[3]
  201. if $ARGS[1] = 'wardrobe':
  202. gt 'wardrobe', 'main'
  203. else
  204. gt $loc, $loc_arg
  205. end
  206. end
  207. end
  208. end
  209. if underwear['pair'] > 0:
  210. if dyneval('RESULT = <<$ARGS[2]>>_bras[<<underwear[''pair'']>>]') = 1:
  211. 'You own this bra and can wear this set.'
  212. act 'Wear set':
  213. if CloBra = 1:
  214. msg'You cannot wear a bra with this top'
  215. elseif CloPanties = 1:
  216. msg'You cannot wear a panties with this outfit'
  217. else
  218. if hypnoBra > 0 and hypnoPanty > 0:
  219. cla
  220. *clr
  221. 'You pick up the bra and panties and think about trying them on... but you don''t really like wearing underwear.'
  222. gs 'willpower', 'misc', 'resist'
  223. will_cost += hypnoTime
  224. if will_cost <= pcs_willpwr:
  225. act 'Wear it anyway anyways (<<will_cost>> Willpower)':
  226. gs 'willpower', 'pay', 'resist'
  227. gs 'stat'
  228. gs 'bras', 'wear', $ARGS[2], underwear['pair']
  229. gs 'panties', 'wear', $ARGS[2], ARGS[3]
  230. if $ARGS[1] = 'wardrobe':
  231. gt 'wardrobe', 'main'
  232. else
  233. gt $loc, $loc_arg
  234. end
  235. end
  236. else
  237. act 'Wear it anyway anyways (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
  238. end
  239. act 'Back':
  240. gt 'wardrobe', 'main'
  241. end
  242. elseif hypnoBra > 0:
  243. cla
  244. *clr
  245. 'You pick up the bra and think about trying them on... but you don''t really like wearing bras.'
  246. gs 'willpower', 'misc', 'resist', 'easy'
  247. will_cost += hypnoTime
  248. if will_cost <= pcs_willpwr:
  249. act 'Put them on anyways (<<will_cost>> Willpower)':
  250. gs 'willpower', 'pay', 'resist'
  251. gs 'stat'
  252. gs 'bras', 'wear', $ARGS[2], underwear['pair']
  253. gs 'panties', 'wear', $ARGS[2], ARGS[3]
  254. if $ARGS[1] = 'wardrobe':
  255. gt 'wardrobe', 'main'
  256. else
  257. gt $loc, $loc_arg
  258. end
  259. end
  260. else
  261. act 'Put them on anyways (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
  262. end
  263. act 'Back':
  264. gt 'wardrobe', 'main'
  265. end
  266. elseif hypnoPanty > 0:
  267. cla
  268. *clr
  269. 'You pick up the panties and think about trying them on... but you don''t really like wearing panties.'
  270. gs 'willpower', 'misc', 'resist', 'easy'
  271. will_cost += hypnoTime
  272. if will_cost <= pcs_willpwr:
  273. act 'Put them on anyways (<<will_cost>> Willpower)':
  274. gs 'willpower', 'pay', 'resist'
  275. gs 'stat'
  276. gs 'bras', 'wear', $ARGS[2], underwear['pair']
  277. gs 'panties', 'wear', $ARGS[2], ARGS[3]
  278. if $ARGS[1] = 'wardrobe':
  279. gt 'wardrobe', 'main'
  280. else
  281. gt $loc, $loc_arg
  282. end
  283. end
  284. else
  285. act 'Put them on anyways (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
  286. end
  287. act 'Back':
  288. gt 'wardrobe', 'main'
  289. end
  290. else
  291. gs 'bras', 'wear', $ARGS[2], underwear['pair']
  292. gs 'panties', 'wear', $ARGS[2], ARGS[3]
  293. if $ARGS[1] = 'wardrobe':
  294. gt 'wardrobe', 'main'
  295. else
  296. gt $loc, $loc_arg
  297. end
  298. end
  299. end
  300. end
  301. else
  302. 'You do not own the matching bra to make this set.'
  303. end
  304. end
  305. end
  306. end
  307. if $ARGS[1] ! 'store':
  308. act 'Move to storage': gt 'panties', 'dest1', $ARGS[1], $ARGS[2], ARGS[3]
  309. end
  310. if $ARGS[1] ! 'unwanted':
  311. act 'Move to unwanted': gt 'panties', 'dest2', $ARGS[1], $ARGS[2], ARGS[3]
  312. end
  313. if $ARGS[1] ! 'wardrobe':
  314. act 'Move to wardrobe': gt 'panties', 'dest0', $ARGS[1], $ARGS[2], ARGS[3]
  315. end
  316. act '<font color="red">Throw these panties away</font>':
  317. dynamic '<<$ARGS[2]>>_panties[<<ARGS[3]>>] = 0'
  318. gt 'wardrobe', 'main'
  319. end
  320. end
  321. end
  322. end
  323. if $ARGS[0] = 'dest0':
  324. *clr
  325. dynamic '<<$ARGS[2]>>_pantiesS[<<ARGS[3]>>] = 0'
  326. gt 'panties', 'view_panty_item', $ARGS[1], $ARGS[2], ARGS[3]
  327. end
  328. if $ARGS[0] = 'dest1':
  329. *clr
  330. dynamic '<<$ARGS[2]>>_pantiesS[<<ARGS[3]>>] = 1'
  331. gt 'panties', 'view_panty_item', $ARGS[1], $ARGS[2], ARGS[3]
  332. end
  333. if $ARGS[0] = 'dest2':
  334. *clr
  335. dynamic '<<$ARGS[2]>>_pantiesS[<<ARGS[3]>>] = 2'
  336. gt 'panties', 'view_panty_item', $ARGS[1], $ARGS[2], ARGS[3]
  337. end
  338. if $ARGS[0] = 'descriptions':
  339. if $ARGS[1] = 'cheap':
  340. 'Cheap panties with no redeeming features.'
  341. elseif $ARGS[1] = 'boutique':
  342. 'These panties are so beautifully made that your posture and confidence is improved wearing them boosting your appearance even when fully clothed.'
  343. elseif $ARGS[1] = 'exhibitionist':
  344. 'These panties are so revealing that they are more exciting than not wearing any and you''ll always feel horny wearing them.'
  345. elseif $ARGS[1] = 'fashionista':
  346. 'These panties are well made improving your posture and confidence and slightly boosting your appearance even when fully clothed.'
  347. elseif $ARGS[1] = 'cats':
  348. 'These panties feel reassuring and wear them gives your mood a lift.'
  349. elseif $ARGS[1] = 'sexshop':
  350. 'Tacky and cheap these panties make you look like a hooker, this could be a bonus if working as one.'
  351. elseif $ARGS[1] = 'sport':
  352. 'These panties are designed for physical exercises to make them less tiring.'
  353. end
  354. end
  355. if $ARGS[0] = 'sum':
  356. $t[0] = 'boutique'
  357. $t[1] = 'cats'
  358. $t[2] = 'exhibitionist'
  359. $t[3] = 'fashionista'
  360. $t[4] = 'cheap'
  361. $t[5] = 'sexshop'
  362. $t[6] = 'sport'
  363. result = 0
  364. i = 0
  365. :loopsumpanties_i
  366. $temp = $t[i]
  367. j = 1
  368. :loopsumpanties_j
  369. $temp1 = '<<$temp>>_panties[<<j>>]'
  370. $temp2 = '<<$temp>>_pantiesS[<<j>>]'
  371. dynamic 'if <<$temp1>> = 1 and <<$temp2>> = 0: result +=1'
  372. j += 1
  373. if j <= dyneval('result = arrsize(''<<$temp>>_panties'')') : jump 'loopsumpanties_j'
  374. i += 1
  375. if i <= arrsize('$t'): jump 'loopsumpanties_i'
  376. if $ARGS[1] = 'dresser': if $pantyworntype ! 'none' and result > 0: result -= 1
  377. killvar('t')
  378. killvar('temp')
  379. killvar('temp1')
  380. killvar('temp2')
  381. end
  382. if $ARGS[0] = 'dispose':
  383. if underwear['type'] = 2: gs 'underwear_bodysuits', 'dispose'
  384. dynamic $pantyworntype + '_panties[<<pantywornnumber>>] = 0'
  385. $lastwornpantytype = 'none'
  386. lastwornpantynumber = 0
  387. $pantyworntype = 'none'
  388. pantywornnumber = 0
  389. end
  390. if $ARGS[0] = 'remove':
  391. if underwear['type'] = 2: gs 'underwear_bodysuits', 'remove'
  392. $lastwornpantytype = $pantyworntype
  393. lastwornpantynumber = pantywornnumber
  394. $pantyworntype = 'none'
  395. pantywornnumber = 0
  396. underwear['lastworntype'] = 0
  397. end
  398. if $ARGS[0] = 'wear':
  399. if underwear['lastworntype'] = 2: gs 'underwear_bodysuits', 'wear'
  400. if $ARGS[1] = '':
  401. if dyneval('RESULT = <<$lastwornpantytype>>_pantiesS[<<lastwornpantynumber>>]') = 0 and $lastwornpantytype ! '':
  402. gs 'panties', 'wear2', $lastwornpantytype, lastwornpantynumber
  403. else
  404. $pantyworntype = 'none'
  405. pantywornnumber = 0
  406. end
  407. else
  408. if dyneval('RESULT = <<$ARGS[1]>>_pantiesS[<<ARGS[2]>>]') = 0:
  409. gs 'panties', 'wear2', $ARGS[1], ARGS[2]
  410. else
  411. $pantyworntype = 'none'
  412. pantywornnumber = 0
  413. end
  414. end
  415. end
  416. if $ARGS[0] = 'wear2':
  417. !! ARGS 0 - action
  418. !! ARGS 1 - panties type name
  419. !! ARGS 2 - panties index
  420. !! removing panties or bodysuit if worn
  421. if underwear['type'] = 0:
  422. gs 'panties', 'remove'
  423. else
  424. gs 'underwear_bodysuits', 'remove'
  425. end
  426. underwear['type'] = 0
  427. $pantyworntype = $ARGS[1]
  428. pantywornnumber = ARGS[2]
  429. dynamic $ARGS[1] + '_w[<<ARGS[2]>>] = 1'
  430. gs 'underwear_attributes', $ARGS[1], ARGS[2]
  431. dynamic '<<$ARGS[1]>>_s[<<ARGS[2]>>] = 0'
  432. PPanMaterial = PanMaterial
  433. PPantyFun = PantyFun
  434. PPanQuality = PanQuality
  435. PPanThinness = PanThinness
  436. PPanCoverFront = PanCoverFront
  437. PPanCoverBack = PanCoverBack
  438. end
  439. if $ARGS[0] = 'wear_last_worn':
  440. !!contingency
  441. if $lastwornpantytype = '': $lastwornpantytype = 'none'
  442. gs 'panties', 'wear', $lastwornpantytype, lastwornpantynumber
  443. end
  444. --- panties ---------------------------------