Cyberpunk 2077
0 of 0

File information

Last updated

Original upload

Created by

Mathiew

Uploaded by

MrCoby220

Virus scan

Safe to use

About this mod

Street vendors will now trade with you, and trade overhauls.

Requirements
Permissions and credits
Changelogs
Donations
!!! Version 1.2.0 and higher requires Redscript !!!

Welcome to the Street Vendors Mod.

This mod allows you to trade with most of the street vendors you will encounter in Night City!

GitHub
You can edit this mod on the offical github page!
Mod source code https://github.com/MathiewMay/Street-Vendors

Manual installation process
To install this mod you will first need to install the Redscript mod.

Once installed, download and extract the Street Vendors Mod zip file to your game's root directory.

If you have the game on steam the root directory will be located at
"C:\Program Files (x86)\Steam\steamapps\common\Cyberpunk 2077" or "$HOME/.local/share/Steam/steamapps/common/Cyberpunk 2077"
If you have the game on the Epic Games store the root directory will be located at "C:\Program Files\Epic Games\Cyberpunk 2077"
If you have the game on the GOG Galaxy Launcher the root directory will be located at "C:\Program Files\GOG Galaxy\Games\Cyberpunk 2077"
These location may be differant if you chose to install the game in a different directory.

Need help?
Join the official Cyberpunk 2077 Modding Community Discord Here

Support
If you like my mod and feel generous, don't hesistate to buy me a coffee.


Special Thanks
keanuWheeze - help with interaction prompts.

Showcase


Q&A
Q: How do I trade with a street vendor?
A: To trade with a vendor you need to be looking at them within a ~3 meters radius and press the primary action key.

If you like the mod please share it and endorse the page! if you have suggestions, questions, or find bugs please post them in the posts and bugs sections. I will be reading all of them. enjoy!

For Developers
With update 1.2.5 you can now modify or add your own items that street vendors can sell in your mod using the IGS (Inventory Generation System).

Street Vendors now add a new class called igsPool, this class is used to define what each type of vendor can sell, it has some basic properties.
igsPool.vendorTypeTarget: gamedataVendorType (define which vendor type this igsPool will be applied to)
igsPool.itemPool: array<String> (define which items are part of the base pool)
igsPool.poolQuantityMin: Int32 (define the minimum ammount of items the new randomly generated pool can contain)
igsPool.poolQuantityMax: Int32 (define the maximum ammount of items the new randomly generated pool can contain)
igsPool.itemQuantityMin: Int32 (each item in the new pool will have a quantity that is for sale, this defines the minimum it can be)
igsPool.itemQuantityMax: Int32 (each item in the new pool will have a quantity that is for sale, this defines the maximum it can be)

In addidtion there is also a public static function that is available to easly create igsPools.
let myPool = CreateIGSPool(vendorTypeTarget, itemPool, poolQuantityMin, poolQuantityMax, itemQuantityMin, itemQuantityMax);

Once you have created your igsPool you need to initialize it using this public static function.
InitNewIGSPool(gameInstance, isgPool);

Here are examples.
(Redscript)
let ClothingVendorPool = ["Items.MyClothing01"];

let myClothingIGSPool = CreateIGSPool(gamedataVendorType.Clothing, ClothingVendorPool, 1, 1, 4, 8);
InitNewIGSPool(gameInstance, myClothingIGSPool);
(Cyber Engine Tweaks)
local ClothingVendorPool = {"Items.MyClothing01"}

local myClothingIGSPool = CreateIGSPool(gamedataVendorType.Clothing, ClothingVendorPool, 1, 1, 4, 8)
InitNewIGSPool(gameInstance, myClothingIGSPool)