avt.qsrc 1.1 KB

12345678910111213141516171819202122232425
  1. # avt
  2. if tehNT = 0: tehNT = 200
  3. tehT = rand(10, tehNT)
  4. if tehT >= tehNT * 75 / 100:$tehT = 'Machine in excellent condition.'
  5. if tehT < tehNT * 75 / 100 and tehT >= tehNT * 50 / 100:$tehT = 'When the engine has what is background noise'
  6. if tehT < tehNT * 50 / 100 and tehT >= tehNT * 25 / 100:$tehT = 'Machine rumbles and smokes.'
  7. if tehT < tehNT * 25 / 100:$tehT = 'As this bowl was able to be got is not clear.'
  8. if carT = 1:
  9. if tehT >= tehNT * 75 / 100:bupay = rand(100000, 180000)
  10. if tehT < tehNT * 75 / 100 and tehT >= tehNT * 50 / 100:bupay = rand(60000, 130000)
  11. if tehT < tehNT * 50 / 100 and tehT >= tehNT * 25 / 100:bupay = rand(35000, 65000)
  12. if tehT < tehNT * 25 / 100:bupay = rand(15000, 50000)
  13. elseif carT = 2:
  14. if tehT >= tehNT * 75 / 100:bupay = rand(80000, 100000)
  15. if tehT < tehNT * 75 / 100 and tehT >= tehNT * 50 / 100:bupay = rand(50000, 90000)
  16. if tehT < tehNT * 50 / 100 and tehT >= tehNT * 25 / 100:bupay = rand(30000, 60000)
  17. if tehT < tehNT * 25 / 100:bupay = rand(15000, 40000)
  18. end
  19. killvar 'tehNT'
  20. killvar 'carT'
  21. --- avt ---------------------------------