1
1

autoservisF.qsrc 4.0 KB

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