portnoi.qsrc 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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. :averagemet
  39. if average[i] = 1 and averageS[i] = 2:dynamic($batch_sell, 'average', i)
  40. i += 1
  41. if i <= ARRSIZE('average'):jump 'averagemet'
  42. i = 1
  43. :expensivemet
  44. if expensive[i] = 1 and expensiveS[i] = 2:dynamic($batch_sell, 'expensive', i)
  45. i += 1
  46. if i <= ARRSIZE('expensive'):jump 'expensivemet'
  47. i = 1
  48. :formalmet
  49. if formal[i] = 1 and formalS[i] = 2:dynamic($batch_sell, 'formal', i)
  50. i += 1
  51. if i <= ARRSIZE('formal'):jump 'formalmet'
  52. i = 1
  53. :officemet
  54. if office[i] = 1 and officeS[i] = 2:dynamic($batch_sell, 'office', i)
  55. i += 1
  56. if i <= ARRSIZE('office'):jump 'officemet'
  57. i = 1
  58. :schoolmet
  59. if school[i] = 1 and schoolS[i] = 2:dynamic($batch_sell, 'school', i)
  60. i += 1
  61. if i <= ARRSIZE('school'):jump 'schoolmet'
  62. i = 1
  63. :exercisemet
  64. if exercise[i] = 1 and exerciseS[i] = 2:dynamic($batch_sell, 'exercise', i)
  65. i += 1
  66. if i <= ARRSIZE('exercise'):jump 'exercisemet'
  67. i = 1
  68. :fetishmet
  69. if fetish[i] = 1 and fetishS[i] = 2:dynamic($batch_sell, 'fetish', i)
  70. i += 1
  71. if i <= ARRSIZE('fetish'):jump 'fetishmet'
  72. i = 1
  73. :exhibitmet
  74. if exhibit[i] = 1 and exhibitS[i] = 2:dynamic($batch_sell, 'exhibit', i)
  75. i += 1
  76. if i <= ARRSIZE('exhibit'):jump 'exhibitmet'
  77. i = 1
  78. :uniformmet
  79. if uniform[i] = 1 and uniformS[i] = 2:dynamic($batch_sell, 'uniform', i)
  80. i += 1
  81. if i <= ARRSIZE('uniform'):jump 'uniformmet'
  82. i = 1
  83. :coatmet
  84. if coat[i] = 1 and coatS[i] = 2:dynamic($batch_sell, 'coat', i)
  85. i += 1
  86. if i <= ARRSIZE('coat'):jump 'coatmet'
  87. i = 1
  88. :swimwearmet
  89. if swimwear[i] = 1 and swimwearS[i] = 2:dynamic($batch_sell, 'swimwear', i)
  90. i += 1
  91. if i <= ARRSIZE('swimwear'):jump 'swimwearmet'
  92. i = 1
  93. :burlesquemet
  94. if burlesque[i] = 1 and burlesqueS[i] = 2:dynamic($batch_sell, 'burlesque', i)
  95. i += 1
  96. if i <= ARRSIZE('burlesque'):jump 'burlesquemet'
  97. i = 1
  98. :alternativemet
  99. if alternative[i] = 1 and alternativeS[i] = 2:dynamic($batch_sell, 'alternative', i)
  100. i += 1
  101. if i <= ARRSIZE('alternative'):jump 'alternativemet'
  102. killvar 'batch_sell'
  103. 'You sold <<poshvalldrop>> items of unwanted clothing for a total of <<selltot>> <b>₽</b>.'
  104. --- portnoi ---------------------------------