172_family 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. # family
  2. if day ! m_day:
  3. m_day = day
  4. father_go = rand(0, 1)
  5. mother_go = rand(0, 1)
  6. end
  7. indorf = 0
  8. if indorf_month ! month:
  9. !monthly
  10. indorf_month = month
  11. dostupindorf = 1
  12. end
  13. if week = 1 and dostupindorf = 1:
  14. dostupindorf=0
  15. end
  16. if week = 6 and hour >= 12 and dostupindorf = 1:
  17. !go to the village
  18. indorf = 1
  19. father_go = 0
  20. mother_go = 0
  21. end
  22. if week = 7 and hour < 20 and dostupindorf = 1:
  23. !go to the village
  24. indorf = 1
  25. father_go = 0
  26. mother_go = 0
  27. end
  28. if indorf = 1 and sister_opr_indorf = 0:
  29. sister_opr_indorf = 1
  30. sister_indorf = rand(0, 1)
  31. end
  32. if indorf = 0:
  33. sister_opr_indorf = 0
  34. sister_indorf = 0
  35. end
  36. if sister_indorf = 1:
  37. sisterHere = 0
  38. end
  39. ''
  40. ''
  41. if StoryLine > 0:
  42. if sister_indorf = 0:
  43. if $loc = 'bedrPar':
  44. sisterHere = 0
  45. if hour < 7:
  46. sisterHere = 1
  47. 'Your sister Anna asleep in bed.'
  48. end
  49. if week < 6:
  50. if hour = 7:
  51. sisterHere = 2
  52. 'Your sister <a href="exec:GT ''sister''">Anne</a> is going to work.'
  53. end
  54. end
  55. if week >= 6:
  56. if hour >= 7 and hour < 10:
  57. sisterHere = 1
  58. 'Your sister Anna asleep in bed.'
  59. end
  60. if hour = 10:
  61. sisterHere = 2
  62. 'Your sister <a href="exec:GT ''sister''">Anne</a> going for a walk.'
  63. end
  64. end
  65. if hour >= 18:
  66. sisterHere = 2
  67. 'Your sister <a href="exec:GT ''sister''">Anne</a> sitting on bed and reading a book.'
  68. end
  69. end
  70. end
  71. if indorf = 0:
  72. if $loc = 'bedrPar2':
  73. if hour < 7 or hour >= 22:
  74. 'Sleeps on the bed mom and stepfather.'
  75. end
  76. if week < 6:
  77. end
  78. if week >= 6:
  79. end
  80. end
  81. if $loc = 'sitrPar':
  82. if hour < 7 or hour >= 22:
  83. 'Sleeps on the couch your younger brother Kolya.'
  84. end
  85. if week < 6:
  86. if hour >= 16 and hour < 22:
  87. 'Sitting on the couch <a href="exec:GT ''father''">stepfather</a> and watching TV.'
  88. end
  89. if hour >= 18 and hour < 20:
  90. 'Sitting at the table your little brother <a href="exec:GT ''brother''">Kolka</a> and teaches lessons.'
  91. end
  92. if hour >= 20 and hour < 22:
  93. 'Sitting on the couch your younger brother <a href="exec:GT ''brother''">Kolka</a> and watching TV.'
  94. end
  95. end
  96. if week >= 6:
  97. if hour >= 7 and hour < 22:
  98. 'Sitting on the couch <a href="exec:GT ''father''">stepfather</a> and watching TV.'
  99. end
  100. if hour >= 18 and hour <= 21:
  101. 'Sitting on the couch your younger brother <a href="exec:GT ''brother''">Kolka</a> and watching TV.'
  102. end
  103. end
  104. end
  105. if $loc = 'kuhrPar':
  106. if week < 6:
  107. if (hour >= 7 and hour < 8) or (hour >= 16 and hour < 22):
  108. 'Stands near the stove <a href="exec:GT ''mother''">Mom</a> and that it cooks.'
  109. end
  110. end
  111. if week >= 6:
  112. if hour >= 7 and hour < 22:
  113. 'Stands near the stove <a href="exec:GT ''mother''">Mom</a> and that it cooks.'
  114. end
  115. end
  116. end
  117. if $loc = 'korrPar':
  118. if week < 6:
  119. end
  120. if week >= 6:
  121. end
  122. end
  123. if $loc = 'vokzalG':
  124. if week < 6:
  125. end
  126. if week >= 6:
  127. end
  128. end
  129. if $loc = 'gdk':
  130. if week < 6:
  131. if hour >= 16 and hour < 18:
  132. 'Your sister <a href="exec:GT ''sister''">Anne</a> sitting in the company of beautiful girls and guys drinking beer.'
  133. end
  134. end
  135. if week >= 6:
  136. if hour >= 11 and hour < 18:
  137. 'Your sister <a href="exec:GT ''sister''">Anne</a> sitting in the company of beautiful girls and guys drinking beer.'
  138. end
  139. end
  140. end
  141. if $loc = 'gschool':
  142. if week < 6:
  143. if hour >= 15 and hour <= 17:
  144. 'On the football field near the school your <a href="exec:GT ''brother''">brother</a> rides in football.'
  145. end
  146. end
  147. if week >= 6:
  148. if hour >= 7 and hour <= 17:
  149. 'On the football field near the school your <a href="exec:GT ''brother''">brother</a> rides in football.'
  150. end
  151. end
  152. end
  153. end
  154. --- family ---------------------------------