From 967dd2d8e80a559883152a1d0377801d418a554f Mon Sep 17 00:00:00 2001 From: Fate Date: Sat, 16 May 2009 13:55:26 +0000 Subject: Elanore and the Doctor can now heal poisoning. Also added sc_poison constant to db/const.txt. --- npc/009-2_Hurnscald/doctor.txt | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'npc/009-2_Hurnscald/doctor.txt') diff --git a/npc/009-2_Hurnscald/doctor.txt b/npc/009-2_Hurnscald/doctor.txt index 2d7c2602..84cf97de 100644 --- a/npc/009-2_Hurnscald/doctor.txt +++ b/npc/009-2_Hurnscald/doctor.txt @@ -24,9 +24,25 @@ L_Cure: mes "[Doctor]"; - mes "\"That is impossible. Status ailments aren't ingame yet!\""; + if (sc_check(sc_poison)) + goto L_CurePoison; + mes "The doctor examines you briefly."; + mes "\"Nonsense! You look fine and dandy to me. All you need is a bit more exercise and fresh fruit in your diet!\""; close; +L_CurePoison: + mes "\"Well, well, well! Look at all those green bubbles coming out of your head; that looks like poisoning to me! Did you eat something rotten?\""; + next; + mes "[Doctor]"; + mes "The doctor pulls out a syringe and fills it with a white liquid from a jar on his desk."; + mes "\"Now hold still, this won't hurt a bit...\""; + next; + mes "[Doctor]"; + sc_end(sc_poison); + mes "*Ouch!*"; + mes "\"Next time, be more careful! Make sure to cook any meats before you eat them, and don't eat fish once it starts to smell.\""; + close; + L_Axe: mes "[Doctor]"; mes "\"Oh my, what happened to you?\""; @@ -56,7 +72,7 @@ L_Eyepatch_GlassEye: next; mes "[Doctor]"; - mes "\"I can't seem to find where I put that box. YOu should come back later, I may have found them by then.\""; + mes "\"I can't seem to find where I put that box. You should come back later, I may have found them by then.\""; next; close; -- cgit v1.2.3-60-g2f50