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

m
Needs offers services, of course...
imported>Vook
(Uncheck the Goddamn Auto Calc!!! (spent 2 hours before figuring it out!))
imported>JOG
m (Needs offers services, of course...)
Line 1: Line 1:
First, uncheck the "auto calc stats" if the NPC is not a merchant already - as long as the checkbox is checked, the AI window will have the "buys/sells" area disabled. Then 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...) You can also choose one of the predefined merchant-classes instead.
First, uncheck the "auto calc stats" if the NPC is not a merchant already - as long as the checkbox is checked, the AI window will have the "buys/sells" area disabled. Then 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...) You can also choose one of the predefined merchant-classes instead.
You also need to give the NPC an AI Package with "Offers Services" checked. Usually you can simply pick the predefined package "aaaServicesEditorLocLockAtEnd".


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