banner
Rating
Voted0

Adaptive item stock

0
Mod version:v1.0
Game version:all
The mod has been successfully tested for the absence of viruses
18149.86K471.38K

Report mod

  • image
modalImage

About This Mod

Adaptive inventory


Dynamically adds items to the seller's inventory lists. Compatible with (and designed for) Deceptious Commerce Core.


This allows clothing to be packaged in separate fashions and then loaded separately. This mod then adds specific items to the seller.


Without installing this mode, Deceptious Commerce Core displays missing/broken items.


It can also be used to add custom items to existing vanilla retailer stores using TweakDBID vanilla itemStock. (see example)


Installation (for modders):


The installation requires a .json file in the following location:

bin\x64\plugins\cyber_engine_tweaks\mods\AdaptiveItemStock\json


Location in the WolvenKit project:

image 1 for Adaptive Stock of Items


The json format simply requires a json object for each addition of an element.

Specify a unique name for the object (my_custom_gun in the example) (MUST be a unique name).

Set the value "item" in the object, it will be the TweakDBID of your subject.

Set the value to "vendorStock" for the salesperson being modified. If you're creating a mod for the core commerce, just update "XX" in the example to your salesperson's number.

Mark this mode as mandatory for the Vendor fashion, otherwise the goods will not appear!


Example json:

image 2 for Adaptive Stock of Items

(example_stock.json is available in miscellaneous files)


Once you've created it, simply package .json the way you want with a full zip fashion archive.


For sales mods, I recommend setting the seller's .yaml so that it includes exactly 1 item in a deceptive store, I recommend a generic vanilla item. This is necessary because the store will break if there are zero items on the product list. The mod is then used to download the corresponding mods through their separate json files. For an example, see my store's .yaml and .json files.

Similar Mods/Addons

Game Version *

all (AdaptiveItemStock-9172-1-0-1694843415.zip)