# family_schedule
!! 2022/06/04 - Alaratt


locat['Anya'] = 0
locat['Anya_athome'] = 0
locat['Anya_inroom'] = 0
locat['Mother'] = 0
locat['Mom_athome'] = 0
locat['Stepdad'] = 0
locat['sdad_athome'] = 0
locat['Kolka'] = 0
locat['Kolka_athome'] = 0

!!---Gad_decide---------------------------------

if locat['Fam_month_inGad'] ! month and week ! 7 and week ! 1:
	!!monthly
	locat['Fam_month_inGad'] = month
	locat['Fam_set_month_inGad'] = 1
end

if week = 1 and locat['Fam_set_month_inGad'] = 1: locat['Fam_set_month_inGad'] = 0

if locat['Fam_set_month_inGad'] = 1 and ((week = 6 and hour >= 12) or (week = 7 and hour < 21)):
	!!go to the village
	locat['Fam_inGad'] = 1
else
	locat['Fam_inGad'] = 0
end

if locat['Fam_inGad'] = 1 and locat['Anya_check_Gad'] = 0:
	locat['Anya_check_Gad'] = 1
	locat['Anya_Gad'] = rand(0, 1)
end

if locat['Fam_inGad'] = 0:
	locat['Anya_check_Gad'] = 0
	locat['Anya_Gad'] = 0
end
if sisboyparty_day + 1 = daystart: locat['Anya_Gad'] = 0

!!---ANYA---------------------------------------

