123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- :: zaprF[outdoors public car]
- <h2>Gas Station</h2>
- <<imageDayNight "locations/shared/gas/gazprom_#.jpg" "day" "night">>
- <p>
- The local gas station, the cheap pumps are limited in functionality and will always fill the tank up completely.
- 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.
- </p>
- <p>The petrol price is 30 <b>₽</b> per liter.</p>
- <<switch $location.region>>
- <<case 'pav'>>
- <<ConnectedLocation 'Commercial Area' 'pav_commercial' '' 'locations/pavlovsk/gorodok.jpg' 5>>
- <<default>>
- <<ConnectedLocation 'Industrial Area' 'city_industrial' '' 'locations/city/industrial/nord.jpg' 5>>
- <</switch>>
- <<ConnectedLocation 'Toilet' 'zaprF_toilet' '' 'locations/shared/bathroom/toilet.jpg' 2>>
- <<if $weather.temperature < 10>>
- <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>
- <<elseif $weather.isRaining>>
- <p>You can't wash cars if it's raining outside! Maybe try again on a sunny day?</p>
- <<elseif $time.hour < 8>>
- It's too early to wash cars.
- <<elseif $time.hour >= 21>>
- It's too late to wash cars.
- <<else>>
- <<act 'Wash car windows (1:00)'>>
- <<gt 'zaprFWash' 'start'>>
- <</act>>
- <</if>>
- <!-- <<if getvar("$car") > 0>>
- <!-- FAILED TO CONVERT
- if cardrive = 6 and litltown = 0: 'Your <a href="exec: gs ''carF'', ''start''"><<$car>></a> is parked here.'
- -----
- <<if getvar("$cardrive") == 6 and getvar("$litltown") == 0>>
- <!-- FAILED TO CONVERT
- 'Your <a href="exec: gs ''carF'', ''start''"><<$car>></a> is parked here.'
- -----
- <<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.'""">>
- --><!--
- <<warn "CONVERSION ERROR 5a95760bc9bd9527b75ea0741d778d01">>
- <</if>>
- --><!--
- <<warn "CONVERSION ERROR 804ad30ca4e8741360823ec39d0bba10">>
- <!-- FAILED TO CONVERT
- if cardrive = 21 and litltown = 1: 'Your <a href="exec: gs ''carF'', ''start''"><<$car>></a> is parked here.'
- -----
- <<if getvar("$cardrive") == 21 and getvar("$litltown") == 1>>
- <!-- FAILED TO CONVERT
- 'Your <a href="exec: gs ''carF'', ''start''"><<$car>></a> is parked here.'
- -----
- <<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.'""">>
- --><!--
- <<warn "CONVERSION ERROR 5a95760bc9bd9527b75ea0741d778d01">>
- <</if>>
- --><!--
- <<warn "CONVERSION ERROR 86059365979c36cf1af3847b60da1def">>
- <<if getvar("$kanistra") < 5>>
- <<actCLA 'Buy a canister and fill it with 5 liters of gasoline for 150 <b>₽</b>'>>
- <<set $kanistra += 1>>
- <<set $finances.cash -= 150>>
- You buy a canister of gasoline. (It will automatically be put in the trunk of your car)
- <<actCLA 'Disengage from the pump'>>
- <<gt 'zaprF' 'start'>>
- <</actCLA>>
- <</actCLA>>
- <</if>>
- <<if getvar("$benz") < 50 and (getvar("$cardrive") == 6 or getvar("$cardrive") == 21)>>
- <<set $zprbenz = 50 - $benz>>
- <<if $zprbenz * 30 <= $finances.cash>>
- <<actCLA 'Fill the tank with petrol'>>
- <<set $benz = 50>>
- <<set $zprpay = $zprbenz * 30>>
- <<set $finances.cash -= $zprpay>>
- <!-- ! WD: Uninitialised ~ 'pol'-->
- <!-- ! if pol > 0:'<<image `'locations/shared/gas/zapr1.jpg'`>>'--><!--
- <<image "locations/shared/gas/zapr1.jpg">>
- <p>You fill the tank and pay zprpay <b>₽</b>.</p>
- <<actCLA 'Disengage from the pump'>>
- <<gt 'zaprF' 'start'>>
- <</actCLA>>
- <</actCLA>>
- <<else>>
- You do not have enough money to refuel your car.
- <</if>>
- <</if>>
- <</if>>
- <</if>>-->
- :: zaprF_toilet[indoors bathroom public]
- <h2>Gas station toilet</h2>
- <<image "locations/shared/bathroom/toilet.jpg">>
- <p>You are in a dirty gas station toilet. At least it provides some privacy.</p>
- <<ConnectedLocation 'Leave' 'zaprF' '' 'locations/shared/gas/gazprom_day.jpg' 2>>
- /*
- <<quickwash>>
- <<basin>>
- <<publicpan>>
- <<gs 'bathroom' 'pblc_pee'>> */
|