1
0

avb 4.3 KB

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