:: dachain
<<set $here = 'dachain'>>
<<set $ARGS = $location_var[$here]>>
<<if $location_var[$here][0] == 'start'>>
	<<set $location_type = 'private'>>
	<<set $loc = 'dachain'>>
	<<set $loc_arg = 'start'>>
	<<set $locM = 'dachain'>>
	<<set $locM_arg = 'start'>>
	<<set $menu_loc = 'dachain'>>
	<<set $menu_arg = 'start'>>
	<<set $menu_off = 0>>
	<<set $locclass to null>>
	
	<h2>Cottage</h2>
	<<if setup.func('homes_properties', 'is_property_renovated')>>
		<<image "locations/suburban/cottage/dacharoom2.jpg">>
	<<else>>
		<<image "locations/suburban/cottage/dacharoom1.jpg">>
	<</if>>
	Your favorite summer residence.
	There is a <<link "bed">><<gt 'bed' 'start'>><</link>> against one wall. Next to it is a <<link "wardrobe">><<gt 'wardrobe' 'start'>><</link>> (where you can choose outfits and organize your clothing). On the other side of the bed is a table and a <<link "mirror">><<gt 'mirror' 'start'>><</link>>
	There is a sofa in front of the fireplace, a kitchen alcove opposite the bed and the door to the bathroom next to that.
	<<if getvar("$stol") == 0>>
		<<set $stol = 'an old wooden <<link "table">><<gt `stol` `start'>><</link>>'>>

	<</if>>
	<<if getvar("$stol") == 1>>
		<<set $stol = 'a new <<link "table">><<gt `stol` `start'>><</link>>'>>

	<</if>>
	<p>In front of the window there is $stol.</p>
	<<if $inventory.get("computer") == 1>>
		<<gs 'internet_mobile' 'get_access'>>
		Your <<link "computer">><<gt 'computer'>><</link>> is on the table. Unfortunately, there is no internet service in the village.
	<</if>>
	<<if $time.hour >= 6 and $time.hour <= 20 and getvar("$etoexhib") == 11>>
		Kopashatsya working in the garden, hmm... maybe sometime <<link "motivate">><<gt 'etoexhib' 'pos10'>><</link>> for them to work quicker and smarter.

	<</if>>
	<<if $time.hour >= 6 and $time.hour <= 20 and getvar("$etoexhib") == 12>>
		Leave in <<link "garden in lingerie and robe.">><<gt 'etoexhib' 'pos11'>><</link>>

	<</if>>
	<<if $time.hour >= 6 and $time.hour <= 20 and getvar("$etoexhib") == 13 and $temp != $time.daystart>>
		I wonder how to <<link "garden">><<gt 'etoexhib' 'pos12'>><</link>>

	<</if>>
	<<actCLA 'Go outside'>>
		<<if $wardrobe.clothingworntype != 'nude'>>
			<<set $time.minutes += 5>> <<gt 'dachamy'>>
		<<else>>
			<<msg '<b><font color = red>You can""t leave the house naked! You need to get dressed first.</font></b>'>>
			<<gt 'dachain' 'start'>>
		<</if>>
	<</actCLA>>
	<<act 'Go to the Bathroom'>>
		<<gt 'dachain' 'dachabath'>>
	<</act>>
	<<act 'Go to the kitchen alcove'>>
		<<gt 'dachain' 'dachakit'>>
	<</act>>
	<<act 'Get in the bed'>>
		<<gt 'bed' 'start'>>
	<</act>>
	<<act 'Lie on the couch'>>
		<<gt 'divan' 'start'>>
	<</act>>
	<<gs 'prostitution_functions' 'prostitute_outfit_at_home'>>
	<!-- !!--------------------------------------------------------------------------------------------------------------------------------------->
	<!-- !!------------------------------------------------------- Music related actions come here ----------------------------------------------->
	<!-- !!--------------------------------------------------------------------------------------------------------------------------------------->
	<!-- !! IMPORTANT: if there is anything added later that could mean that others are in the room, gs 'music_actions', 'not_alone' should be added with the correct conditions.-->
	<<gs 'music_actions' 'music_icon'>>
<</if>>
<<if $location_var[$here][0] == 'dachakit'>>
	<<set $location_type = 'private'>>
	<<set $loc = 'dachain'>>
	<<set $loc_arg = 'dachakit'>>
	<<set $locM = 'dachain'>>
	<<set $locM_arg = 'dachakit'>>
	<<set $menu_loc = 'dachain'>>
	<<set $menu_arg = 'dachakit'>>
	<<set $menu_off = 0>>
	<<set $locclass = 'kitr'>>
	<<gs 'kit_din'>>
	<h2>Cottage Kitchen</h2>
	<<if setup.func('homes_properties', 'is_property_renovated')>>
		<<image "locations/suburban/cottage/dachakit2.jpg">>
	<<else>>
		<<image "locations/suburban/cottage/dachakit1.jpg">>
	<</if>>
	<<act 'Go into the main room'>>
		<<gt 'dachain' 'start'>>
	<</act>>
	<<if getvar("$cltarelka") > 0>>
		<b><<cltarelka>></b> clean plates are stored in the cupboard.
	<<else>>
		<b><font color="red">You have no clean dishes left.</font></b>
	<</if>>
	<!-- FAILED TO CONVERT
		if dirttarelka > 0:'<b><<dirttarelka>></b> dirty dishes are lying in the sink. <a href="exec:dynamic $dirtarm">Wash the dishes</a>.'
	-----
		<<if getvar("$dirttarelka") > 0>>
		<!-- FAILED TO CONVERT
	'<b><<dirttarelka>></b> dirty dishes are lying in the sink. <<link "Wash the dishes">><<dirtarm>><</link>>.'
