:: gadfield
<<set $here = 'gadfield'>>
<<set $ARGS = $location_var[$here]>>
<!-- !2021/05/05-->
<!-- !MiraLoc tells us where Mira is Located-->
<!-- !------------------------------------------------>
<!-- !MiraLoc = 0 (Mira at home)-->
<!-- !MiraLoc = 1 (Mira at river)-->
<!-- !MiraLoc = 2 (Mira at meadow)-->
<!-- !MiraLoc = 3 (Mira at forest)-->
<!-- !MiraLoc = 4 (Mira at field)-->
<!-- !MiraLoc = 5 (Mira with gop)-->
<!-- !----------------------------------------------->
<<if $location_var[$here][0] == 'field'>>
	<<set $loc = 'gadfield'>>
	<<set $loc_arg = 'field'>>
	<<set $location_type = 'secluded'>>
	<<set $menu_loc = 'gadfield'>>
	<<set $menu_arg = 'field'>>
	<<set $menu_off = 0>>
	<<gs 'gadukino_event' 'sound'>>
	<h2>Field</h2>
	<<if $time.month >= 4 and $time.month <= 10>>
		<<if $time.hour >= 6 and $time.hour < 22>>
			<<image "locations/gadukino/village/gadfield.jpg">>
		<<else>>
			<<image "locations/gadukino/village/gadfield_night.jpg">>
		<</if>>
		<<if $time.hour >= 9 and $time.hour <= 17 and $npc('A221').qw == 0>>
			<<gs 'grigory' 'meet'>> 

		<</if>>
	<<else>>
		<<if $time.hour >= 8 and $time.hour < 18>>
			<<image "locations/gadukino/village/gadfield_winter.jpg">>
		<<else>>
			<<image "locations/gadukino/village/gadfield_winter_night.jpg">>
		<</if>>
	<</if>>
	A field outside the village.
	<<if getvar("$grigory_flower") > 0 and getvar("$grigory_flower") < 10>>
		<<gt 'grigory' 'flower5'>>

	<</if>>
	<<if $flowerday != $time.daystart and getvar("$grigory_flower") == 10>>
		<<gt 'grigory' 'flower6'>>

	<</if>>
	<<if $flowerday != $time.daystart and getvar("$grigory_flower") > 10>>
		<<gt 'grigory' 'flower8'>>

	<</if>>
	<<if $time.hour >= 9 and $time.hour <= 19 and $time.weekday < 6>>
		Grandfather''s horse <<link "Desperado">><<gt 'gadfield' 'horse'>><</link>> is grazing the field.

	<</if>>
	<<if $time.hour >= 9 and $time.hour <= 19 and getvar("$grandpaQW['chore_herd_cattle']") == 0>>
		You notice a large <<link "herd of cows">><<gt 'gadfield' 'cow'>><</link>> in the middle of the field.

	<</if>>
	<<if $time.hour >= 6 and $time.hour <= 20 and getvar("$grandpaQW['chore_herd_cattle']") == 1>>
		You see the <<link "herd of cows">><<gt 'gadfield' 'cow'>><</link>> out in the middle of the field.

	<</if>>
	<<if $time.hour >= 7 and $time.hour <= 20 and getvar("$grandpaQW['chore_bale_hay']") == 1>>
		You see a crowd of people working on the field.

	<</if>>
	<<actCLA 'Head back to the road (0:10)'>>
		<<set $time.minutes += 10>> <<gt 'gadroad'>>
	<</actCLA>>
	<<if $time.hour >= 7 and $time.hour <= 13 and getvar("$grandpaQW['chore_bale_hay']") == 1>>
		<<actCLA 'Spend the day helping to bale hay (6:00)'>>
			<<gt 'beverage' 'm_meal'>>
			<<set $menu_off = 1>>
			<<if $npc('A60').rel >= 15>>
				<<set $npc('A60').rel += 1>>
				<<image "characters/gadukino/mira/haying_time_mira.jpg">>
				Most of the village has shown up to help out with the hay. Mira is there too, and you both partake in the activities. You enjoy yourself, and working alongside Mira makes the day fly by. By the end of the day, you are both exhausted but smiling.
			<<else>>
				<<image "locations/gadukino/village/haying_time.jpg">>
				<p>Almost all the villagers have shown up to help with the fresh-cut hay. You spend most of the day working hard and sweating as you help gather the fresh-cut hay. It is difficult, but you get a great workout and end the day feeling exhausted but immensely satisfied.</p>
			<</if>>
			<<gs 'exercise' 'tier1' 60 'stren' 'vital'>>
			<<set $time.minutes += 300>>
			<<if !$weather.isRaining>>
				<<setn $pc.tan += 1>>

			<</if>>
			<<setinit $grandpaQW['chore_bale_hay'] = 2>>
			<<run $pc.skillExperienceGain('handyWork',rand(0,8))>>
			<<act 'Continue'>>
				<<gt 'gadfield' 'field'>>
			<</act>>
			<<actCLA 'Return back to your grandfather (0:30)'>>
				<<set $time.minutes += 30>> <<gt 'gadhouse' 'grandpa'>>
			<</actCLA>>
		<</actCLA>>
	<</if>>
