medical_din.tw 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439
  1. :: medical_din
  2. <<set $here = 'medical_din'>>
  3. <<set $ARGS = $location_var[$here]>>
  4. <!-- !2021/05/02-->
  5. <<if $location_var[$here][0] == 'birth_control'>>
  6. <<if getvar("$therapistFuckedPussyStage") < 2 and $pc.knowpreg == 0>>
  7. <<if getvar("$tabletkishot") < 5 and getvar("$birth_control['implant_status']") == 0>>
  8. <<if $finances.cash >= 2750>>
  9. <<actCLA 'Get a birth control shot for 2750 <b>₽</b> (0:15)'>>
  10. <<set $menu_off = 1>>
  11. <<set $time.minutes += 15>>
  12. <<image "locations/shared/clinic/poli.jpg">>
  13. You're escorted into an examination room, where you're told that they must do a small test before giving you the shot. You wait for fifteen minutes before the nurse comes back in.
  14. <<if $pc.preg == 0>>
  15. <<set $finances.cash -= 2750>>
  16. <<gs 'medical_din' 'birthControlShot'>>
  17. <p>"Everything looks great," she says and gives you a reassuring smile as she sticks a needle in your arm and depresses the plunger. "All done! You should be good for three months, give or take. It depends on body type, hormone levels and so on. If you want to be perfectly safe, we recommend you come back for another treatment one week before the three months are over. Have a nice day, Miss <$pc.name_last!"</p>
  18. You thank her and wish her the same while you gather your things.
  19. <<else>>
  20. <<set $finances.cash -= 650>>
  21. "I'm sorry, but we can't give you the shot because you're pregnant."
  22. <p>After the initial shock subsides, you pay the 650 <b>₽</b> for the test and leave.</p>
  23. <<set $pc.thinkpreg = 1>>
  24. <<set $pc.knowpreg = 1>>
  25. <</if>>
  26. <<actCLA 'Leave'>>
  27. <<gt $location>>
  28. <</actCLA>>
  29. <</actCLA>>
  30. <<else>>
  31. <!-- FAILED TO CONVERT
  32. act 'Get a birth control shot for 2,750 <b>₽</b> (0:15)': '<br><font color="red">You don''t have enough money to get a birth control shot.</font>'
  33. -----
  34. <<actCLA 'Get a birth control shot for 2,750 <b>₽</b> (0:15)'>>
  35. <<set ERROR: FAILED TO CONVERT LITERAL: """'<br><font color""" = ERROR: FAILED TO CONVERT LITERAL: """"red">You don't have enough money to get a birth control shot.<""" / ERROR: FAILED TO CONVERT LITERAL: """font>'""">>
  36. <</actCLA>>
  37. -->
  38. <<warn "CONVERSION ERROR 94d1d8a2aa94f4ad6a4ef6cd0018825c">>
  39. <</if>>
  40. <</if>>
  41. <<if getvar("$birth_control['implant_status']") == 0>>
  42. <<if $finances.cash >= 19650>>
  43. <<actCLA 'Get a birth control implant for 19,650 <b>₽</b> (0:35)'>>
  44. <<set $menu_off = 1>>
  45. <<set $time.minutes += 15>>
  46. <<image "locations/shared/clinic/poli.jpg">>
  47. You're escorted into an examination room, where you're told that they must do a small test before inserting the implant into your left arm. You wait for fifteen minutes before the nurse comes back in.
  48. <<if $pc.preg == 0>>
  49. <<set $time.minutes += 20>>
  50. <<set $finances.cash -= 19650>>
  51. <<setinit $birth_control['implant_status'] = 3>>
  52. <<setinit $birth_control['implant_timer'] = 1095>>
  53. <<set $pillcon += (($pillcon + 15000) / 25) + 4000>>
  54. <<set $pillcon2 += (($pillcon2 + 15000) / 25) + 4000>>
  55. "Everything looks great," she says and gives you a reassuring smile. "Please lie down, the procedure won''t take long."
  56. She numbs part of your upper arm with a local anesthetic. You have to wait for a few minutes for it to take a effect before she makes a tiny incision and pushes a small tube inside your arm. It's no bigger than a matchstick.
  57. <p>"All done! You should be good to go for three years."</p>
  58. <<else>>
  59. <<set $finances.cash -= 650>>
  60. "I'm sorry, but we can't give you the implant because you're pregnant."
  61. <p>After the initial shock subsides, you pay the 650 <b>₽</b> for the test and leave.</p>
  62. <<set $pc.thinkpreg = 1>>
  63. <<set $pc.knowpreg = 1>>
  64. <</if>>
  65. <<actCLA 'Leave'>>
  66. <<gt $location>>
  67. <</actCLA>>
  68. <</actCLA>>
  69. <<else>>
  70. <!-- FAILED TO CONVERT
  71. act 'Get a birth control implant for 19,650 <b>₽</b>(0:35)': '<br><font color="red">You don''t have enough money to get a birth control implant.</font>'
  72. -----
  73. <<actCLA 'Get a birth control implant for 19,650 <b>₽</b>(0:35)'>>
  74. <<set ERROR: FAILED TO CONVERT LITERAL: """'<br><font color""" = ERROR: FAILED TO CONVERT LITERAL: """"red">You don't have enough money to get a birth control implant.<""" / ERROR: FAILED TO CONVERT LITERAL: """font>'""">>
  75. <</actCLA>>
  76. -->
  77. <<warn "CONVERSION ERROR dcced54f159ab3bdb4749ec124015212">>
  78. <</if>>
  79. <<elseif getvar("$birth_control['implant_status']") == 1 or getvar("$birth_control['implant_status']") == 2>>
  80. <<if $finances.cash >= 19650>>
  81. <<actCLA 'Renew your birth control implant for 19,650 <b>₽</b> (0:35)'>>
  82. <<set $menu_off = 1>>
  83. <<set $time.minutes += 15>>
  84. <<image "locations/shared/clinic/poli.jpg">>
  85. You're escorted into an examination room, where you're told that say have to do a small test before inserting the implant into your left arm. You wait for fifteen minutes before the nurse comes back in.
  86. <<if $pc.preg == 0>>
  87. <<set $time.minutes += 20>>
  88. <<set $finances.cash -= 19650>>
  89. <<setinit $birth_control['implant_status'] = 3>>
  90. <<setinit $birth_control['implant_timer'] = 1095>>
  91. <<set $pillcon += (($pillcon + 15000) / 25) + 4000>>
  92. <<set $pillcon2 += (($pillcon2 + 15000) / 25) + 4000>>
  93. "Everything looks great," she says and gives you a reassuring smile. "Please lie down, the procedure won''t take long."
  94. She numbs part of your upper arm with a local anesthetic. You have to wait for a few minutes for it to take a effect before she makes a tiny incision, takes out your old implant and pushes in a new one.
  95. <p>"All done! You should be good to go for another three years."</p>
  96. <<else>>
  97. <<setinit $birth_control['implant_status'] = 0>>
  98. <<setinit $birth_control['implant_timer'] = 0>>
  99. <<set $finances.cash -= 1650>>
  100. "I'm sorry, but we can't renew your implant because you're pregnant."
  101. <p>After the initial shock subsides, you pay the 1650 <b>₽</b> for the test and the removal of your old implant leave.</p>
  102. <<set $pc.thinkpreg = 1>>
  103. <<set $pc.knowpreg = 1>>
  104. <</if>>
  105. <<actCLA 'Leave'>>
  106. <<gt $location>>
  107. <</actCLA>>
  108. <</actCLA>>
  109. <<else>>
  110. <!-- FAILED TO CONVERT
  111. act 'Renew your control implant for <font color="red">19,650 <b>₽</b></font> (0:35)': '<br><font color="red">You don''t have enough money to renew your birth control implant.</font>'
  112. -----
  113. <<actCLA 'Renew your control implant for <font color="red">19,650 <b>₽</b></font> (0:35)'>>
  114. <<set ERROR: FAILED TO CONVERT LITERAL: """'<br><font color""" = ERROR: FAILED TO CONVERT LITERAL: """"red">You don't have enough money to renew your birth control implant.<""" / ERROR: FAILED TO CONVERT LITERAL: """font>'""">>
  115. <</actCLA>>
  116. -->
  117. <<warn "CONVERSION ERROR 10b711ea961f0c6d2b21e76da80051ef">>
  118. <</if>>
  119. <</if>>
  120. <</if>>
  121. <<if getvar("$birth_control['implant_status']") > 0>>
  122. <<if $finances.cash >= 1000>>
  123. <<actCLA 'Remove your birth control implant for 1,000 <b>₽</b> (0:20)'>>
  124. <<set $menu_off = 1>>
  125. <<set $time.minutes += 20>>
  126. <<set $finances.cash -= 1000>>
  127. <<setinit $birth_control['implant_status'] = 0>>
  128. <<setinit $birth_control['implant_timer'] = 0>>
  129. <<image "locations/shared/clinic/poli.jpg">>
  130. "Everything looks great," she says and gives you a reassuring smile. "Please lie down, the procedure won''t take long."
  131. <p>She numbs part of your upper arm with a local anesthetic. You have to wait for a few minutes for it to take a effect before she makes a tiny incision and removes your implant. "All done!"</p>
  132. <<actCLA 'Leave'>>
  133. <<gt $location>>
  134. <</actCLA>>
  135. <</actCLA>>
  136. <<else>>
  137. <!-- FAILED TO CONVERT
  138. act 'Remove your birth control implant for <font color="red">1,000 <b>₽</b></font> (0:35)': '<br><font color="red">You don''t have enough money to remove your birth control implant.</font>'
  139. -----
  140. <<actCLA 'Remove your birth control implant for <font color="red">1,000 <b>₽</b></font> (0:35)'>>
  141. <<set ERROR: FAILED TO CONVERT LITERAL: """'<br><font color""" = ERROR: FAILED TO CONVERT LITERAL: """"red">You don't have enough money to remove your birth control implant.<""" / ERROR: FAILED TO CONVERT LITERAL: """font>'""">>
  142. <</actCLA>>
  143. -->
  144. <<warn "CONVERSION ERROR a6663784fd70ab8eca14e70b772dfa10">>
  145. <</if>>
  146. <</if>>
  147. <</if>>
  148. <<if $location_var[$here][0] == 'abortion'>>
  149. <!-- !! Aborts pregnency. Usage: gs 'medical_din','abortion'-->
  150. <<set $pc.visualAge += 1>>
  151. <<set $abort += 1>>
  152. <<set $abortionbirthdate = $time.daystart>>
  153. <<gs 'medical_din' 'remove_preg'>>
  154. <<set $pc.knowpregloss = 2>>
  155. <<set $abortrand = rand(0, 10)>>
  156. <<if getvar("$pc.age") > 18>>
  157. <<if getvar("$abortrand") < 10>>
  158. <<setn $sterilewb += 1>>
  159. <</if>>
  160. <<if getvar("$abortrand") == 10>>
  161. <<setn $sterilewb += 10>>
  162. <</if>>
  163. <<else>>
  164. <<if getvar("$abortrand") < 7>>
  165. <<setn $sterilewb += 2>>
  166. <</if>>
  167. <<if getvar("$abortrand") >= 7>>
  168. <<setn $sterilewb += 10>>
  169. <</if>>
  170. <</if>>
  171. <<set $abortrand to null>>
  172. <!-- !! I am not sure, why is it here this cycle, but I leave it so (rachels)-->
  173. <<set $pc.pcs_hydra += 20>>
  174. <<if getvar("$broodcurse") > 0>>
  175. <<set $pc.gameover= 13>> <<gt 'gameover'>>
  176. <</if>>
  177. <<elseif $location_var[$here][0] == 'remove_preg'>>
  178. <<set $pc.pregtime = 0>>
  179. <<set $pc.pregtalk = 0>>
  180. <<set $pcs_pregtalk = 0>>
  181. <<run $npcs.set('A16','pregtalk',0)>>
  182. <<run $npcs.set('A34','pregtalk',0)>>
  183. <<set $pc.preg = 0>>
  184. <<set $pc.thinkpreg = 0>>
  185. <<set $pc.knowpreg = 0>>
  186. <<set $pc.pregchem = 0>>
  187. <<set $cycle = 4>>
  188. <!-- !! RecovH has a decay of 1.1/hour or ~ 27/day, the recovery period is ~2-3 weeks-->
  189. <<set $RecovH = rand(375,575)>>
  190. <<set $nextbaby = arrsize('yearkid')>>
  191. <<warn 'JUMP MARKER ENCOUNTERED: :poliabortloop'>>
  192. <!-- !!Changed to check if baby has a birth year instead, if it doesn''t, do abortion-->
  193. <<if $time.yearkid[$nextbaby - 1] == 0>>
  194. <<set $polkid[$nextbaby - 1] to null>>
  195. <<set $kidname[$nextbaby - 1] to null>>
  196. <<set $kidage[$nextbaby - 1] to null>>
  197. <<set $time.daykid[$nextbaby - 1] to null>>
  198. <<set $time.monthkid[$nextbaby - 1] to null>>
  199. <<set $time.yearkid[$nextbaby - 1] to null>>
  200. <<set $Babyptype[$nextbaby - 1] to null>>
  201. <<set $ChildFath[$nextbaby - 1] to null>>
  202. <<set $ChildThFath[$nextbaby - 1] to null>>
  203. <<set $hairkid[$nextbaby - 1] to null>>
  204. <<set $eyeskid[$nextbaby - 1] to null>>
  205. <<set $cumarrcon[$nextbaby - 1] to null>>
  206. <<set $wombpotfath to null>>
  207. <<set $BabyEmbryo -= 1>>
  208. <</if>>
  209. <<set $nextbaby -= 1>>
  210. <<if getvar("$nextbaby") > 0>>
  211. <<warn 'JUMP COMMAND ENCOUNTERED: jump poliabortloop'>>
  212. <</if>>
  213. <<set $nextbaby to null>>
  214. <<elseif $location_var[$here][0] == 'birthControlShot'>>
  215. <!-- !! Gives Sveta the effects of a birth control shot. Usage: gs 'medical_din','birthControlShot'-->
  216. <!-- !! Note: You have to make sure that she is not pregnant beforehead.-->
  217. <!-- !!length of shot-->
  218. <<set $tabletkishot = rand(84,91)>>
  219. <!-- !!How long before you can get next shot-->
  220. <<set $shotdays = 93>>
  221. <!-- !!Flag for protection type - shot-->
  222. <<set $tabletkicheck = 2>>
  223. <!-- !!Sets the actual drug in your system-->
  224. <<set $pillcon = 40000>>
  225. <!-- !!How much of the drug Sveta things is in her system-->
  226. <<set $pillcon2 = 40000>>
  227. <<elseif $location_var[$here][0] == 'healthTreatment'>>
  228. <!-- !! Gives Sveta an health treatment (like the doctors in the clinic do). Usage: gs 'medical_din','healthTreatment'-->
  229. <<if $pc.pain('head') > 0>>
  230. <<run $pc.painDec('head',rand(7,13))>>
  231. <</if>>
  232. <<if $pc.pain('hair') > 0>>
  233. <<run $pc.painDec('hair',rand(7,13))>>
  234. <</if>>
  235. <<if $pc.pain('ears') > 0>>
  236. <<run $pc.painDec('ears',rand(7,13))>>
  237. <</if>>
  238. <<if $pc.pain('eyebrows') > 0>>
  239. <<run $pc.painDec('eyebrows',rand(7,13))>>
  240. <</if>>
  241. <<if $pc.pain('eyes') > 0>>
  242. <<run $pc.painDec('eyes',rand(7,13))>>
  243. <</if>>
  244. <<if $pc.pain('cheeks') > 0>>
  245. <<run $pc.painDec('cheeks',rand(7,13))>>
  246. <</if>>
  247. <<if $pc.pain('nose') > 0>>
  248. <<run $pc.painDec('nose',rand(7,13))>>
  249. <</if>>
  250. <<if $pc.pain('mouth') > 0>>
  251. <<run $pc.painDec('mouth',rand(7,13))>>
  252. <</if>>
  253. <<if $pc.pain('lips') > 0>>
  254. <<run $pc.painDec('lips',rand(7,13))>>
  255. <</if>>
  256. <<if $pc.pain('tongue') > 0>>
  257. <<run $pc.painDec('tongue',rand(7,13))>>
  258. <</if>>
  259. <<if $pc.pain('throat') > 0>>
  260. <<run $pc.painDec('throat',rand(7,13))>>
  261. <</if>>
  262. <<if $pc.pain('neck') > 0>>
  263. <<run $pc.painDec('neck',rand(7,13))>>
  264. <</if>>
  265. <<if $pc.pain('back') > 0>>
  266. <<run $pc.painDec('back',rand(7,13))>>
  267. <</if>>
  268. <<if $pc.pain('asscheeks') > 0>>
  269. <<run $pc.painDec('asscheeks',rand(7,13))>>
  270. <</if>>
  271. <<if $pc.pain('asshole') > 0>>
  272. <<run $pc.painDec('asshole',rand(7,13))>>
  273. <</if>>
  274. <<if $pc.pain('hips') > 0>>
  275. <<run $pc.painDec('hips',rand(7,13))>>
  276. <</if>>
  277. <<if $pc.pain('thighs') > 0>>
  278. <<run $pc.painDec('thighs',rand(7,13))>>
  279. <</if>>
  280. <<if $pc.pain('legL') > 0>>
  281. <<run $pc.painDec('legL',rand(7,13))>>
  282. <</if>>
  283. <<if $pc.pain('legR') > 0>>
  284. <<run $pc.painDec('legR',rand(7,13))>>
  285. <</if>>
  286. <<if $pc.pain('feet') > 0>>
  287. <<run $pc.painDec('feet',rand(7,13))>>
  288. <</if>>
  289. <<if $pc.pain('toes') > 0>>
  290. <<run $pc.painDec('toes',rand(7,13))>>
  291. <</if>>
  292. <<if $pc.pain('shoulders') > 0>>
  293. <<run $pc.painDec('shoulders',rand(7,13))>>
  294. <</if>>
  295. <<if $pc.pain('armL') > 0>>
  296. <<run $pc.painDec('armL',rand(7,13))>>
  297. <</if>>
  298. <<if $pc.pain('armR') > 0>>
  299. <<run $pc.painDec('armR',rand(7,13))>>
  300. <</if>>
  301. <<if $pc.pain('hands') > 0>>
  302. <<run $pc.painDec('hands',rand(7,13))>>
  303. <</if>>
  304. <<if $pc.pain('fingers') > 0>>
  305. <<run $pc.painDec('fingers',rand(7,13))>>
  306. <</if>>
  307. <<if $pc.pain('chest') > 0>>
  308. <<run $pc.painDec('chest',rand(7,13))>>
  309. <</if>>
  310. <<if $pc.pain('breasts') > 0>>
  311. <<run $pc.painDec('breasts',rand(7,13))>>
  312. <</if>>
  313. <<if $pc.pain('nipples') > 0>>
  314. <<run $pc.painDec('nipples',rand(7,13))>>
  315. <</if>>
  316. <<if $pc.pain('ribs') > 0>>
  317. <<run $pc.painDec('ribs',rand(7,13))>>
  318. <</if>>
  319. <<if $pc.pain('tummy') > 0>>
  320. <<run $pc.painDec('tummy',rand(7,13))>>
  321. <</if>>
  322. <<if $pc.pain('pubic') > 0>>
  323. <<run $pc.painDec('pubic',rand(7,13))>>
  324. <</if>>
  325. <<if $pc.pain('vaginal') > 0>>
  326. <<run $pc.painDec('vaginal',rand(7,13))>>
  327. <</if>>
  328. <<if $pc.pain('labia') > 0>>
  329. <<run $pc.painDec('labia',rand(7,13))>>
  330. <</if>>
  331. <<if $pc.pain('clitoris') > 0>>
  332. <<run $pc.painDec('clitoris',rand(7,13))>>
  333. <</if>>
  334. <<if $pc.pain('urethra') > 0>>
  335. <<run $pc.painDec('urethra',rand(7,13))>>
  336. <</if>>
  337. <<if $pc.pain('cervix') > 0>>
  338. <<run $pc.painDec('cervix',rand(7,13))>>
  339. <</if>>
  340. <<set $pc.pcs_health = $pc.vitality * 10 + $pc.skillLevel("strength") * 5 + 1000>>
  341. <<if getvar("$pillcon") > 0 and rand(0,4) == 0>>
  342. <<setn $pillcon -= 2500>>
  343. <</if>>
  344. <<set $Kandidoz = Math.min(Kandidoz,0)>>
  345. <<elseif $location_var[$here][0] == 'healSTDs'>>
  346. <!-- !! Heals all STDs. Usage: gs 'medical_din','healSTDs'-->
  347. <<set $venera = 0>>
  348. <<set $GerpesOnce = 0>>
  349. <<set $Gerpes = 0>>
  350. <<set $SifacOnce = 0>>
  351. <<set $Sifilis = 0>>
  352. <<set $TriperOnce = 0>>
  353. <<set $Triper = 0>>
  354. <<set $TriperOral = 0>>
  355. <<set $KandidozOnce = 0>>
  356. <<set $Kandidoz = 0>>
  357. <</if>>
  358. <<if $location_var[$here][0] == 'morning_after_pill_function'>>
  359. <<if arrsize('cumarrcpt') > 0>>
  360. <<set $temp_ID = arrsize('cumarrcpt')>>
  361. <<warn 'JUMP MARKER ENCOUNTERED: :morning_after_womb_cleanup'>>
  362. <<if getvar("$cumarrcpt["+$temp_ID+"]") > 0 and getvar("$sparrloc["+$temp_ID+"]") == 0>>
  363. <!-- !'Removed <<cumarrcpt[$temp_ID]>> sperm at <<cumarrppt[$temp_ID]>> potency from <<<<=$npcs.get($cumarrnam[$temp_ID,'usedname')>>]>>.'-->
  364. <<gs 'cum_cleanup' 'cleanwomb' $temp_ID>>
  365. <</if>>
  366. <<if getvar("$temp_ID") > 0>>
  367. <<setn $temp_ID -= 1>>
  368. <</if>>
  369. <<set $temp_ID to null>>
  370. <</if>>
  371. <<run $pc.sexStatInc('morning_after_pill','aware',1)>>
  372. <<set $morning_after_pill -= 1>>
  373. <</if>>
  374. <<if $location_var[$here][0] == 'morning_after_pill'>>
  375. <<if $locclass == 'kitr'>>
  376. <<image "pc/items/accessories/birthcontrol/pill_take2.jpg">>
  377. <<if getvar("$LudaQW['free_condoms']") == 1 and $pc.sexStat('morning_after_pill') == 0>>
  378. <i>I suppose this is why Aunt Luda gave me this,</i> you think as you take out the morning after pill.
  379. <</if>>
  380. You fill up a small glass of water and pop the pill out of the packaging. Putting it in your mouth, you gulp and wash it down with sips of water from the glass.
  381. <<else>>
  382. <<image "pc/items/accessories/birthcontrol/pill_take1.jpg">>
  383. <<if getvar("$LudaQW['free_condoms']") == 1 and $pc.sexStat('morning_after_pill') == 0>>
  384. <i>I suppose this is why Aunt Luda gave me this,</i> you think as you take out the morning after pill.
  385. <</if>>
  386. Removing the pill from the packaging, you pop it in your mouth and gulp it down dry, wincing in discomfort as you feel it stick slightly on the way down.
  387. <</if>>
  388. <i>Well, that's that,</i> you think to yourself. <i>Hopefully I won''t get pregnant now. I need to be more careful in the future.</i>
  389. <<gs 'medical_din' 'morning_after_pill_function'>>
  390. <</if>>