Zvereva_schedule.qsrc 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  1. # Zvereva_schedule
  2. chrisloc = 0
  3. !! chrisloc['athome'] = 1 means Christina is not only home, but available to answer the door if you knock
  4. !! unused loc variables - 15, 18, 19, 20, 23+
  5. if SchoolAtestat = 0 and kanikuli = 0:
  6. if week <= 5:
  7. if (hour < 6) or (hour = 6 and minut < 45):
  8. !!Bedroom - Asleep
  9. chrisloc = 1
  10. chrisloc['athome'] = 0
  11. elseif hour < 7:
  12. !!Bedroom - Getting Dressed
  13. chrisloc = 2
  14. chrisloc['athome'] = 1
  15. elseif hour = 7 and minut <= 15:
  16. !!Kitchen - Breakfast
  17. chrisloc = 3
  18. chrisloc['athome'] = 1
  19. elseif hour = 7 and minut < 30:
  20. !!NotHome - Walking to school
  21. chrisloc = 4
  22. chrisloc['athome'] = 0
  23. elseif hour < 14:
  24. !!NotHome - At School
  25. chrisloc = 5
  26. chrisloc['athome'] = 0
  27. elseif hour < 16:
  28. if cheerleaders_on = 1:
  29. if week = 5:
  30. !!NotHome - Game Night
  31. chrisloc = 7
  32. chrisloc['athome'] = 0
  33. else
  34. !!NotHome - Cheerleader Practice
  35. chrisloc = 6
  36. chrisloc['athome'] = 0
  37. end
  38. else
  39. if lernHome > 0:
  40. !!Bedroom - Homework
  41. chrisloc = 8
  42. chrisloc['athome'] = 1
  43. else
  44. !!Bedroom - Hanging Out
  45. chrisloc = 22
  46. chrisloc['athome'] = 1
  47. end
  48. end
  49. elseif hour < 18:
  50. if cheerleaders_on = 1:
  51. !!Bedroom - Hanging Out
  52. chrisloc = 22
  53. chrisloc['athome'] = 1
  54. else
  55. !!NotHome - Jogging
  56. chrisloc = 9
  57. chrisloc['athome'] = 0
  58. end
  59. elseif hour = 18 and minut < 30:
  60. !!Kitchen - Cooking Dinner
  61. chrisloc = 11
  62. chrisloc['athome'] = 1
  63. elseif hour <= 19:
  64. !!Kitchen - Eating Dinner
  65. chrisloc = 12
  66. chrisloc['athome'] = 1
  67. elseif hour = 19 and minut <= 30:
  68. !!Bathroom - Shower
  69. chrisloc = 13
  70. chrisloc['athome'] = 0
  71. elseif hour < 21:
  72. !!Living Room - Watching TV
  73. chrisloc = 14
  74. chrisloc['athome'] = 1
  75. else
  76. !!Bedroom - Hanging Out
  77. chrisloc = 22
  78. chrisloc['athome'] = 0
  79. end
  80. elseif week = 6:
  81. if hour < 8:
  82. !!Bedroom - Asleep
  83. chrisloc = 1
  84. chrisloc['athome'] = 0
  85. elseif hour = 8 and minut <= 15:
  86. !!Kitchen - Breakfast
  87. chrisloc = 3
  88. chrisloc['athome'] = 1
  89. elseif hour = 8 and minut < 45:
  90. !!Bathroom - Shower
  91. chrisloc = 13
  92. chrisloc['athome'] = 0
  93. elseif hour < 9:
  94. !!Bedroom - Getting Dressed
  95. chrisloc = 2
  96. chrisloc['athome'] = 1
  97. elseif hour = 9:
  98. !!NotHome - Track field stretch
  99. chrisloc = 16
  100. chrisloc['athome'] = 0
  101. elseif hour = 10:
  102. !!NotHome - Track field race
  103. chrisloc = 21
  104. chrisloc['athome'] = 0
  105. elseif hour < 16:
  106. if month < 11 or month > 3:
  107. !!NotHome - Beach
  108. chrisloc = 10
  109. chrisloc['athome'] = 0
  110. else
  111. !!Living Room - hanging out
  112. chrisloc = 17
  113. chrisloc['athome'] = 1
  114. end
  115. elseif hour < 18:
  116. !!NotHome - Jogging
  117. chrisloc = 9
  118. chrisloc['athome'] = 0
  119. elseif hour = 18 and minut <= 30:
  120. !!Kitchen - Dinner
  121. chrisloc = 12
  122. chrisloc['athome'] = 1
  123. elseif hour = 18 and minut >= 30:
  124. !!Bathroom - Shower
  125. chrisloc = 13
  126. chrisloc['athome'] = 0
  127. elseif hour < 21:
  128. !!Living Room - Watching TV
  129. chrisloc = 14
  130. chrisloc['athome'] = 1
  131. else
  132. !!Bedroom - Hanging Out
  133. chrisloc = 22
  134. chrisloc['athome'] = 0
  135. end
  136. else
  137. if hour < 8:
  138. !!Bedroom - Asleep
  139. chrisloc = 1
  140. chrisloc['athome'] = 0
  141. elseif hour = 8 and minut <= 15:
  142. !!Kitchen - Breakfast
  143. chrisloc = 3
  144. chrisloc['athome'] = 1
  145. elseif hour = 8 and minut < 45:
  146. !!Bathroom - Shower
  147. chrisloc = 13
  148. chrisloc['athome'] = 0
  149. elseif hour < 9:
  150. !!Bedroom - Getting Dressed
  151. chrisloc = 2
  152. chrisloc['athome'] = 1
  153. elseif hour < 11:
  154. !!unknown
  155. chrisloc = 0
  156. chrisloc['athome'] = 0
  157. elseif hour < 16:
  158. if month < 11 or month > 3:
  159. !!NotHome - Beach
  160. chrisloc = 10
  161. chrisloc['athome'] = 0
  162. else
  163. !!Living Room - hanging out
  164. chrisloc = 17
  165. chrisloc['athome'] = 1
  166. end
  167. elseif hour < 18:
  168. !!NotHome - Jogging
  169. chrisloc = 9
  170. chrisloc['athome'] = 0
  171. elseif hour = 18 and minut <= 30:
  172. !!Kitchen - Dinner
  173. chrisloc = 12
  174. chrisloc['athome'] = 1
  175. elseif hour = 18 and minut >= 30:
  176. !!Bathroom - Shower
  177. chrisloc = 13
  178. chrisloc['athome'] = 0
  179. elseif hour < 21:
  180. !!Living Room - Watching TV
  181. chrisloc = 14
  182. chrisloc['athome'] = 1
  183. else
  184. !!Bedroom - Hanging Out
  185. chrisloc = 22
  186. chrisloc['athome'] = 0
  187. end
  188. end
  189. else
  190. if hour < 8:
  191. !!Bedroom - Asleep
  192. chrisloc = 1
  193. chrisloc['athome'] = 0
  194. elseif hour = 8 and minut <= 15:
  195. !!Kitchen - Breakfast
  196. chrisloc = 3
  197. chrisloc['athome'] = 1
  198. elseif hour = 8 and minut < 45:
  199. !!Bathroom - Shower
  200. chrisloc = 13
  201. chrisloc['athome'] = 0
  202. elseif hour < 9:
  203. !!Bedroom - Getting Dressed
  204. chrisloc = 2
  205. chrisloc['athome'] = 1
  206. elseif hour < 11:
  207. !!unknown
  208. chrisloc = 0
  209. chrisloc['athome'] = 0
  210. elseif hour < 16:
  211. if month < 11 or month > 3:
  212. !!NotHome - Beach
  213. chrisloc = 10
  214. chrisloc['athome'] = 0
  215. else
  216. !!Living Room - hanging out
  217. chrisloc = 17
  218. chrisloc['athome'] = 1
  219. end
  220. elseif hour < 18:
  221. !!NotHome - Jogging
  222. chrisloc = 9
  223. chrisloc['athome'] = 0
  224. elseif hour = 18 and minut <= 30:
  225. !!Kitchen - Dinner
  226. chrisloc = 12
  227. chrisloc['athome'] = 1
  228. elseif hour = 18 and minut >= 30:
  229. !!Bathroom - Shower
  230. chrisloc = 13
  231. chrisloc['athome'] = 1
  232. elseif hour < 21:
  233. !!Living Room - Watching TV
  234. chrisloc = 14
  235. chrisloc['athome'] = 1
  236. else
  237. !!Bedroom - Hanging Out
  238. chrisloc = 22
  239. chrisloc['athome'] = 0
  240. end
  241. end
  242. --- Zvereva_schedule ---------------------------------