1
0

autoservisF 3.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. # autoservisF
  2. if $ARGS[0] = 'start':
  3. $metka = $ARGS[0]
  4. $loc = $CURLOC
  5. $location_type = 'event'
  6. cla
  7. *clr
  8. minut += 5
  9. gs 'stat'
  10. gs 'avtonorm'
  11. '<center><b>Car Service Center</b></center>'
  12. '<center><img src="images/etogame/autoservis1.jpg"></center>'
  13. if cardrive = 7:
  14. if wrek = 0:
  15. if teh >= tehcar * 75 / 100:
  16. 'The foreman inspects your car quickly but thoroughly.'
  17. 'After only a few minutes, he returns to you and announces that your car doesn''t need any repairs or maintenance.'
  18. end
  19. if teh < tehcar * 75 / 100:
  20. 'The foreman inspects your car quickly but thoroughly.'
  21. 'Here and there, he seems to be murmurring to himself, maybe assessing a defect. After only a few minutes, he returns to you, points out what needs to be fixed.'
  22. 'It would cost you <<normrem>> <b>₽</b>.'
  23. if money >= normrem:
  24. act 'Pay and wait while they repair the car':
  25. cla
  26. *clr
  27. money -= normrem
  28. minut += 60
  29. teh = tehcar
  30. wrek = 0
  31. '<center><img src="images/etogame/autoservis2.jpg"></center>'
  32. 'Since he tells you that it''s not gonna take long, you go into a waiting or recreation room, with couches and a TV. After about an our of flipping through channels, the car is ready and you pay <<normrem>> <b>₽</b>.'
  33. act 'Leave':gt 'Nord'
  34. end
  35. end
  36. end
  37. elseif wrek = 1:
  38. 'The foreman looks onto your car, if this wreckage even qualifies as one, with a professional boredom that tells you he''s seen vehicles in similar or worse states a million times over.'
  39. 'He quickly but thoroughly inspects it, murmurring all the while to take mental notes on what needs to be done and, when he returns to you, simply states that it would cost <<normrem>> <b>₽</b> to repair the damage.'
  40. if money >= normrem:
  41. act 'Pay and wait while they repair the car':
  42. cla
  43. *clr
  44. money -= normrem
  45. minut += 60
  46. tehcar = tehcar / 2
  47. teh = tehcar
  48. wrek = 0
  49. '<center><img src="images/etogame/autoservis2.jpg"></center>'
  50. 'Since he tells you that it''s not gonna take long - at first you thought he was being sarcastic but then realized that his no-nonsense attitude didn''t leave much room for humour - you go into a waiting or recreation room, with couches and a TV. After about an our of flipping through channels, you are called back to the garage and can hardly believe your eyes.'
  51. 'The car looks brandnew! Not a single dent, not one scratch, and when you start the engine to make sure it''s working, it sounds better than ever before. You ask the foreman how he and his crew managed to repair the car, and that quickly, but his only response is a shrug.'
  52. 'Before he sends you back into the office to pay the <<normrem>> <b>₽</b>, he asks you to not bring them cars in this pitiable state anymore - you''re not sure whether he was joking or not.'
  53. act 'Leave':gt 'Nord'
  54. end
  55. end
  56. end
  57. end
  58. if cardrive ! 7:'The foreman sighs. "Where is your car, girl? I need to look at your car to see if and what is wrong with it. Bring your car and I''ll examine it."'
  59. if wrek = 1 and cardrive ! 7 and car > 0:
  60. 'The garage offers a towing service for damaged cars, to bring them to this service centers. The price: 2500 <b>₽</b>'
  61. if money >= 2500:
  62. act 'Pay for the towing service (2,500 <b>₽</b>) (1:00)':
  63. cla
  64. *clr
  65. money -= 2500
  66. cardrive = 7
  67. minut += 60
  68. '<center><img src="images/etogame/autoservis2.jpg"></center>'
  69. 'You sit down and wait at the service station. It takes about an hour until your car arrives, but when it does, it is almost immediately moved into the garage and it looks like the foreman is about ready to inspect it.'
  70. act 'See what the foreman has to say':gt 'autoservisF', 'start'
  71. end
  72. end
  73. end
  74. act 'Leave':gt 'Nord'
  75. end
  76. --- autoservisF ---------------------------------