:: gas_station_gp_117
<<set $here = 'gas_station_gp_117'>>
<<set $ARGS = $location_var[$here]>>
<!-- !! NOTE: #mod_wlife_highway was the original file-->
<!-- !! The Gazpromneft 117 gas station on the M11 a bit north-east of Pavlovsk-->
<<set $loc = 'gas_station_gp_117'>>
<<set $locM = 'gas_station_gp_117'>>
<<set $menu_loc = 'gas_station_gp_117'>>
<!-- ! [$x] First check over-->
<<if $location_var[$here][0] == 'outside'>>
	<<gs 'prostitution_functions' 'work_clothes'>>
	<<gs 'gas_station_gp_117' 'event_check'>>
	<<if getvar("$sound") == 0>>
	<</if>>
	<<set $loc_arg = 'outside'>>
	<<set $menu_arg = 'outside'>>
	<<set $menu_off = 0>>
	<<set $location_type = 'public_outdoors'>>
	<center><img <<$set_imgh>> src="images/locations/highway/gas_station_gp_117/gas_'+iif(month > 10 or month < 4, 'winter', '')+iif(dayStage = 5, 'night', 'day')+'.jpg"></center>
	<p>The gas station is modern and clean in comparison to other gas stations in the area. To the south of the station is the highway M-10 that goes from St. Petersburg to Moscow. To the north there are small villages and towns similar to Pavlovsk which is even further south than the highway.</p>
	There is a small shop were you can buy something to eat or to drink and a public restroom is also nearby.
	<<if getvar("$car") > 0 and getvar("$cardrive") == 29>>
		<<gs 'gas_station_gp_117' 'gas'>>

	<</if>>
	<<if getvar("$prostitute['blocked']") == 0 and getvar("$prostitute['gas_station']") == 1>>
		<<if getvar("$prostitute['earnings_day']") > 0>>
			<!-- FAILED TO CONVERT
				'You have earned <<prostitute[''earnings_day'']>> <b>₽</b> today.'+iif(prostitute['payment_method'] = 0, ' Your share is <<prostitute[''earnings_day''] * prostitute[''share_player''] / 100>> <b>₽</b>'+iif(prostitute['debt_amount'] > 0, ', but your pimp will keep <<prostitute[''earnings_day''] * prostitute[''debt_payment_percent''] / 100>> <b>₽</b> to pay down your debt.', '.'), '')
			-----
				<<set ERROR: FAILED TO CONVERT LITERAL: """'You have earned <<prostitute['earnings_day']>> <b>₽<""" / ERROR: FAILED TO CONVERT LITERAL: """b> today.'""" + iif(prostitute['payment_method'] = 0, ' Your share is <<prostitute['earnings_day'] * prostitute['share_player'] / 100>> <b>₽</b>'+iif(prostitute['debt_amount'] > 0, ', but your pimp will keep <<prostitute['earnings_day'] * prostitute['debt_payment_percent'] / 100>> <b>₽</b> to pay down your debt.', '.'), '')>>

			-->
			<<warn "CONVERSION ERROR 27f4cac3de71587afc23534de790bf54">>
		<</if>>
		<<gs 'prostitution_functions' 'work_clothes'>>
		<<if $prostitute['work_clothes'] and $prostitute['changed_for_work']>>
			'You are wearing the right outfit to work as a prostitute at the gas station. You can ' + iif(car > 0 and cardrive = 29, '<<link 'change back into your regular clothes'>><<gt  'prostitution_functions'  'change_back' >><</link>> in your car or', 'change back into your regular clothes') + ' in a restroom.'
		<<elseif getvar("$dressed_as_a_prostitute") == 0 and $prostitute['outfit_is_set']>>
			'You could work as a prostitute, but first you have to ' + iif(car > 0 and cardrive = 29, '<<link 'change into a more appropriate outfit'>><<gt  'prostitution_functions'  'change' >><</link>> in your car or ', 'change into a more appropriate outfit ')  + 'in a restroom.'
		<<else>>
			You are wearing the right outfit to work as a prostitute at the gas station.
		<</if>>
	<</if>>
	<<if getvar("$prostitute['payment_method']") == 1>>
		'<br>You can take a bus to the '+iif(money < 75, 'train station', '<<link 'train station'>><<gt  'gas_station_gp_117'  'bus_end'>><</link>>')+' in Pavlovsk. The bus ride and a short walk to the bus station will take and hour and a half minutes and cost 75 <b>₽</b>.'+iif(money < 75, ' You don't have enough money.', '')

	<</if>>
	<<actCLA 'Go inside the gas station'>>
		<<set $time.minutes += 1>> <<gt 'gas_station_gp_117' 'shop'>>
	<</actCLA>>
	<<actCLA 'Go to the public restroom'>>
		<<set $time.minutes += 1>> <<gt 'gas_station_gp_117' 'restroom'>>
	<</actCLA>>
	<<if getvar("$prostitute['blocked']") == 0 and getvar("$prostitute['gas_station']") == 1 and $prostitute['work_clothes']>>
		<<act 'Go to work'>>
	<<gt 'gas_station_gp_117' 'work'>>
<</act>>

	<</if>>
	<<actCLA 'Wait'>>
		<<gs 'wait'>>
	<</actCLA>>
	<<set $dressed_as_a_prostitute to null>>
<</if>>
<!-- ! [$x] First check over-->
<<if $location_var[$here][0] == 'shop' or $gas_shop_inside == 'yes'>>
	<<if getvar("$sound") == 0>>
	<</if>>
	<<set $loc_arg = 'shop'>>
	<<set $menu_arg = 'shop'>>
	<<set $menu_off = 0>>
	<<set $location_type = 'public_indoors'>>
	<<set $gas_shop_inside = 'yes'>>
	<<image "locations/highway/gas_station_gp_117/gas_interior.jpg">>
	The shop is stacked with some magazines, cigarettes, different things to eat and drink.
	<<if $prostitute['tomas_timer'] == $time.daystart>>
		Behind the counter stands Tomas. He's talking to another customer right now.
	<<elseif $time.weekday < 7>>
		<!-- !!'Behind the counter stands <<link "'+iif(prostitute['tomas'] = 0, 'a plump man', 'Tomas')+'">><<set $time.minutes +  = 1>> <<gt 'gas_station_gp_117' 'tomas'>><</link>>.'-->
		<<set 'Behind the counter stands ' + iif(prostitute['tomas'] = 0, 'a plump man.', 'Tomas.')>>
	<<elseif getvar("$prostitute['tomas']") > 0 and $time.weekday == 7>>
		Tomas isn''t working on Sundays. Another guy you don't know is standing behind the counter.
	<</if>>
	<<set $prostitute_shop_tab = '<center><table align="center">'>>
	<<set $prostitute_shop_tab += func ('$stock_item', 20, 'Cigarettes', 115, 'siga', $curloc)>>
	<<set $prostitute_shop_tab += func ('$single_stock_item', 1, 'Fashion magazine', 430, 'fashmag', $curloc)>>
	<<set $prostitute_shop_tab += func ('$single_stock_item', 1, 'Computer magazine', 430, 'compmag', $curloc)>>
	<<set $prostitute_shop_tab += func ('$single_stock_item', 1, 'Biographical magazine', 430, 'biomag', $curloc)>>
	<<set $prostitute_shop_tab += func ('$single_stock_item', 1, 'Cooking magazine', 430, 'cookmag', $curloc)>>
	<<set $prostitute_shop_tab += func ('$single_stock_item', 1, 'Knitting magazine', 430, 'knitmag', $curloc)>>
	<<set $prostitute_shop_tab += func ('$single_stock_item', 1, 'Fitness magazine', 430, 'fitmag', $curloc)>>
	<<set $prostitute_shop_tab += func ('$stock_item', 10, 'Wipes', 50, 'salfetka', $curloc, '', iif(bag > 0, 0, 1), 'You need a purse')>>
	<<set $prostitute_shop_tab += func ('$stock_item', 20, 'Tampons', 200, 'tampon', $curloc)>>
	<<if $inventory.get("umbrella") == 0>>
		<<set $prostitute_shop_tab += func ('$single_stock_item', 1, 'Umbrella', 1000, 'umbrella', $curloc, '', iif(bag > 0, 0, 1), 'You need a purse')>>

	<</if>>
	<<set $prostitute_shop_tab += '</table></center>'>>
	 * pl $prostitute_shop_tab
	<<set $prostitute_shop_tab to null>>
	<<actCLA 'Go outside'>>
		<<set $gas_shop_inside = 'no'>> <<set $time.minutes += 1>> <<gt 'gas_station_gp_117' 'outside'>>
	<</actCLA>>
	<<actCLA 'Buy and eat a snack (100 <b>₽</b> and 0:05)'>>
		<<set $menu_off = 1>>
		<<set $time.minutes += 5>>
		<<set $finances.cash -= 100>>
		<<set $pc.pcs_health += 5>>
		<<set $pc.mood += 40>>
		<<set $pc.fat += 6>>
		<<set $pc.pcs_energy += 60>>
		<<if $pc.pcs_hydra >= 100>>
			<<set $pc.pcs_hydra += 10>>
		<<else>>
			<<set $pc.pcs_hydra += 20>>
		<</if>>
		<<set $cumspclnt = 2>>
		<<gs 'cum_cleanup'>>
		<<set $pc.pcs_breath = 0>>
		<<image "locations/highway/gas_station_gp_117/food.jpg">>
		You enjoy a tasty snack.
		<<act 'Continue'>>
			<<gt 'gas_station_gp_117' 'shop'>>
		<</act>>
	<</actCLA>>
	<<actCLA 'Buy and eat a healthy snack (100 <b>₽</b> and 0:05)'>>
		<<set $menu_off = 1>>
		<<set $time.minutes += 5>>
		<<set $finances.cash -= 100>>
		<<set $pc.pcs_health += 40>>
		<<set $pc.mood += 10>>
		<<set $pc.fat += 2>>
		<<set $pc.pcs_energy += 60>>
		<<if $pc.pcs_hydra >= 100>>
			<<set $pc.pcs_hydra += 10>>
		<<else>>
			<<set $pc.pcs_hydra += 20>>
		<</if>>
		<<set $pc.pcs_breath = 0>>
		<<set $cumspclnt = 2>>
		<<gs 'cum_cleanup'>>
		<<image "locations/highway/gas_station_gp_117/food.jpg">>
		You enjoy a healthy snack.
		<<act 'Continue'>>
			<<gt 'gas_station_gp_117' 'shop'>>
		<</act>>
	<</actCLA>>
	<<actCLA 'Buy and drink some water (40 <b>₽</b> and 0:05)'>>
		<<set $menu_off = 1>>
		<<set $pc.frost = 1>>
		<<if $pc.alko > 0>>
			<<setn $pc.alko -= 1>>

		<</if>>
		<<set $time.minutes += 5>>
		<<set $finances.cash -= 40>>
		<<set $pc.pcs_health += 10>>
		<<set $pc.pcs_energy += 4>>
		<<if $pc.pcs_hydra >= 100>>
			<<set $pc.pcs_hydra += 25>>
		<<else>>
			<<set $pc.pcs_hydra += 75>>
		<</if>>
		<<set $pc.pcs_breath = 0>>
		<<set $cumspclnt = 2>>
		<<gs 'cum_cleanup'>>
		<<image "locations/highway/gas_station_gp_117/water.jpg">>
		You enjoy a drink of water
		<<act 'Continue'>>
			<<gt 'gas_station_gp_117' 'shop'>>
		<</act>>
	<</actCLA>>
<</if>>
<!-- ! [$x] First check over-->
<<if $location_var[$here][0] == 'restroom'>>
	<<if getvar("$sound") == 0>>
	<</if>>
	<<set $loc_arg = 'restroom'>>
	<<set $menu_arg = 'restroom'>>
	<<set $menu_off = 0>>
	<<set $location_type = 'public_outdoors'>>
	<<image `'locations/highway/gas_station_gp_117/restroom_'+iif(dayStage = 5, 'night', 'day')+'.jpg'`>>
	'The gas station has a public bathroom. '+iif(prostitute_status['restroom_chip'] = 0, 'It costs 10 <b>₽</b> to use it.', 'You have an employee chip and can use it for free.')+' On the right side of the restroom is a <<link 'condom dispenser'>><<setn $time.minutes += 1>><<gt  'gas_station_gp_117' 'condom_dispenser'>><</link>>.'
	<<actCLA 'Go back'>>
		<<set $time.minutes += 1>> <<gt 'gas_station_gp_117' 'outside'>>
	<</actCLA>>
	<<if $finances.cash >= 10 and getvar("$prostitute_status['restroom_chip']") == 0>>
		<<actCLA 'Enter the women`s restroom'>>
			<<set $finances.cash -= 10>> <<set $time.minutes += 1>> <<gt 'gas_station_gp_117' 'restroom_women'>>
		<</actCLA>>
		<<actCLA 'Enter the men`s restroom'>>
			<<set $finances.cash -= 10>> <<set $time.minutes += 1>> <<gt 'gas_station_gp_117' 'restroom_men'>>
		<</actCLA>>
	<<else>>
		<br>You don't have enough money to use the restroom.
	<</if>>
	<<if getvar("$joint") > 0>>
		<<actCLA 'Smoke a joint'>>
			<<set $menu_off = 1>>
			<<set $time.minutes += 5>>
			<<image "shared/drugs/joint_smoking.jpg">>
			You go behind the restrooms and pull a joint out of your purse and light it up. Not before long you're starting to feel the relaxing effects as you're getting high.
			<<gs 'drugs' 'joint'>>
			<<act 'Go back'>>
				<<gt 'gas_station_gp_117' 'restroom'>>
			<</act>>
		<</actCLA>>
	<</if>>
<</if>>
<!-- ! [$x] First check over-->
<<if $location_var[$here][0] == 'condom_dispenser'>>
	<<if getvar("$sound") == 0>>
	<</if>>
	<<set $loc_arg = 'condom_dispenser'>>
	<<set $menu_arg = 'condom_dispenser'>>
	<<set $menu_off = 0>>
	<<image "locations/highway/gas_station_gp_117/condoms.jpg">>
	<p>A condom costs 60 <b>₽</b> and you have prezikcount condoms.</p>
	<<actCLA 'Go back'>>
		<<set $time.minutes += 1>> <<gt 'gas_station_gp_117' 'restroom'>>
	<</actCLA>>
	<<if $finances.cash >= 60>>
		<<actCLA 'Buy a condom (60 <b>₽</b>)'>>
			<<set $time.minutes += 1>>
			<<set $finances.cash -= 60>>
			<<if getvar("$preziktype") == 0>>
				<<setn $inventory.get("condom") += 1>>

			<</if>>
			<<if getvar("$preziktype") == 1 or getvar("$preziktype") == 2>>
				<<setn $prezikcount += 1>>

			<</if>>
			<<gt 'gas_station_gp_117' 'condom_dispenser'>>
		<</actCLA>>
	<</if>>
	<<if $finances.cash >= 300>>
		<<actCLA 'Buy five condoms (300 <b>₽</b>)'>>
			<<set $time.minutes += 1>>
			<<set $finances.cash -= 300>>
			<<if getvar("$preziktype") == 0>>
				<<setn $inventory.get("condom") += 5>>

			<</if>>
			<<if getvar("$preziktype") == 1 or getvar("$preziktype") == 2>>
				<<setn $prezikcount += 5>>

			<</if>>
			<<gt 'gas_station_gp_117' 'condom_dispenser'>>
		<</actCLA>>
	<</if>>
	<<if $finances.cash >= 600>>
		<<actCLA 'Buy ten condoms (600 <b>₽</b>)'>>
			<<set $time.minutes += 1>>
			<<set $finances.cash -= 600>>
			<<if getvar("$preziktype") == 0>>
				<<setn $inventory.get("condom") += 10>>

			<</if>>
			<<if getvar("$preziktype") == 1 or getvar("$preziktype") == 2>>
				<<setn $prezikcount += 10>>

			<</if>>
			<<gt 'gas_station_gp_117' 'condom_dispenser'>>
		<</actCLA>>
	<</if>>
<</if>>
<!-- ! [$x] First check over-->
<<if $location_var[$here][0] == 'restroom_women'>>
	<<if getvar("$sound") == 0>>
	<</if>>
	<<set $loc_arg = 'restroom_women'>>
	<<set $locM_arg = 'restroom_women'>>
	<<set $menu_arg = 'restroom_women'>>
	<<set $menu_off = 0>>
	<<set $location_type = 'bathroom'>>
	<<image "locations/highway/gas_station_gp_117/restroom_women.jpg">>
	The women''s restroom is relatively clean. It has has three bathroom stalls which over only a little privacy.
	'A <<link 'brush'>><<gt  'mirror' 'start'">mirror</a>  where you can ' + iif(pcs_hairbsh = 0 '<a href="exec: gt 'mirror' 'brush'>><</link>>','brush') + ' your hair hangs over each sink.'
	<<actCLA 'Go outside'>>
		<<set $time.minutes += 1>> <<gt 'gas_station_gp_117' 'restroom'>>
	<</actCLA>>
	<<if getvar("$dur") > 0 and $pc.narkday != $time.daystart>>
		<<actCLA 'Do a line of cocaine (0:05)'>>
			<<set $menu_off = 1>>
			<<set $pc.narkday = $time.daystart>>
			<<gs 'drugs' 'cocaine'>>
			<<set $time.minutes += 5>>
			<<image "shared/drugs/cocaine.jpg">>
			You snort some cocaine, feeling dizzy for just a moment. After that you feel fantastic, horny and full of energy.
			<<act 'Continue'>>
				<<gt 'gas_station_gp_117' 'restroom_women'>>
			<</act>>
		<</actCLA>>
	<</if>>
	$inventory.get("tampon")
	<<quickwash>>
	<<basin>>
	<<publicpan>>
<</if>>
<!-- ! [$x]: First check over-->
<<if $location_var[$here][0] == 'restroom_men'>>
	<<if getvar("$sound") == 0>>
	<</if>>
	<<set $loc_arg = 'restroom_men'>>
	<<set $locM_arg = 'restroom_men'>>
	<<set $menu_arg = 'restroom_men'>>
	<<set $menu_off = 0>>
	<<set $location_type = 'bathroom'>>
	<<image "locations/highway/gas_station_gp_117/restroom_men.jpg">>
	The men''s restroom is dirty and smells like urine. It has has three bathroom stalls which over only a little privacy.
	'A <<link 'brush'>><<gt  'mirror' 'start'">mirror</a>  where you can ' + iif(pcs_hairbsh = 0 '<a href="exec: gt 'mirror' 'brush'>><</link>>','brush') + ' your hair hangs over each sink.'
	<<actCLA 'Go outside'>>
		<<set $time.minutes += 1>> <<gt 'gas_station_gp_117' 'restroom'>>
	<</actCLA>>
	<<if getvar("$dur") > 0 and $pc.narkday != $time.daystart>>
		<<actCLA 'Do a line of cocaine (0:05)'>>
			<<set $menu_off = 1>>
			<<set $pc.narkday = $time.daystart>>
			<<gs 'drugs' 'cocaine'>>
			<<set $time.minutes += 5>>
			<<image "shared/drugs/cocaine.jpg">>
			You snort some cocaine, feeling dizzy for just a moment. After that you feel fantastic, horny and full of energy.
			<<act 'Continue'>>
				<<gt 'gas_station_gp_117' 'restroom_men'>>
			<</act>>
		<</actCLA>>
	<</if>>
	$inventory.get("tampon")
	<<quickwash>>
	<<basin>>
	<<publicpan>>
<</if>>
<<if $location_var[$here][0] == 'gas'>>
	<!-- 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">>
	<p>You can buy petrol for your car, the price is 30 <b>₽</b> per liter.</p>
	<<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)
			<<act 'Disengage from the pump'>>
				<<gt 'gas_station_gp_117' 'outside'>>
			<</act>>
		<</actCLA>>
	<</if>>
	<<if getvar("$benz") < 50>>
		<<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>
				<<act 'Disengage from the pump'>>
					<<gt 'gas_station_gp_117' 'outside'>>
				<</act>>
			<</actCLA>>
		<<else>>
			You do not have enough money to refuel your car.
		<</if>>
	<</if>>