!! locat['Anya_Gad'] = 1 means Anya is in the village
!! locat['Anya_athome'] = 1 means Anya is at home, awake, and not in an event (like having sex with Roma)
!! locat['Anya_inroom'] = 1 means Anya is actually in the room, so masturbating while she is in the shower is possible
!! unused - 6, 18, 19, 20, 22, 25, 27+
if locat['Anya_Gad'] = 0:
	if week <= 5:
		if (hour < 6) or (hour = 6 and minut < 45):
			!!Asleep
			locat['Anya'] = 1
			locat['Anya_athome'] = 0
			locat['Anya_inroom'] = 1
		elseif (hour = 6 and minut >= 45) or (hour = 7 and minut <= 15):
			!!Family breakfast
			locat['Anya'] = 2
			locat['Anya_athome'] = 1
			locat['Anya_inroom'] = 0
		elseif hour = 7 and minut < 30:
			!!Helping mom clean up
			locat['Anya'] = 3
			locat['Anya_athome'] = 1
			locat['Anya_inroom'] = 0
		elseif hour < 8:
			!!In Bedroom getting ready
			locat['Anya'] = 4
			locat['Anya_athome'] = 1
			locat['Anya_inroom'] = 1
		elseif hour = 8 and minut < 20:
			!!Shower
			locat['Anya'] = 5
			locat['Anya_athome'] = 1
			locat['Anya_inroom'] = 0
			if vanrPar_suction_dildo > 0 and $loc ! 'vanrPar':anyaQW['bathroom_dildos'] = vanrPar_suction_dildo
		elseif hour = 8 and minut < 30:
			!!traveling to work
			locat['Anya'] = 8
			locat['Anya_athome'] = 0
			locat['Anya_inroom'] = 0
		elseif hour < 15 or (hour = 15 and minut < 50):
			!!Work
			locat['Anya'] = 7
			locat['Anya_athome'] = 0
			locat['Anya_inroom'] = 0
		elseif hour < 16:
			!!traveling from work
			locat['Anya'] = 9
			locat['Anya_athome'] = 0
			locat['Anya_inroom'] = 0
		elseif hour < 18:
			if week = 5:
				!!At the community center
				locat['Anya'] = 10
				locat['Anya_athome'] = 0
				locat['Anya_inroom'] = 0
			elseif sisboyday + 1 = daystart:
				!!in bedroom with Roma
				locat['Anya'] = 11
				locat['Anya_athome'] = 1
				locat['Anya_inroom'] = 1
			else
				!!Personal activities: Relaxing in bedroom 15, at the community center 10
				if locat['Anya_rand1'] ! daystart:
					locat['Anya'] = func('shortgs', 'rand_pick', '', 10, 15)
					locat['Anya_rand1'] = daystart
					locat['Anya_save1'] = locat['Anya']
				else
					locat['Anya'] = locat['Anya_save1']
				end
				if locat['Anya'] = 15:
					locat['Anya_athome'] = 1
					locat['Anya_inroom'] = 1
				else
					locat['Anya_athome'] = 0
					locat['Anya_inroom'] = 0
				end
			end
		elseif hour = 18 and minut <= 30:
			if week = 5:
				!!Goes to a party
				locat['Anya'] = 24
				locat['Anya_athome'] = 0
				locat['Anya_inroom'] = 0
			else
				!!Family dinner
				locat['Anya'] = 12
				locat['Anya_athome'] = 1
				locat['Anya_inroom'] = 0
			end
		elseif hour < 22:
			if week = 5:
				!!Goes to a party
				locat['Anya'] = 24
				locat['Anya_athome'] = 0
				locat['Anya_inroom'] = 0
			else
				!!Goes out to hang out with friends 13/Roma 14 (this could be random so sometimes she stays home to give Sveta more time to talk to her 15)
				if locat['Anya_rand2'] ! daystart:
					locat['Anya'] = func('shortgs', 'rand_pick', '', 13, 14, 15)
					locat['Anya_rand2'] = daystart
					locat['Anya_save2'] = locat['Anya']
				else
					locat['Anya'] = locat['Anya_save2']
				end
				if locat['Anya'] = 15:
					locat['Anya_athome'] = 1
					locat['Anya_inroom'] = 1
				else
					locat['Anya_athome'] = 0
					locat['Anya_inroom'] = 0
				end
			end
		else
			if week = 5:
				!!Goes to a party
				locat['Anya'] = 24
				locat['Anya_athome'] = 0
				locat['Anya_inroom'] = 0
			else
				!!In her room
				locat['Anya'] = 15
				locat['Anya_athome'] = 1
				locat['Anya_inroom'] = 1
			end
		end
	else
		if hour < 2:
			!!Goes to a party
			locat['Anya'] = 24
			locat['Anya_athome'] = 0
			locat['Anya_inroom'] = 0
		elseif hour = 2 and minut < 20:
			!!In her room drunk after party
			locat['Anya'] = 26
			locat['Anya_athome'] = 0
			locat['Anya_inroom'] = 1
		elseif hour < 9:
			!!Asleep
			locat['Anya'] = 1
			locat['Anya_athome'] = 0
			locat['Anya_inroom'] = 1
		elseif hour = 9 and minut <= 20:
			!!Eat something in kitchen
			locat['Anya'] = 16
			locat['Anya_athome'] = 1
			locat['Anya_inroom'] = 0
		elseif hour = 9 and minut < 40:
			!!Shower*
			locat['Anya'] = 5
			locat['Anya_athome'] = 1
			locat['Anya_inroom'] = 0
		elseif hour < 10:
			!!In Bedroom
			locat['Anya'] = 4
			locat['Anya_athome'] = 1
			locat['Anya_inroom'] = 1
		elseif hour < 16:
			if temp > 15 and sunWeather = 1:
				!!On nice days goes to the beach
				locat['Anya'] = 17
				locat['Anya_athome'] = 0
				locat['Anya_inroom'] = 0
			else
				!!Stays at home
				locat['Anya'] = 15
				locat['Anya_athome'] = 1
				locat['Anya_inroom'] = 1
			end
		elseif hour < 18:
			if week = 6:
				!!At the community center
				locat['Anya'] = 10
				locat['Anya_athome'] = 0
				locat['Anya_inroom'] = 0
			else
				!!Works out at the community center
				locat['Anya'] = 21
				locat['Anya_athome'] = 0
				locat['Anya_inroom'] = 0
			end
		elseif hour = 18 and minut <= 30:
			if week = 6:
				!!Goes to a party
				locat['Anya'] = 24
				locat['Anya_athome'] = 0
				locat['Anya_inroom'] = 0
			else
				!!Family dinner
				locat['Anya'] = 12
				locat['Anya_athome'] = 1
				locat['Anya_inroom'] = 0
			end
		elseif hour < 19:
			if week = 7:
				!!helps mom clean up after dinner
				locat['Anya'] = 23
				locat['Anya_athome'] = 1
				locat['Anya_inroom'] = 0
			else
				!!Goes to a party
				locat['Anya'] = 24
				locat['Anya_athome'] = 0
				locat['Anya_inroom'] = 0
			end
		else
			if week = 7:
				!!in her room
				locat['Anya'] = 15
				locat['Anya_athome'] = 1
				locat['Anya_inroom'] = 1
			else
				!!Goes to a party
				locat['Anya'] = 24
				locat['Anya_athome'] = 0
				locat['Anya_inroom'] = 0
			end
		end
	end
end

!!---MOM--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

