{1}{G:}{G:}{}{}{}{}
{2}{Hello. I am @pcname@.}{}{8}{not npc.has_met( pc )}{50}{}
{3}{Hi, me is @pcname@.}{}{-7}{not npc.has_met( pc )}{50}{}
{4}{K:}{}{1}{npc.has_met( pc )}{40}{}
{5}{E:}{}{1}{npc.has_met( pc )}{0}{}
{10}{I know where Nulb is. Here, let me mark it on your map.}{I know where Nulb is. Here, ma'am, let me mark it on your map.}{}{}{}{game.areas[3] = 1; game.story_state = 3}
{11}{A:}{}{1}{}{20}{}
{12}{Thank you. I will go there right now. [travel immediately to Nulb]}{}{8}{}{0}{game.worldmap_travel_by_dialog(3)}
{13}{Thanks. Me go there now. [travel immediately to Nulb]}{}{-7}{}{0}{game.worldmap_travel_by_dialog(3)}
{14}{K:}{}{1}{}{40}{}
{15}{E:}{}{1}{}{0}{}
{20}{Is there anything else I can do for you?}{Is there anything else I can do for you, ma'am?}{}{}{}{}
{21}{B:}{}{1}{}{0}{}
{22}{K:}{}{1}{}{40}{}
{23}{N:}{}{1}{}{30}{}
{30}{Good journeys to you, then.}{Good journeys to you, ma'am.}{}{}{}{}
{31}{E:}{}{1}{}{0}{}
{40}{What would you like to know?}{What would you like to know?}{}{}{}{}
{41}{Would you happen to know where the village of Nulb is?}{}{8}{game.areas[3] = 0 and game.story_state < 3}{10}{}
{42}{Me want to go Bulb.}{}{-7}{game.areas[3] = 0 and game.story_state < 3}{10}{}
{43}{Why are you called Brother?}{}{8}{game.global_vars[36] == 0}{60}{}
{44}{[scratches head] Why you my brother?}{}{-7}{game.global_vars[36] == 0}{60}{}
{45}{Can I get a healing?}{}{1}{game.global_vars[36] == 1}{90}{}
{47}{So you are a member of the Old Faith?}{}{8}{game.global_vars[36] == 1}{140}{}
{48}{B:}{}{1}{}{0}{}
{49}{F:}{}{1}{}{30}{}
{50}{Well met, @pcname@. I am Brother Smyth, the village blacksmith.}{Well met, @pcname@. I am Brother Smyth, the village blacksmith.}{}{}{}{}
{51}{Brother? Are you a monk or a cleric?}{}{8}{}{60}{}
{52}{Hey, you not my brudder! Unless Mom...}{}{-7}{}{60}{}
{53}{Do you make armor?}{}{8}{}{130}{}
{54}{You make black stuff?}{}{-7}{}{130}{}
{60}{I am called Brother because I am the understudy of Jaroo, the village druid. My abilities are few, but I do what I can when called upon to help.}{I am called Brother because I am the understudy of Jaroo, the village druid. My abilities are few, but I do what I can when called upon to help.}{}{}{}{}
{61}{Does this mean you can perform healing?}{}{8}{}{70}{}
{62}{You fix ouchies?}{}{-7}{}{80}{}
{70}{Yes, I can perform a simple Cure Light Wounds.}{Yes, I can perform a simple Cure Light Wounds.}{}{}{}{game.global_vars[36] = 1}
{71}{That's good to know.}{}{8}{}{20}{}
{72}{Can I get a healing now?}{}{8}{}{90}{}
{73}{So you are of the Old Faith?}{}{8}{}{140}{}
{80}{Um, yes, I can fix "ouchies". Have you suffered a head injury, perhaps?}{Um, yes, I can fix "ouchies". Have you suffered a head injury, perhaps?}{}{}{}{game.global_vars[36] = 1}
{81}{No, me always like this.}{}{-7}{}{20}{}
{82}{No, but me need ouchies fixed now.}{}{-7}{}{90}{}
{90}{Of course. Who is in need of Cure Light Wounds?}{Of course. Who is in need of Cure Light Wounds?}{}{}{}{game.picker( npc, spell_cure_light_wounds, should_heal_hp_on, [ 100, 20, 110 ] )}
{91}{}{}{}{}{}{}
{100}{That person is not in need of healing.}{That person is not in need of healing.}{}{}{}{}
{101}{Let's try this again.}{}{8}{}{90}{}
{102}{Me do again!}{}{-7}{}{90}{}
{103}{F:}{}{1}{}{20}{}
{110}{The cost to Cure Light Wounds will be 100 gold pieces}{The cost to Cure Light Wounds will be 100 gold pieces}{}{}{}{}
{111}{OK. Here it is.}{}{8}{pc.money_get() >= 10000}{120}{pc.money_adj(-10000); npc.cast_spell( spell_cure_light_wounds, picker_obj )}
{112}{I do not have enough money. I'll come back later.}{}{8}{pc.money_get() < 10000}{20}{}
{113}{Me pay now.}{}{-7}{pc.money_get() >= 10000}{120}{pc.money_adj(-10000); npc.cast_spell( spell_cure_light_wounds, picker_obj )}
{114}{Not have money. Me go.}{}{-7}{pc.money_get() < 10000}{20}{}
{115}{F:}{}{1}{}{20}{}
{120}{I have performed the healing.}{I have performed the healing.}{}{}{}{npc.spells_pending_to_memorized()}
{121}{I still need more healing,}{}{8}{}{90}{}
{122}{More please.}{}{-7}{}{90}{}
{123}{A:}{}{1}{}{20}{}
{130}{I do all sorts of metalwork, such as helmets and shields. And I buy and sell all kinds of armor and weapons.}{I do all sorts of metalwork, such as helmets and shields. And I buy and sell all kinds of armor and weapons.}{}{}{}{}
{133}{B:}{}{1}{}{0}{}
{134}{K:}{}{1}{}{40}{}
{135}{E:}{}{1}{}{0}{}
{140}{Yes, like Jaroo, I follow the Old Faith. It is the way of balance in all things.}{Yes, like Jaroo, I follow the Old Faith. It is the way of balance in all things.}{}{}{}{}
{141}{Why are you doing blacksmithing? Shouldn't you be studying under Jaroo?}{}{8}{}{150}{}
{142}{Do you think Old Faith is dying out in the face of newer religions?}{}{8}{}{160}{}
{143}{So Brothers can be shopkeepers?}{}{8}{}{180}{}
{144}{I see.}{}{9}{}{20}{}
{150}{Hommlet needed a blacksmith, so I became a blacksmith. When Jaroo decides to leave Hommlet, or Mother forbid, he passes, then I will step up as the spiritual advisor for the village.}{Hommlet needed a blacksmith, so I became a blacksmith. When Jaroo decides to leave Hommlet, or Mother forbid, he passes, then I will step up as the spiritual advisor for the village.}{}{}{}{}
{151}{K:}{}{1}{}{40}{}
{152}{E:}{}{1}{}{0}{}
{160}{No. Do you?}{No. Do you?}{}{}{}{}
{161}{Yes, I do.}{}{8}{}{170}{npc.reaction_adj( pc,-5)}
{162}{I don't know.}{}{8}{}{170}{}
{163}{No. I was just wondering.}{}{8}{}{170}{}
{170}{That's the wonderful thing about Old Faith. You can have your opinion, and I can have mine, and there is balance.}{That's the wonderful thing about Old Faith. You can have your opinion, and I can have mine, and there is balance.}{}{}{}{}
{171}{I see.}{}{8}{}{20}{}
{180}{Yes, a follower of Old Faith can do anything he likes, and usually does what is needed. I am a shopkeeper, yes, but I give most of my money to charity. This way, I provide a needed service, and the needy can benefit.}{Yes, a follower of Old Faith can do anything he likes, and usually does what is needed. I am a shopkeeper, yes, but I give most of my money to charity. This way, I provide a needed service, and the needy can benefit.}{}{}{}{}
{181}{K:}{}{1}{}{40}{}
{182}{E:}{}{1}{}{0}{}
{200}{Well I don't have it on display, as you can see [gestures around at his normal gear] and I can't leave the smithy right now. Come back tomorrow and I will try to have it all out here for you.}{Well I don't have it on display, as you can see [gestures around at his normal gear] and I can't leave the smithy right now. Come back tomorrow and I will try to have it all out here for you.}{}{}{}{}
{201}{This better be worth it.}{}{8}{}{0}{}
{202}{Me think you suck, but me come back.}{}{-7}{}{0}{}
{203}{That's alright.}{}{1}{}{0}{}

{1000}{Anything else?}{Anything else?}{}{}{}{}
{1001}{Yes.}{}{1}{}{130}{}
{1002}{No.}{}{1}{}{0}{}


{4000}{Why yes, sir, I am able to make masterwork items... }{Why yes, ma'am, I am able to make masterwork items...}{}{}{}{}
{4001}{Great, what do you have for sale?}{}{8}{game.quests[100].state == qs_unknown}{4020}{}
{4002}{Dat gud! What ya sells me?}{}{-7}{game.quests[100].state == qs_unknown}{4020}{}
{4003}{B:Great, what do you have for sale?}{}{8}{game.quests[100].state == qs_completed}{0}{master(npc,pc); pc.barter(npc)}
{4004}{B:Dat gud! What ya sells me?}{}{-7}{game.quests[100].state == qs_completed}{0}{master(npc,pc); pc.barter(npc)}
{4005}{I have brought you the head of a giant!}{}{8}{pc.item_find(12602) != OBJ_HANDLE_NULL and game.quests[100].state == qs_accepted}{4100}{}
{4006}{@pcname@ brang da head of da giant!}{}{-7}{pc.item_find(12602) != OBJ_HANDLE_NULL and game.quests[100].state == qs_accepted}{4100}{}
{4007}{Oh, yeah, I still need to get that giant's head.}{}{8}{game.quests[100].state == qs_accepted and pc.item_find(12602) == OBJ_HANDLE_NULL}{20}{}
{4008}{Awh, @pcname@ still need do head of dat giant!}{}{-7}{game.quests[100].state == qs_accepted and pc.item_find(12602) == OBJ_HANDLE_NULL}{20}{}

{4010}{Great, what do you have for sale?}{}{8}{game.quests[100].state == qs_mentioned}{4020}{}
{4011}{Dat gud! What ya sells me?}{}{-7}{game.quests[100].state == qs_mentioned}{4020}{}

{4020}{Hmmm... not sure if you are ready for the good stuff.}{Hmmm... not sure if you are ready for the good stuff.}{}{}{}{}
{4021}{What is that supposed to mean?}{}{8}{}{4050}{}
{4022}{Ugh. Yous no like @pcname@?}{}{-7}{}{4050}{}

{4050}{It isn't good for business to be making masterwork items for every farmer and vagabond that comes through town pretending to be a brave adventurer. So I tell you what, lad, if you can bring me the head of a giant then I will gladly make you masterwork items.}{It isn't good for business to be making masterwork items for every farm girl and gypsy dancer that comes through town pretending to be an intrepid adventurer. So I tell you what, lass, if you can bring me the head of a giant then I will gladly make you masterwork items.}{}{}{}{game.quests[100].state = qs_mentioned}
{4051}{Your smithy skills better be worth it. I will return with a giant's head.}{}{8}{}{20}{game.quests[100].state = qs_accepted}
{4052}{Yeah, sure, and what do you want next, unicorn blood? Forget it.}{}{8}{}{0}{}
{4061}{Ugh, dat all, me do it.}{}{-7}{}{20}{game.quests[100].state = qs_accepted}
{4062}{@pcname@ not get crushed under giant club fer ya!}{}{-7}{}{0}{}

{4100}{You really have the giant's head?}{You really have the giant's head?}{}{}{}{}
{4110}{Yes. [Show the head to Brother Smyth]}{}{8}{}{4300}{game.quests[100].state = qs_completed}
{4111}{Well of course, did you doubt that I would? [Show the head to Brother Smyth]}{}{8}{}{4300}{game.quests[100].state = qs_completed}
{4120}{See. [Waiving the giant's head before Brother Smyth]}{}{-7}{}{4300}{game.quests[100].state = qs_completed}

{4300}{To be honest I didn't think you would be foolhardy enough to hunt the giant, and I certainly did not expect you to kill him!}{To be honest I didn't think you would be foolhardy enough to hunt the giant, and I certainly did not expect you to kill him! But I will honor my word... you have certainly earned the right to my best wares.}{}{}{}{master(npc,pc)}
{4310}{Well he is dead now, so show me your masterwork items!}{}{8}{}{200}{party_transfer_to( npc, 12602 )}
{4320}{Show da master stuffs! [waiving the giant's head around]}{}{-7}{}{200}{party_transfer_to( npc, 12602 )}

{7000}{Ah, good, you're back. I was hoping you would return! I could use your help.}{Ah, good, you're back. I was hoping you would return! I could use your help.}{}{}{}{game.global_vars[705] = 1}
{7011}{What do you need?}{}{8}{}{7020}{}
{7012}{Me?}{}{-7}{}{7020}{}
{7020}{Well, it's like this. A certain friend of mine has contracted me to open this chest. He lost the key, and he needs a particular item from within. I've tried everything to break into the chest, but the metal was infused with some magical properties making it near indestructible.}{Well, it's like this. A certain friend of mine has contracted me to open this chest. He lost the key, and he needs a particular item from within. I've tried everything to break into the chest, but the metal was infused with some magical properties making it near indestructible.}{}{}{}{}
{7021}{And you want me to pick the lock?}{}{8}{pc.stat_level_get(stat_level_rogue) >= 1}{7030}{}
{7022}{Me open lock?}{}{-7}{pc.stat_level_get(stat_level_rogue) >= 1}{7030}{}
{7023}{I don't know anything about locks. What do you expect me to do?}{}{8}{pc.stat_level_get(stat_level_rogue) < 1}{7040}{}
{7024}{Huh?}{}{-7}{pc.stat_level_get(stat_level_rogue) < 1}{7040}{}
{7030}{Exactly! You seem the sort that might know his way around the tumblers. Be a good fellow and pop this lock for me and I promise to make it worth your while.}{Exactly! You seem the sort that might know her way around the tumblers. Be a good lass and pop this lock for me and I promise to make it worth your while.}{}{}{}{}
{7031}{Okay, sounds good to me.}{}{8}{}{7050}{}
{7032}{Me do.}{}{-7}{}{7050}{}
{7033}{What exactly do you mean when you say "worth my while"?}{}{8}{}{7070}{}
{7034}{No thanks, not interested.}{}{8}{}{7060}{}
{7035}{Me no do.}{}{-7}{}{7060}{}
{7040}{I am confident that you might know someone that can do the job. Be a good fellow and arrange it for me and I promise to make it worth your while.}{I am confident that you might know someone that can do the job. Be a good lass and arrange it for me and I promise to make it worth your while.}{}{}{}{}
{7041}{Okay, sounds good to me.}{}{8}{}{7050}{}
{7042}{Me do.}{}{-7}{}{7050}{}
{7043}{What exactly do you mean when you say "worth my while"?}{}{8}{}{7070}{}
{7044}{No thanks, not interested.}{}{8}{}{7060}{}
{7045}{Me no do.}{}{-7}{}{7060}{}
{7050}{Excellent. Let me know the job is done. Now, is there anything else I can do for you?}{Excellent. Let me know the job is done. Now, is there anything else I can do for you?}{}{}{}{}
{7051}{B:}{}{1}{}{0}{}
{7052}{K:}{}{1}{}{40}{}
{7053}{N:}{}{1}{}{30}{}
{7060}{Well, the chest is right there, so if you change your mind feel free to give it a shot. Now, is there anything else I can do for you?}{Well, the chest is right there, so if you change your mind feel free to give it a shot. Now, is there anything else I can do for you?}{}{}{}{}
{7061}{B:}{}{1}{}{0}{}
{7062}{K:}{}{1}{}{40}{}
{7063}{N:}{}{1}{}{30}{}

{7070}{As I said, my friend is only looking for the one item. So I'll tell you what, if you can open the lock then you can have whatever else we find inside. That seems more than fair to me. Okay?}{As I said, my friend is only looking for the one item. So I'll tell you what, if you can open the lock then you can have whatever else we find inside. That seems more than fair to me. Okay?}{}{}{}{}
{7071}{Okay, sounds good to me.}{}{8}{}{7050}{}
{7072}{Me do.}{}{-7}{}{7050}{}
{7072}{Not good enough. You need to offer more.}{}{8}{pc.skill_level_get(npc,skill_intimidate) >= 8}{7080}{}
{7073}{That hardly seems fair. The chest might be empty. Can't you offer a bit more?}{}{8}{pc.skill_level_get(npc,skill_diplomacy) >= 8}{7080}{}
{7074}{No thanks, not interested.}{}{8}{}{7060}{}
{7075}{Me no do.}{}{-7}{}{7060}{}

{7080}{That's the best I can do. The chest is right there, so if you change your mind feel free to give it a shot. Now, is there anything else I can do for you?}{That's the best I can do. The chest is right there, so if you change your mind feel free to give it a shot. Now, is there anything else I can do for you?}{}{}{}{}
{7081}{B:}{}{1}{}{0}{}
{7082}{K:}{}{1}{}{40}{}
{7083}{N:}{}{1}{}{30}{}

{8000}{Quite the locksmith! Yes, quite the locksmith indeed!! Now step aside and let me take a look inside...}{Quite the locksmith! Yes, quite the locksmith indeed!! Now step aside and let me take a look inside...}{}{}{}{game.global_vars[705] = 2}
{8011}{[Step aside.]}{}{1}{}{8050}{}
{8022}{Now hold on, friend, how about we talk about the reward first?}{}{8}{pc.skill_level_get(npc,skill_diplomacy) >= 8}{8030}{}
{8023}{[Block the way.] Not so fast. We need to talk about the reward first.}{}{8}{pc.skill_level_get(npc,skill_intimidate) >= 8}{8030}{}
{8024}{[Attack Brother Smyth.]}{}{1}{}{}{npc.attack( pc )}

{8030}{Don't worry. You will be paid in full. Nothing more and nothing less than what you deserve. Balance in all things.}{Don't worry. You will be paid in full. Nothing more and nothing less than what you deserve. Balance in all things.}{}{}{}{}
{8031}{[Step aside.]}{}{1}{}{8050}{}
{8034}{[Attack Brother Smyth.]}{}{1}{}{}{npc.attack( pc )}

{8050}{[Takes the contents of the chest] Ah, yes, that's what I was looking for. My friend will be pleased.}{[Takes the contents of the chest] Ah, yes, that's what I was looking for. My friend will be pleased.}{}{}{}{}
{8051}{[Wait.]}{}{1}{}{8060}{}
{8052}{What about that reward you promised?}{}{8}{}{8060}{}
{8053}{Me want sumthan!}{}{-7}{}{8060}{}

{8060}{I only need this one item. Everything else is yours, though unfortunately there's not much here. Just a few coins and this old horn. You can have them.}{I only need this one item. Everything else is yours, though unfortunately there's not much here. Just a few coins and this old horn. You can have them.}{}{}{}{pc.money_adj(13072); create_item_in_inventory(12589,pc)}
{8061}{Not much of a reward, but I guess it is better than nothing.}{}{8}{}{}{}
{8062}{Okay. Me take stuffs.}{}{-7}{}{}{}
{8063}{I don't like being cheated old man! [Attack Brother Smyth.]}{}{8}{}{}{npc.attack( pc )}
{8064}{No cheat me!! [Attack Brother Smyth.]}{}{-7}{}{}{npc.attack( pc )}