<</if>>
<<if $location_var[$here][0] == 'horse'>>
	<<set $loc = 'gadfield'>>
	<<set $loc_arg = 'horse'>>
	<<set $location_type = 'public_outdoors'>>
	<<set $menu_loc = 'gadfield'>>
	<<set $menu_arg = 'horse'>>
	<<set $menu_off = 0>>
	<<gs 'gadukino_event' 'sound'>>
	<<image "locations/gadukino/village/horse.jpg">>
	Your grandfather''s horse, Desperado.
	<<act 'Go back to the field'>>
		<<gt 'gadfield' 'field'>>
	<</act>>
	<<if $time.hour == 19>>
		<<actCLA 'Lead the horse home (1:00)'>>
			<<set $menu_off = 1>>
			<<image "locations/gadukino/village/horse_field.jpg">>
			You spot your grandfather''s horse wandering loose in the field and decide to help by taking Desperado home. Reaching for the harness, you start leading Desperado towards the village.
			<<set $time.minutes += 60>>
			<<setinit $grandmaQW['help_amount'] += rand(0,1)>>
			<<run $pc.skillExperienceGain('handyWork',rand(0,3))>>
			<<actCLA 'Continue'>>
				<<gt 'gadsarai' ''>>
			<</actCLA>>
		<</actCLA>>
	<</if>>
<</if>>
<<if $location_var[$here][0] == 'cow'>>
	<<set $loc = 'gadfield'>>
	<<set $loc_arg = 'cow'>>
	<<set $location_type = 'secluded'>>
	<<set $menu_loc = 'gadfield'>>
	<<set $menu_arg = 'cow'>>
	<<set $menu_off = 0>>
	<<gs 'gadukino_event' 'sound'>>
	<<set $temp = rand(1,5)>>
	<<image "locations/gadukino/village/cow.jpg">>
	The cattle herd is standing in the middle of the field. Some cows are munching on grass, and others just stare idly around.
	<<if getvar("$mira") == 1>>
		MiraLoc = 41 & '<<link 'Mira'>><<gt  'miroslava'  'Start'>><</link>> is standing next to you.'

	<</if>>
	<<if getvar("$grandpaQW['chore_herd_cattle']") == 0>>
		<<act 'Leave them be'>>
	<<gt 'gadfield' 'field'>>
