family_schedule.qsrc 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. # family_schdule
  2. !!Each action will use '<name>loc' ie. momloc
  3. momloc = 0
  4. sdadloc = 0
  5. anyaloc = 0
  6. kolloc = 0
  7. !!---ANYA---------------------------------------
  8. if week <= 5:
  9. if hour = 6 and minut < 45:
  10. !!Asleep
  11. anyaloc = 1
  12. elseif hour = 7 and minut < 15:
  13. !!Family breakfast
  14. anyaloc = 2
  15. elseif hour = 7 and minut < 30:
  16. !!Helping mom clean up
  17. anyaloc = 3
  18. elseif hour < 8:
  19. !!In Bedroom
  20. anyaloc = 4
  21. elseif hour = 8 and minut < 20:
  22. !!Shower*
  23. anyaloc = 5
  24. elseif hour = 8 and minut < 30:
  25. !!Walk to work
  26. anyaloc = 6
  27. elseif hour < 16:
  28. !!Work
  29. anyaloc = 7
  30. elseif hour = 16 and minut < 10:
  31. !!Walk home from work
  32. anyaloc = 8
  33. elseif hour < 18:
  34. !!Personal activities: Relaxing in bedroom, working out at the community center, etc (this is also the time frame Roma comes over some times)
  35. anyaloc = rand(9,11)
  36. elseif hour = 18 and minut < 30:
  37. !!Family dinner
  38. anyaloc = 12
  39. elseif hour < 22:
  40. !!Goes out to hang out with friends/Roma (this could be random so sometimes she stays home to give Sveta more time to talk to her)
  41. anyaloc = rand(13,15)
  42. else
  43. !!In her room
  44. anyaloc = 15
  45. end
  46. else
  47. if week = 7 and hour < 2:
  48. !!Goes to a party
  49. anyaloc = 24
  50. elseif week = 7 and hour = 2 and minut < 20:
  51. !!In her room drunk after party
  52. anyaloc = 25
  53. elseif hour < 9:
  54. !!Asleep
  55. anyaloc = 1
  56. elseif hour = 9 and minut < 20:
  57. !!Eat something in kitchen
  58. anyaloc = 16
  59. elseif hour = 9 and minut < 40:
  60. !!Shower*
  61. anyaloc = 5
  62. elseif hour < 10:
  63. !!In Bedroom
  64. anyaloc = 4
  65. elseif hour < 16:
  66. !!On nice days goes to the beach, sometimes goes to the city with friends, or stays at home watching tv or reading etc
  67. anyaloc = rand(17,19)
  68. elseif hour = 16 and minut < 15:
  69. !!Walk to community center
  70. anyaloc = 20
  71. elseif hour = 17 and minut < 45:
  72. !!Works out at the community center
  73. anyaloc = 21
  74. elseif hour < 18:
  75. !!Walk home
  76. anyaloc = 22
  77. elseif hour = 18 and minut < 30:
  78. !!Family dinner
  79. anyaloc = 12
  80. elseif hour < 19:
  81. if week = 7:
  82. !!helps mom clean up after dinner
  83. anyaloc = 23
  84. else
  85. !!Goes to a party
  86. anyaloc = 24
  87. end
  88. else
  89. if week = 7:
  90. !!in her room
  91. anyaloc = 15
  92. else
  93. !!Goes to a party
  94. anyaloc = 24
  95. end
  96. end
  97. end
  98. --- family_schdule ---------------------------------