Difference between revisions of "Adding Sellable Items To Merchant NPC"

Added "Solution" and moved Discussion
imported>JOG
m
imported>JOG
(Added "Solution" and moved Discussion)
Line 1: Line 1:
How does one go about adding sellable items to a merchant?  It seems there is a straightforward way to add spells, but not items (weapons, armor, etc)
First you set the NPC's AI-Settings to buy/sell what you intend to. (An Alchemist isn't very likely to buy or sell armor) Or simply choose one of the predefined merchant-classes.
 
[[Category:Solutions]]
 
The best way I am aware of is to create a new container and then set the ownership of this container to the NPC Merchant that you want to sell the item/s. Then any item in the container will be available through that Merchant. Merchant containers are usually kept outside of the playable area.—[[User:Mmmpld|mmmpld]] 03:13, 11 April 2006 (EDT)
 
----
 
First you set the NPC's AI-Settings to buy/sell what you intend to. (An Alchemist isn't very likely to buy or sell armor)


Once you've set this, the NPC will sell everything he '''owns''' and hasn't equipped yet.
Once you've set this, the NPC will sell everything he '''owns''' and hasn't equipped yet.
Anonymous user