1
0

portnoi.qsrc 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289
  1. # portnoi
  2. $batch_sell = {
  3. poshvalldrop += 1
  4. dynamic 'RESULT = <<$ARGS[0]>>_h[<<ARGS[1]>>]'
  5. if RESULT > 100:
  6. dynamic '<<$ARGS[0]>>[<<ARGS[1]>>] = 0'
  7. dynamic '<<$ARGS[0]>>_s[<<ARGS[1]>>] = 0'
  8. money += 750
  9. selltot += 750
  10. elseif RESULT > 45:
  11. dynamic '<<$ARGS[0]>>[<<ARGS[1]>>] = 0'
  12. dynamic '<<$ARGS[0]>>_s[<<ARGS[1]>>] = 0'
  13. money += 500
  14. selltot += 500
  15. elseif RESULT > 30:
  16. dynamic '<<$ARGS[0]>>[<<ARGS[1]>>] = 0'
  17. dynamic '<<$ARGS[0]>>_s[<<ARGS[1]>>] = 0'
  18. money += 300
  19. selltot += 300
  20. elseif RESULT > 0:
  21. dynamic '<<$ARGS[0]>>[<<ARGS[1]>>] = 0'
  22. dynamic '<<$ARGS[0]>>_s[<<ARGS[1]>>] = 0'
  23. money += 100
  24. selltot += 100
  25. else
  26. dynamic '<<$ARGS[0]>>[<<ARGS[1]>>] = 0'
  27. dynamic '<<$ARGS[0]>>_s[<<ARGS[1]>>] = 0'
  28. end
  29. }
  30. poshvalldrop = 0
  31. selltot = 0
  32. i = 1
  33. :gm_outfitsmet
  34. if gm_outfits[i] = 1 and gm_outfits_s[i] = 2:dynamic($batch_sell, 'gm_outfits', i)
  35. i += 1
  36. if i <= ARRSIZE('gm_outfits'):jump 'gm_outfitsmet'
  37. i = 1
  38. :gm_dressmet
  39. if gm_dress[i] = 1 and gm_dress_s[i] = 2:dynamic($batch_sell, 'gm_dress', i)
  40. i += 1
  41. if i <= ARRSIZE('gm_dress'):jump 'gm_dressmet'
  42. i = 1
  43. :officemet
  44. if gm_office[i] = 1 and gm_office_s[i] = 2:dynamic($batch_sell, 'office', i)
  45. i += 1
  46. if i <= ARRSIZE('office'):jump 'officemet'
  47. i = 1
  48. :gm_maidmet
  49. if gm_maid[i] = 1 and gm_maid_s[i] = 2:dynamic($batch_sell, 'gm_maid', i)
  50. i += 1
  51. if i <= ARRSIZE('gm_maid'):jump 'gm_maidmet'
  52. i = 1
  53. :gm_servermet
  54. if gm_server[i] = 1 and gm_server_s[i] = 2:dynamic($batch_sell, 'gm_server', i)
  55. i += 1
  56. if i <= ARRSIZE('gm_server'):jump 'gm_servermet'
  57. i = 1
  58. :schoolmet
  59. if gm_school[i] = 1 and gm_school_s[i] = 2:dynamic($batch_sell, 'school', i)
  60. i += 1
  61. if i <= ARRSIZE('school'):jump 'schoolmet'
  62. i = 1
  63. :misc_outfitsmet
  64. if misc_outfits[i] = 1 and misc_outfits_s[i] = 2:dynamic($batch_sell, 'misc_outfits', i)
  65. i += 1
  66. if i <= ARRSIZE('misc_outfits'):jump 'misc_outfitsmet'
  67. i = 1
  68. :cats_outfitsmet
  69. if cats_outfits[i] = 1 and cats_outfits_s[i] = 2:dynamic($batch_sell, 'cats_outfits', i)
  70. i += 1
  71. if i <= ARRSIZE('cats_outfits'):jump 'cats_outfitsmet'
  72. i = 1
  73. :cats_dressmet
  74. if cats_dress[i] = 1 and cats_dress_s[i] = 2:dynamic($batch_sell, 'cats_dress', i)
  75. i += 1
  76. if i <= ARRSIZE('cats_dress'):jump 'cats_dressmet'
  77. i = 1
  78. :flamingos_dressmet
  79. if flamingos_dress[i] = 1 and flamingos_dress_s[i] = 2:dynamic($batch_sell, 'flamingos_dress', i)
  80. i += 1
  81. if i <= ARRSIZE('flamingos_dress'):jump 'flamingos_dressmet'
  82. i = 1
  83. :flamingos_outfitsmet
  84. if flamingos_outfits[i] = 1 and flamingos_outfits_s[i] = 2:dynamic($batch_sell, 'flamingos_outfits', i)
  85. i += 1
  86. if i <= ARRSIZE('flamingos_outfits'):jump 'flamingos_outfitsmet'
  87. i = 1
  88. :coco_dressmet
  89. if coco_dress[i] = 1 and coco_dress_s[i] = 2:dynamic($batch_sell, 'coco_dress', i)
  90. i += 1
  91. if i <= ARRSIZE('coco_dress'):jump 'coco_dressmet'
  92. i = 1
  93. :coco_outfitsmet
  94. if coco_outfits[i] = 1 and coco_outfits_s[i] = 2:dynamic($batch_sell, 'coco_outfits', i)
  95. i += 1
  96. if i <= ARRSIZE('coco_outfits'):jump 'coco_outfitsmet'
  97. i = 1
  98. :fashionista_dressmet
  99. if fashionista_dress[i] = 1 and fashionista_dress_s[i] = 2:dynamic($batch_sell, 'fashionista_dress', i)
  100. i += 1
  101. if i <= ARRSIZE('fashionista_dress'):jump 'fashionista_dressmet'
  102. i = 1
  103. :fashionista_outfitsmet
  104. if fashionista_outfits[i] = 1 and fashionista_outfits_s[i] = 2:dynamic($batch_sell, 'fashionista_outfits', i)
  105. i += 1
  106. if i <= ARRSIZE('fashionista_outfits'):jump 'fashionista_outfitsmet'
  107. i = 1
  108. :moncheri_dressmet
  109. if moncheri_dress[i] = 1 and moncheri_dress_s[i] = 2:dynamic($batch_sell, 'moncheri_dress', i)
  110. i += 1
  111. if i <= ARRSIZE('moncheri_dress'):jump 'moncheri_dressmet'
  112. i = 1
  113. :moncheri_gownmet
  114. if moncheri_gown[i] = 1 and moncheri_gown_s[i] = 2:dynamic($batch_sell, 'moncheri_gown', i)
  115. i += 1
  116. if i <= ARRSIZE('moncheri_gown'):jump 'moncheri_gownmet'
  117. i = 1
  118. :scandalicious_dressmet
  119. if scandalicious_dress[i] = 1 and scandalicious_dress_s[i] = 2:dynamic($batch_sell, 'scandalicious_dress', i)
  120. i += 1
  121. if i <= ARRSIZE('scandalicious_dress'):jump 'scandalicious_dressmet'
  122. i = 1
  123. :scandalicious_outfitsmet
  124. if scandalicious_outfits[i] = 1 and scandalicious_outfits_s[i] = 2:dynamic($batch_sell, 'scandalicious_outfits', i)
  125. i += 1
  126. if i <= ARRSIZE('scandalicious_outfits'):jump 'scandalicious_outfitsmet'
  127. i = 1
  128. :scandalicious_bikinismet
  129. if scandalicious_bikinis[i] = 1 and scandalicious_bikinis_s[i] = 2:dynamic($batch_sell, 'scandalicious_bikinis', i)
  130. i += 1
  131. if i <= ARRSIZE('scandalicious_bikinis'):jump 'scandalicious_bikinismet'
  132. i = 1
  133. :scandalicious_swimsuitmet
  134. if scandalicious_swimsuit[i] = 1 and scandalicious_swimsuit_s[i] = 2:dynamic($batch_sell, 'scandalicious_swimsuit', i)
  135. i += 1
  136. if i <= ARRSIZE('scandalicious_swimsuit'):jump 'scandalicious_swimsuitmet'
  137. i = 1
  138. :allure_bikinismet
  139. if allure_bikinis[i] = 1 and allure_bikinis_s[i] = 2:dynamic($batch_sell, 'allure_bikinis', i)
  140. i += 1
  141. if i <= ARRSIZE('allure_bikinis'):jump 'allure_bikinismet'
  142. i = 1
  143. :allure_swimsuitmet
  144. if allure_swimsuit[i] = 1 and allure_swimsuit_s[i] = 2:dynamic($batch_sell, 'allure_swimsuit', i)
  145. i += 1
  146. if i <= ARRSIZE('allure_swimsuit'):jump 'allure_swimsuitmet'
  147. i = 1
  148. :fancy_burlesquemet
  149. if fancy_burlesque[i] = 1 and fancy_burlesque_s[i] = 2:dynamic($batch_sell, 'fancy_burlesque', i)
  150. i += 1
  151. if i <= ARRSIZE('fancy_burlesque'):jump 'fancy_burlesquemet'
  152. i = 1
  153. :eroto_dressmet
  154. if eroto_dress[i] = 1 and eroto_dress_s[i] = 2:dynamic($batch_sell, 'eroto_dress', i)
  155. i += 1
  156. if i <= ARRSIZE('eroto_dress'):jump 'eroto_dressmet'
  157. i = 1
  158. :eroto_outfitsmet
  159. if eroto_outfits[i] = 1 and eroto_outfits_s[i] = 2:dynamic($batch_sell, 'eroto_outfits', i)
  160. i += 1
  161. if i <= ARRSIZE('eroto_outfits'):jump 'eroto_outfitsmet'
  162. i = 1
  163. :eroto_stripmet
  164. if eroto_strip[i] = 1 and eroto_strip_s[i] = 2:dynamic($batch_sell, 'eroto_strip', i)
  165. i += 1
  166. if i <= ARRSIZE('eroto_strip'):jump 'eroto_stripmet'
  167. i = 1
  168. :salacious_dressmet
  169. if salacious_dress[i] = 1 and salacious_dress_s[i] = 2:dynamic($batch_sell, 'salacious_dress', i)
  170. i += 1
  171. if i <= ARRSIZE('salacious_dress'):jump 'salacious_dressmet'
  172. i = 1
  173. :salacious_outfitsmet
  174. if salacious_outfits[i] = 1 and salacious_outfits_s[i] = 2:dynamic($batch_sell, 'salacious_outfits', i)
  175. i += 1
  176. if i <= ARRSIZE('salacious_outfits'):jump 'salacious_outfitsmet'
  177. i = 1
  178. :dolls_outfitsmet
  179. if dolls_outfits[i] = 1 and dolls_outfits_s[i] = 2:dynamic($batch_sell, 'dolls_outfits', i)
  180. i += 1
  181. if i <= ARRSIZE('dolls_outfits'):jump 'dolls_outfitsmet'
  182. i = 1
  183. :dolls_dressmet
  184. if dolls_dress[i] = 1 and dolls_dress_s[i] = 2:dynamic($batch_sell, 'dolls_dress', i)
  185. i += 1
  186. if i <= ARRSIZE('dolls_dress'):jump 'dolls_dressmet'
  187. i = 1
  188. :bomba_outfitsmet
  189. if bomba_outfits[i] = 1 and bomba_outfits_s[i] = 2:dynamic($batch_sell, 'bomba_outfits', i)
  190. i += 1
  191. if i <= ARRSIZE('bomba_outfits'):jump 'bomba_outfitsmet'
  192. i = 1
  193. :bomba_dressmet
  194. if bomba_dress[i] = 1 and bomba_dress_s[i] = 2:dynamic($batch_sell, 'bomba_dress', i)
  195. i += 1
  196. if i <= ARRSIZE('bomba_dress'):jump 'bomba_dressmet'
  197. i = 1
  198. :nerdvana_outfitsmet
  199. if nerdvana_outfits[i] = 1 and nerdvana_outfits_s[i] = 2:dynamic($batch_sell, 'nerdvana_outfits', i)
  200. i += 1
  201. if i <= ARRSIZE('nerdvana_outfits'):jump 'nerdvana_outfitsmet'
  202. i = 1
  203. :nerdvana_cosplaymet
  204. if nerdvana_cosplay[i] = 1 and nerdvana_cosplay_s[i] = 2:dynamic($batch_sell, 'nerdvana_cosplay', i)
  205. i += 1
  206. if i <= ARRSIZE('nerdvana_cosplay'):jump 'nerdvana_cosplaymet'
  207. i = 1
  208. :nerdvana_bikinismet
  209. if nerdvana_bikinis[i] = 1 and nerdvana_bikinis_s[i] = 2:dynamic($batch_sell, 'nerdvana_bikinis', i)
  210. i += 1
  211. if i <= ARRSIZE('nerdvana_bikinis'):jump 'nerdvana_bikinismet'
  212. i = 1
  213. :nerdvana_swimsuitmet
  214. if nerdvana_swimsuit[i] = 1 and nerdvana_swimsuit_s[i] = 2:dynamic($batch_sell, 'nerdvana_swimsuit', i)
  215. i += 1
  216. if i <= ARRSIZE('nerdvana_swimsuit'):jump 'nerdvana_swimsuitmet'
  217. i = 1
  218. :danilovichmet
  219. if danilovich_outfits[i] = 1 and danilovich_outfits_s[i] = 2:dynamic($batch_sell, 'danilovich_outfits', i)
  220. i += 1
  221. if i <= ARRSIZE('danilovich_outfits'):jump 'danilovichmet'
  222. i = 1
  223. :danilovich_swimsuitmet
  224. if danilovich_swimsuit[i] = 1 and danilovich_swimsuit_s[i] = 2:dynamic($batch_sell, 'danilovich_swimsuit', i)
  225. i += 1
  226. if i <= ARRSIZE('danilovich_swimsuit'):jump 'danilovich_swimsuitmet'
  227. i = 1
  228. :market_outfitsmet
  229. if market_outfits[i] = 1 and market_outfits_s[i] = 2:dynamic($batch_sell, 'market_outfits', i)
  230. i += 1
  231. if i <= ARRSIZE('market_outfits'):jump 'market_outfitsmet'
  232. i = 1
  233. :materinstvo_dressmet
  234. if materinstvo_dress[i] = 1 and materinstvo_dress_s[i] = 2:dynamic($batch_sell, 'materinstvo_dress', i)
  235. i += 1
  236. if i <= ARRSIZE('materinstvo_dress'):jump 'materinstvo_dressmet'
  237. killvar 'batch_sell'
  238. 'You sold <<poshvalldrop>> items of unwanted clothing for a total of <<selltot>> <b>₽</b>.'
  239. --- portnoi ---------------------------------