family 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  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:
  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 sisboypartyQW >= 2 and sisboyparty ! 0 and sisboyparty ! 2 and sisboyparty_day + 1 < daystart and randsbPartyDay <= daystart and week >= 4:
  33. if week = 4:
  34. randParty = rand(5,7)
  35. randsbPartyDay = daystart + 4
  36. if randParty = 5:
  37. sisboyparty_day = daystart
  38. elseif randParty = 6:
  39. sisboyparty_day = daystart + 1
  40. else
  41. sisboyparty_day = daystart + 2
  42. end
  43. elseif week = 5:
  44. randParty = rand(6,7)
  45. randsbPartyDay = daystart + 3
  46. if randParty = 6:sisboyparty_day = daystart
  47. if randParty = 7:sisboyparty_day = daystart + 1
  48. elseif week = 6:
  49. randParty = 7
  50. randsbPartyDay = daystart + 2
  51. sisboyparty_day = daystart
  52. end
  53. end
  54. if sisboyparty_day + 1 = daystart and hour > 18 and sisboypartyQW = 1:
  55. if sisboyparty = 1:sisboyparty = -1
  56. if sisboyparty = 2:
  57. cls
  58. minut += 5
  59. sisboyparty = -1
  60. gs 'stat'
  61. '<center><img src="images/qwest/alter/sisterqw/party/sisboyqwparty_7.jpg"></center>'
  62. 'You have forgotten to go to a Rexs'' birthday party.'
  63. 'You think, "Oh well, I hope they are not greatly offended."'
  64. act 'Move away':gt $loc, $metka
  65. exit
  66. end
  67. end
  68. if sister_indorf = 0:
  69. if $loc = 'bedrPar':
  70. sisterHere = 0
  71. sisterdialog = 1
  72. if hour < 7:
  73. sisterHere = 1
  74. 'Your sister <a href="exec:gt ''sistersleep''">Anya</a> is asleep in bed.'
  75. end
  76. if week < 6:
  77. if hour = 7:
  78. sisterHere = 2
  79. sisterdialog = 2
  80. 'Your sister <a href="exec:GT ''sister''">Anya</a> is getting ready for work.'
  81. end
  82. end
  83. if week >= 6:
  84. if hour >= 7 and hour < 10:
  85. sisterHere = 1
  86. 'Your sister <a href="exec:gt ''sistersleep''">Anya</a> is asleep in bed.'
  87. end
  88. if hour = 10:
  89. sisterHere = 2
  90. sisterdialog = 3
  91. 'Your sister <a href="exec:GT ''sister''">Anya</a> is getting ready to go for a walk.'
  92. end
  93. end
  94. if hour >= 18 and sisboyparty_day + 1 ! daystart:
  95. sisterHere = 2
  96. 'Your sister <a href="exec:gt ''sister''">Anya</a> is sitting on her bed, reading a book.'
  97. elseif sisboyparty_day + 1 = daystart and sisboyparty = -1 and hour = 22:
  98. cls
  99. minut += 5
  100. gs 'stat'
  101. '<center><img src="images/qwest/alter/sisterqw/party/sisboyqwparty_6_<<rand(1,7)>>.jpg"></center>'
  102. 'Drunk and disheveled, Anya bursts into the room.'
  103. 'You notice that her hair, and all over her clothes she is smeared in sticky sperm.'
  104. 'In this state, she falls on the bed and instantly falls asleep.'
  105. sisboyparty = 1
  106. act 'Move away':gt $loc
  107. exit
  108. elseif sisboyparty_day + 1 = daystart and hour >= 22:
  109. sisterHere = 1
  110. if sisboypartyQW = 1:sisboypartyQW = 2
  111. if sisboyparty = -1:sisboyparty = 1
  112. 'Your drunken sister Anya asleep in her bed.'
  113. end
  114. end
  115. end
  116. if indorf = 0:
  117. if $loc = 'bedrPar2':
  118. if hour < 6 or hour >= 21:
  119. 'On the bed sleeps your mom and stepfather.'
  120. if hour = 21:parsexrand = rand(0, 5)
  121. end
  122. end
  123. if $loc = 'sitrPar':
  124. if hour < 7 or hour >= 21:
  125. 'Sleeping on the couch, your younger brother <a href="exec:GT ''brother''">Kolka</a>.'
  126. end
  127. if week < 6:
  128. if father_go = 0:
  129. if hour >= 16 and hour < 21:
  130. 'Sitting on the couch is your <a href="exec:gt ''father''">stepfather</a> watching TV.'
  131. end
  132. end
  133. if hour >= 18 and hour < 20:
  134. if kanikuli > 0:
  135. 'Sitting on the couch your younger brother <a href="exec:GT ''brother''">Kolka</a> is watching TV.'
  136. else
  137. 'Sitting at the table your little brother <a href="exec:gt ''brother''">Kolka</a> is doing his homework.'
  138. end
  139. end
  140. if hour = 20:
  141. 'Sitting on the couch your younger brother <a href="exec:gt ''brother''">Kolka</a> is watching TV.'
  142. end
  143. end
  144. if week >= 6:
  145. if father_go = 0:
  146. if hour >= 7 and hour < 21:'Sitting on the couch is your <a href="exec:gt ''father''">stepfather</a> watching TV.'
  147. else
  148. if hour >= 7 and hour < 16:'Sitting on the couch is your <a href="exec:gt ''father''">stepfather</a> watching TV.'
  149. end
  150. if hour >= 18 and hour <= 20:'Sitting on the couch your younger brother <a href="exec:gt ''brother''">Kolka</a> is watching TV.'
  151. end
  152. end
  153. if $loc = 'kuhrPar':
  154. gs 'dinmother'
  155. if mother_go = 0:
  156. if (week < 6 and hour >= 16 and hour < 21) or (week >= 6 and hour >= 7 and hour < 21):
  157. *pl dyneval($d_mother[rand(4,8)])
  158. end
  159. else
  160. if (week < 6 and hour >= 17 and hour < 21) or (week >= 6 and hour >= 7 and hour < 21 and hour ! 16):
  161. *pl dyneval($d_mother[rand(4,8)])
  162. end
  163. end
  164. end
  165. if $loc = 'korrPar':
  166. !! for future code I guess
  167. end
  168. if $loc = 'vokzalG':
  169. !! for future code I guess
  170. end
  171. if $loc = 'gdk':
  172. if week < 6:
  173. if hour >= 16 and hour < 18:
  174. 'Your sister <a href="exec:GT ''sister'', ''gdk''">Anya</a> is sitting in a group of boys and girls, drinking beer.'
  175. end
  176. elseif week >= 6:
  177. if hour >= 11 and hour < 18:
  178. 'Your sister <a href="exec:GT ''sister'', ''gdk''">Anya</a> is sitting in a group of boys and girls, drinking beer.'
  179. end
  180. end
  181. end
  182. if $loc = 'gschool_grounds':
  183. if (week < 6 and hour >= 15 and hour <= 17) or ((week >= 6 or kanikuli > 0) and hour >= 7 and hour <= 17):
  184. 'On the field near the school your <a href="exec:gt ''brother''">brother</a> plays football.'
  185. end
  186. end
  187. end
  188. end
  189. --- family ---------------------------------