if locat['Mom_cafesex_daystart'] ! daystart:
	locat['Mom_cafesex_daystart'] = daystart
	locat['Mom_cafe_sex'] = rand(0, 1)
end

!!locat['Mom_Salon_daystart'] = daystart check in salon
!!locat['Fam_inGad'] = 1 means mom is in the village
!!locat['Mom_athome'] = 1 means mom is at home and awake
!!unused number - 22, 27+
if locat['Fam_inGad'] = 0:
	if week <= 5:
		if hour < 5 or (hour = 5 and minut < 30):
			!!Asleep
			locat['Mother'] = 1
			locat['Mom_athome'] = 0
		elseif hour = 5 and minut < 45:
			!!shower
			locat['Mother'] = 2
			locat['Mom_athome'] = 1
			if vanrPar_suction_dildo > 0 and $loc ! 'vanrPar': gs'mother_sextalk','discover_dildo'
		elseif hour < 6:
			!! Getting dressed in her room and wakes Vladimir, if Sveta walks by she''ll ask to wake Kolka
			locat['Mother'] = 3
			locat['Mom_athome'] = 1
		elseif hour = 6 or (hour = 7 and minut < 30):
			locat['Mother'] = 4
			locat['Mom_athome'] = 1
			if hour = 6 and minut <= 40:
				!! Make Breakfast
				locat['Mom_kitchen_action'] = 1
			elseif hour = 6 and minut < 45:
				!! Set breakfast table - ask Sveta to do it if she comes into the kitchen at that time
				locat['Mom_kitchen_action'] = 2
			elseif (hour = 6 and minut >= 45) or (hour = 7 and minut <= 15):
				!! Family breakfast
				locat['Mom_kitchen_action'] = 3
			else
				!! Clean up breakfast table
				locat['Mom_kitchen_action'] = 4
			end
		elseif hour = 7 or (hour = 8 and minut < 30):
			!!Cleaning random room in the house
			!! 23 = Kitchen
			!! 24 = Living room
			if locat['Mother_clean1_daystart'] ! daystart:
				locat['Mother_clean1_daystart'] = daystart
				if rand(0, 1) = 1:
					locat['Mother_clean1'] = 23
				else
					locat['Mother_clean1'] = 24
				end
			end
			locat['Mother'] = locat['Mother_clean1']
			locat['Mom_athome'] = 1
		elseif (week < 5 and hour < 16) or (week = 5 and (hour < 17 or (hour = 17 and minut <= 50))):
			!!Working in the cafe. On Friday she stays until 17:50
			locat['Mother'] = 9
			locat['Mom_athome'] = 0
		elseif hour = 16 and minut < 50 and week < 5:
			!!Buying groceries for dinner and other stuff needed for home at the supermarket
			locat['Mother'] = 7
			locat['Mom_athome'] = 0
		elseif hour < 17 and week < 5:
			!!Walking home
			locat['Mother'] = 8
			locat['Mom_athome'] = 0
		elseif hour < 18 and week = 5:
			!!Walking home
			locat['Mother'] = 10
			locat['Mom_athome'] = 0
		elseif hour < 18:
			!!Making dinner (On Friday she brings home leftovers from the cafe)
			locat['Mother'] = 11
			locat['Mom_athome'] = 1
		elseif hour = 18 and minut <= 30:
			!!Family dinner
			locat['Mother'] = 12
			locat['Mom_athome'] = 1
		elseif hour < 19:
			!! Cleaning dinner table/Doing dishes
			locat['Mother'] = 13
			locat['Mom_athome'] = 1
		elseif hour < 20:
			if week = 1:
				!! Visiting Luda on mondays for 3 hours
				locat['Mother'] = 20
				locat['Mom_athome'] = 0
			else
				!!Cleaning random room in the house
				!! 23 = Kitchen
				!! 25 = Bathroom
				if locat['Mother_clean2_daystart'] ! daystart:
					locat['Mother_clean2_daystart'] = daystart
					if rand(0,1) = 0:
						locat['Mother_clean2'] = 23
					else
						locat['Mother_clean2'] = 25
					end
				end
				locat['Mother'] = locat['Mother_clean2']
				locat['Mom_athome'] = 1
				if vanrPar_suction_dildo > 0 and $loc ! 'vanrPar' and locat['Mother'] = 25: gs'mother_sextalk','discover_dildo'
			end
		elseif hour < 22:
			if week = 1:
				!! Visiting Luda on mondays for 3 hours
				locat['Mother'] = 20
				locat['Mom_athome'] = 0
			elseif week < 5:
				!! Watches TV with Vladimir
				locat['Mother'] = 19
				locat['Mom_athome'] = 1
			else
				!! Watches TV alone
				locat['Mother'] = 19
				locat['Mom_athome'] = 1
			end
		else
			!! Asleep (Small chance she and step dad have sex before sleep 22:00-22:59)
			locat['Mother'] = 1
			locat['Mom_athome'] = 0
		end
	else
		if hour < 5 or (hour = 5 and minut < 30):
			!! Asleep
			locat['Mother'] = 1
		elseif hour = 5 and minut < 45:
			!! Shower
			locat['Mother'] = 2
			locat['Mom_athome'] = 1
			if vanrPar_suction_dildo > 0 and $loc ! 'vanrPar': gs'mother_sextalk','discover_dildo'
		elseif hour < 6:
			!! Getting dressed in her room, if Sveta knocks she''ll ask you to wake Kolka 
			locat['Mother'] = 3
			locat['Mom_athome'] = 1
		elseif hour = 6 or (hour = 7 and minut < 30):
			locat['Mother'] = 4
			locat['Mom_athome'] = 1
			if hour = 6 and minut <= 40:
				!! Make Breakfast
				locat['Mom_kitchen_action'] = 1
			elseif hour = 6 and minut < 45:
				!! Set breakfast table - ask Sveta to do it if she comes into the kitchen at that time
				locat['Mom_kitchen_action'] = 2
			elseif hour = 6 or (hour = 7 and minut <= 15):
				!! Family breakfast
				locat['Mom_kitchen_action'] = 3
			else
				locat['Mom_kitchen_action'] = 4
				!! Clean up breakfast table
			end
		elseif hour < 11:
			!!Cleaning random room in the house
			!! 23 = Kitchen
			!! 24 = Living room
			!! 25 = Bathroom
			!! 26 = Svetas room
			if locat['Mother_clean1_daystart'] ! daystart:
				locat['Mother_clean1_daystart'] = daystart
				if week = 6:
					locat['Mother_clean1'] = rand(23,26)
				else
					locat['Mother_clean1'] = rand(23,24)
				end
			end
			locat['Mother'] = locat['Mother_clean1']
			locat['Mom_athome'] = 1
			if vanrPar_suction_dildo > 0 and $loc ! 'vanrPar' and locat['Mother'] = 25: gs'mother_sextalk','discover_dildo'
		elseif hour = 11 and minut < 30:
			!!Traveling - takes the car to town/walks to church
			locat['Mother'] = 14
			locat['Mom_athome'] = 0
		elseif hour < 12 or (hour = 12 and minut < 30):
			!! Gets her nails done/hair cut at the salon or such things - On Sunday goes to the church during these hours
			locat['Mom_athome'] = 0
			if week = 6:
				if locat['Mom_Salon_daystart'] = daystart:
					!! Walks around different shops, looking at and buying stuff
					locat['Mother'] = 15
				else
					!! Salon
					locat['Mother'] = 21
				end
			else
				!!Church
				locat['Mother'] = 16
			end
		elseif hour = 12 or (hour = 13 and minut < 30) and week = 6:
			!!Church
			locat['Mother'] = 16
		elseif hour < 14:
			!! Walks around different shops, looking at and buying stuff - On Sunday goes to church during these hours
			locat['Mother'] = 15
			locat['Mom_athome'] = 0
		elseif hour < 17:
			!!Helping out Sergey/Luda, going to Kolka''s games?
			locat['Mother'] = rand(14,15)
			locat['Mom_athome'] = 0
		elseif hour < 18:
			!! Making dinner
			locat['Mother'] = 11
			locat['Mom_athome'] = 1
		elseif hour = 18 and minut <= 30:
			!!Family dinner
			locat['Mother'] = 12
			locat['Mom_athome'] = 1
		elseif hour < 19:
			!! Cleaning dinner table/Doing dishes
			locat['Mother'] = 13
			locat['Mom_athome'] = 1
		elseif hour < 21:
			!!Says she goes to see her sister, in reality sometimes sees her sister or fucks around with different people. - Sunday goes to evening mass
			locat['Mom_athome'] = 0
			if week = 6:
				!!Slutting around?
				locat['Mother'] = 17
			else
				!!Church - Mass
				locat['Mother'] = 18
			end
		elseif hour < 22:
			if week = 7:
				!! Watches TV with Vladimir
				locat['Mother'] = 19
				locat['Mom_athome'] = 1
			else
				!! Watches TV alone
				locat['Mother'] = 19
				locat['Mom_athome'] = 1
			end
		else
			!! Asleep (Small chance she and step dad have sex before sleep 22:00-22:59)
			locat['Mother'] = 1
			locat['Mom_athome'] = 0
		end
	end
