:: city_house_res_kitch
<<set $here = 'city_house_res_kitch'>>
<<set $ARGS = $location_var[$here]>>
<<if $location_var[$here][0] == 'kitch'>>
	<<set $loc = 'city_house_res_kitch'>>
	<<set $loc_arg = 'kitch'>>
	<<set $menu_loc = 'city_house_res_kitch'>>
	<<set $menu_arg = 'kitch'>>
	<<set $locclass = 'kitr'>>
	<<set $menu_off = 0>>
	<<set $time.minutes += 1>>
	<<gs 'kit_din'>>
	<h2>Kitchen</h2>
	<<image "locations/city/residential/house/crh_kitchen.jpg">>
	<<act 'Leave the room'>>
		<<gt 'city_house_res_misc' 'hallw'>>
	<</act>>
	A well stocked kitchen containing all the necessities to make whatever meal you please.
	<<if getvar("$cltarelka") > 0>>
		You have <b><<cltarelka>></b> clean plates left.
	<<else>>
		<b><font color="red">You don't have any clean plates left.</font></b>
	<</if>>
	<!-- FAILED TO CONVERT
		if dirttarelka > 0:'There are <b><<dirttarelka>></b> dirty dishes in the sink. <a href="exec:dynamic $dirtarm">Wash the dishes</a>.'
	-----
		<<if getvar("$dirttarelka") > 0>>
		<!-- FAILED TO CONVERT
	'There are <b><<dirttarelka>></b> dirty dishes in the sink. <<link "Wash the dishes">><<dirtarm>><</link>>.'
-----
	<<set ERROR: FAILED TO CONVERT LITERAL: """'There are <b><<dirttarelka>><""" / ERROR: FAILED TO CONVERT LITERAL: """b> dirty dishes 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 87a0fcda6427f522398791547ba8fa1d">>

	<</if>>

	-->
	<<warn "CONVERSION ERROR 738915350db84207ee22eef0357b351d">>
	<<if getvar("$fairy") > 0>>
		<!-- FAILED TO CONVERT
			'Under the sink is some dishwashing detergent, which is enough for <b><<fairy>></b> ' + iif(fairy = 1, 'time.', 'times.')
		-----
			<<set 'Under the sink is some dishwashing detergent , ERROR: FAILED TO CONVERT LITERAL: """which is enough for <b><<fairy>><""" / ERROR: FAILED TO CONVERT LITERAL: """b> '""" + iif(fairy = 1, 'time.', 'times.')>>

		-->
		<<warn "CONVERSION ERROR 9b3882b0ad433a08b889c0edb527d97d">>
	<<else>>
		<b><font color="red">You have nothing to wash dishes with. You should buy some detergent.</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>>
