diff --git a/data/npc/romir.npc b/data/npc/romir.npc new file mode 100644 index 0000000..76fc764 --- /dev/null +++ b/data/npc/romir.npc @@ -0,0 +1,79 @@ +# GIMUD - Graphical Interface Multi User Dungeon +# quentin.npc: Datenbank für den Mönch Quentin + +Name = "Romir" +Outfit = (153,19-48-67-126-3) +Home = [32211,31058,5] +Radius = 3 + +Behaviour = { +ADDRESS,"hello$",! -> "Greetings, traveller. I'm a magical trader and trainer for sorcerer spells. How may I help you?" +ADDRESS,"hi$",! -> * +ADDRESS,! -> Idle +BUSY,"hello$",! -> "Wait, %N.", Queue +BUSY,"hi$",! -> * +BUSY,! -> NOP +VANISH,! -> "Bye, %N." + +"bye" -> "Good bye and come again.", Idle +"farewell" -> * +"name" -> "I am known as Romir." +"job" -> "I guess one could call me a hermit. I am a bit new to this hermit business though and I have to admit I enjoy some company now and then. I also earn some money by teaching spells to those in search of knowledge." + +"offer" -> "I sell life fluids, mana fluids and runes." +"goods" -> * +"do","you","sell" -> * +"do","you","have" -> * + +"rune" -> "I sell blank runes and spell runes." +"life","fluid" -> Type=2874, Data=11, Amount=1, Price=60, "Do you want to buy life fluid for %P gold?", Topic=2 +"mana","fluid" -> Type=2874, Data=10, Amount=1, Price=55, "Do you want to buy mana fluid for %P gold?", Topic=2 +"blank","rune" -> Type=3147, Amount=1, Price=10, "Do you want to buy a blank rune for %P gold?", Topic=1 +"spellbook" -> Type=3059, Amount=1, Price=150, "Do you want to buy a spellbook for %P gold?", Topic=1 + +"backpack","life","fluid" -> Type=2874, Data=11, Amount=1, Price=61*20, "Do you want to buy a backpack of life fluid for %P gold?", Topic=8 +"bp","life","fluid" -> * +"backpack","mana","fluid" -> Type=2874, Data=10, Amount=1, Price=56*20, "Do you want to buy a backpack of mana fluid for %P gold?", Topic=8 +"bp","mana","fluid" -> * +"backpack","blank","rune" -> Type=3147, Amount=1, Price=11*20, "Do you want to buy a backpack of blank rune for %P gold?", Topic=7 +"bp","blank","rune" -> * + +%1,1<%1,"life","fluid" -> Type=2874, Data=11, Amount=%1, Price=60*%1, "Do you want to buy %A potions of life fluid for %P gold?", Topic=2 +%1,1<%1,"mana","fluid" -> Type=2874, Data=10, Amount=%1, Price=55*%1, "Do you want to buy %A potions of mana fluid for %P gold?", Topic=2 +%1,1<%1,"blank","rune" -> Type=3147, Amount=%1, Price=10*%1, "Do you want to buy %A blank runes for %P gold?", Topic=1 +%1,1<%1,"spellbook" -> Type=3059, Amount=%1, Price=150*%1, "Do you want to buy %A spellbooks for %P gold?", Topic=1 + +%1,1<%1,"backpack","life","fluid" -> Type=2874, Data=11, Amount=%1, Price=61*20*%1, "Do you want to buy %A backpacks of potions of life fluid for %P gold?", Topic=8 +%1,1<%1,"bp","life","fluid" -> * +%1,1<%1,"backpack","mana","fluid" -> Type=2874, Data=10, Amount=%1, Price=56*20*%1, "Do you want to buy %A backpacks of potions of mana fluid for %P gold?", Topic=8 +%1,1<%1,"bp","mana","fluid" -> * +%1,1<%1,"backpack","blank","rune" -> Type=3147, Amount=%1, Price=11*20*%1, "Do you want to buy %A backpacks of blank runes for %P gold?", Topic=7 +%1,1<%1,"bp","blank","rune" -> * + +"deposit" -> "I will pay you 5 gold for every empty vial. Ok?", Data=0, Topic=3 +"vial" -> * +"flask" -> * + +Topic=1,"yes",CountMoney>=Price -> "Here you are.", DeleteMoney, Create(Type) +Topic=1,"yes" -> "Come back, when you have enough money." +Topic=1 -> "Hmm, but next time." + +Topic=2,"yes",CountMoney>=Price -> "Here you are. There is a deposit of 5 gold on the vial.", DeleteMoney, Create(Type) +Topic=2,"yes" -> "Come back, when you have enough money." +Topic=2 -> "Hmm, but next time." + +Topic=3,"yes",Count(2874)>0 -> Amount=Count(2874), Price=Amount*5, "Here you are ... %P gold.", Delete(2874), CreateMoney +Topic=3,"yes" -> "You don't have any empty vials." +Topic=3 -> "Hmm, but please keep Tibia litter free." + +Topic=7,"yes",CountMoney>=Price -> "Here you are.", DeleteMoney, CreateContainer(2854,Type,Data) +Topic=7,"yes" -> "Come back, when you have enough money." +Topic=7 -> "Hmm, but next time." + +Topic=8,"yes",CountMoney>=Price -> "Here you are. There is a deposit of 5 gold on the vial.", DeleteMoney, CreateContainer(2854,Type,Data) +Topic=8,"yes" -> "Come back, when you have enough money." +Topic=8 -> "Hmm, but next time." + +@"gen-t-runes-free-s.ndb" +@"gen-t-wands-prem-s.ndb" +} diff --git a/data/npc/siflind.npc b/data/npc/siflind.npc new file mode 100644 index 0000000..2bca50c --- /dev/null +++ b/data/npc/siflind.npc @@ -0,0 +1,79 @@ +# GIMUD - Graphical Interface Multi User Dungeon +# quentin.npc: Datenbank für den Mönch Quentin + +Name = "Siflind" +Outfit = (158,76-81-95-114-1) +Home = [32360,31030,6] +Radius = 3 + +Behaviour = { +ADDRESS,"hello$",! -> "Be greeted, %N. If you are in need of potions or magical equipment, just ask me about my offers." +ADDRESS,"hi$",! -> * +ADDRESS,! -> Idle +BUSY,"hello$",! -> "Wait, %N.", Queue +BUSY,"hi$",! -> * +BUSY,! -> NOP +VANISH,! -> "Good bye and take care, %N." + +"bye" -> "Good bye and take care, %N.", Idle +"farewell" -> * +"name" -> "I am Siflind, my child." +"job" -> "I am a shaman. That should tell you everything you want to know, my child. But I also sell some potions, wands and runes." + +"offer" -> "I sell life fluids, mana fluids and runes." +"goods" -> * +"do","you","sell" -> * +"do","you","have" -> * + +"rune" -> "I sell blank runes and spell runes." +"life","fluid" -> Type=2874, Data=11, Amount=1, Price=60, "Do you want to buy life fluid for %P gold?", Topic=2 +"mana","fluid" -> Type=2874, Data=10, Amount=1, Price=55, "Do you want to buy mana fluid for %P gold?", Topic=2 +"blank","rune" -> Type=3147, Amount=1, Price=10, "Do you want to buy a blank rune for %P gold?", Topic=1 +"spellbook" -> Type=3059, Amount=1, Price=150, "Do you want to buy a spellbook for %P gold?", Topic=1 + +"backpack","life","fluid" -> Type=2874, Data=11, Amount=1, Price=61*20, "Do you want to buy a backpack of life fluid for %P gold?", Topic=8 +"bp","life","fluid" -> * +"backpack","mana","fluid" -> Type=2874, Data=10, Amount=1, Price=56*20, "Do you want to buy a backpack of mana fluid for %P gold?", Topic=8 +"bp","mana","fluid" -> * +"backpack","blank","rune" -> Type=3147, Amount=1, Price=11*20, "Do you want to buy a backpack of blank rune for %P gold?", Topic=7 +"bp","blank","rune" -> * + +%1,1<%1,"life","fluid" -> Type=2874, Data=11, Amount=%1, Price=60*%1, "Do you want to buy %A potions of life fluid for %P gold?", Topic=2 +%1,1<%1,"mana","fluid" -> Type=2874, Data=10, Amount=%1, Price=55*%1, "Do you want to buy %A potions of mana fluid for %P gold?", Topic=2 +%1,1<%1,"blank","rune" -> Type=3147, Amount=%1, Price=10*%1, "Do you want to buy %A blank runes for %P gold?", Topic=1 +%1,1<%1,"spellbook" -> Type=3059, Amount=%1, Price=150*%1, "Do you want to buy %A spellbooks for %P gold?", Topic=1 + +%1,1<%1,"backpack","life","fluid" -> Type=2874, Data=11, Amount=%1, Price=61*20*%1, "Do you want to buy %A backpacks of potions of life fluid for %P gold?", Topic=8 +%1,1<%1,"bp","life","fluid" -> * +%1,1<%1,"backpack","mana","fluid" -> Type=2874, Data=10, Amount=%1, Price=56*20*%1, "Do you want to buy %A backpacks of potions of mana fluid for %P gold?", Topic=8 +%1,1<%1,"bp","mana","fluid" -> * +%1,1<%1,"backpack","blank","rune" -> Type=3147, Amount=%1, Price=11*20*%1, "Do you want to buy %A backpacks of blank runes for %P gold?", Topic=7 +%1,1<%1,"bp","blank","rune" -> * + +"deposit" -> "I will pay you 5 gold for every empty vial. Ok?", Data=0, Topic=3 +"vial" -> * +"flask" -> * + +Topic=1,"yes",CountMoney>=Price -> "Here you are.", DeleteMoney, Create(Type) +Topic=1,"yes" -> "Come back, when you have enough money." +Topic=1 -> "Hmm, but next time." + +Topic=2,"yes",CountMoney>=Price -> "Here you are. There is a deposit of 5 gold on the vial.", DeleteMoney, Create(Type) +Topic=2,"yes" -> "Come back, when you have enough money." +Topic=2 -> "Hmm, but next time." + +Topic=3,"yes",Count(2874)>0 -> Amount=Count(2874), Price=Amount*5, "Here you are ... %P gold.", Delete(2874), CreateMoney +Topic=3,"yes" -> "You don't have any empty vials." +Topic=3 -> "Hmm, but please keep Tibia litter free." + +Topic=7,"yes",CountMoney>=Price -> "Here you are.", DeleteMoney, CreateContainer(2854,Type,Data) +Topic=7,"yes" -> "Come back, when you have enough money." +Topic=7 -> "Hmm, but next time." + +Topic=8,"yes",CountMoney>=Price -> "Here you are. There is a deposit of 5 gold on the vial.", DeleteMoney, CreateContainer(2854,Type,Data) +Topic=8,"yes" -> "Come back, when you have enough money." +Topic=8 -> "Hmm, but next time." + +@"gen-t-runes-free-s.ndb" +@"gen-t-wands-prem-s.ndb" +} diff --git a/data/npc/sinatuki.npc b/data/npc/sinatuki.npc new file mode 100644 index 0000000..31432f8 --- /dev/null +++ b/data/npc/sinatuki.npc @@ -0,0 +1,22 @@ +# GIMUD - Graphical Interface Multi User Dungeon +# quentin.npc: Datenbank für den Mönch Quentin + +Name = "Sinatuki" +Outfit = (260,0-0-0-0-0) +Home = [32425,31085,7] +Radius = 3 + +Behaviour = { +ADDRESS,"hello$",! -> "Sajoq, jinuma!" +ADDRESS,"hi$",! -> * +ADDRESS,! -> Idle +BUSY,"hello$",! -> "Jinuma, %N.", Queue +BUSY,"hi$",! -> * +BUSY,! -> NOP +VANISH,! -> "Gukaju, jinuma!" + +"bye" -> "Gukaju, jinuma!", Idle +"farewell" -> * + +# Not finished talks +} diff --git a/data/npc/thorwulf.npc b/data/npc/thorwulf.npc new file mode 100644 index 0000000..af9fb93 --- /dev/null +++ b/data/npc/thorwulf.npc @@ -0,0 +1,85 @@ +# GIMUD - Graphical Interface Multi User Dungeon +# gregor.npc: Datenbank fuer den Ritter Gregor + +Name = "Thorwulf" +Outfit = (143,3-58-97-116-1) +Home = [32264,31090,6] +Radius = 4 + +Behaviour = { +ADDRESS,Knight,"hello$",! -> "Welcome home, Knight %N!" +ADDRESS,Knight,"hi$",! -> * +ADDRESS,"hello$",! -> "Hi %N." +ADDRESS,"hi$",! -> * +ADDRESS,! -> Idle +BUSY,"hello$",! -> "Please wait a moment, %N.", Queue +BUSY,"hi$",! -> * +BUSY,! -> NOP +VANISH,! -> "Bye %N." + +"bye" -> "Bye %N.", Idle +"farewell" -> * +"job" -> "I am an expert fighter and I can teach a true warrior in the arts of war." +"name" -> "I am Thorwulf, slayer of dragons, giants and yetis." +"time" -> "It is time to join the Knights!" +"king" -> "Hail to our King!" +"tibianus" -> * +"quentin" -> "I will never understand this peaceful monks and priests." +"lynda" -> "Before she became a priest she won the Miss Tibia contest three times in a row." +"harkath" -> "One of Tibia's greatest warriors and strategists." +"army" -> "I teached many of the guards personally." +"ferumbras" -> "A fine game to hunt. But be careful, he cheats!" +"general" -> "General Harkath Bloodblade, a rolemodel." +"sam" -> "He has the muscles, but lacks the guts." +"gorn" -> "Always concerned with his profit. What a loss! He was adventuring with baxter in the old days." +"frodo" -> "I and my students often share a cask of beer or wine at Frodo's hut." +"elane" -> "A bow might be a fine weapon for someone not strong enough to wield a REAL weapon." +"muriel" -> "Bah, go away with these sorcerer tricks. Only cowards use tricks." +"gregor" -> "A great name, isn't it?" +"marvik" -> "Old Marvik saved life and limb of many of my boys and girls." +"bozo" -> "Some day someone will make something happen to him..." +"baxter" -> "He was an adventurer once." +"oswald" -> "What an idiot." +"sherry" -> "Peaceful farmers." +"donald" -> * +"mcronald" -> * +"lugri" -> "If he would have some guts he would fight for what he's talking about." +"excalibug" -> "Many brave warriors died on the quest to find that fabled weapon." +"news" -> "Times of war are at hand." + +"hero" -> "Of course, you heard of them. Knights are the best fighters in Tibia." +"tibia" -> "Beautiful Tibia. And with our help everyone is safe." +"knight" -> "Knights are the warriors of Tibia. Without us, no one would be safe. Every brave and strong man or woman can join us." +"vocation" -> "Your vocation is your profession. There are four vocations in Tibia: Knights, paladins, sorcerers, and druids." +"spellbook" -> "In a spellbook, your spells are listed. There you will find the pronunciation of each spell. If you want to buy one, visit Muriel, the sorcerer." + +Knight,"spell" -> "I can teach you healing spells and support spells. What kind of spell do you wish to learn? You can also tell me for which level you would like to learn a spell, if you prefer that.", Topic=2 +"spell" -> "Sorry, I only sell spells to knights." + +Knight,"instant","spell" -> "I can teach you healing spells and support spells. What kind of spell do you wish to learn?" +Knight,"healing","spell" -> "In this category I have 'Light Healing' and 'Antidote'." +Knight,"support","spell" -> "In this category I have 'Light', 'Find Person' and 'Great Light'." + +Topic=2,"healing","spell" -> "In this category I have 'Light Healing' and 'Antidote'." +Topic=2,"support","spell" -> "In this category I have 'Light', 'Find Person' and 'Great Light'." +Topic=2,"bye" -> "Be careful on your journeys.", Idle + +Topic=2,"8$" -> "For level 8 I have 'Find Person' and 'Light'.", Topic=2 +Topic=2,"9$" -> "For level 9 I have 'Light Healing'.", Topic=2 +Topic=2,"10$" -> "For level 10 I have 'Antidote'.", Topic=2 +Topic=2,"13$" -> "For level 13 I have 'Great Light'.", Topic=2 +Topic=2 -> "Sorry, I have only spells for level 8, 9, 10 and 13.", Topic=2 + +Knight,"find","person" -> String="Find Person", Price=80, "Do you want to buy the spell 'Find Person' for %P gold?", Topic=3 +Knight,"light" -> String="Light", Price=100, "Do you want to buy the spell 'Light' for %P gold?", Topic=3 +Knight,"light","healing" -> String="Light Healing", Price=170, "Do you want to buy the spell 'Light Healing' for %P gold?", Topic=3 +Knight,"antidote" -> String="Antidote", Price=150, "Do you want to buy the spell 'Antidote' for %P gold?", Topic=3 +Knight,"great","light" -> String="Great Light", Price=500, "Do you want to buy the spell 'Great Light' for %P gold?", Topic=3 + +Topic=3,"yes",SpellKnown(String)=1 -> "You already know how to cast this spell." +Topic=3,"yes",Level Amount=SpellLevel(String), "You have to be level %A to learn this spell." +Topic=3,"yes",CountMoney "Return when you have enough gold." +Topic=3,"yes" -> "Here you are. Look in your spellbook for the pronunciation of this spell.", DeleteMoney, EffectOpp(13), TeachSpell(String) +Topic=3 -> "Maybe next time." + +} diff --git a/data/npc/zora.npc b/data/npc/zora.npc new file mode 100644 index 0000000..835e0d0 --- /dev/null +++ b/data/npc/zora.npc @@ -0,0 +1,64 @@ +# GIMUD - Graphical Interface Multi User Dungeon +# Nelliem.npc: Datenbank für den Gartenbedarfhändler Nelliem + +Name = "Zora" +Outfit = (155,95-21-23-114-1) +Home = [32364,31324,6] +Radius = 2 + +Behaviour = { +ADDRESS,"hello$",! -> "Ah, look what the north wind blew here. Hope you're up to some business." +ADDRESS,"hi$",! -> * +ADDRESS,! -> Idle +BUSY,"hello$",! -> "Just stand in the line.", Queue +BUSY,"hi$",! -> * +BUSY,! -> NOP +VANISH,! -> "Come back when you're up to some business, %N." + +"bye" -> "Come back when you're up to some business, %N.", Idle +"farewell" -> * +"job" -> "I am overseeing some of our operations here." +"crunor" -> "May he bless all plants." +"name" -> "I am known as Zora and just for your information, there is no longer a bounty on my head." +"time" -> "It's a good time to sow some seeds." + +"equipment" -> "I sell shovels, picks, scythes, machetes, ropes, pitchforks, rakes, hoes, brooms, fishing rods, sixpacks of worms and brandnew crowbars from Kazordoon." +"goods" -> * +"do","you","sell" -> * +"do","you","have" -> * +"offer" -> * + +"shovel" -> Type=3457, Amount=1, Price=20, "Do you want to buy a shovel for %P gold?", Topic=1 +"scythe" -> Type=3453, Amount=1, Price=25, "Do you want to buy a scythe for %P gold?", Topic=1 +"pick" -> Type=3456, Amount=1, Price=50, "Do you want to buy a pick for %P gold?", Topic=1 +"rope" -> Type=3003, Amount=1, Price=50, "Do you want to buy a rope for %P gold?", Topic=1 +"rod" -> Type=3483, Amount=1, Price=150, "Do you want to buy a fishing rod for %P gold?", Topic=1 +"crowbar" -> Type=3304, Amount=1, Price=260, "Do you want to buy a dwarfensteel crowbar for %P gold?", Topic=1 +"machete" -> Type=3308, Amount=1, Price=35, "Do you want to buy a machete for %P gold?", Topic=1 +"pitchfork" -> Type=3451, Amount=1, Price=25, "Do you want to buy a pitchfork for %P gold?", Topic=1 +"rake" -> Type=3452, Amount=1, Price=20, "Do you want to buy a rake for %P gold?", Topic=1 +"hoe" -> Type=3455, Amount=1, Price=15, "Do you want to buy a hoe for %P gold?", Topic=1 +"broom" -> Type=3454, Amount=1, Price=12, "Do you want to buy a broom for %P gold?", Topic=1 + +%1,1<%1,"shovel" -> Type=3457, Amount=%1, Price=20*%1, "Do you want to buy %A shovels for %P gold?", Topic=1 +%1,1<%1,"scythe" -> Type=3453, Amount=%1, Price=25*%1, "Do you want to buy %A scythes for %P gold?", Topic=1 +%1,1<%1,"pick" -> Type=3456, Amount=%1, Price=50*%1, "Do you want to buy %A picks for %P gold?", Topic=1 +%1,1<%1,"rope" -> Type=3003, Amount=%1, Price=50*%1, "Do you want to buy %A ropes for %P gold?", Topic=1 +%1,1<%1,"rod" -> Type=3483, Amount=%1, Price=150*%1, "Do you want to buy %A fishing rods for %P gold?", Topic=1 +%1,1<%1,"crowbar" -> Type=3304, Amount=%1, Price=260*%1, "Do you want to buy %A dwarfensteel crowbars for %P gold?", Topic=1 +%1,1<%1,"machete" -> Type=3308, Amount=%1, Price=35*%1, "Do you want to buy %A machetes for %P gold?", Topic=1 +%1,1<%1,"pitchfork" -> Type=3451, Amount=%1, Price=25*%1, "Do you want to buy %A pitchforks for %P gold?", Topic=1 +%1,1<%1,"rake" -> Type=3452, Amount=%1, Price=20*%1, "Do you want to buy %A rakes for %P gold?", Topic=1 +%1,1<%1,"hoe" -> Type=3455, Amount=%1, Price=15*%1, "Do you want to buy %A hoes for %P gold?", Topic=1 +%1,1<%1,"broom" -> Type=3454, Amount=%1, Price=12*%1, "Do you want to buy %A brooms for %P gold?", Topic=1 + +"worm" -> "I sell worms only in sixpacks for 5 gold each, how many sixpacks of worms do you want to buy?" +"worms" -> * +%1,"worms" -> Type=3492, Amount=%1*6, Price=5*%1, "So you want to buy some of my sixpacks with altogether %A worms for %P gold?", Topic=1 +%1,"six","pack" -> * + + +Topic=1,"yes",CountMoney>=Price -> "Here!", DeleteMoney, Create(Type) +Topic=1,"yes" -> "No money, no deal!" +Topic=1 -> "Then not." +}