1
0

autoservisF 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. # autoservisF
  2. if $ARGS[0] = 'start':
  3. $metka = $ARGS[0]
  4. $loc = $CURLOC
  5. cla
  6. *clr
  7. minut += 5
  8. gs 'stat'
  9. gs 'avtonorm'
  10. '<center><b>Service and repair</b></center>'
  11. '<center><img src="images/etogame/autoservis1.jpg"></center>'
  12. if cardrive = 7:
  13. if wrek = 0:
  14. if teh >= tehcar * 75 / 100:'Master your car inspected and said that she does not need any repairs or maintenance in those.'
  15. if teh < tehcar * 75 / 100:
  16. 'Master looked at your car and said that the cost of work <<normrem>>.'
  17. if money >= normrem:
  18. act 'Pay and repair':
  19. cla
  20. *clr
  21. money -= normrem
  22. minut += 60
  23. teh = tehcar
  24. wrek = 0
  25. '<center><img src="images/etogame/autoservis2.jpg"></center>'
  26. 'You sat for an hour in the recreation room pretending that watching TV is finally repaired the car and you have paid in cash <<normrem>> rubles'
  27. act 'Leave':gt 'Nord'
  28. end
  29. end
  30. end
  31. elseif wrek = 1:
  32. 'Master prisvisnul looking at your unit and said that the cost of work <<normrem>>.'
  33. if money >= normrem:
  34. act 'Pay and repair':
  35. cla
  36. *clr
  37. money -= normrem
  38. minut += 60
  39. tehcar = tehcar / 2
  40. teh = tehcar
  41. wrek = 0
  42. '<center><img src="images/etogame/autoservis2.jpg"></center>'
  43. 'You sat for an hour in the recreation room pretending that watching TV is finally repaired the car and you have paid in cash <<normrem>> rubles'
  44. 'Master before giving clues told you that you would not have tried to bring the car to this state.'
  45. act 'Leave':gt 'Nord'
  46. end
  47. end
  48. end
  49. end
  50. if cardrive ! 7:'Master smiled and said, "Girl, I need a car to see what though, that what you say. Fetches it to the car service, we''ll see."'
  51. if wrek = 1 and cardrive ! 7 and car > 0:
  52. 'At the service station operates a service evacuation of damaged cars to service centers, the cost in 2500'
  53. if money >= 2500:
  54. act 'Pay for towing service (2,500 rubles) (1:00)':
  55. cla
  56. *clr
  57. money -= 2500
  58. cardrive = 7
  59. minut += 60
  60. '<center><img src="images/etogame/autoservis2.jpg"></center>'
  61. 'You sat for an hour in the service station, waiting when will bring your car. Finally the time has passed and your car was delivered to the gate Car.'
  62. act 'Back to the car service station':gt 'autoservisF', 'start'
  63. end
  64. end
  65. end
  66. act 'Leave':gt 'Nord'
  67. end
  68. --- autoservisF ---------------------------------