panties.qsrc 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497
  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 'panty_attributes', $ARGS[2], ARGS[3]
  90. !! $RESULT = FUNC('$short_description', $ARGS[2], CloStyle2)
  91. !! $RESULT += '<<ARGS[3]>>'
  92. !! '<<$RESULT>>'
  93. gs 'panties', 'descriptions', $ARGS[2]
  94. if underwear['set'] ! 0: 'These panties form a set with bra #<<underwear[''set'']>>.'
  95. if $ARGS[1] = 'shop':
  96. if underwear['set'] ! 0:
  97. if dyneval('RESULT = <<$ARGS[2]>>_bra[<<underwear[''set'']>>]') = 1:
  98. 'You own the matching bra for this set.'
  99. else
  100. 'You do not own the matching bra for this set.'
  101. end
  102. end
  103. if dyneval('RESULT = <<$ARGS[2]>>_panties[<<ARGS[3]>>]') = 1:
  104. 'You already own this item.'
  105. act 'Leave': gt $loc, $loc_arg
  106. else
  107. price = ARGS[4]
  108. 'Price: <<ARGS[4]>> <b>₽</b>'
  109. act 'Leave': gt $loc, $loc_arg
  110. if money >= price:
  111. act 'Buy (cash)':
  112. money -= price
  113. dynamic $ARGS[2] + '_panties[<<ARGS[3]>>] = 1'
  114. dynamic $ARGS[2] + '_pantiesS[<<ARGS[3]>>] = 0'
  115. gt $loc, $loc_arg
  116. end
  117. else
  118. 'You do not have enough cash to buy these panties.'
  119. end
  120. if karta + bankDebtLimit >= price:
  121. act 'Buy (card)':
  122. karta -= price
  123. dynamic $ARGS[2] + '_panties[<<ARGS[3]>>] = 1'
  124. dynamic $ARGS[2] + '_pantiesS[<<ARGS[3]>>] = 0'
  125. gt $loc, $loc_arg
  126. end
  127. else
  128. 'You do not have enough money in your bank to buy these panties.'
  129. end
  130. if dyneval('RESULT = <<$ARGS[2]>>_bras[<<underwear[''set'']>>]') = 0:
  131. price_set = ARGS[4]*10/9
  132. 'price for set: <<price_set>> <b>₽</b>'
  133. if money >= price_set:
  134. act 'Buy (cash)':
  135. money -= price_set
  136. dynamic $ARGS[2] + '_panties[<<ARGS[3]>>] = 1'
  137. dynamic $ARGS[2] + '_pantiesS[<<ARGS[3]>>] = 0'
  138. dynamic $ARGS[2] + '_bras[<<underwear[''set'']>>] = 1'
  139. dynamic $ARGS[2] + '_brasS[<<underwear[''set'']>>] = 0'
  140. gt $loc, $loc_arg
  141. end
  142. else
  143. 'You do not have enough cash to buy this set.'
  144. end
  145. if karta + bankDebtLimit >= price_set:
  146. act 'Buy (card)':
  147. karta -= price_set
  148. dynamic $ARGS[2] + '_panties[<<ARGS[3]>>] = 1'
  149. dynamic $ARGS[2] + '_pantiesS[<<ARGS[3]>>] = 0'
  150. dynamic $ARGS[2] + '_bras[<<underwear[''set'']>>] = 1'
  151. dynamic $ARGS[2] + '_brasS[<<underwear[''set'']>>] = 0'
  152. gt $loc, $loc_arg
  153. end
  154. else
  155. 'You do not have enough money in your bank to buy this set.'
  156. end
  157. end
  158. end
  159. else
  160. if underwear['set'] ! 0:
  161. if dyneval('RESULT = <<$ARGS[2]>>_bra[<<underwear[''set'']>>]') = 1:
  162. 'You own this bra and can wear this set.'
  163. else
  164. 'You do not own this bra so you cannot wear this set.'
  165. end
  166. end
  167. if $ARGS[1] ! 'bathroom':
  168. if metka_panties ! 1:$RESULT += 'Move these panties to <a href="exec:gt ''panties'', ''dest1'', ''<<$ARGS[1]>>'', ''<<$ARGS[2]>>'', <<ARGS[3]>>">Storage</a><BR>'
  169. if metka_panties ! 0:$RESULT += 'Move these panties to <a href="exec:gt ''panties'', ''dest0'', ''<<$ARGS[1]>>'', ''<<$ARGS[2]>>'', <<ARGS[3]>>">Wardrobe</a><BR>'
  170. if metka_panties ! 2:$RESULT += 'Move these panties to <a href="exec:gt ''panties'', ''dest2'', ''<<$ARGS[1]>>'', ''<<$ARGS[2]>>'', <<ARGS[3]>>">Unwanted</a>'
  171. end
  172. act 'Return':gt 'panties', 'view_panty_list', $ARGS[1]
  173. if $ARGS[1] = 'store':
  174. 'These panties are in storage.'
  175. elseif $ARGS[1] = 'unwanted':
  176. 'These panties are unwanted.'
  177. else
  178. if $pantyworntype = $ARGS[2] and pantywornnumber = ARGS[3]:
  179. 'You are wearing these panties.'
  180. else
  181. if metka_panties = 0:
  182. act 'Wear':
  183. if CloPanties = 1:
  184. msg'Your outfit is already replacing your panties'
  185. else
  186. if hypnoPanty > 0:
  187. cla
  188. *clr
  189. 'You pick up the panties and think about trying them on... but you don''t really like wearing panties.'
  190. gs 'willpower', 'misc', 'resist', 'easy'
  191. will_cost += hypnoTime
  192. if will_cost <= pcs_willpwr:
  193. act 'Put them on anyways (<<will_cost>> Willpower)':
  194. gs 'willpower', 'pay', 'resist'
  195. gs 'stat'
  196. gs 'panties', 'wear', $ARGS[2], ARGS[3]
  197. if $ARGS[1] = 'wardrobe':
  198. gt 'wardrobe', 'main'
  199. else
  200. gt $loc, $loc_arg
  201. end
  202. end
  203. else
  204. 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>'
  205. end
  206. act 'Back':
  207. gt 'wardrobe', 'main'
  208. end
  209. else
  210. gs 'panties', 'wear', $ARGS[2], ARGS[3]
  211. if $ARGS[1] = 'wardrobe':
  212. gt 'wardrobe', 'main'
  213. else
  214. gt $loc, $loc_arg
  215. end
  216. end
  217. end
  218. end
  219. end
  220. if underwear['set'] ! 0 and dyneval('RESULT = <<$ARGS[2]>>_bras[<<underwear[''set'']>>]') = 1:
  221. act 'Wear set':
  222. if CloBra = 1:
  223. msg'You cannot wear a bra with this top'
  224. elseif CloPanties = 1:
  225. msg'You cannot wear a panties with this outfit'
  226. else
  227. if hypnoBra > 0 and hypnoPanty > 0:
  228. cla
  229. *clr
  230. 'You pick up the bra and panties and think about trying them on... but you don''t really like wearing underwear.'
  231. gs 'willpower', 'misc', 'resist'
  232. will_cost += hypnoTime
  233. if will_cost <= pcs_willpwr:
  234. act 'Wear it anyway anyways (<<will_cost>> Willpower)':
  235. gs 'willpower', 'pay', 'resist'
  236. gs 'stat'
  237. gs 'panties', 'wear', $ARGS[2], ARGS[3]
  238. gs 'bras', 'wear', $ARGS[2], underwear['set']
  239. if $ARGS[1] = 'wardrobe':
  240. gt 'wardrobe', 'main'
  241. else
  242. gt $loc, $loc_arg
  243. end
  244. end
  245. else
  246. 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>'
  247. end
  248. act 'Back':
  249. gt 'wardrobe', 'main'
  250. end
  251. elseif hypnoBra > 0:
  252. cla
  253. *clr
  254. 'You pick up the bra and think about trying them on... but you don''t really like wearing bras.'
  255. gs 'willpower', 'misc', 'resist', 'easy'
  256. will_cost += hypnoTime
  257. if will_cost <= pcs_willpwr:
  258. act 'Put them on anyways (<<will_cost>> Willpower)':
  259. gs 'willpower', 'pay', 'resist'
  260. gs 'stat'
  261. gs 'panties', 'wear', $ARGS[2], ARGS[3]
  262. gs 'bras', 'wear', $ARGS[2], underwear['set']
  263. if $ARGS[1] = 'wardrobe':
  264. gt 'wardrobe', 'main'
  265. else
  266. gt $loc, $loc_arg
  267. end
  268. end
  269. else
  270. 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>'
  271. end
  272. act 'Back':
  273. gt 'wardrobe', 'main'
  274. end
  275. elseif hypnoPanty > 0:
  276. cla
  277. *clr
  278. 'You pick up the panties and think about trying them on... but you don''t really like wearing panties.'
  279. gs 'willpower', 'misc', 'resist', 'easy'
  280. will_cost += hypnoTime
  281. if will_cost <= pcs_willpwr:
  282. act 'Put them on anyways (<<will_cost>> Willpower)':
  283. gs 'willpower', 'pay', 'resist'
  284. gs 'stat'
  285. gs 'panties', 'wear', $ARGS[2], ARGS[3]
  286. gs 'panties', 'wear', $ARGS[2], underwear['set']
  287. if $ARGS[1] = 'wardrobe':
  288. gt 'wardrobe', 'main'
  289. else
  290. gt $loc, $loc_arg
  291. end
  292. end
  293. else
  294. 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>'
  295. end
  296. act 'Back':
  297. gt 'wardrobe', 'main'
  298. end
  299. else
  300. gs 'panties', 'wear', $ARGS[2], ARGS[3]
  301. gs 'panties', 'wear', $ARGS[2], underwear['set']
  302. if $ARGS[1] = 'wardrobe':
  303. gt 'wardrobe', 'main'
  304. else
  305. gt $loc, $loc_arg
  306. end
  307. end
  308. end
  309. end
  310. end
  311. end
  312. end
  313. if $ARGS[1] ! 'store':
  314. act 'Move to storage': gt 'panties', 'dest1', $ARGS[1], $ARGS[2], ARGS[3]
  315. end
  316. if $ARGS[1] ! 'unwanted':
  317. act 'Move to unwanted': gt 'panties', 'dest2', $ARGS[1], $ARGS[2], ARGS[3]
  318. end
  319. if $ARGS[1] ! 'wardrobe':
  320. act 'Move to wardrobe': gt 'panties', 'dest0', $ARGS[1], $ARGS[2], ARGS[3]
  321. end
  322. end
  323. end
  324. if $ARGS[0] = 'dest0':
  325. *clr
  326. dynamic '<<$ARGS[2]>>_pantiesS[<<ARGS[3]>>] = 0'
  327. gt 'panties', 'view_panty_item', $ARGS[1], $ARGS[2], ARGS[3]
  328. end
  329. if $ARGS[0] = 'dest1':
  330. *clr
  331. dynamic '<<$ARGS[2]>>_pantiesS[<<ARGS[3]>>] = 1'
  332. gt 'panties', 'view_panty_item', $ARGS[1], $ARGS[2], ARGS[3]
  333. end
  334. if $ARGS[0] = 'dest2':
  335. *clr
  336. dynamic '<<$ARGS[2]>>_pantiesS[<<ARGS[3]>>] = 2'
  337. gt 'panties', 'view_panty_item', $ARGS[1], $ARGS[2], ARGS[3]
  338. end
  339. if $ARGS[0] = 'descriptions':
  340. if $ARGS[1] = 'cheap':
  341. 'Cheap panties with no redeeming features.'
  342. elseif $ARGS[1] = 'boutique':
  343. 'These panties are so beautifully made that your posture and confidence is improved wearing them boosting your appearance even when fully clothed.'
  344. elseif $ARGS[1] = 'exhibitionist':
  345. 'These panties are so revealing that they are more exciting than not wearing any and you''ll always feel horny wearing them.'
  346. elseif $ARGS[1] = 'fashionista':
  347. 'These panties are well made improving your posture and confidence and slightly boosting your appearance even when fully clothed.'
  348. elseif $ARGS[1] = 'cats':
  349. 'These panties feel reassuring and wear them gives your mood a lift.'
  350. elseif $ARGS[1] = 'sexshop':
  351. 'Tacky and cheap these panties make you look like a hooker, this could be a bonus if working as one.'
  352. elseif $ARGS[1] = 'sport':
  353. 'These panties are designed for physical exercises to make them less tiring.'
  354. end
  355. end
  356. if $ARGS[0] = 'sum':
  357. $t[0] = 'boutique'
  358. $t[1] = 'cats'
  359. $t[2] = 'exhibitionist'
  360. $t[3] = 'fashionista'
  361. $t[4] = 'cheap'
  362. $t[5] = 'sexshop'
  363. $t[6] = 'sport'
  364. result = 0
  365. i = 0
  366. :loopsumpanties_i
  367. $temp = $t[i]
  368. j = 1
  369. :loopsumpanties_j
  370. $temp1 = '<<$temp>>_panties[<<j>>]'
  371. $temp2 = '<<$temp>>_pantiesS[<<j>>]'
  372. dynamic 'if <<$temp1>> = 1 and <<$temp2>> = 0: result +=1'
  373. j += 1
  374. if j <= dyneval('result = arrsize(''<<$temp>>_panties'')') : jump 'loopsumpanties_j'
  375. i += 1
  376. if i <= arrsize('$t'): jump 'loopsumpanties_i'
  377. if $ARGS[1] = 'dresser': if $pantyworntype ! 'none' and result > 0: result -= 1
  378. killvar('t')
  379. killvar('temp')
  380. killvar('temp1')
  381. killvar('temp2')
  382. end
  383. if $ARGS[0] = 'dispose':
  384. if underwear['type'] = 2: gs 'underwear_bodysuits', 'dispose'
  385. dynamic $pantyworntype + '_panties[<<pantywornnumber>>] = 0'
  386. $lastwornpantytype = 'none'
  387. lastwornpantynumber = 0
  388. $pantyworntype = 'none'
  389. pantywornnumber = 0
  390. end
  391. if $ARGS[0] = 'remove':
  392. if underwear['type'] = 2: gs 'underwear_bodysuits', 'remove'
  393. $lastwornpantytype = $pantyworntype
  394. lastwornpantynumber = pantywornnumber
  395. $pantyworntype = 'none'
  396. pantywornnumber = 0
  397. underwear['lastworntype'] = 0
  398. end
  399. if $ARGS[0] = 'wear':
  400. if underwear['lastworntype'] = 2: gs 'bodysuits', 'wear'
  401. if $ARGS[1] = '':
  402. if dyneval('RESULT = <<$lastwornpantytype>>_pantiesS[<<lastwornpantynumber>>]') = 0 and $lastwornpantytype ! '':
  403. gs 'panties', 'wear2', $lastwornpantytype, lastwornpantynumber
  404. else
  405. $pantyworntype = 'none'
  406. pantywornnumber = 0
  407. end
  408. else
  409. if dyneval('RESULT = <<$ARGS[1]>>_pantiesS[<<ARGS[2]>>]') = 0:
  410. gs 'panties', 'wear2', $ARGS[1], ARGS[2]
  411. else
  412. $pantyworntype = 'none'
  413. pantywornnumber = 0
  414. end
  415. end
  416. end
  417. if $ARGS[0] = 'wear2':
  418. !! ARGS 0 - action
  419. !! ARGS 1 - panties type name
  420. !! ARGS 2 - panties index
  421. !! removing panties or bodysuit if worn
  422. if underwear['type'] = 0:
  423. gs 'panties', 'remove'
  424. else
  425. gs 'underwear_bodysuits', 'remove'
  426. end
  427. underwear['type'] = 0
  428. $pantyworntype = $ARGS[1]
  429. pantywornnumber = ARGS[2]
  430. dynamic $ARGS[1] + '_w[<<ARGS[2]>>] = 1'
  431. gs 'underwear_attributes', $ARGS[1], ARGS[2]
  432. dynamic '<<$ARGS[1]>>_s[<<ARGS[2]>>] = 0'
  433. PPanMaterial = PanMaterial
  434. PPantyFun = PantyFun
  435. PPanQuality = PanQuality
  436. PPanThinness = PanThinness
  437. PPanExpose = PanExpose
  438. PPanButt = PanButt
  439. end
  440. if $ARGS[0] = 'wear_last_worn':
  441. !!contingency
  442. if $lastwornpantytype = '': $lastwornpantynumber = 'none'
  443. gs 'panties', 'wear', $lastwornpantytype, lastwornpantynumber
  444. end
  445. --- panties ---------------------------------