<</if>>
<!-- ! [$x] First check over-->
<!-- ! NOTE: The functions relating to Tomas are removed for now, the attendant doesn''t make seses at the moment. Not really integral to the WLife story, so could be-->
<!-- ! scavenged and used later if needed.-->
<!-- !!------ Prostitution -------------------------------->
<!-- !! fc-->
<!-- !!------ Working ------------------------------------------------------------------------------------>
<!-- ! [$x] First check over-->
<!-- ! NOTE: The first function - work - is location dependent, so this needs to be left here, and every location will need a similar one.-->
<<if $location_var[$here][0] == 'work'>>
	<<if getvar("$sound") == 0>>
	<</if>>
	<<set $loc_arg = 'work'>>
	<<set $used_name = 'street'>>
	<<set $menu_arg = 'work'>>
	<<set $menu_off = 0>>
	<<gs 'prostitution_functions' 'parameters'>>
	<<if $prostitute_names['street'] == ''>>
		If you want, you can tell your clients a different name.
		<<setinit $prostitute_names['street'] = input("What name do you want to tell your clients? (Leave blank for <<$pc.name_nick>>)")>>
		<<if $prostitute_names['street'] == ''>>
			<<setinit $prostitute_names['street'] = $pc.name_nick>>

		<</if>>
	<</if>>
	<<video "shared/prostitution/car/normal/negotiation/search.mp4">>
	<!-- FAILED TO CONVERT
		'You are walking near the gas station waiting for a client. On a scale from 1 to 10 you look like a <<hotcat>>. A good looking girl will always earn more money.'+iif(pcs_makeup < 2, ' You should '+iif(pcs_makeup = 0, 'fix your make-up', 'wear make-up')+' to increase your earnings.', ' Wearing make-up is a good way to increase your earnings.')+iif(pirsA > 0 and pirsA < 10000, ' Your tongue piercing will make a blowjob more enjoyable for most men, that could bring in a small bonus.', '')+iif($wardrobe.pantyworntype = 'eroto' and CloSkirtShortness > 4, ' Wearing such a short skirt reveals your slutty panties to your potential customers.', '')+iif(pcs_apprnc = -10, ' You don''t look healthy and should seek treatment for your STD. There is a high chance that a guy won''t touch you without a condom.', '')
	-----
		<<set 'You are walking near the gas station waiting for a client. On a scale from 1 to 10 you look like a hotcat. A good looking girl will always earn more money.' + ERROR: FAILED TO CONVERT LITERAL: """iif(pcs_makeup < 2""" , ' You should ' + iif(pcs_makeup = 0, 'fix your make-up', 'wear make-up')+' to increase your earnings.', ' Wearing make-up is a good way to increase your earnings.')+iif(pirsA > 0 and pirsA < 10000, ' Your tongue piercing will make a blowjob more enjoyable for most men, that could bring in a small bonus.', '')+iif($wardrobe.pantyworntype = 'eroto' and CloSkirtShortness > 4, ' Wearing such a short skirt reveals your slutty panties to your potential customers.', '')+iif(pcs_apprnc = -10, ' You don't look healthy and should seek treatment for your STD. There is a high chance that a guy won''t touch you without a condom.', '')>>

	-->
	<<warn "CONVERSION ERROR d0764e50640d662772fb17ac16b5e7eb">>
	<<if $klismaday != $time.daystart>>
		<br>Nearly all men won''t like dirty anal sex, even with a condom, and it's probably a safe bet that they won''t pay a lot for it. You should start giving yourself an enema before going to work.

	<</if>>
	<<if getvar("$mesec") > 0>>
		<br>You are having your period, most men will pay less for vaginal sex during that time of the month.

	<</if>>
	<<if getvar("$prostitute['cum_dressed']") == 1>>
		<br>You have visible cum stains on you. Most clients won''t like that and will offer less money.

	<</if>>
	<!-- FAILED TO CONVERT
		if prostitute['earnings_day'] > 0: 'You have earned <<prostitute[''earnings_day'']>> <b>₽</b> today.'+iif(prostitute['payment_method'] = 0, ' Your share is <<prostitute[''earnings_day''] * prostitute[''share_player''] / 100>> <b>₽</b>'+iif(prostitute['debt_amount'] > 0, ', but your pimp will keep <<prostitute[''earnings_day''] * prostitute[''debt_payment_percent''] / 100>> <b>₽</b> to pay down your debt.', '.'), '')
	-----
		<<if getvar("$prostitute['earnings_day']") > 0>>
		<!-- FAILED TO CONVERT
	'You have earned <<prostitute[''earnings_day'']>> <b>₽</b> today.'+iif(prostitute['payment_method'] = 0, ' Your share is <<prostitute[''earnings_day''] * prostitute[''share_player''] / 100>> <b>₽</b>'+iif(prostitute['debt_amount'] > 0, ', but your pimp will keep <<prostitute[''earnings_day''] * prostitute[''debt_payment_percent''] / 100>> <b>₽</b> to pay down your debt.', '.'), '')
-----
	<<set ERROR: FAILED TO CONVERT LITERAL: """'You have earned <<prostitute['earnings_day']>> <b>₽<""" / ERROR: FAILED TO CONVERT LITERAL: """b> today.'""" + iif(prostitute['payment_method'] = 0, ' Your share is <<prostitute['earnings_day'] * prostitute['share_player'] / 100>> <b>₽</b>'+iif(prostitute['debt_amount'] > 0, ', but your pimp will keep <<prostitute['earnings_day'] * prostitute['debt_payment_percent'] / 100>> <b>₽</b> to pay down your debt.', '.'), '')>>

-->
<<warn "CONVERSION ERROR 27f4cac3de71587afc23534de790bf54">>

	<</if>>

	-->
	<<warn "CONVERSION ERROR 0ed1e430a5890cd3404e8f4b1a34e0e4">>
	<<if getvar("$prostitute['payment_method']") == 0>>
		<<gs 'gas_station_gp_117' 'event_check'>>

	<</if>>
	<<act 'Stop working'>>
		<<gt 'gas_station_gp_117' 'outside'>>
	<</act>>
	<<gs 'willpower' 'prostitution' 'self' 'medium'>>
	<<if $will_cost <= $pc.willpower>>
		<<actCLA 'Look for a client (0:30 and will_cost Willpower)'>>
			<<gs 'willpower' 'pay' 'self'>>
			<<gt 'prostitution_car_negotiation' 'look_client'>>
		<</actCLA>>
	<<elseif $will_cost > $pc.willpower>>
		<!-- FAILED TO CONVERT
			act 'Look for a client (0:30 and <font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
		-----
			<<actCLA 'Look for a client (0:30 and <font color="red">will_cost Willpower</font>)'>>
			<<set ERROR: FAILED TO CONVERT LITERAL: """'<br><font color""" = ERROR: FAILED TO CONVERT LITERAL: """"red">You don't have enough willpower to use this action.<""" / ERROR: FAILED TO CONVERT LITERAL: """font>'""">>
		<</actCLA>>

		-->
		<<warn "CONVERSION ERROR 364c426409861045c1e894a2be85aa34">>
	<</if>>
	<<if $inventory.get("wipe") > 0 and (getvar("$prostitute['cum_dressed']") == 1 or getvar("$prostitute['cum_undressed']") == 1 or getvar("$prostitute['cum_vaginal_mod']") == 1 or getvar("$prostitute['cum_anal_mod']") == 1)>>
		<<actCLA 'Remove the cum from your body (0:02)'>>
			<<set $time.minutes += 2>>
			<<run $inventory.dec('wipe',1)>>
			<<set $cumspclnt = 20>>
			<<gs 'cum_cleanup'>>
			<<gt 'gas_station_gp_117' 'work'>>
		<</actCLA>>
	<<elseif $inventory.get("wipe") == 0>>
		<br>You don't have any tissues with you to remove cum from your body.
	<</if>>
	<!-- !! NOTE:  This is where the working/negotiationg part begins in the original file. Moved to a separate file.-->
	<!-- !! This call just displays the explanation and the "config" of the negotiations on the page.-->
	<<gs 'prostitution_car_negotiation' 'general_description'>>
<</if>>
<<if $location_var[$here][0] == 'event_check'>>
	<!-- !! TODO: Originally this was checking for story events. Now it should check for police raid or just check, attack, or anything else.-->
	<!-- !! If this is used in the city, then the initial pimp visits should be checked here too.-->
	<!-- !!		gt 'mod_wlife_story', 'police'-->
<</if>>
<!-- ! [$x] First check over-->
<<if $location_var[$here][0] == 'bus_end'>>
	<<set $time.minutes += 87>>
	<<set $finances.cash -= 75>>
	<!-- !!NOTE: Removed the checking for acceptance-->
	<<setinit $prostitute['earnings_day'] = 0>>
	<<setinit $prostitute['customer_day'] = 0>>
	<<gt 'pav_market'>>
<</if>>
