:: arkadi_fyodorov_schedule
<<set $here = 'arkadi_fyodorov_schedule'>>
<<set $ARGS = $location_var[$here]>>
<!-- !! 2023-05-26-->
<!-- !! His schedule:-->
<!-- !ArkadiLocCity tells us where Arkadi is located-->
<!-- !locat['A156'] =-->
<!-- !------------------------------------------------>
<!-- !locat['A156'] = 0 (Arkadi not home Fri and Sat 20:00 for rest of night)-->
<!-- !locat['A156'] = 1 (Arkadi in the hallway)-->
<!-- !locat['A156'] = 2 (Arkadi in Anushka''s room)-->
<!-- !locat['A156'] = 3 (Arkadi in Radomir''s room)-->
<!-- !locat['A156'] = 4 (Arkadi in the kitchen)-->
<!-- !locat['A156'] = 5 (Arkadi in the livingroom)-->
<!-- !locat['A156'] = 6 (Arkadi in his and Valentin''s room)-->
<!-- !locat['A156'] = 7 (Arkadi in the bathroom)-->
<!-- !locat['A156'] = 8 (Arkadi is in the garage with the band Wed 18-23)-->
<!-- !locat['A156'] = 9 (Arkadi is at work, factory Mon-Fri 8 to 17)-->
<!-- !----------------------------------------------->
<!-- !! Todo !!Arkadi is home Mon-Tues and Thurs from 18:00 for rest of night, Sun all day-->
<<if $time.weekday == 1>>
	<<if $time.hour >= 8 and $time.hour < 17>>
		<<setinit $locat['A156'] = 9>>
	<</if>>
<<elseif $time.weekday == 2>>
	<<if $time.hour >= 8 and $time.hour < 17>>
		<<setinit $locat['A156'] = 9>>
	<</if>>
<<elseif $time.weekday == 3>>
	<<if $time.hour >= 8 and $time.hour < 17>>
		<<setinit $locat['A156'] = 9>>
	<<elseif $time.hour >= 18 and $time.hour < 23>>
		<<setinit $locat['A156'] = 8>>
	<</if>>
<<elseif $time.weekday == 4>>
	<<if $time.hour >= 8 and $time.hour < 17>>
		<<setinit $locat['A156'] = 9>>
	<</if>>
<<elseif $time.weekday == 5>>
	<<if $time.hour >= 8 and $time.hour < 17>>
		<<setinit $locat['A156'] = 9>>
	<<elseif $time.hour >= 20>>
		<<setinit $locat['A156'] = 0>>
	<</if>>
<<elseif $time.weekday == 6>>
	<<if $time.hour >= 20>>
		<<setinit $locat['A156'] = 0>>
	<</if>>
<<elseif $time.weekday == 7>>
<</if>>
<<if getvar("$locat['A156']") > 0 and getvar("$locat['A156']") < 8>>
	<<set $ArkadiLocCity = 'home'>>
<<else>>
	<<set $ArkadiLocCity = 'notHome'>>
<</if>>
<<if $location_var[$here][0] == 'getLocation'>>
	<!-- !Set the text for the current NPC ID-->
	<<if getvar("$locat['A156']") == 0>>
		<<setinit $npcLocation['A144'] = 'Arkadi not home Fri and Sat 20:00 for rest of night.'>>
	<<elseif getvar("$locat['A156']") == 1>>
		<<setinit $npcLocation['A144'] = 'Arkadi in the hallway.'>>
	<<elseif getvar("$locat['A156']") == 2>>
		<<setinit $npcLocation['A144'] = 'Arkadi in Anushka`s room.'>>
	<<elseif getvar("$locat['A156']") == 3>>
		<<setinit $npcLocation['A144'] = 'Arkadi in Radomir`s room.'>>
	<<elseif getvar("$locat['A156']") == 4>>
		<<setinit $npcLocation['A144'] = 'Arkadi in the kitchen.'>>
	<<elseif getvar("$locat['A156']") == 5>>
		<<setinit $npcLocation['A144'] = 'Arkadi in the livingroom.'>>
	<<elseif getvar("$locat['A156']") == 6>>
		<<setinit $npcLocation['A144'] = 'Arkadi in Valentin`s and his room.'>>
	<<elseif getvar("$locat['A156']") == 7>>
		<<setinit $npcLocation['A144'] = 'Arkadi in the bathroom.'>>
	<<elseif getvar("$locat['A156']") == 8>>
		<<setinit $npcLocation['A144'] = 'Arkadi is in the garage with the band.'>>
	<<elseif getvar("$locat['A156']") == 9>>
		<<setinit $npcLocation['A144'] = 'Arkadi is at work, mechanic Mon-Fri 8 to 17.'>>
	<<elseif getvar("$locat['A156']") == 10>>
		<<setinit $npcLocation['A144'] = 'Arkadi is in the garage working on his bike Mon 17-23.'>>
	<</if>>
<</if>>
