# family_schedule

!!Each action will use '<name>loc' ie. momloc

momloc = 0
sdadloc = 0
anyaloc = 0
kolloc = 0

!!---ANYA---------------------------------------
!! sister_indorf = 1 means Anya is in the village
!! anyaloc['athome'] = 1 means Anya is at home, awake, and not in an event (like having sex with Roma)
!! anyaloc['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 sister_indorf = 0:
	if week <= 5:
		if (hour < 6) or (hour = 6 and minut < 45):
			!!Asleep
			anyaloc = 1
			anyaloc['athome'] = 0
			anyaloc['inroom'] = 1
		elseif (hour = 6 and minut >= 45) or (hour = 7 and minut <= 15):
			!!Family breakfast
			anyaloc = 2
			anyaloc['athome'] = 1
			anyaloc['inroom'] = 0
		elseif hour = 7 and minut < 30:
			!!Helping mom clean up
			anyaloc = 3
			anyaloc['athome'] = 1
			anyaloc['inroom'] = 0
		elseif hour < 8:
			!!In Bedroom getting ready
			anyaloc = 4
			anyaloc['athome'] = 1
			anyaloc['inroom'] = 1
		elseif hour = 8 and minut < 20:
			!!Shower*
			anyaloc = 5
			anyaloc['athome'] = 1
			anyaloc['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
			anyaloc = 8
			anyaloc['athome'] = 0
			anyaloc['inroom'] = 0
		elseif hour < 15 or (hour = 15 and minut < 50):
			!!Work
			anyaloc = 7
			anyaloc['athome'] = 0
			anyaloc['inroom'] = 0
		elseif hour < 16:
			!!traveling from work
			anyaloc = 9
			anyaloc['athome'] = 0
			anyaloc['inroom'] = 0
		elseif hour < 18:
			if week = 5:
				!!At the community center
				anyaloc = 10
				anyaloc['athome'] = 0
				anyaloc['inroom'] = 0
			elseif sisboyday + 1 = daystart:
				!!in bedroom with Roma
				anyaloc = 11
				anyaloc['athome'] = 1
				anyaloc['inroom'] = 1
			else
				!!Personal activities: Relaxing in bedroom 15, at the community center 10
				if anyaloc['rand1'] ! daystart:
					anyaloc = func('shortgs', 'rand_pick', '', 10, 15)
					anyaloc['rand1'] = daystart
				end
				if anyaloc = 15:
					anyaloc['athome'] = 1
					anyaloc['inroom'] = 1
				else
					anyaloc['athome'] = 0
					anyaloc['inroom'] = 0
				end
			end
		elseif hour = 18 and minut <= 30:
			if week = 5:
				!!Goes to a party
				anyaloc = 24
				anyaloc['athome'] = 0
				anyaloc['inroom'] = 0
			else
				!!Family dinner
				anyaloc = 12
				anyaloc['athome'] = 1
				anyaloc['inroom'] = 0
			end
		elseif hour < 22:
			if week = 5:
				!!Goes to a party
				anyaloc = 24
				anyaloc['athome'] = 0
				anyaloc['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 anyaloc['rand2'] ! daystart:
					anyaloc = func('shortgs', 'rand_pick', '', 13, 14, 15)
					anyaloc['rand2'] = daystart
				end
				if anyaloc = 15:
					anyaloc['athome'] = 1
					anyaloc['inroom'] = 1
				else
					anyaloc['athome'] = 0
					anyaloc['inroom'] = 0
				end
			end
		else
			if week = 5:
				!!Goes to a party
				anyaloc = 24
				anyaloc['athome'] = 0
				anyaloc['inroom'] = 0
			else
				!!In her room
				anyaloc = 15
				anyaloc['athome'] = 1
				anyaloc['inroom'] = 1
			end
		end
	else
		if hour < 2:
			!!Goes to a party
			anyaloc = 24
			anyaloc['athome'] = 0
			anyaloc['inroom'] = 0
		elseif hour = 2 and minut < 20:
			!!In her room drunk after party
			anyaloc = 26
			anyaloc['athome'] = 0
			anyaloc['inroom'] = 1
		elseif hour < 9:
			!!Asleep
			anyaloc = 1
			anyaloc['athome'] = 0
			anyaloc['inroom'] = 1
		elseif hour = 9 and minut <= 20:
			!!Eat something in kitchen
			anyaloc = 16
			anyaloc['athome'] = 1
			anyaloc['inroom'] = 0
		elseif hour = 9 and minut < 40:
			!!Shower*
			anyaloc = 5
			anyaloc['athome'] = 1
			anyaloc['inroom'] = 0
		elseif hour < 10:
			!!In Bedroom
			anyaloc = 4
			anyaloc['athome'] = 1
			anyaloc['inroom'] = 1
		elseif hour < 16:
			if temp > 15 and sunWeather = 1:
				!!On nice days goes to the beach
				anyaloc = 17
				anyaloc['athome'] = 0
				anyaloc['inroom'] = 0
			else
				!!Stays at home
				anyaloc = 15
				anyaloc['athome'] = 1
				anyaloc['inroom'] = 1
			end
		elseif hour < 18:
			if week = 6:
				!!At the community center
				anyaloc = 10
				anyaloc['athome'] = 0
				anyaloc['inroom'] = 0
			else
				!!Works out at the community center
				anyaloc = 21
				anyaloc['athome'] = 0
				anyaloc['inroom'] = 0
			end
		elseif hour = 18 and minut <= 30:
			if week = 6:
				!!Goes to a party
				anyaloc = 24
				anyaloc['athome'] = 0
				anyaloc['inroom'] = 0
			else
				!!Family dinner
				anyaloc = 12
				anyaloc['athome'] = 1
				anyaloc['inroom'] = 0
			end
		elseif hour < 19:
			if week = 7:
				!!helps mom clean up after dinner
				anyaloc = 23
				anyaloc['athome'] = 1
				anyaloc['inroom'] = 0
			else
				!!Goes to a party
				anyaloc = 24
				anyaloc['athome'] = 0
				anyaloc['inroom'] = 0
			end
		else
			if week = 7:
				!!in her room
				anyaloc = 15
				anyaloc['athome'] = 1
				anyaloc['inroom'] = 1
			else
				!!Goes to a party
				anyaloc = 24
				anyaloc['athome'] = 0
				anyaloc['inroom'] = 0
			end
		end
	end
end

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

!!momloc [11] = daystart check in salon
!!indorf = 1 means mom is in the village
!!momloc['athome'] = 1 means mom is at home and awake
if indorf = 0:
	if week <= 5:
		if hour < 5 or (hour = 5 and minut < 30):
			!!Asleep
			momloc = 1
			momloc['athome'] = 0
		elseif hour = 5 and minut < 45:
			!!shower
			momloc = 2
			momloc['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
			momloc = 3
			momloc['athome'] = 1
		elseif hour = 6 or (hour = 7 and minut < 30):
			momloc = 4
			momloc['athome'] = 1
			if hour = 6 and minut <= 40:
				!! Make Breakfast
				momloc['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
				momloc['kitchen_action'] = 2
			elseif (hour = 6 and minut >= 45) or (hour = 7 and minut <= 15):
				!! Family breakfast
				momloc['kitchen_action'] = 3
			else
				!! Clean up breakfast table
				momloc['kitchen_action'] = 4
			end
		elseif hour = 7 or (hour = 8 and minut < 30):
			!!Cleaning random room in the house
			!!variable set in cikl
			momloc = momclean1
			momloc['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
			momloc = 9
			momloc['athome'] = 0
		elseif hour = 16 and minut < 50 and week < 5:
			!!Buying groceries for dinner and other stuff needed for home at the supermarket
			momloc = 7
			momloc['athome'] = 0
		elseif hour < 17 and week < 5:
			!!Walking home
			momloc = 8
			momloc['athome'] = 0
		elseif hour < 18 and week = 5:
			!!Walking home
			momloc = 10
			momloc['athome'] = 0
		elseif hour < 18:
			!!Making dinner (On Friday she brings home leftovers from the cafe)
			momloc = 11
			momloc['athome'] = 1
		elseif hour = 18 and minut <= 30:
			!!Family dinner
			momloc = 12
			momloc['athome'] = 1
		elseif hour < 19:
			!! Cleaning dinner table/Doing dishes
			momloc = 13
			momloc['athome'] = 1
		elseif hour < 20:
			if week = 1:
				!! Visiting Luda on mondays for 3 hours
				momloc = 20
				momloc['athome'] = 0
			else
				!! (cleaning the bathroom, sweeping, mopping, dusting, watching TV, taking a bath, etc in different rooms)
				momloc = momclean2
				momloc['athome'] = 1
				if vanrPar_suction_dildo > 0 and $loc ! 'vanrPar':gs'mother_sextalk','discover_dildo'
			end
		elseif hour < 22:
			if week = 1:
				!! Visiting Luda on mondays for 3 hours
				momloc = 20
				momloc['athome'] = 0
			elseif week < 5:
				!! Watches TV with Vladimir
				momloc = 19
				momloc['athome'] = 1
			else
				!! Watches TV alone
				momloc = 19
				momloc['athome'] = 1
			end
		else
			!! Asleep (Small chance she and step dad have sex before sleep 22:00-22:59)
			momloc = 1
			momloc['athome'] = 0
		end
	else
		if hour < 5 or (hour = 5 and minut < 30):
			!! Asleep
			momloc = 1
		elseif hour = 5 and minut < 45:
			!! Shower
			momloc = 2
			momloc['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 
			momloc = 3
			momloc['athome'] = 1
		elseif hour = 6 or (hour = 7 and minut < 30):
			momloc = 4
			momloc['athome'] = 1
			if hour = 6 and minut <= 40:
				!! Make Breakfast
				momloc['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
				momloc['kitchen_action'] = 2
			elseif hour = 6 or (hour = 7 and minut <= 15):
				!! Family breakfast
				momloc['kitchen_action'] = 3
			else
				momloc['kitchen_action'] = 4
				!! Clean up breakfast table
			end
		elseif hour < 11:
			!!Cleaning random room in the house
			momloc = momclean1
			momloc['athome'] = 1
		elseif hour = 11 and minut < 30:
			!!Traveling - takes the car to town/walks to church
			momloc = 14
			momloc['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
			momloc['athome'] = 0
			if week = 6:
				!! Salon
				momloc = 15
			else
				!!Church
				momloc = 16
			end
		elseif hour = 12 or (hour = 13 and minut < 30) and week = 6:
			!!Church
			momloc = 16
		elseif hour < 14:
			!! Walks around different shops, looking at and buying stuff - On Sunday goes to church during these hours
			momloc = 15
			momloc['athome'] = 0
		elseif hour < 17:
			!!Helping out Sergey/Luda, going to Kolka''s games?
			momloc = rand(14,15)
			momloc['athome'] = 0
		elseif hour < 18:
			!! Making dinner
			momloc = 11
			momloc['athome'] = 1
		elseif hour = 18 and minut <= 30:
			!!Family dinner
			momloc = 12
			momloc['athome'] = 1
		elseif hour < 19:
			!! Cleaning dinner table/Doing dishes
			momloc = 13
			momloc['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
			momloc['athome'] = 0
			if week = 6:
				!!Slutting around?
				momloc = 17
			else
				!!Church - Mass
				momloc = 18
			end
		elseif hour < 22:
			if week = 7:
				!! Watches TV with Vladimir
				momloc = 19
				momloc['athome'] = 1
			else
				!! Watches TV alone
				momloc = 19
				momloc['athome'] = 1
			end
		else
			!! Asleep (Small chance she and step dad have sex before sleep 22:00-22:59)
			momloc = 1
			momloc['athome'] = 0
		end
	end
end

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

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

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