Jump to content

Adding new items to Vanilla merchant's inventory


Recommended Posts

I'm trying to find out the best way to integrate weapons I've been working on into certain pre-existing vendor's vendor container without having to manually add it due to the fact that just doing that will cause conflicts. I've been at this for quite a while and read over multiple different posts and various different functions on the wiki. I'm really looking for any proper help that I can get at this point.

Link to comment
Share on other sites

Make a container. Add those items into it. Make container respawn. Make its ownership being that specific NPC template.

place that container into the cell of that specific merchant (and no need for any other action). From now on that merchant would sell items in that container, along with its own merchant inventory.

This one ensure no conflict to anything. Its only limit is that you can do that to only one merchant.

Link to comment
Share on other sites

20 hours ago, laclongquan said:

Make a container. Add those items into it. Make container respawn. Make its ownership being that specific NPC template.

place that container into the cell of that specific merchant (and no need for any other action). From now on that merchant would sell items in that container, along with its own merchant inventory.

This one ensure no conflict to anything. Its only limit is that you can do that to only one merchant.

So, I have to make a container for each merchant I want to sell my weapon?

Link to comment
Share on other sites

Posted (edited)

That was for complete compatibility with ANY mod. That's the price you pay~

Honestly, it is the easiest way, and max compat. If you modifying level list or container you run the risk of uncompatible with other mods which did same thing.

+++ Like, if you want to do to other merchants, duplicate the container into another new container, change ownership, add to new location, and voila~. So you have items with baseid like  ShotgunRevolverChet, ShotgunRevolverNash etc. it's just a container item (and a placement of said item in a cell), nothing hard work about it~

There's also the method of using script to add items to whatever you want at start the session. But I dont really care about it.

Edited by laclongquan
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...