Cyberpunk 2077
0 of 0

File information

Last updated

Original upload

Created by

Darkelf44

Uploaded by

darkelf44

Virus scan

Safe to use

Tags for this mod

About this mod

This is just a python script that creates Virtual Atelier Stores for the items added to the game by Tweak XL. It's a nice way to have access to all your modded items in a single store, with the same pricing, instead of having to "cheat in" modded items with commands.

Requirements
Permissions and credits
Changelogs
Usage:

  • Install Python 3.7 or later, if you haven't done already.
  • Install PyYaml, if you haven't done already. This is usually done by the "pip install pyyaml" command
  • Extract the mod files into the root your Cyberpunk installation folder (this is where the "bin", "archive" and "r6" folders are located).
  • Edit the "StoreGenerator.yaml" file to make changes to the generated store.
  • Run the "StoreGenerator.py" script to generate the stores. By default this should create the "r6\scripts\ImperialImports-atelier-store.reds" file.
  • Play the game, and use your new store!
  • Each time you add a new mod that adds new items into the game, you need to re-run the "StoreGenerator.py" script to update the stores

Configuration:

The "StoreGenerator.yaml" file contains the configuration on what files to scan, and what stores to create. By default the script generates a single store called "Imperial Imports", that contains all the Tweak XL item definitions it can find. 

  • You can add new stores, by copying the "Imperial Imports" record and changing its name, and its "filename" fields.
  • You can edit the "sources" list to change what files are scanned for items to create the store. The default values ("r6/tweaks/*.yml", "r6/tweaks/*.yaml") include all Tweak XL files.
  • You can edit the "filters" list to change what kind of items are included in the store. For example, you can restrict the stores inventory to headwear and footwear by setting the filters to "$base:Items.GenericHeadClothing" and "$base:Items.GenericFootClothing" or to any clothing item (except outfits) by setting it to "$base:Items.Generic*Clothing".
  • You can change the price and supply of items by editing the "pricing" and "supply" entries. Each price is an array of 5 values, for each rarity from common to legendary.
  • Setting the price of anything to 0 (or below) will instead use the built in pricing of the Virtual Atelier Store.

Updates:

  • Version 1.2.0 - Both the "sources" and "filters" fields in "StoreGenerator.yaml" now support prefixing the value with "ANY:", "ALL:" or "NOT:". If no prefix is given the default is "ANY:". Items need to match one of the "ANY:" prefixes (if there is any), all of the "ALL:" prefixes, and none of the "NOT:" prefixes.
  • Version 1.3.0 - The quality (legendary, epic, rare etc.) of the items a store sells can now be configured with the "qualities" list under the "supply" section. Multiple values can be added top the list, in which case the store will sell multiple quality levels of the same item. The accepted values are Common, Uncommon, Rare, Epic, Legendary and Default, with Default being the origial quality level of the item set by the modder.