<</act>>

	<</if>>
	<<if $time.hour == 19 and getvar("$grandpaQW['chore_herd_cattle']") == 0>>
		<<actCLA 'Lead the cows home (1:00)'>>
			<<set $menu_off = 1>>
			<<image "locations/gadukino/village/cow_field.jpg">>
			Seeing the cow herd on the field, you decide to help your grandfather bring the cows home...
			<<set $time.minutes += 60>>
			<<setinit $grandmaQW['help_amount'] += 1>>
			<<run $pc.skillExperienceGain('handyWork',rand(0,3))>>
			<<act 'Continue'>>
				<<gt 'gadfield' 'cow'>>
			<</act>>
		<</actCLA>>
	<</if>>
	<<if getvar("$grandpaQW['chore_herd_cattle']") == 1>>
		<<if $time.hour < 10>>
			<<actCLA 'Wait until the herd is gathered'>>
				<<set $menu_off = 1>>
				<<image "locations/gadukino/village/graze_cow_wait.jpg">>
				<<if getvar("$grandpaQW['chore_herd_cattle_experience']") == 0>>
					Some time flies by while waiting for the locals to finish bringing their cows to the field.

				<</if>>
				<<if getvar("$grandpaQW['chore_herd_cattle_experience']") == 1>>
					Some time flies by while waiting for the locals and their children to finish bringing their cows to the field.

				<</if>>
				<<if $time.hour >= 9>>
					<<setn $time.minutes += 20>>

				<</if>>
				<<if $time.hour < 9>>
					<<setn $time.minutes += 60>>

				<</if>>
				<<run $pc.skillExperienceGain('handyWork',rand(0,4))>>
				<<act 'Continue'>>
					<<gt 'gadfield' 'cow'>>
				<</act>>
			<</actCLA>>
		<</if>>
		<<if $time.hour >= 10 and $time.hour < 13>>
			<<actCLA 'Herd cows with your grandfather (1:00)'>>
				<<set $menu_off = 1>>
				<<image "locations/gadukino/village/graze_cow#.jpg" 1 4>>
				You spend an hour herding the cows, watching for stragglers and driving them back to the herd. Then, instead of letting your grandfather do all the work, you roll up your sleeves and try to do most of the work yourself.
				<<set $time.minutes += 60>>
				<<if $weather.temperature >= 25 and !$weather.isRaining>>
					<<set $pc.pcs_hydra -= 12>>
					<<set $pc.pcs_stam -= 8>>
					<<run $pc.sweatAdd(10)>>
				<<else>>
					<<set $pc.pcs_hydra -= 6>>
					<<run $pc.sweatAdd(5)>>
					<<set $pc.pcs_stam -= 5>>
				<</if>>
				<<setinit $grandpaQW['chore_herd_cattle_experience'] = 1>>
				<<if rand(0,1) == 1>>
					<<setinit $grandmaQW['help_amount'] += rand(0,1)>>

				<</if>>
				<<run $pc.skillExperienceGain('handyWork',rand(0,3))>>
				<<act 'Continue'>>
					<<gt 'gadfield' 'cow'>>
				<</act>>
			<</actCLA>>
			<<if getvar("$mira") == 0>>
				<<actCLA 'Go for a run in the field (1:00)'>>
					<<set $menu_off = 1>>
					<<image "locations/gadukino/village/graze_cow_run.jpg">>
					Since the cows are all behaving, you spend some time jogging around the field.
					<<set $pc.frost = 0>>
					<<set $time.minutes += 60>>
					<<set $pc.fat -= 5>>
					<<run $pc.skillExperienceGain('run',1)>>
					<<run $pc.sweatAdd(10)>>
					<<set $pc.mood += 5>>
					<<set $pc.pcs_stam -= 8>>
					<<if $weather.temperature >= 25 and !$weather.isRaining>>
						<<set $pc.pcs_hydra -= 24>>
						<<run $pc.sweatAdd(12)>>
					<<else>>
						<<set $pc.pcs_hydra -= 18>>
						<<run $pc.sweatAdd(10)>>
					<</if>>
					<<act 'Continue'>>
						<<gt 'gadfield' 'cow'>>
					<</act>>
				<</actCLA>>
			<</if>>
			<<if $weather.temperature >= 15 and !$weather.isRaining and getvar("$mira") == 0>>
				<<actCLA 'Tan (1:00)'>>
					<<set $menu_off = 1>>
					<<image "locations/gadukino/village/graze_cow_sun.jpg">>
					It's sunny and warm outside, and since the cows are behaving, you decide to work on your tan for an hour.
					<<set $time.minutes += 60>>
					<<set $pc.mood += 10>>
					<<set $pc.tan += 1>>
					<<run $pc.sweatAdd(5)>>
					<<act 'Continue'>>
						<<gt 'gadfield' 'cow'>>
					<</act>>
				<</actCLA>>
				<<if $pc.pcs_sleep < 40>>
					<<actCLA 'Take a nap (1:00)'>>
						<<set $menu_off = 1>>
						<<image "locations/gadukino/village/graze_cow_lying.jpg">>
						You feel drowsy watching the cows stand around, so you lie down on the grass. You doze off and wake up about an hour later.
						<<set $time.minutes += 60>>
						<<set $pc.mood += 10>>
						<<set $pc.pcs_sleep += 9>>
						<<if $weather.temperature >= 25 and !$weather.isRaining>>
							<<setn $pc.pcs_hydra -= 12>>

						<</if>>
						<<act 'Continue'>>
							<<gt 'gadfield' 'cow'>>
						<</act>>
					<</actCLA>>
				<</if>>
				<<actCLA 'Pick flowers (1:00)'>>
					<<set $menu_off = 1>>
					<<image "locations/gadukino/village/graze_cow_flowers.jpg">>
					Keeping one eye on the cattle, you spend an hour wandering the field, picking flowers.
					<<set $time.minutes += 60>>
					<<set $pc.mood += 20>>
					<<set $pc.pcs_stam -= 4>>
					<<if $weather.temperature >= 25 and !$weather.isRaining>>
						<<set $pc.pcs_hydra -= 8>>
						<<run $pc.sweatAdd(5)>>
					<<else>>
						<<set $pc.pcs_hydra -= 5>>
						<<run $pc.sweatAdd(3)>>
					<</if>>
					<<act 'Continue'>>
						<<gt 'gadfield' 'cow'>>
					<</act>>
				<</actCLA>>
				<<actCLA 'Read a book (1:00)'>>
					<<if getvar("$blizoruk") == 500 or getvar("$pc.glassqw") == 1>>
						<<set $pc.glassqw = 1>>
						<<msg '	The text blurs across the page; it seems you have poor eyesight. Maybe you should visit an ophthalmologist."&gt "gadfield","cow'>>
					<</if>>
					<<set $menu_off = 1>>
					<<image "locations/gadukino/village/graze_cow_book#.jpg" 1 2>>
					<<set $time.minutes += 60>>
					<<if $weather.temperature >= 25 and !$weather.isRaining>>
						<<setn $pc.pcs_hydra -= 6>>

					<</if>>
					<<if getvar("$pcs_nerd") > 0>>
						<<set $lastread = $totminut>>
						<<set $lastreadday = $time.daystart>>
						<<set $pcs_nerd += 1>>
						<<set $blizoruk += 1>>
						<<set $pc.mood = 100>>
						<<if $pc.skillLevel("strength") > 1>>
							<<setn $stren_deg -= 1>>

						<</if>>
						<<if getvar("$pc.vitality") > 5>>
							<<setn $vital_deg -= 1>>

						<</if>>
						You start reading a book you brought with you. You are so engrossed in the story you forget about the time.
					<<else>>
						<<set $blizoruk += 1>>
						<<set $pc.mood += 10>>
						While reading the book, time flies by because you are really engaged in the plot.
					<</if>>
					<<act 'Close the book'>>
						<<gt 'gadfield' 'cow'>>
					<</act>>
				<</actCLA>>
			<</if>>
		<</if>>
		<<if $time.hour >= 13 and $time.hour < 16>>
			<<set $menu_off = 1>>
			<<image "locations/gadukino/village/cow_go.jpg">>
			Looking at his watch, Grandpa turns to you and says, "It's about lunchtime, which means it's time to take the herd to the watering hole." So you begin to gather the cows and lead them to the river.
			<<if $weather.temperature >= 25 and !$weather.isRaining>>
				<<set $pc.pcs_hydra -= 12>>
				<<set $pc.pcs_stam -= 8>>
				<<run $pc.sweatAdd(10)>>
			<<else>>
				<<set $pc.pcs_hydra -= 6>>
				<<run $pc.sweatAdd(5)>>
				<<set $pc.pcs_stam -= 5>>
			<</if>>
			<<setinit $grandmaQW['help_amount'] += 1>>
			<<set $time.minutes += 60>>
			<<run $pc.skillExperienceGain('handyWork',rand(0,3))>>
			<<actCLA 'Herd the cows nearer to the river (0:15)'>>
				<<set $time.minutes += 15>> <<gt 'gadfield' 'cow2'>>
			<</actCLA>>
		<</if>>
	<</if>>
