sleep.qsrc 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762
  1. # sleep
  2. if $ARGS[0] = 'simple':
  3. !! to avoid sleeping the whole day I decide to calculate the duration of the sleep in advance
  4. !! the quality of the sleep depends on many factors, so the time of sleep can be modify later, especially the part when the time of sleep is shortened
  5. varsleep['time_to_full'] = (100 - pcs_sleep) * 6
  6. !! fully exhausted Sveta can recover in 420 minutes = 7 hours of sleep
  7. !! healthy Sveta can hardly sleep more then 10 hours = 600 minutes
  8. !! so we can add about 3 hours to time to full as a limit
  9. varsleep['time_to_full'] += 150 + rand(0,60)
  10. varsleep['time_now'] = daystart*1440 + hour * 60 + minut
  11. varsleep['alarm_time_end'] = daystart*1440 + timerEnd * 60 + timerEndM
  12. if varsleep['time_now'] >= varsleep['alarm_time_end']: varsleep['alarm_time_end'] += 1440
  13. varsleep['alarm_time'] = daystart*1440 + timer * 60 + timerM
  14. if varsleep['time_now'] >= varsleep['alarm_time']: varsleep['alarm_time'] += 1440
  15. if budilnikOn = 1:
  16. varsleep['minutes to wakeup'] = min(varsleep['time_to_full'], varsleep['alarm_time'] - varsleep['time_now'])
  17. varsleep['minutes to wakeup end'] = min(varsleep['time_to_full'], varsleep['alarm_time_end'] - varsleep['time_now'])
  18. else
  19. varsleep['minutes to wakeup'] = varsleep['time_to_full']
  20. varsleep['minutes to wakeup end'] = varsleep['time_to_full']
  21. end
  22. InSleep = 1
  23. :loopson_sleep
  24. minut += 1
  25. stime += 1
  26. if recuperation = 0:pcs_health += 5
  27. if stime >= 60:
  28. stime = 0
  29. pcs_sleep += 15
  30. gs 'stat'
  31. end
  32. varsleep['minutes to wakeup'] -= 1
  33. varsleep['minutes to wakeup end'] -= 1
  34. if alarm_holiday = 1 and kanikuli > 0:
  35. !! use weekend time alarm
  36. varsleep['alarm_time'] = daystart*1440 + timerEnd * 60 + timerEndM
  37. if varsleep['minutes to wakeup end'] > 0:jump 'loopson_sleep'
  38. elseif week > 5:
  39. !! use weeken time alarm
  40. varsleep['alarm_time'] = daystart*1440 + timerEnd * 60 + timerEndM
  41. if varsleep['minutes to wakeup end'] > 0:jump 'loopson_sleep'
  42. else
  43. varsleep['alarm_time'] = daystart*1440 + timer * 60 + timerM
  44. if varsleep['minutes to wakeup'] > 0:jump 'loopson_sleep'
  45. end
  46. varsleep['time_now'] = daystart*1440 + hour * 60 + minut
  47. InSleep = 0
  48. gs'stat'
  49. end
  50. if $ARGS[0] = 'full':
  51. if succubusQW = 2:
  52. act '<<$sleep_txt>>':
  53. if clo_flag['bed'] = 0:
  54. clo_flag['bed'] = 1
  55. $lastwornclothingtype['bed'] = $clothingworntype
  56. lastwornclothingnumber['bed'] = clothingwornnumber
  57. $lastwornpantytype['bed'] = $pantyworntype
  58. lastwornpantynumber['bed'] = pantywornnumber
  59. $lastwornbratype['bed'] = $braworntype
  60. lastwornbranumber['bed'] = brawornnumber
  61. end
  62. menu_off = 1
  63. if bedPanty = 2:
  64. gs 'underwear', 'remove'
  65. elseif bedPanty = 1:
  66. gs 'underwear', 'wear'
  67. end
  68. if $clothingworntype ! 'nude':
  69. strip_here = 1
  70. gs 'clothing', 'strip'
  71. end
  72. gt 'sleep', 'succhoice'
  73. end
  74. else
  75. act '<<$sleep_txt>>':
  76. if clo_flag['bed'] = 0:
  77. clo_flag['bed'] = 1
  78. $lastwornclothingtype['bed'] = $clothingworntype
  79. lastwornclothingnumber['bed'] = clothingwornnumber
  80. $lastwornpantytype['bed'] = $pantyworntype
  81. lastwornpantynumber['bed'] = pantywornnumber
  82. $lastwornbratype['bed'] = $braworntype
  83. lastwornbranumber['bed'] = brawornnumber
  84. end
  85. menu_off = 1
  86. if bedPanty = 2:
  87. gs 'underwear', 'remove'
  88. elseif bedPanty = 1:
  89. gs 'underwear', 'wear'
  90. end
  91. if disable_autosave = 0:
  92. if mid($start_type,1,4) = 'city':
  93. savegame 'autosave_city.sav'
  94. elseif mid($start_type,1,3) = 'uni':
  95. savegame 'autosave_uni.sav'
  96. else
  97. savegame 'autosave_sg.sav'
  98. end
  99. end
  100. if $clothingworntype ! 'nude':
  101. strip_here = 1
  102. gs 'clothing', 'strip'
  103. end
  104. if magf2bdo = 2:
  105. gt 'sleep', 'magbstchoice'
  106. else
  107. gt 'sleep', 'sleep'
  108. end
  109. end
  110. killvar '$sleep_txt'
  111. end
  112. end
  113. if $ARGS[0] = 'nap_bed':
  114. act 'Take a nap (1:00)':
  115. if pcs_sleep >= 10 and pcs_sleep <= 90:
  116. cla
  117. pcs_sleep += 10
  118. pcs_health += 5
  119. minut += 60
  120. gs 'stat'
  121. *nl
  122. 'You sleep about an hour.'
  123. act 'Get up': gt $loc, $loc_arg
  124. elseif pcs_sleep < 10:
  125. gt 'sleep', 'sleep'
  126. else
  127. cla
  128. minut += 5
  129. gs 'stat'
  130. *nl
  131. 'You are not tired enough to sleep, even for a short nap.'
  132. act 'Get up': gt $loc, $loc_arg
  133. end
  134. end
  135. gs 'events', 'read'
  136. end
  137. if $ARGS[0] = 'sleep':
  138. *clr & cla
  139. menu_off = 1
  140. if $clothingworntype ! 'nude':
  141. '<center><img <<$set_imgh>> src="images/shared/home/bed.jpg"></center>'
  142. else
  143. '<center><img <<$set_imgh>> src="images/shared/home/bedroom/son.jpg"></center>'
  144. end
  145. gs 'stat'
  146. *nl
  147. if budilnikOn = 1 and ((hour => timer and week + 1 < 6) or (hour < timer and week < 6)):
  148. 'You run through your regular nightly routine, setting your alarm for <b>'+iif(timer < 10,'0<<timer>>','<<timer>>')+':'+iif(timerM < 10,'0<<timerM>>','<<timerM>>')+'</b>, you undress, and prepare for sleep:'
  149. elseif budilnikOn = 1 and alarm_holiday = 1 and (week > 5 or kanikuli > 0):
  150. 'You run through your regular nightly routine, setting your alarm for <b>'+iif(timerEnd < 10,'0<<timerEnd>>','<<timerEnd>>')+':'+iif(timerEndM < 10,'0<<timerEndM>>','<<timerEndM>>')+'</b>, you undress, and prepare for sleep:'
  151. elseif budilnikOn = 1 and (week > 5):
  152. 'You run through your regular nightly routine, setting your alarm for <b>'+iif(timerEnd < 10,'0<<timerEnd>>','<<timerEnd>>')+':'+iif(timerEndM < 10,'0<<timerEndM>>','<<timerEndM>>')+'</b>, you undress, and prepare for sleep:'
  153. elseif budilnikOn = 1:
  154. 'You run through your regular nightly routine, setting your alarm for <b>'+iif(timer < 10,'0<<timer>>','<<timer>>')+':'+iif(timerM < 10,'0<<timerM>>','<<timerM>>')+'</b>, you undress, and prepare for sleep:'
  155. else
  156. 'You run through your regular nightly routine, not bothering to setting your alarm, you undress, and prepare for sleep:'
  157. end
  158. pcs_hairbsh = 0
  159. pain['killer'] = 0
  160. if mid($start_type,1,2) = 'sg' and $loc ! 'bedrPar' and SchoolAtestat = 0:
  161. notathomesleep += 1
  162. else
  163. notathomesleep = 0
  164. end
  165. if succubusflag = 1 and sucwalkday <= daystart and (succhungry < (0 - 1 - succublvl) or pcs_willpwr < ((succublvl * willpowermax) / 13) or sucpowzeroed >= 3): gs 'succubus', 'sucwalkinginit'
  166. if analplugIN = 1 and vibratorIN = 1:
  167. if bedAnal = 1 and bedVibrator = 1:
  168. analplugIN = 0
  169. vibratorIN = 0
  170. gs 'stat'
  171. *nl
  172. 'You remove your butt plug and your vibrator.'
  173. elseif bedAnal = 0 and bedVibrator = 0:
  174. *nl
  175. 'You decide to leave your butt plug and vibrator in.'
  176. elseif bedAnal = 1 and bedVibrator = 0:
  177. vibratorIN = 0
  178. gs 'stat'
  179. *nl
  180. 'You decide to leave your butt plug in, but remove your vibrator.'
  181. elseif bedAnal = 0 and bedVibrator = 1:
  182. analplugIN = 0
  183. gs 'stat'
  184. *nl
  185. 'You decide to remove your butt plug, but leave your vibrator in.'
  186. end
  187. elseif analplugIN = 1 and vibratorIN = 0:
  188. if bedAnal = 1:
  189. analplugIN = 0
  190. gs 'stat'
  191. *nl
  192. 'You remove your butt plug.'
  193. elseif bedAnal = 0:
  194. *nl
  195. 'You decide to leave your butt plug in.'
  196. end
  197. elseif analplugIN = 0 and vibratorIN = 1:
  198. if bedVibrator = 1:
  199. vibratorIN = 0
  200. *nl
  201. 'You remove your vibrator.'
  202. elseif bedVibrator = 0:
  203. *nl
  204. 'You decide to leave your vibrator in.'
  205. end
  206. end
  207. if $shoeworntype = 'none':
  208. $bed['shoetype'] = 'none'
  209. else
  210. $bed['shoetype'] = $shoeworntype
  211. bed['shoenumber'] = shoewornnumber
  212. !! gs 'shoes', 'strip'
  213. end
  214. if bedPanty = 1:
  215. if $pantyworntype = 'none' and $braworntype = 'none':
  216. *nl
  217. 'You put on your bra and panties.'
  218. elseif $pantyworntype ! 'none' and $braworntype = 'none':
  219. *nl
  220. 'You put on your bra.'
  221. elseif $pantyworntype ! 'none' and $braworntype ! 'none':
  222. *nl
  223. 'You put on your panties.'
  224. else
  225. *nl
  226. 'You change your bra and panties.'
  227. end
  228. elseif bedPanty = 2:
  229. if $pantyworntype ! 'none' or $braworntype ! 'none':
  230. *nl
  231. 'You remove your bra and panties.'
  232. elseif $pantyworntype ! 'none' and $braworntype = 'none':
  233. *nl
  234. 'You remove your panties.'
  235. elseif $braworntype ! 'none':
  236. *nl
  237. 'You remove your bra.'
  238. end
  239. else
  240. *nl
  241. 'You were too tired to worry about your underwear, so for tonight you left it as is.'
  242. end
  243. if $hairstyle ! '' :
  244. *nl
  245. $hairstyle
  246. else
  247. *nl
  248. 'Your hair is loose and free.'
  249. end
  250. if pcs_makeup > 1 and cosmetic_tattoo = 0:
  251. pcs_makeup = 0
  252. vidageday -= 1
  253. gs 'body', 'SkinLoss', 'MakeUpSleep'
  254. *nl
  255. 'You went to bed wearing your makeup, which will smear your face as you sleep; your skin will age faster from this!'
  256. end
  257. if fat > 5 and stringimplant = 1: silicone += 1 & fat -= 5
  258. act 'Sleep...':
  259. !!flag to stop autosave breaking my awesome clothing thingy
  260. clo_flag['bed'] = 0
  261. gt 'sleep', 'dream'
  262. end
  263. end
  264. if $ARGS[0] = 'dream':
  265. if $loc = 'nichBedroomServant':
  266. gs 'nichBedroomServant', 'sleepEvents'
  267. end
  268. *clr & cla
  269. menu_off = 1
  270. InSleep = 1
  271. gs 'stat'
  272. gs 'dreams', 'start'
  273. wake_up = 0
  274. !! to avoid sleeping the whole day I decide to calcululate the duration of the sleep in advance
  275. !! the quality of the sleep depends on many factors, so the time of sleep can be modify later, especially the part when the time of sleep is shortened
  276. varsleep['time_to_full'] = (100 - pcs_sleep) * 6
  277. !! fully exhausted Sveta can recover in 420 minutes = 7 hours of sleep
  278. !! healthy Sveta can hardly sleep more then 10 hours = 600 minutes
  279. !! so we can add about 3 hours to time to full as a limit
  280. varsleep['time_to_full'] += 150 + rand(0,60)
  281. varsleep['time_now'] = daystart*1440 + hour * 60 + minut
  282. varsleep['alarm_time_end'] = daystart*1440 + timerEnd * 60 + timerEndM
  283. if varsleep['time_now'] >= varsleep['alarm_time_end']: varsleep['alarm_time_end'] += 1440
  284. varsleep['alarm_time'] = daystart*1440 + timer * 60 + timerM
  285. if varsleep['time_now'] >= varsleep['alarm_time']: varsleep['alarm_time'] += 1440
  286. if budilnikOn = 1:
  287. varsleep['minutes to wakeup'] = min(varsleep['time_to_full'], varsleep['alarm_time'] - varsleep['time_now'])
  288. varsleep['minutes to wakeup end'] = min(varsleep['time_to_full'], varsleep['alarm_time_end'] - varsleep['time_now'])
  289. else
  290. varsleep['minutes to wakeup'] = varsleep['time_to_full']
  291. varsleep['minutes to wakeup end'] = varsleep['time_to_full']
  292. end
  293. :loopson_bed
  294. minut += 1
  295. stime += 1
  296. if recuperation = 0:pcs_health += 5
  297. if vibratorIN = 1:
  298. vtime += 1
  299. if vtime >= 5:
  300. pcs_horny +=1
  301. vtime = 0
  302. end
  303. if pcs_horny = 100:
  304. *clr & cla
  305. pcs_horny = 0
  306. orgasm += 1
  307. minut += 5
  308. gs 'stat'
  309. '<center><img <<$set_imgh>> src="images/shared/sex/oface/o_face.jpg"></center>'
  310. *nl
  311. 'You abruptly wake up in the throes of an orgasm. As you recover, you check the time, <b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b>.'
  312. act 'Go back to sleep':
  313. *clr & cla
  314. gt 'sleep', 'dream'
  315. end
  316. act 'Give up trying to sleep':
  317. *clr & cla
  318. '<center><img <<$set_imgh>> src="images/shared/sex/oface/kotovfirst1.jpg"></center>'
  319. *nl
  320. 'Maybe trying to sleep with a vibrator in your pussy wasn''t such a good idea.'
  321. gs 'sleep', 'wake'
  322. end
  323. exit
  324. end
  325. !! Exclusions for succubus dreams as they set horny to 100 and will always get overridden otherwise
  326. elseif pcs_horny > 80 and pcs_sleep >= 30 and rand (1,300) = 300 and succubusQW ! 1 and succubusQW ! 2:
  327. gs 'stat'
  328. $waketext = 'You glance at your alarm clock. It reads <b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b>.'
  329. gt 'sleep', 'wake_horny'
  330. end
  331. if stime >= 60:
  332. stime = 0
  333. pcs_sleep += 15
  334. if pcs_sleep >= 100:
  335. pcs_condition['lack_of_sleep'] = 0
  336. elseif pcs_condition['lack_of_sleep'] > 0:
  337. pcs_condition['lack_of_sleep'] -= 1
  338. end
  339. gs 'stat'
  340. end
  341. varsleep['minutes to wakeup'] -= 1
  342. varsleep['minutes to wakeup end'] -= 1
  343. if alarm_holiday = 1 and kanikuli > 0:
  344. !! use weekend time alarm
  345. varsleep['alarm_time'] = daystart*1440 + timerEnd * 60 + timerEndM
  346. if varsleep['minutes to wakeup end'] = 0: wake_up = 1
  347. elseif week > 5:
  348. !! use weeken time alarm
  349. varsleep['alarm_time'] = daystart*1440 + timerEnd * 60 + timerEndM
  350. if varsleep['minutes to wakeup end'] = 0: wake_up = 1
  351. else
  352. varsleep['alarm_time'] = daystart*1440 + timer * 60 + timerM
  353. if varsleep['minutes to wakeup'] = 0: wake_up = 1
  354. end
  355. varsleep['time_now'] = daystart*1440 + hour * 60 + minut
  356. !! Ensuring single exit point instead of multiple ones.
  357. if wake_up = 0: jump 'loopson_bed'
  358. if pcs_condition['lack_of_sleep'] >= 10:
  359. !!Worsening of skin quality if you do not sleep enough.
  360. skinDailyPenalty += 2
  361. elseif pcs_condition['lack_of_sleep'] >= 2:
  362. skinDailyPenalty += 1
  363. elseif pcs_condition['lack_of_sleep'] > 0:
  364. skinDailyPenalty += 0
  365. else
  366. skinDailyPenalty -= 1
  367. end
  368. gs 'stat'
  369. if slept_in = 1:
  370. $waketext = 'You wake up at <b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b>, after sleeping-in a little longer than planned, but at least you''ve had plenty of sleep.'
  371. elseif pcs_sleep >= 100 and budilnikOn = 1 and varsleep['time_now'] >= varsleep['alarm_time']:
  372. $waketext = 'You wake up at <b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b>, just before your alarm goes off. You''ve had plenty of sleep.'
  373. elseif pcs_sleep >= 100:
  374. $waketext = 'You wake up at <b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b>, no longer tired and ready to start the day with plenty of sleep.'
  375. elseif budilnikOn = 1 and varsleep['time_now'] = varsleep['alarm_time']:
  376. pcs_mood -= 10
  377. $waketext = 'Your alarm goes off at <b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b>, '+iif(pcs_sleep < 90, 'but you could do with some extra sleep.', 'and you''ve had plenty of sleep.')+''
  378. gs 'sleep', 'extra'
  379. else
  380. !! I do not think that it could go here
  381. $waketext = ''
  382. end
  383. gs 'sleep', 'wake'
  384. *nl
  385. '<<$waketext>>'
  386. killvar 'wake_up'
  387. end
  388. if $ARGS[0] = 'wake_horny':
  389. cla
  390. menu_off = 1
  391. InSleep = 1
  392. SleepHorny += 1
  393. gs 'stat'
  394. if $pantyworntype = 'none':
  395. if SleepHorny = 1:
  396. '<center><img <<$set_imgh>> src="images/shared/home/sleep_horny.jpg"></center>'
  397. elseif SleepHorny = 2:
  398. '<center><img <<$set_imgh>> src="images/shared/sex/mast/klit.jpg"></center>'
  399. elseif SleepHorny >= 3:
  400. '<center><img <<$set_imgh>> src="images/shared/sex/oface/kotovfirst1.jpg"></center>'
  401. end
  402. else
  403. if SleepHorny = 1:
  404. '<center><img <<$set_imgh>> src="images/shared/sex/mast/start.jpg"></center>'
  405. elseif SleepHorny = 2:
  406. '<center><img <<$set_imgh>> src="images/shared/sex/undress/kiska.jpg"></center>'
  407. elseif SleepHorny >= 3:
  408. '<center><img <<$set_imgh>> src="images/shared/sex/oface/kotovfirst1.jpg"></center>'
  409. end
  410. end
  411. *nl
  412. '<<$waketext>>'
  413. *nl
  414. if SleepHorny = 1:
  415. 'Your wet dream and overall horniness rouse you from your sleep. From one moment to the next, you are wide awake and very much aware that your pussy is hot and wet.'
  416. *nl
  417. 'You could try and go back to sleep, of course, but it''s doubtful that you would find this kind of sleep very restful; not to mention the frustration that comes with ignoring your needs, but masturbating is an option, too, and not the worst one in this situation. It might take some time, but you''d be able to sleep like a baby after.'
  418. *nl
  419. 'Of course, you could always just give up on trying to sleep and just get up.'
  420. elseif SleepHorny = 2:
  421. 'You''re so horny that you''ve woken a second time. Your pussy is still wet and wanting attention.'
  422. *nl
  423. 'You could try and get back to sleep again, but it''s doubtful that you will get much sleep, and continuously ignoring your needs won''t help; maybe you should masturbate, and make the most of the time that''s left.'
  424. *nl
  425. 'Soon you will have to get up one way or another.'
  426. elseif SleepHorny >= 3:
  427. 'Once again your horniness has roused you from your sleep. This is getting ridiculous! You are finding it very difficult to get any sleep at all.'
  428. *nl
  429. 'Going back to sleep almost feels like a waste of time at this point; you won''t get much rest at all, at least until you fix the problem.'
  430. *nl
  431. if $pantyworntype ! 'none':
  432. gs 'underwear', 'remove'
  433. 'You''ve removed your underwear, as your panties were soaked through.'
  434. *nl
  435. end
  436. 'Maybe you should just get up.'
  437. end
  438. if $loc = 'bedrPar' and sisterLesb = 6 and hour < 6:
  439. *nl
  440. 'Or... you could wake up Anya and see if your dearest sister would be willing to help you with that.'
  441. elseif $loc = 'FedorEv4':
  442. *nl
  443. 'Or... you could wake up Fedor and see if your boyfriend can''t help you with that.'
  444. elseif $loc = 'bedr' and husband > 0:
  445. *nl
  446. 'Or... you could wake up <<$husName>> and see if your husband can''t help you with that.'
  447. end
  448. act 'Try and go back to sleep':
  449. pcs_mood -= 10
  450. pcs_sleep -= 5
  451. gt 'sleep', 'dream'
  452. end
  453. act 'Masturbate': InSleep = 0 & gt 'selfplay', 'start'
  454. act 'Get out of bed (0:10)':
  455. minut += 10
  456. gs 'sleep', 'end'
  457. end
  458. if strip_here = 1:
  459. act 'Get out of bed and get dressed (0:15)':
  460. minut += 15
  461. gs 'clothing', 'wear', $lastwornclothingtype['bed'], lastwornclothingnumber['bed']
  462. gs 'panties', 'wear', $lastwornpantytype['bed'], lastwornpantynumber['bed']
  463. gs 'bras', 'wear', $lastwornbratype['bed'], lastwornbranumber['bed']
  464. if bed['shoetype'] ! 'none':
  465. gs 'shoes', 'wear', $bed['shoetype'], bed['shoenumber']
  466. end
  467. gs 'sleep', 'end'
  468. end
  469. end
  470. if $loc = 'bedrPar' and sisterLesb = 6 and hour < 6:
  471. act 'Wake Anya and see if she''s in the mood': strip_here = 0 & InSleep = 0 & gt 'sistersleep', 'sister_sleep'
  472. elseif $loc = 'FedorEv4':
  473. act 'Wake Fedor and see if he''s in the mood': strip_here = 0 & InSleep = 0 & gt 'FedorEv4', 'Bedroom 1'
  474. !!Intro text doesn''t quite fit event (but doesn''t quite fit - try for baby - scenario either) - custom scene from VK?
  475. elseif ($loc = 'bedr' or $loc = 'bedr2x') and husband > 0:
  476. act 'Wake your husband and see if he''s in the mood': strip_here = 0 & InSleep = 0 & gt 'husbSex', 'variant'
  477. !!Should be custom scene - maybe boyfriend/husband overhaul can cover this?
  478. end
  479. end
  480. if $ARGS[0] = 'wake':
  481. if mid($start_type,1,2) = 'sg' and locat['Fam_inGad'] = 0 and motherQW['bathroom_dildos'] > 0 and MarishaQW["marisha_sleepover"] = 0:gt'mother_sextalk','dildo_wakeup1'
  482. menu_off = 1
  483. InSleep = 1
  484. gs 'stat'
  485. if MarishaQW["marisha_sleepover"] = 1: gs 'marisha_ev', 'morning'
  486. if daystart < 10 and $start_type[1] = 'tg':'The first thing you think as you wake up is, "Damn! It''s is not a dream, I really am a woman now."'
  487. if daystart >= 10 and daystart < 30 and $start_type[1] = 'tg':'Looking at your female body, you are still a little surprised it''s actually you.'
  488. if slept_in = 1 and kanikuli = 0 and mid($start_type,1,2) = 'sg' and SchoolAtestat = 0 and SchoolBlock = 0 and week < 6 and hour >= 9 and hour < 14 and suspended['on'] ! 1:
  489. if schoolprogul > 2 and schoolPredupr = 2:
  490. pcs_mood -= 35
  491. gs 'stat'
  492. msg '<center>Damn it''s <b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b>. It''s too late to go to school now!<br><<$npc_nickname[''A29'']>> will be furious. I don''t know what she might do...</center>'
  493. elseif schoolprogul > 2 and schoolPredupr = 1:
  494. pcs_mood -= 30
  495. gs 'stat'
  496. msg '<center>Damn it''s <b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b>. It''s too late to go to school now!<br><<$npc_nickname[''A29'']>> will be very angry if I miss another day of school.</center>'
  497. elseif schoolprogul > 2 and schoolPredupr = 0:
  498. pcs_mood -= 25
  499. gs 'stat'
  500. msg '<center>Damn it''s <b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b>. It''s too late to go to school now!<br><<$npc_nickname[''A29'']>> will be angry to find out I missed a day of school.</center>'
  501. else
  502. pcs_mood -= 20
  503. gs 'stat'
  504. msg '<center>Damn it''s <b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b>. It''s too late to go to school now!<br><<$npc_nickname[''A29'']>> will be very upset if I''m not at school every day.</center>'
  505. end
  506. end
  507. if kanikuli = 0 and mid($start_type,1,2) = 'sg' and SchoolAtestat = 0 and SchoolBlock = 0 and week < 6 and hour >= 4 and hour < 9:
  508. if slept_in = 1 and (hour = 7 or hour = 8) and suspended['on'] ! 1:
  509. pcs_mood -= 10
  510. gs 'stat'
  511. msg '<center>Damn it''s <b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b>, you''ve slept too long! You need to hurry or you''re going to be late for school!</center>'
  512. end
  513. act 'Get out of bed and get dressed for school (0:15)':
  514. minut += 15
  515. gs 'wardrobe', 'school_outfit'
  516. gs 'sleep', 'end'
  517. end
  518. end
  519. if strip_here = 1:
  520. act 'Get out of bed and get dressed (0:15)':
  521. minut += 15
  522. gs 'clothing', 'wear', $lastwornclothingtype['bed'], lastwornclothingnumber['bed']
  523. gs 'panties', 'wear', $lastwornpantytype['bed'], lastwornpantynumber['bed']
  524. gs 'bras', 'wear', $lastwornbratype['bed'], lastwornbranumber['bed']
  525. if bed['shoetype'] ! 'none':
  526. gs 'shoes', 'wear', $bed['shoetype'], bed['shoenumber']
  527. end
  528. gs 'sleep', 'end'
  529. end
  530. end
  531. if enfullmorrout = 1 and hour >= 4 and hour < 12:
  532. act 'Full morning routine (01:00)':
  533. minut += 15
  534. fullmorrout = 1
  535. gs 'clothing', 'wear', $lastwornclothingtype['bed'], lastwornclothingnumber['bed']
  536. gs 'panties', 'wear', $lastwornpantytype['bed'], lastwornpantynumber['bed']
  537. gs 'bras', 'wear', $lastwornbratype['bed'], lastwornbranumber['bed']
  538. if bed['shoetype'] ! 'none':
  539. gs 'shoes', 'wear', $bed['shoetype'], bed['shoenumber']
  540. end
  541. gs 'sleep', 'end'
  542. end
  543. if kanikuli = 0 and mid($start_type,1,2) = 'sg' and SchoolAtestat = 0 and SchoolBlock = 0 and week < 6 and hour >= 4 and hour < 9 and suspended['on'] ! 1:
  544. act 'Full morning routine for School (01:00)':
  545. fullmorrout = 1
  546. minut += 15
  547. gs 'wardrobe', 'school_outfit'
  548. gs 'sleep', 'end'
  549. end
  550. end
  551. end
  552. act 'Get out of bed (0:10)':
  553. minut += 10
  554. slept_in = 0
  555. gs 'sleep', 'end'
  556. end
  557. end
  558. if $ARGS[0] = 'extra':
  559. act '"Snooze" a few minutes more...':
  560. menu_off = 1
  561. slept_in = 1
  562. gs 'stat'
  563. gt 'sleep', 'dream'
  564. end
  565. end
  566. if $ARGS[0] = 'end':
  567. menu_off = 1
  568. minut -= 1
  569. InSleep = 0
  570. slept_in = 0
  571. strip_here = 0
  572. SleepHorny = 0
  573. if fullmorrout = 1 and $loc = 'bedrPar':
  574. gt 'vanrPar'
  575. elseif fullmorrout = 1 and $loc = 'bedr':
  576. gt 'vanr'
  577. else
  578. gt $loc, $loc_arg
  579. end
  580. end
  581. if $ARGS[0] = 'succhoice':
  582. menu_off = 1
  583. minut += 15
  584. gs 'stat'
  585. cla
  586. if $clothingworntype ! 'nude':
  587. '<center><img <<$set_imgh>> src="images/shared/home/bed.jpg"></center>'
  588. else
  589. '<center><img <<$set_imgh>> src="images/shared/home/bedroom/son.jpg"></center>'
  590. end
  591. ''
  592. 'You toss and turn for a while, but the energy that has been buzzing under your skin since that dream just won''t let you sleep.'
  593. ''
  594. 'Thinking about it you realize that you could push the energy out or pull it in!'
  595. ''
  596. '<font color="red"><b>You also feel that both are <i>permanent</i> choices.</b></font>'
  597. act 'Try to ignore it and go to sleep':
  598. if disable_autosave = 0:
  599. if mid($start_type,1,4) = 'city':
  600. savegame 'autosave_city.sav'
  601. elseif mid($start_type,1,3) = 'uni':
  602. savegame 'autosave_uni.sav'
  603. else
  604. savegame 'autosave_sg.sav'
  605. end
  606. end
  607. gt 'sleep', 'sleep'
  608. end
  609. act 'Push the Energy out for all time': gt 'sleep', 'succhoiceNO'
  610. act 'Pull the Energy in and let it change you permanently': gt 'sleep', 'succhoiceYES'
  611. end
  612. if $ARGS[0] = 'succhoiceNO':
  613. cla
  614. menu_off = 1
  615. if $clothingworntype ! 'nude':
  616. '<center><img <<$set_imgh>> src="images/shared/home/bed.jpg"></center>'
  617. else
  618. '<center><img <<$set_imgh>> src="images/shared/home/bedroom/son.jpg"></center>'
  619. end
  620. ''
  621. 'You push the energy out of you and it dissipates.'
  622. succubusQW = 3
  623. pcs_horny = 0
  624. minut +=5
  625. gs 'stat'
  626. act 'Go to sleep':
  627. if disable_autosave = 0:
  628. if mid($start_type,1,4) = 'city':
  629. savegame 'autosave_city.sav'
  630. elseif mid($start_type,1,3) = 'uni':
  631. savegame 'autosave_uni.sav'
  632. else
  633. savegame 'autosave_sg.sav'
  634. end
  635. end
  636. gt 'sleep', 'sleep'
  637. end
  638. end
  639. if $ARGS[0] = 'succhoiceYES':
  640. cla
  641. menu_off = 1
  642. if $clothingworntype ! 'nude':
  643. '<center><img <<$set_imgh>> src="images/shared/home/bed.jpg"></center>'
  644. else
  645. '<center><img <<$set_imgh>> src="images/shared/home/bedroom/son.jpg"></center>'
  646. end
  647. succubusQW = 4
  648. ''
  649. 'You pull the energy deeper into yourself and hold it there.'
  650. ''
  651. 'Then you feel pressure building...'
  652. wait 450
  653. minut += 5
  654. gs 'stat'
  655. 'BUILDING...'
  656. wait 450
  657. minut += 5
  658. gs 'stat'
  659. '<b>BUILDING...</b>'
  660. wait 450
  661. minut += 5
  662. gs 'stat'
  663. 'Power bursts through your body causing you to hop out of bed.'
  664. act 'Continue': gt 'sleep', 'succubinit'
  665. end
  666. if $ARGS[0] = 'succubinit':
  667. *clr & cla
  668. menu_off = 1
  669. minut += 10
  670. gs 'stat'
  671. !!Sets the succubus flag, succubus level (succublvl), Initial lesbian sex count (suclezsnapshot), initial Succubus hunger (succhungry),
  672. !! & the succubus descriptor ($sucself1). The -2 on succhungry is to give th PC 2 days to get in the Succubus grove.
  673. succubusflag = 1
  674. succublvl = 1
  675. suclezsnapshot = lesbian
  676. succhungry = -2
  677. sucwalkday = daystart + 2 + rand(0,5)
  678. $sucself1 = 'that feeling'
  679. pcs_horny = 100
  680. InSleep = 0
  681. slept_in = 0
  682. strip_here = 0
  683. '<center><img <<$set_imgh>> src="images/pc/body/succubusself.jpg"></center>'
  684. *nl
  685. '<font color="red">You feel the power flowing around your body for several minutes, leaking through your skin and making changes all throughout you, before fading to a presence deep in your core leaving you looking the same as before... but feeling so different! </font>'
  686. if preg = 1:
  687. gs 'medical_din', 'remove_preg'
  688. RecovH = 0
  689. end
  690. act 'Finish': gt $loc, $loc_arg
  691. end
  692. if $ARGS[0] = 'magbstchoice':
  693. *clr & cla
  694. menu_off = 1
  695. tittmp = tits + 1
  696. '<center><img <<$set_imgh>> src="images/pc/body/tits/t<<tittmp>>.jpg"></center>'
  697. killvar 'tittmp'
  698. 'You have an odd dream where you are looking at your naked chest in a mirror and your breasts seem larger...'
  699. 'As the dream starts to drift away, you find yourself gazing at the reflection of your breasts and think:'
  700. act 'Nice, I wish my breasts really would grow.':
  701. magf2bdo = 1
  702. magtarcup += 1
  703. killvar 'mgf2bnocnt'
  704. gt 'sleep', 'sleep'
  705. end
  706. act 'Eh, I don''t like them like that.': magf2bdo = 0 & mgf2bnocnt += 1 & gt 'sleep', 'dream'
  707. end
  708. --- sleep ---------------------------------