Cyberpunk 2077
0 of 0

File information

Last updated

Original upload

Created by

Boe6

Uploaded by

Boe6

Virus scan

Safe to use

Tags for this mod

About this mod

Vendor Dependency.

Dynamically adds vendor stock, typically for custom item mods.

Requirements
Permissions and credits
MOD STATUS: BROKEN
Broken by v2.0+, update in limbo

Adaptive Item Stock

Dynamically adds items to vendor's stock lists. Compatible with (and designed for) Deceptious Commerce Core. 

This allows clothes to be packaged as separate mods, then individually downloaded by users. This mod then adds the specific items to the vendor.

Without this mod setup, Deceptious Commerce Core displays missing/broken items.

This can also be used to add custom items to existing vanilla vendor shops, by using the vanilla itemStock TweakDBID. (see example)

Setup (for modders):

Setup requires a .json file in the following folder:
bin\x64\plugins\cyber_engine_tweaks\mods\AdaptiveItemStock\json

Location in WolvenKit project:


The json format simply requires a json object for each item addition.
  • Set a unique name for the object ("my_custom_gun" in the example)(MUST be unique name).
  • Set "item" value in the object, this will be your item's TweakDBID
  • Set "vendorStock" to the vendor you are changing. If you are creating a commerce core mod, simple update the "XX" in the example to your vendor's number.
  • Mark this mod as a requirement for the vendor mod, otherwise items will not appear!

Example json:

(example_stock.json is available under miscellaneous files)

Once created, simply package the .json in the correct path with the full mod zip.

For commerce vendor mods, I recommend setting up your vendor .yaml to include exactly 1 item in the deceptious shop, I recommend a generic vanilla item. This is because the shop breaks if there are zero items in the stock list. Then this mod is used to load in the applicable mods via their individual json files. See my shop's .yaml and .json files for an example.