din_bad.qsrc 57 KB

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