family 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. # family
  2. if daystart ! m_day:
  3. m_day = daystart
  4. father_go = rand(0, 1)
  5. mother_go = rand(0, 1)
  6. end
  7. indorf = 0
  8. if indorf_month ! month and week ! 7 and week ! 1:
  9. !!monthly
  10. indorf_month = month
  11. dostupindorf = 1
  12. end
  13. if week = 1 and dostupindorf = 1:dostupindorf = 0
  14. if dostupindorf = 1 and ((week = 6 and hour >= 12) or (week = 7 and hour < 20)):
  15. !!go to the village
  16. indorf = 1
  17. father_go = 0
  18. mother_go = 0
  19. end
  20. if indorf = 1 and sister_opr_indorf = 0:
  21. sister_opr_indorf = 1
  22. sister_indorf = rand(0, 1)
  23. end
  24. if indorf = 0:
  25. sister_opr_indorf = 0
  26. sister_indorf = 0
  27. end
  28. if sisboyparty_day + 1 = daystart:sister_indorf = 0
  29. if sister_indorf = 1:sisterHere = 0
  30. ''
  31. if StoryLine = 1:
  32. if sisboyparty_day + 1 = daystart and hour > 18 and sisboypartyQW = 1:
  33. if sisboyparty = 1:sisboyparty = -1
  34. if sisboyparty = 2:
  35. cls
  36. minut += 5
  37. sisboyparty = -1
  38. gs 'stat'
  39. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/rekshome/party/sisboyqwparty_7.jpg"></center>'
  40. 'You forgot to go to Rexs'' birthday party.'
  41. 'You brush it off thinking, <i>Oh well, hopefully he won''t be offended.</i>'
  42. act 'Move away':gt $loc, $metka
  43. exit
  44. end
  45. end
  46. if sister_indorf = 0:
  47. if $loc = 'bedrPar':
  48. sisterHere = 0
  49. sisterdialog = 1
  50. if hour < 7:
  51. sisterHere = 1
  52. 'Your sister <a href="exec:gt ''sistersleep''">Anya</a> is asleep in her bed.'
  53. end
  54. if week >= 6:
  55. if hour >= 7 and hour < 10:
  56. sisterHere = 1
  57. 'Your sister <a href="exec:gt ''sistersleep''">Anya</a> is asleep in her bed.'
  58. end
  59. if hour = 10:
  60. sisterHere = 2
  61. sisterdialog = 3
  62. 'Your sister <a href="exec:GT ''sister''">Anya</a> is getting ready to go for a walk.'
  63. end
  64. end
  65. if hour >= 18 and sisboyparty_day + 1 ! daystart:
  66. sisterHere = 2
  67. 'Your sister <a href="exec:gt ''sister''">Anya</a> is sitting on her bed, reading a book.'
  68. elseif sisboyparty_day + 1 = daystart and sisboyparty = -1 and hour = 22:
  69. cls
  70. minut += 5
  71. gs 'stat'
  72. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/rekshome/party/sisboyqwparty_6_<<rand(1,7)>>.jpg"></center>'
  73. 'Drunk and disheveled, Anya bursts into the room.'
  74. 'You notice that her hair, and all her clothes are smeared in sticky sperm.'
  75. 'In this state, she falls on the bed and instantly falls asleep.'
  76. sisboyparty = 1
  77. act 'Move away':gt $loc
  78. exit
  79. elseif sisboyparty_day + 1 = daystart and hour >= 22:
  80. sisterHere = 1
  81. if sisboypartyQW = 1:sisboypartyQW = 2
  82. if sisboyparty = -1:sisboyparty = 1
  83. 'Your drunken sister Anya is sound asleep in her bed.'
  84. end
  85. end
  86. if $loc = 'gdk':
  87. if week < 6:
  88. if hour >= 16 and hour < 18:
  89. 'Your sister <a href="exec:GT ''sister'', ''gdk''">Anya</a> is sitting with a group of boys and girls, drinking beer.'
  90. end
  91. elseif week >= 6:
  92. if hour >= 11 and hour < 18:
  93. 'Your sister <a href="exec:GT ''sister'', ''gdk''">Anya</a> is sitting with a group of boys and girls, drinking beer.'
  94. end
  95. end
  96. end
  97. end
  98. if indorf = 0:
  99. if $loc = 'bedrPar2':
  100. if hour < 6 or hour >= 21:
  101. 'Your mom and stepfather are sleeping on the bed.'
  102. if hour = 21:parsexrand = rand(0, 5)
  103. end
  104. end
  105. if $loc = 'sitrPar':
  106. if hour < 7 or hour >= 21:
  107. 'Your younger brother <a href="exec:gt ''brother'', ''start''">Kolka</a> is sleeping on the couch.'
  108. end
  109. if week < 6:
  110. if father_go = 0:
  111. if hour >= 16 and hour < 21:
  112. 'Your <a href="exec:gt ''father''">stepfather</a> is sitting on the couch, watching TV.'
  113. end
  114. end
  115. if hour >= 18 and hour < 20:
  116. if kanikuli > 0:
  117. 'Your younger brother <a href="exec:gt ''brother'', ''start''">Kolka</a> is sitting on the couch, watching TV.'
  118. else
  119. 'Your little brother <a href="exec:gt ''brother'', ''start''">Kolka</a> is sitting by the table and doing his homework.'
  120. end
  121. end
  122. if hour = 20:
  123. 'Your younger brother <a href="exec:gt ''brother'', ''start''">Kolka</a> is sitting on the couch, watching TV.'
  124. end
  125. end
  126. if week >= 6:
  127. if father_go = 0:
  128. if hour >= 7 and hour < 21:'Your <a href="exec:gt ''father''">stepfather</a> is sitting on the couch, watching TV.'
  129. else
  130. if hour >= 7 and hour < 16:'Your <a href="exec:gt ''father''">stepfather</a> is sitting on the couch, watching TV.'
  131. end
  132. if hour >= 18 and hour <= 20:'Your younger brother <a href="exec:gt ''brother'', ''start''">Kolka</a> is sitting on the couch, watching TV.'
  133. end
  134. end
  135. if $loc = 'kuhrPar':
  136. gs 'dinmother'
  137. if mother_go = 0:
  138. if (week < 6 and hour >= 16 and hour < 21) or (week >= 6 and hour >= 7 and hour < 21):
  139. *pl dyneval($d_mother[rand(4,8)])
  140. end
  141. else
  142. if (week < 6 and hour >= 17 and hour < 21) or (week >= 6 and hour >= 7 and hour < 21 and hour ! 16):
  143. *pl dyneval($d_mother[rand(4,8)])
  144. end
  145. end
  146. end
  147. if $loc = 'korrPar':
  148. !! for future code I guess
  149. end
  150. if $loc = 'vokzalG':
  151. !! for future code I guess
  152. end
  153. if $loc = 'gschool_grounds':
  154. if (week < 6 and hour >= 14 and hour <= 17) or ((week >= 6 or kanikuli > 0) and hour >= 7 and hour <= 17):
  155. 'You see your <a href="exec:gt ''brother'', ''start''">brother</a> play football by the field near the school.'
  156. end
  157. end
  158. end
  159. end
  160. --- family ---------------------------------