1
0

din_bad.qsrc 48 KB

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