din_bad.qsrc 41 KB

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