clinic_functions.qsrc 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764
  1. # clinic_functions
  2. if $ARGS[0] = 'set_abortion_act':
  3. if preg = 1 and pregchem < 1863 and knowpreg = 1:
  4. if max(money, karta) < 15000:
  5. act 'Get an abortion (<font color="red">15,000 <b>₽</b></font>)': '<br><font color="red">You don''t have enough money to have an abortion.</font>'
  6. else
  7. act 'Get an abortion (15,000 <b>₽</b>)':
  8. cla
  9. if money >= 15000:
  10. act 'Pay in cash':
  11. xgt 'clinic_functions', 'get_abortion', 'money'
  12. end
  13. end
  14. if karta >= 15000:
  15. act 'Pay with card':
  16. xgt 'clinic_functions', 'get_abortion', 'karta'
  17. end
  18. end
  19. act 'Return to the entrance': gt $loc, $loc_arg
  20. end
  21. end
  22. end
  23. end
  24. if $ARGS[0] = 'get_abortion':
  25. if $ARGS[1] = 'money':
  26. money -= 15000
  27. else
  28. karta -= 15000
  29. end
  30. minut += 60
  31. if $region = 'city':
  32. '<center><img <<$set_imgh>> src="images/locations/city/residential/clinic/abort.jpg"></center>'
  33. end
  34. 'You spread out on a gynecological chair at an angle where you can''t see what''s going on. You feel nauseous and violated as a nurse hands you a single aspirin and a glass of muddy-looking water to down it with.'
  35. gs 'medical_din', 'abortion'
  36. gs 'stat'
  37. act 'Return to the entrance': gt $loc, $loc_arg
  38. end
  39. if $ARGS[0] = 'set_dentist_act':
  40. if (pcs_teeth > -1 and (dentistday < daystart or dentistday = 0)) or (pcs_missing_teeth > 0 and pcs_brace = 0):
  41. act 'Go to the dentist':
  42. *clr & cla
  43. '<center><img <<$set_imgh>> src="images/locations/shared/clinic/dentist.jpg"></center>'
  44. menu_off = 1
  45. minut += 15
  46. gs 'stat'
  47. if pcs_brace = 1:
  48. pcs_brace = 0
  49. pcs_teeth -= 1
  50. 'The dentist spends 15 minutes taking off your brace and cleaning up. You look in the mirror afterwards and your teeth are '+iif(pcs_teeth = 0, 'now straight', 'straighter, but can still use some more work.')
  51. gs 'AppearanceSystem', 'UpdateBaseAppearance'
  52. gs 'stat'
  53. else
  54. if pcs_missing_teeth = 1:
  55. zubpay = 30000
  56. 'The dentist examines you and says it will cost 3000 <b>₽</b> to replace your tooth.'
  57. elseif pcs_missing_teeth > 1:
  58. zubpay = pcs_missing_teeth * 30000
  59. 'The dentist examines you and says it will cost <<pcs_missing_teeth * 30000>> <b>₽</b> to fill the gaps.'
  60. elseif pcs_teeth = 0:
  61. zubpay = 3000
  62. 'The dentist examines you and says, it will cost 3000 <b>₽</b> to brighten and polish your teeth.'
  63. elseif pcs_teeth > 0:
  64. zubpay = 4500
  65. 'The dentist examinees you and says it will cost 4500 <b>₽</b> to straighten your teeth and that you''ll have to wear a brace for three months. However, he states that he can''t promise they will be completely straight after one treatment.'
  66. end
  67. if max(money, karta) < zubpay:
  68. *nl
  69. 'You do not have enough money to fix your teeth.'
  70. else
  71. dynamic "
  72. if money >= <<zubpay>>:
  73. act 'Sort out your teeth (<<zubpay>> <b>₽</b>) (cash)':
  74. xgt 'clinic_functions', 'fix_teeth', <<zubpay>>, 'money'
  75. end
  76. end
  77. if karta >= <<zubpay>>:
  78. act 'Sort out your teeth (<<zubpay>> <b>₽</b>) (card)':
  79. xgt 'clinic_functions', 'fix_teeth', <<zubpay>>, 'karta'
  80. end
  81. end
  82. "
  83. end
  84. killvar 'zubpay'
  85. end
  86. act 'Return to the entrance': gt $loc, $loc_arg
  87. end
  88. end
  89. end
  90. if $ARGS[0] = 'fix_teeth':
  91. act 'Return to the entrance': gt $loc, $loc_arg
  92. if $ARGS[2] = 'money':
  93. money -= ARGS[1]
  94. else
  95. karta -= ARGS[1]
  96. end
  97. minut += 60
  98. if pcs_missing_teeth > 0:
  99. pcs_missing_teeth = 0
  100. 'You pay the dentist to fix your teeth and he has restored your winning smile within an hour.'
  101. elseif pcs_teeth > 0:
  102. dentistday = daystart + 180
  103. pcs_brace = 1
  104. 'You pay the dentist to straighten your teeth. After an hour of work, he has attached a brace to your teeth and tells you to come back in six months to have it taken off.'
  105. else
  106. dentistday = daystart + 90
  107. pcs_teeth = -1
  108. 'You pay the dentist to brighten and polish your teeth and an hour later, your smile is much brighter and more attractive.'
  109. end
  110. gs 'AppearanceSystem', 'UpdateBaseAppearance'
  111. gs 'stat'
  112. end
  113. if $ARGS[0] = 'set_optometrist_acts':
  114. if glassqw = 1:
  115. act 'Visit the optometrist (0:35)':
  116. *clr & cla
  117. menu_off = 1
  118. minut += 35
  119. gs 'stat'
  120. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/clinic/optometrist.jpg"></center>'
  121. 'The optometrist takes you through a series of tests to measure the condition of your eyes.'
  122. 'He looks at you as if he has bad news for you. "Well, you probably already expected this, but your vision has deteriorated significantly. You''re going to need glasses to be able to read. The prescription I''m writing for you is for a simple set of rimmed glasses which you can pick up at the front desk before you leave."'
  123. 'He hands you a piece of paper. "Of course you can get a different pair elsewhere if you want better looking ones, the details for which ones you need are on your prescription. You can also get laser vision correction if you really don''t want to use glasses, but I''m going to be honest with you: that''s a very expensive procedure."'
  124. pcs_nerd += 1
  125. glassqw = 2
  126. glass = 1
  127. blizoruk += 1
  128. act 'Return to the entrance': gt $loc, $loc_arg
  129. end
  130. end
  131. if glass > 0:
  132. act 'Go to the optometrist':
  133. *clr & cla
  134. menu_off = 1
  135. gs 'stat'
  136. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/clinic/optometrist.jpg"></center>'
  137. 'The optometrist examines your eyes and says that he can perform laser eye surgery for 75,000 <b>₽</b>. Of course, reading books can cause your eyesight to deteriorate again.'
  138. if glass = 1: 'The optometrist also tells you about the option to buy glasses for 4,500 <b>₽</b>.'
  139. act 'Return to the entrance': gt $loc, $loc_arg
  140. if glass = 1:
  141. if max(money, karta) < 4500:
  142. *nl
  143. 'You can''t afford the more stylish glasses.'
  144. else
  145. if money >= 4500:
  146. act 'Buy glasses (4,500 <b>₽</b>) (cash)':
  147. xgt 'clinic_functions', 'buy_stylish_glasses', 'money'
  148. end
  149. end
  150. if karta >= 4500:
  151. act 'Buy glasses (4,500 <b>₽</b>) (card)':
  152. xgt 'clinic_functions', 'buy_stylish_glasses', 'karta'
  153. end
  154. end
  155. end
  156. end
  157. if glass ! 0:
  158. if max(money, karta) < 75000:
  159. *nl
  160. 'You can''t afford the laser eye correction surgery.'
  161. else
  162. if money >= 75000:
  163. act 'Pay for laser correction (75,000 <b>₽</b>) (cash)':
  164. xgt 'clinic_functions', 'buy_laser_correction', 'money'
  165. end
  166. end
  167. if karta >= 75000:
  168. act 'Pay for laser correction (75,000 <b>₽</b>) (card)':
  169. xgt 'clinic_functions', 'buy_laser_correction', 'karta'
  170. end
  171. end
  172. end
  173. end
  174. end
  175. end
  176. end
  177. if $ARGS[0] = 'buy_stylish_glasses':
  178. if $ARGS[1] = 'money':
  179. money -= 4500
  180. else
  181. karta -= 4500
  182. end
  183. minut += 60
  184. glass = 2
  185. gs 'AppearanceSystem', 'UpdateBaseAppearance'
  186. gs 'stat'
  187. 'You buy a new, more stylish pair of glasses.'
  188. act 'Return to the entrance': gt $loc, $loc_arg
  189. end
  190. if $ARGS[0] = 'buy_laser_correction':
  191. if $ARGS[1] = 'money':
  192. money -= 75000
  193. else
  194. karta -= 75000
  195. end
  196. minut += 60
  197. blizoruk = 0
  198. glass = 0
  199. gs 'body_desc'
  200. gs 'stat'
  201. 'You undergo laser eye surgery. Your eyesight is much better now.'
  202. act 'Return to the entrance': gt $loc, $loc_arg
  203. end
  204. if $ARGS[0] = 'set_std_herpes_shot_act':
  205. if GerpesNapr > 0 and GerpesUkolDay ! daystart:
  206. if max(money, karta) < 450:
  207. *nl
  208. 'You can''t afford your herpes shot.'
  209. else
  210. if money >= 450:
  211. act 'Get herpes shot (450 <b>₽</b>) (cash) You need <<GerpesNapr>> more injections to complete the treatment':
  212. money -= 450
  213. xgt 'clinic_functions', 'herpes_shot'
  214. end
  215. end
  216. if karta >= 450:
  217. act 'Get herpes shot (450 <b>₽</b>) (card) You need <<GerpesNapr>> more injections to complete the treatment':
  218. karta -= 450
  219. xgt 'clinic_functions', 'herpes_shot'
  220. end
  221. end
  222. end
  223. end
  224. end
  225. if $ARGS[0] = 'set_std_gonorrhea_shot_act':
  226. if TriperNapr > 0 and TriperUkolDay ! daystart:
  227. if max(money, karta) < 750:
  228. *nl
  229. 'You can''t afford your gonorrhea shot.'
  230. else
  231. if money >= 750:
  232. act 'Get gonorrhea shot (750 <b>₽</b>) (cash) You need <<TriperNapr>> more injections to complete the treatment':
  233. money -= 750
  234. xgt 'clinic_functions', 'gonorrhea_shot'
  235. end
  236. end
  237. if karta >= 750:
  238. act 'Get gonorrhea shot (750 <b>₽</b>) (card) You need <<TriperNapr>> more injections to complete the treatment':
  239. karta -= 750
  240. xgt 'clinic_functions', 'gonorrhea_shot'
  241. end
  242. end
  243. end
  244. end
  245. end
  246. if $ARGS[0] = 'set_std_syphilis_shot_act':
  247. if SifNapr = 1:
  248. if max(money, karta) < 1000:
  249. *nl
  250. 'You can''t afford your syphilis shot.'
  251. else
  252. if money >= 1000:
  253. act 'Get syphilis shot (1,000 <b>₽</b>) (cash)':
  254. money -= 1000
  255. xgt 'clinic_functions', 'syphilis_shot'
  256. end
  257. end
  258. if karta >= 1000:
  259. act 'Get syphilis shot (1,000 <b>₽</b>) (card)':
  260. karta -= 1000
  261. xgt 'clinic_functions', 'syphilis_shot'
  262. end
  263. end
  264. end
  265. end
  266. end
  267. if $ARGS[0] = 'set_std_herpes_cure_act':
  268. if GerpesOnce = 1 and week = 1 and day <= 10:
  269. if max(money, karta) < 45000:
  270. *nl
  271. 'You to go to private clinic and completely cure your herpes.'
  272. else
  273. if money >= 45000:
  274. act 'Go to private clinic and completely cure your herpes (45,000 <b>₽</b>) (cash)':
  275. money -= 45000
  276. xgt 'clinic_functions', 'herpes_cure'
  277. end
  278. end
  279. if karta >= 45000:
  280. act 'Go to private clinic and completely cure your herpes (45,000 <b>₽</b>) (card)':
  281. karta -= 45000
  282. xgt 'clinic_functions', 'herpes_cure'
  283. end
  284. end
  285. end
  286. end
  287. end
  288. if $ARGS[0] = 'set_std_yeast_cure_act':
  289. if KandidozOnce = 1:
  290. if max(money, karta) < 15000:
  291. *nl
  292. 'You can''t afford to go to the private clinic and completely cure your yeast infection.'
  293. else
  294. if money >= 15000:
  295. act 'Go to private clinic and completely cure your yeast infection. (15,000 <b>₽</b>) (cash)':
  296. money -= 15000
  297. xgt 'clinic_functions', 'yeast_cure'
  298. end
  299. end
  300. if karta >= 15000:
  301. act 'Go to private clinic and completely cure your yeast infection. (15,000 <b>₽</b>) (card)':
  302. karta -= 15000
  303. xgt 'clinic_functions', 'yeast_cure'
  304. end
  305. end
  306. end
  307. end
  308. end
  309. if $ARGS[0] = 'herpes_shot':
  310. *clr & cla
  311. minut += 15
  312. GerpesUkolDay = daystart
  313. GerpesNapr -= 1
  314. gs 'stat'
  315. 'You see the nurse and she gives you a painful injection in your ass.'
  316. if GerpesNapr = 0:Gerpes = -10 & 'You have completed the treatment.'
  317. act 'Leave': gt $loc, $loc_arg
  318. end
  319. if $ARGS[0] = 'gonorrhea_shot':
  320. *clr & cla
  321. minut += 15
  322. TriperUkolDay = daystart
  323. TriperNapr -= 1
  324. gs 'stat'
  325. 'You see the nurse and she gives you a painful injection in your ass.'
  326. if TriperNapr = 0:TriperOral = 0 & TriperOralSigns = 0 & Triper = 0 & Venera -= 1 & TriperOnce = 0 & 'You have completed the treatment.'
  327. act 'Leave': gt $loc, $loc_arg
  328. end
  329. if $ARGS[0] = 'syphilis_shot':
  330. *clr & cla
  331. minut += 60
  332. SifNapr = 0
  333. SifacOnce = 0
  334. Sifilis = 0
  335. Venera -= 1
  336. gs 'stat'
  337. 'You see the nurse and she gives you a painful injection in your ass.'
  338. '"That''s it. You might still feel a little off, but the infection is now cured."'
  339. act 'Leave': gt $loc, $loc_arg
  340. end
  341. if $ARGS[0] = 'yeast_cure':
  342. *clr & cla
  343. menu_off = 1
  344. day += 3
  345. week += 3
  346. KandidozOnce = 0
  347. Kandidoz = 0
  348. gs 'stat'
  349. 'There''s an ambulance waiting outside. It drives you to a cutting edge medical facility, where you spend 3 days being treated and pampered.'
  350. 'After a long recovery, you have been completely cured of your yeast infection.'
  351. act 'Leave': gt $loc, $loc_arg
  352. end
  353. if $ARGS[0] = 'herpes_cure':
  354. *clr & cla
  355. menu_off = 1
  356. day += 3
  357. week += 3
  358. GerpesOnce = 0
  359. Gerpes = 0
  360. OrHerpes = 0
  361. GenHerpes = 0
  362. Venera -= 1
  363. gs 'stat'
  364. 'There''s an ambulance waiting outside. It drives you to a cutting edge medical facility, where you spend 3 days being treated and pampered.'
  365. 'After a long recovery, you have been completely cured of your herpes.'
  366. act 'Leave': gt $loc, $loc_arg
  367. end
  368. if $ARGS[0] = 'set_electrolysis_act':
  369. if lashair = 0:
  370. if max(money, karta) >= 80000:
  371. '<a href="exec: gt ''clinic_functions'', ''electrolysis''">Electrolysis</a> laser hair removal of legs and pubic area - 80,000 <b>₽</b>'
  372. else
  373. 'Electrolysis - laser hair removal of legs and pubic area - 80,000 <b>₽</b>'
  374. end
  375. else
  376. 'Electrolysis - laser hair removal of legs and pubic area - 80,000 <b>₽</b> - You have no hair to remove.'
  377. end
  378. end
  379. if $ARGS[0] = 'set_lip_enlargement_act':
  380. if pcs_lip < 4:
  381. if max(money, karta) >= 25000:
  382. '<a href="exec: gt ''clinic_functions'', ''lipPlus''">Lip enlargement surgery</a> - 25,000 <b>₽</b>'
  383. else
  384. 'Lip enlargement surgery - 25,000 <b>₽</b>'
  385. end
  386. else
  387. 'Lip enlargement surgery - 25,000 <b>₽</b> - Your lips are already big.'
  388. end
  389. end
  390. if $ARGS[0] = 'set_lip_reduction_act':
  391. if pcs_lip > 0:
  392. if max(money, karta) >= 30000:
  393. '<a href="exec: gt ''clinic_functions'', ''lipMin''">Lip reduction surgery</a> - 30,000 <b>₽</b>'
  394. else
  395. 'Lip reduction surgery - 30,000 <b>₽</b>'
  396. end
  397. else
  398. 'Lip reduction surgery - 30,000 <b>₽</b> - Your lips are already thin'
  399. end
  400. end
  401. if $ARGS[0] = 'set_eye_enlargement_act':
  402. if pcs_eyesize < 3:
  403. if max(money, karta) >= 90000:
  404. '<a href="exec: gt ''clinic_functions'', ''eyePlus''">Eye enlargement surgery</a> - 90,000 <b>₽</b>'
  405. else
  406. 'Eye enlargement surgery - 90,000 <b>₽</b>'
  407. end
  408. else
  409. 'Eye enlargement surgery - 90,000 <b>₽</b> - Your eyes are already big.'
  410. end
  411. end
  412. if $ARGS[0] = 'set_eye_reduction_act':
  413. if pcs_eyesize > 0:
  414. if max(money, karta) >= 90000:
  415. '<a href="exec: gt ''clinic_functions'', ''eyeMin''">Eye reduction surgery</a> - 90,000 <b>₽</b>'
  416. else
  417. 'Eye reduction surgery - 90,000 <b>₽</b>'
  418. end
  419. else
  420. 'Eye reduction surgery - 90,000 <b>₽</b> - Your eyes are already small.'
  421. end
  422. end
  423. if $ARGS[0] = 'set_liposuction_act':
  424. if pcs_mass['body'] > 40:
  425. if max(money, karta) >= 75000:
  426. '<a href="exec: gt ''clinic_functions'', ''lyposuction''">Liposuction</a> - 75,000 <b>₽</b>'
  427. else
  428. 'Liposuction - 75,000 <b>₽</b>'
  429. end
  430. else
  431. 'Liposuction - 75,000 <b>₽</b> - You''re already thin.'
  432. end
  433. end
  434. if $ARGS[0] = 'set_remove_breast_implant_act':
  435. if bodyVars['bust_silicone'] ! 0:
  436. if max(money, karta) >= 90000:
  437. '<a href="exec: stringimplant = 0 & fillimplant = 0 & gt ''clinic_functions'', ''bImplantA'', 0">Remove breast implants</a> - 90,000 <b>₽</b>'
  438. else
  439. 'Remove breast implants - 90,000 <b>₽</b>'
  440. end
  441. else
  442. 'Remove breast implants - 90,000 <b>₽</b> - You have no breast implants.'
  443. end
  444. end
  445. if $ARGS[0] = 'set_get_small_breast_implant_act':
  446. if fillimplant = 0 and stringimplant = 0:
  447. if max(money, karta) >= 170000:
  448. '<a href="exec: gt ''clinic_functions'', ''bImplantA'', 10">Get small breast implants</a> - 170,000 <b>₽</b>'
  449. else
  450. 'Get small breast implants - 170,000 <b>₽</b>'
  451. end
  452. else
  453. 'Get small breast implants - 170,000 <b>₽</b> - You already have ' + iif(fillimplant = 1, 'fillable', 'string') + ' implants.'
  454. end
  455. end
  456. if $ARGS[0] = 'set_get_medium_breast_implant_act':
  457. if fillimplant = 0 and stringimplant = 0:
  458. if max(money, karta) >= 180000:
  459. '<a href="exec: gt ''clinic_functions'', ''bImplantA'', 20">Get medium breast implants</a> - 180,000 <b>₽</b>'
  460. else
  461. 'Get medium breast implants - 180,000 <b>₽</b>'
  462. end
  463. else
  464. 'Get medium breast implants - 180,000 <b>₽</b> - You already have ' + iif(fillimplant = 1, 'fillable', 'string') + ' implants.'
  465. end
  466. end
  467. if $ARGS[0] = 'set_get_large_breast_implant_act':
  468. if fillimplant = 0 and stringimplant = 0:
  469. if max(money, karta) >= 190000:
  470. '<a href="exec: gt ''clinic_functions'', ''bImplantA'', 30">Get large breast implants</a> - 190,000 <b>₽</b>'
  471. else
  472. 'Get large breast implants - 190,000 <b>₽</b>'
  473. end
  474. else
  475. 'Get large breast implants - 190,000 <b>₽</b> - You already have ' + iif(fillimplant = 1, 'fillable', 'string') + ' implants.'
  476. end
  477. end
  478. if $ARGS[0] = 'set_get_XXL_breast_implant_act':
  479. if fillimplant = 0 and stringimplant = 0:
  480. if max(money, karta) >= 200000:
  481. '<a href="exec: gt ''clinic_functions'', ''bImplantA'', 40">Get XXL breast implants</a> - 200,000 <b>₽</b>'
  482. else
  483. 'Get XXL breast implants - 200,000 <b>₽</b>'
  484. end
  485. else
  486. 'Get XXL breast implants - 200,000 <b>₽</b> - You already have ' + iif(fillimplant = 1, 'fillable', 'string') + ' implants.'
  487. end
  488. end
  489. if $ARGS[0] = 'set_get_fillable_breast_implant_act':
  490. if fillimplant = 0 and stringimplant = 0:
  491. if max(money, karta) >= 200000:
  492. '<a href="exec: fillimplant = 1 & gt ''clinic_functions'', ''bImplantA'', 20">Get fillable implants</a> - 200,000 <b>₽</b>'
  493. else
  494. 'Get fillable implants - 200,000 <b>₽</b>'
  495. end
  496. else
  497. 'Get fillable implants - 200,000 <b>₽</b> - You already have ' + iif(fillimplant = 1, 'fillable', 'string') + ' implants.'
  498. end
  499. end
  500. if $ARGS[0] = 'set_get_string_breast_implant_act':
  501. if fillimplant = 0 and stringimplant = 0:
  502. if max(money, karta) >= 200000:
  503. '<a href="exec: stringimplant = 1 & gt ''clinic_functions'', ''bImplantA'', 20">Get string implants</a> - 250,000 <b>₽</b>'
  504. else
  505. 'Get string implants - 250,000 <b>₽</b>'
  506. end
  507. else
  508. 'Get string implants - 250,000 <b>₽</b> - You already have ' + iif(fillimplant = 1, 'fillable', 'string') + ' implants.'
  509. end
  510. end
  511. if $ARGS[0] = 'set_drain_string_breast_implant_act':
  512. if stringimplant = 1 and bodyVars['bust_silicone'] >= 30:
  513. if max(money, karta) >= 2000:
  514. '<a href="exec: xgt ''clinic_functions'', ''bImplantA'', ''drain''">Drain string implant</a> - 2,000 <b>₽</b>'
  515. else
  516. 'Drain string implant - 2,000 <b>₽</b>'
  517. end
  518. end
  519. end
  520. if $ARGS[0] = 'set_buy_silicone_bag_act':
  521. if fillimplant = 1:
  522. if max(money, karta) >= 500:
  523. '<a href="exec: xgt ''clinic_functions'', ''bImplantA'', ''bag''">Buy silicone bag</a> - 500 <b>₽</b>'
  524. else
  525. 'Buy silicone bag - 500 <b>₽</b>'
  526. end
  527. else
  528. 'Buy silicone bag - 500 <b>₽</b> - You don''t have fillable implants.'
  529. end
  530. end
  531. if $ARGS[0] = 'electrolysis':
  532. menu_off = 1
  533. if money >= 80000:
  534. money -= 80000
  535. else
  536. karta -= 80000
  537. end
  538. minut += 120
  539. pcs_leghair = 0
  540. pcs_pubes = 0
  541. lashair = 1
  542. gs 'stat'
  543. '<center><img <<$set_imgh>> src="images/locations/city/residential/clinic/electrolysis.jpg"></center>'
  544. 'The surgeon has you strip completely and lie down on the table. Over the next few hours, you''re treated by a laser over and over again. When the treatment is finished and you get up from the table, your skin feels silky smooth.'
  545. act 'Continue': gt $loc, $loc_arg
  546. end
  547. if $ARGS[0] = 'lipPlus':
  548. menu_off = 1
  549. if money >= 25000:
  550. money -= 25000
  551. else
  552. karta -= 25000
  553. end
  554. minut += 60
  555. pcs_lip += 1
  556. gs 'stat'
  557. '<center><img <<$set_imgh>> src="images/locations/city/residential/clinic/cosmeticsur.jpg"></center>'
  558. 'The surgeon has you strip, put on a gown and lie down on the table, where he gives you a mask. "Just breathe in deeply. We''ll be done before you know it."'
  559. 'When you wake up, the procedure is complete and your lips are fuller.'
  560. act 'Continue': gt $loc, $loc_arg
  561. end
  562. if $ARGS[0] = 'lipMin':
  563. menu_off = 1
  564. if money >= 30000:
  565. money -= 30000
  566. else
  567. karta -= 30000
  568. end
  569. minut += 60
  570. pcs_lip -= 1
  571. gs 'stat'
  572. '<center><img <<$set_imgh>> src="images/locations/city/residential/clinic/cosmeticsur.jpg"></center>'
  573. 'The surgeon has you strip, put on a gown and lie down on the table, where he gives you a mask. "Just breathe in deeply. We''ll be done before you know it."'
  574. 'When you wake up, the procedure is complete and your lips are thinner.'
  575. act 'Continue': gt $loc, $loc_arg
  576. end
  577. if $ARGS[0] = 'eyePlus':
  578. menu_off = 1
  579. if money >= 90000:
  580. money -= 90000
  581. else
  582. karta -= 90000
  583. end
  584. minut += 60
  585. pcs_eyesize += 1
  586. gs 'stat'
  587. '<center><img <<$set_imgh>> src="images/locations/city/residential/clinic/cosmeticsur.jpg"></center>'
  588. 'The surgeon has you strip, put on a gown and lie down on the table, where he gives you a mask. "Just breathe in deeply. We''ll be done before you know it."'
  589. 'When you wake up again, the procedure is complete and your eyes are larger.'
  590. act 'Continue': gt $loc, $loc_arg
  591. end
  592. if $ARGS[0] = 'eyeMin':
  593. menu_off = 1
  594. if money >= 90000:
  595. money -= 90000
  596. else
  597. karta -= 90000
  598. end
  599. minut += 60
  600. pcs_eyesize -= 1
  601. gs 'stat'
  602. '<center><img <<$set_imgh>> src="images/locations/city/residential/clinic/cosmeticsur.jpg"></center>'
  603. 'The surgeon has you strip, put on a gown and lie down on the table, where he gives you a mask. "Just breathe in deeply. We''ll be done before you know it."'
  604. 'When you wake up, the procedure is complete and your eyes are smaller.'
  605. act 'Continue': gt $loc, $loc_arg
  606. end
  607. if $ARGS[0] = 'lyposuction':
  608. menu_off = 1
  609. if money >= 75000:
  610. money -= 75000
  611. else
  612. karta -= 75000
  613. end
  614. minut += 60
  615. pcs_mass['body'] -= 40
  616. if pcs_mass['body'] < 11: pcs_mass['body'] = 11
  617. gs 'body', 'softreset'
  618. gs 'stat'
  619. '<center><img <<$set_imgh>> src="images/locations/city/residential/clinic/cosmeticsur.jpg"></center>'
  620. 'The surgeon has you strip, put on a gown and lie down on the table, where he gives you a mask. "Just breathe in deeply. We''ll be done before you know it."'
  621. 'When you wake up, the procedure is complete and you''re looking thinner.'
  622. act 'Continue': gt $loc, $loc_arg
  623. end
  624. if $ARGS[0] = 'bImplantA':
  625. menu_off = 1
  626. if stringimplant = 1:
  627. ! Get String Implants
  628. temp_pay_amount = 250000
  629. elseif fillimplant = 1:
  630. ! Get Fillable Implants
  631. temp_pay_amount = 200000
  632. elseif ARGS[1] = 40:
  633. ! Get XXL Implants
  634. temp_pay_amount = 200000
  635. elseif ARGS[1] = 30:
  636. ! Get Large Implants
  637. temp_pay_amount = 190000
  638. elseif ARGS[1] = 20:
  639. ! Get Medium Implants
  640. temp_pay_amount = 180000
  641. elseif ARGS[1] = 10:
  642. ! Get Small Implants
  643. temp_pay_amount = 170000
  644. elseif ARGS[1] = 0:
  645. ! Remove any implants
  646. temp_pay_amount = 90000
  647. end
  648. if money >= temp_pay_amount:
  649. money -= temp_pay_amount
  650. else
  651. karta -= temp_pay_amount
  652. end
  653. killvar 'temp_pay_amount'
  654. minut += 60
  655. bodyVars['bust_silicone'] = ARGS[1]
  656. gs 'stat'
  657. '<center><img <<$set_imgh>> src="images/locations/city/residential/clinic/cosmeticsur.jpg"></center>'
  658. 'The surgeon has you strip, put on a gown and lie down on the table, where he gives you a mask. "Just breathe in deeply... we''ll be done before you know it."'
  659. 'When you wake up again, the procedure is complete and you look down at your new breasts.'
  660. act 'Continue': gt $loc, $loc_arg
  661. end
  662. if $ARGS[0] = 'bImplantB':
  663. menu_off = 1
  664. if $ARGS[1] = 'drain':
  665. if money >= 2000:
  666. money -= 2000
  667. else
  668. karta -= 2000
  669. end
  670. bodyVars['bust_silicone'] -= 10
  671. msg 'You drain some of your string implant'
  672. elseif $ARGS[1] = 'bag':
  673. if money >= 500:
  674. money -= 500
  675. else
  676. karta -= 500
  677. end
  678. siliconeBag += 1
  679. msg 'You buy a silicone bag.'
  680. end
  681. gs 'stat'
  682. act 'Continue': gt $loc, $loc_arg
  683. end
  684. --- clinic_functions ---------------------------------------