Editing Adding items to vendors
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
== How do I add items to an existing vendor's inventory? == | == How do I add items to an existing vendor's inventory? == | ||
To avoid incompatibilities with other mods, there are | To avoid incompatibilities with other mods, there are two ways of doing this: first, create a new container owned by the NPC; second, create a quest/script to add the items to the NPC's existing vendor container. | ||
You need to make sure that your NPC can buy/sell the type of items you're adding: this is done in the AI Data tab of the NPC's edit window. | You need to make sure that your NPC can buy/sell the type of items you're adding: this is done in the AI Data tab of the NPC's edit window. | ||
Line 36: | Line 36: | ||
* here's an example of the 'vendorChestReferenceID.additem itemEditorID count' line from the above script: | * here's an example of the 'vendorChestReferenceID.additem itemEditorID count' line from the above script: | ||
VendorChestBuriedGobREF.additem Jet 3 | VendorChestBuriedGobREF.additem Jet 3 | ||
==Notes== | ==Notes== |