From 544a6b34a41a89b4568bcaee50160cc79ab0a43e Mon Sep 17 00:00:00 2001 From: ErikasKontenis Date: Thu, 16 Jan 2020 17:58:55 +0200 Subject: [PATCH] loot sabrehaven talons by demons and let NPCs buy them for different amount of golds --- data/monster/demon.xml | 1 + data/npc/avar.npc | 2 ++ data/npc/briasol.npc | 2 ++ data/npc/chantalle.npc | 1 + data/npc/hanna.npc | 2 ++ data/npc/iwan.npc | 3 +++ data/npc/odemara.npc | 2 ++ data/npc/rachel.npc | 2 ++ data/npc/tezila.npc | 3 +++ data/npc/zoltan.npc | 1 + 10 files changed, 19 insertions(+) diff --git a/data/monster/demon.xml b/data/monster/demon.xml index d746cc6..719792f 100644 --- a/data/monster/demon.xml +++ b/data/monster/demon.xml @@ -79,5 +79,6 @@ + \ No newline at end of file diff --git a/data/npc/avar.npc b/data/npc/avar.npc index 5086524..49d0a18 100644 --- a/data/npc/avar.npc +++ b/data/npc/avar.npc @@ -30,4 +30,6 @@ VANISH,! -> "See you later." "carlin" -> "I saved the women there once or twice." "news" -> "There is a great evil lurking beneath this isle ... and beneath the Plains of Havoc and in the ancient necropolis and beneath the Ghostlands ... well everywhere basically." "rumors" -> * +"sabrehaven","talon" -> "I have looted plenty of them. However, it looks like this is not yours level business." +"sabrehaven","talon", level>100 -> "I think you already know about the demons. However I know what you didn't knew about them!" } diff --git a/data/npc/briasol.npc b/data/npc/briasol.npc index 6232969..fcf3365 100644 --- a/data/npc/briasol.npc +++ b/data/npc/briasol.npc @@ -83,6 +83,7 @@ VANISH,! -> "Asha Thrazi." "sell","small","ruby" -> Type=3030, Amount=1, Price=250, "Do you want to sell a small ruby for %P gold?", Topic=6 "sell","small","emerald" -> Type=3032, Amount=1, Price=250, "Do you want to sell a small emerald for %P gold?", Topic=6 "sell","small","amethyst" -> Type=3033, Amount=1, Price=200, "Do you want to sell a small amethyst for %P gold?", Topic=6 +"sell","sabrehaven","talon" -> Type=5776, Amount=1, Price=8500, "Interesting item. Do you want to sell a Sabrehaven talon for %P gold?", Topic=6 "sell",%1,1<%1,"white","pearl" -> Type=3026, Amount=%1, Price=160*%1, "Do you want to sell %A white pearls for %P gold?", Topic=6 "sell",%1,1<%1,"black","pearl" -> Type=3027, Amount=%1, Price=280*%1, "Do you want to sell %A black pearls for %P gold?", Topic=6 @@ -91,6 +92,7 @@ VANISH,! -> "Asha Thrazi." "sell",%1,1<%1,"small","rub" -> Type=3030, Amount=%1, Price=250*%1, "Do you want to sell %A small rubies for %P gold?", Topic=6 "sell",%1,1<%1,"small","emerald" -> Type=3032, Amount=%1, Price=250*%1, "Do you want to sell %A small emeralds for %P gold?", Topic=6 "sell",%1,1<%1,"small","amethyst" -> Type=3033, Amount=%1, Price=200*%1, "Do you want to sell %A small amethysts for %P gold?", Topic=6 +"sell",%1,1<%1,"sabrehaven","talon" -> Type=5776, Amount=%1, Price=8500*%1, "Interesting items. Do you want to sell %A Sabrehaven talons for %P gold?", Topic=6 Topic=5,"yes",CountMoney>=Price -> "Here you are.", DeleteMoney, Create(Type) Topic=5,"yes" -> "Come back, when you have enough money." diff --git a/data/npc/chantalle.npc b/data/npc/chantalle.npc index 59389ff..6c7062b 100644 --- a/data/npc/chantalle.npc +++ b/data/npc/chantalle.npc @@ -24,6 +24,7 @@ VANISH,! -> "Farewell." "do","you","have" -> * "gem" -> "We trade small diamonds, sapphires, rubies, emeralds, and amethysts." "pearl" -> "We trade white and black pearls." +"sabrehaven","talon" -> "This is an extremely rare thing! Sadly, Liberty Bay can't afford any of that." "white","pearl" -> Type=3026, Amount=1, Price=320, "Do you want to buy a white pearl for %P gold?", Topic=1 "black","pearl" -> Type=3027, Amount=1, Price=560, "Do you want to buy a black pearl for %P gold?", Topic=1 diff --git a/data/npc/hanna.npc b/data/npc/hanna.npc index 6e8b8c8..72cc0af 100644 --- a/data/npc/hanna.npc +++ b/data/npc/hanna.npc @@ -59,6 +59,7 @@ VANISH,! -> "Good bye." "sell","small","ruby" -> Type=3030, Amount=1, Price=250, "Do you want to sell a small ruby for %P gold?", Topic=2 "sell","small","emerald" -> Type=3032, Amount=1, Price=250, "Do you want to sell a small emerald for %P gold?", Topic=2 "sell","small","amethyst" -> Type=3033, Amount=1, Price=200, "Do you want to sell a small amethyst for %P gold?", Topic=2 +"sell","sabrehaven","talon" -> Type=5776, Amount=1, Price=9000, "What a rare! Do you want to sell a Sabrehaven talon for %P gold?", Topic=2 "sell",%1,1<%1,"white","pearl" -> Type=3026, Amount=%1, Price=160*%1, "Do you want to sell %A white pearls for %P gold?", Topic=2 "sell",%1,1<%1,"black","pearl" -> Type=3027, Amount=%1, Price=280*%1, "Do you want to sell %A black pearls for %P gold?", Topic=2 @@ -67,6 +68,7 @@ VANISH,! -> "Good bye." "sell",%1,1<%1,"small","rub" -> Type=3030, Amount=%1, Price=250*%1, "Do you want to sell %A small rubies for %P gold?", Topic=2 "sell",%1,1<%1,"small","emerald" -> Type=3032, Amount=%1, Price=250*%1, "Do you want to sell %A small emeralds for %P gold?", Topic=2 "sell",%1,1<%1,"small","amethyst" -> Type=3033, Amount=%1, Price=200*%1, "Do you want to sell %A small amethysts for %P gold?", Topic=2 +"sell",%1,1<%1,"sabrehaven","talon" -> Type=5776, Amount=%1, Price=9000*%1, "What a rare! Do you want to sell %A Sabrehaven talons for %P gold?", Topic=2 Topic=1,"yes",CountMoney>=Price -> "Here you are.", DeleteMoney, Create(Type) Topic=1,"yes" -> "Come back, when you have enough money." diff --git a/data/npc/iwan.npc b/data/npc/iwan.npc index 944ecbb..2663fec 100644 --- a/data/npc/iwan.npc +++ b/data/npc/iwan.npc @@ -38,6 +38,7 @@ VANISH,! -> "Bye, bye." "gem" -> "You can buy and sell small diamonds, small sapphires, small rubies, small emeralds, and small amethysts." "pearl" -> "There are white and black pearls you can buy or sell." "jewel" -> "Currently you can purchase wedding rings, golden amulets, and ruby necklaces." +"sabrehaven","talon" -> "The Edron Academy is very interested in them, however the King doesn't want to invest that many money!" "wedding","ring" -> Type=3004, Amount=1, Price=990, "Do you want to buy a wedding ring for %P gold?", Topic=1 "golden","amulet" -> Type=3013, Amount=1, Price=6600, "Do you want to buy a golden amulet for %P gold?", Topic=1 @@ -68,6 +69,7 @@ VANISH,! -> "Bye, bye." "sell","small","ruby" -> Type=3030, Amount=1, Price=250, "Do you want to sell a small ruby for %P gold?", Topic=2 "sell","small","emerald" -> Type=3032, Amount=1, Price=250, "Do you want to sell a small emerald for %P gold?", Topic=2 "sell","small","amethyst" -> Type=3033, Amount=1, Price=200, "Do you want to sell a small amethyst for %P gold?", Topic=2 +"sell","sabrehaven","talon" -> Type=5776, Amount=1, Price=9000, "It is your lucky day! Do you want to sell a Sabrehaven talon for %P gold?", Topic=2 "sell",%1,1<%1,"white","pearl" -> Type=3026, Amount=%1, Price=160*%1, "Do you want to sell %A white pearls for %P gold?", Topic=2 "sell",%1,1<%1,"black","pearl" -> Type=3027, Amount=%1, Price=280*%1, "Do you want to sell %A black pearls for %P gold?", Topic=2 @@ -76,6 +78,7 @@ VANISH,! -> "Bye, bye." "sell",%1,1<%1,"small","rub" -> Type=3030, Amount=%1, Price=250*%1, "Do you want to sell %A small rubies for %P gold?", Topic=2 "sell",%1,1<%1,"small","emerald" -> Type=3032, Amount=%1, Price=250*%1, "Do you want to sell %A small emeralds for %P gold?", Topic=2 "sell",%1,1<%1,"small","amethyst" -> Type=3033, Amount=%1, Price=200*%1, "Do you want to sell %A small amethysts for %P gold?", Topic=2 +"sell",%1,1<%1,"sabrehaven","talon" -> Type=5776, Amount=%1, Price=9000*%1, "It is your lucky day! Do you want to sell %A Sabrehaven talons for %P gold?", Topic=2 Topic=1,"yes",CountMoney>=Price -> "Here you are.", DeleteMoney, Create(Type) Topic=1,"yes" -> "Come back, when you have enough money." diff --git a/data/npc/odemara.npc b/data/npc/odemara.npc index c6c6cea..79cfbec 100644 --- a/data/npc/odemara.npc +++ b/data/npc/odemara.npc @@ -50,6 +50,7 @@ VANISH,! -> "Farewell." "sell","small","ruby" -> Type=3030, Amount=1, Price=250, "Do you want to sell a small ruby for %P gold?", Topic=2 "sell","small","emerald" -> Type=3032, Amount=1, Price=250, "Do you want to sell a small emerald for %P gold?", Topic=2 "sell","small","amethyst" -> Type=3033, Amount=1, Price=200, "Do you want to sell a small amethyst for %P gold?", Topic=2 +"sell","sabrehaven","talon" -> Type=5776, Amount=1, Price=10000, "Oh dear! Do you want to sell a Sabrehaven talon for %P gold?", Topic=2 "sell",%1,1<%1,"white","pearl" -> Type=3026, Amount=%1, Price=160*%1, "Do you want to sell %A white pearls for %P gold?", Topic=2 "sell",%1,1<%1,"black","pearl" -> Type=3027, Amount=%1, Price=280*%1, "Do you want to sell %A black pearls for %P gold?", Topic=2 @@ -58,6 +59,7 @@ VANISH,! -> "Farewell." "sell",%1,1<%1,"small","rub" -> Type=3030, Amount=%1, Price=250*%1, "Do you want to sell %A small rubies for %P gold?", Topic=2 "sell",%1,1<%1,"small","emerald" -> Type=3032, Amount=%1, Price=250*%1, "Do you want to sell %A small emeralds for %P gold?", Topic=2 "sell",%1,1<%1,"small","amethyst" -> Type=3033, Amount=%1, Price=200*%1, "Do you want to sell %A small amethysts for %P gold?", Topic=2 +"sell",%1,1<%1,"sabrehaven","talon" -> Type=5776, Amount=%1, Price=10000*%1, "Oh dear! I haven't seen that many for so long! Do you want to sell %A Sabrehaven talons for %P gold?", Topic=2 Topic=1,"yes",CountMoney>=Price -> "Here you are.", DeleteMoney, Create(Type) Topic=1,"yes" -> "I am sorry, but you don't have enough money." diff --git a/data/npc/rachel.npc b/data/npc/rachel.npc index b9ac646..20e168d 100644 --- a/data/npc/rachel.npc +++ b/data/npc/rachel.npc @@ -46,7 +46,9 @@ VANISH,! -> "These impatient young brats!" %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=3 "sell","talon" -> Type=3034, Amount=1, Price=320, "Do you want to sell one of the magic gems called talon for %P gold?", Topic=6 +"sell","sabrehaven","talon" -> Type=5776, Amount=1, Price=10500, "Oh my! I could counter offer Edron Academy for this rare! Do you want to sell one of the magic Sabrehaven gems for %P gold?", Topic=6 "sell",%1,1<%1,"talon" -> Type=3034, Amount=%1, Price=320*%1, "Do you want to sell %A magic gems called talon for %P gold?", Topic=6 +"sell",%1,1<%1,"sabrehaven","talon" -> Type=5776, Amount=%1, Price=10500*%1, "Oh my! I could counter offer Edron Academy for this rare! Do you want to sell %A magic Sabrehaven gems for %P gold?", Topic=6 Topic=1,"yes" -> "I thought so, what do you want?" Topic=1,"no" -> "First lesson: DON'T LIE TO RACHEL!", Burning(10,4), EffectMe(15), EffectOpp(16) diff --git a/data/npc/tezila.npc b/data/npc/tezila.npc index 1a4214f..7588ce1 100644 --- a/data/npc/tezila.npc +++ b/data/npc/tezila.npc @@ -29,6 +29,7 @@ VANISH,! -> "Good bye." "pearl" -> "I have white and black pearls you can buy, but you can also sell me some." "jewel" -> "You can purchase our fine dwarfish wares like wedding rings, golden amulets, and ruby necklaces." "talon" -> "I am suspicious of these magic gems. Better you ask some mages about this." +"sabrehaven","talon" -> "I am more interested in buying them instead of selling." "wedding","ring" -> Type=3004, Amount=1, Price=990, "Do you want to buy a wedding ring for %P gold?", Topic=1 "golden","amulet" -> Type=3013, Amount=1, Price=6600, "Do you want to buy a golden amulet for %P gold?", Topic=1 @@ -59,6 +60,7 @@ VANISH,! -> "Good bye." "sell","small","ruby" -> Type=3030, Amount=1, Price=250, "Do you want to sell a small ruby for %P gold?", Topic=2 "sell","small","emerald" -> Type=3032, Amount=1, Price=250, "Do you want to sell a small emerald for %P gold?", Topic=2 "sell","small","amethyst" -> Type=3033, Amount=1, Price=200, "Do you want to sell a small amethyst for %P gold?", Topic=2 +"sell","sabrehaven","talon" -> Type=5776, Amount=1, Price=1000, "Oh, I have plenty of them in my warehouse. However, do you want to sell a Sabrehaven talon for %P gold?", Topic=2 "sell",%1,1<%1,"white","pearl" -> Type=3026, Amount=%1, Price=160*%1, "Do you want to sell %A white pearls for %P gold?", Topic=2 "sell",%1,1<%1,"black","pearl" -> Type=3027, Amount=%1, Price=280*%1, "Do you want to sell %A black pearls for %P gold?", Topic=2 @@ -67,6 +69,7 @@ VANISH,! -> "Good bye." "sell",%1,1<%1,"small","rub" -> Type=3030, Amount=%1, Price=250*%1, "Do you want to sell %A small rubies for %P gold?", Topic=2 "sell",%1,1<%1,"small","emerald" -> Type=3032, Amount=%1, Price=250*%1, "Do you want to sell %A small emeralds for %P gold?", Topic=2 "sell",%1,1<%1,"small","amethyst" -> Type=3033, Amount=%1, Price=200*%1, "Do you want to sell %A small amethysts for %P gold?", Topic=2 +"sell",%1,1<%1,"sabrehaven","talon" -> Type=5776, Amount=%1, Price=1000*%1, "Oh, I have plenty of them in my warehouse. However, do you want to sell %A Sabrehaven talons for %P gold?", Topic=2 Topic=1,"yes",CountMoney>=Price -> "Here you are.", DeleteMoney, Create(Type) Topic=1,"yes" -> "Come back, when you have enough money." diff --git a/data/npc/zoltan.npc b/data/npc/zoltan.npc index a7ee6bf..f34db3f 100644 --- a/data/npc/zoltan.npc +++ b/data/npc/zoltan.npc @@ -31,6 +31,7 @@ VANISH,! -> "Use your knowledge wisely." "rumors" -> * "eremo" -> "He is an old and wise man that has seen a lot of Tibia. He is also one of the best magicians. Visit him on his little island." "visit" -> "You should visit Eremo on his little island. Just ask Pemaret on Cormaya for passage." +"sabrehaven","talon" -> "We know not much yet. However, we are afraid for the variety of horrible ways of how they could be used." "yenny","gentle" -> "Ah, Yenny the Gentle was one of the founders of the druid order called Crunor's Caress, that has been originated in her hometown Carlin." "yenny" -> "Yenny? Which Yenny? That is a common name."