portnoi.qsrc 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  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. :coco_outfitsmet
  64. if coco_outfits[i] = 1 and coco_outfits_s[i] = 2:dynamic($batch_sell, 'coco_outfits', i)
  65. i += 1
  66. if i <= ARRSIZE('coco_outfits'):jump 'coco_outfitsmet'
  67. i = 1
  68. :coco_dressmet
  69. if coco_dress[i] = 1 and coco_dress_s[i] = 2:dynamic($batch_sell, 'coco_dress', i)
  70. i += 1
  71. if i <= ARRSIZE('coco_dress'):jump 'coco_dressmet'
  72. i = 1
  73. :flamingos_outfitsmet
  74. if flamingos_outfits[i] = 1 and flamingos_outfits_s[i] = 2:dynamic($batch_sell, 'flamingos_outfits', i)
  75. i += 1
  76. if i <= ARRSIZE('flamingos_outfits'):jump 'flamingos_outfitsmet'
  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. :fashionistamet
  84. if fashionista[i] = 1 and fashionista_s[i] = 2:dynamic($batch_sell, 'fashionista', i)
  85. i += 1
  86. if i <= ARRSIZE('fashionista'):jump 'fashionistamet'
  87. i = 1
  88. :moncherimet
  89. if moncheri[i] = 1 and moncheriS[i] = 2:dynamic($batch_sell, 'moncheri', i)
  90. i += 1
  91. if i <= ARRSIZE('moncheri'):jump 'moncherimet'
  92. i = 1
  93. :officemet
  94. if gm_office[i] = 1 and gm_office_s[i] = 2:dynamic($batch_sell, 'office', i)
  95. i += 1
  96. if i <= ARRSIZE('office'):jump 'officemet'
  97. i = 1
  98. :schoolmet
  99. if gm_school[i] = 1 and gm_school_s[i] = 2:dynamic($batch_sell, 'school', i)
  100. i += 1
  101. if i <= ARRSIZE('school'):jump 'schoolmet'
  102. i = 1
  103. :exercisemet
  104. if exercise[i] = 1 and exercise_s[i] = 2:dynamic($batch_sell, 'exercise', i)
  105. i += 1
  106. if i <= ARRSIZE('exercise'):jump 'exercisemet'
  107. i = 1
  108. :fetishmet
  109. if fetish[i] = 1 and fetish_s[i] = 2:dynamic($batch_sell, 'fetish', i)
  110. i += 1
  111. if i <= ARRSIZE('fetish'):jump 'fetishmet'
  112. i = 1
  113. :exhibitmet
  114. if exhibit[i] = 1 and exhibit_s[i] = 2:dynamic($batch_sell, 'exhibit', i)
  115. i += 1
  116. if i <= ARRSIZE('exhibit'):jump 'exhibitmet'
  117. i = 1
  118. :uniformmet
  119. if gm_uniform[i] = 1 and gm_uniform_s[i] = 2:dynamic($batch_sell, 'uniform', i)
  120. i += 1
  121. if i <= ARRSIZE('uniform'):jump 'uniformmet'
  122. i = 1
  123. :coatmet
  124. if coat[i] = 1 and coatS[i] = 2:dynamic($batch_sell, 'coat', i)
  125. i += 1
  126. if i <= ARRSIZE('coat'):jump 'coatmet'
  127. i = 1
  128. :swimwearmet
  129. if swimwear[i] = 1 and swimwearS[i] = 2:dynamic($batch_sell, 'swimwear', i)
  130. i += 1
  131. if i <= ARRSIZE('swimwear'):jump 'swimwearmet'
  132. i = 1
  133. :beachmet
  134. if beach[i] = 1 and beachS[i] = 2:dynamic($batch_sell, 'beach', i)
  135. i += 1
  136. if i <= ARRSIZE('beach'):jump 'beachmet'
  137. i = 1
  138. :fancy_burlesquemet
  139. if fancy_burlesque[i] = 1 and fancy_burlesque_s[i] = 2:dynamic($batch_sell, 'fancy_burlesque', i)
  140. i += 1
  141. if i <= ARRSIZE('fancy_burlesque'):jump 'fancy_burlesquemet'
  142. i = 1
  143. :dolls_outfitsmet
  144. if dolls_outfits[i] = 1 and dolls_outfits_s[i] = 2:dynamic($batch_sell, 'dolls_outfits', i)
  145. i += 1
  146. if i <= ARRSIZE('dolls_outfits'):jump 'dolls_outfitsmet'
  147. i = 1
  148. :dolls_dressmet
  149. if dolls_dress[i] = 1 and dolls_dress_s[i] = 2:dynamic($batch_sell, 'dolls_dress', i)
  150. i += 1
  151. if i <= ARRSIZE('dolls_dress'):jump 'dolls_dressmet'
  152. i = 1
  153. :bomba_outfitsmet
  154. if bomba_outfits[i] = 1 and bomba_outfits_s[i] = 2:dynamic($batch_sell, 'bomba_outfits', i)
  155. i += 1
  156. if i <= ARRSIZE('bomba_outfits'):jump 'bomba_outfitsmet'
  157. i = 1
  158. :bomba_dressmet
  159. if bomba_dress[i] = 1 and bomba_dress_s[i] = 2:dynamic($batch_sell, 'bomba_dress', i)
  160. i += 1
  161. if i <= ARRSIZE('bomba_dress'):jump 'bomba_dressmet'
  162. killvar 'batch_sell'
  163. 'You sold <<poshvalldrop>> items of unwanted clothing for a total of <<selltot>> <b>₽</b>.'
  164. --- portnoi ---------------------------------