-----
	<<set ERROR: FAILED TO CONVERT LITERAL: """'<b><<dirttarelka>><""" / ERROR: FAILED TO CONVERT LITERAL: """b> dirty dishes are lying in the sink. <a href""" = ERROR: FAILED TO CONVERT LITERAL: """"exec:dynamic $dirtarm">Wash the dishes<""" / ERROR: FAILED TO CONVERT LITERAL: """a>.'""">>

-->
<<warn "CONVERSION ERROR 393f315ccee55bd63fec8f507c13d074">>

	<</if>>

	-->
	<<warn "CONVERSION ERROR bbfc675a826433f0811b64f94a513f64">>
	<<if getvar("$fairy") > 0>>
		Next to the sink is dishwashing liquid, enough for <b><<fairy>></b> uses.
	<<else>>
		<b><font color="red">You have nothing to wash dishes with, you need to buy dishwashing liquid.</font></b>
	<</if>>
	<<if $inventory.get("food") > 0>>
		<<if getvar("$cltarelka") == 0 or getvar("$edahot") > 0>>
			<<set $edagot = ''>>

		<</if>>
		<<if getvar("$cltarelka") > 0 and getvar("$edahot") == 0>>
			<<set $edagot = '<<link "Cook a meal">><<edagotd>><</link>>'>>

		<</if>>
		<!-- FAILED TO CONVERT
			'There''s enough food for <b>$inventory.get("food")</b> ' + iif(eda = 1, 'serving', 'servings') + '. <<$edagot>>'
		-----
			<<set ERROR: FAILED TO CONVERT LITERAL: """'There''s enough food for <b>$inventory.get("food")<""" / ERROR: FAILED TO CONVERT LITERAL: """b> '""" + iif(eda = 1, 'serving', 'servings') + '. $edagot'>>

		-->
		<<warn "CONVERSION ERROR 5671d0574a9ef16d3251c57e7eb5941c">>
	<<elseif $inventory.get("foodDiet") == 0 and $inventory.get("food") == 0>>
		<b><font color="red">The fridge is empty. You have nothing to eat.</font></b>
	<</if>>
	<<if getvar("$edahot") > 0>>
		<<link "There''s a warm meal on the table.">><<edahotd>><</link>>

	<</if>>
	<<if getvar("$husband") > 0 and getvar("$husbandrink") != 10>>
		<<if $time.hour == 7 or $time.hour == 17>>
			<<link "Your husband is eating at the table.">><<gt 'husb' 'start'>><</link>>

		<</if>>
	<</if>>
	<<if getvar("$husband") > 0 and getvar("$husbanday") > 0 and $huseatday != $time.daystart and $inventory.get("food") >= 2>>
		<<actCLA 'Cook a meal for your husband and yourself (1:00)'>>
			 			<<set $husband += 5>>
			<<run $inventory.dec('food',2)>>
			<<set $time.minutes += 60>>
			<<set $huseatday = $time.daystart>>
			<<set $pc.mood -= 25>>
			<<image "shared/home/kitchen/cook.jpg">>
			You prepare a meal for your husband and yourself.
			<<act 'Leave the meal'>>
				<<gt 'kuhr'>>
			<</act>>
		<</actCLA>>
	<</if>>
	<<edasnack>>
	<<sandwich>>
	<<drinkWaterAction>>
	<<dritea>>
	<<fill_bottle>>
	$inventory.get("foodDiet")
	<<pranik>>
	<<fatdel>>
	<<lekarstvo>>
	$inventory.get("vitamin")
<</if>>
<<if $location_var[$here][0] == 'dachabath'>>
	<<set $loc = 'dachain'>>
	<<set $loc_arg = 'dachabath'>>
	<<set $locM = 'dachain'>>
	<<set $locM_arg = 'dachabath'>>
	<<set $menu_loc = 'dachain'>>
	<<set $menu_arg = 'dachabath'>>
	<<set $menu_off = 0>>
	<<set $location_type = 'bathroom'>>
	<<set $bathtype = 'bathtub shower'>>
	<h2>Cottage Bathroom</h2>
	<<if setup.func('homes_properties', 'is_property_renovated')>>
		<<image "locations/suburban/cottage/dachavan2.jpg">>
	<<else>>
		<<image "locations/suburban/cottage/dachavan1.jpg">>
	<</if>>
	<<act 'Go into the main room'>>
		<<gt 'dachain' 'start'>>
	<</act>>
	<<gs 'selfplay' 'suction_dildo'>>
	<<gs 'bathroom' 'private'>>
<</if>>
