123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300 |
- # lariska_schedule
- !! 2022/06/04 - Alaratt
- locat['Lariska'] = 0
- locat['Lariska'] = 0
- locat['Lari_athome'] = 0
- !! locat['Lari_athome'] = 1 means Lariska is not only home, but available to answer the door if you knock
- if SchoolAtestat = 0 and kanikuli = 0:
- if week <= 5:
- if (hour < 6) or (hour = 6 and minut < 45):
- !!Bedroom - Asleep
- locat['Lariska'] = 1
- locat['Lari_athome'] = 0
- elseif hour < 7:
- !!Bedroom - Getting Dressed
- locat['Lariska'] = 2
- locat['Lari_athome'] = 1
- elseif hour = 7 and minut <= 15:
- !!Kitchen - Breakfast
- locat['Lariska'] = 3
- locat['Lari_athome'] = 1
- elseif hour = 7 and minut < 30:
- !!NotHome - Walking to school
- locat['Lariska'] = 4
- locat['Lari_athome'] = 0
- elseif hour < 14:
- !!NotHome - At School
- locat['Lariska'] = 5
- locat['Lari_athome'] = 0
- elseif hour < 16:
- if (week = 2 or week = 4) and (month >= 10 or month <= 5):
- !!NotHome - Cheerleader Practice
- locat['Lariska'] = 6
- locat['Lari_athome'] = 0
- elseif week = 5 and odd_week = 1 and (month >= 10 or month <= 5):
- !!NotHome - Game Night
- locat['Lariska'] = 7
- locat['Lari_athome'] = 0
- else
- if lernHome > 0:
- !!Bedroom - Homework
- locat['Lariska'] = 8
- locat['Lari_athome'] = 1
- else
- !!Bedroom - Hanging Out
- locat['Lariska'] = 22
- locat['Lari_athome'] = 1
- end
- end
- elseif hour < 18:
- if cheerleaders_on = 1:
- !!Bedroom - Hanging Out
- locat['Lariska'] = 22
- locat['Lari_athome'] = 1
- else
- !!NotHome - Community Center
- locat['Lariska'] = 9
- locat['Lari_athome'] = 0
- end
- elseif hour = 18 and minut < 30:
- !!Kitchen - Cooking Dinner
- locat['Lariska'] = 11
- locat['Lari_athome'] = 1
- elseif hour <= 19:
- !!Kitchen - Eating Dinner
- locat['Lariska'] = 12
- locat['Lari_athome'] = 1
- elseif hour = 19 and minut <= 30:
- !!Bathroom - Shower
- locat['Lariska'] = 13
- locat['Lari_athome'] = 0
- elseif hour < 21:
- !!Living Room - Watching TV
- locat['Lariska'] = 14
- locat['Lari_athome'] = 1
- else
- !!Bedroom - Reading in bed
- locat['Lariska'] = 15
- locat['Lari_athome'] = 0
- end
- elseif week = 6:
- if hour < 9:
- !!Bedroom - Asleep
- locat['Lariska'] = 1
- locat['Lari_athome'] = 0
- elseif hour = 9 and minut <= 15:
- !!Kitchen - Breakfast
- locat['Lariska'] = 3
- locat['Lari_athome'] = 1
- elseif (hour < 11) or (hour = 11 and minut < 15):
- !!Living Room - Working Out
- locat['Lariska'] = 16
- locat['Lari_athome'] = 1
- elseif hour = 11 and minut < 45:
- !!Bathroom - Shower
- locat['Lariska'] = 13
- locat['Lari_athome'] = 1
- elseif hour < 12:
- !!Bedroom - Getting Dressed
- locat['Lariska'] = 2
- locat['Lari_athome'] = 1
- elseif (hour < 17) or (hour = 17 and minut < 45):
- !!Bedroom - Hanging Out
- locat['Lariska'] = 22
- locat['Lari_athome'] = 1
- elseif hour = 17 and minut > 45:
- if LariskaQW['volleyball'] = 1:
- !!!!NotHome - Community Center - Volleyball Game
- locat['Lariska'] = 21
- locat['Lari_athome'] = 0
- else
- !!Living Room - Watching TV
- locat['Lariska'] = 14
- locat['Lari_athome'] = 1
- end
- elseif hour = 22 and minut <= 30:
- !!Kitchen - Dinner
- locat['Lariska'] = 12
- locat['Lari_athome'] = 1
- elseif hour < 23:
- !!Bathroom - Shower
- locat['Lariska'] = 13
- locat['Lari_athome'] = 1
- else
- !!Bedroom - Reading in bed
- locat['Lariska'] = 15
- locat['Lari_athome'] = 0
- end
- else
- if hour < 9:
- !!Bedroom - Asleep
- locat['Lariska'] = 1
- locat['Lari_athome'] = 0
- elseif hour = 9 and minut <= 15:
- !!Kitchen - Breakfast
- locat['Lariska'] = 3
- locat['Lari_athome'] = 1
- elseif (hour < 11) or (hour = 11 and minut < 15):
- !!Living Room - Working Out
- locat['Lariska'] = 16
- locat['Lari_athome'] = 1
- elseif hour = 11 and minut < 45:
- !!Bathroom - Shower
- locat['Lariska'] = 13
- locat['Lari_athome'] = 0
- elseif hour < 12:
- !!Bedroom - Getting Dressed
- locat['Lariska'] = 2
- locat['Lari_athome'] = 1
- elseif hour = 12 and minut < 30:
- !!Bedroom - Cleaning
- locat['Lariska'] = 17
- locat['Lari_athome'] = 1
- elseif hour < 13:
- !!Living Room - Cleaning
- locat['Lariska'] = 18
- locat['Lari_athome'] = 1
- elseif hour = 13 and minut < 30:
- !!Kitchen - Cleaning
- locat['Lariska'] = 19
- locat['Lari_athome'] = 1
- elseif hour < 14:
- !!Bathroom - Cleaning
- locat['Lariska'] = 20
- locat['Lari_athome'] = 1
- elseif hour < 20:
- !!Bedroom - Hanging Out
- locat['Lariska'] = 22
- locat['Lari_athome'] = 1
- elseif hour < 22:
- !!Living Room - Watching TV
- locat['Lariska'] = 14
- locat['Lari_athome'] = 1
- elseif hour = 22 and minut <= 30:
- !!Kitchen - Dinner
- locat['Lariska'] = 13
- locat['Lari_athome'] = 0
- elseif hour < 23:
- !!Bathroom - Shower
- locat['Lariska'] = 13
- locat['Lari_athome'] = 0
- else
- !!Bedroom - Reading in bed
- locat['Lariska'] = 15
- locat['Lari_athome'] = 0
- end
- end
- else
- if week <= 6:
- if hour < 9:
- !!Bedroom - Asleep
- locat['Lariska'] = 1
- locat['Lari_athome'] = 0
- elseif hour = 9 and minut < 15:
- !!Kitchen - Breakfast
- locat['Lariska'] = 3
- locat['Lari_athome'] = 1
- elseif (hour < 11) or (hour = 11 and minut < 15):
- !!Living Room - Working Out
- locat['Lariska'] = 16
- locat['Lari_athome'] = 1
- elseif hour = 11 and minut < 45:
- !!Bathroom - Shower
- locat['Lariska'] = 13
- locat['Lari_athome'] = 0
- elseif hour < 12:
- !!Bedroom - Getting Dressed
- locat['Lariska'] = 2
- locat['Lari_athome'] = 1
- elseif (hour < 17) or (hour = 17 and minut < 45):
- !!Bedroom - Hanging Out
- locat['Lariska'] = 22
- locat['Lari_athome'] = 1
- elseif hour < 22:
- !!Living Room - Watching TV
- locat['Lariska'] = 14
- locat['Lari_athome'] = 1
- elseif hour = 22 and minut <= 30:
- !!Kitchen - Dinner
- locat['Lariska'] = 12
- locat['Lari_athome'] = 1
- elseif hour < 23:
- !!Bathroom - Shower
- locat['Lariska'] = 13
- if week = 6:
- !!Anna can answer the door and let you in
- locat['Lari_athome'] = 1
- else
- !!Anna is not home to answer the door
- locat['Lari_athome'] = 0
- end
- else
- !!Bedroom - Reading in bed
- locat['Lariska'] = 15
- locat['Lari_athome'] = 0
- end
- else
- if hour < 9:
- !!Bedroom - Asleep
- locat['Lariska'] = 1
- locat['Lari_athome'] = 0
- elseif hour = 9 and minut <= 15:
- !!Kitchen - Breakfast
- locat['Lariska'] = 3
- locat['Lari_athome'] = 1
- elseif (hour < 11) or (hour = 11 and minut < 15):
- !!Living Room - Working Out
- locat['Lariska'] = 16
- locat['Lari_athome'] = 1
- elseif hour = 11 and minut < 45:
- !!Bathroom - Shower
- locat['Lariska'] = 13
- locat['Lari_athome'] = 1
- elseif hour < 12:
- !!Bedroom - Getting Dressed
- locat['Lariska'] = 2
- locat['Lari_athome'] = 1
- elseif hour = 12 and minut < 30:
- !!Bedroom - Cleaning
- locat['Lariska'] = 17
- locat['Lari_athome'] = 1
- elseif hour < 13:
- !!Living Room - Cleaning
- locat['Lariska'] = 18
- locat['Lari_athome'] = 1
- elseif hour = 13 and minut < 30:
- !!Kitchen - Cleaning
- locat['Lariska'] = 19
- locat['Lari_athome'] = 1
- elseif hour < 14:
- !!Bathroom - Cleaning
- locat['Lariska'] = 20
- locat['Lari_athome'] = 1
- elseif hour < 20:
- !!Bedroom - Hanging Out
- locat['Lariska'] = 22
- locat['Lari_athome'] = 1
- elseif hour < 22:
- !!Living Room - Watching TV
- locat['Lariska'] = 14
- locat['Lari_athome'] = 1
- elseif hour = 22 and minut <= 30:
- !!Kitchen - Dinner
- locat['Lariska'] = 12
- locat['Lari_athome'] = 1
- elseif hour < 23:
- !!Bathroom - Shower
- locat['Lariska'] = 13
- locat['Lari_athome'] = 1
- else
- !!Bedroom - Reading in bed
- locat['Lariska'] = 15
- locat['Lari_athome'] = 0
- end
- end
- end
- --- lariska_schedule ---------------------------------
|