din_bad.qsrc 43 KB

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