// creator  : weidu.exe (version 23600)
// argument : THALAN.DLG
// game     : .
// source   : ./override/THALAN.DLG
// dialog   : lang\en_us/dialog.tlk
// dialogF  : (none)

BEGIN ~THALAN~
//////////////////////////////////////////////////
// WARNING: this file contains non-trivial WEIGHTs
//////////////////////////////////////////////////

IF WEIGHT #1 /* Triggers after states #: 33 even though they appear after this state */
~  NumberOfTimesTalkedTo(0)
~ THEN BEGIN 0 // from:
  SAY #5660 /* ~I don't have much patience for strangers on my property. Do us both a favor and move along... Unless, of course, you have magic for sale. From the looks of you, you couldn't afford the items I have for sale.~ */
  IF ~~ THEN DO ~SetGlobal("Golem","GLOBAL",1)
~ EXIT
  IF ~Global("X#THALAN0","GLOBAL",0)
InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
Global("P#KivWelcome","GLOBAL",0)
~ THEN DO ~SetGlobal("X#THALAN0","GLOBAL",1)~ GOTO 44
  IF ~Global("X#THALAN0","GLOBAL",0)
InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
Global("P#KivWelcome","GLOBAL",0)
~ THEN DO ~SetGlobal("X#THALAN0","GLOBAL",1)~ EXTERN ~KIVANJ~ 316
  IF ~Global("X#THALAN0","GLOBAL",0)
