diff --git a/data/npc/frederik.npc b/data/npc/frederik.npc index 6a5f3e0..2e2f432 100644 --- a/data/npc/frederik.npc +++ b/data/npc/frederik.npc @@ -75,5 +75,5 @@ 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-free-s.ndb" +@"gen-t-wands-prem-s.ndb" } diff --git a/data/npc/gen-t-runes-free-s.ndb b/data/npc/gen-t-runes-free-s.ndb index 14bcb27..6d6ec31 100644 --- a/data/npc/gen-t-runes-free-s.ndb +++ b/data/npc/gen-t-runes-free-s.ndb @@ -11,27 +11,34 @@ "healing","rune" -> "I can offer you antidote runes, intense healing runes and ultimate healing runes." "light","magic","missile","rune" -> Type=3174, Data=5, Amount=1, Price=40, "Do you want to buy a light magic missile rune for %P gold?", Topic=99 +"lmm","rune" -> * "poison","field","rune" -> Type=3172, Data=3, Amount=1, Price=65, "Do you want to buy a poison field rune for %P gold?", Topic=99 "antidote","rune" -> Type=3153, Data=1, Amount=1, Price=65, "Do you want to buy an antidote rune for %P gold?", Topic=99 "fire","field","rune" -> Type=3188, Data=3, Amount=1, Price=85, "Do you want to buy a fire field rune for %P gold?", Topic=99 "intense","healing","rune" -> Type=3152, Data=1, Amount=1, Price=95, "Do you want to buy an intense healing rune for %P gold?", Topic=99 +"ih","rune" -> * "fireball","rune" -> Type=3189, Data=2, Amount=1, Price=95, "Do you want to buy a fireball rune for %P gold?", Topic=99 "destroy","field","rune" -> Type=3148, Data=3, Amount=1, Price=45, "Do you want to buy a destroy field rune for %P gold?", Topic=99 "heavy","magic","missile","rune" -> Type=3198, Data=5, Amount=1, Price=125, "Do you want to buy a heavy magic missile rune for %P gold?", Topic=99 +"hmm","rune" -> * "energy","field","rune" -> Type=3164, Data=3, Amount=1, Price=115, "Do you want to buy an energy field rune for %P gold?", Topic=99 "ultimate","healing","rune" -> Type=3160, Data=1, Amount=1, Price=175, "Do you want to buy an ultimate healing rune for %P gold?", Topic=99 +"uh","rune" -> * "convince","creature","rune" -> Type=3177, Data=1, Amount=1, Price=80, "Do you want to buy a convince creature rune for %P gold?", Topic=99 "great","fireball","rune" -> Type=3191, Data=2, Amount=1, Price=180, "Do you want to buy a great fireball rune for %P gold?", Topic=99 +"gfb","rune" -> * "chameleon","rune" -> Type=3178, Data=1, Amount=1, Price=210, "Do you want to buy a chameleon rune for %P gold?", Topic=99 "fire","bomb","rune" -> Type=3192, Data=2, Amount=1, Price=235, "Do you want to buy a firebomb rune for %P gold?", Topic=99 "poison","wall","rune" -> Type=3176, Data=4, Amount=1, Price=210, "Do you want to buy a poison wall rune for %P gold?", Topic=99 "explosion","rune" -> Type=3200, Data=3, Amount=1, Price=250, "Do you want to buy an explosion rune for %P gold?", Topic=99 "fire","wall","rune" -> Type=3190, Data=4, Amount=1, Price=245, "Do you want to buy a fire wall rune for %P gold?", Topic=99 "sudden","death","rune" -> Type=3155, Data=1, Amount=1, Price=325, "Do you want to buy a sudden death rune for %P gold?", Topic=99 +"sd","rune" -> * "energy","wall","rune" -> Type=3166, Data=4, Amount=1, Price=340, "Do you want to buy an energy wall rune for %P gold?", Topic=99 "backpack","light","magic","missile","rune" -> Type=3174, Data=5, Amount=1, Price=41*20, "Do you want to buy a backpack of light magic missile rune for %P gold?", Topic=100 "bp","light","magic","missile","rune" -> * +"bp","lmm","rune" -> * "backpack","poison","field","rune" -> Type=3172, Data=3, Amount=1, Price=66*20, "Do you want to buy a backpack of poison field rune for %P gold?", Topic=100 "bp","poison","field","rune" -> * "backpack","antidote","rune" -> Type=3153, Data=1, Amount=1, Price=66*20, "Do you want to buy a backpack of antidote rune for %P gold?", Topic=100 @@ -39,6 +46,7 @@ "backpack","fire","field","rune" -> Type=3188, Data=3, Amount=1, Price=86*20, "Do you want to buy a backpack of fire field rune for %P gold?", Topic=100 "bp","fire","field","rune" -> * "backpack","intense","healing","rune" -> Type=3152, Data=1, Amount=1, Price=96*20, "Do you want to buy a backpack of intense healing rune for %P gold?", Topic=100 +"backpack","ih","rune" -> * "bp","intense","healing","rune" -> * "backpack","fireball","rune" -> Type=3189, Data=2, Amount=1, Price=96*20, "Do you want to buy a backpack of fireball rune for %P gold?", Topic=100 "bp","fireball","rune" -> * @@ -46,14 +54,17 @@ "bp","destroy","field","rune" -> * "backpack","heavy","magic","missile","rune" -> Type=3198, Data=5, Amount=1, Price=126*20, "Do you want to buy a backpack of heavy magic missile rune for %P gold?", Topic=100 "bp","heavy","magic","missile","rune" -> * +"bp","hmm","rune" -> * "backpack","energy","field","rune" -> Type=3164, Data=3, Amount=1, Price=116*20, "Do you want to buy a backpack of energy field rune for %P gold?", Topic=100 "bp","energy","field","rune" -> * "backpack","ultimate","healing","rune" -> Type=3160, Data=1, Amount=1, Price=176*20, "Do you want to buy a backpack of ultimate healing rune for %P gold?", Topic=100 "bp","ultimate","healing","rune" -> * +"bp","uh","rune" -> * "backpack","convince","creature","rune" -> Type=3177, Data=1, Amount=1, Price=81*20, "Do you want to buy a backpack of convince creature rune for %P gold?", Topic=100 "bp","convince","creature","rune" -> * "backpack","great","fireball","rune" -> Type=3191, Data=2, Amount=1, Price=181*20, "Do you want to buy a backpack of great fireball rune for %P gold?", Topic=100 "bp","great","fireball","rune" -> * +"bp","gfb","rune" -> * "backpack","chameleon","rune" -> Type=3178, Data=1, Amount=1, Price=211*20, "Do you want to buy a backpack of chameleon rune for %P gold?", Topic=100 "bp","chameleon","rune" -> * "backpack","fire","bomb","rune" -> Type=3192, Data=2, Amount=1, Price=236*20, "Do you want to buy a backpack of firebomb rune for %P gold?", Topic=100 @@ -66,6 +77,7 @@ "bp","fire","wall","rune" -> * "backpack","sudden","death","rune" -> Type=3155, Data=1, Amount=1, Price=325*20, "Do you want to buy a backpack of sudden death rune for %P gold?", Topic=100 "bp","sudden","death","rune" -> * +"bp","sd","rune" -> * "backpack","energy","wall","rune" -> Type=3166, Data=4, Amount=1, Price=341*20, "Do you want to buy a backpack of energy wall rune for %P gold?", Topic=100 "bp","energy","wall","rune" -> * @@ -79,27 +91,34 @@ "paralyze","rune" -> * %1,1<%1,"light","magic","missile","rune" -> Type=3174, Data=5, Amount=%1, Price=40*%1, "Do you want to buy %A light magic missile runes for %P gold?", Topic=99 +%1,1<%1,"lmm","rune" -> * %1,1<%1,"poison","field","rune" -> Type=3172, Data=3, Amount=%1, Price=65*%1, "Do you want to buy %A poison field runes for %P gold?", Topic=99 %1,1<%1,"antidote","rune" -> Type=3153, Data=1, Amount=%1, Price=65*%1, "Do you want to buy %A antidote runes for %P gold?", Topic=99 %1,1<%1,"fire","field","rune" -> Type=3188, Data=3, Amount=%1, Price=85*%1, "Do you want to buy %A fire field runes for %P gold?", Topic=99 %1,1<%1,"intense","healing","rune" -> Type=3152, Data=1, Amount=%1, Price=95*%1, "Do you want to buy %A intense healing runes for %P gold?", Topic=99 +%1,1<%1,"ih","rune" -> * %1,1<%1,"fireball","rune" -> Type=3189, Data=2, Amount=%1, Price=95*%1, "Do you want to buy %A fireball runes for %P gold?", Topic=99 %1,1<%1,"destroy","field","rune" -> Type=3148, Data=3, Amount=%1, Price=45*%1, "Do you want to buy %A destroy field runes for %P gold?", Topic=99 %1,1<%1,"heavy","magic","missile","rune" -> Type=3198, Data=5, Amount=%1, Price=125*%1, "Do you want to buy %A heavy magic missile runes for %P gold?", Topic=99 +%1,1<%1,"hmm","rune" -> * %1,1<%1,"energy","field","rune" -> Type=3164, Data=3, Amount=%1, Price=115*%1, "Do you want to buy %A energy field runes for %P gold?", Topic=99 %1,1<%1,"ultimate","healing","rune" -> Type=3160, Data=1, Amount=%1, Price=175*%1, "Do you want to buy %A ultimate healing runes for %P gold?", Topic=99 +%1,1<%1,"uh","rune" -> * %1,1<%1,"convince","creature","rune" -> Type=3177, Data=1, Amount=%1, Price=80*%1, "Do you want to buy %A convince creature runes for %P gold?", Topic=99 %1,1<%1,"great","fireball","rune" -> Type=3191, Data=2, Amount=%1, Price=180*%1, "Do you want to buy %A great fireball runes for %P gold?", Topic=99 +%1,1<%1,"gfb","rune" -> * %1,1<%1,"chameleon","rune" -> Type=3178, Data=1, Amount=%1, Price=210*%1, "Do you want to buy %A chameleon runes for %P gold?", Topic=99 %1,1<%1,"fire","bomb","rune" -> Type=3192, Data=2, Amount=%1, Price=235*%1, "Do you want to buy %A firebomb runes for %P gold?", Topic=99 %1,1<%1,"poison","wall","rune" -> Type=3176, Data=4, Amount=%1, Price=210*%1, "Do you want to buy %A poison wall runes for %P gold?", Topic=99 %1,1<%1,"explosion","rune" -> Type=3200, Data=3, Amount=%1, Price=250*%1, "Do you want to buy %A explosion runes for %P gold?", Topic=99 %1,1<%1,"fire","wall","rune" -> Type=3190, Data=4, Amount=%1, Price=245*%1, "Do you want to buy %A fire wall runes for %P gold?", Topic=99 %1,1<%1,"sudden","death","rune" -> Type=3155, Data=1, Amount=%1, Price=325*%1, "Do you want to buy %A sudden death runes for %P gold?", Topic=99 +%1,1<%1,"gfb","rune" -> * %1,1<%1,"energy","wall","rune" -> Type=3166, Data=4, Amount=%1, Price=340*%1, "Do you want to buy %A energy wall runes for %P gold?", Topic=99 %1,1<%1,"backpack","light","magic","missile","rune" -> Type=3174, Data=5, Amount=%1, Price=41*20*%1, "Do you want to buy %A backpacks of light magic missile runes for %P gold?", Topic=100 %1,1<%1,"bp","light","magic","missile","rune" -> * +%1,1<%1,"backpack","lmm","rune" -> * %1,1<%1,"backpack","poison","field","rune" -> Type=3172, Data=3, Amount=%1, Price=66*20*%1, "Do you want to buy %A backpacks of poison field runes for %P gold?", Topic=100 %1,1<%1,"bp","poison","field","rune" -> * %1,1<%1,"backpack","antidote","rune" -> Type=3153, Data=1, Amount=%1, Price=66*20*%1, "Do you want to buy %A backpacks of antidote runes for %P gold?", Topic=100 @@ -108,20 +127,24 @@ %1,1<%1,"bp","fire","field","rune" -> * %1,1<%1,"backpack","intense","healing","rune" -> Type=3152, Data=1, Amount=%1, Price=96*20*%1, "Do you want to buy %A backpacks of intense healing runes for %P gold?", Topic=100 %1,1<%1,"bp","intense","healing","rune" -> * +%1,1<%1,"bp","ih","rune" -> * %1,1<%1,"backpack","fireball","rune" -> Type=3189, Data=2, Amount=%1, Price=96*20*%1, "Do you want to buy %A backpacks of fireball runes for %P gold?", Topic=100 %1,1<%1,"bp","fireball","rune" -> * %1,1<%1,"backpack","destroy","field","rune" -> Type=3148, Data=3, Amount=%1, Price=46*20*%1, "Do you want to buy %A backpacks of destroy field runes for %P gold?", Topic=100 %1,1<%1,"bp","destroy","field","rune" -> * %1,1<%1,"backpack","heavy","magic","missile","rune" -> Type=3198, Data=5, Amount=%1, Price=126*20*%1, "Do you want to buy %A backpacks of heavy magic missile runes for %P gold?", Topic=100 %1,1<%1,"bp","heavy","magic","missile","rune" -> * +%1,1<%1,"bp","hmm","rune" -> * %1,1<%1,"backpack","energy","field","rune" -> Type=3164, Data=3, Amount=%1, Price=116*20*%1, "Do you want to buy %A backpacks of energy field runes for %P gold?", Topic=100 %1,1<%1,"bp","energy","field","rune" -> * %1,1<%1,"backpack","ultimate","healing","rune" -> Type=3160, Data=1, Amount=%1, Price=176*20*%1, "Do you want to buy %A backpacks of ultimate healing runes for %P gold?", Topic=100 %1,1<%1,"bp","ultimate","healing","rune" -> * +%1,1<%1,"bp","uh","rune" -> * %1,1<%1,"backpack","convince","creature","rune" -> Type=3177, Data=1, Amount=%1, Price=81*20*%1, "Do you want to buy %A backpacks of convince creature runes for %P gold?", Topic=100 %1,1<%1,"bp","convince","creature","rune" -> * %1,1<%1,"backpack","great","fireball","rune" -> Type=3191, Data=2, Amount=%1, Price=181*20*%1, "Do you want to buy %A backpacks of great fireball runes for %P gold?", Topic=100 %1,1<%1,"bp","great","fireball","rune" -> * +%1,1<%1,"bp","gfb","rune" -> * %1,1<%1,"backpack","chameleon","rune" -> Type=3178, Data=1, Amount=%1, Price=211*20*%1, "Do you want to buy %A backpacks of chameleon runes for %P gold?", Topic=100 %1,1<%1,"bp","chameleon","rune" -> * %1,1<%1,"backpack","fire","bomb","rune" -> Type=3192, Data=2, Amount=%1, Price=236*20*%1, "Do you want to buy %A backpacks of firebomb runes for %P gold?", Topic=100 @@ -134,6 +157,7 @@ %1,1<%1,"bp","fire","wall","rune" -> * %1,1<%1,"backpack","sudden","death","rune" -> Type=3155, Data=1, Amount=%1, Price=326*20*%1, "Do you want to buy %A backpacks of sudden death runes for %P gold?", Topic=100 %1,1<%1,"bp","sudden","death","rune" -> * +%1,1<%1,"bp","sd","rune" -> * %1,1<%1,"backpack","energy","wall","rune" -> Type=3166, Data=4, Amount=%1, Price=341*20*%1, "Do you want to buy %A backpacks of energy wall runes for %P gold?", Topic=100 %1,1<%1,"bp","energy","wall","rune" -> * diff --git a/data/npc/nelly.npc b/data/npc/nelly.npc new file mode 100644 index 0000000..8a36595 --- /dev/null +++ b/data/npc/nelly.npc @@ -0,0 +1,82 @@ +# GIMUD - Graphical Interface Multi User Dungeon +# xodet.npc: Datenbank für den Magieladen-Besitzer Xodet + +Name = "Nelly" +Outfit = (138,59-5-4-19-0) +Home = [32307,31134,7] +Radius = 1 + +Behaviour = { +ADDRESS,"hello$",! -> "Hello %N, What can I do for you? I'm working for the post office, but I also trade with important potions, runes and other magical equipment." +ADDRESS,"hi$",! -> * +ADDRESS,! -> Idle +BUSY,"hello$",! -> "Sorry %N, I am already talking to a customer. Wait a minute, please.", Queue +BUSY,"hi$",! -> * +BUSY,! -> NOP +VANISH,! -> "Good bye." + +"bye" -> "Good bye and come again.", Idle +"farewell" -> * +"name" -> "I am Nelly ... Any special reason you ask?" +"job" -> "I am working for the local post office. I also happen to have some recently imported potions and runes to sell for a very special price." +"mission" -> "I don't have anything to do for you. Not even for me. What a boring place!" +"task" -> * + +"offer" -> "I sell parcels, letters, 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" +@"gen-post.ndb" +} diff --git a/data/npc/nilsor.npc b/data/npc/nilsor.npc new file mode 100644 index 0000000..0217413 --- /dev/null +++ b/data/npc/nilsor.npc @@ -0,0 +1,23 @@ +# GIMUD - Graphical Interface Multi User Dungeon +# quentin.npc: Datenbank für den Mönch Quentin + +Name = "Nilsor" +Outfit = (154,41-116-95-114-0) +Home = [32330,31046,7] +Radius = 3 + +Behaviour = { +ADDRESS,"hello$",! -> "Greetings, traveller %N. Is there anything I can do for you?" +ADDRESS,"hi$",! -> * +ADDRESS,! -> Idle +BUSY,"hello$",! -> "Please show some patience, %N.", Queue +BUSY,"hi$",! -> * +BUSY,! -> NOP +VANISH,! -> "Bye, %N." + +"bye" -> "Bye, %N.", Idle +"farewell" -> * +"how","are","you" -> "I am fine as long as my dogs are fine." + +# Not finished talks +}