<</if>>
<!-- !MiaLoc tells us where Mira is Located-->
<!-- !------------------------------------------------>
<!-- !MiraLoc = 0 (Mira at home)-->
<!-- !MiraLoc = 1 (Mira at river)-->
<!-- !MiraLoc = 2 (Mira at meadow)-->
<!-- !MiraLoc = 3 (Mira at forest)-->
<!-- !MiraLoc = 4 (Mira at field)-->
<!-- !MiraLoc = 5 (Mira with gop)-->
<!-- !----------------------------------------------->
<<if getvar("$grandpaQW['chore_herd_cattle']") == 1 and $npc('A60').rel >= 15 and getvar("$mira") == 0 and !$weather.isRaining and $time.hour >= 10 and getvar("$temp") == 1 and getvar("$Mira_no") == 0 and(npc_QW['A63'] or $npc('A60').QW >= 10 or getvar("$mirasex") > 1) and $npc('A60').known == 1>>
	<<set $menu_off = 1>>
	<<image "characters/gadukino/mira/mira2.jpg">>
	While keeping an eye on the cow herd, you see Mira in the distance, approaching. You happily wave to her.
	<p>"Hi, $pc.name_nick. I wanted to visit you, and I've brought some water with me," she says, nearing you. "Have you missed me?"</p>
	<<set $time.minutes += 5>>
	<<set $npc('A60').rel += 1>>
	<<set $mira = 1>>
	<<actCLA 'Continue'>>
		<<set $pc.pcs_hydra += 40>> <<gt 'gadfield' 'cow'>>
	<</actCLA>>