InParty("branwen")
InMyArea("branwen")
!StateCheck("branwen",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#THALAN0","GLOBAL",1)~ GOTO 46
  IF ~Global("X#THALAN0","GLOBAL",0)
InParty("branwen")
InMyArea("branwen")
!StateCheck("branwen",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#THALAN0","GLOBAL",1)~ EXTERN ~BRANWJ~ 78
END

IF WEIGHT #7 /* Triggers after states #: 5 26 27 28 30 33 even though they appear after this state */
~  True()
~ THEN BEGIN 1 // from:
  SAY #5661 /* ~I sincerely hope you have some reason for bothering me. I've already stated that I wish you to leave.~ */
  IF ~~ THEN REPLY #5662 /* ~Rumors talk of a powerful mage that lives out here. If it is you, I would like to speak with you.~ */ GOTO 2
  IF ~~ THEN REPLY #5663 /* ~I go where I wish and stay as long as I please. Don't threaten me.~ */ GOTO 3
  IF ~~ THEN REPLY #5664 /* ~I apologize for the intrusion, and will leave immediately.~ */ GOTO 4
  IF ~  PartyHasItem("MISC49")
~ THEN REPLY #6154 /* ~Well, it's rather amusing actually. You see, I happened to rescue this... um... talking chicken...~ */ DO ~TakePartyItem("MISC49")
DestroyItem("MISC49")
CreateCreature("MELICA",[286.398],N)
ActionOverride("Melicamp",SetNumTimesTalkedTo(2))
SetGlobal("LeftChicken","GLOBAL",1)
~ GOTO 7
  IF ~Global("X#KivanThalantyr2","GLOBAL",0)
InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
Global("P#KivWelcome","GLOBAL",0)
~ THEN DO ~SetGlobal("X#KivanThalantyr2","GLOBAL",1)~ EXTERN ~KIVANJ~ 215
END

IF ~~ THEN BEGIN 2 // from: 35.0 1.0
  SAY #5726 /* ~Rumors? Bah! There is no mage here that wishes to speak or be spoken of. Unless, of course, if you have magic that you wish to sell.~ */
  IF ~~ THEN REPLY #15295 /* ~We're interested in selling or even buying magical items. What do you have?~ */ DO ~StartStore("highhedg",LastTalkedToBy(Myself))
~ EXIT
  IF ~~ THEN REPLY #15296 /* ~Sorry but we do not.~ */ EXIT
END

IF ~~ THEN BEGIN 3 // from: 35.1 1.1
  SAY #6137 /* ~Hmm. A bold statement were I an orc or a hobgoblin. I am, however, not someone it would be wise for you to attack. I should let this threat go no further if I were you. Be a good little adventurer and leave me be.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 4 // from: 35.2 1.2
  SAY #6151 /* ~As well you should. Goodbye.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #6 /* Triggers after states #: 26 27 28 30 33 even though they appear after this state */
~  NumberOfTimesTalkedTo(2)
!PartyHasItem("MISC49")
~ THEN BEGIN 5 // from:
  SAY #6152 /* ~I have nothing more to say to you. Leave me.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 6 // from:
  SAY #6153 /* ~Fool! What kind of simpleton attacks a foe he does not know! Bah! I will not waste my time on you!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 7 // from: 35.3 1.3
  SAY #6155 /* ~Chickens do not talk, so quite obviously it is a polymorphed being of some kind. Spells such as that wear off in time or can be dispelled. 'Tis a simple matter and one not worth the waste of my day. Keep moving.~ */
  IF ~~ THEN REPLY #6156 /* ~I am quite aware of the mute status of chickens, thank you very much! Yes, this is a transformed man, but it is also a man who claims to be your apprentice. That is why I brought him here.~ */ GOTO 9
  IF ~~ THEN REPLY #6157 /* ~There is no call to be so rude. Why are you so reluctant to deal with me?~ */ GOTO 8
  IF ~~ THEN REPLY #6162 /* ~Spare me your sanctimonious tone, old mage. I have brought this man here and now will leave you be.~ */ GOTO 10
END

IF ~~ THEN BEGIN 8 // from: 7.1
  SAY #6158 /* ~I have no desire to extend any dealings with the likes of you. I simply wish people would respect my wish for privacy.~ */
  IF ~~ THEN REPLY #6159 /* ~I sympathize, but this is a special case. I would not have bothered you, save that this afflicted fowl claims to be an apprentice of yours.~ */ GOTO 9
  IF ~~ THEN REPLY #6161 /* ~If that is what you wish, though a little interaction might do you some good. It is rumored you gave up the company of adventurers, but I would hazard a bet that you would enjoy a dungeon romp every now and then.~ */ GOTO 11
  IF ~~ THEN REPLY #6165 /* ~Then I shall respect your wish. Might I leave this unfortunate creature here with you? I am unable to help, but mayhaps you can?~ */ GOTO 10
END

IF ~~ THEN BEGIN 9 // from: 15.0 13.0 8.0 7.0
  SAY #6160 /* ~Apprentice?! I have had no apprentice! I teach no one about what I... wait... Melicamp? MELICAMP, is that you?!~ */
  IF ~~ THEN EXTERN ~MELICA~ 17
END

IF ~~ THEN BEGIN 10 // from: 23.0 22.1 21.2 16.0 15.1 13.1 11.1 8.2 7.2
  SAY #6163 /* ~I would just as soon have done with both of you, but I will settle for just the one leaving. I will do the minimum that I can for this unfortunate fowl.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 11 // from: 8.1
  SAY #6164 /* ~You know nothing of me! Best that you pray, to whatever deity turns your crank, that you NEVER face what I have seen. Bah! The inexperience and STUPIDITY of youth. I care not if you go out and get yourself killed, for it's not the least favorable end you could face! If you have business here I suggest you get to it! Otherwise, begone!~ */
  IF ~  ReactionGT(LastTalkedToBy,NEUTRAL_UPPER)
~ THEN REPLY #6166 /* ~Um, sorry for bringing up bad memories. Your experience does not change mine though, and however serious and depressing the past may be, we are still currently left with this talking chicken. Care to parley with the poulet, or should I just give you the bird?~ */ GOTO 13
  IF ~~ THEN REPLY #6167 /* ~My sincerest apologies for presuming to know your situation. I shall leave quickly, though I wish to leave this feathered fellow with you. I lack the means to free him myself.~ */ GOTO 10
  IF ~  ReactionLT(LastTalkedToBy,NEUTRAL_LOWER)
~ THEN REPLY #6168 /* ~Um, sorry for bringing up bad memories. Your experience does not change mine though, and however serious and depressing the past may be, we are still currently left with this talking chicken. Care to parley with the poulet, or should I just give you the bird?~ */ GOTO 14
  IF ~~ THEN REPLY #6169 /* ~No need to bite my head off for your past weaknesses. I am quite well aware of the dangers, and I keep them a blade's length away. Had you been more competent in your youth, perhaps you would not be the scared little man you are today.~ */ GOTO 12
  IF ~  ReactionLT(LastTalkedToBy,FRIENDLY_LOWER)
ReactionGT(LastTalkedToBy,HOSTILE_UPPER)
~ THEN REPLY #6173 /* ~Um, sorry for bringing up bad memories. Your experience does not change mine though, and however serious and depressing the past may be, we are still currently left with this talking chicken. Care to parley with the poulet, or should I just give you the bird?~ */ GOTO 15
END

IF ~~ THEN BEGIN 12 // from: 11.3
  SAY #6170 /* ~May you live to be as scared as I am, instead of as naive as you are. Begone, and I shall do what is necessary for this feathered fool.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 13 // from: 11.0
  SAY #6171 /* ~HAhaha! *snicker* Um, yes, well... I suppose we should deal with the situation at hand. Now then my good chicken, *snicker* what seems to be the problem?~ */
  IF ~~ THEN REPLY #6175 /* ~I have specifically brought him here because he claimed to be an apprentice of yours. It seemed likely that you would help.~ */ GOTO 9
  IF ~~ THEN REPLY #6176 /* ~If you will help him, then I'll be on my way. I only wished to see him to safety.~ */ GOTO 10
END

IF ~~ THEN BEGIN 14 // from: 11.2
  SAY #6172 /* ~You are too much a lout to carry such puerile behavior. I am neither amused, nor impressed. Leave me the bird and I will do what I can. That said, I wish you to leave immediately.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 15 // from: 11.4
  SAY #6174 /* ~While mildly amusing, you lack the charm to cover the fact that this person is quite likely experiencing some severe emotional distress. I suggest that you stop making fun of him and tell me exactly why you brought him here.~ */
  IF ~~ THEN REPLY #6177 /* ~I have specifically brought him here because he claimed to be an apprentice of yours. It seemed likely that you would help.~ */ GOTO 9
  IF ~~ THEN REPLY #6178 /* ~If you will help him, then I'll be on my way. I only wished to see him to safety.~ */ GOTO 10
END

IF ~~ THEN BEGIN 16 // from:
  SAY #6180 /* ~I am no "master" to you, and you are no "apprentice"! What gall you have to expect help from me!~ */
  IF ~~ THEN REPLY #6181 /* ~I see you two are well acquainted. I shall leave you to it, then. Fare you well.~ */ GOTO 10
  IF ~~ THEN REPLY #6182 /* ~He is not your student? But you do know of him, do you not?~ */ GOTO 17
END

IF ~~ THEN BEGIN 17 // from: 16.1
  SAY #6183 /* ~A student wishes to LEARN, while this fool wishes only to have knowledge. I will tutor no one who does not understand the ramifications of what I have to teach! Not getting the quick gratification he wished, he instead chose to steal from me!~ */
  IF ~~ THEN EXTERN ~MELICA~ 18
END

IF ~~ THEN BEGIN 18 // from:
  SAY #6185 /* ~It has taken me some fifty-odd years of life to gain the power I wield, and the will not to use it. You are but a baby in comparison. Frankly, I'm surprised you changed into such an OLD chicken! How DID you manage that, by the by? You were muddling the simplest cantrip when last I observed you.~ */
  IF ~~ THEN EXTERN ~MELICA~ 19
  IF ~Global("X#VicThalantyr","GLOBAL",0)
InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#VicThalantyr","GLOBAL",1)~ EXTERN ~VICONJ~ 136
END

IF ~~ THEN BEGIN 19 // from:
  SAY #6187 /* ~As I thought. Well, it's obvious you can steal my tools, but not my understanding of them. Hold still while I dispel this foolish facade. Can't very well get my property back while it's polymorphed into y— Wait a moment. I did not possess any items that allow the casting of that enchantment. Wait. Oh, dear. Melicamp, listen very carefully. What did you take?~ */
  IF ~~ THEN EXTERN ~MELICA~ 20
END

IF ~~ THEN BEGIN 20 // from:
  SAY #6511 /* ~A pair of—? Oh, no. You little FOOL! The bracers in my locked and trapped safe?! I certainly hope you can develop a taste for chicken feed, because you are going to be stuck the way you are for a very long time!~ */
  IF ~~ THEN EXTERN ~MELICA~ 21
  IF ~Global("X#DynaheirThalantyr","GLOBAL",0)
InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#DynaheirThalantyr","GLOBAL",1)~ EXTERN ~DYNAHJ~ 82
END

IF ~~ THEN BEGIN 21 // from:
  SAY #6513 /* ~It's not a matter of whether I wish to help or not, simply that I do not have the power to undo what you have done.~ */
  IF ~~ THEN REPLY #6514 /* ~Is there nothing that can be done? I am willing to help however I can.~ */ GOTO 24
  IF ~~ THEN REPLY #6515 /* ~I believe the price for my assistance just went up, eh, Thalantyr?~ */ GOTO 23
  IF ~~ THEN REPLY #6516 /* ~That was a sad story indeed, but I have played my part already. Good luck to both of ye, and now I take my leave.~ */ GOTO 10
  IF ~~ THEN REPLY #6517 /* ~What sort of item could cause such a problem for even such a mage as yourself?~ */ GOTO 22
END

IF ~~ THEN BEGIN 22 // from: 21.3
  SAY #6518 /* ~The magic that so many revere today was not always the same as it is now. Any adventurer worth his salt should know this, and know that not every bauble they wring from a dungeon will be helpful. The bracers in question were a vain little reminder of— well, it doesn't really matter does it? Suffice to say that I have no idea what their intended function was, and I was in no position to ask their former owner. Years have passed since my... release, and the spoils of that Netheril ruin remain as enigmatic as ever. They resist even the strongest divination, and attempts to dispel result only in explosive consequences. Some things should just stay buried.~ */
  IF ~~ THEN REPLY #6519 /* ~Is there nothing that can be done? I am willing to help however I can.~ */ GOTO 24
  IF ~~ THEN REPLY #6520 /* ~It's a sad story indeed, but I have played my part already. Good luck to both of you, and now I take my leave.~ */ GOTO 10
  IF ~~ THEN REPLY #6521 /* ~I believe the price for my assistance just went up, eh, Thalantyr?~ */ GOTO 23
END

IF ~~ THEN BEGIN 23 // from: 22.2 21.1
  SAY #6522 /* ~You'll get no coin from me over this matter. I will pay the way of no adventurer. Everyone makes their own bed to lay in, and must reap the rewards of their own actions. Now, if this little chicken-afflicted fellow wishes to pay you he may, though I wager he has little more than the items he stole from me.~ */
  IF ~~ THEN REPLY #6523 /* ~If there be no reward, then I am through with the matter. Fare thee well.~ */ GOTO 10
  IF ~~ THEN REPLY #6524 /* ~I shall help as best I can and ask for nothing in return. He is in need, and that is all that matters.~ */ GOTO 24
END

IF ~~ THEN BEGIN 24 // from: 23.1 22.0 21.0
  SAY #6525 /* ~If you are willing, then I will do what must be done. We will need a component that I do not have on hand, and it will be your job to get it. I will require the head of an undead creature, and a simple skeleton skull will do. Bring it back here and I will try to bend a few magical rules to reincarnate this foolish boy.~ */
  IF ~~ THEN EXTERN ~MELICA~ 22
END

IF ~~ THEN BEGIN 25 // from:
  SAY #6527 /* ~There must be a dead element, yes. That is what the skull is for. I cannot fully explain what I am to try, but it's something of a reversal on the reincarnation scheme. The age of the enchantment that changed you may allow for a loophole in the laws of magic. Of course it may just kill us both in the casting. Such is life. Off you go to some dungeon or another. Return with the skull. Go.~ */
  IF ~~ THEN DO ~SetGlobal("HelpThalantyr","GLOBAL",1)
~ UNSOLVED_JOURNAL #27257 /* ~Melicamp the Chicken
I must bring a skull back to Thalantyr so he can try to restore Melicamp to a human form.~ */ EXIT
END

IF WEIGHT #2 /* Triggers after states #: 33 even though they appear after this state */
~  Global("HelpThalantyr","GLOBAL",1)
!PartyHasItem("MISC50")
Global("TransformedChicken","GLOBAL",0)
See("Melicamp")
!Dead("Melicamp")
~ THEN BEGIN 26 // from:
  SAY #6528 /* ~You have returned without the needed component. Bring a skeleton's skull to me, or this young lad may just as well begin planning a life full of nest-building and egg-laying.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #3 /* Triggers after states #: 33 even though they appear after this state */
~  Global("HelpThalantyr","GLOBAL",1)
PartyHasItem("MISC50")
Global("TransformedChicken","GLOBAL",0)
See("Melicamp")
!Dead("Melicamp")
~ THEN BEGIN 27 // from:
  SAY #6529 /* ~Hello again, my young adventurers. I see you have the needed component. Well, shall we see if our young man regains his life, or if he'll eventually be someone's festhall dinner?~ */
  IF ~~ THEN DO ~TakePartyItem("MISC50")
DestroyItem("MISC50")
SetGlobal("TransformedChicken","GLOBAL",1)
SendTrigger("Thalantyr",1)
~ EXIT
END

IF WEIGHT #4 /* Triggers after states #: 33 even though they appear after this state */
~  Dead("Melicamp")
Global("TransformedChicken","GLOBAL",1)
~ THEN BEGIN 28 // from:
  SAY #6530 /* ~And that, as they say, is that. I fear our young friend did not survive the casting, and I feel a touch weary myself. Such are the ways of magic: unpredictable at the best of times. Do not feel responsible for his death, there was little more we could have done. His body simply couldn't withstand the change once again. A lesson, I suppose, for the rest of us. Take good care to treat "found" items with respect. If you will excuse me, I have some work to do. I imagine you've a dungeon to storm somewhere. I wish you "intelligence," because "luck" runs out.~ */
  IF ~~ THEN DO ~SetGlobal("TransformedChicken","GLOBAL",2)
EraseJournalEntry(27256)
EraseJournalEntry(27257)
~ SOLVED_JOURNAL #27477 /* ~Melicamp the Chicken
I brought a skull back to Thalantyr as he requested, but his attempt to restore Melicamp was, unfortunately, a failure. Apparently the young man's body could not stand the shock of transformation again. Thalantyr said there was nothing we could have done in order to have changed the outcome: it was simply a matter of luck. Magic remains an uncertain force, and care must be taken with its use.~ */ EXIT
  IF ~Global("X#GarTha1","GLOBAL",0)
InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#GarTha1","GLOBAL",1)~ EXTERN ~GARRIJ~ 112
END

IF ~~ THEN BEGIN 29 // from:
  SAY #6532 /* ~Yes, yes, boy, now be quiet a moment. Blast it. The bracers are no longer on him. It is as I feared. Likely they either spent what magic they had in a single charge, or it is their wont to be whisked away after inflicting the damage they do. I had hoped to seal them away, but now it's certain they will fall into the hands of some other unfortunate fool. Tell me, Melicamp, do you quite feel yourself again?~ */
  IF ~~ THEN EXTERN ~MELICA~ 24
END

IF WEIGHT #5 /* Triggers after states #: 33 even though they appear after this state */
~  !Dead("Melicamp")
Global("TransformedChicken","GLOBAL",1)
~ THEN BEGIN 30 // from:
  SAY #8780 /* ~And that, as they say, is that.~ */
  IF ~~ THEN EXTERN ~MELICA~ 23
END

IF ~~ THEN BEGIN 31 // from:
  SAY #8781 /* ~Good, though it was the greatest of luck you did not retain a wing for a limb. You always were a bit cockeyed, but I suppose that doesn't count. I suggest you remain here, however, so that I might keep an eye on you. If you insist on playing with the forces of magic, at least I should see that you understand them. Perhaps you will be a touch more cautious now that you have experienced what can go wrong.~ */
  IF ~~ THEN EXTERN ~MELICA~ 25
END

IF ~~ THEN BEGIN 32 // from:
  SAY #8783 /* ~*sigh* I suppose your master I must be. And you, <CHARNAME>. I trust you will be cautious in your travels as well? I wish you "intelligence" on your journeys. I would wish you "luck," but it runs out much quicker than you would think. Good day.~ */
  IF ~~ THEN DO ~EraseJournalEntry(27256)
EraseJournalEntry(27257)
~ SOLVED_JOURNAL #27478 /* ~Melicamp the Chicken
I brought a skull back to Thalantyr as he requested, and his attempt to restore Melicamp was a success. The young man's body withstood the strain of transformation again, and he seems eager to learn from his mistakes. Thalantyr cautioned that a tragic ending was just as likely, and that care should always be taken in the use of magic, no matter how benign it seems.~ */ EXIT
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN SOLVED_JOURNAL #46563 /* ~Melincamp the Chicken

I brought a skull back to Thalantyr as he requested, and his attempt to restore Melicamp was a success. The young man's body withstood the strain of transformation again, and he seems eager to learn from his mistakes. Thalantyr cautioned that a tragic ending was just as likely, and that care should always be taken in the use of magic, no matter how benign it seems.~ */ EXTERN ~MINSCJ~ 34
  IF ~Global("X#THALAN32","GLOBAL",0)~ THEN DO ~SetGlobal("X#THALAN32","GLOBAL",1)~ GOTO 50
  IF ~Global("X#THALAN32","GLOBAL",0)
InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#THALAN32","GLOBAL",1)~ GOTO 51
  IF ~Global("X#THALAN32","GLOBAL",0)
InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#THALAN32","GLOBAL",1)~ EXTERN ~MELICA~ 29
  IF ~Global("X#THALAN32","GLOBAL",0)
InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#THALAN32","GLOBAL",1)~ EXTERN ~FALDOJ~ 115
  IF ~Global("X#THALAN32","GLOBAL",0)
InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#THALAN32","GLOBAL",1)~ EXTERN ~MELICA~ 31
  IF ~Global("X#THALAN32","GLOBAL",0)
InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#THALAN32","GLOBAL",1)~ EXTERN ~FALDOJ~ 117
  IF ~Global("X#THALAN32","GLOBAL",0)
InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#THALAN32","GLOBAL",1)~ EXTERN ~GARRIJ~ 168
  IF ~Global("X#THALAN32","GLOBAL",0)
InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#THALAN32","GLOBAL",1)~ GOTO 63
  IF ~Global("X#THALAN32","GLOBAL",0)
InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#THALAN32","GLOBAL",1)~ EXTERN ~GARRIJ~ 170
END

IF WEIGHT #0 ~  StateCheck(Myself,STATE_CHARMED)
~ THEN BEGIN 33 // from:
  SAY #8958 /* ~I am Thalantyr, and I am known as the High Hedge wizard. I suffered something I won't even tell you, my closest friend, so I live up here alone. I used to adventure, but I'll not go back to those foolish days. You would do well to be careful too.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 34 // from:
  SAY #8959 /* ~Get out of my sight! I'll do nothing for you!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 35 // from:
  SAY #45558 /* ~Elf! The name was Kivan, if I am not mistaken. Bah! That's a proper treatment for you, if you stand in the corner with your cowl covering your face. But I never thanked you properly... Come, come, I'll show you what I have done with the spear you broke on those bothersome bandits who tried to force their way in. I am quite happy with the way the enchantment has turned out. I do not craft weapons, mind you. Bah! It's a gift. Take it, take it, elf.~ */
  IF ~~ THEN REPLY #5662 /* ~Rumors talk of a powerful mage that lives out here. If it is you, I would like to speak with you.~ */ DO ~GiveItemCreate("X#KISPEA","kivan",1,0,0)
SetGlobal("P#KivWelcome","GLOBAL",1)
~ GOTO 2
  IF ~~ THEN REPLY #5663 /* ~I go where I wish and stay as long as I please. Don't threaten me.~ */ DO ~GiveItemCreate("X#KISPEA","kivan",1,0,0)
SetGlobal("P#KivWelcome","GLOBAL",1)
~ GOTO 3
  IF ~~ THEN REPLY #5664 /* ~I apologize for the intrusion, and will leave immediately.~ */ DO ~GiveItemCreate("X#KISPEA","kivan",1,0,0)
SetGlobal("P#KivWelcome","GLOBAL",1)
~ GOTO 4
  IF ~  PartyHasItem("MISC49")
~ THEN REPLY #6154 /* ~Well, it's rather amusing actually. You see, I happened to rescue this... um... talking chicken...~ */ DO ~TakePartyItem("MISC49")
DestroyItem("MISC49")
CreateCreature("MELICA",[286.398],N)
ActionOverride("Melicamp",SetNumTimesTalkedTo(2))
SetGlobal("LeftChicken","GLOBAL",1)
GiveItemCreate("X#KISPEA","kivan",1,0,0)
SetGlobal("P#KivWelcome","GLOBAL",1)
~ GOTO 7
END

IF ~~ THEN BEGIN 36 // from:
  SAY #46308 /* ~Go cut cheese with your tongue. Bothering me with advice of all things!~ */
  IF ~~ THEN EXTERN ~MELICA~ 21
END

IF ~~ THEN BEGIN 37 // from: TIAXJ:49.6
  SAY #46531 /* ~I guess it helps to have both intelligence and luck, while it lasts...~ */
  IF ~~ THEN EXIT
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN GOTO 41
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN GOTO 40
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN GOTO 39
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN EXTERN ~MINSCJ~ 38
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN GOTO 38
END

IF ~~ THEN BEGIN 38 // from: 37.5 TIAXJ:49.5
  SAY #46532 /* ~Was that a hamster?!~ */
  IF ~~ THEN EXIT
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN GOTO 41
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN GOTO 40
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN GOTO 39
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN EXTERN ~MINSCJ~ 38
END

IF ~~ THEN BEGIN 39 // from: 38.3 37.3 TIAXJ:49.3
  SAY #46534 /* ~I see. I think you do need *luck*... and lots of it.~ */
  IF ~~ THEN EXIT
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN GOTO 41
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN GOTO 40
END

IF ~~ THEN BEGIN 40 // from: 39.2 38.2 37.2 TIAXJ:49.2
  SAY #46535 /* ~I wonder if these fools can even make it out the door without getting killed.~ */
  IF ~~ THEN EXIT
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN GOTO 41
END

IF ~~ THEN BEGIN 41 // from: 40.1 39.1 38.1 37.1 TIAXJ:49.1
  SAY #46536 /* ~Space hamsters... what idiocy...~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 42 // from:
  SAY #46813 /* ~And you would do well to remember it, young adventurers.~ */
  IF ~~ THEN DO ~SetGlobal("TransformedChicken","GLOBAL",2)
EraseJournalEntry(27256)
EraseJournalEntry(27257)
~ SOLVED_JOURNAL #27477 /* ~Melicamp the Chicken
I brought a skull back to Thalantyr as he requested, but his attempt to restore Melicamp was, unfortunately, a failure. Apparently the young man's body could not stand the shock of transformation again. Thalantyr said there was nothing we could have done in order to have changed the outcome: it was simply a matter of luck. Magic remains an uncertain force, and care must be taken with its use.~ */ EXIT
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN EXTERN ~GARRIJ~ 113
END

IF ~~ THEN BEGIN 43 // from: VICONJ:136.1
  SAY #47465 /* ~Not the lesser races, but lesser intellects surely! Though, hopefully, this one will have learned a lesson.~ */
  IF ~~ THEN EXTERN ~MELICA~ 19
END

IF ~~ THEN BEGIN 44 // from: 0.1
  SAY #49834 /* ~Elf! The name was Kivan, if I am not mistaken. Bah! That's a proper treatment for you, if you stand in the corner with your cowl covering your face. But I never thanked you properly... Come, come, I'll show you what I have done with the spear you broke on these bothersome bandits who tried to force their way in. I am quite happy with the way the enchantment has turned out. I do not craft weapons, mind you. Bah! It's a gift. Take it, take it, elf.~ */
  IF ~~ THEN DO ~SetGlobal("Golem","GLOBAL",1)
GiveItemCreate("X#KISPEA","kivan",1,0,0)
SetGlobal("P#KivWelcome","GLOBAL",1)
~ EXIT
END

IF ~~ THEN BEGIN 45 // from:
  SAY #49834 /* ~Elf! The name was Kivan, if I am not mistaken. Bah! That's a proper treatment for you, if you stand in the corner with your cowl covering your face. But I never thanked you properly... Come, come, I'll show you what I have done with the spear you broke on these bothersome bandits who tried to force their way in. I am quite happy with the way the enchantment has turned out. I do not craft weapons, mind you. Bah! It's a gift. Take it, take it, elf.~ */
  IF ~~ THEN DO ~SetGlobal("Golem","GLOBAL",1)
GiveItemCreate("X#KISPEA","kivan",1,0,0)
SetGlobal("P#KivWelcome","GLOBAL",1)
~ EXIT
END

IF ~~ THEN BEGIN 46 // from: 0.3
  SAY #49833 /* ~Hmf!~ */
  IF ~~ THEN DO ~SetGlobal("Golem","GLOBAL",1)
~ EXIT
  IF ~  InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
Global("P#KivWelcome","GLOBAL",0)
~ THEN GOTO 47
  IF ~  InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
Global("P#KivWelcome","GLOBAL",0)
~ THEN EXTERN ~KIVANJ~ 317
END

IF ~~ THEN BEGIN 47 // from: 46.1
  SAY #49834 /* ~Elf! The name was Kivan, if I am not mistaken. Bah! That's a proper treatment for you, if you stand in the corner with your cowl covering your face. But I never thanked you properly... Come, come, I'll show you what I have done with the spear you broke on these bothersome bandits who tried to force their way in. I am quite happy with the way the enchantment has turned out. I do not craft weapons, mind you. Bah! It's a gift. Take it, take it, elf.~ */
  IF ~~ THEN DO ~SetGlobal("Golem","GLOBAL",1)
GiveItemCreate("X#KISPEA","kivan",1,0,0)
SetGlobal("P#KivWelcome","GLOBAL",1)
~ EXIT
END

IF ~~ THEN BEGIN 48 // from:
  SAY #49833 /* ~Hmf!~ */
  IF ~~ THEN DO ~SetGlobal("Golem","GLOBAL",1)
~ EXIT
  IF ~  InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
Global("P#KivWelcome","GLOBAL",0)
~ THEN GOTO 49
  IF ~  InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
Global("P#KivWelcome","GLOBAL",0)
~ THEN EXTERN ~KIVANJ~ 318
END

IF ~~ THEN BEGIN 49 // from: 48.1
  SAY #49834 /* ~Elf! The name was Kivan, if I am not mistaken. Bah! That's a proper treatment for you, if you stand in the corner with your cowl covering your face. But I never thanked you properly... Come, come, I'll show you what I have done with the spear you broke on these bothersome bandits who tried to force their way in. I am quite happy with the way the enchantment has turned out. I do not craft weapons, mind you. Bah! It's a gift. Take it, take it, elf.~ */
  IF ~~ THEN DO ~SetGlobal("Golem","GLOBAL",1)
GiveItemCreate("X#KISPEA","kivan",1,0,0)
SetGlobal("P#KivWelcome","GLOBAL",1)
~ EXIT
END

IF ~~ THEN BEGIN 50 // from: 32.2
  SAY #31479 /* ~Farewell.~ */
  IF ~~ THEN DO ~EraseJournalEntry(27256)
EraseJournalEntry(27257)
~ SOLVED_JOURNAL #27478 /* ~Melicamp the Chicken
I brought a skull back to Thalantyr as he requested, and his attempt to restore Melicamp was a success. The young man's body withstood the strain of transformation again, and he seems eager to learn from his mistakes. Thalantyr cautioned that a tragic ending was just as likely, and that care should always be taken in the use of magic, no matter how benign it seems.~ */ EXIT
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN SOLVED_JOURNAL #46563 /* ~Melincamp the Chicken

I brought a skull back to Thalantyr as he requested, and his attempt to restore Melicamp was a success. The young man's body withstood the strain of transformation again, and he seems eager to learn from his mistakes. Thalantyr cautioned that a tragic ending was just as likely, and that care should always be taken in the use of magic, no matter how benign it seems.~ */ EXTERN ~MINSCJ~ 34
END

IF ~~ THEN BEGIN 51 // from: 32.3
  SAY #49839 /* ~You have a remarkable gift for angering people, Melicamp.~ */
  IF ~~ THEN GOTO 52
END

IF ~~ THEN BEGIN 52 // from: 51.0
  SAY #31479 /* ~Farewell.~ */
  IF ~~ THEN DO ~EraseJournalEntry(27256)
EraseJournalEntry(27257)
~ SOLVED_JOURNAL #27478 /* ~Melicamp the Chicken
I brought a skull back to Thalantyr as he requested, and his attempt to restore Melicamp was a success. The young man's body withstood the strain of transformation again, and he seems eager to learn from his mistakes. Thalantyr cautioned that a tragic ending was just as likely, and that care should always be taken in the use of magic, no matter how benign it seems.~ */ EXIT
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN SOLVED_JOURNAL #46563 /* ~Melincamp the Chicken

I brought a skull back to Thalantyr as he requested, and his attempt to restore Melicamp was a success. The young man's body withstood the strain of transformation again, and he seems eager to learn from his mistakes. Thalantyr cautioned that a tragic ending was just as likely, and that care should always be taken in the use of magic, no matter how benign it seems.~ */ EXTERN ~MINSCJ~ 34
END

IF ~~ THEN BEGIN 53 // from:
  SAY #49839 /* ~You have a remarkable gift for angering people, Melicamp.~ */
  IF ~~ THEN GOTO 54
END

IF ~~ THEN BEGIN 54 // from: 53.0
  SAY #31479 /* ~Farewell.~ */
  IF ~~ THEN DO ~EraseJournalEntry(27256)
EraseJournalEntry(27257)
~ SOLVED_JOURNAL #27478 /* ~Melicamp the Chicken
I brought a skull back to Thalantyr as he requested, and his attempt to restore Melicamp was a success. The young man's body withstood the strain of transformation again, and he seems eager to learn from his mistakes. Thalantyr cautioned that a tragic ending was just as likely, and that care should always be taken in the use of magic, no matter how benign it seems.~ */ EXIT
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN SOLVED_JOURNAL #46563 /* ~Melincamp the Chicken

I brought a skull back to Thalantyr as he requested, and his attempt to restore Melicamp was a success. The young man's body withstood the strain of transformation again, and he seems eager to learn from his mistakes. Thalantyr cautioned that a tragic ending was just as likely, and that care should always be taken in the use of magic, no matter how benign it seems.~ */ EXTERN ~MINSCJ~ 34
END

IF ~~ THEN BEGIN 55 // from:
  SAY #49839 /* ~You have a remarkable gift for angering people, Melicamp.~ */
  IF ~~ THEN GOTO 56
END

IF ~~ THEN BEGIN 56 // from: 55.0
  SAY #31479 /* ~Farewell.~ */
  IF ~~ THEN DO ~EraseJournalEntry(27256)
EraseJournalEntry(27257)
~ SOLVED_JOURNAL #27478 /* ~Melicamp the Chicken
I brought a skull back to Thalantyr as he requested, and his attempt to restore Melicamp was a success. The young man's body withstood the strain of transformation again, and he seems eager to learn from his mistakes. Thalantyr cautioned that a tragic ending was just as likely, and that care should always be taken in the use of magic, no matter how benign it seems.~ */ EXIT
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN SOLVED_JOURNAL #46563 /* ~Melincamp the Chicken

I brought a skull back to Thalantyr as he requested, and his attempt to restore Melicamp was a success. The young man's body withstood the strain of transformation again, and he seems eager to learn from his mistakes. Thalantyr cautioned that a tragic ending was just as likely, and that care should always be taken in the use of magic, no matter how benign it seems.~ */ EXTERN ~MINSCJ~ 34
END

IF ~~ THEN BEGIN 57 // from:
  SAY #49839 /* ~You have a remarkable gift for angering people, Melicamp.~ */
  IF ~~ THEN GOTO 58
END

IF ~~ THEN BEGIN 58 // from: 57.0
  SAY #31479 /* ~Farewell.~ */
  IF ~~ THEN DO ~EraseJournalEntry(27256)
EraseJournalEntry(27257)
~ SOLVED_JOURNAL #27478 /* ~Melicamp the Chicken
I brought a skull back to Thalantyr as he requested, and his attempt to restore Melicamp was a success. The young man's body withstood the strain of transformation again, and he seems eager to learn from his mistakes. Thalantyr cautioned that a tragic ending was just as likely, and that care should always be taken in the use of magic, no matter how benign it seems.~ */ EXIT
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN SOLVED_JOURNAL #46563 /* ~Melincamp the Chicken

I brought a skull back to Thalantyr as he requested, and his attempt to restore Melicamp was a success. The young man's body withstood the strain of transformation again, and he seems eager to learn from his mistakes. Thalantyr cautioned that a tragic ending was just as likely, and that care should always be taken in the use of magic, no matter how benign it seems.~ */ EXTERN ~MINSCJ~ 34
END

IF ~~ THEN BEGIN 59 // from:
  SAY #49839 /* ~You have a remarkable gift for angering people, Melicamp.~ */
  IF ~~ THEN GOTO 60
END

IF ~~ THEN BEGIN 60 // from: 59.0
  SAY #31479 /* ~Farewell.~ */
  IF ~~ THEN DO ~EraseJournalEntry(27256)
EraseJournalEntry(27257)
~ SOLVED_JOURNAL #27478 /* ~Melicamp the Chicken
I brought a skull back to Thalantyr as he requested, and his attempt to restore Melicamp was a success. The young man's body withstood the strain of transformation again, and he seems eager to learn from his mistakes. Thalantyr cautioned that a tragic ending was just as likely, and that care should always be taken in the use of magic, no matter how benign it seems.~ */ EXIT
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN SOLVED_JOURNAL #46563 /* ~Melincamp the Chicken

I brought a skull back to Thalantyr as he requested, and his attempt to restore Melicamp was a success. The young man's body withstood the strain of transformation again, and he seems eager to learn from his mistakes. Thalantyr cautioned that a tragic ending was just as likely, and that care should always be taken in the use of magic, no matter how benign it seems.~ */ EXTERN ~MINSCJ~ 34
END

IF ~~ THEN BEGIN 61 // from:
  SAY #49839 /* ~You have a remarkable gift for angering people, Melicamp.~ */
  IF ~~ THEN GOTO 62
END

IF ~~ THEN BEGIN 62 // from: 61.0
  SAY #31479 /* ~Farewell.~ */
  IF ~~ THEN DO ~EraseJournalEntry(27256)
EraseJournalEntry(27257)
~ SOLVED_JOURNAL #27478 /* ~Melicamp the Chicken
I brought a skull back to Thalantyr as he requested, and his attempt to restore Melicamp was a success. The young man's body withstood the strain of transformation again, and he seems eager to learn from his mistakes. Thalantyr cautioned that a tragic ending was just as likely, and that care should always be taken in the use of magic, no matter how benign it seems.~ */ EXIT
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN SOLVED_JOURNAL #46563 /* ~Melincamp the Chicken

I brought a skull back to Thalantyr as he requested, and his attempt to restore Melicamp was a success. The young man's body withstood the strain of transformation again, and he seems eager to learn from his mistakes. Thalantyr cautioned that a tragic ending was just as likely, and that care should always be taken in the use of magic, no matter how benign it seems.~ */ EXTERN ~MINSCJ~ 34
END

IF ~~ THEN BEGIN 63 // from: 32.9
  SAY #46813 /* ~And you would do well to remember it, young adventurers.~ */
  IF ~~ THEN GOTO 65
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN GOTO 64
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN EXTERN ~MELICA~ 38
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN EXTERN ~FALDOJ~ 122
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN EXTERN ~MELICA~ 37
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN EXTERN ~FALDOJ~ 121
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN EXTERN ~GARRIJ~ 169
END

IF ~~ THEN BEGIN 64 // from: 63.1
  SAY #49839 /* ~You have a remarkable gift for angering people, Melicamp.~ */
  IF ~~ THEN GOTO 65
END

IF ~~ THEN BEGIN 65 // from: 64.0 63.0
  SAY #31479 /* ~Farewell.~ */
  IF ~~ THEN DO ~EraseJournalEntry(27256)
EraseJournalEntry(27257)
~ SOLVED_JOURNAL #27478 /* ~Melicamp the Chicken
I brought a skull back to Thalantyr as he requested, and his attempt to restore Melicamp was a success. The young man's body withstood the strain of transformation again, and he seems eager to learn from his mistakes. Thalantyr cautioned that a tragic ending was just as likely, and that care should always be taken in the use of magic, no matter how benign it seems.~ */ EXIT
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN SOLVED_JOURNAL #46563 /* ~Melincamp the Chicken

I brought a skull back to Thalantyr as he requested, and his attempt to restore Melicamp was a success. The young man's body withstood the strain of transformation again, and he seems eager to learn from his mistakes. Thalantyr cautioned that a tragic ending was just as likely, and that care should always be taken in the use of magic, no matter how benign it seems.~ */ EXTERN ~MINSCJ~ 34
END

IF ~~ THEN BEGIN 66 // from:
  SAY #46813 /* ~And you would do well to remember it, young adventurers.~ */
  IF ~~ THEN GOTO 68
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN GOTO 67
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN EXTERN ~MELICA~ 40
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN EXTERN ~FALDOJ~ 124
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN EXTERN ~MELICA~ 39
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN EXTERN ~FALDOJ~ 123
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN EXTERN ~GARRIJ~ 171
END

IF ~~ THEN BEGIN 67 // from: 66.1
  SAY #49839 /* ~You have a remarkable gift for angering people, Melicamp.~ */
  IF ~~ THEN GOTO 68
END

IF ~~ THEN BEGIN 68 // from: 67.0 66.0
  SAY #31479 /* ~Farewell.~ */
  IF ~~ THEN DO ~EraseJournalEntry(27256)
EraseJournalEntry(27257)
~ SOLVED_JOURNAL #27478 /* ~Melicamp the Chicken
I brought a skull back to Thalantyr as he requested, and his attempt to restore Melicamp was a success. The young man's body withstood the strain of transformation again, and he seems eager to learn from his mistakes. Thalantyr cautioned that a tragic ending was just as likely, and that care should always be taken in the use of magic, no matter how benign it seems.~ */ EXIT
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN SOLVED_JOURNAL #46563 /* ~Melincamp the Chicken

I brought a skull back to Thalantyr as he requested, and his attempt to restore Melicamp was a success. The young man's body withstood the strain of transformation again, and he seems eager to learn from his mistakes. Thalantyr cautioned that a tragic ending was just as likely, and that care should always be taken in the use of magic, no matter how benign it seems.~ */ EXTERN ~MINSCJ~ 34
END
