1
0

family.qsrc 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261
  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 = 5 and hour >= 16 and hour <= 18:
  179. 'You wonder if your <a href="exec:gt ''brother'', ''start''">brother</a> is one of the kids yelling.'
  180. elseif (week < 6 and hour >= 14 and hour <= 17) or ((week >= 6 or kanikuli > 0) and hour >= 7 and hour <= 17):
  181. 'You see your <a href="exec:gt ''brother'', ''start''">brother</a> play football by the field near the school.'
  182. end
  183. end
  184. end
  185. end
  186. if $loc = 'sitrPar': act 'Sit on the sofa':gt 'family', 'sofa'
  187. if $loc = 'sitrPar' and ocpd_room = 0:
  188. 'No one else is here right now, so I''m free to use the room how I like.'
  189. gs 'exercise','start'
  190. end
  191. if $ARGS[0]='sofa':
  192. $menu_loc = 'family'
  193. $menu_arg = 'sofa'
  194. menu_off = 0
  195. $metka = 'sofa'
  196. $loc = 'family'
  197. *clr & cla
  198. gs 'stat'
  199. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/home/sofa.jpg"></center>'
  200. ''
  201. '<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>'
  202. ''
  203. act 'Watch TV':gt 'TV','pav'
  204. if ocpd_room = 0 and pornMagazine > 0:
  205. '<br>There is a porn magazine under the sofa cushions'
  206. gs 'events', 'read_porn'
  207. if pcs_horny >= 50:
  208. act 'Masturbate':gt 'selfplay', 'start'
  209. end
  210. end
  211. gs 'events', 'read'
  212. gs 'family'
  213. if ocpd_room = 0:
  214. act 'Take a nap (1:00)':
  215. if pcs_sleep < 90:
  216. pcs_sleep += 10
  217. pcs_health += 5
  218. minut += 60
  219. gs 'stat'
  220. 'You sleep about an hour.'
  221. else
  222. minut += 5
  223. gs 'stat'
  224. 'You are not tired enough to sleep, even for a short nap.'
  225. end
  226. end
  227. end
  228. act 'Get up':gt 'sitrPar'
  229. end
  230. --- family ---------------------------------