Re: Populate AH or Set a NPC Seller
Posted: Fri Dec 12, 2014 10:31 am
look at existing shop npcs such as https://github.com/DarkstarProject/dark ... hb.lua#L23 to get an idea of how to do this
Go to LandSandBoat
http://forums.dspt.info:80/
Code: Select all
---------------------------------------------------------------------------------------------------
-- func: tools.lua
-- auth: Tagban
-- desc: Ninja Tools Shop Command @tools
---------------------------------------------------------------------------------------------------
cmdprops =
{
permission = 0,
parameters = "iiii"
};
function onTrigger(player)
player:PrintToPlayer("All the ninja Tools you need for your adventure!");
stock = {
5869, 500, -- Chonofuda
5312, 500, -- Hiraishin
5867, 500, -- Inoshishinofuda
5864, 500, -- Jinko
5315, 500, -- Jusatsu
5863, 500, -- Kabenro
5316, 500, -- Kaginawa
5310, 500, -- Kawahori-Ogi
5318, 500, -- Kodoku
5311, 500, -- Makibishi
5313, 500, -- Mizu-Deppo
5866, 500, -- Mokukin
5865, 500, -- Ryuno
5317, 500, -- Sairui-Ran
5417, 500, -- Sanjaku-Tenugui
5314, 500, -- Shihei
5868, 500, -- Shikanofuda
5319, 500, -- Shinobi-Tabi
5734, 500, -- Soshi
5309, 500, -- Tsurara
5308, 500, -- Uchitake
}
showShop(player, STATIC, stock);
end
all auction houses share auctions for a few years now (on retail)RenO wrote:Hello. I want to insert some data in auction_house but what is the relationship between an auction_house record and the Auction house of a town (the bastok AH should not share items with jeudo AH in the retail game).
Oh sorry! My knowledge of this game is deprecatedkjLotus wrote:all auction houses share auctions for a few years now (on retail)RenO wrote:Hello. I want to insert some data in auction_house but what is the relationship between an auction_house record and the Auction house of a town (the bastok AH should not share items with jeudo AH in the retail game).