<</if>>
<<if $location_var[$here][0] == 'cow2'>>
	<<set $loc = 'gadfield'>>
	<<set $loc_arg = 'cow2'>>
	<<set $location_type = 'secluded'>>
	<<set $menu_loc = 'gadfield'>>
	<<set $menu_arg = 'cow2'>>
	<<set $menu_off = 0>>
	<<gs 'gadukino_event' 'sound'>>
	<h2>River</h2>
	<<image "locations/gadukino/village/cow_river.jpg">>
	The cattle herd is near the river. Some cows are munching on grass, some drink from the river, and some just stand or lie around.
	<<if getvar("$mira") == 1>>
		MiraLoc = 42 & '<<link 'Mira'>><<gt  'miroslava'  'Start'>><</link>> is sitting next to you.'

	<</if>>
	<<if $weather.temperature >= 15 and !$weather.isRaining>>
		<p>"You can go for a swim if you want, $pc.name_nick. I'll keep an eye on the herd," says your grandfather.</p>

	<</if>>
	<<if getvar("$grandpaQW['chore_herd_cattle']") == 1>>
		<<if $time.hour < 16>>
			<<actCLA 'Herd cows with your grandfather (1:00)'>>
				<<set $menu_off = 1>>
				<<image "locations/gadukino/village/graze_cow#.jpg" 1 4>>
				You spend an hour herding the cows, watching for stragglers and driving them back to the herd. Then, instead of letting your grandfather do all the work, you roll up your sleeves and try to do most of the work yourself.
				<<set $time.minutes += 60>>
				<<if $weather.temperature >= 25 and !$weather.isRaining>>
					<<set $pc.pcs_hydra -= 12>>
					<<set $pc.pcs_stam -= 8>>
					<<run $pc.sweatAdd(10)>>
				<<else>>
					<<set $pc.pcs_hydra -= 6>>
					<<run $pc.sweatAdd(5)>>
					<<set $pc.pcs_stam -= 5>>
				<</if>>
				<<setinit $grandpaQW['chore_herd_cattle_experience'] = 1>>
				<<if rand(0,1) == 1>>
					<<setinit $grandmaQW['help_amount'] += rand(0,1)>>

				<</if>>
				<<run $pc.skillExperienceGain('handyWork',rand(0,3))>>
				<<act 'Continue'>>
					<<gt 'gadfield' 'cow2'>>
				<</act>>
			<</actCLA>>
			<<if $weather.temperature >= 15 and !$weather.isRaining and getvar("$mira") == 0>>
				<<if $pc.pcs_stam >= (5 * $CON_HELPER_0>>
				<<actCLA 'Swim (0:15)'>>
					<<set $menu_off = 1>>
					<<image "locations/gadukino/village/graze_cow_river.jpg">>
					You spend a few minutes splashing around in the river, which feels cool and refreshing.
					<<if $pc.deodorant_on == 1>>
						<<gs 'sweat' 'remove_deo'>> 

					<</if>>
					<<set $cumspclnt = 4>> <<gs 'cum_cleanup'>>
					<<set $pc.pcs_stam -= 3>>
					<<set $pc.mood += 5>>
					<<if $willday_swim != $time.daystart>>
						<<set $willday_swim = $time.daystart>> <<setn $pc.pcs_willpwr += 1>>

					<</if>>
						<<gs 'exercise' 'tier1' 15 'stren'>>
					<<act 'Continue'>>
						<<gt 'gadfield' 'cow2'>>
					<</act>>
				<</actCLA>>
				<</if>>
				<<actCLA 'Tan (0:30)'>>
					<<set $menu_off = 1>>
					<<image "locations/gadukino/village/graze_cow_sun.jpg">>
					You lie down to sunbathe by the river while Grandpa looks after the herd.
					<<set $time.minutes += 30>>
					<<run $pc.sweatAdd(10)>>
					<<set $pc.mood += 5>>
					<<set $pc.tan += 1>>
					<<act 'Continue'>>
						<<gt 'gadfield' 'cow2'>>
					<</act>>
				<</actCLA>>
				<<actCLA 'Read a book (1:00)'>>
					<<if getvar("$blizoruk") == 500 or getvar("$pc.glassqw") == 1>>
						<<set $pc.glassqw = 1>>
						<<msg '	The text blurs across the page; it seems you have poor eyesight. Maybe you should visit an ophthalmologist."&gt "gadfield","cow2'>>
					<</if>>
					<<set $menu_off = 1>>
					<<image "locations/gadukino/village/graze_cow_book#.jpg" 1 2>>
					<<set $time.minutes += 60>>
					<<if $weather.temperature >= 25 and !$weather.isRaining>>
						<<setn $pc.pcs_hydra -= 12>>

					<</if>>
					<<if getvar("$pcs_nerd") > 0>>
						<<set $lastread = $totminut>>
						<<set $lastreadday = $time.daystart>>
						<<set $pcs_nerd += 1>>
						<<set $blizoruk += 1>>
						<<set $pc.mood = 100>>
						<<if $pc.skillLevel("strength") > 1>>
							<<setn $stren_deg -= 1>>

						<</if>>
						<<if getvar("$pc.vitality") > 5>>
							<<setn $vital_deg -= 1>>

						<</if>>
						You start reading a book you brought with you. You are so engrossed in the story you forget about the time.
					<<else>>
						<<set $blizoruk += 1>>
						<<set $pc.mood += 10>>
						While reading the book, time flies by because you are really engaged in the plot.
					<</if>>
					<<act 'Close the book'>>
						<<gt 'gadfield' 'cow2'>>
					<</act>>
				<</actCLA>>
			<</if>>
		<</if>>
		<<if $time.hour >= 16 and $time.hour < 19>>
			<<set $menu_off = 1>>
			<<image "locations/gadukino/village/cow_go.jpg">>
			Grandpa looks at his watch and says it's time to drive the herd near the forest. So the two of you begin to gather the herd and guide them toward the woods.
			<<set $time.minutes += 60>>
			<<if $weather.temperature >= 25 and !$weather.isRaining>>
				<<set $pc.pcs_hydra -= 12>>
				<<set $pc.pcs_stam -= 8>>
				<<run $pc.sweatAdd(10)>>
			<<else>>
				<<set $pc.pcs_hydra -= 6>>
				<<run $pc.sweatAdd(5)>>
				<<set $pc.pcs_stam -= 5>>
			<</if>>
			<<if rand(0,1) == 1>>
				<<setinit $grandmaQW['help_amount'] += rand(0,1)>>

			<</if>>
			<<run $pc.skillExperienceGain('handyWork',rand(0,3))>>
			<<actCLA 'Herd the cows nearer to the forest (0:30)'>>
				<<set $time.minutes += 15>> <<gt 'gadfield' 'cow3'>>
			<</actCLA>>
		<</if>>
	<</if>>
<</if>>
<<if $location_var[$here][0] == 'cow3'>>
	<<set $loc = 'gadfield'>>
	<<set $loc_arg = 'cow3'>>
	<<set $location_type = 'secluded'>>
	<<set $menu_loc = 'gadfield'>>
	<<set $menu_arg = 'cow3'>>
	<<set $menu_off = 0>>
	<<gs 'gadukino_event' 'sound'>>
	<h2>Field near the forest</h2>
	<<image "locations/gadukino/village/cow_forest.jpg">>
	The cattle herd is grazing in a field near the forest.
	<<if getvar("$mira") == 1>>
		MiraLoc = 43 & '<<link 'Mira'>><<gt  'miroslava'  'Start'>><</link>> is sitting next to you.'

	<</if>>
	<<if getvar("$grandpaQW['chore_herd_cattle']") == 1>>
		<<if $time.hour < 19>>
			<<actCLA 'Herd cows with your grandfather (1:00)'>>
				<<set $menu_off = 1>>
				<<image "locations/gadukino/village/graze_cow#.jpg" 1 4>>
				You spend an hour herding the cows, watching for stragglers and driving them back to the herd. Then, instead of letting your grandfather do all the work, you roll up your sleeves and try to do most of the work yourself.
				<<set $time.minutes += 60>>
				<<if $weather.temperature >= 25 and !$weather.isRaining>>
					<<set $pc.pcs_hydra -= 12>>
					<<set $pc.pcs_stam -= 8>>
					<<run $pc.sweatAdd(10)>>
				<<else>>
					<<set $pc.pcs_hydra -= 6>>
					<<run $pc.sweatAdd(5)>>
					<<set $pc.pcs_stam -= 5>>
				<</if>>
				<<setinit $grandpaQW['chore_herd_cattle_experience'] = 1>>
				<<if rand(0,1) == 1>>
					<<setinit $grandmaQW['help_amount'] += rand(0,1)>>

				<</if>>
				<<run $pc.skillExperienceGain('handyWork',rand(0,3))>>
				<<act 'Continue'>>
					<<gt 'gadfield' 'cow3'>>
				<</act>>
			<</actCLA>>
			<<if getvar("$mira") == 0>>
				<<actCLA 'Go for a run in the field (1:00)'>>
					<<set $menu_off = 1>>
					<<image "locations/gadukino/village/graze_cow_run.jpg">>
					Since the cows are all behaving, you spend some time jogging around the field.
					<<set $pc.frost = 0>>
					<<set $time.minutes += 60>>
					<<set $pc.fat -= 5>>
					<<run $pc.skillExperienceGain('run',1)>>
					<<run $pc.sweatAdd(10)>>
					<<set $pc.mood += 5>>
					<<set $pc.pcs_stam -= 8>>
					<<if $weather.temperature >= 25 and !$weather.isRaining>>
						<<set $pc.pcs_hydra -= 24>>
						<<run $pc.sweatAdd(12)>>
					<<else>>
						<<set $pc.pcs_hydra -= 18>>
						<<run $pc.sweatAdd(10)>>
					<</if>>
					<<act 'Continue'>>
						<<gt 'gadfield' 'cow3'>>
					<</act>>
				<</actCLA>>
			<</if>>
			<<if $weather.temperature >= 15 and !$weather.isRaining and getvar("$mira") == 0>>
				<<actCLA 'Tan (1:00)'>>
					<<set $menu_off = 1>>
					<<image "locations/gadukino/village/graze_cow_sun.jpg">>
					It's sunny and warm outside, and since the cows are behaving, you decide to work on your tan for an hour.
					<<set $time.minutes += 60>>
					<<set $pc.mood += 10>>
					<<set $pc.tan += 1>>
					<<run $pc.sweatAdd(5)>>
					<<act 'Continue'>>
						<<gt 'gadfield' 'cow3'>>
					<</act>>
				<</actCLA>>
				<<if $pc.pcs_sleep < 40>>
					<<actCLA 'Take a nap (1:00)'>>
						<<set $menu_off = 1>>
						<<image "locations/gadukino/village/graze_cow_lying.jpg">>
						You feel drowsy watching the cows stand around, so you lie down on the grass. You doze off and wake up about an hour later.
						<<set $time.minutes += 60>>
						<<set $pc.mood += 10>>
						<<set $pc.pcs_sleep += 9>>
						<<if $weather.temperature >= 25 and !$weather.isRaining>>
							<<setn $pc.pcs_hydra -= 12>>

						<</if>>
						<<act 'Continue'>>
							<<gt 'gadfield' 'cow3'>>
						<</act>>
					<</actCLA>>
				<</if>>
				<<actCLA 'Pick flowers (1:00)'>>
					<<set $menu_off = 1>>
					<<image "locations/gadukino/village/graze_cow_flowers.jpg">>
					Keeping one eye on the cattle, you spend an hour wandering the field, picking flowers.
					<<set $time.minutes += 60>>
					<<set $pc.mood += 20>>
					<<set $pc.pcs_stam -= 4>>
					<<if $weather.temperature >= 25 and !$weather.isRaining>>
						<<set $pc.pcs_hydra -= 8>>
						<<run $pc.sweatAdd(5)>>
					<<else>>
						<<set $pc.pcs_hydra -= 5>>
						<<run $pc.sweatAdd(3)>>
					<</if>>
					<<act 'Continue'>>
						<<gt 'gadfield' 'cow3'>>
					<</act>>
				<</actCLA>>
				<<actCLA 'Read a book (1:00)'>>
					<<set $menu_off = 1>>
					<<image "locations/gadukino/village/graze_cow_book#.jpg" 1 2>>
					<<if getvar("$blizoruk") == 500 or getvar("$pc.glassqw") == 1>>
						<<set $pc.glassqw = 1>>
						<<msg '	The text blurs across the page; it seems you have poor eyesight. Maybe you should visit an ophthalmologist."&gt "gadfield","cow3'>>
					<</if>>
					<<set $time.minutes += 60>>
					<<if $weather.temperature >= 25 and !$weather.isRaining>>
						<<setn $pc.pcs_hydra -= 6>>

					<</if>>
					<<if getvar("$pcs_nerd") > 0>>
						<<set $lastread = $totminut>>
						<<set $lastreadday = $time.daystart>>
						<<set $pcs_nerd += 1>>
						<<set $blizoruk += 1>>
						<<set $pc.mood = 100>>
						<<if $pc.skillLevel("strength") > 1>>
							<<setn $stren_deg -= 1>>

						<</if>>
						<<if getvar("$pc.vitality") > 5>>
							<<setn $vital_deg -= 1>>

						<</if>>
						You start reading a book you brought with you. You are so engrossed in the story you forget about the time.
					<<else>>
						<<set $blizoruk += 1>>
						<<set $pc.mood += 10>>
						While reading the book, time flies by because you are really engaged in the plot.
					<</if>>
					<<act 'Close the book'>>
						<<gt 'gadfield' 'cow3'>>
					<</act>>
				<</actCLA>>
			<</if>>
		<</if>>
		<<if $time.hour >= 19>>
			<<set $menu_off = 1>>
			<<image "locations/gadukino/village/cow_go_home.jpg">>
			As sunset approaches, Grandpa says that it is late and time to drive the herd home. So you hurry, gather the cows, and guide them back towards the village.
			<<if $weather.temperature >= 25 and !$weather.isRaining>>
				<<set $pc.pcs_hydra -= 12>>
				<<set $pc.pcs_stam -= 8>>
				<<run $pc.sweatAdd(10)>>
			<<else>>
				<<set $pc.pcs_hydra -= 6>>
				<<run $pc.sweatAdd(5)>>
				<<set $pc.pcs_stam -= 5>>
			<</if>>
			<<set $time.minutes += 60>>
			<<set $mira = 0>>
			<<setinit $grandpaQW['chore_herd_cattle'] = 0>>
			<<setinit $grandmaQW['help_amount'] += 2>>
			<<run $pc.skillExperienceGain('handyWork',rand(0,3))>>
			<<act 'Back to the village'>>
				<<gt 'gadukino'>>
			<</act>>
		<</if>>
	<</if>>
<</if>>
