123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188 |
- # igor_schedule
- !!2022/01/27
- locat['igor'] = 0
- if SchoolAtestat = 0 and kanikuli = 0:
- if week <= 5:
- if (hour < 6) or (hour = 6 and minut < 45):
- !!Bedroom - Asleep
- locat['igor'] = 1
- elseif hour < 7:
- !!Bedroom - Getting Dressed
- locat['igor'] = 2
- elseif hour = 7 and minut <= 15:
- !!Kitchen - Breakfast
- locat['igor'] = 3
- elseif hour = 7 and minut < 30:
- !!NotHome - Walking to school
- locat['igor'] = 4
- elseif hour < 14:
- !!NotHome - At School
- locat['igor'] = 5
- elseif hour < 15:
- !!NotHome - Hanging out near the school or walking home from school
- locat['igor'] = 6
- elseif hour < 20:
- !!At home in his room
- locat['igor'] = 7
- elseif hour < 23:
- if week = 5:
- !!At the comunity center disco
- locat['igor'] = 8
- else
- !!At home in his room
- locat['igor'] = 7
- end
- else
- if week = 5:
- !!At the comunity center disco
- locat['igor'] = 8
- else
- !!In his room with going to bed
- locat['igor'] = 9
- end
- end
- elseif week = 6:
- if igor_DimaNos_day = daystart:
- !! Igor is at a date with Dimka wont be availebel whole day.
- locat['igor'] = 11
- elseif hour < 8:
- !!Bedroom - Asleep
- locat['igor'] = 1
- elseif hour = 8 and minut < 30:
- !!Bedroom - Getting Dressed
- locat['igor'] = 2
- elseif hour < 9:
- !!Kitchen - Breakfast
- locat['igor'] = 3
- elseif hour < 20:
- !!At home in his room
- locat['igor'] = 7
- else
- !!At the comunity center disco
- locat['igor'] = 8
- end
- else
- if hour < 8:
- !!Bedroom - Asleep
- locat['igor'] = 1
- elseif hour = 8 and minut < 30:
- !!Bedroom - Getting Dressed
- locat['igor'] = 2
- elseif hour < 9:
- !!Kitchen - Breakfast
- locat['igor'] = 3
- elseif hour < 12:
- !!At home in his room
- locat['igor'] = 7
- elseif hour < 15:
- if temper >= 20 and sunWeather = 1 and month >= 5 and month <= 9:
- !!At the lake beach hanging out wiht the other cool kids and the jocks
- locat['igor'] = 10
- else
- !!At home in his room
- locat['igor'] = 7
- end
- elseif hour < 23:
- !!At home in his room
- locat['igor'] = 7
- else
- !!In his room with going to bed
- locat['igor'] = 9
- end
- end
- else
- if week <= 5:
- if (hour < 7) or (hour = 7 and minut < 45):
- !!Bedroom - Asleep
- locat['igor'] = 1
- elseif hour < 7:
- !!Bedroom - Getting Dressed
- locat['igor'] = 2
- elseif hour = 8 and minut <= 30:
- !!Kitchen - Breakfast
- locat['igor'] = 3
- elseif hour < 12:
- !!At home in his room
- locat['igor'] = 7
- elseif hour < 15:
- if temper >= 20 and sunWeather = 1 and month >= 5 and month <= 9 and week mod 2 = 0:
- !!At the lake beach hanging out wiht the other cool kids and the jocks
- locat['igor'] = 10
- else
- !!At home in his room
- locat['igor'] = 7
- end
- elseif hour < 20:
- !!At home in his room
- locat['igor'] = 7
- elseif hour < 23:
- if week = 5:
- !!At the comunity center disco
- locat['igor'] = 8
- else
- !!At home in his room
- locat['igor'] = 7
- end
- else
- if week = 5:
- !!At the comunity center disco
- locat['igor'] = 8
- else
- !!In his room with going to bed
- locat['igor'] = 9
- end
- end
- elseif week = 6:
- if igor_DimaNos_day = daystart:
- !! Igor is at a date with Dimka wont be availebel whole day.
- locat['igor'] = 11
- elseif hour < 8:
- !!Bedroom - Asleep
- locat['igor'] = 1
- elseif hour = 8 and minut < 30:
- !!Bedroom - Getting Dressed
- locat['igor'] = 2
- elseif hour < 9:
- !!Kitchen - Breakfast
- locat['igor'] = 3
- elseif hour < 12:
- !!At home in his room
- locat['igor'] = 7
- elseif hour < 15:
- if temper >= 20 and sunWeather = 1 and month >= 5 and month <= 9:
- !!At the lake beach hanging out wiht the other cool kids and the jocks
- locat['igor'] = 10
- else
- !!At home in his room
- locat['igor'] = 7
- end
- elseif hour < 20:
- !!At home in his room
- locat['igor'] = 7
- else
- !!At the comunity center disco
- locat['igor'] = 8
- end
- else
- if hour < 8:
- !!Bedroom - Asleep
- locat['igor'] = 1
- elseif hour = 8 and minut < 30:
- !!Bedroom - Getting Dressed
- locat['igor'] = 2
- elseif hour < 9:
- !!Kitchen - Breakfast
- locat['igor'] = 3
- elseif hour < 23:
- !!At home in his room
- locat['igor'] = 7
- else
- !!In his room going to bed
- locat['igor'] = 9
- end
- end
- end
- --- igor_schedule ---------------------------------
|