din_bad.qsrc 48 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123
  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 painkiller > 0 and pain['total'] > 0 and pain['killer'] = 0:
  119. 'You have <b><<painkiller>></b> painkiller'+iif(painkiller > 1, 's ', ' ')+'left in your purse. <a href="exec: pain[''killer''] += 1 & painkiller -= 1 & gs ''din_bad'', ''d_bag''">Take One</a>'
  120. elseif painkiller > 0 and (pain['total'] = 0 or pain['killer'] > 0):
  121. 'You have <b><<painkiller>></b> painkiller'+iif(painkiller > 1, 's ', ' ')+'left in your purse.'
  122. end
  123. if mc_inventory['mouthwash'] > 0 and (pcs_breath = 0 or cumloc[12] = 1):
  124. 'There''s mouthwash in your purse. <b><<mouthwash>></b> uses remaining. <a href="exec:dynamic $d_mouthwash">Use mouthwash</a>'
  125. elseif mc_inventory['mouthwash'] > 0 and pcs_breath = 1 and cumloc[12] = 0:
  126. 'There''s mouthwash in your purse. <b><<mouthwash>></b> uses remaining.'
  127. end
  128. if 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 prezik + prezikcount + preziksabo > 0:
  166. if preziktype = 2 or preziksabo > 0:
  167. 'You have <b><<iif(preziktype = 2, prezikcount, prezikcount+prezik)>></b> normal condoms left, and <b><<iif(preziktype = 2, prezik+preziksabo, preziksabo)>></b> sabotaged <a href="exec:dynamic $din_Switch_Condom_Menu">condoms left in your purse.</a>'
  168. elseif preziktype < 2 and preziksabo = 0:
  169. 'You have <b><<prezik+prezikcount>></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 lubri > 0:
  175. 'You have <b><<lubri>></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 tabletki > 0 and pillsleft[ptype] > 0:
  192. 'You have <b><<tabletki>></b> unopened packages of <a href="exec:dynamic $d_tabletkied">birth control pills</a> and <b><<pillsleft[ptype]>></b> pills left in your opened package.'
  193. elseif tabletki = 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 tabletki > 0 and pillsleft[ptype] = 0:
  196. 'You have <b><<tabletki>></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 morning_after_pill > 0:
  201. if 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><<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 refillable_bottle = 4:
  218. 'You carry your sports water bottle in your purse. It''s still completely full. <a href="exec: refillable_bottle = 3 & pcs_hydra += 75 & cumspclnt = 2 & gs ''cum_cleanup'' & gs ''stat'' & gs ''din_bad'', ''d_bag''">Drink</a>'
  219. elseif refillable_bottle = 3:
  220. 'You carry your sports water bottle in your purse. It''s two-thirds full. <a href="exec: refillable_bottle = 2 & pcs_hydra += 75 & cumspclnt = 2 & gs ''cum_cleanup'' & gs ''stat'' & gs ''din_bad'', ''d_bag''">Drink</a>'
  221. elseif refillable_bottle = 2:
  222. 'You carry your sports water bottle in your purse. It''s one-third full. <a href="exec: refillable_bottle = 1 & pcs_hydra += 75 & cumspclnt = 2 & gs ''cum_cleanup'' & gs ''stat'' & gs ''din_bad'', ''d_bag''">Drink</a>'
  223. elseif refillable_bottle = 1:
  224. 'You carry your sports water bottle in your purse. It''s empty.'
  225. end
  226. if bottle > 0: 'There''s a bottle of water in your purse. <a href="exec:bottle = 0 & pcs_hydra += 100 & cumspclnt = 2 & gs ''cum_cleanup'' & gs ''stat'' & gs ''din_bad'', ''d_bag''">Drink</a>'
  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 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(dildo + middildo + largedildo + bigdildo + extradildo + superdildo + maddildo > 0, '. You keep your dildos in your desk at home.', ', because you don''t own one.')
  230. elseif 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 wine = 1 and alkowine = 0:'There''s a bottle of <a href="exec:dynamic $dinalkowin1">wine</a> in your purse.'
  234. if 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. 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, prezik+prezikcount, prezikcount)>> normal condoms left and <<iif(preziktype = 2, prezik+preziksabo, preziksabo)>> 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 prezikcount > 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, prezik+prezikcount, prezikcount)>> normal condoms left and <<iif(preziktype = 2, prezik+preziksabo, preziksabo)>> 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 prezikcount > 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. !! prezik: Total number of condoms sveta is using (normal or damaged).
  319. !! prezikcount: Number of normal condoms sveta isn''t using.
  320. !! preziksabo: 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 prezik > 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: preziksabo = prezik
  332. prezik = prezikcount
  333. prezikcount = 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: prezikcount = prezik
  338. if preziktype = 2: preziksabo = prezik
  339. prezik = 0
  340. preziktype = 1
  341. elseif ARGS[0] = 3:
  342. 'Use your sabotaged condom the next time you have sex.'
  343. if preziktype = 0: prezikcount = prezik
  344. prezik = preziksabo
  345. preziksabo = 0
  346. preziktype = 2
  347. elseif ARGS[0] = 4:
  348. if preziktype ! 0 and prezikcount > 0:
  349. preziksabo +=1
  350. prezikcount -=1
  351. 'You use a needle to punch holes in one of the condoms.'
  352. elseif preziktype = 0 and prezik > 0:
  353. preziksabo +=1
  354. prezik -=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 prezik + prezikcount + preziksabo > 0: prezikmsg = 1
  369. if preziktype = 0:
  370. if prezikcount > 0:
  371. prezik += prezikcount
  372. prezikcount = 0
  373. end
  374. if prezik <= 0:
  375. 'You are out of condoms.'
  376. prezik = 0
  377. prezikcount = 0
  378. preziktype = 1
  379. end
  380. elseif preziktype = 1:
  381. if prezik > 0:
  382. prezikcount += prezik
  383. prezik = 0
  384. end
  385. elseif preziktype = 2:
  386. if preziksabo > 0:
  387. prezik += preziksabo
  388. preziksabo = 0
  389. end
  390. if prezik <= 0 and prezikcount <= 0:
  391. if prezikmsg = 1:prezikmsg = 2
  392. prezik = 0
  393. preziksabo = 0
  394. prezikcount = 0
  395. preziktype = 1
  396. elseif prezik <= 0 and prezikcount > 0:
  397. 'You have run out of sabotaged condoms so you will have to use normal condoms.'
  398. prezik = prezikcount
  399. prezikcount = 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 tabletkiday < daystart and thinkpreg = 0 and knowpreg = 0: '<a href="exec:dynamic $d_tabletkieda, 1">Take the birth control pill now.</a>'
  412. if tabletkicheck = 0 and thinkpreg = 0 and knowpreg = 0:
  413. if (tabletki > 0 or pillsleft[ptype] > 0) and birth_control['remind_hour'] = 0:
  414. '<a href="exec:gs ''din_bad'', ''set_bc_reminder''">Set a reminder to take your birth control pills.</a>'
  415. elseif (tabletki > 0 or pillsleft[ptype] > 0) and birth_control['remind_hour'] > 0:
  416. '<a href="exec:gs ''din_bad'', ''set_bc_reminder''">Change your birth control reminder.</a>'
  417. '<a href="exec:gs ''din_bad'', ''turn_off_bc_reminder''">Turn off your birth control reminder.</a>'
  418. end
  419. '<a href="exec:dynamic $d_tabletkieda, 2">Automatically take your birth control pills.</a>'
  420. elseif tabletkicheck = 1:
  421. '<a href="exec:dynamic $d_tabletkieda, 3">Stop automatically taking your birth control pills.</a>'
  422. if birth_control['remind_hour'] > 0:'<a href="exec:*clr & birth_control[''remind_hour''] = 0 & dynamic $d_tabletkieda, 3">Stop automatically taking your birth control pills.</a>'
  423. end
  424. '<a href="exec:dynamic $d_tabletkieda, 4">Examine the birth control pills.</a>'
  425. if tabletkioddk = 1: '<a href="exec:dynamic $d_tabletkieda, 5">Dump the strange pills.</a>'
  426. act 'Return':gs 'din_bad', 'd_bag'
  427. '</td></tr></table></center>'
  428. }
  429. $d_tabletkiedt = {
  430. *clr & cla
  431. '<center><h1>Birth Control</h1></center>'
  432. '<center><img <<$set_imgh>> src="images/shared/home/bedroom/stol.jpg"></center>'
  433. *nl
  434. tabloc = 1
  435. if tabletkiday < daystart and thinkpreg = 0 and knowpreg = 0: '<a href="exec:*clr & dynamic $d_tabletkieda, 1">Take the birth control pill now.</a>'
  436. if tabletkicheck = 0 and thinkpreg = 0 and knowpreg = 0:
  437. if (tabletki > 0 or pillsleft[ptype] > 0) and birth_control['remind_hour'] = 0:
  438. '<a href="exec:gs ''din_bad'', ''set_bc_reminder''">Set a reminder to take your birth control pills.</a>'
  439. elseif (tabletki > 0 or pillsleft[ptype] > 0) and birth_control['remind_hour'] > 0:
  440. '<a href="exec:gs ''din_bad'', ''set_bc_reminder''">Change your birth control reminder.</a>'
  441. '<a href="exec:gs ''din_bad'', ''turn_off_bc_reminder''">Turn off your birth control reminder.</a>'
  442. end
  443. '<a href="exec:*clr & dynamic $d_tabletkieda, 2">Automatically take your birth control pills.</a>'
  444. elseif tabletkicheck = 1 and therapistFuckedPussyStage < 2:
  445. '<a href="exec:*clr & birth_control[''remind_hour''] = 0 & dynamic $d_tabletkieda, 3">Stop automatically taking your birth control pills.</a>'
  446. end
  447. '<a href="exec:*clr & dynamic $d_tabletkieda, 4">Examine the birth control pills.</a>'
  448. if tabletkioddk = 1: '<a href="exec:*clr & dynamic $d_tabletkieda, 5">Dump the strange pills.</a>'
  449. act 'Return':gt 'stol', 'bc'
  450. }
  451. $d_tabletkieda = {
  452. cla
  453. if ARGS[0] = 1:
  454. tabletkipd += tabletkipt
  455. if tabletkiday ! daystart:
  456. gs 'din_bad','takepill'
  457. tabletkiday = daystart
  458. tabletkipt = 0
  459. tabletkipi = 0
  460. else
  461. pcs_health -= 1
  462. end
  463. pilldaychk = daystart
  464. *clr
  465. dynamic $d_tabletkied
  466. 'You take your birth control pill.'
  467. gs 'stat'
  468. elseif ARGS[0] = 2:
  469. 'You will do your best to remember to take your birth control pills every day.'
  470. tabletkicheck = 1
  471. gs 'stat'
  472. elseif ARGS[0] = 3:
  473. 'You will take your birth control pills as you desire.'
  474. tabletkicheck = 0
  475. gs 'stat'
  476. elseif ARGS[0] = 4:
  477. if pcs_intel + pilldays <= rand(30,95) or therapistFuckedPussyStage > 1:
  478. 'These pills appear to be normal birth control pills.'
  479. tabletkioddk = 0
  480. gs 'stat'
  481. else
  482. if ptype = 0: $pillprob = 'nothing unusual about them.'
  483. if ptype = 1: $pillprob = 'that the pills have expired months ago.'
  484. if ptype = 2: $pillprob = 'that the label has spelling mistakes and the logo is backwards.'
  485. if ptype = 3: $pillprob = 'that the pills are discolored and there is no expiry date.'
  486. if ptype = 4: $pillprob = 'that the pills are all the same color.'
  487. if ptype = 5: $pillprob = 'that the pills seem to be smaller than normal.'
  488. 'Upon taking a closer look at your birth control pills, you notice <<$pillprob>>'
  489. if ptype > 0: tabletkioddk = 1
  490. gs 'stat'
  491. if tabloc = 0:
  492. act 'Return':gs 'din_bad', 'd_bag'
  493. else
  494. act 'Return':gt 'stol', 'bc'
  495. end
  496. end
  497. elseif ARGS[0] = 5:
  498. 'You get rid of the strange pills.'
  499. tabletkioddk = 0
  500. pillsleft[ptype] = 0
  501. tabletkioddp = 0
  502. gs 'stat'
  503. end
  504. if tabletki = 0 and pillsleft[ptype] = 0:
  505. msg 'That was your last birth control pill. You need to buy some more.'
  506. end
  507. if tabloc = 0:
  508. act 'Return':gs 'din_bad', 'd_bag'
  509. else
  510. act 'Return':gt 'stol', 'bc'
  511. end
  512. }
  513. if $ARGS[0] = 'set_bc_reminder':
  514. :invalid_bc_reminder_loop
  515. 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.)")
  516. if birth_control['remind_hour'] < 1 or birth_control['remind_hour'] > 22:
  517. msg 'Invalid reminder input. Pick an hour between 1 and 22.'
  518. jump 'invalid_bc_reminder'
  519. else
  520. msg 'You set a reminder on your phone to take your birth control pill at <<birth_control[''remind_hour'']>>.'
  521. end
  522. end
  523. if $ARGS[0] = 'turn_off_bc_reminder':
  524. birth_control['remind_hour'] = 0
  525. msg 'You turn off your reminder to take your birth control pills.'
  526. end
  527. $d_cycreport_choice = {
  528. *clr & cla
  529. '<center><h1>Fertility Cycle</h1></center>'
  530. '<center><table cellspacing="0" cellpadding="20" valign="top"><tr>'
  531. '<td width="800" cellspacing="0" cellpadding="0" valign="top">'
  532. dynamic $d_cycreport_update
  533. '<center><b>Current Status:</b></center>'
  534. '<center><<$cycreport_txt>></center>'
  535. '</td></tr></table></center><center><table cellspacing="0" cellpadding="20" valign="top"><tr><td width="250" valign="top">'
  536. if $cycreport_txt ! 'In labour':
  537. '<center><b>Change Status because:</b></center>'
  538. if thinkpreg = 0:
  539. if knowpreg = 1:
  540. '<a href="exec: dynamic $d_cycreport_actor, 2 & gs ''stat''">I''m pregnant.</a>'
  541. '<a href="exec: dynamic $d_cycreport_actor, 1 & gs ''stat''">I can''t be pregnant no matter the evidence.</a>'
  542. else
  543. '<a href="exec: dynamic $d_cycreport_actor, 2 & gs ''stat''">I think I''m pregnant.</a>'
  544. end
  545. elseif thinkpreg = 1:
  546. if knowpreg = 1:
  547. '<a href="exec: dynamic $d_cycreport_actor, 1 & gs ''stat''">I can''t be pregnant no matter the evidence.</a>'
  548. else
  549. '<a href="exec: dynamic $d_cycreport_actor, 1 & gs ''stat''">I''m not pregnant.</a>'
  550. end
  551. end
  552. if mesec > 0 and thinkpreg ! 1 and knowpreg ! 1:
  553. '<a href="exec: dynamic $d_cycreport_actor, 3">I''m menstruating.</a>'
  554. elseif thinkpreg ! 1:
  555. '<a href="exec: dynamic $d_cycreport_actor, 4">I just recently menstruated.</a>'
  556. '<a href="exec: dynamic $d_cycreport_actor, 5">I think my menstrual cycle has stopped.</a>'
  557. end
  558. if thinkpreg = 1 or knowpreg = 1:
  559. '<a href="exec: dynamic $d_cycreport_actor, 6">I think my due date is...</a>'
  560. '<a href="exec: dynamic $d_cycreport_actor, 7">I think the father is...</a>'
  561. end
  562. if knowpregloss = 1:
  563. '<a href="exec: dynamic $d_cycreport_actor, 8">I just had an abortion.</a>'
  564. elseif knowpregloss > 1 or thinkpreg = 1:
  565. '<a href="exec: dynamic $d_cycreport_actor, 8">I think I lost a baby.</a>'
  566. end
  567. elseif cycle = 5:
  568. 'Broken water and contractions, it''s pretty clear what is going on. You need to get to a hospital ASAP.'
  569. else
  570. dynamic $d_cycreport_actor, 10
  571. end
  572. act 'Exit':gs 'stat' & gt $loc, $loc_arg
  573. '</td></tr></table></center>'
  574. }
  575. $d_cycreport_actor = {
  576. !! Svetlana has decided she is not pregnant
  577. if ARGS[0] = 1:
  578. $cycreport_txt = 'It has been <<temp>> days since you last remember having a period.'
  579. if knowpreg = 1:
  580. denypreg = 1
  581. thinkpreg = 0
  582. else
  583. denypreg = 0
  584. thinkpreg = 0
  585. end
  586. dynamic $d_cycreport_update
  587. gs 'stat'
  588. dynamic $d_cycreport_choice
  589. !! Svetlana has decided she is pregnant.
  590. elseif ARGS[0] = 2:
  591. thinkpreg = 1
  592. denypreg = 0
  593. dynamic $d_cycreport_update
  594. gs 'stat'
  595. dynamic $d_cycreport_choice
  596. !! Svetlana is Menstrating.
  597. elseif ARGS[0] = 3:
  598. thinkpreg = 0
  599. denypreg = 0
  600. daylastperiod = daystart
  601. dynamic $d_cycreport_update
  602. gs 'stat'
  603. dynamic $d_cycreport_choice
  604. !! Svetlana is remembering her last period.
  605. elseif ARGS[0] = 4:
  606. thinkpreg = 0
  607. denypreg = 0
  608. *clr & cla
  609. '<center><h1>Fertility Cycle</h1></center>'
  610. '<center><table cellspacing="0" cellpadding="20" valign="top"><tr>'
  611. '<td width="250" cellspacing="0" cellpadding="0" valign="top">'
  612. 'How many days ago was it you had your last period?'
  613. 'Currently: <<pertemp>>'
  614. '<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>'
  615. act 'Return':dynamic $d_cycreport_choice
  616. act 'Exit':gs 'stat' & gt $loc, $loc_arg
  617. '</td></tr></table></center>'
  618. !! Svetlana thinks she doesn''t have periods anymore. Good birth control has this effect (as does pregnancy.)
  619. elseif ARGS[0] = 5:
  620. if knowpreg = 1:
  621. denypreg = 1
  622. else
  623. denypreg = 0
  624. end
  625. thinkpreg = 0
  626. $cycreport_txt = 'You do not believe you have periods any more.'
  627. gs 'stat'
  628. dynamic $d_cycreport_choice
  629. !! Svetlana is trying to figure out her due date.
  630. elseif ARGS[0] = 6:
  631. *clr & cla
  632. '<center><h1>Fertility Cycle</h1></center>'
  633. '<center><table cellspacing="0" cellpadding="20" valign="top"><tr>'
  634. '<td width="250" cellspacing="0" cellpadding="0" valign="top">'
  635. 'How many days ago was it you had your last period?'
  636. 'Currently: <<pertemp>>'
  637. '<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>'
  638. act 'Return':dynamic $d_cycreport_choice
  639. act 'Exit':gs 'stat' & gt $loc, $loc_arg
  640. '</td></tr></table></center>'
  641. !! Svetlana is trying to guess who is the babydaddy.
  642. elseif ARGS[0] = 7:
  643. *clr & cla
  644. '<center><h1>Fertility Cycle</h1></center>'
  645. '<center><table cellspacing="0" cellpadding="20" valign="top"><tr>'
  646. '<td width="500" cellspacing="0" cellpadding="0" valign="top">'
  647. potfather_temp[1] = arrsize('$wombpotfath')
  648. if potfather_temp[1] > 0:
  649. potfather_counter = 0
  650. 'List of potential fathers:'
  651. :potfather_loop
  652. if $wombpotfath[potfather_counter] ! 'unknown':
  653. $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>'
  654. else
  655. $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>'
  656. end
  657. 'Potential father (<<potfather_counter + 1>>): <<$potfather_temp[2]>>'
  658. potfather_counter += 1
  659. if potfather_counter < arrsize('$wombpotfath'): jump 'potfather_loop'
  660. else
  661. 'There are no potential fathers.'
  662. end
  663. killvar 'potfather_counter'
  664. '<br> <a href="exec:dynamic $d_cycreport_choice & gs ''stat''">Accept</a>'
  665. '</td></tr></table></center>'
  666. act 'Return':dynamic $d_cycreport_choice
  667. act 'Exit':gs 'stat' & gt $loc, $loc_arg
  668. !! This is the old code that was broken, keeping it for now (julzor)
  669. !! {
  670. tempmax = arrsize('$cumfthname')-1
  671. tempcurr = 0
  672. sumcum = 0
  673. *nl
  674. :potfathloop
  675. if cumtime[tempcurr] > 1:$cum = 'cumshots' else $cum = 'cumshot'
  676. if cumtime[tempcurr] > 0: '<<$npc_usedname[$cumfthname[tempcurr]]>> (<<$cumfthname[tempcurr]>>) - <<cumtime[tempcurr]>> <<$cum>>' & sumcum += cumtime[tempcurr]
  677. if tempcurr < tempmax:tempcurr += 1 & jump 'potfathloop'
  678. if sumcum > 1:$cum = 's' else $cum = ''
  679. '<br>You think you have had <<sumcum>> load<<$cum>> of cum shot<<$cum>> in your womb altogether that could have gotten you pregnant.'
  680. 'You suspect the father being: <<$wombthfath>><br>'
  681. *nl
  682. tempcurr = 0
  683. :pickfathloop
  684. if cumtime[tempcurr] > 0:
  685. if $npc_usedname[$cumfthname[tempcurr]] <> '':
  686. '<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>'
  687. else
  688. ' <a href="exec: $wombthfath = ''<<$npc_usedname[$cumfthname[tempcurr]]>>'' & $wombthfathID = ''<<$cumfthname[tempcurr]>>'' & dynamic $d_cycreport_actor, 7 & gs ''stat''">Unknown (-)</a>'
  689. end
  690. end
  691. if tempcurr < tempmax:tempcurr += 1 & jump 'pickfathloop'
  692. killvar 'sumcum'
  693. killvar 'cum'
  694. killvar 'tempmax'
  695. killvar 'tempcurr'
  696. }
  697. !! Just recently lost a baby to abortion, miscarriage, or think you did because your period finally arrived.
  698. elseif ARGS[0] = 8:
  699. thinkpreg = 0
  700. $cycreport_txt = 'Your body is recovering from the trauma of pregnancy after your miscarrage.'
  701. dynamic $d_cycreport_update
  702. gs 'stat'
  703. dynamic $d_cycreport_choice
  704. !! Just recently gave birth.
  705. elseif ARGS[0] = 10:
  706. temp = arrsize('Babyptype')
  707. temp -= 1
  708. $cycreport_txt = 'You are currently recovering from childbirth. You gave birth on <<monthkid[temp]>> / <<daykid[temp]>> / <<yearkid[temp]>>.'
  709. gs 'stat'
  710. end
  711. }
  712. $d_cycreport_update = {
  713. killvar 'temp'
  714. if thinkpreg = 1 or knowpreg = 1: dynamic $d_cycreport_upduedate
  715. !! Vagblood in a future update to account for babydamage and miscarrages.
  716. if mesec > 0 or vagblood > 0:
  717. $cycreport_txt = 'You are currently menstruating.'
  718. else
  719. if cyccustom = 1:
  720. if preg = 1 and knowpreg = 1:
  721. $cycreport_txt = 'You are pregnant. Your due date is around <<$pregduedate>>.'
  722. if $wombthfath ! 'unknown':
  723. $cycreport_txt = '<<$cycreport_txt>> You suspect the father being <<$wombthfath>>.'
  724. end
  725. elseif knowpregloss = 1:
  726. $cycreport_txt = 'Your body is recovering from the trauma of pregnancy after your abortion.'
  727. elseif knowpregloss = 2:
  728. $cycreport_txt = 'Your body is recovering from the trauma of pregnancy after your miscarrage.'
  729. elseif knowpregrecover = 1:
  730. $cycreport_txt = 'Your body is recovering from the trauma of childbirth.'
  731. elseif menoage <= age and cycle = 6:
  732. $cycreport_txt = 'You have gone through menopause.'
  733. else
  734. temp[1] = daystart-daylastperiod
  735. if tabletkishot > 0:
  736. $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>'
  737. elseif birth_control['implant_status'] > 1 and pillcon2 >= 30000:
  738. $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>'
  739. elseif birth_control['implant_status'] > 1 and pillcon2 < 30000:
  740. $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>'
  741. elseif pillcon2 > 0 and birth_control['think_safe'] = 1:
  742. $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>'
  743. elseif pillcon2 > 0 and ((FocH > (Foch_Max - 96)) or ovulate > 0) and birth_control['think_safe'] = 0:
  744. $cycreport_txt = 'It has been <<temp[1]>> days since the start of your last period. You are currently on the pill but it is not yet effective. <font color=red>It is currently a dangerous day.</font>'
  745. elseif pillcon2 > 0 and birth_control['think_safe'] = 0:
  746. $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.'
  747. elseif daystart = tabletkiday:
  748. $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.'
  749. elseif FocH > (Foch_Max - 96) or ovulate > 0:
  750. $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>'
  751. elseif birth_control['implant_status'] = 1:
  752. $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>'
  753. elseif birth_control['think_safe'] ! 1 and stat['safe_day'] = 1:
  754. $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 sex.</font>'
  755. elseif birth_control['think_safe'] ! 1 and stat['probably_safe_day'] = 1:
  756. $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 sex.</font>'
  757. elseif birth_control['think_safe'] ! 1 and stat['dangerous_day'] = 1:
  758. $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 sex.</font>'
  759. else
  760. $cycreport_txt = 'It has been <<temp[1]>> days since the start of your last period.'
  761. end
  762. !!{ if stat['vaginal'] > 0 and birth_control['think_safe'] ! 1 and stat['safe_day'] = 1:
  763. $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>'
  764. elseif stat['vaginal'] > 0 and birth_control['think_safe'] ! 1 and stat['probably_safe_day'] = 1:
  765. $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 sex today.</font>'
  766. elseif stat['vaginal'] > 0 and birth_control['think_safe'] ! 1 and stat['dangerous_day'] = 1:
  767. $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 sex.</font>'
  768. end}
  769. end
  770. elseif denypreg = 1:
  771. if pregchem < 525:
  772. denypreg = 1
  773. thinkpreg = 0
  774. $cycreport_txt = 'There is nothing wrong, your cycle is just irregular.'
  775. elseif pregchem < 1863:
  776. denypreg = 1
  777. thinkpreg = 0
  778. $cycreport_txt = 'You have a strange flu making you feel ill.'
  779. elseif pregchem < 4000:
  780. denypreg = 1
  781. thinkpreg = 0
  782. $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.'
  783. elseif pregchem < 6000:
  784. denypreg = 1
  785. thinkpreg = 0
  786. $cycreport_txt = 'Your weight just won''t come off...'
  787. elseif pregchem < 7500:
  788. denypreg = 1
  789. thinkpreg = 0
  790. $cycreport_txt = 'People are rude, constantly asking you when you are due. You are not pregnant!'
  791. elseif pregchem >= 7500:
  792. thinkpreg = 0
  793. $cycreport_txt = 'Surely if you were pregnant, you''d have had the baby by now, so you can''t possibly be pregnant.'
  794. else
  795. temp = daystart-daylastperiod
  796. $cycreport_txt = 'It has been <<temp>> days since you last remember having a period.'
  797. end
  798. elseif cyccustom = 0:
  799. if $cycreport_txt ! 'In labour':
  800. if thinkpreg = 1 or knowpreg = 1:
  801. if knowpreg = 0: $temp = ' think you'
  802. if $wombthfath = 'unknown' or $wombthfath = '':
  803. $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>>.'
  804. else
  805. $cycreport_txt = 'You<<$temp>> are pregnant with <<$wombthfath>>''s baby. Based on your last remembered period, your due date is probably around <<$pregduedate>>.'
  806. end
  807. elseif $cycreport_txt = 'Your body is recovering from the trauma of pregnancy after your miscarrage.':
  808. if knowpregloss = 1: $cycreport_txt = 'Your body is recovering from the trauma of pregnancy after your abortion.'
  809. elseif $cycreport_txt ! 'You do not believe you have periods any more.':
  810. temp = daystart-daylastperiod
  811. $cycreport_txt = 'It has been <<temp>> days since you last remember having a period.'
  812. end
  813. killvar 'temp'
  814. end
  815. end
  816. end
  817. }
  818. $d_cycreport_upduedate = {
  819. !! implant_calc: Calculation of an implantation date in the uterus (Average is 5 days after ovulation)
  820. implant_calc = daystart - lastovulation + 5
  821. !! Human gastation period: 280 days
  822. gastation_time = 280 / (1 + pregspeedcheat)
  823. temp = gastation_time - implant_calc
  824. pregdueday = day
  825. pregduemonth = month
  826. pregdueyear = year
  827. temp += pregdueday
  828. pregdueday = 0
  829. :pregduedateloop
  830. if pregduemonth = 1 and temp > 31:
  831. pregduemonth += 1
  832. temp -= 31
  833. elseif pregduemonth = 2 and temp > 28:
  834. pregduemonth += 1
  835. temp -= 28
  836. elseif pregduemonth = 3 and temp > 31:
  837. pregduemonth += 1
  838. temp -= 31
  839. elseif pregduemonth = 4 and temp > 30:
  840. pregduemonth += 1
  841. temp -= 30
  842. elseif pregduemonth = 5 and temp > 31:
  843. pregduemonth += 1
  844. temp -= 31
  845. elseif pregduemonth = 6 and temp > 30:
  846. pregduemonth += 1
  847. temp -= 30
  848. elseif pregduemonth = 7 and temp > 31:
  849. pregduemonth += 1
  850. temp -= 31
  851. elseif pregduemonth = 8 and temp > 31:
  852. pregduemonth += 1
  853. temp -= 31
  854. elseif pregduemonth = 9 and temp > 30:
  855. pregduemonth += 1
  856. temp -= 30
  857. elseif pregduemonth = 10 and temp > 31:
  858. pregduemonth += 1
  859. temp -= 31
  860. elseif pregduemonth = 11 and temp > 30:
  861. pregduemonth += 1
  862. temp -= 30
  863. elseif pregduemonth = 12 and temp > 31:
  864. pregduemonth = 1
  865. pregdueyear += 1
  866. temp -= 31
  867. else
  868. pregdueday = temp
  869. temp = 0
  870. end
  871. if temp > 0: jump 'pregduedateloop'
  872. $pregduedate = '<<pregdueday>> '
  873. if pregduemonth = 1:
  874. $pregduedate += 'Jan'
  875. elseif pregduemonth = 2:
  876. $pregduedate += 'Feb'
  877. elseif pregduemonth = 3:
  878. $pregduedate += 'Mar'
  879. elseif pregduemonth = 4:
  880. $pregduedate += 'Apr'
  881. elseif pregduemonth = 5:
  882. $pregduedate += 'May'
  883. elseif pregduemonth = 6:
  884. $pregduedate += 'Jun'
  885. elseif pregduemonth = 7:
  886. $pregduedate += 'Jul'
  887. elseif pregduemonth = 8:
  888. $pregduedate += 'Aug'
  889. elseif pregduemonth = 9:
  890. $pregduedate += 'Sep'
  891. elseif pregduemonth = 10:
  892. $pregduedate += 'Oct'
  893. elseif pregduemonth = 11:
  894. $pregduedate += 'Nov'
  895. elseif pregduemonth = 12:
  896. $pregduedate += 'Dec'
  897. end
  898. $pregduedate += ' <<pregdueyear>>'
  899. }
  900. $d_pregmovement = {
  901. if denypreg = 0 and pregchem > 0:
  902. if thinkpreg > 0 and knowpreg = 0:
  903. knowpreg = 1
  904. if kid <= 0:
  905. 'Your heart flutters as you feel a baby moving around inside you for the first time.'
  906. else
  907. 'The movement inside you confirms what you already suspected. You are pregnant once again.'
  908. end
  909. elseif knowpreg > 0:
  910. temprand = rand(0,2)
  911. if temprand = 0:
  912. if pregchem > 5000:
  913. 'Your baby visibly moves around inside you.'
  914. else
  915. 'You feel movement deep inside you as your baby shifts around.'
  916. end
  917. elseif temprand = 1:
  918. if pregchem > 5000:
  919. 'You wince as your baby delivers a vicious kick to your insides.'
  920. else
  921. 'You feel your baby kicking.'
  922. end
  923. elseif temprand = 2:
  924. if pregchem > 5000:
  925. 'You feel your baby kicking, look down, and see your belly twitching from it''s movements.'
  926. else
  927. 'You feel your baby kicking.'
  928. end
  929. end
  930. else
  931. if cyccustom = 1:
  932. if pregchem < 4000:
  933. if kid <= 0 :
  934. 'You feel a weird and strange fluttering sensation around inside your stomach. Perhaps you should see the doctor?'
  935. else
  936. 'It feels as if a baby is moving inside you. Are you pregnant?'
  937. end
  938. else
  939. knowpreg = 1
  940. if kid <= 0:
  941. 'It''s become pretty obvious. You are pregnant.'
  942. else
  943. 'It''s become pretty obvious. You are pregnant once again.'
  944. end
  945. end
  946. end
  947. end
  948. elseif pregchem > 0:
  949. if kid > 0 and PregChem > 3903:
  950. 'You try to deny it, but you just can''t any more. The large belly, the movement, you are pregnant once again.'
  951. denypreg = 0
  952. dynamic $d_cycreport_upduedate
  953. $cycreport_txt = 'You are pregnant.'
  954. else
  955. 'You feel movement deep inside you. It''s probably just gas.'
  956. end
  957. end
  958. }
  959. $use_steroids = {
  960. if steroid_dose < 3:
  961. '<font color = blue>You swallow the orange pill.</font>'
  962. steroid_dose += 1
  963. steroid_counter += 1
  964. steroid_have -= 1
  965. else
  966. 'You really shouldn''t take any more pills today.'
  967. end
  968. }
  969. $use_bcream = {
  970. if bcream_used < 1:
  971. '<font color = #DB7093>You smear the cream onto your breasts and rub it in.</font>'
  972. bcream_used = 1
  973. bcream_have -= 1
  974. else
  975. 'Using any more cream won''t have any effect.'
  976. end
  977. }
  978. if $ARGS[0] = 'takepill':
  979. if tabletki > 0 and pillsleft[ptype] = 0:
  980. tabletkirand = rand(1, tabletki)
  981. if tabletkirand <= tabletkiold:
  982. tabletki -=1
  983. tabletkiold -=1
  984. ptype = 1
  985. pillsleft[ptype] = 28
  986. elseif tabletkirand <= tabletkiold + tabletkifake:
  987. tabletki -=1
  988. tabletkifake -=1
  989. ptype = 2
  990. pillsleft[ptype] = 28
  991. elseif tabletkirand <= tabletkiold + tabletkifake + tabletkirej:
  992. tabletki -=1
  993. tabletkirej -=1
  994. ptype = 3
  995. pillsleft[ptype] = 28
  996. elseif tabletkirand <= tabletkiold + tabletkifake + tabletkirej + tabletkisug:
  997. tabletki -=1
  998. tabletkisug -=1
  999. ptype = 4
  1000. pillsleft[ptype] = 28
  1001. elseif tabletkirand <= tabletkiold + tabletkifake + tabletkirej + tabletkisug + tabletkifert:
  1002. tabletki -=1
  1003. tabletkifert -=1
  1004. ptype = 5
  1005. pillsleft[ptype] = 28
  1006. else
  1007. tabletki -=1
  1008. ptype = 0
  1009. pillsleft[ptype] = 28
  1010. end
  1011. killvar 'tabletkirand'
  1012. end
  1013. !! added empty week to allow menstruation - it take effect only when the pills are taken automatically
  1014. !! if placebopart <= 0 or tabletkicheck ! 1:
  1015. if placebopart <= 0:
  1016. if ptype = 0:
  1017. pillsleft[ptype] -= 1
  1018. pcs_skin += 1
  1019. pillcon += ((pillcon + 15000) / 25) + 4000
  1020. elseif ptype = 1:
  1021. pillsleft[ptype] -= 1
  1022. pcs_skin += rand(0,1)
  1023. pillcon += (( pillcon+ 15000) / 25)+ rand(2000,4000)
  1024. elseif ptype = 2:
  1025. pillsleft[ptype] -= 1
  1026. pcs_skin += rand(0,1)
  1027. pillcon += ((pillcon + 15000) / 25)+ rand(500,2000)
  1028. elseif ptype = 3:
  1029. pillsleft[ptype] -= 1
  1030. pcs_skin += rand(0,1)
  1031. if rand(0,4) = 0: pain['tummy'] += rand(5,10)
  1032. pillcon += ((pillcon + 15000) / 25)+ rand(2000,6000)
  1033. elseif ptype = 4:
  1034. pillsleft[ptype] -= 1
  1035. elseif ptype = 5:
  1036. pillsleft[ptype] -= 1
  1037. pcs_skin += 1
  1038. EggRH += rand(10,80)
  1039. end
  1040. !!pillcon2 is the ideal state, PC considers this the believed pillcon value
  1041. pillcon2 += ((pillcon2 + 15000) / 25) + 4000
  1042. if pillcon2 > 40000: pillcon2 = 40000
  1043. if pillcon > 40000: pillcon = 40000
  1044. end
  1045. end
  1046. if $ARGS[0] = 'quick_takepill':
  1047. tabletkipd += tabletkipt
  1048. if tabletkiday ! daystart:
  1049. gs 'din_bad','takepill'
  1050. tabletkiday = daystart
  1051. tabletkipt = 0
  1052. tabletkipi = 0
  1053. else
  1054. pcs_health -= 1
  1055. end
  1056. pilldaychk = daystart
  1057. if birth_control['message_skip'] ! daystart:
  1058. if tabletki = 0 and pillsleft[ptype] = 0:
  1059. msg 'That was your last birth control pill. You need to buy some more.'
  1060. else
  1061. msg 'You take your birth control pill.'
  1062. end
  1063. end
  1064. gs 'stat'
  1065. end
  1066. if $ARGS[0] = 'p_deodorant':
  1067. minut += 1
  1068. mc_inventory['deodorant'] -= 1
  1069. gs 'sweat', 'deo'
  1070. gs 'stat'
  1071. gs 'din_bad', 'd_bag'
  1072. end
  1073. --- din_bad ---------------------------------