Jump to content

Recommended Posts

  • Active+ Member

I've trying to add a Shop NPC (like  General Store Saleswomen) but with other itens, it will be basically the same as the normal store, but i can't find a way to do it, i tried to follow this topic:

but still wasn't able to do it, i edited the shop and shop_item table, created the quest and still nothing what am i missing?

quest especial3 begin
	state start begin
		when 9010.chat."Loja Especial 3" begin
			npc.open_shop(12)
			setskin(NOWINDOW)
		end
	end
end

In the player shop i have it like this:

VNUM     Name                       NPC_VNUM

12            Loja Especial 3         9010

In shop_item i have this:

SHOP_VNUM       ITEM_VNUM     COUNT

12                         50201                1

 

Also, i dont know if it matters but in the server file questnpc.txt i added this line:

9010 especial3

 

What am i doing wrong?

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.