💰Changing vendor inventory

How to manipulate vendor inventories

Summary

Published: ??? by mana vortex Last documented update: Jan 28 2024 by mana vortex

To find a list of all vendor IDs, check Cheat Sheet: Vendor IDs

How to do this:

Your mod will be one or multiple .yaml files under r6/tweaks. If you want to release your mod on Nexus, we recommend using WolvenKit Projects and creating the files under the WolvenKit Projects folder.

Adding items to vendors

Courtesy of Neurolinked and psiberx. For more context, read up on Discord.

Create the following tweak file (a yaml in r6/tweaks/your_optional_subfolder:

Vendors.pac_wwd_melee_01:                 # your vendor's tweak ID
  itemStock:                              # their inventory
    - !append { 
        item: Items.YourItemBaseId,       # your item's base ID
        quantity: [ Vendors.IsPresent ]   # how many of it?
      }      
    - !append { 
        item: Items.YourOtherItemBaseId, 
        quantity: [ Vendors.IsPresent ] 
      }

Last updated

#1285: overhauled multilayerd doc

Change request updated