From b65a56bc97aafa2edb677e52afae63c605d84764 Mon Sep 17 00:00:00 2001 From: ErikasKontenis Date: Sun, 5 Jul 2020 17:01:16 +0300 Subject: [PATCH] power bolts buyable through npcs --- data/npc/dario.npc | 2 ++ data/npc/edoch.npc | 2 ++ data/npc/galuna.npc | 2 ++ data/npc/gen-t-distance-s.ndb | 2 ++ data/npc/irea.npc | 2 ++ data/npc/killing-tasks.ndb | 46 ++++++++++++++++------------------- data/npc/perac.npc | 2 ++ data/npc/perod.npc | 2 ++ data/npc/talphion.npc | 2 ++ data/npc/timur.npc | 2 ++ data/npc/willard.npc | 2 ++ data/npc/xed.npc | 2 ++ 12 files changed, 43 insertions(+), 25 deletions(-) diff --git a/data/npc/dario.npc b/data/npc/dario.npc index 996fc3f..184498c 100644 --- a/data/npc/dario.npc +++ b/data/npc/dario.npc @@ -124,11 +124,13 @@ Topic=3 -> "Maybe next time." "crossbow" -> Type=3349, Amount=1, Price=500, "Do you want to buy a crossbow for %P gold?", Topic=4 "arrow" -> Type=3447, Amount=1, Price=2, "Do you want to buy an arrow for %P gold?", Topic=4 "bolt" -> Type=3446, Amount=1, Price=3, "Do you want to buy a bolt for %P gold?", Topic=4 +"power","bolt" -> Type=3450, Amount=1, Price=6, "Do you want to buy a power bolt for %P gold?", Topic=4 %1,1<%1,"bow" -> Type=3350, Amount=%1, Price=400*%1, "Do you want to buy %A bows for %P gold?", Topic=4 %1,1<%1,"crossbow" -> Type=3349, Amount=%1, Price=500*%1, "Do you want to buy %A crossbows for %P gold?", Topic=4 %1,1<%1,"arrow" -> Type=3447, Amount=%1, Price=2*%1, "Do you want to buy %A arrows for %P gold?", Topic=4 %1,1<%1,"bolt" -> Type=3446, Amount=%1, Price=3*%1, "Do you want to buy %A bolts for %P gold?", Topic=4 +%1,1<%1,"power","bolt" -> Type=3450, Amount=%1, Price=6*%1, "Do you want to buy %A power bolts for %P gold?", Topic=4 Topic=4,"yes",CountMoney>=Price -> "Here you are.", DeleteMoney, Create(Type) Topic=4,"yes" -> "Come back, when you have enough money." diff --git a/data/npc/edoch.npc b/data/npc/edoch.npc index 4b93664..0542395 100644 --- a/data/npc/edoch.npc +++ b/data/npc/edoch.npc @@ -36,11 +36,13 @@ VANISH,! -> "Daraman's blessings, traveller." "crossbow" -> Type=3349, Amount=1, Price=500, "Do you want to buy a crossbow for %P gold?", Topic=1 "arrow" -> Type=3447, Amount=1, Price=2, "Do you want to buy an arrow for %P gold?", Topic=1 "bolt" -> Type=3446, Amount=1, Price=3, "Do you want to buy a bolt for %P gold?", Topic=1 +"power","bolt" -> Type=3450, Amount=1, Price=6, "Do you want to buy a power bolt for %P gold?", Topic=1 %1,1<%1,"bow" -> Type=3350, Amount=%1, Price=400*%1, "Do you want to buy %A bows for %P gold?", Topic=1 %1,1<%1,"crossbow" -> Type=3349, Amount=%1, Price=500*%1, "Do you want to buy %A crossbows for %P gold?", Topic=1 %1,1<%1,"arrow" -> Type=3447, Amount=%1, Price=2*%1, "Do you want to buy %A arrows for %P gold?", Topic=1 %1,1<%1,"bolt" -> Type=3446, Amount=%1, Price=3*%1, "Do you want to buy %A bolts for %P gold?", Topic=1 +%1,1<%1,"power","bolt" -> Type=3450, Amount=%1, Price=6*%1, "Do you want to buy %A power bolts for %P gold?", Topic=1 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/galuna.npc b/data/npc/galuna.npc index 19b7c08..0070b3e 100644 --- a/data/npc/galuna.npc +++ b/data/npc/galuna.npc @@ -45,11 +45,13 @@ VANISH,! -> "Good bye." "crossbow" -> Type=3349, Amount=1, Price=500, "Do you want to buy a crossbow for %P gold?", Topic=1 "arrow" -> Type=3447, Amount=1, Price=2, "Do you want to buy an arrow for %P gold?", Topic=1 "bolt" -> Type=3446, Amount=1, Price=3, "Do you want to buy a bolt for %P gold?", Topic=1 +"power","bolt" -> Type=3450, Amount=1, Price=6, "Do you want to buy a power bolt for %P gold?", Topic=1 %1,1<%1,"bow" -> Type=3350, Amount=%1, Price=400*%1, "Do you want to buy %A bows for %P gold?", Topic=1 %1,1<%1,"crossbow" -> Type=3349, Amount=%1, Price=500*%1, "Do you want to buy %A crossbows for %P gold?", Topic=1 %1,1<%1,"arrow" -> Type=3447, Amount=%1, Price=2*%1, "Do you want to buy %A arrows for %P gold?", Topic=1 %1,1<%1,"bolt" -> Type=3446, Amount=%1, Price=3*%1, "Do you want to buy %A bolts for %P gold?", Topic=1 +%1,1<%1,"power","bolt" -> Type=3450, Amount=%1, Price=6*%1, "Do you want to buy %A power bolts for %P gold?", Topic=1 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/gen-t-distance-s.ndb b/data/npc/gen-t-distance-s.ndb index 2d31890..c311a40 100644 --- a/data/npc/gen-t-distance-s.ndb +++ b/data/npc/gen-t-distance-s.ndb @@ -17,8 +17,10 @@ "crossbow" -> Type=3349, Amount=1, Price=500, "Do you want to buy a crossbow for %P gold?", Topic=34 "arrow" -> Type=3447, Amount=10, Price=20, "Do you want to buy %A arrows for %P gold?", Topic=34 "bolt" -> Type=3446, Amount=10, Price=30, "Do you want to buy %A bolts for %P gold?", Topic=34 +"power","bolt" -> Type=3450, Amount=1, Price=6, "Do you want to buy a power bolt for %P gold?", Topic=34 %1,0<%1,"arrow" -> Type=3447, Amount=%1, Price=2*%1, "Do you want to buy %A arrows for %P gold?", Topic=34 %1,0<%1,"bolt" -> Type=3446, Amount=%1, Price=3*%1, "Do you want to buy %A bolts for %P gold?", Topic=34 +%1,1<%1,"power","bolt" -> Type=3450, Amount=%1, Price=6*%1, "Do you want to buy %A power bolts for %P gold?", Topic=34 Topic=34,"yes",CountMoney>=Price -> "Here you are.", DeleteMoney, Create(Type) Topic=34,"yes" -> "Come back, when you have enough money." diff --git a/data/npc/irea.npc b/data/npc/irea.npc index d504f66..c5d3a0e 100644 --- a/data/npc/irea.npc +++ b/data/npc/irea.npc @@ -60,11 +60,13 @@ Paladin,"explosive","arrow" -> String="Explosive Arrow", Price=1000, "Do you wa "crossbow" -> Type=3349, Amount=1, Price=450, "Do you want to buy a crossbow for %P gold?", Topic=1 "arrow" -> Type=3447, Amount=1, Price=2, "Do you want to buy an arrow for %P gold?", Topic=1 "bolt" -> Type=3446, Amount=1, Price=3, "Do you want to buy a bolt for %P gold?", Topic=1 +"power","bolt" -> Type=3450, Amount=1, Price=6, "Do you want to buy a power bolt for %P gold?", Topic=1 %1,1<%1,"bow" -> Type=3350, Amount=%1, Price=350*%1, "Do you want to buy %A bows for %P gold?", Topic=1 %1,1<%1,"crossbow" -> Type=3349, Amount=%1, Price=450*%1, "Do you want to buy %A crossbows for %P gold?", Topic=1 %1,1<%1,"arrow" -> Type=3447, Amount=%1, Price=2*%1, "Do you want to buy %A arrows for %P gold?", Topic=1 %1,1<%1,"bolt" -> Type=3446, Amount=%1, Price=3*%1, "Do you want to buy %A bolts for %P gold?", Topic=1 +%1,1<%1,"power","bolt" -> Type=3450, Amount=%1, Price=6*%1, "Do you want to buy %A power bolts for %P gold?", Topic=1 Topic=1,"yes",CountMoney>=Price -> "And here it is.", DeleteMoney, Create(Type) Topic=1,"yes" -> "Hey, you do not have enough gold." diff --git a/data/npc/killing-tasks.ndb b/data/npc/killing-tasks.ndb index 92fd600..3bd5606 100644 --- a/data/npc/killing-tasks.ndb +++ b/data/npc/killing-tasks.ndb @@ -68,13 +68,14 @@ Topic=1 -> "Maybe next time." "task",QuestValue(17704)=100 -> Data=2, Amount=60*QuestValue(17704)*ExperienceStage(49)*40/100, Price=7000, "Spiffing work, old chap. What would you like to get for reward: %A EXP or %P gold?", Topic=4 # Level 50-79 -"task",QuestValue(17607)=1,QuestValue(17608)=0,level>49,level<80 -> "Alright, what would you like to hunt? Medium class orcs, high class minotaurs, lizards, high class dwarfs, medium undeads, quara scouts, ancient scarabs, wyverns, bonebeasts or dragons.", Topic=5 -Topic=5,"quara" -> Amount=17616, "The scouts can be found on Malada, one of the Shattered Isles. Your task is to kill 200 quara scouts. I accept quara constrictor scouts, quara hydromancer scouts, quara mantassin scouts, quara pincher scouts and quara predator scouts, are you in?", Topic=2 +"available","task",QuestValue(17607)=1,QuestValue(17608)=0,level>49 -> "You can hunt: Medium class orcs, high class minotaurs, lizards, high class dwarfs, medium undeads, quara scouts, ancient scarabs, wyverns, bonebeasts or dragons. ...", "High class orcs, hero, necromancers, underwater quara, giant spiders, banshees, lichs or cults. ...", "Nightmare, hydras, serpent spawns, behemoths, dragon lords, warlocks, hand of cursed fates, juggernauts, demons." +"task",QuestValue(17607)=1,QuestValue(17608)=0,level>49 -> "Alright, what would you like to hunt? If you have no idea yet I can tell you which available tasks are for you.", Topic=5 +Topic=5,"quara","scout" -> Amount=17616, "The scouts can be found on Malada, one of the Shattered Isles. Your task is to kill 200 quara scouts. I accept quara constrictor scouts, quara hydromancer scouts, quara mantassin scouts, quara pincher scouts and quara predator scouts, are you in?", Topic=2 Topic=5,"scarab" -> Amount=17617, "They can be found in tombs beneath the desert around Ankrahmun. Hunt 125 of them. Interested?", Topic=2 Topic=5,"wyvern" -> Amount=17618, "They can be found all over Tibia. Hunt 100 wyverns. Interested?", Topic=2 Topic=5,"bonebeast" -> Amount=17619, "They can be found all over Tibia. Hunt 100 bonebeasts. Interested?", Topic=2 Topic=5,"dragon" -> Amount=17620, "They can be found all over Tibia. Hunt 200 dragons. Interested?", Topic=2 -Topic=5,"orc" -> Amount=17712, "They can be found all over Tibia. Hunt 300 of them. Interested?", Topic=2 +Topic=5,"medium","orc" -> Amount=17712, "They can be found all over Tibia. Hunt 300 of them. Interested?", Topic=2 Topic=5,"minotaur" -> Amount=17713, "They can be found all over Tibia. Hunt 300 of them. Interested?", Topic=2 Topic=5,"lizard" -> Amount=17714, "They can be found all over Tibia. Hunt 300 of them. Interested?", Topic=2 Topic=5,"dwarf" -> Amount=17715, "They can be found all over Tibia. Hunt 300 of them. Interested?", Topic=2 @@ -91,16 +92,14 @@ Topic=5,"undead" -> Amount=17716, "They can be found all over Tibia. Hunt 200 of "task",QuestValue(17715)=300 -> Data=2, Amount=166*QuestValue(17715)*ExperienceStage(79)*35/100, Price=21000, "Spiffing work, old chap. What would you like to get for reward: %A EXP or %P gold?", Topic=4 "task",QuestValue(17716)=200 -> Data=2, Amount=221*QuestValue(17716)*ExperienceStage(79)*35/100, Price=20000, "Spiffing work, old chap. What would you like to get for reward: %A EXP or %P gold?", Topic=4 -# Level 80-129 -"task",QuestValue(17607)=1,QuestValue(17608)=0,level>79,level<130 -> "Alright, what would you like to hunt? High class orcs, hero, necromancers, underwater quara, giant spiders, banshees, lichs or cults.", Topic=6 -Topic=6,"quara" -> Amount=17621, "As you wish. Seek out a quara settlement and hunt 600 quara, it doesn't matter which type you hunt except scouts. Alright?", Topic=2 -Topic=6,"spider" -> Amount=17622, "Never liked spiders. Simply too many legs. And I always find them in my bath! Those nasty creepy-crawlies are a threat to the hygiene of every living being in Tibia. Hunt 500 of them. Okay?", Topic=2 -Topic=6,"banshee" -> Amount=17623, "The Banshee is an undead creature of sheer terror. There is several places where you can hunt them. Hunt 300 of them. Okay?", Topic=2 -Topic=6,"lich" -> Amount=17624, "Lich hell. Ugh, to become a Lich is the ultimate goal of all those who follow the dark path of necromancy. Hunt 500 of them. Alright?", Topic=2 -Topic=6,"cult" -> Amount=17625, "I hate those strange cult fanatics. Hunt 500 of any cult follower. Alright?", Topic=2 -Topic=6,"orc" -> Amount=17717, "They can be found all over Tibia. Hunt 125 of them. Interested?", Topic=2 -Topic=6,"hero" -> Amount=17718, "They can be found all over Tibia. Hunt 150 of them. Interested?", Topic=2 -Topic=6,"necromancer" -> Amount=17719, "They can be found all over Tibia. Hunt 300 of them. Interested?", Topic=2 +Topic=5,"quara" -> Amount=17621, "As you wish. Seek out a quara settlement and hunt 600 quara, it doesn't matter which type you hunt except scouts. Alright?", Topic=2 +Topic=5,"spider" -> Amount=17622, "Never liked spiders. Simply too many legs. And I always find them in my bath! Those nasty creepy-crawlies are a threat to the hygiene of every living being in Tibia. Hunt 500 of them. Okay?", Topic=2 +Topic=5,"banshee" -> Amount=17623, "The Banshee is an undead creature of sheer terror. There is several places where you can hunt them. Hunt 300 of them. Okay?", Topic=2 +Topic=5,"lich" -> Amount=17624, "Lich hell. Ugh, to become a Lich is the ultimate goal of all those who follow the dark path of necromancy. Hunt 500 of them. Alright?", Topic=2 +Topic=5,"cult" -> Amount=17625, "I hate those strange cult fanatics. Hunt 500 of any cult follower. Alright?", Topic=2 +Topic=5,"high","orc" -> Amount=17717, "They can be found all over Tibia. Hunt 125 of them. Interested?", Topic=2 +Topic=5,"hero" -> Amount=17718, "They can be found all over Tibia. Hunt 150 of them. Interested?", Topic=2 +Topic=5,"necromancer" -> Amount=17719, "They can be found all over Tibia. Hunt 300 of them. Interested?", Topic=2 "task",QuestValue(17621)=600 -> Data=4, Amount=850*QuestValue(17621)*ExperienceStage(129)*30/100, Price=50000, "Spiffing work, old chap. What would you like to get for reward: %A EXP or %P gold?", Topic=4 "task",QuestValue(17622)=500 -> Data=3, Amount=900*QuestValue(17622)*ExperienceStage(129)*30/100, Price=60000, "Spiffing work, old chap. What would you like to get for reward: %A EXP or %P gold?", Topic=4 @@ -111,18 +110,15 @@ Topic=6,"necromancer" -> Amount=17719, "They can be found all over Tibia. Hunt 3 "task",QuestValue(17718)=150 -> Data=2, Amount=1200*QuestValue(17718)*ExperienceStage(129)*30/100, Price=35000, "Spiffing work, old chap. What would you like to get for reward: %A EXP or %P gold?", Topic=4 "task",QuestValue(17719)=300 -> Data=2, Amount=500*QuestValue(17719)*ExperienceStage(129)*30/100, Price=35000, "Spiffing work, old chap. What would you like to get for reward: %A EXP or %P gold?", Topic=4 -# Level 130+ -"task",QuestValue(17607)=1,QuestValue(17608)=0,level>129 -> "Alright, what would you like to hunt? Hydras, serpent spawns, behemoths, dragon lords, hand of cursed fates, juggernauts.", Topic=7 -Topic=7,"hydra" -> Amount=17626, "The hydras are located in the eastern jungle of Tiquanda and there are several mountain caves that are inhabited by them. Your task is to hunt a mere 650 hydras. Are you willing to do that?", Topic=2 -Topic=7,"serpent" -> Amount=17627, "Very dangerous, nasty and slimy creatures. They live deep in the old ruins of Banuta. I think a mere 800 serpent spawns should do the trick. What do you say?", Topic=2 -Topic=7,"behemoth" -> Amount=17628, "Behemoths must be kept away from the settlements at all costs. You'll find them east of here in the taboo-area or under Cyclopolis in Edron. Go there and hunt a few of them - shall we say... 700? Are you up for that?", Topic=2 -Topic=7,"dragon" -> Amount=17629, "They can be found all over Tibia. Hunt 600 dragon lords. Interested?", Topic=2 -Topic=7,"hand" -> Amount=17630, "Those creatures are annoying and obviously lacking a head. Hunt 200 of them. Interested?", Topic=2 -Topic=7,"juggernaut" -> Amount=17631, "Juggernauts are known to be able to slash the head of a dragon with one hit. Hunt 200 of them. Interested?", Topic=2 - -Topic=7,"nightmare" -> Amount=17720, "They can be found all over Tibia. Hunt 150 nightmares. Interested?", Topic=2 -Topic=7,"warlock" -> Amount=17721, "They can be found all over Tibia. Hunt 300 warlocks. Interested?", Topic=2 -Topic=7,"demon" -> Amount=17722, "Oh, this one is crazy task. Hunt 6666 demons. Interested?", Topic=2 +Topic=5,"hydra" -> Amount=17626, "The hydras are located in the eastern jungle of Tiquanda and there are several mountain caves that are inhabited by them. Your task is to hunt a mere 650 hydras. Are you willing to do that?", Topic=2 +Topic=5,"serpent" -> Amount=17627, "Very dangerous, nasty and slimy creatures. They live deep in the old ruins of Banuta. I think a mere 800 serpent spawns should do the trick. What do you say?", Topic=2 +Topic=5,"behemoth" -> Amount=17628, "Behemoths must be kept away from the settlements at all costs. You'll find them east of here in the taboo-area or under Cyclopolis in Edron. Go there and hunt a few of them - shall we say... 700? Are you up for that?", Topic=2 +Topic=5,"dragon","lord" -> Amount=17629, "They can be found all over Tibia. Hunt 600 dragon lords. Interested?", Topic=2 +Topic=5,"hand" -> Amount=17630, "Those creatures are annoying and obviously lacking a head. Hunt 200 of them. Interested?", Topic=2 +Topic=5,"juggernaut" -> Amount=17631, "Juggernauts are known to be able to slash the head of a dragon with one hit. Hunt 200 of them. Interested?", Topic=2 +Topic=5,"nightmare" -> Amount=17720, "They can be found all over Tibia. Hunt 150 nightmares. Interested?", Topic=2 +Topic=5,"warlock" -> Amount=17721, "They can be found all over Tibia. Hunt 300 warlocks. Interested?", Topic=2 +Topic=5,"demon" -> Amount=17722, "Oh, this one is crazy task. Hunt 6666 demons. Interested?", Topic=2 "task",QuestValue(17626)=650 -> Data=4, Amount=2100*QuestValue(17626)*ExperienceStage(130)*25/100, Price=100000, "Spiffing work, old chap. What would you like to get for reward: %A EXP or %P gold?", Topic=4 "task",QuestValue(17627)=800 -> Data=5, Amount=2000*QuestValue(17627)*ExperienceStage(130)*25/100, Price=120000, "Spiffing work, old chap. What would you like to get for reward: %A EXP or %P gold?", Topic=4 diff --git a/data/npc/perac.npc b/data/npc/perac.npc index 1664ad7..3bbd956 100644 --- a/data/npc/perac.npc +++ b/data/npc/perac.npc @@ -28,11 +28,13 @@ VANISH,! -> "Good bye." "crossbow" -> Type=3349, Amount=1, Price=500, "Do you want to buy a crossbow for %P gold?", Topic=1 "arrow" -> Type=3447, Amount=1, Price=2, "Do you want to buy an arrow for %P gold?", Topic=1 "bolt" -> Type=3446, Amount=1, Price=3, "Do you want to buy a bolt for %P gold?", Topic=1 +"power","bolt" -> Type=3450, Amount=1, Price=6, "Do you want to buy a power bolt for %P gold?", Topic=1 %1,1<%1,"bow" -> Type=3350, Amount=%1, Price=400*%1, "Do you want to buy %A bows for %P gold?", Topic=1 %1,1<%1,"crossbow" -> Type=3349, Amount=%1, Price=500*%1, "Do you want to buy %A crossbows for %P gold?", Topic=1 %1,1<%1,"arrow" -> Type=3447, Amount=%1, Price=2*%1, "Do you want to buy %A arrows for %P gold?", Topic=1 %1,1<%1,"bolt" -> Type=3446, Amount=%1, Price=3*%1, "Do you want to buy %A bolts for %P gold?", Topic=1 +%1,1<%1,"power","bolt" -> Type=3450, Amount=%1, Price=6*%1, "Do you want to buy %A power bolts for %P gold?", Topic=1 "buy" -> "I am selling bows, crossbows, and ammunition. Do you need anything?" "do","you","sell" -> * diff --git a/data/npc/perod.npc b/data/npc/perod.npc index 853b8b6..4cfee9e 100644 --- a/data/npc/perod.npc +++ b/data/npc/perod.npc @@ -132,11 +132,13 @@ Topic=1 -> "Hmm, but next time." "crossbow" -> Type=3349, Amount=1, Price=500, "Do you want to buy a crossbow for %P gold?", Topic=2 "arrow" -> Type=3447, Amount=1, Price=2, "Do you want to buy an arrow for %P gold?", Topic=2 "bolt" -> Type=3446, Amount=1, Price=3, "Do you want to buy a bolt for %P gold?", Topic=2 +"power","bolt" -> Type=3450, Amount=1, Price=6, "Do you want to buy a power bolt for %P gold?", Topic=2 %1,1<%1,"bow" -> Type=3350, Amount=%1, Price=400*%1, "Do you want to buy %A bows for %P gold?", Topic=2 %1,1<%1,"crossbow" -> Type=3349, Amount=%1, Price=500*%1, "Do you want to buy %A crossbows for %P gold?", Topic=2 %1,1<%1,"arrow" -> Type=3447, Amount=%1, Price=2*%1, "Do you want to buy %A arrows for %P gold?", Topic=2 %1,1<%1,"bolt" -> Type=3446, Amount=%1, Price=3*%1, "Do you want to buy %A bolts for %P gold?", Topic=2 +%1,1<%1,"power","bolt" -> Type=3450, Amount=%1, Price=6*%1, "Do you want to buy %A power bolts for %P gold?", Topic=2 Topic=2,"yes",CountMoney>=Price -> "Here you are.", DeleteMoney, Create(Type) Topic=2,"yes" -> "Come back when you have enough money." diff --git a/data/npc/talphion.npc b/data/npc/talphion.npc index 79a4d1e..d1c08b6 100644 --- a/data/npc/talphion.npc +++ b/data/npc/talphion.npc @@ -55,9 +55,11 @@ topic=4,"kazordoon" -> "OH, THE CITY? NICE, ISN'T IT?" "crossbow" -> Type=3349, Amount=1, Price=1150, "DO YOU WANT TO BUY A CROSSBOW FOR %P GOLD?", Topic=5 "bolt" -> Type=3446, Amount=1, Price=5, "DO YOU WANT TO BUY A BOLT FOR %P GOLD?", Topic=5 +"power","bolt" -> Type=3450, Amount=1, Price=12, "Do you want to buy a power bolt for %P gold?", Topic=5 %1,1<%1,"bolt" -> Type=3446, Amount=%1, Price=5*%1, "DO YOU WANT TO BUY %A BOLTS FOR %P GOLD?", Topic=5 %1,1<%1,"crossbow" -> Type=3349, Amount=%1, Price=1150*%1, "DO YOU WANT TO BUY %A CROSSBOWS FOR %P GOLD?", Topic=5 +%1,1<%1,"power","bolt" -> Type=3450, Amount=%1, Price=12*%1, "Do you want to buy %A power bolts for %P gold?", Topic=5 Topic=5,"yes",CountMoney>=Price -> "HERE YOU ARE.", DeleteMoney, Create(Type) Topic=5,"yes" -> "NOT ENOUGH MONEY. SORRY." diff --git a/data/npc/timur.npc b/data/npc/timur.npc index 9c0fde0..cfa915d 100644 --- a/data/npc/timur.npc +++ b/data/npc/timur.npc @@ -50,6 +50,7 @@ VANISH,! -> "Bye, bye." "rod" -> Type=3483, Amount=1, Price=170, "Do you want to buy a fishing rod for %P gold?", Topic=1 "arrow" -> Type=3447, Amount=1, Price=3, "Do you want to buy an arrow for %P gold?", Topic=1 "bolt" -> Type=3446, Amount=1, Price=4, "Do you want to buy a bolt for %P gold?", Topic=1 +"power","bolt" -> Type=3450, Amount=1, Price=6, "Do you want to buy a power bolt for %P gold?", Topic=1 "viking","helmet" -> Type=3367, Amount=1, Price=265, "Do you want to buy a viking helmet for %P gold?", Topic=1 %1,1<%1,"torch" -> Type=2920, Amount=%1, Price=3*%1, "Do you want to buy %A torches for %P gold?", Topic=1 @@ -60,6 +61,7 @@ VANISH,! -> "Bye, bye." %1,1<%1,"rod" -> Type=3483, Amount=%1, Price=170*%1, "Do you want to buy %A fishing rods for %P gold?", Topic=1 %1,1<%1,"arrow" -> Type=3447, Amount=%1, Price=3*%1, "Do you want to buy %A arrows for %P gold?", Topic=1 %1,1<%1,"bolt" -> Type=3446, Amount=%1, Price=4*%1, "Do you want to buy %A bolts for %P gold?", Topic=1 +%1,1<%1,"power","bolt" -> Type=3450, Amount=%1, Price=6*%1, "Do you want to buy %A power bolts for %P gold?", Topic=1 %1,1<%1,"viking","helmet" -> Type=3367, Amount=%1, Price=265*%1, "Do you want to buy %A viking helmets 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?" diff --git a/data/npc/willard.npc b/data/npc/willard.npc index f07eb39..2e3c6ce 100644 --- a/data/npc/willard.npc +++ b/data/npc/willard.npc @@ -58,6 +58,7 @@ VANISH,! -> "Farewell." "crossbow" -> Type=3349, Amount=1, Price=500, "Do you want to buy a crossbow for %P gold?", Topic=1 "arrow" -> Type=3447, Amount=1, Price=2, "Do you want to buy an arrow for %P gold?", Topic=1 "bolt" -> Type=3446, Amount=1, Price=3, "Do you want to buy a bolt for %P gold?", Topic=1 +"power","bolt" -> Type=3450, Amount=1, Price=6, "Do you want to buy a power bolt for %P gold?", Topic=1 "throwing","star" -> Type=3287, Amount=1, Price=50, "Do you want to buy a throwing star for %P gold?", Topic=1 @@ -76,6 +77,7 @@ VANISH,! -> "Farewell." %1,1<%1,"crossbow" -> Type=3349, Amount=%1, Price=500*%1, "Do you want to buy %A crossbows for %P gold?", Topic=1 %1,1<%1,"arrow" -> Type=3447, Amount=%1, Price=2*%1, "Do you want to buy %A arrows for %P gold?", Topic=1 %1,1<%1,"bolt" -> Type=3446, Amount=%1, Price=3*%1, "Do you want to buy %A bolts for %P gold?", Topic=1 +%1,1<%1,"power","bolt" -> Type=3450, Amount=%1, Price=6*%1, "Do you want to buy %A power bolts for %P gold?", Topic=1 %1,1<%1,"throwing","star" -> Type=3287, Amount=%1, Price=50*%1, "Do you want to buy %A throwing stars for %P gold?", Topic=1 "chain","armor" -> Type=3358, Amount=1, Price=200, "Do you want to buy a chain armor for %P gold?", Topic=1 diff --git a/data/npc/xed.npc b/data/npc/xed.npc index 7e70c7b..42ab174 100644 --- a/data/npc/xed.npc +++ b/data/npc/xed.npc @@ -53,11 +53,13 @@ VANISH,! -> "Goodbye, and may the gods be with you." "crossbow" -> Type=3349, Amount=1, Price=500, "Do you want to buy a crossbow for %P gold?", Topic=1 "arrow" -> Type=3447, Amount=1, Price=2, "Do you want to buy an arrows for %P gold?", Topic=1 "bolt" -> Type=3446, Amount=1, Price=3, "Do you want to buy a bolts for %P gold?", Topic=1 +"power","bolt" -> Type=3450, Amount=1, Price=6, "Do you want to buy a power bolt for %P gold?", Topic=1 %1,1<%1,"bow" -> Type=3350, Amount=%1, Price=400*%1, "Do you want to buy %A bows for %P gold?", Topic=1 %1,1<%1,"crossbow" -> Type=3349, Amount=%1, Price=500*%1, "Do you want to buy %A crossbows for %P gold?", Topic=1 %1,1<%1,"arrow" -> Type=3447, Amount=%1, Price=2*%1, "Do you want to buy %A arrows for %P gold?", Topic=1 %1,1<%1,"bolt" -> Type=3446, Amount=%1, Price=3*%1, "Do you want to buy %A bolts for %P gold?", Topic=1 +%1,1<%1,"power","bolt" -> Type=3450, Amount=%1, Price=6*%1, "Do you want to buy %A power bolts for %P gold?", Topic=1 Topic=1,"yes",CountMoney>=Price -> "Here you are.", DeleteMoney, Create(Type) Topic=1,"yes" -> "Come back, when you have enough money."