din_bad.qsrc 54 KB

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