Auto Upgrading Crafting Components
Automatically upgrades crafting materials every 60 seconds based off of vanilla 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
https://www.cyberpunk2077mod.com/cyber-engine-tweaks/
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) 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 500 common, 400 uncommon, 300 rare and 200 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 590+ 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 as if you’d manually upgraded them.
Experimental Feature: Auto conversion of Upgrade Components.
I’m marking this as experimental, and have it turned off by default because the upgrading side of crafting isn’t something I’ve really dabbled in, so I’m totally unsure on what thresholds to set. 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.
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.
Notes
– The script will only convert 90 of each component every 60 seconds, 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 at all familiar with .lua scripting so the coding is probably a bit rough!