family.qsrc 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259
  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. !brother or father are in the livign room
  9. ocpd_room = 0
  10. if indorf_month ! month and week ! 7 and week ! 1:
  11. !!monthly
  12. indorf_month = month
  13. dostupindorf = 1
  14. end
  15. if week = 1 and dostupindorf = 1:dostupindorf = 0
  16. if dostupindorf = 1 and ((week = 6 and hour >= 12) or (week = 7 and hour < 20)):
  17. !!go to the village
  18. indorf = 1
  19. father_go = 0
  20. mother_go = 0
  21. end
  22. if indorf = 1 and sister_opr_indorf = 0:
  23. sister_opr_indorf = 1
  24. sister_indorf = rand(0, 1)
  25. end
  26. if indorf = 0:
  27. sister_opr_indorf = 0
  28. sister_indorf = 0
  29. end
  30. if sisboyparty_day + 1 = daystart:sister_indorf = 0
  31. if sister_indorf = 1:sisterHere = 0
  32. *nl
  33. if StoryLine = 1:
  34. if sisboyparty_day + 1 = daystart and hour > 18 and sisboypartyQW = 1:
  35. if sisboyparty = 1: sisboyparty = -1
  36. if sisboyparty = 2:
  37. *clr & cla
  38. menu_off = 1
  39. minut += 5
  40. sisboyparty = -1
  41. gs 'stat'
  42. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/rekshome/party/sisboyqwparty_7.jpg"></center>'
  43. 'You forgot to go to Rexs'' birthday party.'
  44. 'You brush it off thinking, <i>Oh well, hopefully he won''t be offended.</i>'
  45. act 'Move away':gt $loc, $metka
  46. exit
  47. end
  48. end
  49. if sister_indorf = 0:
  50. if $loc = 'bedrPar':
  51. sisterHere = 0
  52. sisterdialog = 1
  53. if hour < 7:
  54. sisterHere = 1
  55. 'Your sister <a href="exec:gt ''sistersleep''">Anya</a> is asleep in her bed.'
  56. end
  57. if week >= 6:
  58. if hour >= 7 and hour < 10:
  59. sisterHere = 1
  60. 'Your sister <a href="exec:gt ''sistersleep''">Anya</a> is asleep in her bed.'
  61. end
  62. if hour = 10:
  63. sisterHere = 2
  64. sisterdialog = 3
  65. 'Your sister <a href="exec:gt ''sister''">Anya</a> is getting ready to go for a walk.'
  66. end
  67. end
  68. if hour >= 18 and sisboyparty_day + 1 ! daystart:
  69. sisterHere = 2
  70. 'Your sister <a href="exec:gt ''sister''">Anya</a> is sitting on her bed, reading a book.'
  71. elseif sisboyparty_day + 1 = daystart and sisboyparty = -1 and hour = 22:
  72. *clr & cla
  73. menu_off = 1
  74. minut += 5
  75. gs 'stat'
  76. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/rekshome/party/sisboyqwparty_6_<<rand(1,7)>>.jpg"></center>'
  77. 'Drunk and disheveled, Anya bursts into the room.'
  78. 'You notice that her hair, and all her clothes are smeared in sticky sperm.'
  79. 'In this state, she falls on the bed and instantly falls asleep.'
  80. sisboyparty = 1
  81. act 'Move away':gt $loc
  82. exit
  83. elseif sisboyparty_day + 1 = daystart and hour >= 22:
  84. sisterHere = 1
  85. if sisboypartyQW = 1:sisboypartyQW = 2
  86. if sisboyparty = -1:sisboyparty = 1
  87. 'Your drunken sister Anya is sound asleep in her bed.'
  88. end
  89. end
  90. if $loc = 'gdk':
  91. if week < 6:
  92. if hour >= 16 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. elseif week >= 6:
  96. if hour >= 11 and hour < 18:
  97. 'Your sister <a href="exec:gt ''sister'', ''gdk''">Anya</a> is sitting with a group of boys and girls, drinking beer.'
  98. end
  99. end
  100. end
  101. end
  102. if indorf = 0:
  103. if $loc = 'bedrPar2':
  104. if hour < 6 or hour >= 21:
  105. 'Your <<$npc_nickname[''A29'']>> and stepfather are sleeping on the bed.'
  106. if hour = 21:parsexrand = rand(0, 5)
  107. end
  108. end
  109. if $loc = 'sitrPar' or ($loc = 'family' and $metka = 'sofa'):
  110. if hour < 7 and brothermorningsex = daystart:
  111. ocpd_room = 1
  112. 'Your younger brother <a href="exec:gt ''brother'', ''start''">Kolka</a> is getting ready for school.'
  113. elseif hour < 7 and brothermorningsex ! daystart:
  114. ocpd_room = 1
  115. 'Your younger brother <a href="exec:gt ''brother'', ''start''">Kolka</a> is sleeping on the sofa.'
  116. elseif hour >= 23:
  117. ocpd_room = 1
  118. 'Your younger brother <a href="exec:gt ''brother'', ''start''">Kolka</a> is sleeping on the sofa.'
  119. end
  120. if week < 6:
  121. if father_go = 0:
  122. if hour >= 16 and hour < 21:
  123. ocpd_room = 1
  124. 'Your <a href="exec:gt ''father''">stepfather</a> is sitting on the sofa, watching TV.'
  125. end
  126. end
  127. if hour >= 18 and hour < 20:
  128. if kanikuli > 0:
  129. ocpd_room = 1
  130. 'Your younger brother <a href="exec:gt ''brother'', ''start''">Kolka</a> is sitting on the sofa, playing video games.'
  131. else
  132. ocpd_room = 1
  133. 'Your little brother <a href="exec:gt ''brother'', ''start''">Kolka</a> is sitting by the table and doing his homework.'
  134. end
  135. end
  136. if hour >= 20 and hour < 23:
  137. ocpd_room = 1
  138. 'Your younger brother <a href="exec:gt ''brother'', ''start''">Kolka</a> is sitting on the sofa, playing video games.'
  139. end
  140. end
  141. if week >= 6:
  142. if father_go = 0:
  143. if hour >= 7 and hour < 21:
  144. ocpd_room = 1
  145. 'Your <a href="exec:gt ''father''">stepfather</a> is sitting on the sofa, watching TV.'
  146. end
  147. else
  148. if hour >= 7 and hour < 16:
  149. ocpd_room = 1
  150. 'Your <a href="exec:gt ''father''">stepfather</a> is sitting on the sofa, watching TV.'
  151. end
  152. end
  153. if hour >= 20 and hour < 23:
  154. ocpd_room = 1
  155. 'Your younger brother <a href="exec:gt ''brother'', ''start''">Kolka</a> is sitting on the sofa, watching TV.'
  156. end
  157. end
  158. end
  159. if $loc = 'kuhrPar':
  160. gs 'dinmother'
  161. if mother_go = 0:
  162. if (week < 6 and hour >= 16 and hour < 21) or (week >= 6 and hour >= 7 and hour < 21):
  163. *pl dyneval($d_mother[rand(4,8)])
  164. end
  165. else
  166. if (week < 6 and hour >= 17 and hour < 21) or (week >= 6 and hour >= 7 and hour < 21 and hour ! 16):
  167. *pl dyneval($d_mother[rand(4,8)])
  168. end
  169. end
  170. end
  171. if $loc = 'korrPar':
  172. !! for future code I guess
  173. end
  174. if $loc = 'pavtrain':
  175. !! for future code I guess
  176. end
  177. if $loc = 'gschool_grounds':
  178. if (week < 6 and hour >= 14 and hour <= 17) or ((week >= 6 or kanikuli > 0) and hour >= 7 and hour <= 17):
  179. 'You see your <a href="exec:gt ''brother'', ''start''">brother</a> play football by the field near the school.'
  180. end
  181. end
  182. end
  183. end
  184. if $loc = 'sitrPar': act 'Sit on the sofa':gt 'family', 'sofa'
  185. if $loc = 'sitrPar' and ocpd_room = 0:
  186. 'No one else is here right now, so I''m free to use the room how I like.'
  187. gs 'exercise','start'
  188. end
  189. if $ARGS[0]='sofa':
  190. $menu_loc = 'family'
  191. $menu_arg = 'sofa'
  192. menu_off = 0
  193. $metka = 'sofa'
  194. $loc = 'family'
  195. *clr & cla
  196. gs 'stat'
  197. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/home/sofa.jpg"></center>'
  198. ''
  199. '<center>A small sofa bed, when not folded out into a bed, is just big enough for you to curl up on and take a nap.</center>'
  200. ''
  201. act 'Watch TV':gt 'TV','pav'
  202. if ocpd_room = 0 and pornMagazine > 0:
  203. '<br>There is a porn magazine under the sofa cushions'
  204. gs 'events', 'read_porn'
  205. if pcs_horny >= 50:
  206. act 'Masturbate':gt 'selfplay', 'start'
  207. end
  208. end
  209. gs 'events', 'read'
  210. gs 'family'
  211. if ocpd_room = 0:
  212. act 'Take a nap (1:00)':
  213. if pcs_sleep < 90:
  214. pcs_sleep += 10
  215. pcs_health += 5
  216. minut += 60
  217. gs 'stat'
  218. 'You sleep about an hour.'
  219. else
  220. minut += 5
  221. gs 'stat'
  222. 'You are not tired enough to sleep, even for a short nap.'
  223. end
  224. end
  225. end
  226. act 'Get up':gt 'sitrPar'
  227. end
  228. --- family ---------------------------------