end

!!----STEPFATHER------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
!!locat['Fam_inGad'] = 1 means stepdad is in the village
if locat['Fam_inGad'] = 0:
	if week <= 5:
		if hour < 6 or (hour = 6 and minut < 10):
			!! Asleep
			locat['Stepdad'] = 1
			locat['sdad_athome'] = 0
		elseif hour = 6 and minut < 45:
			!!Getting ready
			locat['Stepdad'] = 2
			locat['sdad_athome'] = 1
		elseif (hour = 6 and minut >= 45) or (hour = 7 and minut <= 15):
			!!family breakfast
			locat['Stepdad'] = 3
			locat['sdad_athome'] = 1
		elseif hour < 8:
			!!Reads paper in kitchen
			locat['Stepdad'] = 4
			locat['sdad_athome'] = 1
		elseif hour = 8 and minut < 30:
			!!Watching TV
			locat['Stepdad'] = 10
			locat['sdad_athome'] = 1
		elseif hour = 8 and minut < 45:
			!! shave/get dressed
			locat['Stepdad'] = 5
			locat['sdad_athome'] = 1
		elseif hour < 17 or (hour = 17 and minut < 45):
			!! Work (includes lunch time)
			locat['Stepdad'] = 6
			locat['sdad_athome'] = 0
		elseif hour < 18:
			!! Sets the table for dinner
			locat['Stepdad'] = 7
			locat['sdad_athome'] = 1
		elseif hour = 18 and minut <= 30:
			!! Family dinner
			locat['Stepdad'] = 8
			locat['sdad_athome'] = 1
		elseif hour < 19 or (hour = 19 and minut < 45):
			if week = 5:
				!!In the garage drinking with Misha
				fatherdrunk = 1
				locat['Stepdad'] = 9
				locat['sdad_athome'] = 1
			else
				!! In garage
				locat['Stepdad'] = 9
				locat['sdad_athome'] = 1
			end
		elseif hour < 21 or (hour = 21 and minut < 45):
			if week = 5:
				!!In the garage drinking with Misha
				fatherdrunk = 1
				locat['Stepdad'] = 9
				locat['sdad_athome'] = 1
			else
				!! Watch tv in living room
				locat['Stepdad'] = 10
				locat['sdad_athome'] = 1
			end
		elseif hour < 22:
			!! Take shower
			locat['Stepdad'] = 11
			locat['sdad_athome'] = 1
		else
			!! Asleep (Small chance she and step dad have sex before sleep 22:00-22:59)
			locat['Stepdad'] = 1
			locat['sdad_athome'] = 0
		end
	else
		if hour < 6 or (hour = 6 and minut < 10):
			!! Asleep
			locat['Stepdad'] = 1
			locat['sdad_athome'] = 0
		elseif hour < hour = 6 and minut < 45:
			!!Getting ready
			locat['Stepdad'] = 2
			locat['sdad_athome'] = 1
		elseif (hour = 6 and minut >= 45) or (hour = 7 and minut <= 15):
			!!family breakfast
			locat['Stepdad'] = 3
			locat['sdad_athome'] = 1
		elseif hour < 8:
			!!Reads paper in kitchen
			locat['Stepdad'] = 4
			locat['sdad_athome'] = 1
		elseif hour = 8 and minut < 20:
			!! Take shower
			locat['Stepdad'] = 11
			locat['sdad_athome'] = 1
		elseif hour < 9:
			!! Watch tv in living room
			locat['Stepdad'] = 10
			locat['sdad_athome'] = 1
		elseif hour < 13:
			if week = 6:
				!!In the garage
				locat['Stepdad'] = 9
				locat['sdad_athome'] = 1
			else
				!! Unknown - maybe just left apartment
				locat['Stepdad'] = 12
				locat['sdad_athome'] = 0
			end
		elseif hour < 18:
			!!In the garage
			locat['Stepdad'] = 9
			locat['sdad_athome'] = 1
		elseif hour = 18 and minut <= 30:
			!! Family dinner
			locat['Stepdad'] = 8
			locat['sdad_athome'] = 1
		elseif hour < 22:
			if week = 6:
				!!In the garage drinking with Misha
				fatherdrunk = 1
				locat['Stepdad'] = 9
				locat['sdad_athome'] = 1
			else
				!! Watch tv in living room
				locat['Stepdad'] = 10
				locat['sdad_athome'] = 1
			end
		else
			!! Asleep (Small chance she and step dad have sex before sleep 22:00-22:59)
			locat['Stepdad'] = 1
			locat['sdad_athome'] = 0
		end
	end
