panties.qsrc 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501
  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. gs 'panties', 'storage_options'
  166. elseif $ARGS[1] = 'unwanted':
  167. 'These panties are unwanted.'
  168. gs 'panties', 'storage_options'
  169. else
  170. if $pantyworntype = $ARGS[2] and pantywornnumber = ARGS[3]:
  171. 'You are wearing these panties.'
  172. else
  173. if metka_panties = 0:
  174. act 'Wear':
  175. if CloPanties = 1:
  176. msg'Your outfit is already replacing your panties'
  177. else
  178. if hypnoPanty > 0:
  179. cla
  180. *clr
  181. 'You pick up the panties and think about trying them on... but you don''t really like wearing panties.'
  182. gs 'willpower', 'misc', 'resist', 'easy'
  183. will_cost += hypnoTime
  184. if will_cost <= pcs_willpwr:
  185. act 'Put them on anyways (<<will_cost>> Willpower)':
  186. gs 'willpower', 'pay', 'resist'
  187. gs 'stat'
  188. gs 'panties', 'wear', $ARGS[2], ARGS[3]
  189. if $ARGS[1] = 'wardrobe':
  190. gt 'wardrobe', 'main'
  191. else
  192. gt $loc, $loc_arg
  193. end
  194. end
  195. else
  196. 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>'
  197. end
  198. act 'Back':
  199. gt 'wardrobe', 'main'
  200. end
  201. else
  202. gs 'panties', 'wear', $ARGS[2], ARGS[3]
  203. if $ARGS[1] = 'wardrobe':
  204. gt 'wardrobe', 'main'
  205. else
  206. gt $loc, $loc_arg
  207. end
  208. end
  209. end
  210. end
  211. if underwear['pair'] > 0:
  212. if dyneval('RESULT = <<$ARGS[2]>>_bras[<<underwear[''pair'']>>]') = 1:
  213. 'You own this bra and can wear this set.'
  214. act 'Wear set':
  215. if CloBra = 1:
  216. msg'You cannot wear a bra with this top'
  217. elseif CloPanties = 1:
  218. msg'You cannot wear a panties with this outfit'
  219. else
  220. if hypnoBra > 0 and hypnoPanty > 0:
  221. cla
  222. *clr
  223. 'You pick up the bra and panties and think about trying them on... but you don''t really like wearing underwear.'
  224. gs 'willpower', 'misc', 'resist'
  225. will_cost += hypnoTime
  226. if will_cost <= pcs_willpwr:
  227. act 'Wear it anyway anyways (<<will_cost>> Willpower)':
  228. gs 'willpower', 'pay', 'resist'
  229. gs 'stat'
  230. gs 'bras', 'wear', $ARGS[2], underwear['pair']
  231. gs 'panties', 'wear', $ARGS[2], ARGS[3]
  232. if $ARGS[1] = 'wardrobe':
  233. gt 'wardrobe', 'main'
  234. else
  235. gt $loc, $loc_arg
  236. end
  237. end
  238. else
  239. 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>'
  240. end
  241. act 'Back':
  242. gt 'wardrobe', 'main'
  243. end
  244. elseif hypnoBra > 0:
  245. cla
  246. *clr
  247. 'You pick up the bra and think about trying them on... but you don''t really like wearing bras.'
  248. gs 'willpower', 'misc', 'resist', 'easy'
  249. will_cost += hypnoTime
  250. if will_cost <= pcs_willpwr:
  251. act 'Put them on anyways (<<will_cost>> Willpower)':
  252. gs 'willpower', 'pay', 'resist'
  253. gs 'stat'
  254. gs 'bras', 'wear', $ARGS[2], underwear['pair']
  255. gs 'panties', 'wear', $ARGS[2], ARGS[3]
  256. if $ARGS[1] = 'wardrobe':
  257. gt 'wardrobe', 'main'
  258. else
  259. gt $loc, $loc_arg
  260. end
  261. end
  262. else
  263. 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>'
  264. end
  265. act 'Back':
  266. gt 'wardrobe', 'main'
  267. end
  268. elseif hypnoPanty > 0:
  269. cla
  270. *clr
  271. 'You pick up the panties and think about trying them on... but you don''t really like wearing panties.'
  272. gs 'willpower', 'misc', 'resist', 'easy'
  273. will_cost += hypnoTime
  274. if will_cost <= pcs_willpwr:
  275. act 'Put them on anyways (<<will_cost>> Willpower)':
  276. gs 'willpower', 'pay', 'resist'
  277. gs 'stat'
  278. gs 'bras', 'wear', $ARGS[2], underwear['pair']
  279. gs 'panties', 'wear', $ARGS[2], ARGS[3]
  280. if $ARGS[1] = 'wardrobe':
  281. gt 'wardrobe', 'main'
  282. else
  283. gt $loc, $loc_arg
  284. end
  285. end
  286. else
  287. 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>'
  288. end
  289. act 'Back':
  290. gt 'wardrobe', 'main'
  291. end
  292. else
  293. gs 'bras', 'wear', $ARGS[2], underwear['pair']
  294. gs 'panties', 'wear', $ARGS[2], ARGS[3]
  295. if $ARGS[1] = 'wardrobe':
  296. gt 'wardrobe', 'main'
  297. else
  298. gt $loc, $loc_arg
  299. end
  300. end
  301. end
  302. end
  303. else
  304. 'You do not own the matching bra to make this set.'
  305. end
  306. end
  307. end
  308. end
  309. gs 'panties', 'storage_options'
  310. end
  311. end
  312. end
  313. if $ARGS[0] = 'storage_options':
  314. if $ARGS[1] ! 'store':
  315. act 'Move to storage': gt 'panties', 'dest1', $ARGS[1], $ARGS[2], ARGS[3]
  316. end
  317. if $ARGS[1] ! 'unwanted':
  318. act 'Move to unwanted': gt 'panties', 'dest2', $ARGS[1], $ARGS[2], ARGS[3]
  319. end
  320. if $ARGS[1] ! 'wardrobe':
  321. act 'Move to wardrobe': gt 'panties', 'dest0', $ARGS[1], $ARGS[2], ARGS[3]
  322. end
  323. act '<font color="red">Throw these panties away</font>':
  324. dynamic '<<$ARGS[2]>>_panties[<<ARGS[3]>>] = 0'
  325. gt 'wardrobe', 'main'
  326. end
  327. end
  328. if $ARGS[0] = 'dest0':
  329. *clr
  330. dynamic '<<$ARGS[2]>>_pantiesS[<<ARGS[3]>>] = 0'
  331. gt 'panties', 'view_panty_item', $ARGS[1], $ARGS[2], ARGS[3]
  332. end
  333. if $ARGS[0] = 'dest1':
  334. *clr
  335. dynamic '<<$ARGS[2]>>_pantiesS[<<ARGS[3]>>] = 1'
  336. gt 'panties', 'view_panty_item', $ARGS[1], $ARGS[2], ARGS[3]
  337. end
  338. if $ARGS[0] = 'dest2':
  339. *clr
  340. dynamic '<<$ARGS[2]>>_pantiesS[<<ARGS[3]>>] = 2'
  341. gt 'panties', 'view_panty_item', $ARGS[1], $ARGS[2], ARGS[3]
  342. end
  343. if $ARGS[0] = 'descriptions':
  344. if $ARGS[1] = 'cheap':
  345. 'Cheap panties with no redeeming features.'
  346. elseif $ARGS[1] = 'boutique':
  347. 'These panties are so beautifully made that your posture and confidence is improved wearing them boosting your appearance even when fully clothed.'
  348. elseif $ARGS[1] = 'exhibitionist':
  349. 'These panties are so revealing that they are more exciting than not wearing any and you''ll always feel horny wearing them.'
  350. elseif $ARGS[1] = 'fashionista':
  351. 'These panties are well made improving your posture and confidence and slightly boosting your appearance even when fully clothed.'
  352. elseif $ARGS[1] = 'cats':
  353. 'These panties feel reassuring and wear them gives your mood a lift.'
  354. elseif $ARGS[1] = 'sexshop':
  355. 'Tacky and cheap these panties make you look like a hooker, this could be a bonus if working as one.'
  356. elseif $ARGS[1] = 'sport':
  357. 'These panties are designed for physical exercises to make them less tiring.'
  358. end
  359. end
  360. if $ARGS[0] = 'sum':
  361. $t[0] = 'boutique'
  362. $t[1] = 'cats'
  363. $t[2] = 'exhibitionist'
  364. $t[3] = 'fashionista'
  365. $t[4] = 'cheap'
  366. $t[5] = 'sexshop'
  367. $t[6] = 'sport'
  368. result = 0
  369. i = 0
  370. :loopsumpanties_i
  371. $temp = $t[i]
  372. j = 1
  373. :loopsumpanties_j
  374. $temp1 = '<<$temp>>_panties[<<j>>]'
  375. $temp2 = '<<$temp>>_pantiesS[<<j>>]'
  376. dynamic 'if <<$temp1>> = 1 and <<$temp2>> = 0: result +=1'
  377. j += 1
  378. if j <= dyneval('result = arrsize(''<<$temp>>_panties'')') : jump 'loopsumpanties_j'
  379. i += 1
  380. if i <= arrsize('$t'): jump 'loopsumpanties_i'
  381. if $ARGS[1] = 'dresser': if $pantyworntype ! 'none' and result > 0: result -= 1
  382. killvar('t')
  383. killvar('temp')
  384. killvar('temp1')
  385. killvar('temp2')
  386. end
  387. if $ARGS[0] = 'dispose':
  388. if underwear['type'] = 2: gs 'underwear_bodysuits', 'dispose'
  389. dynamic $pantyworntype + '_panties[<<pantywornnumber>>] = 0'
  390. $lastwornpantytype = 'none'
  391. lastwornpantynumber = 0
  392. $pantyworntype = 'none'
  393. pantywornnumber = 0
  394. end
  395. if $ARGS[0] = 'remove':
  396. if underwear['type'] = 2: gs 'underwear_bodysuits', 'remove'
  397. $lastwornpantytype = $pantyworntype
  398. lastwornpantynumber = pantywornnumber
  399. $pantyworntype = 'none'
  400. pantywornnumber = 0
  401. underwear['lastworntype'] = 0
  402. end
  403. if $ARGS[0] = 'wear':
  404. if underwear['lastworntype'] = 2: gs 'underwear_bodysuits', 'wear'
  405. if $ARGS[1] = '':
  406. if dyneval('RESULT = <<$lastwornpantytype>>_pantiesS[<<lastwornpantynumber>>]') = 0 and $lastwornpantytype ! '':
  407. gs 'panties', 'wear2', $lastwornpantytype, lastwornpantynumber
  408. else
  409. $pantyworntype = 'none'
  410. pantywornnumber = 0
  411. end
  412. else
  413. if dyneval('RESULT = <<$ARGS[1]>>_pantiesS[<<ARGS[2]>>]') = 0:
  414. gs 'panties', 'wear2', $ARGS[1], ARGS[2]
  415. else
  416. $pantyworntype = 'none'
  417. pantywornnumber = 0
  418. end
  419. end
  420. end
  421. if $ARGS[0] = 'wear2':
  422. !! ARGS 0 - action
  423. !! ARGS 1 - panties type name
  424. !! ARGS 2 - panties index
  425. !! removing panties or bodysuit if worn
  426. if underwear['type'] = 0:
  427. gs 'panties', 'remove'
  428. else
  429. gs 'underwear_bodysuits', 'remove'
  430. end
  431. underwear['type'] = 0
  432. $pantyworntype = $ARGS[1]
  433. pantywornnumber = ARGS[2]
  434. dynamic $ARGS[1] + '_w[<<ARGS[2]>>] = 1'
  435. gs 'underwear_attributes', $ARGS[1], ARGS[2]
  436. dynamic '<<$ARGS[1]>>_s[<<ARGS[2]>>] = 0'
  437. PPanMaterial = PanMaterial
  438. PPantyFun = PantyFun
  439. PPanQuality = PanQuality
  440. PPanThinness = PanThinness
  441. PPanCoverFront = PanCoverFront
  442. PPanCoverBack = PanCoverBack
  443. end
  444. if $ARGS[0] = 'wear_last_worn':
  445. !!contingency
  446. if $lastwornpantytype = '': $lastwornpantytype = 'none'
  447. gs 'panties', 'wear', $lastwornpantytype, lastwornpantynumber
  448. end
  449. --- panties ---------------------------------