diff --git a/data/npc/captainwaveriderlibertybay.npc b/data/npc/captainwaveriderlibertybay.npc index 69739d0..2ed25ca 100644 --- a/data/npc/captainwaveriderlibertybay.npc +++ b/data/npc/captainwaveriderlibertybay.npc @@ -2,7 +2,7 @@ Name = "Captain Waverider" Outfit = (96,0-0-0-0) -Home = [32298,32895,6] +Home = [32346,32859,7] Radius = 2 Behaviour = { diff --git a/data/npc/hamilton.npc b/data/npc/hamilton.npc new file mode 100644 index 0000000..c1c8e17 --- /dev/null +++ b/data/npc/hamilton.npc @@ -0,0 +1,23 @@ +# GIMUD - Graphical Interface Multi User Dungeon + +Name = "Hamilton" +Outfit = (128,98-37-116-76) +Home = [32200,32792,7] +Radius = 3 + +Behaviour = { +ADDRESS,"hello$",! -> "A good day to you." +ADDRESS,"hi$",! -> * +ADDRESS,"hiho$",! -> * +ADDRESS,! -> Idle + +BUSY,"hello$",! -> "Wait, please.", Queue +BUSY,"hi$",! -> * +BUSY,"hiho$",! -> * +BUSY,! -> NOP +VANISH,! -> "Good bye." + +"bye" -> "Good bye.", Idle +"farewell" -> * + +} diff --git a/data/npc/herbert.npc b/data/npc/herbert.npc new file mode 100644 index 0000000..58e1342 --- /dev/null +++ b/data/npc/herbert.npc @@ -0,0 +1,35 @@ +# GIMUD - Graphical Interface Multi User Dungeon + +Name = "Herbert" +Outfit = (132,78-93-16-113) +Home = [32332,32839,7] +Radius = 1 + +Behaviour = { +ADDRESS,"hello$",! -> "At last! The audience arrives!" +ADDRESS,"hi$",! -> * +ADDRESS,! -> Idle +BUSY,"hello$",! -> "I am already talking to a customer, %N. Please wait a moment.", Queue +BUSY,"hi$",! -> * +BUSY,! -> NOP +VANISH,! -> "Alas! The crowds are gone and curtains fall! Was it but a dream?" + +"bye" -> "Thank you! Thank you! Sorry, no autographs today!", Idle +"farewell" -> * + +@"gen-post.ndb" + +#"letter" -> Amount=1, Price=5, "Do you want to buy a letter for %P gold?", Topic=2 +#"parcel" -> Amount=1, Price=10, "Do you want to buy a parcel for %P gold?", Topic=3 + +#Topic=1,"yes" -> "The Tibia Mail System enables you to send and receive letters and parcels. You can buy them here if you want." +#Topic=1 -> "Is there anything else I can do for you?" + +#Topic=2,"yes",CountMoney>=Price -> "Here it is. Don't forget to write the name of the receiver in the first line and the address in the second one before you put the letter in a mailbox.", DeleteMoney, Create(3505) +#Topic=2,"yes" -> "Oh, you have not enough gold to buy a letter." +#Topic=2 -> "Ok." + +#Topic=3,"yes",CountMoney>=Price -> "Here you are. Don't forget to write the name and the address of the receiver on the label. The label has to be in the parcel before you put the parcel in a mailbox.", DeleteMoney, Create(3503), Create(3507) +#Topic=3,"yes" -> "Oh, you have not enough gold to buy a parcel." +#Topic=3 -> "Ok." +} diff --git a/data/npc/irmana.npc b/data/npc/irmana.npc new file mode 100644 index 0000000..6ee7e8a --- /dev/null +++ b/data/npc/irmana.npc @@ -0,0 +1,73 @@ +# GIMUD - Graphical Interface Multi User Dungeon + +Name = "Irmana" +Outfit = (140,78-90-13-15-3) +Home = [32952,32109,5] +Radius = 2 + +Behaviour = { +ADDRESS,"hello$",! -> "Welcome to the house of fashion, %N!" +ADDRESS,"hi$",! -> * +ADDRESS,! -> Idle +BUSY,"hello$",! -> "I am already talking, %N. Please wait a moment.", Queue +BUSY,"hi$",! -> * +BUSY,! -> NOP +VANISH,! -> "Good bye, %N." + +"bye" -> "Good bye, %N.", Idle +"farewell" -> * +"fashion" -> "I'm currently interested in monster materials like cloth and leather. I can also fabricate cloth." +"fabricate" -> "I can fabricate green cloth from green tunics, red cloth from red robes and blue cloth from mystic turbans." + +"sell","ape","fur" -> Type=5883, Amount=1, Price=120, "Do you want to sell a ape fur for %P gold?", Topic=1 +"sell","blue","piece","of","cloth" -> Type=5912, Amount=1, Price=200, "Do you want to sell a blue piece of cloth for %P gold?", Topic=1 +"sell","brown","piece","of","cloth" -> Type=5913, Amount=1, Price=100, "Do you want to sell a brown piece of cloth for %P gold?", Topic=1 +"sell","green","dragon","leather" -> Type=5877, Amount=1, Price=100, "Do you want to sell a green dragon leather for %P gold?", Topic=1 +"sell","green","piece","of","cloth" -> Type=5910, Amount=1, Price=200, "Do you want to sell a green piece of cloth for %P gold?", Topic=1 +"sell","lizard","leather" -> Type=5876, Amount=1, Price=150, "Do you want to sell a lizard leather for %P gold?", Topic=1 +"sell","minotaur","leather" -> Type=5878, Amount=1, Price=80, "Do you want to sell a minotaur leather for %P gold?", Topic=1 +"sell","red","dragon","leather" -> Type=5948, Amount=1, Price=200, "Do you want to sell a red dragon leather for %P gold?", Topic=1 +"sell","red","piece","of","cloth" -> Type=5911, Amount=1, Price=300, "Do you want to sell a red piece of cloth for %P gold?", Topic=1 +"sell","simple","dress" -> Type=3568, Amount=1, Price=50, "Do you want to sell a simple dress for %P gold?", Topic=1 +"sell","spool","of","yarn" -> Type=5886, Amount=1, Price=1000, "Do you want to sell a spool of yarn for %P gold?", Topic=1 +"sell","white","piece","of","cloth" -> Type=5909, Amount=1, Price=100, "Do you want to sell a white piece of cloth for %P gold?", Topic=1 +"sell","yellow","piece","of","cloth" -> Type=5914, Amount=1, Price=150, "Do you want to sell a yellow piece of cloth for %P gold?", Topic=1 + +"sell",%1,1<%1,"ape","fur" -> Type=5883, Amount=%1, Price=120*%1, "Do you want to sell %A ape furs for %P gold?", Topic=1 +"sell",%1,1<%1,"blue","piece","of","cloth" -> Type=5912, Amount=%1, Price=200*%1, "Do you want to sell %A blue pieces of cloth for %P gold?", Topic=1 +"sell",%1,1<%1,"brown","piece","of","cloth" -> Type=5913, Amount=%1, Price=100*%1, "Do you want to sell %A brown pieces of cloth for %P gold?", Topic=1 +"sell",%1,1<%1,"green","dragon","leather" -> Type=5877, Amount=%1, Price=100*%1, "Do you want to sell %A green dragon leathers for %P gold?", Topic=1 +"sell",%1,1<%1,"green","piece","of","cloth" -> Type=5910, Amount=%1, Price=200*%1, "Do you want to sell %A green pieces of cloth for %P gold?", Topic=1 +"sell",%1,1<%1,"lizard","leather" -> Type=5876, Amount=%1, Price=150*%1, "Do you want to sell %A lizard leathers for %P gold?", Topic=1 +"sell",%1,1<%1,"minotaur","leather" -> Type=5878, Amount=%1, Price=80*%1, "Do you want to sell %A minotaur leathers for %P gold?", Topic=1 +"sell",%1,1<%1,"red","dragon","leather" -> Type=5948, Amount=%1, Price=200*%1, "Do you want to sell %A red dragon leathers for %P gold?", Topic=1 +"sell",%1,1<%1,"red","piece","of","cloth" -> Type=5911, Amount=%1, Price=300*%1, "Do you want to sell %A red pieces of cloth for %P gold?", Topic=1 +"sell",%1,1<%1,"simple","dress" -> Type=3568, Amount=%1, Price=50*%1, "Do you want to sell %A simple dress for %P gold?", Topic=1 +"sell",%1,1<%1,"spool","of","yarn" -> Type=5886, Amount=%1, Price=1000*%1, "Do you want to sell %A spool of yarns for %P gold?", Topic=1 +"sell",%1,1<%1,"white","piece","of","cloth" -> Type=5909, Amount=%1, Price=100*%1, "Do you want to sell %A white pieces of cloth for %P gold?", Topic=1 +"sell",%1,1<%1,"yellow","piece","of","cloth" -> Type=5914, Amount=%1, Price=150*%1, "Do you want to sell %A yellow pieces of cloth for %P gold?", Topic=1 + +Topic=1,"yes",Count(Type)>=Amount -> "Thank you. Here is your money.", Delete(Type), CreateMoney +Topic=1,"yes" -> "You do not have one." +Topic=1,"yes",Amount>1 -> "You do not have that many." +Topic=1 -> "Perhaps another time then." + +"red","robe" -> Type=3566, Amount=1, "Do you want to fabricate %A red robe for red piece of cloth?", Topic=12 +Topic=12,"yes",Count(Type)>=Amount -> "Here you are.", Delete(Type), Type=5911, Amount=1, Create(Type) +Topic=12,"yes" -> "You do not have one." +Topic=12,"yes",Amount>1 -> "You do not have that many." +Topic=12 -> "Perhaps another time then." + +"mystic","turban" -> Type=3574, Amount=1, "Do you want to fabricate %A mystic turban for blue piece of cloth?", Topic=13 +Topic=13,"yes",Count(Type)>=Amount -> "Here you are.", Delete(Type), Type=5912, Amount=1, Create(Type) +Topic=13,"yes" -> "You do not have one." +Topic=13,"yes",Amount>1 -> "You do not have that many." +Topic=13 -> "Perhaps another time then." + +"green","tunic" -> Type=3563, Amount=150, "Do you want to fabricate %A green tunics for green piece of cloth?", Topic=13 +Topic=13,"yes",Count(Type)>=Amount -> "Here you are.", Delete(Type), Type=5910, Amount=1, Create(Type) +Topic=13,"yes" -> "You do not have one." +Topic=13,"yes",Amount>1 -> "You do not have that many." +Topic=13 -> "Perhaps another time then." + +} diff --git a/data/npc/irvin.npc b/data/npc/irvin.npc new file mode 100644 index 0000000..04dfa4d --- /dev/null +++ b/data/npc/irvin.npc @@ -0,0 +1,23 @@ +# GIMUD - Graphical Interface Multi User Dungeon + +Name = "Irvin" +Outfit = (128,116-37-116-76) +Home = [32185,32736,7] +Radius = 3 + +Behaviour = { +ADDRESS,"hello$",! -> "A good day to you." +ADDRESS,"hi$",! -> * +ADDRESS,"hiho$",! -> * +ADDRESS,! -> Idle + +BUSY,"hello$",! -> "Wait, please.", Queue +BUSY,"hi$",! -> * +BUSY,"hiho$",! -> * +BUSY,! -> NOP +VANISH,! -> "Good bye." + +"bye" -> "Good bye.", Idle +"farewell" -> * + +} diff --git a/data/npc/isolde.npc b/data/npc/isolde.npc new file mode 100644 index 0000000..c4d5ddc --- /dev/null +++ b/data/npc/isolde.npc @@ -0,0 +1,97 @@ +# GIMUD - Graphical Interface Multi User Dungeon + +Name = "Isolde" +Outfit = (139,3-14-52-128-1) +Home = [32412,32830,4] +Radius = 3 + +Behaviour = { +ADDRESS,"hello$",! -> "Oh, be greeted. Maybe you require my assistance as a paladin spell trainer." +ADDRESS,"hi$",! -> * +ADDRESS,! -> Idle +BUSY,"hello$",! -> "Please wait a minute, %N.", Queue +BUSY,"hi$",! -> * +BUSY,! -> NOP +VANISH,! -> "Bye." + +"bye" -> "Good bye.", Idle +"farewell" -> * +"assistance" -> "I serve as officer and trainer for paladins in this fortress." +"pirates" -> "I can understand their desire for freedom. This, of course, does not justify robbery or murder in any way." +"time" -> "It is %T." +"quaras" -> "The quara pose an even greater danger than the pirates do. Whereas the pirates are out for plunder, the quara try to destroy us all." +"cult" -> "There is something evil brewing under the surface of Liberty Bay. The angry and the discontented are easily swayed by the promises of sinister seducers." +"voodoo" -> " I think that is dark magic and a mockery of the gods. Sadly the natives seem not to recognise what they are dealing with." +"thais" -> "Thais was so crowded I hardly found a space to breath. And the city was too busy to get my thoughts sorted. Here everything seems closer, more real. The sea, the people, enemies and friends." +"venore" -> "Venore always seemed to me like a lurking moloch. A greedy octopus whose arms are everywhere ... but of course that's only a foolish impression and I don't judge people based on such ponderings." +"liberty bay" -> "My duties hardly leave me time to visit the town. I don't like crowded streets and too many people anyway. I rather prefer a walk along the beach, to watch the sea from the cliffs or to listen to the music of wind and waves." +"djinn" -> "As a child I heard stories about these magical spirits. There are good djinns and evil djinns. It is rumoured that they live somewhere in the lands of the pyramids and deserts." +"king" -> "Although I admire our king, all the crowded festivities were not to my taste. I don't mind my noble heritage too much and so I gladly accepted my duties here." +"chondur" -> "His name was mentioned once or twice by whispering locals. I think he does not live in this town if he exists at all." +"ferumbras" -> "The evil he represents cannot be stopped easily. Perhaps you should talk to Malunga, the mage from Edron. As far as I know, the academy knows more about the connection of the dark ones to these isles." +"governor" -> "The governor is a very busy man. He leaves military issues in the competent hands of admiral Wyrmslicer." +"Wyrmslicer" -> "Admiral Wyrmslicer is a man of principles. He is rather a man of doings than of great words. That might put him in a disadvantage on battlegrounds that are parlours and not a field or the sea." +"eleonore" -> "The governor's daughter is rumoured to be a bit rebellious . Perhaps she is only missing the right man at her side." +"raymond striker" -> "That man leads some of the pirates. He is famous for his daring robberies and his escapes from justice. In the end though, his legacy will consist only of a few stories that are shared in a smoky tavern by some old sea dogs." +"sugar" -> "They say the sugar is the treasure of the isle." +"rum" -> "If people would be more disciplined in the use of rum, everything were only half as bad." +"charlotta" -> "This old woman gives me shivers. Another reason to avoid the town. She has some way to look at me ... as if she knew something about me that not even I am aware of ... but forgive me, that's just my imagination." +"Theodore Loveless" -> "I wish Tristan would be more careful about that man. Although only a tradesman, there is something dangerous about him. It does not seem wise to have him as an enemy." +"Tristan" -> "Tristan ... Tristan ... Oh how even his name lets my heart jump in joy. Forgive me, I really adore this young hero and our hearts will always be united in love." +"plantations" -> "The people work quite hard on the plantations in the West. I sometimes listen to the sad melodies the workers are singing." + +"spell",Paladin -> "I can teach you rune spells and instant 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 paladins." + +Topic=2,"rune","spell" -> "I sell 'Light Magic Missile', 'Heavy Magic Missile', 'Fireball' and 'Destroy Field'." +Topic=2,"instant","spell" -> "I sell healing spells, supply spells and support spells. Which of these interests you most?" +Topic=2,"level" -> "For which level would you like to learn a spell?", Topic=2 +Topic=2,"bye" -> "Good bye.", 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,"11$" -> "For level 11 I have 'Intense Healing'.", Topic=2 +Topic=2,"13$" -> "For level 13 I have 'Great Light' and 'Conjure Arrow'.", Topic=2 +Topic=2,"14$" -> "For level 14 I have 'Food' and 'Magic Shield'.", Topic=2 +Topic=2,"15$" -> "For level 15 I have 'Light Magic Missile'.", Topic=2 +Topic=2,"16$" -> "For level 16 I have 'Poisoned Arrow'.", Topic=2 +Topic=2,"17$" -> "For level 17 I have 'Fireball' and 'Destroy Field'.", Topic=2 +Topic=2,"20$" -> "For level 20 I have 'Ultimate Healing'.", Topic=2 +Topic=2,"25$" -> "For level 25 I have 'Explosive Arrow' and 'Heavy Magic Missile'.", Topic=2 +Topic=2,"35$" -> "For level 35 I have 'Invisible'.", Topic=2 + +Topic=2 -> "Sorry, I have only spells for level 8 to 11 and 13 to 17 as well as for level 20, 25 and 35.", Topic=2 + +Paladin,"rune","spell" -> "I sell 'Light Magic Missile', 'Heavy Magic Missile', 'Fireball' and 'Destroy Field'." +Paladin,"instant","spell" -> "I sell healing spells, supply spells and support spells. Which of these interests you most?" +Paladin,"level" -> "For which level would you like to learn a spell?", Topic=2 + +Paladin,"healing","spell" -> "In this category I have 'Light Healing', 'Intense Healing', 'Ultimate Healing' and 'Antidote'." +Paladin,"supply","spell" -> "In this category I have 'Food', 'Conjure Arrow', 'Poisoned Arrow' and 'Explosive Arrow'." +Paladin,"support","spell" -> "In this category I have 'Find Person', 'Light', 'Great Light', 'Magic Shield' and 'Invisible'." + +Paladin,"find","person" -> String="Find Person", Price=80, "Do you want to buy the spell 'Find Person' for %P gold?", Topic=3 +Paladin,"light" -> String="Light", Price=100, "Do you want to buy the spell 'Light' for %P gold?", Topic=3 +Paladin,"food" -> String="Food", Price=300, "Do you want to buy the spell 'Food' for %P gold?", Topic=3 +Paladin,"light","healing" -> String="Light Healing", Price=170, "Do you want to buy the spell 'Light Healing' for %P gold?", Topic=3 +Paladin,"light","missile" -> String="Light Magic Missile", Price=500, "Do you want to buy the spell 'Light Magic Missile' for %P gold?", Topic=3 +Paladin,"antidote" -> String="Antidote", Price=150, "Do you want to buy the spell 'Antidote' for %P gold?", Topic=3 +Paladin,"intense","healing" -> String="Intense Healing", Price=350, "Do you want to buy the spell 'Intense Healing' for %P gold?", Topic=3 +Paladin,"conjure","arrow" -> String="Conjure Arrow", Price=450, "Do you want to buy the spell 'Conjure Arrow' for %P gold?", Topic=3 +Paladin,"great","light" -> String="Great Light", Price=500, "Do you want to buy the spell 'Great Light' for %P gold?", Topic=3 +Paladin,"heavy","missile" -> String="Heavy Magic Missile", Price=1500, "Do you want to buy the spell 'Heavy Magic Missile' for %P gold?", Topic=3 +Paladin,"magic","shield" -> String="Magic Shield", Price=450, "Do you want to buy the spell 'Magic Shield' for %P gold?", Topic=3 +Paladin,"fireball" -> String="Fireball", Price=800, "Do you want to buy the spell 'Fireball' for %P gold?", Topic=3 +Paladin,"poison","arrow" -> String="Poisoned Arrow", Price=700, "Do you want to buy the spell 'Poisoned Arrow' for %P gold?", Topic=3 +Paladin,"destroy","field" -> String="Destroy Field", Price=700, "Do you want to buy the spell 'Destroy Field' for %P gold?", Topic=3 +Paladin,"ultimate","healing" -> String="Ultimate Healing", Price=1000, "Do you want to buy the spell 'Ultimate Healing' for %P gold?", Topic=3 +Paladin,"explosive","arrow" -> String="Explosive Arrow", Price=1000, "Do you want to buy the spell 'Explosive Arrow' for %P gold?", Topic=3 +Paladin,"invisible" -> String="Invisible", Price=2000, "Do you want to buy the spell 'Invisible' 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 must be level %A to learn this spell." +Topic=3,"yes",CountMoney "Oh. You do not have enough money." +Topic=3,"yes" -> "Here you are. Look in your spellbook for the pronunciation of this spell.", DeleteMoney, EffectOpp(13), TeachSpell(String) +Topic=3 -> "Ok. Then not." +} diff --git a/data/npc/jackfategoroma.npc b/data/npc/jackfategoroma.npc new file mode 100644 index 0000000..32dfcf5 --- /dev/null +++ b/data/npc/jackfategoroma.npc @@ -0,0 +1,74 @@ +# GIMUD - Graphical Interface Multi User Dungeon + +Name = "Jack Fate" +Outfit = (129,19-69-107-50) +Home = [32161,32558,6] +Radius = 5 + +Behaviour = { +ADDRESS,"hello$",male,! -> "Welcome on board, Sir %N." +ADDRESS,"hi$",male,! -> * +ADDRESS,"hello$",female,! -> "Welcome on board, Madam %N." +ADDRESS,"hi$",female,! -> * +ADDRESS,! -> Idle +BUSY,"hello$",! -> "One moment please %N. You're next in line.", Queue +BUSY,"hi$",! -> * +BUSY,! -> NOP +VANISH,! -> "Good bye. Recommend us, if you were satisfied with our service." + +"bye" -> "Good bye. Recommend us, if you were satisfied with our service.", Idle +"farewell" -> * +"name" -> "My name is Jack Fate from the Royal Tibia Line." +"job" -> "I am the captain of this sailing-ship." +"captain" -> * +"ship" -> "The Royal Tibia Line connects all seaside towns of Tibia." +"line" -> * +"company" -> * +"route" -> * +"tibia" -> * +"good" -> "We can transport everything you want." +"passenger" -> "We would like to welcome you on board." + +"trip",QuestValue(17501)=0 -> "I'd love to bring you back to Liberty Bay, but as you can see, my ship is ruined. I also hurt my leg and can barely move. Can you help me?", Topic=1 +"passage",QuestValue(17501)=0 -> * +"town",QuestValue(17501)=0 -> * +"destination",QuestValue(17501)=0 -> * +"sail",QuestValue(17501)=0 -> * +"go",QuestValue(17501)=0 -> * +"back",QuestValue(17501)=0 -> * +"liberty","bay",QuestValue(17501)=0 -> * + +"trip",QuestValue(17501)=1 -> Type=5901, Amount=30, "Have you brought 30 pieces of wood so that I can repair the ship?", Topic=3 +"passage",QuestValue(17501)=1 -> * +"town",QuestValue(17501)=1 -> * +"destination",QuestValue(17501)=1 -> * +"sail",QuestValue(17501)=1 -> * +"go",QuestValue(17501)=1 -> * +"back",QuestValue(17501)=1 -> * +"liberty","bay",QuestValue(17501)=1 -> * + +"trip",QuestValue(17501)>1 -> "Do you want to travel back to Liberty Bay?", Topic=4 +"passage",QuestValue(17501)>1 -> * +"town",QuestValue(17501)>1 -> * +"destination",QuestValue(17501)>1 -> * +"sail",QuestValue(17501)>1 -> * +"go",QuestValue(17501)>1 -> * +"back",QuestValue(17501)>1 -> * +"liberty","bay",QuestValue(17501)>1 -> * + +Topic>0,Topic<8,"yes",PZBlock,! -> "First get rid of those blood stains! You are not going to ruin my vehicle!" + +Topic=1,"yes" -> "Thank you. Luckily the damage my ship has taken looks more severe than it is, so I will only need a few wooden boards. ...", + "I saw some lousy trolls running away with some parts of the ship. It might be a good idea to follow them and check if they have some more wood. ...", + "We will need 30 pieces of wood, no more, no less. Did you understand everything?", Topic=2 +Topic=1 -> "Oh, well." +Topic=2,"yes" -> "Good! Please return once you have gathered 30 pieces of wood.", SetQuestValue(17501,1) +Topic=2 -> "Oh, well." + +Topic=3,"yes",Count(Type)>=Amount -> "Excellent! Now we can leave this godforsaken place. Thank you for your help. Should you ever want to return to this island, ask me for a passage to Goroma.", Delete(Type), SetQuestValue(17501,2) +Topic=3,"yes" -> "You don't have that many." +Topic=3 -> "Oh, I'm still waiting then." + +Topic=4,"yes" -> "Set the sails!", Idle, EffectOpp(11), Teleport(32285,32892,6), EffectOpp(11) +Topic=4 -> "We would like to serve you some time." +} diff --git a/data/npc/jackfatelibertybay.npc b/data/npc/jackfatelibertybay.npc new file mode 100644 index 0000000..96ce579 --- /dev/null +++ b/data/npc/jackfatelibertybay.npc @@ -0,0 +1,71 @@ +# GIMUD - Graphical Interface Multi User Dungeon + +Name = "Jack Fate" +Outfit = (129,19-69-107-50) +Home = [32284,32891,6] +Radius = 2 + +Behaviour = { +ADDRESS,"hello$",male,! -> "Welcome on board, Sir %N." +ADDRESS,"hi$",male,! -> * +ADDRESS,"hello$",female,! -> "Welcome on board, Madam %N." +ADDRESS,"hi$",female,! -> * +ADDRESS,! -> Idle +BUSY,"hello$",! -> "One moment please %N. You're next in line.", Queue +BUSY,"hi$",! -> * +BUSY,! -> NOP +VANISH,! -> "Good bye. Recommend us, if you were satisfied with our service." + +"bye" -> "Good bye. Recommend us, if you were satisfied with our service.", Idle +"farewell" -> * +"name" -> "My name is Jack Fate from the Royal Tibia Line." +"job" -> "I am the captain of this sailing-ship." +"captain" -> * +"ship" -> "The Royal Tibia Line connects all seaside towns of Tibia." +"line" -> * +"company" -> * +"route" -> * +"tibia" -> * +"good" -> "We can transport everything you want." +"passenger" -> "We would like to welcome you on board." +"trip" -> "Where do you want to go? To Thais, Darashia, Ankrahmun, Venore, Port Hope or Edron?" +"passage" -> * +"town" -> * +"destination" -> * +"sail" -> * +"go" -> * + +"thais" -> Price=180, "Do you seek a passage to Thais for %P gold?", Topic=1 +"darashia" -> Price=200, "Do you seek a passage to Darashia for %P gold?", Topic=2 +"edron" -> Price=170, "Do you seek a passage to Edron for %P gold?", Topic=3 +"liberty","bay" -> "This is Liberty Bay. Where do you want to go?" +"venore" -> Price=180, "Do you seek a passage to Venore for %P gold?", Topic=5 +"ankrahmun" -> Price=90, "Do you seek a passage to Ankrahmun for %P gold?", Topic=6 +"port","hope" -> Price=50, "Do you seek a passage to Port Hope for %P gold?", Topic=7 + +"thais",QuestValue(250)>2 -> Price=170, "Do you seek a passage to Thais for %P gold?", Topic=1 +"darashia",QuestValue(250)>2 -> Price=190, "Do you seek a passage to Darashia for %P gold?", Topic=2 +"edron",QuestValue(250)>2 -> Price=160, "Do you seek a passage to Edron for %P gold?", Topic=3 +"venore",QuestValue(250)>2 -> Price=170, "Do you seek a passage to Venore for %P gold?", Topic=5 +"ankrahmun",QuestValue(250)>2 -> Price=80, "Do you seek a passage to Ankrahmun for %P gold?", Topic=6 +"port","hope",QuestValue(250)>2 -> Price=40, "Do you seek a passage to Port Hope for %P gold?", Topic=7 + +"goroma",QuestValue(17501)>1 -> Price=500, "Ugh. You really want to go back to Goroma? I'll surely have to repair my ship afterwards, so I will charge you for %P gold. Okay?", Topic=4 +"goroma",QuestValue(17501)>1,QuestValue(250)>2 -> Price=490, "Ugh. You really want to go back to Goroma? I'll surely have to repair my ship afterwards, so I will charge you for %P gold. Okay?", Topic=4 +Topic>0,Topic<8,"yes",PZBlock,! -> "First get rid of those blood stains! You are not going to ruin my vehicle!" + +Topic=1,"yes",Premium,CountMoney>=Price,QuestValue(17501)<2 -> "I have to warn you - we might get into a tropical storm on that route. I'm not sure if my ship will withstand it. Do you really want to travel to Thais?", Topic=8 +Topic=8,"yes",Premium,CountMoney>=Price,Random(1,10)=1,Level>19 -> "Set the sails!", DeleteMoney, Idle, EffectOpp(11), Teleport(32161,32558,6), EffectOpp(11) +Topic=8,"yes",Premium,CountMoney>=Price -> "Set the sails!", DeleteMoney, Idle, EffectOpp(11), Teleport(32312,32211,6), EffectOpp(11) +Topic=1,"yes",Premium,CountMoney>=Price -> "Set the sails!", DeleteMoney, Idle, EffectOpp(11), Teleport(32312,32211,6), EffectOpp(11) +Topic=2,"yes",Premium,CountMoney>=Price -> "Set the sails!", DeleteMoney, Idle, EffectOpp(11), Teleport(33290,32481,6), EffectOpp(11) +Topic=3,"yes",Premium,CountMoney>=Price -> "Set the sails!", DeleteMoney, Idle, EffectOpp(11), Teleport(33175,31764,6), EffectOpp(11) +Topic=4,"yes",Premium,CountMoney>=Price -> "Set the sails!", DeleteMoney, Idle, EffectOpp(11), Teleport(32161,32558,6), EffectOpp(11) + +Topic=5,"yes",Premium,CountMoney>=Price -> "Set the sails!", DeleteMoney, Idle, EffectOpp(11), Teleport(32954,32023,6), EffectOpp(11) +Topic=6,"yes",Premium,CountMoney>=Price -> "Set the sails!", DeleteMoney, Idle, EffectOpp(11), Teleport(33091,32883,6), EffectOpp(11) +Topic=7,"yes",Premium,CountMoney>=Price -> "Set the sails!", DeleteMoney, Idle, EffectOpp(11), Teleport(32530,32784,6), EffectOpp(11) +Topic>0,"yes",CountMoney>=Price -> "I'm sorry, but you need a premium account in order to travel onboard our ships." +Topic>0,"yes" -> "You don't have enough money." +Topic>0 -> "We would like to serve you some time." +} diff --git a/data/npc/jason.npc b/data/npc/jason.npc new file mode 100644 index 0000000..8342909 --- /dev/null +++ b/data/npc/jason.npc @@ -0,0 +1,21 @@ +# GIMUD - Graphical Interface Multi User Dungeon + +Name = "Jason" +Outfit = (134,96-86-106-116) +Home = [32163,32941,7] +Radius = 5 + +Behaviour = { +ADDRESS,"hello$",! -> "Hello." +ADDRESS,"hi$",! -> * +ADDRESS,! -> Idle +BUSY,"hello$",! -> "Wait, %N.", Queue +BUSY,"hi$",! -> * +BUSY,! -> NOP +VANISH,! -> NOP + +"bye" -> "Good bye.", Idle +"farewell" -> * + + +} diff --git a/data/npc/jefrey.npc b/data/npc/jefrey.npc new file mode 100644 index 0000000..cc3ffb0 --- /dev/null +++ b/data/npc/jefrey.npc @@ -0,0 +1,24 @@ +# GIMUD - Graphical Interface Multi User Dungeon + +Name = "Jefrey" +Outfit = (132,57-63-5-81-2) +Home = [32338,32834,7] +Radius = 1 + +Behaviour = { +ADDRESS,"hello$",! -> "Hello, what can I do for you? Welcome to the Tibian Bank." +ADDRESS,"hi$",! -> * +ADDRESS,! -> Idle +BUSY,"hello$",! -> "It's not your turn %N. Wait please.", Queue +BUSY,"hi$",! -> * +BUSY,! -> NOP +VANISH,! -> "What else should I have expected other than that?" + +"bye" -> "Good bye, %N.", Idle +"farewell" -> * +"job" -> "I am running this Bank" +"time" -> "It is %T, precisely." +"king" -> "Hail to the king!" + +@"gen-bank.ndb" +} diff --git a/data/npc/john.npc b/data/npc/john.npc new file mode 100644 index 0000000..d1c96e5 --- /dev/null +++ b/data/npc/john.npc @@ -0,0 +1,52 @@ +# GIMUD - Graphical Interface Multi User Dungeon + +Name = "John" +Outfit = (128,58-68-12-114) +Home = [32138,32904,7] +Radius = 1 + +Behaviour = { +ADDRESS,"hello$",! -> "Hello, hello, %N! Please come in, look, and buy!" +ADDRESS,"hi$",! -> * +ADDRESS,! -> Idle +BUSY,"hello$",! -> "I'll be with you in a moment, %N.", Queue +BUSY,"hi$",! -> * +BUSY,! -> NOP +VANISH,! -> "Bye, bye." + +"bye" -> "Bye, bye.", Idle +"farewell" -> * +"how","are","you" -> "I am fine. I'm so glad to have you here as my customer." +"sell" -> "Souvenirs! Shovels! Treasure maps! Noble watches! Tools! All here for great prices!" +"job" -> "I am a merchant. What can I do for you?" + +"wares" -> "Souvenirs! Shovels! Treasure maps! Noble watches! Tools! All here for great prices!" +"offer" -> * + +"backpack" -> Type=2872, Amount=1, Price=30, "Do you want to buy a camouflage backpack for %P gold?", Topic=1 +"bag" -> Type=2864, Amount=1, Price=10, "Do you want to buy a camouflage bag for %P gold?", Topic=1 +"fishing","rod" -> Type=3483, Amount=1, Price=300, "Do you want to buy a fishing rod for %P gold?", Topic=1 +"pick" -> Type=3456, Amount=1, Price=100, "Do you want to buy a pick for %P gold?", Topic=1 +"rope" -> Type=3003, Amount=1, Price=100, "Do you want to buy a rope for %P gold?", Topic=1 +"shovel" -> Type=3457, Amount=1, Price=100, "Do you want to buy a shovel for %P gold?", Topic=1 +"watch" -> Type=6091, Amount=1, Price=500, "Do you want to buy a very noble-looking watch. for %P gold?", Topic=1 +"treasure","map" -> Type=5090, Amount=1, Price=1000, "Do you want to buy a treasure map for %P gold?", Topic=1 +"worm" -> Type=3492, Amount=1, Price=2, "Do you want to buy a worm for %P gold?", Topic=1 +"torch" -> Type=2920, Amount=1, Price=2, "Do you want to buy a torch for %P gold?", Topic=1 + +%1,1<%1,"backpack" -> Type=2872, Amount=%1, Price=30*%1, "Do you want to buy %A camouflage backpacks for %P gold?", Topic=1 +%1,1<%1,"bag" -> Type=2864, Amount=%1, Price=10*%1, "Do you want to buy %A camouflage bags for %P gold?", Topic=1 +%1,1<%1,"fishing","rod" -> Type=3483, Amount=%1, Price=300*%1, "Do you want to buy %A fishing rods for %P gold?", Topic=1 +%1,1<%1,"pick" -> Type=3456, Amount=%1, Price=100*%1, "Do you want to buy %A picks for %P gold?", Topic=1 +%1,1<%1,"rope" -> Type=3003, Amount=%1, Price=100*%1, "Do you want to buy %A ropes for %P gold?", Topic=1 +%1,1<%1,"shovel" -> Type=3457, Amount=%1, Price=100*%1, "Do you want to buy %A shovels for %P gold?", Topic=1 +%1,1<%1,"watch" -> Type=6091, Amount=%1, Price=500*%1, "Do you want to buy %A very noble-looking watches. for %P gold?", Topic=1 +%1,1<%1,"treasure","map" -> Type=5090, Amount=%1, Price=1000*%1, "Do you want to buy %A treasure maps for %P gold?", Topic=1 +%1,1<%1,"worm" -> Type=3492, Amount=%1, Price=2*%1, "Do you want to buy %A worms for %P gold?", Topic=1 +%1,1<%1,"torch" -> Type=2920, Amount=%1, Price=2*%1, "Do you want to buy %A torches for %P gold?", Topic=1 + +Topic=1,"yes",CountMoney>=Price -> "Thank you. Here it is.", DeleteMoney, Create(Type) +Topic=1,"yes" -> "Sorry, you do not have enough gold." +Topic=1 -> "Maybe you will buy it another time." + +} diff --git a/data/npc/kalvin.npc b/data/npc/kalvin.npc new file mode 100644 index 0000000..7d87abf --- /dev/null +++ b/data/npc/kalvin.npc @@ -0,0 +1,46 @@ +# GIMUD - Graphical Interface Multi User Dungeon + +Name = "Kalvin" +Outfit = (132,115-117-120-125-3) +Home = [32943,32108,5] +Radius = 4 + +Behaviour = { +ADDRESS,"hello$",! -> "Be greeted, %N! If you need information about outfits, I'm your man." +ADDRESS,"hi$",! -> * +ADDRESS,! -> Idle +BUSY,"hello$",! -> "Please wait a minute, %N.", Queue +BUSY,"hi$",! -> * +BUSY,! -> NOP +VANISH,! -> "Good bye." + +"bye" -> "Good bye, %N!", Idle +"farewell" -> * +"job" -> "I'm an apprentice of Hugo. My current task is to inform everyone about our summer collection." +"name" -> "My name is Kalvin." +"hugo" -> "I hope that one day I will have grand visions, too." +"outfit" -> "Ah, I can tell you all about the newest range of patterns! There are, all in all, four free outfits, seven premium outfits, and four quest outfits." +"free","outfit" -> "Well, we have the traditional knight outfit, the hunter outfit, the mage outfit and the citizen outfit." +"premium","outfit" -> "Premium outfits are only available to characters on a premium account. They include the nobleman outfit, the summoner outfit, the warrior outfit, the barbarian outfit, the wizard outfit, the oriental outfit and the druid outfit." +"quest","outfit" -> "Quest outfits require certain tasks to be fulfilled before the outfit becomes accessible. Those quests are only available for premium customers. ...", + "We currently have the pirate outfit, the assassin outfit, the beggar outfit and the shaman outfit." +"addons" -> "Addons are usually accessories. Each outfit has two addons which can be worn only together with this outfit. All addons have to be earned through quests." +"quest" -> "Many addon quests require that a number of ingredients are collected." +"Irmana" -> " Such a beautiful and charming lady." +"knight" -> "If you spend your time fighting monsters and need that little extra protection, this well-armored outfit is great for you. Addons are usually awarded by knight guilds." +"hunter" -> "A light and comfortable ranger outfit which every paladin simply loves to wear. If you are looking to earn addons for this outfit, a good place to start would be the paladin guild in Thais." +"mage" -> "Great for wise old male mages as well as for pretty enchantresses. If you are looking to earn addons, ladies should take a stroll in Port Hope, whereas elders should explore the Dark Cathedral." +"citizen" -> "Your basic starter outfit - simple, but practical. If you are looking to earn addons for this outfit, you should walk around Thais and look for citizens wearing a hat or a backpack." +"nobleman" -> "One of our finest pieces. If you have the money and wish to show how wealthy and noble you are, this is the outfit for you. We also create addons especially for you, right here." +"summoner" -> "Great for young mages and ladies who love witchcraft. If you are looking to earn addons, gentlemen should take a stroll in Port Hope, whereas ladies should explore the Dark Cathedral." +"warrior" -> "The lighter version of the knight outfit is great if you want to save stamina and maintain agility. Addons are usually awarded by knight guilds." +"barbarian" -> "This outfit stands for raw power, battle cries and lack of manners. I heard that there are a few barbarians living near Northport. They might just be able to provide fitting addons." +"wizard" -> "Are you feeling evil today? This outfit is fitting for mages pursuing the dark side of sorcery. Shunned by the magic academy of Edron, you might find wizards hiding near Thais." +"oriental" -> "This comfortable, yet fashionable outfit will create the romantic mood of Thousand and One Nights. A good place to look around for addons are naturally Darama and Ankrahmun." +"druid" -> "Nature-loving and peaceful druids might like this outfit, especially the beastlike addons. I heard there is a druid living near Ab'Dendriel, who might be able to provide fitting addons." +"pirate" -> "Yo ho ho and a bottle of rum! If you love the pirate way of life and sneer at landlubbers, this might be the right outfit for you. Pirates are said to roam the Shattered Isles..." +"assassin" -> "Mysterious and lethal, assassins are hard to find and almost impossible to befriend. I know of one assassin hiding away on the Daramian Plague Spire. If you are lucky, he won't kill you." +"beggar" -> "Ah, Hugo is working on designing this look. He might need some inspiration, so if you have some time to spare, don't hesitate to contribute some ideas to him." +"shaman" -> "If you have seen everything and worn every look, this outfit will put the icing on your cake. Maybe you can earn it by becoming the apprentice of a shaman... or voodoo priest." + +} diff --git a/data/world/map.otbm b/data/world/map.otbm index 341ba8f..ddc9e7b 100644 Binary files a/data/world/map.otbm and b/data/world/map.otbm differ diff --git a/data/world/spawns.xml b/data/world/spawns.xml index 022a8ff..1c2551c 100644 --- a/data/world/spawns.xml +++ b/data/world/spawns.xml @@ -933,9 +933,6 @@ - - - @@ -2939,9 +2936,6 @@ - - - @@ -3466,9 +3460,6 @@ - - - @@ -11948,9 +11939,6 @@ - - - @@ -12529,9 +12517,6 @@ - - - @@ -13015,9 +13000,6 @@ - - - @@ -13080,9 +13062,6 @@ - - - @@ -13661,9 +13640,6 @@ - - - @@ -13957,9 +13933,6 @@ - - -