autoservisF.qsrc 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. # autoservisF
  2. if $ARGS[0] = 'start':
  3. $metka = $ARGS[0]
  4. $loc = $CURLOC
  5. $location_type = 'event'
  6. $menu_arg = 'start'
  7. $menu_loc = 'autoservisF'
  8. menu_off = 0
  9. cla
  10. *clr
  11. gs 'stat'
  12. gs 'avtonorm'
  13. '<center><b>Car Service Center</b></center>'
  14. '<center><img <<$set_imgh>> src="images/locations/city/industrial/carservicesta/autoservis1.jpg"></center>'
  15. if cardrive = 7:
  16. menu_off = 1
  17. if wrek = 0:
  18. if teh >= tehcar * 75 / 100:
  19. 'The foreman inspects your car quickly but thoroughly.'
  20. 'After only a few minutes, he returns to you and announces that your car doesn''t need any repairs or maintenance.'
  21. end
  22. if teh < tehcar * 75 / 100:
  23. 'The foreman inspects your car quickly but thoroughly.'
  24. '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.'
  25. 'It would cost you <<normrem>> <b>₽</b>.'
  26. if money >= normrem:
  27. act 'Pay and wait while they repair the car':
  28. cla
  29. *clr
  30. money -= normrem
  31. minut += 60
  32. teh = tehcar
  33. wrek = 0
  34. '<center><img <<$set_imgh>> src="images/locations/city/industrial/carservicesta/autoservis2.jpg"></center>'
  35. '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>.'
  36. act 'Leave': minut += 5 & gt 'Nord'
  37. end
  38. end
  39. end
  40. elseif wrek = 1:
  41. '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.'
  42. '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.'
  43. if money >= normrem:
  44. act 'Pay and wait while they repair the car':
  45. cla
  46. *clr
  47. money -= normrem
  48. minut += 60
  49. tehcar = tehcar / 2
  50. teh = tehcar
  51. wrek = 0
  52. '<center><img <<$set_imgh>> src="images/locations/city/industrial/carservicesta/autoservis2.jpg"></center>'
  53. '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.'
  54. '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.'
  55. '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.'
  56. act 'Leave': minut += 5 & gt 'Nord'
  57. end
  58. end
  59. end
  60. end
  61. 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."'
  62. if wrek = 1 and cardrive ! 7 and car > 0:
  63. 'The garage offers a towing service for damaged cars, to bring them to this service centers. The price: 2500 <b>₽</b>'
  64. if money >= 2500:
  65. act 'Pay for the towing service (2,500 <b>₽</b>) (1:00)':
  66. cla
  67. *clr
  68. menu_off = 1
  69. money -= 2500
  70. cardrive = 7
  71. minut += 60
  72. '<center><img <<$set_imgh>> src="images/locations/city/industrial/carservicesta/autoservis2.jpg"></center>'
  73. '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.'
  74. act 'See what the foreman has to say':gt 'autoservisF', 'start'
  75. end
  76. end
  77. end
  78. act 'Leave': minut += 5 & gt 'Nord'
  79. end
  80. --- autoservisF ---------------------------------