|
@@ -0,0 +1,103 @@
|
|
|
+# family_schdule
|
|
|
+
|
|
|
+!!Each action will use '<name>loc' ie. momloc
|
|
|
+
|
|
|
+momloc = 0
|
|
|
+sdadloc = 0
|
|
|
+anyaloc = 0
|
|
|
+kolloc = 0
|
|
|
+
|
|
|
+---ANYA-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
|
+
|
|
|
+if week <= 5:
|
|
|
+ if hour = 6 and minut < 45:
|
|
|
+ !!Asleep
|
|
|
+ anyaloc = 1
|
|
|
+ elseif hour = 7 and minut < 15:
|
|
|
+ !!Family breakfast
|
|
|
+ anyaloc = 2
|
|
|
+ elseif hour = 7 and minut < 30:
|
|
|
+ !!Helping mom clean up
|
|
|
+ anyaloc = 3
|
|
|
+ elseif hour < 8:
|
|
|
+ !!In Bedroom
|
|
|
+ anyaloc = 4
|
|
|
+ elseif hour = 8 and minut < 20:
|
|
|
+ !!Shower*
|
|
|
+ anyaloc = 5
|
|
|
+ elseif hour = 8 and minut < 30:
|
|
|
+ !!Walk to work
|
|
|
+ anyaloc = 6
|
|
|
+ elseif hour < 16:
|
|
|
+ !!Work
|
|
|
+ anyaloc = 7
|
|
|
+ elseif hour = 16 and minut < 10:
|
|
|
+ !!Walk home from work
|
|
|
+ anyaloc = 8
|
|
|
+ elseif hour < 18:
|
|
|
+ Personal activities: Relaxing in bedroom, working out at the community center, etc (this is also the time frame Roma comes over some times)
|
|
|
+ anyaloc = rand(9,10,11)
|
|
|
+ elseif hour = 18 and minut < 30:
|
|
|
+ !!Family dinner
|
|
|
+ anyaloc = 12
|
|
|
+ elseif hour < 22:
|
|
|
+ !!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)
|
|
|
+ anyaloc = rand(13,14,15)
|
|
|
+ else
|
|
|
+ !!In her room
|
|
|
+ anyaloc = 15
|
|
|
+ end
|
|
|
+else
|
|
|
+ if week = 7 and hour < 2:
|
|
|
+ !!Goes to a party
|
|
|
+ anyaloc = 24
|
|
|
+ elseif week = 7 and hour = 2 and minut < 20:
|
|
|
+ !!In her room drunk after party
|
|
|
+ anyaloc = 25
|
|
|
+ elseif hour < 9:
|
|
|
+ !!Asleep
|
|
|
+ anyaloc = 1
|
|
|
+ elseif hour = 9 and minut < 20:
|
|
|
+ !!Eat something in kitchen
|
|
|
+ anyaloc = 16
|
|
|
+ elseif hour = 9 and minut < 40:
|
|
|
+ !!Shower*
|
|
|
+ anyaloc = 5
|
|
|
+ elseif hour < 10:
|
|
|
+ !!In Bedroom
|
|
|
+ anyaloc = 4
|
|
|
+ elseif hour < 16:
|
|
|
+ !!On nice days goes to the beach, sometimes goes to the city with friends, or stays at home watching tv or reading etc
|
|
|
+ anyaloc = rand(17,18,19)
|
|
|
+ elseif hour = 16 and minut < 15:
|
|
|
+ !!Walk to community center
|
|
|
+ anyaloc = 20
|
|
|
+ elseif hour = 17 and minut < 45:
|
|
|
+ !!Works out at the community center
|
|
|
+ anyaloc = 21
|
|
|
+ elseif hour < 18:
|
|
|
+ !!Walk home
|
|
|
+ anyaloc = 22
|
|
|
+ elseif hour = 18 and minut < 30:
|
|
|
+ !!Family dinner
|
|
|
+ anyaloc = 12
|
|
|
+ elseif hour < 19:
|
|
|
+ if week = 7:
|
|
|
+ !!helps mom clean up after dinner
|
|
|
+ anyaloc = 23
|
|
|
+ else
|
|
|
+ !!Goes to a party
|
|
|
+ anyaloc = 24
|
|
|
+ else
|
|
|
+ if week = 7:
|
|
|
+ !!in her room
|
|
|
+ anyaloc = 15
|
|
|
+ else
|
|
|
+ !!Goes to a party
|
|
|
+ anyaloc = 24
|
|
|
+ end
|
|
|
+ end
|
|
|
+end
|
|
|
+
|
|
|
+--- family_schdule ---------------------------------
|
|
|
+
|