Mebantiza Posted February 4, 2016 Share Posted February 4, 2016 Is it possible, to make a item(s) sellable by a merchant, unique? That is to say, it will only be offered the one time only, and will not reset along with the rest of the inventory? A mod I would like to...modify, has added a number of items to a vanilla merchant, but I would like to set some items as, 'only sell once' as it were, I cant see anything in CK for this, and the webernets does not seem to have much to say on the topic. One way I thought of, was to remove the items in question from the general vendor chest, create a 2nd separate chest, linked to the same merchant, put the items in, and set it to no-respawn. Is that viable? Or can a merchant even be linked to more than one chest at a time? Thanks Link to comment Share on other sites More sharing options...
sLoPpYdOtBiGhOlE Posted February 4, 2016 Share Posted February 4, 2016 I think it's possible to do what your after by a script attached to the vendor container and keywords in the vendor list being removed when the type of item has been removed from the container.Example use a custom Vendor list on the vendor faction (SKSE also has functions to assign Vendor lists on the fly in game as well).This custom vendor list will need to be empty and populated with keywords when your mod first initiates.Create a another list of Keywords that are on items you only want sold once.Attach a script to the vendor chest that has an OnItemRemoved() event and check the removed item keyword against your unique item keyword list.If it matches then remove the keyword from the custom vendor list.This is theory and at this point I haven't tried it.But I know if I committed some time to it that I'd get it to work. Link to comment Share on other sites More sharing options...
lofgren Posted February 4, 2016 Share Posted February 4, 2016 Another approach would be to put the items into leveled lists that use a global for their chance none, then once the items have been purchased once set the global to 100% Link to comment Share on other sites More sharing options...
Recommended Posts