1
0

autoservisF.tw 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. :: autoservisF
  2. <<set $here = 'autoservisF'>>
  3. <<set $ARGS = $location_var[$here]>>
  4. <<if $location_var[$here][0] == 'start'>>
  5. <<set $loc_arg = $location_var[$here][0]>>
  6. <<set $loc = 'autoservisF'>>
  7. <<set $location_type = 'event'>>
  8. <<set $menu_arg = 'start'>>
  9. <<set $menu_loc = 'autoservisF'>>
  10. <<set $menu_off = 0>>
  11. <<gs 'avtonorm'>>
  12. <center><b>Car Service Center</b></center>
  13. <<image "locations/city/industrial/CarServiceSta/autoservis1.jpg">>
  14. <!-- FAILED TO CONVERT
  15. if car > 0 and cardrive = 7:'Your <a href="exec:gs ''carF'', ''start''"><<$car>></a> is parked just inside.'
  16. -----
  17. <<if getvar("$car") > 0 and getvar("$cardrive") == 7>>
  18. <!-- FAILED TO CONVERT
  19. 'Your <a href="exec:gs ''carF'', ''start''"><<$car>></a> is parked just inside.'
  20. -----
  21. <<set ERROR: FAILED TO CONVERT LITERAL: """'Your <a href""" = ERROR: FAILED TO CONVERT LITERAL: """"exec:gs ''carF''""" , ERROR: FAILED TO CONVERT LITERAL: """''start''">$car<""" / ERROR: FAILED TO CONVERT LITERAL: """a> is parked just inside.'""">>
  22. -->
  23. <<warn "CONVERSION ERROR 27690e5806e185b70014dfd1618762c1">>
  24. <</if>>
  25. -->
  26. <<warn "CONVERSION ERROR aaaec74b642c3e806ac1e2bf31b7beea">>
  27. <<if getvar("$cardrive") == 7>>
  28. <<set $menu_off = 1>>
  29. <<if getvar("$wrek") == 0>>
  30. <<if $car['current_condition'] >= $car['new_condition'] * 75 / 100>>
  31. The foreman inspects your car quickly but thoroughly.
  32. After only a few minutes, he returns to you and announces that your car doesn''t need any repairs or maintenance.
  33. <</if>>
  34. <<if $car['current_condition'] < $car['new_condition'] * 75 / 100>>
  35. The foreman inspects your car quickly but thoroughly.
  36. Here and there, he seems to be murmuring to himself, maybe assessing a defect. After only a few minutes, he returns to you and points out what needs to be fixed.
  37. <p>It would cost you normrem <b>₽</b>.</p>
  38. <<if $finances.cash >= $normrem>>
  39. <<actCLA 'Pay and wait while they repair the car'>>
  40. <<set $finances.cash -= $normrem>>
  41. <<set $time.minutes += 60>>
  42. <<setinit $car['current_condition'] = $car['new_condition']>>
  43. <<set $wrek = 0>>
  44. <<image "locations/city/industrial/CarServiceSta/autoservis2.jpg">>
  45. <p>Since he tells you that it's not gonna take long, you go into a waiting room with couches and a TV. After about an hour of flipping through channels, the car is ready, and you pay normrem <b>₽</b>.</p>
  46. <<actCLA 'Leave'>>
  47. <<set $time.minutes += 5>> <<gt 'city_industrial'>>
  48. <</actCLA>>
  49. <</actCLA>>
  50. <</if>>
  51. <</if>>
  52. <<elseif getvar("$wrek") == 1>>
  53. The foreman looks at 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.
  54. <p>He quickly but thoroughly inspects it, murmuring 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.</p>
  55. <<if $finances.cash >= $normrem>>
  56. <<actCLA 'Pay and wait while they repair the car'>>
  57. <<set $finances.cash -= $normrem>>
  58. <<set $time.minutes += 60>>
  59. <<setinit $car['new_condition'] = $car['new_condition'] / 2>>
  60. <<setinit $car['current_condition'] = $car['new_condition']>>
  61. <<set $wrek = 0>>
  62. <<image "locations/city/industrial/CarServiceSta/autoservis2.jpg">>
  63. <p>Since he tells you that it's not gonna take long - at first you think he is being sarcastic but then realize that his no-nonsense attitude doesn't leave much room for humour - you go into a waiting room with couches and a TV. After about an hour of flipping through channels, you are called back to the garage and can hardly believe your eyes.</p>
  64. <p>The car looks brand new! 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.</p>
  65. <p>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 is joking or not.</p>
  66. <<actCLA 'Leave'>>
  67. <<set $time.minutes += 5>> <<gt 'city_industrial'>>
  68. <</actCLA>>
  69. <</actCLA>>
  70. <</if>>
  71. <</if>>
  72. <</if>>
  73. <<if getvar("$cardrive") != 7>>
  74. <p>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."</p>
  75. <</if>>
  76. <<if getvar("$wrek") == 1 and getvar("$cardrive") != 7 and getvar("$car") > 0>>
  77. <p>The garage offers a towing service for damaged cars to bring them to this service center. The price: 2500 <b>₽</b></p>
  78. <<if $finances.cash >= 2500>>
  79. <<actCLA 'Pay for the towing service (2,500 <b>₽</b>) (1:00)'>>
  80. <<set $menu_off = 1>>
  81. <<set $finances.cash -= 2500>>
  82. <<set $cardrive = 7>>
  83. <<set $time.minutes += 60>>
  84. <<image "locations/city/industrial/CarServiceSta/autoservis2.jpg">>
  85. 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.
  86. <<actCLA 'See what the foreman has to say'>>
  87. <<gt 'autoservisF' 'start'>>
  88. <</actCLA>>
  89. <</actCLA>>
  90. <</if>>
  91. <</if>>
  92. <<actCLA 'Leave'>>
  93. <<set $time.minutes += 5>> <<gt 'city_industrial'>>
  94. <</actCLA>>
  95. <</if>>
  96. <<if $location_var[$here][0] == 'is_open'>>
  97. <!-- FAILED TO CONVERT
  98. RESULT = hour >= 9 and hour <= 20 and week < 7
  99. -----
  100. <<set $result = ERROR: FAILED TO CONVERT LITERAL: """hour >= 9 and hour <= 20 and week < 7""">>
  101. -->
  102. <<warn "CONVERSION ERROR 14828490be5f0c129762ebf74deaeb0a">>
  103. <</if>>