end

!!---KOLKA------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
!!locat['Fam_inGad'] = 1 means kolka is in the village
if locat['Fam_inGad'] = 0:
	if week <= 5:
		if hour < 6 or (hour = 6 and minut < 45):
			if brothermorningsex ! daystart:
				!! Sleep
				locat['Kolka'] = 1
				locat['Kolka_athome'] = 0
			else
				!! Awake - Sveta woke him up
				locat['Kolka'] = 2
				locat['Kolka_athome'] = 1
			end
		elseif (hour = 6 and minut >= 45) or (hour = 7 and minut <= 15):
			!! Family Breakfast
			locat['Kolka'] = 3
			locat['Kolka_athome'] = 1
		elseif hour < 8:
			!! Leaves for school and hangs out with friends
			locat['Kolka'] = 4
			locat['Kolka_athome'] = 0
		elseif hour < 14:
			if kanikuli = 0:
				!! At School
				locat['Kolka'] = 5
				locat['Kolka_athome'] = 0
			else
				!! Track Field since no school on holidays
				locat['Kolka'] = 6
				locat['Kolka_athome'] = 0
			end
		elseif hour >= 14 and hour < 17:
			!! Track Field
			locat['Kolka'] = 6
			locat['Kolka_athome'] = 0
		elseif hour < 18:
			if kanikuli = 0 and brother_homework ! daystart:
				!! Homework
				locat['Kolka'] = 7
				locat['Kolka_athome'] = 1
			else
				!! Watches TV or games
				locat['Kolka'] = 11
				locat['Kolka_athome'] = 1
			end
		elseif hour = 18 and minut <= 30:
			!! Family Dinner
			locat['Kolka'] = 8
			locat['Kolka_athome'] = 1
		elseif hour < 21:
			!! Leaves apartment
			locat['Kolka'] = 9
			locat['Kolka_athome'] = 0
		elseif hour = 21 and minut < 15:
			!! Shower
			locat['Kolka'] = 10
			locat['Kolka_athome'] = 1
		elseif hour < 23:
			!! Watches TV or games
			locat['Kolka'] = 11
			locat['Kolka_athome'] = 1
		else
			!! Sleep
			locat['Kolka'] = 1
			locat['Kolka_athome'] = 0
		end
	else
		if hour < 6 or (hour = 6 and minut < 45):
			if brothermorningsex ! daystart:
				!! Sleep
				locat['Kolka'] = 1
				locat['Kolka_athome'] = 0
			else
				!! Awake - Sveta woke him up
				locat['Kolka'] = 2
				locat['Kolka_athome'] = 1
			end
		elseif (hour = 6 and minut >= 45) or (hour = 7 and minut <= 15):
			!! Family Breakfast
			locat['Kolka'] = 3
			locat['Kolka_athome'] = 1
		elseif hour < 10:
			if kanikuli = 0 and brother_homework ! daystart:
				!! Homework
				locat['Kolka'] = 7
				locat['Kolka_athome'] = 1
			else
				!! Watches TV or games
				locat['Kolka'] = 11
				locat['Kolka_athome'] = 1
			end
		elseif hour <= 13:
			!! Watches TV
			locat['Kolka'] = 11
			locat['Kolka_athome'] = 1
		elseif hour < 18:
			!! Leaves apartment
			locat['Kolka'] = 9
			locat['Kolka_athome'] = 0
		elseif hour = 18 and minut <= 30:
			!! Family Dinner
			locat['Kolka'] = 8
			locat['Kolka_athome'] = 1
		elseif hour < 21:
			!! Watches TV or games
			locat['Kolka'] = 11
			locat['Kolka_athome'] = 1
		elseif hour = 21 and minut < 15:
			!! Shower
			locat['Kolka'] = 10
			locat['Kolka_athome'] = 1
		elseif hour < 23:
			!! Watches TV or games
			locat['Kolka'] = 11
			locat['Kolka_athome'] = 1
		else
			!! Sleep
			locat['Kolka'] = 1
			locat['Kolka_athome'] = 0
		end
	end
end


--- family_schedule ---------------------------------
