family 4.2 KB

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