din_bad.qsrc 38 KB

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