Adding item to all shops

Post » Sun Oct 17, 2010 11:12 am

I would like to add existing item to all shops. How make it shortest and easily way ? Better via tes4edit then CS if possible.
User avatar
gemma
 
Posts: 3441
Joined: Tue Jul 25, 2006 7:10 am

Post » Sun Oct 17, 2010 4:07 pm

A number of questions:

Do you really mean "all shops", or just vendors of a certain type of goods?
Does the item have to be available always, or randomly?

The answer is probably going to be adding the item to a leveled list with OBSE's AddToLeveledList function, and those questions are going to determine which lists are appropriate, and what the parameters are.
User avatar
Kay O'Hara
 
Posts: 3366
Joined: Sun Jan 14, 2007 8:04 pm

Post » Sun Oct 17, 2010 11:26 am

A number of questions:

Do you really mean "all shops", or just vendors of a certain type of goods?
Does the item have to be available always, or randomly?

The answer is probably going to be adding the item to a leveled list with OBSE's AddToLeveledList function, and those questions are going to determine which lists are appropriate, and what the parameters are.

1. to all shops
2. always
User avatar
Anna Kyselova
 
Posts: 3431
Joined: Sun Apr 01, 2007 9:42 am

Post » Sun Oct 17, 2010 5:23 pm

There is no single list that covers all vendors' inventories, so you'll have a lot of work to do. The "always" part also makes it harder to add the item, as it can't be put in a list that the game will randomly select from.

Whatever method you choose needs to consider compatibility with other mods. If you add your item directly to every vendor's merchant chest, any other mod that does so will undo yours. Diito for a direct addition to the NPC's inventory, So the "safe" methods are to add an additional vendor container, or use a script with AddToLeveledList to do it. Either way, it's going to be a lot of work to achieve what you want.
User avatar
Wayland Neace
 
Posts: 3430
Joined: Sat Aug 11, 2007 9:01 am

Post » Sun Oct 17, 2010 12:41 pm

There is no single list that covers all vendors' inventories, so you'll have a lot of work to do. The "always" part also makes it harder to add the item, as it can't be put in a list that the game will randomly select from.

Whatever method you choose needs to consider compatibility with other mods. If you add your item directly to every vendor's merchant chest, any other mod that does so will undo yours. Diito for a direct addition to the NPC's inventory, So the "safe" methods are to add an additional vendor container, or use a script with AddToLeveledList to do it. Either way, it's going to be a lot of work to achieve what you want.


Directly I want to get some mod working for Nehrim. Some item must be easy to get by PC, but ... not too easy. Maybe I should find other way.
Thank you.
User avatar
Taylor Tifany
 
Posts: 3555
Joined: Sun Jun 25, 2006 7:22 am

Post » Sun Oct 17, 2010 5:34 pm

One method would be to create a new chest and add the desired item(s) to it. You could then place that chest in each vendor's area. They would then sell the item(s) contained in the chest and there would be no conflict with other mods. This method would require the use of the CS, though.
User avatar
jeremey wisor
 
Posts: 3458
Joined: Mon Oct 22, 2007 5:30 pm


Return to IV - Oblivion