Cyberpunk 2077
0 of 0

File information

Last updated

Original upload

Created by

Dehuman - Sinbane on other platforms - Idea inspired by tehgonk

Uploaded by

Dehuman

Virus scan

Safe to use

Tags for this mod

About this mod

Automatically upgrades crafting components based off of vanilla or custom conversion rates
Optionally also upgrades Upgrade Components

An automated alternative to tehgonk's Batch Upgrade Crafting Materials

Requirements
Permissions and credits
Changelogs
OUTDATED, PLEASE USE SENSEI27'S Auto Component Upgrade

Spoiler:  
Show
Automatically upgrades crafting materials every 60 seconds based off of vanilla or configurable conversion rates.
I made this as an alternative to tehgonk's Batch Upgrade Crafting Materials - if you'd prefer a hotkey solution rather than automation, check it out! At the very least download it and endorse if you find this useful, without it, I wouldn't have found the insight needed to create this.

Installing
Requires Cyber Engine Tweaks

Use Vortex
-or-
Drop the downloaded folder into your main Cyberpunk directory.

Usage
Note: by vanilla conversion rates I mean this is only taking into account the rates by having only the tune up perk (the perk required to upgrade components manually) See the configuration section below to change the rates to your own liking. Also this script works even without the perk. Until I'm aware of a way of checking if the player actually has the perk, this won't change, so if you're worried about "cheating" as such, only install after you gain the perk.

This configurable script runs automatically every 60 seconds and checks if you have a certain number of components over a threshold and automatically upgrades some to the next tier.

By default it will always make sure you have a minimum of 400 common, 350 uncommon, 300 rare and 250 epic components.
It will auto-upgrade every stack of 90 by default (as per the vanilla conversion rate of 9:1) over the threshold into a stack of 10 of the next quality tier.
So for example when you hit 490+ common components, 90 of them are turned into 10 uncommon components and so on.

In doing so it will, by default, grant you the same crafting experience you would earn as if you'd manually upgraded them. 

Configuration
Now, people like different settings so instead of me uploading a ton of different versions feel free to open the "init.lua" within the downloaded folder and edit the variables to your own liking.

So far it's easy enough to change how many components from the lower quality tier get removed, how many of the higher quality tier get added, the limit thresholds to always have on hand for each tier and how much experience is gained per conversion.

Thanks to HiON, you can also toggle whether you have the "Ex Nihilo" perk, granting a 20% chance to upgrade components for free - Disabled by default!

-- Upper limits
As of v1.2 there is an upper limit maximum added to both legendary and epic components. 200 for legendary and 400 for epic (both of these can be changed to your own taste).
Basically this means when you hit 200 legendary components, epic's will no longer be auto upgraded, same for epic components when they reach the cap of 400. The legendary cap has priority over the epic cap, so say for example you're over the epic cap but below the legendary cap, they will still be upgraded until the legendary cap has been met or exceeded.
The idea here being that rare/epic components are far more costly in crafting than legendary components, so by implementing this cap, you can still have enough rare/epic components.
Credit to LuxDragon for the idea!

-- Optional Feature: Auto conversion of Upgrade Components (the OTHER components, the ones you use in the upgrade tab)
Turned off by default because this isn't something the tune up perk allows by default. If enabled it will upgrade Upgrade Components using the same conversion rates as normal materials (components required and experience gained).
Can be enabled by changing doUpgradeComp to true.
Also, the upgrading side of crafting isn't something I've really dabbled in, so I'm totally unsure whether the default values limits are realistic.

Notes
- The script will only convert 90 of each component every 60 seconds while the game is not paused or in a menu, so loading this onto a save game where you may have thousands of lower quality tier components may cause a bit of experience spam every time it runs and it will also take some time to convert every component.

- I'm not really familiar with .lua scripting so the coding is probably a bit rough!


Credits
- Again, tehgonk's Batch Upgrade Crafting Materials - an alternative if you prefer using a hotkey rather than it being automated.
- andwhat112's Simplified Inventory which gave me inspiration.
HiON for adding the functionality of the Ex Nihilo perk