1
0

portnoi.qsrc 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  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. :cheapmet
  34. if cheap[i] = 1 and cheapS[i] = 2:dynamic($batch_sell, 'cheap', i)
  35. i += 1
  36. if i <= ARRSIZE('cheap'):jump 'cheapmet'
  37. i = 1
  38. :dolls_outfitmet
  39. if dolls_outfit[i] = 1 and dolls_outfitS[i] = 2:dynamic($batch_sell, 'dolls_outfit', i)
  40. i += 1
  41. if i <= ARRSIZE('dolls_outfit'):jump 'dolls_outfitmet'
  42. i = 1
  43. :dolls_dressmet
  44. if dolls_dress[i] = 1 and dolls_dressS[i] = 2:dynamic($batch_sell, 'dolls_dress', i)
  45. i += 1
  46. if i <= ARRSIZE('dolls_dress'):jump 'dolls_dressmet'
  47. i = 1
  48. :coco_outfitmet
  49. if coco_outfit[i] = 1 and coco_outfitS[i] = 2:dynamic($batch_sell, 'coco_outfit', i)
  50. i += 1
  51. if i <= ARRSIZE('coco_outfit'):jump 'coco_outfitmet'
  52. i = 1
  53. :coco_dressmet
  54. if coco_dress[i] = 1 and coco_dressS[i] = 2:dynamic($batch_sell, 'coco_dress', i)
  55. i += 1
  56. if i <= ARRSIZE('coco_dress'):jump 'coco_dressmet'
  57. i = 1
  58. :flamingos_outfitmet
  59. if flamingos_outfit[i] = 1 and flamingos_outfitS[i] = 2:dynamic($batch_sell, 'flamingos_outfit', i)
  60. i += 1
  61. if i <= ARRSIZE('flamingos_outfit'):jump 'flamingos_outfitmet'
  62. i = 1
  63. :flamingos_dressmet
  64. if flamingos_dress[i] = 1 and flamingos_dressS[i] = 2:dynamic($batch_sell, 'flamingos_dress', i)
  65. i += 1
  66. if i <= ARRSIZE('flamingos_dress'):jump 'flamingos_dressmet'
  67. i = 1
  68. :expensivemet
  69. if expensive[i] = 1 and expensiveS[i] = 2:dynamic($batch_sell, 'expensive', i)
  70. i += 1
  71. if i <= ARRSIZE('expensive'):jump 'expensivemet'
  72. i = 1
  73. :formalmet
  74. if formal[i] = 1 and formalS[i] = 2:dynamic($batch_sell, 'formal', i)
  75. i += 1
  76. if i <= ARRSIZE('formal'):jump 'formalmet'
  77. i = 1
  78. :officemet
  79. if office[i] = 1 and officeS[i] = 2:dynamic($batch_sell, 'office', i)
  80. i += 1
  81. if i <= ARRSIZE('office'):jump 'officemet'
  82. i = 1
  83. :schoolmet
  84. if school[i] = 1 and schoolS[i] = 2:dynamic($batch_sell, 'school', i)
  85. i += 1
  86. if i <= ARRSIZE('school'):jump 'schoolmet'
  87. i = 1
  88. :exercisemet
  89. if exercise[i] = 1 and exerciseS[i] = 2:dynamic($batch_sell, 'exercise', i)
  90. i += 1
  91. if i <= ARRSIZE('exercise'):jump 'exercisemet'
  92. i = 1
  93. :fetishmet
  94. if fetish[i] = 1 and fetishS[i] = 2:dynamic($batch_sell, 'fetish', i)
  95. i += 1
  96. if i <= ARRSIZE('fetish'):jump 'fetishmet'
  97. i = 1
  98. :exhibitmet
  99. if exhibit[i] = 1 and exhibitS[i] = 2:dynamic($batch_sell, 'exhibit', i)
  100. i += 1
  101. if i <= ARRSIZE('exhibit'):jump 'exhibitmet'
  102. i = 1
  103. :uniformmet
  104. if uniform[i] = 1 and uniformS[i] = 2:dynamic($batch_sell, 'uniform', i)
  105. i += 1
  106. if i <= ARRSIZE('uniform'):jump 'uniformmet'
  107. i = 1
  108. :coatmet
  109. if coat[i] = 1 and coatS[i] = 2:dynamic($batch_sell, 'coat', i)
  110. i += 1
  111. if i <= ARRSIZE('coat'):jump 'coatmet'
  112. i = 1
  113. :swimwearmet
  114. if swimwear[i] = 1 and swimwearS[i] = 2:dynamic($batch_sell, 'swimwear', i)
  115. i += 1
  116. if i <= ARRSIZE('swimwear'):jump 'swimwearmet'
  117. i = 1
  118. :beachmet
  119. if beach[i] = 1 and beachS[i] = 2:dynamic($batch_sell, 'beach', i)
  120. i += 1
  121. if i <= ARRSIZE('beach'):jump 'beachmet'
  122. i = 1
  123. :fancy_burlesquemet
  124. if fancy_burlesque[i] = 1 and fancy_burlesqueS[i] = 2:dynamic($batch_sell, 'fancy_burlesque', i)
  125. i += 1
  126. if i <= ARRSIZE('fancy_burlesque'):jump 'fancy_burlesquemet'
  127. i = 1
  128. :dolls_outfitmet
  129. if dolls_outfit[i] = 1 and dolls_outfitS[i] = 2:dynamic($batch_sell, 'dolls_outfit', i)
  130. i += 1
  131. if i <= ARRSIZE('dolls_outfit'):jump 'dolls_outfitmet'
  132. i = 1
  133. :dolls_dressmet
  134. if dolls_dress[i] = 1 and dolls_dressS[i] = 2:dynamic($batch_sell, 'dolls_dress', i)
  135. i += 1
  136. if i <= ARRSIZE('dolls_dress'):jump 'dolls_dressmet'
  137. killvar 'batch_sell'
  138. 'You sold <<poshvalldrop>> items of unwanted clothing for a total of <<selltot>> <b>₽</b>.'
  139. --- portnoi ---------------------------------