Skip to content
This repository has been archived by the owner on May 20, 2023. It is now read-only.

Commit

Permalink
[NPC's Revscriptsys] - Fixed the bug in the shops of npcs that have t…
Browse files Browse the repository at this point in the history
…he same item for sell and buy (#423)

The way the shop was converted doesn't work to have two tables separating the "sell" and the "buy", it needs to be in a single table, thus preventing the same item from appearing in the sell and not appearing in the buy.
I took advantage of the pull request to move the functions to the correct locations, thus getting more organized.
Fixed others bugs related to the npcs
  • Loading branch information
dudantas authored Feb 13, 2022
1 parent a29bc41 commit c1eb738
Show file tree
Hide file tree
Showing 293 changed files with 2,567 additions and 4,477 deletions.
2 changes: 1 addition & 1 deletion data/npclua/a_sleeping_dragon.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ npcConfig.walkInterval = 0
npcConfig.walkRadius = 2

npcConfig.outfit = {
lookTypeEx = 11402
lookTypeEx = 168
}

npcConfig.flags = {
Expand Down
35 changes: 13 additions & 22 deletions data/npclua/ahmet.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,44 +23,35 @@ npcConfig.flags = {
floorchange = false
}
npcConfig.shop = { -- Sellable items
{ itemName = "closed trap", clientId = 3481, sell = 75 },
{ itemName = "crowbar", clientId = 3304, sell = 50 },
{ itemName = "fishing rod", clientId = 3483, sell = 40 },
{ itemName = "machete", clientId = 3308, sell = 6 },
{ itemName = "pick", clientId = 3456, sell = 15 },
{ itemName = "rope", clientId = 3003, sell = 15 },
{ itemName = "scythe", clientId = 3453, sell = 10 },
{ itemName = "shovel", clientId = 3457, sell = 8 },
{ itemName = "watch", clientId = 2906, sell = 6 },
{ itemName = "wooden hammer", clientId = 3459, sell = 15 }, -- Buyable items
{ itemName = "basket", clientId = 2855, buy = 6 },
{ itemName = "bottle", clientId = 2875, buy = 3, count = 0 },
{ itemName = "bucket", clientId = 2873, buy = 4, count = 0 },
{ itemName = "bottle", clientId = 2875, buy = 3 },
{ itemName = "bucket", clientId = 2873, buy = 4 },
{ itemName = "candelabrum", clientId = 2912, buy = 8 },
{ itemName = "candlestick", clientId = 2917, buy = 2 },
{ itemName = "closed trap", clientId = 3481, buy = 280 },
{ itemName = "crowbar", clientId = 3304, buy = 260 },
{ itemName = "cup", clientId = 2881, buy = 2, count = 0 },
{ itemName = "closed trap", clientId = 3481, buy = 280, sell = 75 },
{ itemName = "crowbar", clientId = 3304, buy = 260, sell = 50 },
{ itemName = "cup", clientId = 2881, buy = 2 },
{ itemName = "deed of ownership", clientId = 7866, buy = 1000 },
{ itemName = "document", clientId = 2818, buy = 12 },
{ itemName = "fishing rod", clientId = 3483, buy = 40 },
{ itemName = "fishing rod", clientId = 3483, buy = 40, sell = 40 },
{ itemName = "golden backpack", clientId = 2871, buy = 10 },
{ itemName = "golden bag", clientId = 2863, buy = 4 },
{ itemName = "hand auger", clientId = 31334, buy = 25 },
{ itemName = "machete", clientId = 3308, buy = 6 },
{ itemName = "machete", clientId = 3308, buy = 6, sell = 6 },
{ itemName = "net", clientId = 31489, buy = 50 },
{ itemName = "parchment", clientId = 2817, buy = 8 },
{ itemName = "pick", clientId = 3456, buy = 50 },
{ itemName = "pick", clientId = 3456, buy = 50, sell = 15 },
{ itemName = "plate", clientId = 2905, buy = 6 },
{ itemName = "present", clientId = 2856, buy = 10 },
{ itemName = "rope", clientId = 3003, buy = 50 },
{ itemName = "rope", clientId = 3003, buy = 50, sell = 15 },
{ itemName = "scroll", clientId = 2815, buy = 5 },
{ itemName = "scythe", clientId = 3453, buy = 50 },
{ itemName = "shovel", clientId = 3457, buy = 10 },
{ itemName = "scythe", clientId = 3453, buy = 50, sell = 10 },
{ itemName = "shovel", clientId = 3457, buy = 10, sell = 8 },
{ itemName = "torch", clientId = 2920, buy = 2 },
{ itemName = "vial of oil", clientId = 2874, buy = 20, count = 11 },
{ itemName = "watch", clientId = 2906, buy = 20, sell = 6 },
{ itemName = "waterskin of water", clientId = 2901, buy = 40, count = 1 },
{ itemName = "watch", clientId = 2906, buy = 20 },
{ itemName = "wooden hammer", clientId = 3459, sell = 15 },
{ itemName = "worm", clientId = 3492, buy = 1 }
}

Expand Down
9 changes: 3 additions & 6 deletions data/npclua/al_dee.lua
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,13 @@ npcConfig.voices = {
{ text = 'Don\'t head for adventure without a rope and torches! Buy your supplies here!' }
}
npcConfig.shop = { -- Sellable items
{ itemName = "fishing rod", clientId = 3483, sell = 30 },
{ itemName = "rope", clientId = 3003, sell = 8 },
{ itemName = "shovel", clientId = 3457, sell = 2 }, -- Buyable items
{ itemName = "backpack", clientId = 2854, buy = 10 },
{ itemName = "bag", clientId = 2853, buy = 4 },
{ itemName = "fishing rod", clientId = 3483, buy = 150 },
{ itemName = "rope", clientId = 3003, buy = 50 },
{ itemName = "fishing rod", clientId = 3483, buy = 150, sell = 30 },
{ itemName = "rope", clientId = 3003, buy = 50, sell = 8 },
{ itemName = "scroll", clientId = 2815, buy = 5 },
{ itemName = "scythe", clientId = 3453, buy = 12 },
{ itemName = "shovel", clientId = 3457, buy = 10 },
{ itemName = "shovel", clientId = 3457, buy = 10, sell = 2 },
{ itemName = "torch", clientId = 2920, buy = 2 },
{ itemName = "worm", clientId = 3492, buy = 1 }
}
Expand Down
22 changes: 10 additions & 12 deletions data/npclua/alaistar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,19 @@ npcConfig.flags = {
}

npcConfig.shop = {
-- Sellable items
{ itemName = "cowbell", clientId = 21204, sell = 210 },
{ itemName = "empty potion flask", clientId = 283, sell = 5 },
{ itemName = "empty potion flask", clientId = 284, sell = 5 },
{ itemName = "empty strong potion flask", clientId = 283, sell = 5 },
{ itemName = "empty great potion flask", clientId = 283, sell = 5 },
{ itemName = "empty potion flask", clientId = 285, sell = 5 },
{ itemName = "execowtioner mask", clientId = 21201, sell = 240 },
{ itemName = "giant pacifier", clientId = 21199, sell = 170 },
{ itemName = "glob of glooth", clientId = 21182, sell = 125 },
{ itemName = "glooth injection tube", clientId = 21103, sell = 350 },
{ itemName = "great health potion", clientId = 239, buy = 225 },
{ itemName = "great mana potion", clientId = 238, buy = 144 },
{ itemName = "great spirit potion", clientId = 7642, buy = 228 },
{ itemName = "health potion", clientId = 266, buy = 50 },
{ itemName = "mana potion", clientId = 268, buy = 56 },
{ itemName = "metal jaw", clientId = 21193, sell = 260 },
{ itemName = "metal toe", clientId = 21198, sell = 430 },
{ itemName = "mooh'tah shell", clientId = 21202, sell = 110 },
Expand All @@ -44,19 +48,13 @@ npcConfig.shop = {
{ itemName = "seacrest scale", clientId = 21800, sell = 150 },
{ itemName = "slime heart", clientId = 21194, sell = 160 },
{ itemName = "slimy leaf tentacle", clientId = 21197, sell = 320 },
{ itemName = "vial", clientId = 2874, sell = 5 },
-- Buyable items
{ itemName = "great health potion", clientId = 239, buy = 225 },
{ itemName = "great mana potion", clientId = 238, buy = 144 },
{ itemName = "great spirit potion", clientId = 7642, buy = 228 },
{ itemName = "health potion", clientId = 266, buy = 50 },
{ itemName = "mana potion", clientId = 268, buy = 56 },
{ itemName = "strong health potion", clientId = 236, buy = 115 },
{ itemName = "strong mana potion", clientId = 237, buy = 93 },
{ itemName = "supreme health potion", clientId = 23375, buy = 625 },
{ itemName = "ultimate mana potion", clientId = 23373, buy = 379 },
{ itemName = "ultimate health potion", clientId = 7643, buy = 438 },
{ itemName = "ultimate spirit potion", clientId = 23374, buy = 438 }
{ itemName = "ultimate mana potion", clientId = 23373, buy = 379 },
{ itemName = "ultimate spirit potion", clientId = 23374, buy = 438 },
{ itemName = "vial", clientId = 2874, sell = 5 }
}

-- On buy npc shop message
Expand Down
1 change: 0 additions & 1 deletion data/npclua/albinius.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ npcConfig.flags = {
}

npcConfig.shop = {
-- Sellable items
{ itemName = "heavy old tome", clientId = 23986, sell = 30 }
}
-- On buy npc shop message
Expand Down
43 changes: 14 additions & 29 deletions data/npclua/aldo.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,38 +24,23 @@ npcConfig.flags = {
}

npcConfig.shop = {
-- Sellable items
{ itemName = "brass helmet", clientId = 3354, sell = 30 },
{ itemName = "brass legs", clientId = 3372, sell = 49 },
{ itemName = "chain helmet", clientId = 3352, sell = 17 },
{ itemName = "chain legs", clientId = 3558, sell = 25 },
{ itemName = "iron helmet", clientId = 3353, sell = 150 },
{ itemName = "leather boots", clientId = 3552, sell = 2 },
{ itemName = "leather helmet", clientId = 3355, sell = 4 },
{ itemName = "leather legs", clientId = 3559, sell = 9 },
{ itemName = "brass helmet", clientId = 3354, buy = 120, sell = 30 },
{ itemName = "brass legs", clientId = 3372, buy = 195, sell = 49 },
{ itemName = "chain helmet", clientId = 3352, buy = 52, sell = 17 },
{ itemName = "chain legs", clientId = 3558, buy = 80, sell = 25 },
{ itemName = "iron helmet", clientId = 3353, buy = 390, sell = 150 },
{ itemName = "leather boots", clientId = 3552, buy = 10, sell = 2 },
{ itemName = "leather helmet", clientId = 3355, buy = 12, sell = 4 },
{ itemName = "leather legs", clientId = 3559, buy = 10, sell = 9 },
{ itemName = "legion helmet", clientId = 3374, sell = 22 },
{ itemName = "plate legs", clientId = 3557, sell = 115 },
{ itemName = "small axe", clientId = 3462, sell = 5 },
{ itemName = "soldier helmet", clientId = 3375, sell = 16 },
{ itemName = "steel helmet", clientId = 3351, sell = 293 },
{ itemName = "studded helmet", clientId = 3376, sell = 20 },
{ itemName = "studded legs", clientId = 3362, sell = 15 },
{ itemName = "viking helmet", clientId = 3367, sell = 66 },
-- Buyable items
{ itemName = "brass helmet", clientId = 3354, buy = 120 },
{ itemName = "brass legs", clientId = 3372, buy = 195 },
{ itemName = "chain helmet", clientId = 3352, buy = 52 },
{ itemName = "chain legs", clientId = 3558, buy = 80 },
{ itemName = "iron helmet", clientId = 3353, buy = 390 },
{ itemName = "leather boots", clientId = 3552, buy = 10 },
{ itemName = "leather helmet", clientId = 3355, buy = 12 },
{ itemName = "leather legs", clientId = 3559, buy = 10 },
{ itemName = "sandals", clientId = 3551, buy = 2 },
{ itemName = "soldier helmet", clientId = 3375, buy = 110 },
{ itemName = "steel helmet", clientId = 3351, buy = 580 },
{ itemName = "studded helmet", clientId = 3376, buy = 63 },
{ itemName = "studded legs", clientId = 3362, buy = 50 },
{ itemName = "viking helmet", clientId = 3367, buy = 265 }
{ itemName = "small axe", clientId = 3462, sell = 5 },
{ itemName = "soldier helmet", clientId = 3375, buy = 110, sell = 16 },
{ itemName = "steel helmet", clientId = 3351, buy = 580, sell = 293 },
{ itemName = "studded helmet", clientId = 3376, buy = 63, sell = 20 },
{ itemName = "studded legs", clientId = 3362, buy = 50, sell = 15 },
{ itemName = "viking helmet", clientId = 3367, buy = 265, sell = 66 }
}
-- On buy npc shop message
npcType.onBuyItem = function(npc, player, itemId, subType, amount, inBackpacks, name, totalCost)
Expand Down
18 changes: 6 additions & 12 deletions data/npclua/alesar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@ npcConfig.flags = {
}

npcConfig.shop = {
-- Sellable items
{ itemName = "ancient shield", clientId = 3432, sell = 900 },
{ itemName = "ancient shield", clientId = 3432, buy = 5000, sell = 900 },
{ itemName = "black shield", clientId = 3429, sell = 800 },
{ itemName = "bonebreaker", clientId = 7428, sell = 10000 },
{ itemName = "dark armor", clientId = 3383, sell = 400 },
{ itemName = "dark helmet", clientId = 3384, sell = 250 },
{ itemName = "dark armor", clientId = 3383, buy = 1500, sell = 400 },
{ itemName = "dark helmet", clientId = 3384, buy = 1000, sell = 250 },
{ itemName = "dragon hammer", clientId = 3322, sell = 2000 },
{ itemName = "dreaded cleaver", clientId = 7419, sell = 15000 },
{ itemName = "giant sword", clientId = 3281, sell = 17000 },
{ itemName = "haunted blade", clientId = 7407, sell = 8000 },
{ itemName = "ice rapier", clientId = 3284, buy = 5000 },
{ itemName = "knight armor", clientId = 3370, sell = 5000 },
{ itemName = "knight axe", clientId = 3318, sell = 2000 },
{ itemName = "knight legs", clientId = 3371, sell = 5000 },
Expand All @@ -39,19 +39,13 @@ npcConfig.shop = {
{ itemName = "ornamented axe", clientId = 7411, sell = 20000 },
{ itemName = "poison dagger", clientId = 3299, sell = 50 },
{ itemName = "scimitar", clientId = 3307, sell = 150 },
{ itemName = "serpent sword", clientId = 3297, sell = 900 },
{ itemName = "serpent sword", clientId = 3297, buy = 6000, sell = 900 },
{ itemName = "skull staff", clientId = 3324, sell = 6000 },
{ itemName = "strange helmet", clientId = 3373, sell = 500 },
{ itemName = "titan axe", clientId = 7413, sell = 4000 },
{ itemName = "tower shield", clientId = 3428, sell = 8000 },
{ itemName = "vampire shield", clientId = 3434, sell = 15000 },
{ itemName = "warrior helmet", clientId = 3369, sell = 5000 },
-- Buyable items
{ itemName = "ancient shield", clientId = 3432, buy = 5000 },
{ itemName = "dark armor", clientId = 3383, buy = 1500 },
{ itemName = "dark helmet", clientId = 3384, buy = 1000 },
{ itemName = "ice rapier", clientId = 3284, buy = 5000 },
{ itemName = "serpent sword", clientId = 3297, buy = 6000 }
{ itemName = "warrior helmet", clientId = 3369, sell = 5000 }
}
-- On buy npc shop message
npcType.onBuyItem = function(npc, player, itemId, subType, amount, inBackpacks, name, totalCost)
Expand Down
19 changes: 8 additions & 11 deletions data/npclua/alexander.lua
Original file line number Diff line number Diff line change
Expand Up @@ -105,19 +105,9 @@ npcHandler:setMessage(MESSAGE_SENDTRADE, "Of course, just browse through my ware
npcHandler:addModule(FocusModule:new())

npcConfig.shop = {
-- Sellable items
{ itemName = "crystal ball", clientId = 3076, sell = 190 },
{ itemName = "life crystal", clientId = 3061, sell = 85 },
{ itemName = "mind stone", clientId = 3062, sell = 170 },
{ itemName = "spellbook of enlightenment", clientId = 8072, sell = 4000 },
{ itemName = "spellbook of lost souls", clientId = 8075, sell = 19000 },
{ itemName = "spellbook of mind control", clientId = 8074, sell = 13000 },
{ itemName = "spellbook of warding", clientId = 8073, sell = 8000 },
{ itemName = "spellwand", clientId = 651, sell = 299 },
-- Buyable items
{ itemName = "animate dead rune", clientId = 3203, buy = 375 },
{ itemName = "blank rune", clientId = 3147, buy = 10 },
{ itemName = "crystal ball", clientId = 3076, buy = 530 },
{ itemName = "crystal ball", clientId = 3076, buy = 530, sell = 190 },
{ itemName = "desintegrate rune", clientId = 3197, buy = 26 },
{ itemName = "durable exercise rod", clientId = 35283, buy = 945000, count = 1800 },
{ itemName = "durable exercise wand", clientId = 35284, buy = 945000, count = 1800 },
Expand All @@ -130,15 +120,22 @@ npcConfig.shop = {
{ itemName = "icicle rune", clientId = 3158, buy = 30 },
{ itemName = "lasting exercise rod", clientId = 35289, buy = 7560000, count = 14400 },
{ itemName = "lasting exercise wand", clientId = 35290, buy = 7560000, count = 14400 },
{ itemName = "life crystal", clientId = 3061, sell = 85 },
{ itemName = "life ring", clientId = 3052, buy = 900 },
{ itemName = "magic wall rune", clientId = 3180, buy = 116 },
{ itemName = "mind stone", clientId = 3062, sell = 170 },
{ itemName = "moonlight rod", clientId = 3070, buy = 1000 },
{ itemName = "necrotic rod", clientId = 3069, buy = 5000 },
{ itemName = "northwind rod", clientId = 8083, buy = 7500 },
{ itemName = "paralyze rune", clientId = 3165, buy = 700 },
{ itemName = "poison bomb rune", clientId = 3173, buy = 85 },
{ itemName = "snakebite rod", clientId = 3066, buy = 500 },
{ itemName = "soulfire rune", clientId = 3195, buy = 46 },
{ itemName = "spellbook of enlightenment", clientId = 8072, sell = 4000 },
{ itemName = "spellbook of lost souls", clientId = 8075, sell = 19000 },
{ itemName = "spellbook of mind control", clientId = 8074, sell = 13000 },
{ itemName = "spellbook of warding", clientId = 8073, sell = 8000 },
{ itemName = "spellwand", clientId = 651, sell = 299 },
{ itemName = "springsprout rod", clientId = 8084, buy = 18000 },
{ itemName = "stone shower rune", clientId = 3175, buy = 37 },
{ itemName = "terra rod", clientId = 3065, buy = 10000 },
Expand Down
1 change: 0 additions & 1 deletion data/npclua/alissa.lua
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ end
npcHandler:addModule(FocusModule:new())

npcConfig.shop = {
-- Buyable items
{ itemName = "banana", clientId = 3587, buy = 3 },
{ itemName = "blueberry", clientId = 3588, buy = 1 },
{ itemName = "carrot", clientId = 3595, buy = 3 },
Expand Down
1 change: 0 additions & 1 deletion data/npclua/allen.lua
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ end
npcHandler:addModule(FocusModule:new())

npcConfig.shop = {
-- Buyable items
{ itemName = "blue bed kit", clientId = 834, buy = 80 },
{ itemName = "canopy bed kit", clientId = 17972, buy = 200 },
{ itemName = "green bed kit", clientId = 831, buy = 80 },
Expand Down
1 change: 0 additions & 1 deletion data/npclua/andrew_lyze.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ npcConfig.flags = {
floorchange = false
}
npcConfig.shop = {
-- Buyable items
{ itemName = "broken compass", clientId = 25746, buy = 10000 }
}

Expand Down
5 changes: 2 additions & 3 deletions data/npclua/anerui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,8 @@ npcHandler:setMessage(MESSAGE_WALKAWAY, "Asha Thrazi.")

npcHandler:addModule(FocusModule:new())
npcConfig.shop = {
-- Buyable items
{ itemName = "meat", clientId = 3577, buy = 4 },
{ itemName = "ham", clientId = 3582, buy = 6 }
{ itemName = "ham", clientId = 3582, buy = 6 },
{ itemName = "meat", clientId = 3577, buy = 4 }
}
-- On buy npc shop message
npcType.onBuyItem = function(npc, player, itemId, subType, amount, inBackpacks, name, totalCost)
Expand Down
14 changes: 6 additions & 8 deletions data/npclua/angus.lua
Original file line number Diff line number Diff line change
Expand Up @@ -703,19 +703,17 @@ npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback)

npcHandler:addModule(FocusModule:new())
npcConfig.shop = {
-- Sellable items
{ itemName = "atlas", clientId = 6108, buy = 150 },
{ itemName = "botanist s container", clientId = 4867, buy = 500 },
{ itemName = "butterfly conservation kit", clientId = 4863, buy = 250 },
{ itemName = "crown backpack", clientId = 9605, buy = 800 },
{ itemName = "ectoplasm container", clientId = 4852, buy = 750 },
{ itemName = "explorer brooch", clientId = 4871, sell = 50 },
{ itemName = "giant smithhammer", clientId = 12510, sell = 250 },
{ itemName = "hydra egg", clientId = 4839, sell = 500 },
{ itemName = "old parchment", clientId = 5956, sell = 500 },
{ itemName = "skull of ratha", clientId = 3207, sell = 250 },
-- Buyable items
{ itemName = "atlas", clientId = 6108, buy = 150 },
{ itemName = "butterfly conservation kit", clientId = 4863, buy = 250 },
{ itemName = "ectoplasm container", clientId = 4852, buy = 750 },
{ itemName = "botanist s container", clientId = 4867, buy = 500 },
{ itemName = "orichalcum pearl", clientId = 5021, buy = 80 },
{ itemName = "crown backpack", clientId = 9605, buy = 800 }
{ itemName = "skull of ratha", clientId = 3207, sell = 250 }
}
-- On buy npc shop message
npcType.onBuyItem = function(npc, player, itemId, subType, amount, inBackpacks, name, totalCost)
Expand Down
9 changes: 4 additions & 5 deletions data/npclua/archery.lua
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,12 @@ npcHandler:setMessage(MESSAGE_WALKAWAY, "Please come back from time to time.")
npcHandler:addModule(FocusModule:new())

npcConfig.shop = {
-- Buyable items
{ itemName = "assassin star", clientId = 7368, buy = 100 },
{ itemName = "infernal bolt", clientId = 6528, buy = 300000 },
{ itemName = "burst arrow", clientId = 3449, buy = 300000 },
{ itemName = "arrow", clientId = 3447, buy = 3 },
{ itemName = "assassin star", clientId = 7368, buy = 100 },
{ itemName = "blue quiver", clientId = 35848, buy = 400 },
{ itemName = "bolt", clientId = 3446, buy = 4 },
{ itemName = "bow", clientId = 3350, buy = 400 },
{ itemName = "burst arrow", clientId = 3449, buy = 300000 },
{ itemName = "crossbow", clientId = 3349, buy = 500 },
{ itemName = "crystalline arrow", clientId = 15793, buy = 20 },
{ itemName = "diamond arrow", clientId = 35901, buy = 100 },
Expand All @@ -84,6 +82,7 @@ npcConfig.shop = {
{ itemName = "envenomed arrow", clientId = 16143, buy = 12 },
{ itemName = "flaming arrow", clientId = 763, buy = 5 },
{ itemName = "flash arrow", clientId = 761, buy = 5 },
{ itemName = "infernal bolt", clientId = 6528, buy = 300000 },
{ itemName = "onyx arrow", clientId = 7365, buy = 7 },
{ itemName = "piercing bolt", clientId = 7363, buy = 5 },
{ itemName = "power bolt", clientId = 3450, buy = 7 },
Expand All @@ -92,8 +91,8 @@ npcConfig.shop = {
{ itemName = "red quiver", clientId = 35849, buy = 400 },
{ itemName = "royal spear", clientId = 7378, buy = 15 },
{ itemName = "shiver arrow", clientId = 762, buy = 5 },
{ itemName = "sniper arrow", clientId = 7364, buy = 5 },
{ itemName = "small stone", clientId = 1781, buy = 100 },
{ itemName = "sniper arrow", clientId = 7364, buy = 5 },
{ itemName = "spear", clientId = 3277, buy = 9 },
{ itemName = "spectral bolt", clientId = 35902, buy = 70 },
{ itemName = "tarsal arrow", clientId = 14251, buy = 6 },
Expand Down
1 change: 0 additions & 1 deletion data/npclua/archery_rook.lua
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ npcHandler:setMessage(MESSAGE_WALKAWAY, "Please come back from time to time.")
npcHandler:addModule(FocusModule:new())

npcConfig.shop = {
-- Buyable items
{ itemName = "royal spear", clientId = 7378, buy = 100 }
}
-- On buy npc shop message
Expand Down
1 change: 0 additions & 1 deletion data/npclua/ariella.lua
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,6 @@ npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback)
npcHandler:addModule(FocusModule:new())

npcConfig.shop = {
-- Buyable items
{ itemName = "banana", clientId = 3587, buy = 5 },
{ itemName = "blueberry", clientId = 3588, buy = 1 },
{ itemName = "cheese", clientId = 3607, buy = 6 },
Expand Down
Loading

0 comments on commit c1eb738

Please sign in to comment.