{1}{Hello.}{Hello.}{}{}{}{}
{2}{Hello, I am @pcname@.}{}{8}{not npc.has_met(pc)}{10}{}
{3}{Hi! Me @pcname@.}{}{-7}{not npc.has_met(pc)}{10}{}
{4}{K:}{}{1}{npc.has_met(pc)}{100}{}
{5}{E:}{}{1}{npc.has_met(pc)}{0}{}
{10}{So you are an adventurer?}{So you are an adventurer?}{}{10}{}{}
{11}{Yes. And you?}{}{8}{}{20}{}
{12}{Yup! What you be?}{}{-7}{}{20}{}
{20}{My name is Spugnoir, and I work for a sage in Stalmaer. He has directed me to locate any and all wizard scrolls in the area.}{My name is Spugnoir, and I work for a sage in Stalmaer. He has directed me to locate any and all wizard scrolls in the area.}{}{20}{}{}
{21}{Have you had any luck?}{}{8}{game.story_state < 2}{30}{}
{22}{Find any?}{}{-7}{game.story_state < 2}{30}{}
{23}{Have you had any luck?}{}{8}{game.story_state >= 2}{80}{}
{24}{Find any?}{}{-7}{game.story_state >= 2}{80}{}
{30}{No, but I just recently arrived with a merchant wagon. I plan to check a nearby ruined moathouse, which I understand once housed a powerful warlock. This was before the Battle of Emridy Meadows, after which the moathouse was sacked.}{No, but I just recently arrived with a merchant wagon. I plan to check a nearby ruined moathouse, which I understand once housed a powerful warlock. This was before the Battle of Emridy Meadows, after which the moathouse was sacked.}{}{30}{}{}
{31}{Oh, the moathouse! I know that place.}{}{8}{game.areas[2] == 1 and npc.leader_get() == OBJ_HANDLE_NULL}{40}{}
{32}{Me know the moathouse!}{}{-7}{game.areas[2] == 1 and npc.leader_get() == OBJ_HANDLE_NULL}{40}{}
{33}{Where is this moathouse?}{}{8}{game.areas[2] == 0}{70}{game.story_state = 1; game.areas[2] = 1}
{34}{Me want to go to this moaty place.}{}{-7}{game.areas[2] == 0}{70}{game.story_state = 1; game.areas[2] = 1}
{35}{Yeah, I've been there. Can I ask you something else?}{}{8}{game.areas[2] == 1 and npc.leader_get() != OBJ_HANDLE_NULL}{100}{}
{36}{Me been there. Me ask more?}{}{-7}{game.areas[2] == 1 and npc.leader_get() != OBJ_HANDLE_NULL}{100}{}
{37}{Do you know where Emridy Meadows are?}{}{8}{game.areas[5] == 0}{130}{}
{38}{Where be Emridy Meadows?}{}{-7}{game.areas[5] == 0}{130}{}
{40}{Really? I would love to accompany you. I don't want any share of money or items other than to ask for all of the wizard scrolls we find.}{Really? I would love to accompany you. I don't want any share of money or items other than to ask for all of the wizard scrolls we find.}{}{40}{}{}
{41}{Sure, come along.}{}{8}{not pc.follower_atmax()}{50}{pc.follower_add(npc)}
{42}{OK. You follow.}{}{-7}{not pc.follower_atmax()}{50}{pc.follower_add(npc)}
{43}{No, not right now, Spugnoir.}{}{8}{}{60}{}
{44}{No, me no want you Spoony.}{}{-7}{}{60}{}
{45}{No, thanks, but I have too many followers as it is.}{}{8}{pc.follower_atmax()}{60}{}
{46}{No, me have too many people following me!}{}{-7}{pc.follower_atmax()}{60}{}
{50}{Thanks. I am ready to leave at your convenience.}{Thanks. I am ready to leave at your convenience.}{}{50}{}{}
{51}{Let's go.}{}{1}{}{0}{}
{52}{K:}{}{1}{}{100}{}
{60}{Maybe some other time, then.}{Maybe some other time, then.}{}{60}{}{}
{61}{K:}{}{1}{}{100}{}
{62}{E:}{}{1}{}{0}{}
{70}{Here, I will show you where the moathouse is located on your map.}{Here, I will show you where the moathouse is located on your map.}{}{70}{}{}
{71}{Would you like to come along?}{}{8}{npc.leader_get() == OBJ_HANDLE_NULL}{40}{}
{72}{Want to come too?}{}{-7}{npc.leader_get() == OBJ_HANDLE_NULL}{40}{}
{73}{Thank you. Can I ask you something else?}{}{8}{}{100}{}
{74}{Thanks! Me want to know more stuff!}{}{-7}{}{100}{}
{75}{Thank you. I will head there now. [travel immediately to the moat house]}{}{8}{}{0}{game.worldmap_travel_by_dialog(2)}
{76}{Thanks! Me go now! [travel immediately to the moat house]}{}{-7}{}{0}{game.worldmap_travel_by_dialog(2)}
{77}{E:}{}{1}{}{0}{}
{80}{None at all. I heard you cleared the place out.}{None at all. I heard you cleared the place out.}{}{80}{}{}
{81}{We sure did. Do you want to join us anyways?}{}{8}{npc.leader_get() == OBJ_HANDLE_NULL}{40}{}
{82}{Yup! Wanna join up anyhow?}{}{-7}{npc.leader_get() == OBJ_HANDLE_NULL}{40}{}
{83}{Yes, and now I am looking for Nulb.}{}{8}{game.story_state == 2}{120}{game.story_state = 3; game.areas[3] = 1}
{84}{Me look for Bulb now.}{}{-7}{game.story_state == 2}{120}{game.story_state = 3; game.areas[3] = 1}
{85}{K:}{}{1}{}{100}{}
{86}{E:}{}{1}{}{0}{}
{90}{What? You want me to leave? But I thought things were going well.}{What? You want me to leave? But I thought things were going well.}{}{90}{}{}
{91}{Spugnoir, I am sorry but you are out of the group.}{}{8}{}{60}{pc.follower_remove(npc)}
{92}{Spoony, you go now.}{}{-7}{}{60}{pc.follower_remove(npc)}
{93}{Ok, ok, you can stay.}{}{8}{}{50}{}
{94}{OK, you stay!}{}{-7}{}{50}{}
{100}{Yes, sir, how can I help you?}{Yes, how can I help you?}{}{100}{}{}
{101}{Would you like to join up with me?}{}{8}{npc.leader_get() == OBJ_HANDLE_NULL}{40}{}
{102}{I think you should leave the group.}{}{8}{npc.leader_get() != OBJ_HANDLE_NULL}{90}{}
{103}{So, Spugnoir, tell me again why you came to Hommlet.}{}{8}{}{20}{}
{104}{Can you tell me where the moat house is?}{}{8}{game.areas[2] == 0}{70}{game.story_state = 1; game.areas[2] = 1}
{105}{Can you tell me where Nulb is?}{}{8}{game.story_state == 2}{120}{game.story_state = 3; game.areas[3] = 1}
{106}{Spoony, you wanna join into group?}{}{-7}{npc.leader_get() == OBJ_HANDLE_NULL}{40}{}
{107}{Spoony, you leave group, ok?}{}{-7}{npc.leader_get() != OBJ_HANDLE_NULL}{90}{}
{108}{Me forget why you came to Hommlet.}{}{-7}{}{20}{}
{109}{Me want to find moat house!}{}{-7}{game.areas[2] == 0}{70}{game.story_state = 1; game.areas[2] = 1}
{110}{Me want to find Bulb!}{}{-7}{game.story_state == 2}{120}{game.story_state = 3; game.areas[3] = 1}
{111}{Do you know where Emridy Meadows are?}{}{8}{game.story_state < 2 and game.areas[5] == 0}{130}{}
{112}{Where be Emridy Meadows?}{}{-7}{game.areas[5] == 0}{130}{}
{113}{We need to talk about your equipment?}{}{8}{npc.leader_get() != OBJ_HANDLE_NULL}{500}{}
{114}{Me talk about Spoony stuffs?}{}{-7}{npc.leader_get() != OBJ_HANDLE_NULL}{500}{}
{115}{E:}{}{1}{}{0}{}
{120}{Here, I will show you where Nulb is located on your map.}{Here, I will show you where Nulb is located on your map.}{}{120}{}{}
{121}{Would you like to come along?}{}{8}{npc.leader_get() == OBJ_HANDLE_NULL}{40}{}
{122}{Want to come too?}{}{-7}{npc.leader_get() == OBJ_HANDLE_NULL}{40}{}
{123}{Thank you. Can I ask you something else?}{}{8}{}{100}{}
{124}{Thanks! Me want to know more stuff!}{}{-7}{}{100}{}
{125}{Thank you. I will head there now. [travel immediately to Nulb]}{}{8}{}{0}{game.worldmap_travel_by_dialog(3)}
{126}{Thanks! Me go now! [travel immediately to Nulb]}{}{-7}{}{0}{game.worldmap_travel_by_dialog(3)}
{130}{Here, I will show you where Emridy Meadows is located on your map.}{Here, I will show you where Emridy Meadows is located on your map.}{}{130}{}{game.areas[5] = 1}
{131}{Would you like to come along?}{}{8}{npc.leader_get() == OBJ_HANDLE_NULL}{40}{}
{132}{Want to come too?}{}{-7}{npc.leader_get() == OBJ_HANDLE_NULL}{40}{}
{133}{Thank you. Can I ask you something else?}{}{8}{}{100}{}
{134}{Thanks! Me want to know more stuff!}{}{-7}{}{100}{}
{135}{Thank you. I will head there now. [travel immediately to Emridy Meadows]}{}{8}{}{0}{game.worldmap_travel_by_dialog(5)}
{136}{Thanks! Me go now! [travel immediately to Emridy Meadows]}{}{-7}{}{0}{game.worldmap_travel_by_dialog(5)}
{137}{E:}{}{1}{}{0}{}


{500}{What do you want?}{What do you want?}{}{}{}{}
{501}{Will you please sell me your starting equipment?}{}{8}{game.global_flags[805] == 0}{560}{}
{502}{Me buy stuffs?}{}{-7}{game.global_flags[805] == 0}{560}{}
{503}{Don't sell or give away anything in your inventory.}{}{8}{}{550}{game.global_flags[806] = 1}
{504}{Spoony no lose stuffs.}{}{-7}{}{550}{game.global_flags[806] = 1}
{510}{Never mind.}{}{8}{}{}{}
{511}{Me forgets sumthan.}{}{-7}{}{}{}
{550}{Okay.}{Okay.}{}{}{}{pc.follower_remove( npc ); pc.follower_add( npc ); game.global_flags[806] = 0}
{551}{Thanks Spugnoir.}{}{8}{}{}{}
{552}{Thanks Spoony.}{}{-7}{}{}{}
{560}{I will sell you my starting equipment for 5 gold.}{I will sell you my starting equipment for 5 gold.}{}{}{}{}
{561}{[Buy items]}{}{1}{pc.money_get() >= 500}{570}{game.global_flags[805] = 1; pc.money_adj(-500); equip_transfer( npc, pc )}
{562}{I don't have that much right now.}{}{8}{pc.money_get() <= 499}{}{}
{563}{Me not have da coins.}{}{-7}{pc.money_get() <= 499}{}{}
{564}{Never mind.}{}{8}{}{}{}
{565}{Me forgets sumthan.}{}{-7}{}{}{}
{570}{Thanks.}{Thanks.}{}{}{}{}
{571}{Thanks Spoony.}{}{-7}{}{}{}
{572}{Thanks Spugnoir.}{}{8}{}{}{}

{1000}{No!!}{No!!}{}{}{}{game.global_flags[819] = 1; NPC.npc_flag_set(ONF_KOS)

{1001}{Traitor!! You and the priest can die together!!}{}{8}{}{}{pc.follower_remove(npc); npc.attack( pc )}
{1002}{Spoony die with da priest!}{}{-7}{}{}{pc.follower_remove(npc); npc.attack( pc )}
{1003}{What? No! Don't risk death Spugnoir. If you betray us then you will die with the priest.}{}{8}{}{1005}{}
{1004}{No. Spoony no leave.}{}{-7}{}{1005}{}
{1005}{I have a really bad feeling about this. I don't like how you are behaving!}{I have a really bad feeling about this. I don't like how you are behaving!}{}{}{}{}
{1006}{Time to die!}{}{8}{}{}{pc.follower_remove(npc); npc.attack( pc )}
{1007}{Die!}{}{-7}{}{}{pc.follower_remove(npc); npc.attack( pc )}

{5000}{It must have been those gnolls that we encountered back in the moathouse. Maybe paying them off wasn't such a good idea.}{It must have been those gnolls that we encountered back in the moathouse. Maybe paying them off wasn't such a good idea.}{}{}{}{}
{5001}{S:}{}{1}{}{}{}
{5002}{E:}{}{1}{}{}{}
{5003}{Y:}{}{1}{}{}{}

{10008}{Hello. It's very nice to meet you.}{Hello. It's very nice to meet you.}{}{}{}{}
{10009}{Hello. It's very nice to meet you.}{Hello. It's very nice to meet you.}{}{}{}{}
{10011}{It's nice to see you again, @pcname@.}{It's nice to see you again, @pcname@.}{}{}{}{}
{10012}{Hello, @pcname@.}{Hello, @pcname@.}{}{}{}{}
{10014}{I'm done.}{I'm done.}{}{}{}{}
{10015}{[He smiles] You must be chilly.}{[He smiles] You must be chilly.}{}{}{}{}
{10016}{Are you a barbarian? You dress like one.}{Are you a barbarian? You dress like one.}{}{}{}{}
{10017}{Your companions are a little scary, eh?}{Your companions are a little scary, eh?}{}{}{}{}
{10019}{How cute! [He pats you on the head]}{How cute! [He pats you on the head]}{}{}{}{}
{10020}{Why have you cast Mirror Image?}{Why have you cast Mirror Image?}{}{}{}{}
{10021}{Please, don't make me cast See Invisible just to talk to you.}{Please, don't make me cast See Invisible just to talk to you.}{}{}{}{}
{11001}{What do you want?}{What do you want?}{}{}{}{}
{11002}{[He nods at you while a look of distaste crosses his face] Why are you looking at me?}{[He nods at you while a look of distaste crosses his face] Why are you looking at me?}{}{}{}{}
{11003}{Do you want something from me again?}{Do you want something from me again?}{}{}{}{}
{11004}{@pcname@, why do you keep bothering me?}{@pcname@, why do you keep bothering me?}{}{}{}{}
{12014}{Oh no! Save my scrolls!}{Oh no! Save my scrolls!}{}{}{}{}
{12020}{Okay.}{Okay.}{}{}{}{}
{12021}{I don't see how I can do that.}{I don't see how I can do that.}{}{}{}{}
{12022}{Hey, watch it! I bruise easily!}{Hey, watch it! I bruise easily!}{}{}{}{}
{12023}{Feel the wrath of Spugnoir the Mighty! *laughs*}{Feel the wrath of Spugnoir the Mighty! *laughs*}{}{}{}{}
{12024}{Gee, I thought *I* was bad.}{Gee, I thought *I* was bad.}{}{}{}{}
{12029}{Run away!}{Run away!}{}{}{}{}
{12039}{I don't like how you are behaving, @pcname@.}{I don't like how you are behaving, @pcname@.}{}{}{}{}
{12046}{Let me do that.}{Let me do that.}{}{}{}{}
{12054}{Can someone heal me?}{Can someone heal me?}{}{}{}{}
{12055}{I have too many items. Can we stop and trade?}{I have too many items. Can we stop and trade?}{}{}{}{}
{12058}{I've been hit! I've been hit!}{I've been hit! I've been hit!}{}{}{}{}
{12059}{Ooooh, look at that!}{Ooooh, look at that!}{}{}{}{}
{12062}{This place is awfully creepy.}{This place is awfully creepy.}{}{}{}{}
{12063}{The other village seems nicer than this place.}{The other village seems nicer than this place.}{}{}{}{}
{12064}{Oh my, this adventure is going to be bad for my health, I just know it.}{Oh my, this adventure is going to be bad for my health, I just know it.}{}{}{}{}
{12065}{This is Emridy Meadows, where the big temple battle took place ten years ago. I remember my master talking about it.}{This is Emridy Meadows, where the big temple battle took place ten years ago. I remember my master talking about it.}{}{}{}{}
{12070}{Did I mention that I don't like spiders?}{Did I mention that I don't like spiders?}{}{}{}{}
{12080}{I have a bad feeling about this.}{I have a bad feeling about this.}{}{}{}{}
{12091}{Those doors have been warded. I'd stake my reputation on it!}{Those doors have been warded. I'd stake my reputation on it!}{}{}{}{}
{12093}{I doubt these statues are natural. Watch out for basilisks!}{I doubt these statues are natural. Watch out for basilisks!}{}{}{}{}
{12101}{I wonder whose throne that is.}{I wonder whose throne that is.}{}{}{}{}
{12103}{I have a really bad feeling about this place.}{I have a really bad feeling about this place.}{}{}{}{}
{12200}{Why are we just standing here?}{Why are we just standing here?}{}{}{}{}

