medical_din.qsrc 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259
  1. # medical_din
  2. !2021/05/02
  3. if $ARGS[0] = 'birth_control':
  4. if tabletkishot < 5 and money >= 2750 and knowpreg = 0 and birth_control['implant_status'] = 0:
  5. act 'Get a birth control shot for 2750 <b>₽</b> (0:15)':
  6. *clr & cla
  7. menu_off = 1
  8. minut += 15
  9. '<center><img <<$set_imgh>> src="images/locations/shared/clinic/poli.jpg"></center>'
  10. 'You are escorted into an examination room, where you are told that say have to do a small test before giving you the shot. You wait for fifteen minutes before the nurse comes back in.'
  11. if preg = 0:
  12. money -= 2750
  13. gs 'medical_din','birthControlShot'
  14. '"Everything looks great." She says and gives you a reassuring smile as she sticks a needle in your arm, and depresses the plunger. Seconds later she explains: "All done! You should be good to go for three months, give or take. It depends a bit from person to person: 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!"'
  15. 'You thank her and wish her the same, while you gather your things. You silently mutter to yourself: "If it is that simple, why did they make me wait 15 minutes..."'
  16. else
  17. money -= 650
  18. '"I''m sorry, but we can''t give you the shot, because you''re pregnant."'
  19. 'After the initial shock subsides you pay the 650 <b>₽</b> for the test and leave.'
  20. thinkpreg = 1
  21. knowpreg = 1
  22. end
  23. gs 'stat'
  24. act 'Leave': gt $loc, $loc_arg
  25. end
  26. elseif tabletkishot < 5 and money < 2750 and knowpreg = 0 and birth_control['implant_status'] = 0:
  27. act 'Get a birth control shot for <font color="red">3,900 <b>₽</b></font> (0:15)': '<br><font color="red">You don''t have enough money to get a birth control shot.</font>'
  28. end
  29. if birth_control['implant_status'] = 0 and money >= 19650 and knowpreg = 0:
  30. act 'Get a birth control implant for 19,650 <b>₽</b> (0:35)':
  31. *clr & cla
  32. menu_off = 1
  33. minut += 15
  34. '<center><img <<$set_imgh>> src="images/locations/shared/clinic/poli.jpg"></center>'
  35. 'You are escorted into an examination room, where you are 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.'
  36. if preg = 0:
  37. minut += 20
  38. money -= 19650
  39. birth_control['implant_status'] = 3
  40. birth_control['implant_timer'] = 1095
  41. pillcon += ((pillcon + 15000) / 25) + 4000
  42. pillcon2 += ((pillcon2 + 15000) / 25) + 4000
  43. '"Everything looks great." She says and gives you a reassuring smile. "Please lie down, the procedure won''t take long."'
  44. '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 isn''t bigger than a matchstick.'
  45. '"All done! You should be good to go for three years."'
  46. else
  47. money -= 650
  48. '"I''m sorry, but we can''t give you the implant, because you''re pregnant."'
  49. 'After the initial shock subsides you pay the 650 <b>₽</b> for the test and leave.'
  50. thinkpreg = 1
  51. knowpreg = 1
  52. end
  53. gs 'stat'
  54. act 'Leave': gt $loc, $loc_arg
  55. end
  56. elseif birth_control['implant_status'] = 0 and money < 19650 and knowpreg = 0:
  57. act 'Get a birth control implant for <font color="red">19,650 <b>₽</b></font> (0:35)': '<br><font color="red">You don''t have enough money to get a birth control implant.</font>'
  58. elseif birth_control['implant_status'] > 0:
  59. if money >= 1000:
  60. act 'Remove your birth control implant for 1,000 <b>₽</b> (0:20)':
  61. *clr & cla
  62. menu_off = 1
  63. minut += 20
  64. money -= 1000
  65. birth_control['implant_status'] = 0
  66. birth_control['implant_timer'] = 0
  67. '<center><img <<$set_imgh>> src="images/locations/shared/clinic/poli.jpg"></center>'
  68. '"Everything looks great." She says and gives you a reassuring smile. "Please lie down, the procedure won''t take long."'
  69. '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 takes out your old implant. "All done!"'
  70. act 'Leave': gt $loc, $loc_arg
  71. end
  72. else
  73. 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>'
  74. end
  75. if birth_control['implant_status'] < 3 and money >= 19650:
  76. act 'Renew your birth control implant for 19,650 <b>₽</b> (0:35)':
  77. *clr & cla
  78. menu_off = 1
  79. minut += 15
  80. '<center><img <<$set_imgh>> src="images/locations/shared/clinic/poli.jpg"></center>'
  81. 'You are escorted into an examination room, where you are 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.'
  82. if preg = 0:
  83. minut += 20
  84. money -= 19650
  85. birth_control['implant_status'] = 3
  86. birth_control['implant_timer'] = 1095
  87. pillcon += ((pillcon + 15000) / 25) + 4000
  88. pillcon2 += ((pillcon2 + 15000) / 25) + 4000
  89. '"Everything looks great." She says and gives you a reassuring smile. "Please lie down, the procedure won''t take long."'
  90. '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.'
  91. '"All done! You should be good to go for three years."'
  92. else
  93. birth_control['implant_status'] = 0
  94. birth_control['implant_timer'] = 0
  95. money -= 1650
  96. '"I''m sorry, but we can''t give you the implant again, because you''re pregnant."'
  97. 'After the initial shock subsides you pay the 1650 <b>₽</b> for the test and the removal of your old implant leave.'
  98. thinkpreg = 1
  99. knowpreg = 1
  100. end
  101. end
  102. elseif birth_control['implant_status'] < 3 and money < 19650:
  103. 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>'
  104. end
  105. end
  106. end
  107. if $ARGS[0] = 'abortion':
  108. !! Aborts pregnency. Usage: gs 'medical_din','abortion'
  109. vidage += 1
  110. abort += 1
  111. abortionbirthdate = daystart
  112. gs 'medical_din', 'remove_preg'
  113. knowpregloss = 2
  114. abortrand = rand(0, 10)
  115. if age > 18:
  116. if abortrand < 10:sterilewb += 1
  117. if abortrand = 10:sterilewb += 10
  118. else
  119. if abortrand < 7:sterilewb += 2
  120. if abortrand >= 7:sterilewb += 10
  121. end
  122. killvar 'abortrand'
  123. !! I am not sure, why is it here this cycle, but I leave it so (rachels)
  124. pcs_hydra += 20
  125. if broodcurse > 0: over = 13 & gt'gameover'
  126. elseif $ARGS[0] = 'remove_preg':
  127. pregtime = 0
  128. pregtalk = 0
  129. pcs_pregtalk = 0
  130. npc_pregtalk['A16'] = 0
  131. npc_pregtalk['A34'] = 0
  132. preg = 0
  133. thinkpreg = 0
  134. knowpreg = 0
  135. pregchem = 0
  136. cycle = 4
  137. !! RecovH has a decay of 1.1/hour or ~ 27/day, the recovery period is ~2-3 weeks
  138. RecovH = rand(375,575)
  139. nextbaby = arrsize('yearkid')
  140. :poliabortloop
  141. !!Changed to check if baby has a birth year instead, if it doesn''t, do abortion
  142. if yearkid[nextbaby-1] = 0:
  143. KILLVAR 'polkid',nextbaby-1
  144. KILLVAR '$kidname',nextbaby-1
  145. KILLVAR 'kidage',nextbaby-1
  146. KILLVAR 'daykid',nextbaby-1
  147. KILLVAR 'monthkid',nextbaby-1
  148. KILLVAR 'yearkid',nextbaby-1
  149. KILLVAR 'Babyptype',nextbaby-1
  150. KILLVAR '$ChildFath',nextbaby-1
  151. KILLVAR '$ChildThFath',nextbaby-1
  152. KILLVAR 'hairkid',nextbaby-1
  153. KILLVAR 'eyeskid',nextbaby-1
  154. KILLVAR 'cumarrcon',nextbaby-1
  155. KILLVAR '$wombpotfath'
  156. BabyEmbryo -= 1
  157. end
  158. nextbaby -= 1
  159. if nextbaby > 0: jump 'poliabortloop'
  160. killvar 'nextbaby'
  161. elseif $ARGS[0] = 'birthControlShot':
  162. !! Gives Sveta the effects of a birth control shot. Usage: gs 'medical_din','birthControlShot'
  163. !! Note: You have to make sure that she is not pregnant beforehead.
  164. !!length of shot
  165. tabletkishot = rand(84,91)
  166. !!How long before you can get next shot
  167. shotdays = 84
  168. !!Flag for protection type - shot
  169. tabletkicheck = 2
  170. !!Sets the actual drug in your system
  171. pillcon = 40000
  172. !!How much of the drug Sveta things is in her system
  173. pillcon2 = 40000
  174. elseif $ARGS[0] = 'healthTreatment':
  175. !! Gives Sveta an health treatment (like the doctors in the clinic do). Usage: gs 'medical_din','healthTreatment'
  176. if pain['head'] > 0:pain['head'] -= rand(7,13)
  177. if pain['hair'] > 0:pain['hair'] -= rand(7,13)
  178. if pain['ears'] > 0:pain['ears'] -= rand(7,13)
  179. if pain['eyebrows'] > 0:pain['eyebrows'] -= rand(7,13)
  180. if pain['eyes'] > 0:pain['eyes'] -= rand(7,13)
  181. if pain['cheeks'] > 0:pain['cheeks'] -= rand(7,13)
  182. if pain['nose'] > 0:pain['nose'] -= rand(7,13)
  183. if pain['mouth'] > 0:pain['mouth'] -= rand(7,13)
  184. if pain['lips'] > 0:pain['lips'] -= rand(7,13)
  185. if pain['tongue'] > 0:pain['tongue'] -= rand(7,13)
  186. if pain['throat'] > 0:pain['throat'] -= rand(7,13)
  187. if pain['neck'] > 0:pain['neck'] -= rand(7,13)
  188. if pain['back'] > 0:pain['back'] -= rand(7,13)
  189. if pain['asscheeks'] > 0:pain['asscheeks'] -= rand(7,13)
  190. if pain['asshole'] > 0:pain['asshole'] -= rand(7,13)
  191. if pain['hips'] > 0:pain['hips'] -= rand(7,13)
  192. if pain['thighs'] > 0:pain['thighs'] -= rand(7,13)
  193. if pain['legL'] > 0:pain['legL'] -= rand(7,13)
  194. if pain['legR'] > 0:pain['legR'] -= rand(7,13)
  195. if pain['feet'] > 0:pain['feet'] -= rand(7,13)
  196. if pain['toes'] > 0:pain['toes'] -= rand(7,13)
  197. if pain['shoulders'] > 0:pain['shoulders'] -= rand(7,13)
  198. if pain['armL'] > 0:pain['armL'] -= rand(7,13)
  199. if pain['armR'] > 0:pain['armR'] -= rand(7,13)
  200. if pain['hands'] > 0:pain['hands'] -= rand(7,13)
  201. if pain['fingers'] > 0:pain['fingers'] -= rand(7,13)
  202. if pain['chest'] > 0:pain['chest'] -= rand(7,13)
  203. if pain['breasts'] > 0:pain['breasts'] -= rand(7,13)
  204. if pain['nipples'] > 0:pain['nipples'] -= rand(7,13)
  205. if pain['ribs'] > 0:pain['ribs'] -= rand(7,13)
  206. if pain['tummy'] > 0:pain['tummy'] -= rand(7,13)
  207. if pain['pubic'] > 0:pain['pubic'] -= rand(7,13)
  208. if pain['vaginal'] > 0:pain['vaginal'] -= rand(7,13)
  209. if pain['labia'] > 0:pain['labia'] -= rand(7,13)
  210. if pain['clitoris'] > 0:pain['clitoris'] -= rand(7,13)
  211. if pain['urethra'] > 0:pain['urethra'] -= rand(7,13)
  212. if pain['cervix'] > 0:pain['cervix'] -= rand(7,13)
  213. pcs_health = pcs_vital * 10 + pcs_stren * 5 + 1000
  214. if pillcon > 0 and rand(0,4) = 0:pillcon -= 2500
  215. elseif $ARGS[0] = 'healSTDs':
  216. !! Heals all STDs. Usage: gs 'medical_din','healSTDs'
  217. venera = 0
  218. GerpesOnce = 0
  219. Gerpes = 0
  220. SifacOnce = 0
  221. Sifilis = 0
  222. TriperOnce = 0
  223. Triper = 0
  224. TriperOral = 0
  225. KandidozOnce = 0
  226. Kandidoz = 0
  227. end
  228. if $ARGS[0] = 'morning_after_pill':
  229. morning_after_pill -= 1
  230. if arrsize('cumarrcpt') > 0:
  231. temp_ID = arrsize('cumarrcpt')
  232. :morning_after_womb_cleanup
  233. if cumarrcpt[temp_ID] > 0 and sparrloc[temp_ID] = 0:
  234. !'Removed <<cumarrcpt[temp_ID]>> sperm at <<cumarrppt[temp_ID]>> potency from <<$npc_usedname[$cumarrnam[temp_ID]]>>.'
  235. gs 'cum_cleanup', 'cleanwomb', temp_ID
  236. end
  237. if temp_ID > 0: temp_ID -= 1 & jump 'morning_after_womb_cleanup'
  238. killvar 'temp_ID'
  239. end
  240. *clr
  241. '<center><img <<$set_imgh>> src="images/pc/items/accessories/birthcontrol/pill.jpg"></center>'
  242. 'You put the pill in your mouth and swallow it down.'
  243. '<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>'
  244. gs 'stat'
  245. end
  246. --- medical_din ---------------------------------