din_bad.qsrc 42 KB

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