1
0

din_bad.qsrc 55 KB

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