What's new

[Solved] Npc vendor

Status
Not open for further replies.

deathlyend

Verified Member
24
2014
0
heey all,

i was creating a npc today i made his flags and everything to a vendor but how do i make a loot table / vendor table were al the items are in that he sells.
i couldnt find it in the database

thanks for helping

kind regards
deathlyend
 
Last edited by a moderator:

Ayiko

Senior User
344
2014
13
There is a table in the database named npc_vendor
When you add items they show up there.
Such as .npc add item (ID) 0 0 (EXTCOSTID)
For example. .npc add i 4971 = adds the item to the targetted NPC.
In npc_vendor you see all the items in it for price in ext cost etc.
 

Zafire

https://zafirehd.deviantart.com
Admin
Designer
Senior User
245
2013
23
Location
Siberia
The table is called "npc_vendor", You can also add items to your vendor from in-game. Simply type .npc vendor add item "Item ID", on an administrator account in-game.

I hope this works for you,
Zafire

--EDIT--

Seems Ayiko posted before me, but 2 answers doesn't hurt!
 

deathlyend

Verified Member
24
2014
0
ty guys going to try this i already tryed command but think it was the wrong one then

kind regards
deathlyend
 
Status
Not open for further replies.
Top