1
0

zaprF.tw 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. :: zaprF[outdoors public car]
  2. <h2>Gas Station</h2>
  3. <<imageDayNight "locations/shared/gas/gazprom_#.jpg" "day" "night">>
  4. <p>
  5. The local gas station, the cheap pumps are limited in functionality and will always fill the tank up completely.
  6. When the weather is nice, sometimes girls will offer a car washing service for some tips. There's no structure to it, so you could always try it.
  7. </p>
  8. <p>The petrol price is 30 <b>₽</b> per liter.</p>
  9. <<switch $location.region>>
  10. <<case 'pav'>>
  11. <<ConnectedLocation 'Commercial Area' 'pav_commercial' '' 'locations/pavlovsk/gorodok.jpg' 5>>
  12. <<default>>
  13. <<ConnectedLocation 'Industrial Area' 'city_industrial' '' 'locations/city/industrial/nord.jpg' 5>>
  14. <</switch>>
  15. <<ConnectedLocation 'Toilet' 'zaprF_toilet' '' 'locations/shared/bathroom/toilet.jpg' 2>>
  16. <<if $weather.temperature < 10>>
  17. <p>It's too cold outside to wash cars. You're more likely to get ill than make money. Maybe try again when the weather is warmer?</p>
  18. <<elseif $weather.isRaining>>
  19. <p>You can't wash cars if it's raining outside! Maybe try again on a sunny day?</p>
  20. <<elseif $time.hour < 8>>
  21. It's too early to wash cars.
  22. <<elseif $time.hour >= 21>>
  23. It's too late to wash cars.
  24. <<else>>
  25. <<act 'Wash car windows (1:00)'>>
  26. <<gt 'zaprFWash' 'start'>>
  27. <</act>>
  28. <</if>>
  29. <!-- <<if getvar("$car") > 0>>
  30. <!-- FAILED TO CONVERT
  31. if cardrive = 6 and litltown = 0: 'Your <a href="exec: gs ''carF'', ''start''"><<$car>></a> is parked here.'
  32. -----
  33. <<if getvar("$cardrive") == 6 and getvar("$litltown") == 0>>
  34. <!-- FAILED TO CONVERT
  35. 'Your <a href="exec: gs ''carF'', ''start''"><<$car>></a> is parked here.'
  36. -----
  37. <<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 here.'""">>
  38. --><!--
  39. <<warn "CONVERSION ERROR 5a95760bc9bd9527b75ea0741d778d01">>
  40. <</if>>
  41. --><!--
  42. <<warn "CONVERSION ERROR 804ad30ca4e8741360823ec39d0bba10">>
  43. <!-- FAILED TO CONVERT
  44. if cardrive = 21 and litltown = 1: 'Your <a href="exec: gs ''carF'', ''start''"><<$car>></a> is parked here.'
  45. -----
  46. <<if getvar("$cardrive") == 21 and getvar("$litltown") == 1>>
  47. <!-- FAILED TO CONVERT
  48. 'Your <a href="exec: gs ''carF'', ''start''"><<$car>></a> is parked here.'
  49. -----
  50. <<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 here.'""">>
  51. --><!--
  52. <<warn "CONVERSION ERROR 5a95760bc9bd9527b75ea0741d778d01">>
  53. <</if>>
  54. --><!--
  55. <<warn "CONVERSION ERROR 86059365979c36cf1af3847b60da1def">>
  56. <<if getvar("$kanistra") < 5>>
  57. <<actCLA 'Buy a canister and fill it with 5 liters of gasoline for 150 <b>₽</b>'>>
  58. <<set $kanistra += 1>>
  59. <<set $finances.cash -= 150>>
  60. You buy a canister of gasoline. (It will automatically be put in the trunk of your car)
  61. <<actCLA 'Disengage from the pump'>>
  62. <<gt 'zaprF' 'start'>>
  63. <</actCLA>>
  64. <</actCLA>>
  65. <</if>>
  66. <<if getvar("$benz") < 50 and (getvar("$cardrive") == 6 or getvar("$cardrive") == 21)>>
  67. <<set $zprbenz = 50 - $benz>>
  68. <<if $zprbenz * 30 <= $finances.cash>>
  69. <<actCLA 'Fill the tank with petrol'>>
  70. <<set $benz = 50>>
  71. <<set $zprpay = $zprbenz * 30>>
  72. <<set $finances.cash -= $zprpay>>
  73. <!-- ! WD: Uninitialised ~ 'pol'-->
  74. <!-- ! if pol > 0:'<<image `'locations/shared/gas/zapr1.jpg'`>>'--><!--
  75. <<image "locations/shared/gas/zapr1.jpg">>
  76. <p>You fill the tank and pay zprpay <b>₽</b>.</p>
  77. <<actCLA 'Disengage from the pump'>>
  78. <<gt 'zaprF' 'start'>>
  79. <</actCLA>>
  80. <</actCLA>>
  81. <<else>>
  82. You do not have enough money to refuel your car.
  83. <</if>>
  84. <</if>>
  85. <</if>>
  86. <</if>>-->
  87. :: zaprF_toilet[indoors bathroom public]
  88. <h2>Gas station toilet</h2>
  89. <<image "locations/shared/bathroom/toilet.jpg">>
  90. <p>You are in a dirty gas station toilet. At least it provides some privacy.</p>
  91. <<ConnectedLocation 'Leave' 'zaprF' '' 'locations/shared/gas/gazprom_day.jpg' 2>>
  92. /*
  93. <<quickwash>>
  94. <<basin>>
  95. <<publicpan>>
  96. <<gs 'bathroom' 'pblc_pee'>> */