374_avb 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. # avb
  2. if car = 1:
  3. if wrek = 1 or teh <= 0: set bupay = RAND(10000,20000)
  4. if wrek = 0:
  5. if teh >= tehcar * 75/100 and wrek = 0: set bupay = RAND(50000,100000)
  6. if teh < tehcar*75/100 and teh >= tehcar * 50/100 and wrek = 0: set bupay = RAND(40000,60000)
  7. if teh < tehcar*50/100 and teh >= tehcar * 25/100 and wrek = 0: set bupay = RAND(20000,40000)
  8. if teh < tehcar*25/100 and wrek = 0: set bupay = RAND(10000,20000)
  9. end
  10. end
  11. if car > 1 and car < 6:
  12. if wrek = 1 or teh <= 0: set bupay = RAND(10000,20000)
  13. if wrek = 0:
  14. if teh >= tehcar * 75/100 and wrek = 0: set bupay = RAND(100000,200000)
  15. if teh < tehcar*75/100 and teh >= tehcar * 50/100 and wrek = 0: set bupay = RAND(80000,120000)
  16. if teh < tehcar*50/100 and teh >= tehcar * 25/100 and wrek = 0: set bupay = RAND(60000,90000)
  17. if teh < tehcar*25/100 and wrek = 0: set bupay = RAND(50000,70000)
  18. end
  19. end
  20. if car >= 6 and car < 11:
  21. if wrek = 1 or teh <= 0: set bupay = RAND(10000,20000)
  22. if wrek = 0:
  23. if teh >= tehcar * 75/100 and wrek = 0: set bupay = RAND(150000,220000)
  24. if teh < tehcar*75/100 and teh >= tehcar * 50/100 and wrek = 0: set bupay = RAND(100000,160000)
  25. if teh < tehcar*50/100 and teh >= tehcar * 25/100 and wrek = 0: set bupay = RAND(80000,120000)
  26. if teh < tehcar*25/100 and wrek = 0: set bupay = RAND(50000,90000)
  27. end
  28. end
  29. if car >= 11 and car <= 12:
  30. if wrek = 1 or teh <= 0: set bupay = RAND(10000,20000)
  31. if wrek = 0:
  32. if teh >= tehcar * 75/100 and wrek = 0: set bupay = RAND(70000,100000)
  33. if teh < tehcar*75/100 and teh >= tehcar * 50/100 and wrek = 0: set bupay = RAND(40000,80000)
  34. if teh < tehcar*50/100 and teh >= tehcar * 25/100 and wrek = 0: set bupay = RAND(20000,60000)
  35. if teh < tehcar*25/100 and wrek = 0: set bupay = RAND(10000,30000)
  36. end
  37. end
  38. if car = 95:
  39. if wrek = 1 or teh <= 0: set bupay = RAND(20000,60000)
  40. if wrek = 0:
  41. if teh >= tehcar * 75/100 and wrek = 0: set bupay = RAND(500000,900000)
  42. if teh < tehcar*75/100 and teh >= tehcar * 50/100 and wrek = 0: set bupay = RAND(400000,600000)
  43. if teh < tehcar*50/100 and teh >= tehcar * 25/100 and wrek = 0: set bupay = RAND(300000,500000)
  44. if teh < tehcar*25/100 and wrek = 0: set bupay = RAND(50000,300000)
  45. end
  46. end
  47. if car = 96:
  48. if wrek = 1 or teh <= 0: set bupay = RAND(20000,60000)
  49. if wrek = 0:
  50. if teh >= tehcar * 75/100 and wrek = 0: set bupay = RAND(3000000,4800000)
  51. if teh < tehcar*75/100 and teh >= tehcar * 50/100 and wrek = 0: set bupay = RAND(2540000,3200000)
  52. if teh < tehcar*50/100 and teh >= tehcar * 25/100 and wrek = 0: set bupay = RAND(1150000,2550000)
  53. if teh < tehcar*25/100 and wrek = 0: set bupay = RAND(50000,1160000)
  54. end
  55. end
  56. if car = 97:
  57. if wrek = 1 or teh <= 0: set bupay = RAND(20000,60000)
  58. if wrek = 0:
  59. if teh >= tehcar * 75/100 and wrek = 0: set bupay = RAND(1000000,1800000)
  60. if teh < tehcar*75/100 and teh >= tehcar * 50/100 and wrek = 0: set bupay = RAND(540000,1200000)
  61. if teh < tehcar*50/100 and teh >= tehcar * 25/100 and wrek = 0: set bupay = RAND(150000,550000)
  62. if teh < tehcar*25/100 and wrek = 0: set bupay = RAND(50000,160000)
  63. end
  64. end
  65. if car = 98:
  66. if wrek = 1 or teh <= 0: set bupay = RAND(20000,60000)
  67. if wrek = 0:
  68. if teh >= tehcar * 75/100 and wrek = 0: set bupay = RAND(3000000,4800000)
  69. if teh < tehcar*75/100 and teh >= tehcar * 50/100 and wrek = 0: set bupay = RAND(2540000,3200000)
  70. if teh < tehcar*50/100 and teh >= tehcar * 25/100 and wrek = 0: set bupay = RAND(1150000,2550000)
  71. if teh < tehcar*25/100 and wrek = 0: set bupay = RAND(50000,1160000)
  72. end
  73. end
  74. if car = 99:
  75. if wrek = 1 or teh <= 0: set bupay = RAND(20000,60000)
  76. if wrek = 0:
  77. if teh >= tehcar * 75/100 and wrek = 0: set bupay = RAND(2000000,3800000)
  78. if teh < tehcar*75/100 and teh >= tehcar * 50/100 and wrek = 0: set bupay = RAND(1540000,2200000)
  79. if teh < tehcar*50/100 and teh >= tehcar * 25/100 and wrek = 0: set bupay = RAND(550000,1550000)
  80. if teh < tehcar*25/100 and wrek = 0: set bupay = RAND(50000,560000)
  81. end
  82. end
  83. if car = 100:
  84. if wrek = 1 or teh <= 0: set bupay = RAND(20000,60000)
  85. if wrek = 0:
  86. if teh >= tehcar * 75/100 and wrek = 0: set bupay = RAND(3000000,5800000)
  87. if teh < tehcar*75/100 and teh >= tehcar * 50/100 and wrek = 0: set bupay = RAND(2540000,3200000)
  88. if teh < tehcar*50/100 and teh >= tehcar * 25/100 and wrek = 0: set bupay = RAND(1550000,2550000)
  89. if teh < tehcar*25/100 and wrek = 0: set bupay = RAND(50000,1560000)
  90. end
  91. end
  92. --- avb ---------------------------------