# dachain

if $args[0] = 'start':
	$location_type = 'private'
	$loc = 'dachain'
	$loc_arg = 'start'
	$locM = 'dachain'
	$locM_arg = 'start'
	$menu_loc = 'dachain'
	$menu_arg = 'start'
	menu_off = 0

	killvar '$locclass'
	gs 'themes', 'indoors'
	*clr & cla
	gs 'stat'
	'<center><b><font color="maroon">Cottage</font></b></center>'
	if func('homes_properties', 'is_property_renovated'):
		'<center><img <<$set_imgh>> src="images/locations/suburban/cottage/dacharoom2.jpg"></center>'
	else
		'<center><img <<$set_imgh>> src="images/locations/suburban/cottage/dacharoom1.jpg"></center>'
	end
	'Your favorite summer residence.'
	*nl
	'There is a <a href="exec:gt ''bed'', ''start''">bed</a> against one wall. Next to it is a <a href="exec:gt ''wardrobe'', ''start''">wardrobe</a> (where you can choose outfits and organize your clothing). On the other side of the bed is a table and a <a href="exec:gt ''mirror'', ''start''">mirror</a>'
	*nl
	'There is a sofa in front of the fireplace, a kitchen alcove opposite the bed and the door to the bathroom next to that.'
	*nl
	if stol = 0:$stol = 'an old wooden <a href="exec:gt ''stol'', ''start''">table</a>'
	if stol = 1:$stol = 'a new <a href="exec:gt ''stol'', ''start''">table</a>'
	'In front of the window there is <<$stol>>.'
	*nl
	if mc_inventory['tech_computer'] = 1:
		gs 'internet_mobile', 'get_access'
		'Your <a href="exec: gt ''Komp'',''start''">computer</a> is on the table. Unfortunately, there is no internet service in the village.'
	end
	*nl
	
	if hour >= 6 and hour <= 20 and etoexhib = 11:'Kopashatsya working in the garden, hmm... maybe sometime <a href="exec:gt ''etoexhib'', ''pos10''">motivate</a> for them to work quicker and smarter.'
	if hour >= 6 and hour <= 20 and etoexhib = 12:'Leave in <a href="exec:gt ''etoexhib'', ''pos11''">garden in lingerie and robe.</a>'
	if hour >= 6 and hour <= 20 and etoexhib = 13 and temp ! daystart:'I wonder how to <a href="exec:gt ''etoexhib'', ''pos12''">garden</a>'

	act 'Go outside':
		if $clothingworntype ! 'nude':
			minut += 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'
		end
	end

	act 'Go to the Bathroom':  gt 'dachain', 'dachabath'
	act 'Go to the kitchen alcove': gt 'dachain', 'dachakit'
	act 'Get in the bed': gt 'bed', 'start'
	act 'Lie on the couch': gt 'divan', 'start'
	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'
	
end

if $args[0] = 'dachakit':
	$location_type = 'private'
	$loc = 'dachain'
	$loc_arg = 'dachakit'
	$locM = 'dachain'
	$locM_arg = 'dachakit'
	$menu_loc = 'dachain'
	$menu_arg = 'dachakit'
	menu_off = 0
	$locclass = 'kitr'
	*clr & cla
	gs 'kit_din'
	gs 'stat'
	'<center><b><font color="maroon">Cottage Kitchen</font></b></center>'
	if func('homes_properties', 'is_property_renovated'):
		'<center><img <<$set_imgh>> src="images/locations/suburban/cottage/dachakit2.jpg"></center>'
	else
		'<center><img <<$set_imgh>> src="images/locations/suburban/cottage/dachakit1.jpg"></center>'
	end
	
	act 'Go into the main room': gt 'dachain', 'start'

	if mc_inventory['dish_plates'] > 0:
		'<b><<mc_inventory[''dish_plates'']>></b> clean plates are stored in the cupboard.'
	else
		'<b><font color="red">You have no clean dishes left.</font></b>'
	end

	if dirttarelka > 0:'<b><<dirttarelka>></b> dirty dishes are lying in the sink. <a href="exec:dynamic $dirtarm">Wash the dishes</a>.'

	if mc_inventory['dish_soap'] > 0:
		'Next to the sink is dishwashing liquid, enough for <b><<mc_inventory[''dish_soap'']>></b> uses.'
	else
		'<b><font color="red">You have nothing to wash dishes with, you need to buy dishwashing liquid.</font></b>'
	end

	if mc_inventory['food_basic'] > 0:
		if mc_inventory['dish_plates'] = 0 or edahot > 0:$edagot = ''
		if mc_inventory['dish_plates'] > 0 and edahot = 0:$edagot = '<a href="exec:dynamic $edagotd">Cook a meal</a>'

		'There''s enough food for <b><<mc_inventory[''food_basic'']>></b> ' + iif(mc_inventory['food_basic'] = 1, 'serving', 'servings') + '. <<$edagot>>'
	elseif mc_inventory['food_diet'] = 0 and mc_inventory['food_basic'] = 0:
		'<b><font color="red">The fridge is empty. You have nothing to eat.</font></b>'
	end
	
	if edahot > 0:'<a href="exec:dynamic $edahotd">There''s a warm meal on the table.</a>'

	if husband > 0 and husbandrink ! 10:
		if hour = 7 or hour = 17:'<a href="exec:gt ''husb'', ''start''">Your husband is eating at the table.</a>'
	end

	if husband > 0 and husbanday > 0 and huseatday ! daystart and mc_inventory['food_basic'] >= 2:
		act 'Cook a meal for your husband and yourself (1:00)':
			cla
			*clr
			husband += 5
			mc_inventory['food_basic'] -= 2
			minut += 60
			huseatday = daystart
			pcs_mood -= 25
			'<center><img <<$set_imgh>> src="images/shared/home/kitchen/cook.jpg"></center>'
			'You prepare a meal for your husband and yourself.'

			act 'Leave the meal':gt 'kuhr'
		end
	end

	dynamic $edasnack
	dynamic $sandwich
	dynamic $driwater
	dynamic $dritea
	dynamic $fill_bottle
	dynamic $edaD
	dynamic $fatdel
	dynamic $lekarstvo
	dynamic $vitamin

end

if $args[0] = 'dachabath':
	$loc = 'dachain'
	$loc_arg = 'dachabath'
	$locM = 'dachain'
	$locM_arg = 'dachabath'
	$menu_loc = 'dachain'
	$menu_arg = 'dachabath'
	menu_off = 0
	$location_type = 'bathroom'
	$bathtype = 'bathtub shower'

	*clr & cla
	gs 'stat'
	'<center><b><font color="maroon">Cottage Bathroom</font></b></center>'
	if func('homes_properties', 'is_property_renovated'):
		'<center><img <<$set_imgh>> src="images/locations/suburban/cottage/dachavan2.jpg"></center>'
	else
		'<center><img <<$set_imgh>> src="images/locations/suburban/cottage/dachavan1.jpg"></center>'
	end

	act 'Go into the main room': gt 'dachain', 'start'

	gs'selfplay','suction_dildo'
	gs 'din_van', 'private'
end

--- dachain ---------------------------------

