bedrPar 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. # bedrPar
  2. CLOSE ALL
  3. $metkaM = $ARGS[0]
  4. $locM = $CURLOC
  5. $metka = ''
  6. $loc = 'bedrPar'
  7. $location_type = 'private'
  8. clr
  9. minut += 1
  10. gs 'stat'
  11. if night_mode = 1:
  12. fcolor = rgb(255, 255, 255)
  13. bcolor = rgb(0, 0, 0)
  14. lcolor = rgb(106, 90, 205)
  15. else
  16. fcolor = rgb(0, 0, 0)
  17. bcolor = rgb(255, 255, 255)
  18. lcolor = rgb(106, 90, 205)
  19. end
  20. if pcs_magik >= 6 and spellbefshild = 1 and tobiQW = 0 and sisterHere < 2:gt 'tobiQW', 'start'
  21. if sisboyday + 1 = daystart and hour = 18:gt'sisterQW','sisboyQW_expel'
  22. '<center><h1><font color="maroon">Your bedroom</font></h1></center>'
  23. ! WD: Correct Image path ~ "images/qwest/alter/<<$loc>>.jpg"
  24. '<center><img src="images/locations/pavlovsk/resident/apartment/home/bedrpar.jpg"></center>'
  25. *nl
  26. 'This is the small bedroom you share with your sister, Anya. On one side of the room is a wardrobe that you can use to <a href="exec:gt ''clothing'', ''view_clothing_list'', ''wardrobe''">organize your clothes</a> or <a href="exec:gt ''clothing_QV'', ''list''">pick something to wear</a>. On top of it is a <a href="exec:gt ''clothing'', ''view_clothing_list'', ''store''">suitcase</a> that you could use to store clothes that you don''t wear often. Your <a href="exec:gt ''bed2''">bed</a> is in the corner across from the wardrobe, and your <a href="exec:gt ''stol'' ,''stolPar''">desk</a> is next to it. Your sister''s bed is in the other corner.'
  27. if budilnikOn = 0:
  28. 'Your <a href="exec:gt ''budilnik'', ''start''">alarm clock</a> is set for <<timer>> hours <<timerM>> minutes and currently turned <a href="exec: budilnikOn = 1 & GT ''<<$loc>>''">off</a>.'
  29. else
  30. 'Your <a href="exec:gt ''budilnik'', ''start''">alarm clock</a> is set for <<timer>> hours <<timerM>> minutes and currently turned <a href="exec: budilnikOn = 0 & GT ''<<$loc>>''">on</a>.'
  31. end
  32. if tabletki > 0 and prezik + prezikcount + preziksabo > 0:
  33. 'Your <a href="exec:gt ''stol'', ''bc''">birth control</a> is hidden in one of your desk drawers, as are your <a href="exec:gt ''stol'', ''bc''">condoms</a>.'
  34. elseif tabletki > 0:
  35. 'Your <a href="exec:gt ''stol'', ''bc''">birth control</a> is hidden in one of your desk drawers.'
  36. elseif prezik + prezikcount + preziksabo > 0:
  37. 'Your <a href="exec:gt ''stol'', ''bc''">condoms</a> are hidden in one of your desk drawers.'
  38. end
  39. if komp = 1:'Your <a href="exec:gorodokKomp = 1 & GT ''Komp'',''start''">laptop</a> is on your desk.'
  40. gorodokKomp = 0
  41. gad = 0
  42. if npc_QW['A33'] > 10:npc_QW['A33'] = 10
  43. gs'dinsister'
  44. if clrbelo <= 4: clrbelo = 5
  45. act 'Exit the room':
  46. gt'korrPar'
  47. end
  48. if sisboyparty_day + 1 = daystart and sisboyparty = -1 and hour = 22:
  49. gs'family'
  50. else
  51. gs'family'
  52. if rexCarCount >= 9 and sisterHere = 1 and hour < 3 and rexSmsDay ! daystart and smsForRex < 13:
  53. act 'Take your sister''s phone':gt 'reks','sms'
  54. end
  55. if student > 0 and kursovik < 100:
  56. act 'Do coursework (1:00)':
  57. cla
  58. *clr
  59. minut += 60
  60. kursovik += rand(pcs_intel / 20, pcs_intel / 10)
  61. if kursovik > 100:kursovik = 100
  62. pcs_mood -= 10
  63. '<center><img src="images/pc/activities/study.jpg"></center>'
  64. 'You sit down at the desk and do your coursework, you''ve finished <<kursovik>> percent of it.'
  65. act 'Leave your desk':gt $curloc
  66. end
  67. end
  68. if pcs_horny >= 50 and sisterHere = 0:
  69. act 'Masturbate':gt 'selfplay'
  70. end
  71. if pornMagazine > 0:'You have hidden your porn magazines under the mattress of your bed.'
  72. if sisterHere = 0 and pornMagazine > 0:gs 'events', 'read_porn'
  73. gs 'events', 'read'
  74. if tovarL > 0:'You currently have <<tovarL>> trinkets to sell at the station. The maximum you can carry with you is 30.'
  75. if vcard > 0:
  76. act 'Look at your deck of vintage porn cards':card_deck = 0 & gt 'card'
  77. end
  78. if card > 0:
  79. act 'Look at your deck of new porn cards':card_deck = 1 & gt 'card'
  80. end
  81. ! if card > 0:
  82. ! if card > 1:
  83. ! act 'Look at your deck of vintage porn cards':gt 'card'
  84. ! elseif card = 2:
  85. ! act 'Look at your deck of new porn cards':gt 'card'
  86. ! elseif card = 1 and card = 2:
  87. ! act 'Look at your deck of vintage porn cards':gt 'card'
  88. ! act 'Look at your deck of new porn cards':gt 'card'
  89. ! end
  90. ! end
  91. if dur > 0:'You have hidden <<dur>> doses of Pale Lady.'
  92. if dur > 0 and narkday ! daystart:
  93. act 'Use some Pale Lady (0:05)':
  94. cla
  95. *clr
  96. minut += 5
  97. narkday = daystart
  98. pcs_health = pcs_vital * 10 + pcs_stren * 5
  99. pcs_willpwr = pcs_intel * 5 + pcs_sprt * 5
  100. pcs_mood = 100
  101. pcs_horny = 100
  102. nark += 10
  103. dur -= 1
  104. '<center><img src="images/shared/drugs/dur.jpg"></center>'
  105. 'You snort some Pale Lady, feeling dizzy for just a moment. After that you feel fantastic, and incredibly horny.'
  106. act 'Continue':gt $curloc
  107. end
  108. end
  109. end
  110. if tanga = 0:
  111. act 'Wear underwear':
  112. cla
  113. tanga = 1
  114. gt $curloc
  115. end
  116. elseif tanga = 1:
  117. act 'Take off your underwear':
  118. cla
  119. tanga = 0
  120. gt $curloc
  121. end
  122. end
  123. gs 'exercise', 'start'
  124. if gobelen>0:'You have <<gobelen>> completed tapestries.'
  125. if pcs_sewng >= 50 and tkan > 0:'You have enough fabric for <<tkan>> lessons.'
  126. if pcs_sewng >= 50 and tkan <= 0:'You do not have any fabric.'
  127. if pcs_sewng >= 200:
  128. if newgobelen = 0 and tkan > 0:
  129. act'Start a new tapestry':
  130. cls
  131. tkan -= 1
  132. newgobelen = 1
  133. minut += 15
  134. gs'stat'
  135. 'You spend 15 minutes at the embroidery frame, preparing the fabric and outlining the pattern for the tapestry.'
  136. act'Set the tapestry aside':gt $curloc
  137. end
  138. end
  139. if newgobelen>=1:
  140. 'Your tapestry is <<newgobelen/10>> percent finished.'
  141. act'Work on the tapestry for an hour':
  142. cls
  143. minut+=60
  144. sewng_exp += rand(0,1000)
  145. gobramax = pcs_sewng / 100
  146. gobramin = pcs_sewng / 200
  147. newgobelen += rand(gobramin,gobramax)
  148. gs'stat'
  149. if newgobelen < 1000:'You spent an hour working on your tapestry, which is now <<newgobelen/10>> percent finished.'
  150. if newgobelen >= 1000:
  151. newgobelen = 0
  152. gobelen += 1
  153. 'Your work on the tapestry is done.'
  154. end
  155. act'Set the tapestry aside':gt $curloc
  156. end
  157. end
  158. end
  159. if pcs_sleep <= 80:
  160. if succubusQW = 2:
  161. act 'Undress and go to sleep':
  162. if $clothingworntype ! 'nude': gs 'clothing', 'strip'
  163. gt 'bed2', 'succhoice'
  164. end
  165. else
  166. act 'Undress and go to sleep':
  167. if disable_autosave = 0:
  168. if StoryLine = 0:
  169. savegame 'autosave.sav'
  170. else
  171. savegame 'autosave_alt.sav'
  172. end
  173. end
  174. if $clothingworntype ! 'nude': gs 'clothing', 'strip'
  175. if magf2bdo = 2:
  176. gt 'bed2', 'magbstchoice'
  177. else
  178. gt 'bed2', 'sleep'
  179. end
  180. end
  181. end
  182. end
  183. --- bedrPar ---------------------------------