din_bad.qsrc 55 KB

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