portnoi.qsrc 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  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. :moncherimet
  99. if moncheri[i] = 1 and moncheri_s[i] = 2:dynamic($batch_sell, 'moncheri', i)
  100. i += 1
  101. if i <= ARRSIZE('moncheri'):jump 'moncherimet'
  102. i = 1
  103. :officemet
  104. if gm_office[i] = 1 and gm_office_s[i] = 2:dynamic($batch_sell, 'office', i)
  105. i += 1
  106. if i <= ARRSIZE('office'):jump 'officemet'
  107. i = 1
  108. :schoolmet
  109. if gm_school[i] = 1 and gm_school_s[i] = 2:dynamic($batch_sell, 'school', i)
  110. i += 1
  111. if i <= ARRSIZE('school'):jump 'schoolmet'
  112. i = 1
  113. :exercisemet
  114. if exercise[i] = 1 and exercise_s[i] = 2:dynamic($batch_sell, 'exercise', i)
  115. i += 1
  116. if i <= ARRSIZE('exercise'):jump 'exercisemet'
  117. i = 1
  118. :fetishmet
  119. if fetish[i] = 1 and fetish_s[i] = 2:dynamic($batch_sell, 'fetish', i)
  120. i += 1
  121. if i <= ARRSIZE('fetish'):jump 'fetishmet'
  122. i = 1
  123. :exhibitmet
  124. if exhibit[i] = 1 and exhibit_s[i] = 2:dynamic($batch_sell, 'exhibit', i)
  125. i += 1
  126. if i <= ARRSIZE('exhibit'):jump 'exhibitmet'
  127. i = 1
  128. :uniformmet
  129. if gm_uniform[i] = 1 and gm_uniform_s[i] = 2:dynamic($batch_sell, 'uniform', i)
  130. i += 1
  131. if i <= ARRSIZE('uniform'):jump 'uniformmet'
  132. i = 1
  133. :coatmet
  134. if coat[i] = 1 and coat_s[i] = 2:dynamic($batch_sell, 'coat', i)
  135. i += 1
  136. if i <= ARRSIZE('coat'):jump 'coatmet'
  137. i = 1
  138. :swimwearmet
  139. if swimwear[i] = 1 and swimwear_s[i] = 2:dynamic($batch_sell, 'swimwear', i)
  140. i += 1
  141. if i <= ARRSIZE('swimwear'):jump 'swimwearmet'
  142. i = 1
  143. :beachmet
  144. if beach[i] = 1 and beach_s[i] = 2:dynamic($batch_sell, 'beach', i)
  145. i += 1
  146. if i <= ARRSIZE('beach'):jump 'beachmet'
  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. killvar 'batch_sell'
  153. 'You sold <<poshvalldrop>> items of unwanted clothing for a total of <<selltot>> <b>₽</b>.'
  154. --- portnoi ---------------------------------