portnoi.qsrc 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  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. :dolls_outfitsmet
  44. if dolls_outfits[i] = 1 and dolls_outfits_s[i] = 2:dynamic($batch_sell, 'dolls_outfits', i)
  45. i += 1
  46. if i <= ARRSIZE('dolls_outfits'):jump 'dolls_outfitsmet'
  47. i = 1
  48. :dolls_dressmet
  49. if dolls_dress[i] = 1 and dolls_dress_s[i] = 2:dynamic($batch_sell, 'dolls_dress', i)
  50. i += 1
  51. if i <= ARRSIZE('dolls_dress'):jump 'dolls_dressmet'
  52. i = 1
  53. :bomba_outfitsmet
  54. if bomba_outfits[i] = 1 and bomba_outfits_s[i] = 2:dynamic($batch_sell, 'bomba_outfits', i)
  55. i += 1
  56. if i <= ARRSIZE('bomba_outfits'):jump 'bomba_outfitsmet'
  57. i = 1
  58. :bomba_dressmet
  59. if bomba_dress[i] = 1 and bomba_dress_s[i] = 2:dynamic($batch_sell, 'bomba_dress', i)
  60. i += 1
  61. if i <= ARRSIZE('bomba_dress'):jump 'bomba_dressmet'
  62. i = 1
  63. :cats_outfitsmet
  64. if cats_outfits[i] = 1 and cats_outfits_s[i] = 2:dynamic($batch_sell, 'cats_outfits', i)
  65. i += 1
  66. if i <= ARRSIZE('cats_outfits'):jump 'cats_outfitsmet'
  67. i = 1
  68. :cats_dressmet
  69. if cats_dress[i] = 1 and cats_dress_s[i] = 2:dynamic($batch_sell, 'cats_dress', i)
  70. i += 1
  71. if i <= ARRSIZE('cats_dress'):jump 'cats_dressmet'
  72. i = 1
  73. :coco_outfitsmet
  74. if coco_outfits[i] = 1 and coco_outfits_s[i] = 2:dynamic($batch_sell, 'coco_outfits', i)
  75. i += 1
  76. if i <= ARRSIZE('coco_outfits'):jump 'coco_outfitsmet'
  77. i = 1
  78. :coco_dressmet
  79. if coco_dress[i] = 1 and coco_dress_s[i] = 2:dynamic($batch_sell, 'coco_dress', i)
  80. i += 1
  81. if i <= ARRSIZE('coco_dress'):jump 'coco_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. :flamingos_dressmet
  89. if flamingos_dress[i] = 1 and flamingos_dress_s[i] = 2:dynamic($batch_sell, 'flamingos_dress', i)
  90. i += 1
  91. if i <= ARRSIZE('flamingos_dress'):jump 'flamingos_dressmet'
  92. i = 1
  93. :fashionistamet
  94. if fashionista[i] = 1 and fashionista_s[i] = 2:dynamic($batch_sell, 'fashionista', i)
  95. i += 1
  96. if i <= ARRSIZE('fashionista'):jump 'fashionistamet'
  97. i = 1
  98. :moncheri_gownmet
  99. if moncheri_gown[i] = 1 and moncheri_gown_s[i] = 2:dynamic($batch_sell, 'moncheri_gown', i)
  100. i += 1
  101. if i <= ARRSIZE('moncheri_gown'):jump 'moncheri_gownmet'
  102. i = 1
  103. :moncheri_dressmet
  104. if moncheri_dress[i] = 1 and moncheri_dress_s[i] = 2:dynamic($batch_sell, 'moncheri_dress', i)
  105. i += 1
  106. if i <= ARRSIZE('moncheri_dress'):jump 'moncheri_dressmet'
  107. i = 1
  108. :officemet
  109. if gm_office[i] = 1 and gm_office_s[i] = 2:dynamic($batch_sell, 'office', i)
  110. i += 1
  111. if i <= ARRSIZE('office'):jump 'officemet'
  112. i = 1
  113. :schoolmet
  114. if gm_school[i] = 1 and gm_school_s[i] = 2:dynamic($batch_sell, 'school', i)
  115. i += 1
  116. if i <= ARRSIZE('school'):jump 'schoolmet'
  117. i = 1
  118. :danilovichmet
  119. if danilovich[i] = 1 and danilovich_s[i] = 2:dynamic($batch_sell, 'danilovich', i)
  120. i += 1
  121. if i <= ARRSIZE('danilovich'):jump 'danilovichmet'
  122. i = 1
  123. :eroto_dressmet
  124. if eroto_dress[i] = 1 and eroto_dress_s[i] = 2:dynamic($batch_sell, 'eroto_dress', i)
  125. i += 1
  126. if i <= ARRSIZE('eroto_dress'):jump 'eroto_dressmet'
  127. i = 1
  128. :eroto_outfitsmet
  129. if eroto_outfits[i] = 1 and eroto_outfits_s[i] = 2:dynamic($batch_sell, 'eroto_outfits', i)
  130. i += 1
  131. if i <= ARRSIZE('eroto_outfits'):jump 'eroto_outfitsmet'
  132. i = 1
  133. :eroto_stripmet
  134. if eroto_strip[i] = 1 and eroto_strip_s[i] = 2:dynamic($batch_sell, 'eroto_strip', i)
  135. i += 1
  136. if i <= ARRSIZE('eroto_strip'):jump 'eroto_stripmet'
  137. i = 1
  138. :salacious_outfitsmet
  139. if salacious_outfits[i] = 1 and salacious_outfits_s[i] = 2:dynamic($batch_sell, 'salacious_outfits', i)
  140. i += 1
  141. if i <= ARRSIZE('salacious_outfits'):jump 'salacious_outfitsmet'
  142. i = 1
  143. :salacious_dressmet
  144. if salacious_dress[i] = 1 and salacious_dress_s[i] = 2:dynamic($batch_sell, 'salacious_dress', i)
  145. i += 1
  146. if i <= ARRSIZE('salacious_dress'):jump 'salacious_dressmet'
  147. i = 1
  148. :gm_maidmet
  149. if gm_maid[i] = 1 and gm_maid_s[i] = 2:dynamic($batch_sell, 'gm_maid', i)
  150. i += 1
  151. if i <= ARRSIZE('gm_maid'):jump 'gm_maidmet'
  152. i = 1
  153. :gm_servermet
  154. if gm_server[i] = 1 and gm_server_s[i] = 2:dynamic($batch_sell, 'gm_server', i)
  155. i += 1
  156. if i <= ARRSIZE('gm_server'):jump 'gm_servermet'
  157. i = 1
  158. :coatmet
  159. if coat[i] = 1 and coat_s[i] = 2:dynamic($batch_sell, 'coat', i)
  160. i += 1
  161. if i <= ARRSIZE('coat'):jump 'coatmet'
  162. i = 1
  163. :danilovich_swimsuitmet
  164. if danilovich_swimsuit[i] = 1 and danilovich_swimsuit_s[i] = 2:dynamic($batch_sell, 'danilovich_swimsuit', i)
  165. i += 1
  166. if i <= ARRSIZE('danilovich_swimsuit'):jump 'danilovich_swimsuitmet'
  167. i = 1
  168. :scandalicious_bikinismet
  169. if scandalicious_bikinis[i] = 1 and scandalicious_bikinis_s[i] = 2:dynamic($batch_sell, 'scandalicious_bikinis', i)
  170. i += 1
  171. if i <= ARRSIZE('scandalicious_bikinis'):jump 'scandalicious_bikinismet'
  172. i = 1
  173. :scandalicious_swimsuitmet
  174. if scandalicious_swimsuit[i] = 1 and scandalicious_swimsuit_s[i] = 2:dynamic($batch_sell, 'scandalicious_swimsuit', i)
  175. i += 1
  176. if i <= ARRSIZE('scandalicious_swimsuit'):jump 'scandalicious_swimsuitmet'
  177. i = 1
  178. :allure_swimsuitmet
  179. if allure_swimsuit[i] = 1 and allure_swimsuit_s[i] = 2:dynamic($batch_sell, 'allure_swimsuit', i)
  180. i += 1
  181. if i <= ARRSIZE('allure_swimsuit'):jump 'allure_swimsuitmet'
  182. i = 1
  183. :allure_bikinismet
  184. if allure_bikinis[i] = 1 and allure_bikinis_s[i] = 2:dynamic($batch_sell, 'allure_bikinis', i)
  185. i += 1
  186. if i <= ARRSIZE('allure_bikinis'):jump 'allure_bikinismet'
  187. i = 1
  188. :fancy_burlesquemet
  189. if fancy_burlesque[i] = 1 and fancy_burlesque_s[i] = 2:dynamic($batch_sell, 'fancy_burlesque', i)
  190. i += 1
  191. if i <= ARRSIZE('fancy_burlesque'):jump 'fancy_burlesquemet'
  192. i = 1
  193. :market_outfitsmet
  194. if market_outfits[i] = 1 and market_outfits_s[i] = 2:dynamic($batch_sell, 'market_outfits', i)
  195. i += 1
  196. if i <= ARRSIZE('market_outfits'):jump 'market_outfitsmet'
  197. i = 1
  198. :materinstvo_dressmet
  199. if materinstvo_dress[i] = 1 and materinstvo_dress_s[i] = 2:dynamic($batch_sell, 'materinstvo_dress', i)
  200. i += 1
  201. if i <= ARRSIZE('materinstvo_dress'):jump 'materinstvo_dressmet'
  202. killvar 'batch_sell'
  203. 'You sold <<poshvalldrop>> items of unwanted clothing for a total of <<selltot>> <b>₽</b>.'
  204. --- portnoi ---------------------------------