Jump to content
ℹ️ Intermittent Download History issues ×

How to create settlement vendors?


Recommended Posts

Check one of the workshop vendors in the GECK, believe they start with "Workshop" something. A bunch can be found in the humanrace tab. You probably need to have the keywords there related to workshops as well as any factions that sound reasonable. Then attach the related scripts, fill in the properties. If I remember correctly autofill functions pretty good besides fixing "special vendor" stuff and selecting what type of loot the NPC should have.

Then it's just a matter of sticking them in a stall and adding a dialogueoption to fire up the barter window if the NPC doesn't have it already.

Link to comment
Share on other sites

  • 2 years later...

As per Zorkaz if its static then its WorkshopVendorChestTYPE NUMBER e.g. WorkshopVendorChestArmor04

 

if you want to modify a specific container in a specific settlement, then you need to find the actual vendor container which created dynamically by WorkshopScript.InitializeVendorChests() from a when a settler is assigned to a shop. You can get to them via (pick the one you want);

 

ObjectReference[] VendorContainers = (WorkshopREF as WorkshopScript).VendorContainersArmor
ObjectReference[] VendorContainers = (WorkshopREF as WorkshopScript).VendorContainersWeapons
ObjectReference[] VendorContainers = (WorkshopREF as WorkshopScript).VendorContainersBar
ObjectReference[] VendorContainers = (WorkshopREF as WorkshopScript).VendorContainersClinic
ObjectReference[] VendorContainers = (WorkshopREF as WorkshopScript).VendorContainersClothing
Link to comment
Share on other sites

  • Recently Browsing   0 members

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