din_bad.qsrc 47 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111
  1. # din_bad
  2. !2021/05/02
  3. $mobile_check = {
  4. if menu_off = 0:
  5. gs 'stat'
  6. if vladimirday ! daystart and hour >= 15 and hour <= 17:
  7. if vladimirQW = 20:
  8. '<b><font color="red">Your phone is ringing</font></b>'
  9. $caller = 'Vladimir'
  10. $callerid = 'images/characters/city/vladimir/001.jpg'
  11. gs 'telefon','phone_ring'
  12. pl'<center><a href="exec:gt ''qwloc'',''2''"><img src="images/system/phone/call_accept.png"></a> <a href="exec:vladimirday = daystart & gt $loc, $loc_arg"><img src="images/system/phone/decline.png"></a></center>'
  13. elseif vladimirQW = 25 and week = 6:
  14. '<b><font color="red">Your phone is ringing</font></b>'
  15. $caller = 'Vladimir'
  16. $callerid = 'images/characters/city/vladimir/001.jpg'
  17. gs 'telefon','phone_ring'
  18. pl'<center><a href="exec:gt ''qwloc'',''3''"><img src="images/system/phone/call_accept.png"></a> <a href="exec:vladimirday = daystart & gt $loc, $loc_arg"><img src="images/system/phone/decline.png"></a></center>'
  19. elseif vladimirQW = 35 and week = 6:
  20. '<b><font color="red">Your phone is ringing</font></b>'
  21. $caller = 'Vladimir'
  22. $callerid = 'images/characters/city/vladimir/001.jpg'
  23. gs 'telefon','phone_ring'
  24. pl'<center><a href="exec:gt ''qwloc'',''4''"><img src="images/system/phone/call_accept.png"></a> <a href="exec:vladimirday = daystart & gt $loc, $loc_arg"><img src="images/system/phone/decline.png"></a></center>'
  25. end
  26. end
  27. if leonidSlaveDay = daystart and hour >= 6 and hour <= 10 and leonidVisit = 0:
  28. '<b><font color="red">Your phone is ringing</font></b>'
  29. $caller = 'Leonid Vostov'
  30. $callerid = 'images/characters/pavlovsk/resident/leonid/leonidphone.jpg'
  31. gs 'telefon','phone_ring'
  32. pl'<center><a href="exec:gt ''leonid'', ''call''"><img src="images/system/phone/call_accept.png"></a> <a href="exec:leonidSlaveDay = daystart & gt $loc, $loc_arg"><img src="images/system/phone/decline.png"></a></center>'
  33. end
  34. if QWdogreiqTimer = 0 and QWdogReiq = 2 and week = 7 and qwdogiventday ! daystart and hour >= 12:
  35. '<b><font color="red">Your phone is ringing</font></b>'
  36. $caller = 'Margaret'
  37. $callerid = ''
  38. gs 'telefon','phone_ring'
  39. pl''
  40. pl''
  41. pl''
  42. pl''
  43. pl''
  44. pl''
  45. pl''
  46. pl''
  47. pl''
  48. pl''
  49. '<center><a href="exec:gt ''qwlocdog''"><img src="images/system/phone/call_accept.png"></a> <a href="exec:qwdogiventday = daystart & gt $loc, $loc_arg"><img src="images/system/phone/decline.png"></a></center>'
  50. end
  51. !! iterating all lovers
  52. lover_number = 0
  53. :loverloop
  54. if pcs_lovers[lover_number] = 1 and loverday[lover_number] ! daystart and hour > 5 and hour < 20 and ringA = 0 and rand(1,7) > 5:
  55. if pcs_apprnc < vneshlover[lover_number]:
  56. loverrelation[lover_number] -= 1
  57. if loverrelation[lover_number] = 0:
  58. '<b><font color="red">Your lover hasn''t been calling you lately, they''ve probably grown tired of you.</font></b>'
  59. else
  60. 'Your lover <<$loverdesc[lover_number]>> has not called you.'
  61. end
  62. else
  63. ring = 1
  64. ringA = 1
  65. '<b><font color="red">Your phone is ringing</font></b>'
  66. PLAY 'sound/old_phone.mp3',30
  67. $caller = '<<$loverdesc[lover_number]>>'
  68. $callerid = 'images/characters/shared/headshots_generic/'+lover_picture[lover_number]+'.jpg'
  69. gs 'telefon','phone_ring'
  70. pl'<center><a href="exec:gt ''telefon'', ''lover'', <<lover_number>>"><img src="images/system/phone/call_accept.png"></a> <a href="exec:gt $loc, $loc_arg"><img src="images/system/phone/decline.png"></a></center>'
  71. end
  72. end
  73. lover_number += 1
  74. if lover_number < arrsize('pcs_lovers'): jump 'loverloop'
  75. killvar 'lover_number'
  76. end
  77. }
  78. $d_salf = {
  79. *clr & cla
  80. '<center><h1>Tissues</h1></center>'
  81. '<center><img <<$set_imgh>> src="<<FUNC(''$purse_image'', $currentpursetype, currentpursenumber)>>"></center>'
  82. '<center><table cellspacing="0" cellpadding="20" valign="top"><tr>'
  83. '<td cellspacing="0" cellpadding="0" valign="top">'
  84. if cumloc[13] > 0 or cumloc[11] > 0 or cumloc[16] > 0: '<a href="exec:salfetka -= 1 & cumspclnt = 12 & gs ''cum_cleanup'' & cumspclnt = 9 & gs ''cum_cleanup'' & gs ''stat'' & gs ''din_bad'', ''d_bag''"><b>Wipe your face and hands clean</b></a>'
  85. if cumloc[14] > 0: '<a href="exec:salfetka -= 1 & cumspclnt = 14 & gs ''cum_cleanup'' & gs ''stat'' & gs ''din_bad'', ''d_bag''"><b>Wipe your belly clean</b></a>'
  86. if cumloc[15] > 0: '<a href="exec:salfetka -= 1 & cumspclnt = 16 & gs ''cum_cleanup'' & gs ''stat'' & gs ''din_bad'', ''d_bag''"><b>Wipe your breasts clean</b></a>'
  87. if cumloc[0] > 0 or cumloc[1] > 0 or cumloc[3] > 0 or cumloc[4] > 0: '<a href="exec:salfetka -= 1 & cumspclnt = 15 & gs ''cum_cleanup'' & gs ''stat'' & gs ''din_bad'', ''d_bag''"><b>Wipe your ass and pussy clean</b></a>'
  88. if cumloc[10] > 0 or cumloc[9] > 0: '<a href="exec:salfetka -= 1 & cumspclnt = 17 & gs ''cum_cleanup'' & gs ''stat'' & gs ''din_bad'', ''d_bag''"><b>Wipe your arms and legs clean</b></a>'
  89. if cumloc[2] > 0 or cumloc[5] > 0 or cumloc[6] > 0 or cumloc[7] > 0: '<a href="exec:salfetka -= 1 & cumspclnt = 6 & gs ''cum_cleanup'' & gs ''stat'' & gs ''din_bad'', ''d_bag''"><b>Clean your clothing</b></a>'
  90. if pcs_makeup ! 1 and cosmetic_tattoo = 0: '<a href="exec:salfetka -= 1 & pcs_makeup = 1 & gs ''stat'' & gs ''din_bad'', ''d_bag''"><b>Remove your makeup</b></a>'
  91. '<a href="exec:gs ''stat'' & gs ''din_bad'', ''d_bag''"><br><b>Put tissues away</b></a>'
  92. '</td></tr></table></center>'
  93. }
  94. $d_mouthwash = {
  95. *clr & cla
  96. '<center><h1>Mouth Wash</h1></center>'
  97. '<center><img <<$set_imgh>> src="<<FUNC(''$purse_image'', $currentpursetype, currentpursenumber)>>"></center>'
  98. '<center><table cellspacing="0" cellpadding="20" valign="top"><tr>'
  99. '<td cellspacing="0" cellpadding="0" valign="top">'
  100. cumspclnt = 2
  101. gs 'cum_cleanup'
  102. pcs_breath = 1
  103. mouthwash -= 1
  104. gs 'stat'
  105. 'Your breath smells minty fresh.'
  106. ''
  107. act 'Done':gs 'stat' & gs 'din_bad', 'd_bag'
  108. '</td></tr></table></center>'
  109. }
  110. if $ARGS[0] = 'd_bag':
  111. *clr & cla
  112. gs 'stat'
  113. '<center><h1>Purse</h1></center>'
  114. '<center><img <<$set_imgh>> src="<<FUNC(''$purse_image'', $currentpursetype, currentpursenumber)>>"></center>'
  115. '<center><table cellspacing="0" cellpadding="20" valign="top"><tr>'
  116. '<td cellspacing="0" cellpadding="0" valign="top">'
  117. if salfetka > 0: 'You have <b><<salfetka>></b> wet wipes left in your purse. <a href="exec:dynamic $d_salf">Use a tissue</a>'
  118. if painkiller > 0 and pain['total'] > 0 and pain['killer'] = 0:
  119. 'You have <b><<painkiller>></b> painkiller'+iif(painkiller > 1, 's ', ' ')+'left in your purse. <a href="exec: pain[''killer''] += 1 & painkiller -= 1 & gs ''din_bad'', ''d_bag''">Take One</a>'
  120. elseif painkiller > 0 and (pain['total'] = 0 or pain['killer'] > 0):
  121. 'You have <b><<painkiller>></b> painkiller'+iif(painkiller > 1, 's ', ' ')+'left in your purse.'
  122. end
  123. if mouthwash > 0 and (pcs_breath = 0 or cumloc[12] = 1):
  124. 'There''s mouthwash in your purse. <b><<mouthwash>></b> uses remaining. <a href="exec:dynamic $d_mouthwash">Use mouthwash</a>'
  125. elseif mouthwash > 0 and pcs_breath = 1 and cumloc[12] = 0:
  126. 'There''s mouthwash in your purse. <b><<mouthwash>></b> uses remaining.'
  127. end
  128. if compact_mirror = 1:
  129. 'You have a <a href="exec: gt ''mirror'', ''d_bag_mirror''">compact mirror</a> in your purse'+iif(kosmetitka > 0, ' and some portable makeup.', '.')
  130. elseif compact_mirror = 0 and kosmetitka > 0:
  131. 'You have some portable makeup in your purse, but you need a compact mirror to apply it.'
  132. end
  133. if deodorant > 0 and deodorant_on = 0:
  134. 'There''s <a href="exec:hscrunchw = 0 & gs ''din_bad'', ''p_deodorant''">deodorant</a> in your purse. <b><<deodorant>></b> uses remaining.'
  135. elseif deodorant > 0 and deodorant_on = 1:
  136. 'You are already wearing deodorant. <b><<deodorant>></b> uses remaining.'
  137. elseif deodorant = 0 and deodorant_on = 0:
  138. 'You are not wearing deodorant. <b><<deodorant>></b> uses remaining.'
  139. elseif deodorant = 0 and deodorant_on = 1:
  140. 'You are already wearing deodorant. <b><<deodorant>></b> uses remaining.'
  141. end
  142. !! Hair options
  143. *nl
  144. if (compact_mirror = 1 or greben = 1) and pcs_hairbsh = 0:
  145. 'There''s a hairbrush in your purse. <a href="exec:pcs_hairbsh = 1 & gs ''stat'' & gs ''din_bad'', ''d_bag''">Brush your hair</a>'
  146. elseif (compact_mirror = 1 or greben = 1) and pcs_hairbsh = 1:
  147. 'There''s a hairbrush in your purse. Your hair doesn''t need brushing right now.'
  148. end
  149. if pcs_hairlng > 80 and hscrunch >= 1 and hbraids = 0:
  150. if hscrunchw = 0 and hpingripw = 0: 'As you have a scrunchy, you can arrange your hair into a <a href="exec:hscrunchw = 1 & gs ''din_bad'', ''d_bag''">ponytail</a>. You have <<hscrunch>> scrunchies left.'
  151. if hscrunchw = 1: 'Remove the <a href="exec:hscrunchw = 0 & gs ''din_bad'', ''d_bag''">scrunchie</a> to get rid of the ponytail.'
  152. end
  153. if pcs_hairlng > 80 and hpingrip >= 1 and hbraids = 0:
  154. if hscrunchw = 0 and hpingripw = 0: 'You have several clips, pins and grips for you hair. Hence, you can <a href="exec:hpingripw = 1 & gs ''din_bad'', ''d_bag''">updo your hair</a>. You have <<hpingrip>> hair accessories at your disposal.'
  155. if hpingripw = 1: 'Let your hair <a href="exec:hpingripw = 0 & gs ''din_bad'', ''d_bag''">flow free</a>.'
  156. end
  157. if pcs_hairlng > 80 and pcs_hairlng <= 800 and hscrunch >= 2 and hbraids = 0:
  158. if hscrunchw = 0 and hpingripw = 0: 'You can use two hair ties to make yourself some <a href="exec:hpigtail = 1 & hscrunchw = 2 & gs ''din_bad'', ''d_bag''">pigtails</a>.'
  159. if hscrunchw = 2: '<a href="exec:hpigtail = 0 & hscrunchw = 0 & gs ''din_bad'', ''d_bag''">Remove</a> your scrunchies and let your hair flow free again.'
  160. end
  161. *nl
  162. if prezik + prezikcount + preziksabo > 0:
  163. if preziktype = 2 or preziksabo > 0:
  164. 'You have <b><<iif(preziktype = 2, prezikcount, prezikcount+prezik)>></b> normal condoms left, and <b><<iif(preziktype = 2, prezik+preziksabo, preziksabo)>></b> sabotaged <a href="exec:dynamic $din_Switch_Condom_Menu">condoms left in your purse.</a>'
  165. elseif preziktype < 2 and preziksabo = 0:
  166. 'You have <b><<prezik+prezikcount>></b> <a href="exec:dynamic $din_Switch_Condom_Menu">condoms left in your purse.</a>'
  167. end
  168. else
  169. 'You are out of condoms.'
  170. end
  171. if lubri > 0:
  172. 'You have <b><<lubri>></b> squirts of lubricant available'
  173. if auto_anal_lube = 0:
  174. 'Automatically use for anal sex: <a href="exec:auto_anal_lube = 1 & gs ''stat'' & gs ''din_bad'', ''d_bag''">No</a>'
  175. else
  176. 'Automatically use for anal sex: <a href="exec:auto_anal_lube = 0 & gs ''stat'' & gs ''din_bad'', ''d_bag''">Yes</a>'
  177. end
  178. if auto_vag_lube = 0:
  179. 'Automatically use for vaginal sex: <a href="exec:auto_vag_lube = 1 & gs ''stat'' & gs ''din_bad'', ''d_bag''">No</a>'
  180. else
  181. 'Automatically use for vaginal sex: <a href="exec:auto_vag_lube = 0 & gs ''stat'' & gs ''din_bad'', ''d_bag''">Yes</a>'
  182. end
  183. end
  184. *nl
  185. if amphetamine > 0: 'You have <b><<amphetamine>></b> tablets of amphetamine left in your purse. <a href="exec: gs ''drugs'', ''amphetamine'' & gs ''din_bad'', ''d_bag''">Take One</a>'
  186. if joint > 0: 'You have enough weed for <b><<joint>></b> joints.'
  187. if tabletki > 0 and pillsleft[ptype] > 0:
  188. 'You have <b><<tabletki>></b> unopened packages of <a href="exec:dynamic $d_tabletkied">birth control pills</a> and <b><<pillsleft[ptype]>></b> pills left in your opened package.'
  189. elseif tabletki = 0 and pillsleft[ptype] > 0:
  190. 'You have <b><<pillsleft[ptype]>></b> <a href="exec:dynamic $d_tabletkied">birth control pills</a> left in your purse.'
  191. elseif tabletki > 0 and pillsleft[ptype] = 0:
  192. 'You have <b><<tabletki>></b> unopened packages of <a href="exec:dynamic $d_tabletkied">birth control pills</a> in your purse.'
  193. else
  194. 'You are out of birth control pills.'
  195. end
  196. if morning_after_pill > 0:
  197. if morning_after_pill = 1:
  198. 'You have one <a href="exec:gs''medical_din'',''morning_after_pill''">morning after pill</a>.'
  199. else
  200. 'You have <b><<morning_after_pill>></b> <a href="exec:gs''medical_din'',''morning_after_pill''">morning after pills</a>.'
  201. end
  202. else
  203. 'You have no morning after pills.'
  204. end
  205. if mentats_have > 0 and mentats_dose < 3:
  206. '<a href="exec: gs ''drugs'', ''mentats'' & gs ''din_bad'', ''d_bag'' & *pl ''<font color = green><br>You swallow the neurobooster pill.</font>''">Use a neurobooster pill in your purse.</a> There are <b><<mentats_have>></b> pills left. The warning label says not to take more than one per day.'
  207. elseif mentats_have > 0:
  208. 'There are <b><<mentats_have>></b> neurobooster pills left. You really shouldn''t take any more pills today.'
  209. end
  210. if steroid_have > 0:'<a href="exec:dynamic $use_steroids & gs ''din_bad'', ''d_bag''">Use steroids.</a> You have <b><<steroid_have>></b> steroids left in your purse.'
  211. if bcream_have > 0:'<a href="exec:dynamic $use_bcream & gs ''din_bad'', ''d_bag''">Apply breast cream.</a> You have <b><<bcream_have>></b> cream left in your purse.'
  212. if aphrodisiac_have > 0:'<a href="exec: gs ''drugs'', ''aphrodisiac'' & gs ''din_bad'', ''d_bag'' & *pl $aphrodisiac_msg & *pl $min_arousal_msg & killvar ''$min_arousal_msg''">Chew aphrodisiac gum.</a> You have <b><<aphrodisiac_have>></b> gum left in your purse.'
  213. if refillable_bottle = 4:
  214. 'You carry your sports water bottle in your purse. It''s still completely full. <a href="exec: refillable_bottle = 3 & pcs_hydra += 75 & cumspclnt = 2 & gs ''cum_cleanup'' & gs ''stat'' & gs ''din_bad'', ''d_bag''">Drink</a>'
  215. elseif refillable_bottle = 3:
  216. 'You carry your sports water bottle in your purse. It''s two-thirds full. <a href="exec: refillable_bottle = 2 & pcs_hydra += 75 & cumspclnt = 2 & gs ''cum_cleanup'' & gs ''stat'' & gs ''din_bad'', ''d_bag''">Drink</a>'
  217. elseif refillable_bottle = 2:
  218. 'You carry your sports water bottle in your purse. It''s one-third full. <a href="exec: refillable_bottle = 1 & pcs_hydra += 75 & cumspclnt = 2 & gs ''cum_cleanup'' & gs ''stat'' & gs ''din_bad'', ''d_bag''">Drink</a>'
  219. elseif refillable_bottle = 1:
  220. 'You carry your sports water bottle in your purse. It''s empty.'
  221. end
  222. if bottle > 0: 'There''s a bottle of water in your purse. <a href="exec:bottle = 0 & pcs_hydra += 100 & cumspclnt = 2 & gs ''cum_cleanup'' & gs ''stat'' & gs ''din_bad'', ''d_bag''">Drink</a>'
  223. if buterbrod > 0: 'There''s a sandwich in your purse. <a href="exec:buterbrod = 0 & pcs_energy += 40 & cumspclnt = 2 & gs ''cum_cleanup'' & fat += 1 & gs ''stat'' & gs ''din_bad'', ''d_bag''">Eat</a>'
  224. if strapon = 1 and strapnumber = 0:
  225. 'You have a strapon harness in your purse, but you don''t have a dildo attached to it'+iif(dildo + middildo + largedildo + bigdildo + extradildo + superdildo + maddildo > 0, '. You keep your dildos in your desk at home.', ', because you don''t own one.')
  226. elseif strapon = 1 and strapnumber ! 0:
  227. 'You have a strapon harness in your purse and a <<(strapnumber +1)*5>>cm attached to it.'
  228. end
  229. if wine = 1 and alkowine = 0:'There''s a bottle of <a href="exec:dynamic $dinalkowin1">wine</a> in your purse.'
  230. if wine = 1 and alkowine = 1:'There''s a half-bottle of <a href="exec:dynamic $dinalkowin2">wine</a> in your purse.'
  231. if foto = 1:'Your purse contains a strange photo'
  232. if pattest > 0: 'You have <b><<pattest>></b> unused paternity test'+iif(used_pattest > 1, 's ', ' ')+'in your purse.'
  233. if used_pattest > 0: 'You have <b><<used_pattest>></b> <a href="exec:dynamic $test_purse">used</a> paternity test'+iif(used_pattest > 1, 's ', ' ')+'in your purse.'
  234. *nl
  235. if $pursepantytype ! '' or $pursebratype ! '': 'You also have '+iif($pursepantytype ! '','<a href="exec:view''<<func(''$panty_image'', $pursepantytype, pursepantynumber)>>''">a pair of panties</a>','')+iif($pursepantytype ! '' and $pursebratype ! '',' and ','')+iif($pursebratype ! '','<a href="exec:view''<<func(''$bra_image'', $pursebratype, pursebranumber)>>''">a bra</a>','')+' in your purse, which you can put on in the nearest bathroom.'
  236. if photographyEv >= 2: 'You have <a href="exec:gt''camera'',''start''">a camera</a> in your purse.'
  237. act 'Return':gt 'obj_din', 'menu_exit'
  238. '</td></tr></table></center>'
  239. end
  240. $dinalkowin1 = {
  241. *clr & cla
  242. alkowine = 1
  243. minut += 5
  244. gs 'drugs', 'alcohol', 'wine'
  245. gs'stat'
  246. '<center><img <<$set_imgh>> src="images/shared/food/alkowin.jpg"></center>'
  247. *nl
  248. 'You take the wine bottle out of your purse and slowly drink half of it. You struggle quite a lot to put the cork back before being able to make it.'
  249. act 'Continue':gs 'din_bad', 'd_bag'
  250. }
  251. $dinalkowin2 = {
  252. *clr & cla
  253. alkowine = 0
  254. wine = 0
  255. minut += 5
  256. gs 'drugs', 'alcohol', 'wine'
  257. gs'stat'
  258. '<center><img <<$set_imgh>> src="images/shared/food/alkowin.jpg"></center>'
  259. *nl
  260. 'You take out the remaining half wine bottle out of your purse, slowly drinking the rest of it. As you finish you throw the empty bottle away.'
  261. act 'Continue':gs 'din_bad', 'd_bag'
  262. }
  263. $din_Switch_Condom_Menu = {
  264. dynamic $din_Update_Condom_Counts
  265. *clr & cla
  266. '<center><h1>Condoms</h1></center>'
  267. '<center><img <<$set_imgh>> src="<<FUNC(''$purse_image'', $currentpursetype, currentpursenumber)>>"></center>'
  268. '<center><table cellspacing="0" cellpadding="20" valign="top"><tr>'
  269. '<td cellspacing="0" cellpadding="0" valign="top">'
  270. i = 0
  271. 'You have <<iif(preziktype < 2, prezik+prezikcount, prezikcount)>> normal condoms left and <<iif(preziktype = 2, prezik+preziksabo, preziksabo)>> sabotaged condoms left.'
  272. *nl
  273. if preziktype > 0:
  274. '<a href="exec:dynamic $din_Do_Condom_Counts, 1">Switch to using normal condoms</a>.'
  275. end
  276. if preziktype ! 1:
  277. '<a href="exec:dynamic $din_Do_Condom_Counts, 2">Stop using condoms</a>.'
  278. end
  279. if preziktype ! 2:
  280. '<a href="exec:dynamic $din_Do_Condom_Counts, 3">Switch to using sabotaged condoms</a>.'
  281. end
  282. if prezikcount > 0 or preziktype = 0:
  283. '<a href="exec:dynamic $din_Do_Condom_Counts, 4">Sabotage a condom</a>.'
  284. end
  285. *nl
  286. act 'Return':gs 'din_bad', 'd_bag'
  287. '</td></tr></table></center>'
  288. }
  289. $din_Table_Condom_Menu = {
  290. dynamic $din_Update_Condom_Counts
  291. *clr & cla
  292. '<center><h1>Condoms</h1></center>'
  293. '<center><img <<$set_imgh>> src="images/shared/home/bedroom/stol.jpg"></center>'
  294. *nl
  295. i = 1
  296. 'You have <<iif(preziktype < 2, prezik+prezikcount, prezikcount)>> normal condoms left and <<iif(preziktype = 2, prezik+preziksabo, preziksabo)>> sabotaged condoms left.'
  297. *nl
  298. if preziktype > 0:
  299. '<a href="exec:dynamic $din_Do_Condom_Counts, 1">Switch to using normal condoms</a>.'
  300. end
  301. if preziktype ! 1:
  302. '<a href="exec:dynamic $din_Do_Condom_Counts, 2">Stop using condoms</a>.'
  303. end
  304. if preziktype ! 2:
  305. '<a href="exec:dynamic $din_Do_Condom_Counts, 3">Switch to using sabotaged condoms</a>.'
  306. end
  307. if prezikcount > 0 or preziktype = 0:
  308. '<a href="exec:dynamic $din_Do_Condom_Counts, 4">Sabotage a condom</a>.'
  309. end
  310. *nl
  311. act 'Return':gt 'stol', 'bc'
  312. }
  313. !! Condom System
  314. !! prezik: Total number of condoms sveta is using (normal or damaged).
  315. !! prezikcount: Number of normal condoms sveta isn''t using.
  316. !! preziksabo: Number of damaged condoms seveta isn''t using.
  317. !! preziktyp: 0 - Use condoms / 1 - don''t use condoms / 2 - use damaged condoms
  318. !! to check if sveta wants to use a condom use if prezik > 0:
  319. $din_Do_Condom_Counts = {
  320. *clr & cla
  321. '<center><h1>Condoms</h1></center>'
  322. '<center><img <<$set_imgh>> src="<<FUNC(''$purse_image'', $currentpursetype, currentpursenumber)>>"></center>'
  323. '<center><table cellspacing="0" cellpadding="20" valign="top"><tr>'
  324. '<td cellspacing="0" cellpadding="0" valign="top">'
  325. if ARGS[0] = 1:
  326. 'Use a condom the next time you have sex.'
  327. if preziktype = 2: preziksabo = prezik
  328. prezik = prezikcount
  329. prezikcount = 0
  330. preziktype = 0
  331. elseif ARGS[0] = 2:
  332. 'You will not use a condom the next time you have sex.'
  333. if preziktype = 0: prezikcount = prezik
  334. if preziktype = 2: preziksabo = prezik
  335. prezik = 0
  336. preziktype = 1
  337. elseif ARGS[0] = 3:
  338. 'Use your sabotaged condom the next time you have sex.'
  339. if preziktype = 0: prezikcount = prezik
  340. prezik = preziksabo
  341. preziksabo = 0
  342. preziktype = 2
  343. elseif ARGS[0] = 4:
  344. if preziktype ! 0 and prezikcount > 0:
  345. preziksabo +=1
  346. prezikcount -=1
  347. 'You use a needle to punch holes in one of the condoms.'
  348. elseif preziktype = 0 and prezik > 0:
  349. preziksabo +=1
  350. prezik -=1
  351. 'You use a needle to punch holes in one of the condoms.'
  352. else
  353. 'You do not have any condoms to sabotage.'
  354. end
  355. end
  356. if i = 0:
  357. dynamic $din_Switch_Condom_Menu
  358. else
  359. dynamic $din_Table_Condom_Menu
  360. end
  361. '</td></tr></table></center>'
  362. }
  363. $din_Update_Condom_Counts = {
  364. if prezik + prezikcount + preziksabo > 0: prezikmsg = 1
  365. if preziktype = 0:
  366. if prezikcount > 0:
  367. prezik += prezikcount
  368. prezikcount = 0
  369. end
  370. if prezik <= 0:
  371. 'You are out of condoms.'
  372. prezik = 0
  373. prezikcount = 0
  374. preziktype = 1
  375. end
  376. elseif preziktype = 1:
  377. if prezik > 0:
  378. prezikcount += prezik
  379. prezik = 0
  380. end
  381. elseif preziktype = 2:
  382. if preziksabo > 0:
  383. prezik += preziksabo
  384. preziksabo = 0
  385. end
  386. if prezik <= 0 and prezikcount <= 0:
  387. if prezikmsg = 1:prezikmsg = 2
  388. prezik = 0
  389. preziksabo = 0
  390. prezikcount = 0
  391. preziktype = 1
  392. elseif prezik <= 0 and prezikcount > 0:
  393. 'You have run out of sabotaged condoms so you will have to use normal condoms.'
  394. prezik = prezikcount
  395. prezikcount = 0
  396. preziktype = 0
  397. end
  398. end
  399. }
  400. $d_tabletkied = {
  401. *clr & cla
  402. '<center><h1>Birth Control</h1></center>'
  403. '<center><img <<$set_imgh>> src="<<FUNC(''$purse_image'', $currentpursetype, currentpursenumber)>>"></center>'
  404. '<center><table cellspacing="0" cellpadding="20" valign="top"><tr>'
  405. '<td cellspacing="0" cellpadding="0" valign="top">'
  406. tabloc = 0
  407. if tabletkiday < daystart and thinkpreg = 0 and knowpreg = 0: '<a href="exec:dynamic $d_tabletkieda, 1">Take the birth control pill now.</a>'
  408. if tabletkicheck = 0 and thinkpreg = 0 and knowpreg = 0:
  409. if (tabletki > 0 or pillsleft[ptype] > 0) and birth_control['remind_hour'] = 0:
  410. '<a href="exec:gs ''din_bad'', ''set_bc_reminder''">Set a reminder to take your birth control pills.</a>'
  411. elseif (tabletki > 0 or pillsleft[ptype] > 0) and birth_control['remind_hour'] > 0:
  412. '<a href="exec:gs ''din_bad'', ''set_bc_reminder''">Change your birth control reminder.</a>'
  413. '<a href="exec:gs ''din_bad'', ''turn_off_bc_reminder''">Turn off your birth control reminder.</a>'
  414. end
  415. '<a href="exec:dynamic $d_tabletkieda, 2">Automatically take your birth control pills.</a>'
  416. elseif tabletkicheck = 1:
  417. '<a href="exec:dynamic $d_tabletkieda, 3">Stop automatically taking your birth control pills.</a>'
  418. if birth_control['remind_hour'] > 0:'<a href="exec:*clr & birth_control[''remind_hour''] = 0 & dynamic $d_tabletkieda, 3">Stop automatically taking your birth control pills.</a>'
  419. end
  420. '<a href="exec:dynamic $d_tabletkieda, 4">Examine the birth control pills.</a>'
  421. if tabletkioddk = 1: '<a href="exec:dynamic $d_tabletkieda, 5">Dump the strange pills.</a>'
  422. act 'Return':gs 'din_bad', 'd_bag'
  423. '</td></tr></table></center>'
  424. }
  425. $d_tabletkiedt = {
  426. *clr & cla
  427. '<center><h1>Birth Control</h1></center>'
  428. '<center><img <<$set_imgh>> src="images/shared/home/bedroom/stol.jpg"></center>'
  429. *nl
  430. tabloc = 1
  431. if tabletkiday < daystart and thinkpreg = 0 and knowpreg = 0: '<a href="exec:*clr & dynamic $d_tabletkieda, 1">Take the birth control pill now.</a>'
  432. if tabletkicheck = 0 and thinkpreg = 0 and knowpreg = 0:
  433. if (tabletki > 0 or pillsleft[ptype] > 0) and birth_control['remind_hour'] = 0:
  434. '<a href="exec:gs ''din_bad'', ''set_bc_reminder''">Set a reminder to take your birth control pills.</a>'
  435. elseif (tabletki > 0 or pillsleft[ptype] > 0) and birth_control['remind_hour'] > 0:
  436. '<a href="exec:gs ''din_bad'', ''set_bc_reminder''">Change your birth control reminder.</a>'
  437. '<a href="exec:gs ''din_bad'', ''turn_off_bc_reminder''">Turn off your birth control reminder.</a>'
  438. end
  439. '<a href="exec:*clr & dynamic $d_tabletkieda, 2">Automatically take your birth control pills.</a>'
  440. elseif tabletkicheck = 1 and therapistFuckedPussyStage < 2:
  441. '<a href="exec:*clr & birth_control[''remind_hour''] = 0 & dynamic $d_tabletkieda, 3">Stop automatically taking your birth control pills.</a>'
  442. end
  443. '<a href="exec:*clr & dynamic $d_tabletkieda, 4">Examine the birth control pills.</a>'
  444. if tabletkioddk = 1: '<a href="exec:*clr & dynamic $d_tabletkieda, 5">Dump the strange pills.</a>'
  445. act 'Return':gt 'stol', 'bc'
  446. }
  447. $d_tabletkieda = {
  448. cla
  449. if ARGS[0] = 1:
  450. tabletkipd += tabletkipt
  451. if tabletkiday ! daystart:
  452. gs 'din_bad','takepill'
  453. tabletkiday = daystart
  454. tabletkipt = 0
  455. tabletkipi = 0
  456. else
  457. pcs_health -= 1
  458. end
  459. pilldaychk = 1
  460. *clr
  461. dynamic $d_tabletkied
  462. 'You take your birth control pill.'
  463. gs 'stat'
  464. elseif ARGS[0] = 2:
  465. 'You will do your best to remember to take your birth control pills every day.'
  466. tabletkicheck = 1
  467. gs 'stat'
  468. elseif ARGS[0] = 3:
  469. 'You will take your birth control pills as you desire.'
  470. tabletkicheck = 0
  471. gs 'stat'
  472. elseif ARGS[0] = 4:
  473. if pcs_intel + pilldays <= rand(30,95) or therapistFuckedPussyStage > 1:
  474. 'These pills appear to be normal birth control pills.'
  475. tabletkioddk = 0
  476. gs 'stat'
  477. else
  478. if ptype = 0: $pillprob = 'nothing unusual about them.'
  479. if ptype = 1: $pillprob = 'that the pills have expired months ago.'
  480. if ptype = 2: $pillprob = 'that the label has spelling mistakes and the logo is backwards.'
  481. if ptype = 3: $pillprob = 'that the pills are discolored and there is no expiry date.'
  482. if ptype = 4: $pillprob = 'that the pills are all the same color.'
  483. if ptype = 5: $pillprob = 'that the pills seem to be smaller than normal.'
  484. 'Upon taking a closer look at your birth control pills, you notice <<$pillprob>>'
  485. if ptype > 0: tabletkioddk = 1
  486. gs 'stat'
  487. if tabloc = 0:
  488. act 'Return':gs 'din_bad', 'd_bag'
  489. else
  490. act 'Return':gt 'stol', 'bc'
  491. end
  492. end
  493. elseif ARGS[0] = 5:
  494. 'You get rid of the strange pills.'
  495. tabletkioddk = 0
  496. pillsleft[ptype] = 0
  497. tabletkioddp = 0
  498. gs 'stat'
  499. end
  500. if tabletki = 0 and pillsleft[ptype] = 0:
  501. msg 'That was your last birth control pill. You need to buy some more.'
  502. end
  503. if tabloc = 0:
  504. act 'Return':gs 'din_bad', 'd_bag'
  505. else
  506. act 'Return':gt 'stol', 'bc'
  507. end
  508. }
  509. if $ARGS[0] = 'set_bc_reminder':
  510. :invalid_bc_reminder_loop
  511. birth_control['remind_hour'] = input ("When do you want to set your reminder? (Pick an hour 1 - 22. A reminder icon will appear in the stat display during that hour.)")
  512. if birth_control['remind_hour'] < 1 or birth_control['remind_hour'] > 22:
  513. msg 'Invalid reminder input. Pick an hour between 1 and 22.'
  514. jump 'invalid_bc_reminder'
  515. else
  516. msg 'You set a reminder on your phone to take your birth control pill at <<birth_control[''remind_hour'']>>.'
  517. end
  518. end
  519. if $ARGS[0] = 'turn_off_bc_reminder':
  520. birth_control['remind_hour'] = 0
  521. msg 'You turn off your reminder to take your birth control pills.'
  522. end
  523. $d_cycreport_choice = {
  524. *clr & cla
  525. '<center><h1>Fertility Cycle</h1></center>'
  526. '<center><table cellspacing="0" cellpadding="20" valign="top"><tr>'
  527. '<td width="800" cellspacing="0" cellpadding="0" valign="top">'
  528. dynamic $d_cycreport_update
  529. '<center><b>Current Status:</b></center>'
  530. '<center><<$cycreport_txt>></center>'
  531. '</td></tr></table></center><center><table cellspacing="0" cellpadding="20" valign="top"><tr><td width="250" valign="top">'
  532. if $cycreport_txt ! 'In labour':
  533. '<center><b>Change Status because:</b></center>'
  534. if thinkpreg = 0:
  535. if knowpreg = 1:
  536. '<a href="exec: dynamic $d_cycreport_actor, 2 & gs ''stat''">I''m pregnant.</a>'
  537. '<a href="exec: dynamic $d_cycreport_actor, 1 & gs ''stat''">I can''t be pregnant no matter the evidence.</a>'
  538. else
  539. '<a href="exec: dynamic $d_cycreport_actor, 2 & gs ''stat''">I think I''m pregnant.</a>'
  540. end
  541. elseif thinkpreg = 1:
  542. if knowpreg = 1:
  543. '<a href="exec: dynamic $d_cycreport_actor, 1 & gs ''stat''">I can''t be pregnant no matter the evidence.</a>'
  544. else
  545. '<a href="exec: dynamic $d_cycreport_actor, 1 & gs ''stat''">I''m not pregnant.</a>'
  546. end
  547. end
  548. if mesec > 0 and thinkpreg ! 1 and knowpreg ! 1:
  549. '<a href="exec: dynamic $d_cycreport_actor, 3">I''m menstruating.</a>'
  550. elseif thinkpreg ! 1:
  551. '<a href="exec: dynamic $d_cycreport_actor, 4">I just recently menstruated.</a>'
  552. '<a href="exec: dynamic $d_cycreport_actor, 5">I think my menstrual cycle has stopped.</a>'
  553. end
  554. if thinkpreg = 1 or knowpreg = 1:
  555. '<a href="exec: dynamic $d_cycreport_actor, 6">I think my due date is...</a>'
  556. '<a href="exec: dynamic $d_cycreport_actor, 7">I think the father is...</a>'
  557. end
  558. if knowpregloss = 1:
  559. '<a href="exec: dynamic $d_cycreport_actor, 8">I just had an abortion.</a>'
  560. elseif knowpregloss > 1 or thinkpreg = 1:
  561. '<a href="exec: dynamic $d_cycreport_actor, 8">I think I lost a baby.</a>'
  562. end
  563. elseif cycle = 5:
  564. 'Broken water and contractions, it''s pretty clear what is going on. You need to get to a hospital ASAP.'
  565. else
  566. dynamic $d_cycreport_actor, 10
  567. end
  568. act 'Exit':gs 'stat' & gt $loc, $loc_arg
  569. '</td></tr></table></center>'
  570. }
  571. $d_cycreport_actor = {
  572. !! Svetlana has decided she is not pregnant
  573. if ARGS[0] = 1:
  574. $cycreport_txt = 'It has been <<temp>> days since you last remember having a period.'
  575. if knowpreg = 1:
  576. denypreg = 1
  577. thinkpreg = 0
  578. else
  579. denypreg = 0
  580. thinkpreg = 0
  581. end
  582. dynamic $d_cycreport_update
  583. gs 'stat'
  584. dynamic $d_cycreport_choice
  585. !! Svetlana has decided she is pregnant.
  586. elseif ARGS[0] = 2:
  587. thinkpreg = 1
  588. denypreg = 0
  589. dynamic $d_cycreport_update
  590. gs 'stat'
  591. dynamic $d_cycreport_choice
  592. !! Svetlana is Menstrating.
  593. elseif ARGS[0] = 3:
  594. thinkpreg = 0
  595. denypreg = 0
  596. daylastperiod = daystart
  597. dynamic $d_cycreport_update
  598. gs 'stat'
  599. dynamic $d_cycreport_choice
  600. !! Svetlana is remembering her last period.
  601. elseif ARGS[0] = 4:
  602. thinkpreg = 0
  603. denypreg = 0
  604. *clr & cla
  605. '<center><h1>Fertility Cycle</h1></center>'
  606. '<center><table cellspacing="0" cellpadding="20" valign="top"><tr>'
  607. '<td width="250" cellspacing="0" cellpadding="0" valign="top">'
  608. 'How many days ago was it you had your last period?'
  609. 'Currently: <<pertemp>>'
  610. '<a href="exec: pertemp += 1 & dynamic $d_cycreport_actor, 4">+1</a> <a href="exec: pertemp += 5 & dynamic $d_cycreport_actor, 4">+5</a> <a href="exec: pertemp += 10 & dynamic $d_cycreport_actor, 4">+10</a> <a href="exec: pertemp = 0 & dynamic $d_cycreport_actor, 4">Reset</a> <a href="exec: daylastperiod = (daystart - pertemp) & dynamic $d_cycreport_update & gs ''stat'' & dynamic $d_cycreport_choice">Accept</a>'
  611. act 'Return':dynamic $d_cycreport_choice
  612. act 'Exit':gs 'stat' & gt $loc, $loc_arg
  613. '</td></tr></table></center>'
  614. !! Svetlana thinks she doesn''t have periods anymore. Good birth control has this effect (as does pregnancy.)
  615. elseif ARGS[0] = 5:
  616. if knowpreg = 1:
  617. denypreg = 1
  618. else
  619. denypreg = 0
  620. end
  621. thinkpreg = 0
  622. $cycreport_txt = 'You do not believe you have periods any more.'
  623. gs 'stat'
  624. dynamic $d_cycreport_choice
  625. !! Svetlana is trying to figure out her due date.
  626. elseif ARGS[0] = 6:
  627. *clr & cla
  628. '<center><h1>Fertility Cycle</h1></center>'
  629. '<center><table cellspacing="0" cellpadding="20" valign="top"><tr>'
  630. '<td width="250" cellspacing="0" cellpadding="0" valign="top">'
  631. 'How many days ago was it you had your last period?'
  632. 'Currently: <<pertemp>>'
  633. '<a href="exec: pertemp += 1 & dynamic $d_cycreport_actor, 6">+1</a> <a href="exec: pertemp += 5 & dynamic $d_cycreport_actor, 6">+5</a> <a href="exec: pertemp += 10 & dynamic $d_cycreport_actor, 6">+10</a> <a href="exec: pertemp = 0 & dynamic $d_cycreport_actor, 6">Reset</a> <a href="exec: daylastperiod = daystart - pertemp & dynamic $d_cycreport_update & gs ''stat'' & dynamic $d_cycreport_choice">Accept</a>'
  634. act 'Return':dynamic $d_cycreport_choice
  635. act 'Exit':gs 'stat' & gt $loc, $loc_arg
  636. '</td></tr></table></center>'
  637. !! Svetlana is trying to guess who is the babydaddy.
  638. elseif ARGS[0] = 7:
  639. *clr & cla
  640. '<center><h1>Fertility Cycle</h1></center>'
  641. '<center><table cellspacing="0" cellpadding="20" valign="top"><tr>'
  642. '<td width="500" cellspacing="0" cellpadding="0" valign="top">'
  643. potfather_temp[1] = arrsize('$wombpotfath')
  644. if potfather_temp[1] > 0:
  645. potfather_counter = 0
  646. 'List of potential fathers:'
  647. :potfather_loop
  648. if $wombpotfath[potfather_counter] ! 'unknown':
  649. $potfather_temp[2] = '<a href="exec: $wombthfath = ''<<$npc_usedname[$wombpotfath[potfather_counter]]>>'' & $wombthfathID = ''<<$wombpotfath[potfather_counter]>>'' & dynamic $d_cycreport_actor, 7 & gs ''stat''"><<$npc_usedname[$wombpotfath[potfather_counter]]>> (<<$wombpotfath[potfather_counter]>>)</a>'
  650. else
  651. $potfather_temp[2] = '<a href="exec: $wombthfath = ''<<$npc_usedname[$wombpotfath[potfather_counter]]>>'' & $wombthfathID = ''<<$wombpotfath[potfather_counter]>>'' & dynamic $d_cycreport_actor, 7 & gs ''stat''">Unknown (-)</a>'
  652. end
  653. 'Potential father (<<potfather_counter + 1>>): <<$potfather_temp[2]>>'
  654. potfather_counter += 1
  655. if potfather_counter < arrsize('$wombpotfath'): jump 'potfather_loop'
  656. else
  657. 'There are no potential fathers.'
  658. end
  659. killvar 'potfather_counter'
  660. '<br> <a href="exec:dynamic $d_cycreport_choice & gs ''stat''">Accept</a>'
  661. '</td></tr></table></center>'
  662. act 'Return':dynamic $d_cycreport_choice
  663. act 'Exit':gs 'stat' & gt $loc, $loc_arg
  664. !! This is the old code that was broken, keeping it for now (julzor)
  665. !! {
  666. tempmax = arrsize('$cumfthname')-1
  667. tempcurr = 0
  668. sumcum = 0
  669. *nl
  670. :potfathloop
  671. if cumtime[tempcurr] > 1:$cum = 'cumshots' else $cum = 'cumshot'
  672. if cumtime[tempcurr] > 0: '<<$npc_usedname[$cumfthname[tempcurr]]>> (<<$cumfthname[tempcurr]>>) - <<cumtime[tempcurr]>> <<$cum>>' & sumcum += cumtime[tempcurr]
  673. if tempcurr < tempmax:tempcurr += 1 & jump 'potfathloop'
  674. if sumcum > 1:$cum = 's' else $cum = ''
  675. '<br>You think you have had <<sumcum>> load<<$cum>> of cum shot<<$cum>> in your womb altogether that could have gotten you pregnant.'
  676. 'You suspect the father being: <<$wombthfath>><br>'
  677. *nl
  678. tempcurr = 0
  679. :pickfathloop
  680. if cumtime[tempcurr] > 0:
  681. if $npc_usedname[$cumfthname[tempcurr]] <> '':
  682. '<a href="exec: $wombthfath = ''<<$npc_usedname[$cumfthname[tempcurr]]>>'' & $wombthfathID = ''<<$cumfthname[tempcurr]>>'' & dynamic $d_cycreport_actor, 7 & gs ''stat''"><<$npc_usedname[$cumfthname[tempcurr]]>> (<<$cumfthname[tempcurr]>>)</a>'
  683. else
  684. ' <a href="exec: $wombthfath = ''<<$npc_usedname[$cumfthname[tempcurr]]>>'' & $wombthfathID = ''<<$cumfthname[tempcurr]>>'' & dynamic $d_cycreport_actor, 7 & gs ''stat''">Unknown (-)</a>'
  685. end
  686. end
  687. if tempcurr < tempmax:tempcurr += 1 & jump 'pickfathloop'
  688. killvar 'sumcum'
  689. killvar 'cum'
  690. killvar 'tempmax'
  691. killvar 'tempcurr'
  692. }
  693. !! Just recently lost a baby to abortion, miscarriage, or think you did because your period finally arrived.
  694. elseif ARGS[0] = 8:
  695. thinkpreg = 0
  696. $cycreport_txt = 'Your body is recovering from the trauma of pregnancy after your miscarrage.'
  697. dynamic $d_cycreport_update
  698. gs 'stat'
  699. dynamic $d_cycreport_choice
  700. !! Just recently gave birth.
  701. elseif ARGS[0] = 10:
  702. temp = arrsize('Babyptype')
  703. temp -= 1
  704. $cycreport_txt = 'You are currently recovering from childbirth. You gave birth on <<monthkid[temp]>> / <<daykid[temp]>> / <<yearkid[temp]>>.'
  705. gs 'stat'
  706. end
  707. }
  708. $d_cycreport_update = {
  709. killvar 'temp'
  710. if thinkpreg = 1 or knowpreg = 1: dynamic $d_cycreport_upduedate
  711. !! Vagblood in a future update to account for babydamage and miscarrages.
  712. if mesec > 0 or vagblood > 0:
  713. $cycreport_txt = 'You are currently bleeding.'
  714. else
  715. if cyccustom = 1:
  716. if preg = 1 and knowpreg = 1:
  717. $cycreport_txt = 'You are pregnant. Your due date is around <<$pregduedate>>.'
  718. if $wombthfath ! 'unknown':
  719. $cycreport_txt = '<<$cycreport_txt>> You suspect the father being <<$wombthfath>>.'
  720. end
  721. elseif knowpregloss = 1:
  722. $cycreport_txt = 'Your body is recovering from the trauma of pregnancy after your abortion.'
  723. elseif knowpregloss = 2:
  724. $cycreport_txt = 'Your body is recovering from the trauma of pregnancy after your miscarrage.'
  725. elseif knowpregrecover = 1:
  726. $cycreport_txt = 'Your body is recovering from the trauma of childbirth.'
  727. elseif menoage <= age and cycle = 6:
  728. $cycreport_txt = 'You have gone through menopause.'
  729. else
  730. temp[1] = daystart-daylastperiod
  731. if tabletkishot > 0:
  732. $cycreport_txt = 'It has been <<temp[1]>> days since the start of your last period. <font color=green>You are currently protected by a birth control shot.</font>'
  733. elseif birth_control['implant_status'] > 1 and pillcon2 >= 30000:
  734. $cycreport_txt = 'It has been <<temp[1]>> days since the start of your last period. <font color=green>Your implant protects you from getting pregnant.</font>'
  735. elseif birth_control['implant_status'] > 1 and pillcon2 < 30000:
  736. $cycreport_txt = 'It has been <<temp[1]>> days since the start of your last period. <font color=red>Your implant is not yet effective.</font>'
  737. elseif pillcon2 > 0 and birth_control['think_safe'] = 1:
  738. $cycreport_txt = 'It has been <<temp[1]>> days since the start of your last period. <font color=green>You are currently on the birth control pill.</font>'
  739. elseif pillcon2 > 0 and ((FocH > (Foch_Max - 96)) or ovulate > 0) and birth_control['think_safe'] = 0:
  740. $cycreport_txt = 'It has been <<temp[1]>> days since the start of your last period. You are currently on the pill but it is not yet effective. <font color=red>It is currently a dangerous day.</font>'
  741. elseif pillcon2 > 0 and birth_control['think_safe'] = 0:
  742. $cycreport_txt = 'It has been <<temp[1]>> days since the start of your last period. You are currently on the pill but it is not yet effective.'
  743. elseif daystart = tabletkiday:
  744. $cycreport_txt = 'It has been <<temp[1]>> days since the start of your last period. You have taken the pill but it will be several weeks before it is fully effective.'
  745. elseif FocH > (Foch_Max - 96) or ovulate > 0:
  746. $cycreport_txt = 'It has been <<temp[1]>> days since the start of your last period. <font color=red>It is currently your fertile stage.</font>'
  747. elseif birth_control['implant_status'] = 1:
  748. $cycreport_txt = 'It has been <<temp[1]>> days since the start of your last period. <font color=red>Your implant stopped working. You need a new one.</font>'
  749. elseif birth_control['think_safe'] ! 1 and stat['safe_day'] = 1:
  750. $cycreport_txt = 'It has been <<temp[1]>> days since the start of your last period. <font color=green>Today is a safe day to have unprotected sex.</font>'
  751. elseif birth_control['think_safe'] ! 1 and stat['probably_safe_day'] = 1:
  752. $cycreport_txt = 'It has been <<temp[1]>> days since the start of your last period. <font color=blue>Today is <i>probably</i> a safe day to have unprotected sex.</font>'
  753. elseif birth_control['think_safe'] ! 1 and stat['dangerous_day'] = 1:
  754. $cycreport_txt = 'It has been <<temp[1]>> days since the start of your last period. <font color=red>Today is a dangerous day to have unprotected sex.</font>'
  755. else
  756. $cycreport_txt = 'It has been <<temp[1]>> days since the start of your last period.'
  757. end
  758. end
  759. elseif denypreg = 1:
  760. if pregchem < 525:
  761. denypreg = 1
  762. thinkpreg = 0
  763. $cycreport_txt = 'There is nothing wrong, your cycle is just irregular.'
  764. elseif pregchem < 1863:
  765. denypreg = 1
  766. thinkpreg = 0
  767. $cycreport_txt = 'You have a strange flu making you feel ill.'
  768. elseif pregchem < 4000:
  769. denypreg = 1
  770. thinkpreg = 0
  771. $cycreport_txt = 'Your strange flu still hasn''t gone away. As soon as it does you plan to exercise and lose the excess fat you''be been building up.'
  772. elseif pregchem < 6000:
  773. denypreg = 1
  774. thinkpreg = 0
  775. $cycreport_txt = 'Your weight just won''t come off...'
  776. elseif pregchem < 7500:
  777. denypreg = 1
  778. thinkpreg = 0
  779. $cycreport_txt = 'People are rude, constantly asking you when you are due. You are not pregnant!'
  780. elseif pregchem >= 7500:
  781. thinkpreg = 0
  782. $cycreport_txt = 'Surely if you were pregnant, you''d have had the baby by now, so you can''t possibly be pregnant.'
  783. else
  784. temp = daystart-daylastperiod
  785. $cycreport_txt = 'It has been <<temp>> days since you last remember having a period.'
  786. end
  787. elseif cyccustom = 0:
  788. if $cycreport_txt ! 'In labour':
  789. if thinkpreg = 1 or knowpreg = 1:
  790. if knowpreg = 0: $temp = ' think you'
  791. if $wombthfath = 'unknown' or $wombthfath = '':
  792. $cycreport_txt = 'You<<$temp>> are pregnant. You aren''t yet sure who the father is. Based on your last remembered period, your due date is probably around <<$pregduedate>>.'
  793. else
  794. $cycreport_txt = 'You<<$temp>> are pregnant with <<$wombthfath>>''s baby. Based on your last remembered period, your due date is probably around <<$pregduedate>>.'
  795. end
  796. elseif $cycreport_txt = 'Your body is recovering from the trauma of pregnancy after your miscarrage.':
  797. if knowpregloss = 1: $cycreport_txt = 'Your body is recovering from the trauma of pregnancy after your abortion.'
  798. elseif $cycreport_txt ! 'You do not believe you have periods any more.':
  799. temp = daystart-daylastperiod
  800. $cycreport_txt = 'It has been <<temp>> days since you last remember having a period.'
  801. end
  802. killvar 'temp'
  803. end
  804. end
  805. end
  806. }
  807. $d_cycreport_upduedate = {
  808. !! implant_calc: Calculation of an implantation date in the uterus (Average is 5 days after ovulation)
  809. implant_calc = daystart - lastovulation + 5
  810. !! Human gastation period: 280 days
  811. gastation_time = 280 / (1 + pregspeedcheat)
  812. temp = gastation_time - implant_calc
  813. pregdueday = day
  814. pregduemonth = month
  815. pregdueyear = year
  816. temp += pregdueday
  817. pregdueday = 0
  818. :pregduedateloop
  819. if pregduemonth = 1 and temp > 31:
  820. pregduemonth += 1
  821. temp -= 31
  822. elseif pregduemonth = 2 and temp > 28:
  823. pregduemonth += 1
  824. temp -= 28
  825. elseif pregduemonth = 3 and temp > 31:
  826. pregduemonth += 1
  827. temp -= 31
  828. elseif pregduemonth = 4 and temp > 30:
  829. pregduemonth += 1
  830. temp -= 30
  831. elseif pregduemonth = 5 and temp > 31:
  832. pregduemonth += 1
  833. temp -= 31
  834. elseif pregduemonth = 6 and temp > 30:
  835. pregduemonth += 1
  836. temp -= 30
  837. elseif pregduemonth = 7 and temp > 31:
  838. pregduemonth += 1
  839. temp -= 31
  840. elseif pregduemonth = 8 and temp > 31:
  841. pregduemonth += 1
  842. temp -= 31
  843. elseif pregduemonth = 9 and temp > 30:
  844. pregduemonth += 1
  845. temp -= 30
  846. elseif pregduemonth = 10 and temp > 31:
  847. pregduemonth += 1
  848. temp -= 31
  849. elseif pregduemonth = 11 and temp > 30:
  850. pregduemonth += 1
  851. temp -= 30
  852. elseif pregduemonth = 12 and temp > 31:
  853. pregduemonth = 1
  854. pregdueyear += 1
  855. temp -= 31
  856. else
  857. pregdueday = temp
  858. temp = 0
  859. end
  860. if temp > 0: jump 'pregduedateloop'
  861. $pregduedate = '<<pregdueday>> '
  862. if pregduemonth = 1:
  863. $pregduedate += 'Jan'
  864. elseif pregduemonth = 2:
  865. $pregduedate += 'Feb'
  866. elseif pregduemonth = 3:
  867. $pregduedate += 'Mar'
  868. elseif pregduemonth = 4:
  869. $pregduedate += 'Apr'
  870. elseif pregduemonth = 5:
  871. $pregduedate += 'May'
  872. elseif pregduemonth = 6:
  873. $pregduedate += 'Jun'
  874. elseif pregduemonth = 7:
  875. $pregduedate += 'Jul'
  876. elseif pregduemonth = 8:
  877. $pregduedate += 'Aug'
  878. elseif pregduemonth = 9:
  879. $pregduedate += 'Sep'
  880. elseif pregduemonth = 10:
  881. $pregduedate += 'Oct'
  882. elseif pregduemonth = 11:
  883. $pregduedate += 'Nov'
  884. elseif pregduemonth = 12:
  885. $pregduedate += 'Dec'
  886. end
  887. $pregduedate += ' <<pregdueyear>>'
  888. }
  889. $d_pregmovement = {
  890. if denypreg = 0 and pregchem > 0:
  891. if thinkpreg > 0 and knowpreg = 0:
  892. knowpreg = 1
  893. if kid <= 0:
  894. 'Your heart flutters as you feel a baby moving around inside you for the first time.'
  895. else
  896. 'The movement inside you confirms what you already suspected. You are pregnant once again.'
  897. end
  898. elseif knowpreg > 0:
  899. temprand = rand(0,2)
  900. if temprand = 0:
  901. if pregchem > 5000:
  902. 'Your baby visibly moves around inside you.'
  903. else
  904. 'You feel movement deep inside you as your baby shifts around.'
  905. end
  906. elseif temprand = 1:
  907. if pregchem > 5000:
  908. 'You wince as your baby delivers a vicious kick to your insides.'
  909. else
  910. 'You feel your baby kicking.'
  911. end
  912. elseif temprand = 2:
  913. if pregchem > 5000:
  914. 'You feel your baby kicking, look down, and see your belly twitching from it''s movements.'
  915. else
  916. 'You feel your baby kicking.'
  917. end
  918. end
  919. else
  920. if cyccustom = 1:
  921. if pregchem < 4000:
  922. if kid <= 0 :
  923. 'You feel a weird and strange fluttering sensation around inside your stomach. Perhaps you should see the doctor?'
  924. else
  925. 'It feels as if a baby is moving inside you. Are you pregnant?'
  926. end
  927. else
  928. knowpreg = 1
  929. if kid <= 0:
  930. 'It''s become pretty obvious. You are pregnant.'
  931. else
  932. 'It''s become pretty obvious. You are pregnant once again.'
  933. end
  934. end
  935. end
  936. end
  937. elseif pregchem > 0:
  938. if kid > 0 and PregChem > 3903:
  939. 'You try to deny it, but you just can''t any more. The large belly, the movement, you are pregnant once again.'
  940. denypreg = 0
  941. dynamic $d_cycreport_upduedate
  942. $cycreport_txt = 'You are pregnant.'
  943. else
  944. 'You feel movement deep inside you. It''s probably just gas.'
  945. end
  946. end
  947. }
  948. $use_steroids = {
  949. if steroid_dose < 3:
  950. '<font color = blue>You swallow the orange pill.</font>'
  951. steroid_dose += 1
  952. steroid_counter += 1
  953. steroid_have -= 1
  954. else
  955. 'You really shouldn''t take any more pills today.'
  956. end
  957. }
  958. $use_bcream = {
  959. if bcream_used < 1:
  960. '<font color = #DB7093>You smear the cream onto your breasts and rub it in.</font>'
  961. bcream_used = 1
  962. bcream_have -= 1
  963. else
  964. 'Using any more cream won''t have any effect.'
  965. end
  966. }
  967. if $ARGS[0] = 'takepill':
  968. if tabletki > 0 and pillsleft[ptype] = 0:
  969. tabletkirand = rand(1, tabletki)
  970. if tabletkirand <= tabletkiold:
  971. tabletki -=1
  972. tabletkiold -=1
  973. ptype = 1
  974. pillsleft[ptype] = 28
  975. elseif tabletkirand <= tabletkiold + tabletkifake:
  976. tabletki -=1
  977. tabletkifake -=1
  978. ptype = 2
  979. pillsleft[ptype] = 28
  980. elseif tabletkirand <= tabletkiold + tabletkifake + tabletkirej:
  981. tabletki -=1
  982. tabletkirej -=1
  983. ptype = 3
  984. pillsleft[ptype] = 28
  985. elseif tabletkirand <= tabletkiold + tabletkifake + tabletkirej + tabletkisug:
  986. tabletki -=1
  987. tabletkisug -=1
  988. ptype = 4
  989. pillsleft[ptype] = 28
  990. elseif tabletkirand <= tabletkiold + tabletkifake + tabletkirej + tabletkisug + tabletkifert:
  991. tabletki -=1
  992. tabletkifert -=1
  993. ptype = 5
  994. pillsleft[ptype] = 28
  995. else
  996. tabletki -=1
  997. ptype = 0
  998. pillsleft[ptype] = 28
  999. end
  1000. killvar 'tabletkirand'
  1001. end
  1002. !! added empty week to allow menstruation - it take effect only when the pills are taken automatically
  1003. if placebopart <= 0 or tabletkicheck ! 1:
  1004. if ptype = 0:
  1005. pillsleft[ptype] -= 1
  1006. pcs_skin += 1
  1007. pillcon += ((pillcon + 15000) / 25) + 4000
  1008. elseif ptype = 1:
  1009. pillsleft[ptype] -= 1
  1010. pcs_skin += rand(0,1)
  1011. pillcon += (( pillcon+ 15000) / 25)+ rand(2000,4000)
  1012. elseif ptype = 2:
  1013. pillsleft[ptype] -= 1
  1014. pcs_skin += rand(0,1)
  1015. pillcon += ((pillcon + 15000) / 25)+ rand(500,2000)
  1016. elseif ptype = 3:
  1017. pillsleft[ptype] -= 1
  1018. pcs_skin += rand(0,1)
  1019. if rand(0,4) = 0: pain['tummy'] += rand(5,10)
  1020. pillcon += ((pillcon + 15000) / 25)+ rand(2000,6000)
  1021. elseif ptype = 4:
  1022. pillsleft[ptype] -= 1
  1023. elseif ptype = 5:
  1024. pillsleft[ptype] -= 1
  1025. pcs_skin += 1
  1026. EggRH += rand(10,80)
  1027. end
  1028. !!pillcon2 is the ideal state, PC considers this the believed pillcon value
  1029. pillcon2 += ((pillcon2 + 15000) / 25) + 4000
  1030. if pillcon2 > 40000: pillcon2 = 40000
  1031. if pillcon > 40000: pillcon = 40000
  1032. end
  1033. end
  1034. if $ARGS[0] = 'quick_takepill':
  1035. tabletkipd += tabletkipt
  1036. if tabletkiday ! daystart:
  1037. gs 'din_bad','takepill'
  1038. tabletkiday = daystart
  1039. tabletkipt = 0
  1040. tabletkipi = 0
  1041. else
  1042. pcs_health -= 1
  1043. end
  1044. pilldaychk = 1
  1045. if birth_control['message_skip'] ! daystart:
  1046. if tabletki = 0 and pillsleft[ptype] = 0:
  1047. msg 'That was your last birth control pill. You need to buy some more.'
  1048. else
  1049. msg 'You take your birth control pill.'
  1050. end
  1051. end
  1052. gs 'stat'
  1053. end
  1054. if $ARGS[0] = 'p_deodorant':
  1055. minut += 1
  1056. deodorant -= 1
  1057. gs 'sweat', 'deo'
  1058. gs 'stat'
  1059. gs 'din_bad', 'd_bag'
  1060. end
  1061. --- din_bad ---------------------------------