💰Changing vendor inventory

How to manipulate vendor inventories

Summary

Published: ??? by manavortex Last documented update: Jan 28 2024 by Sei Jax

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
      $type: VendorItem
      item: Items.YourItemBaseId             # your item's base ID
      quantity: [ Vendors.Always_Present ]   # how many of it?
    - !append
      $type: VendorItem
      item: Items.YourOtherItemBaseId
      quantity: [ Vendors.Always_Present ]

Last updated