Cyberpunk 2077
0 of 0

File information

Last updated

Original upload

Created by

Sensei

Uploaded by

sensei27

Virus scan

Safe to use

About this mod

Upgrade Crafting, Upgrade, and Quickhack Components to next tier automatically.

Requirements
Permissions and credits
Changelogs
Donations
REQUIRES Cyber Engine Tweaks

----- Version 3 - Alternative Upgrade Costs -----
Whilst playing a Crafting focused character I realised that you actually get a steady reduction in crafting costs as your Crafting Level goes up which isn't explained anywhere so I did some digging and found that the game gives just over 0.5% cost reduction per crafting level above level 1 (and ignores the level 3, 4 and 11 perks which supposedly give 5% cost reduction at each of those crafting levels).

Of course, 0.5% won't make much of a difference to something that costs 10 to craft in the first place so I decided to change the code so it rolls a % chance for each component used to do the upgrade.

This means that if you are converting 10 Common to 1 Uncommon component, it will roll for each of the 10 components used and when it makes the roll it doesn't use the component.

So, for example, at Level 11 Crafting there is a 5.3% chance per component that it won't be used, so you might see something like:
AutoComponentUpgrade: 8x Common > 1x Uncommon 
(where the 5.3% chance was successfully rolled twice during the upgrade).

It's seamless and the net result is that as you level Crafting the upgrading will steadily get a little cheaper, which feels more satisfying as you level up. 

Using this method, the Cost Optimization perk, simply adds another 15% or 30% to that free chance, and Ex Nihilo adds 20%.

At level 20 with both Cost Optimization and Ex Nihilo, upgrading components will end up using 60% less components, on average, which is substantial. It will never be completely free (well, unless you get incredibly lucky), but the net result over time will be the same as with the Vanilla system.

Note, in order to counterbalance how powerful this can be I have also added a very small chance that you fumble and lose a component in the process, the chance is set at 0.25% but very occasionally you will see something like 11x Common > 1 Uncommon. Lovely RNG!

The original system (for those that prefer it) can be toggled back on in the init.lua by changing the following line to false:
useAltCost = true
-----  -----  -----  -----  -----  -----

ORIGINAL MOD DETAILS BELOW

Usage
Will automatically upgrade Crafting, Upgrade, and Quickhack components to next tier, at a ratio of 10x -> 1x (same as the Vanilla skill, Tune Up).

The mod will keep the following amount of components before upgrading.

             Crafting    Upgrade   Quickhack
Common     400      -       -
Uncommon   350      -      350
Rare       300     350     300
Epic       250     250     250


So, for example, once you reach 410 (400 + 10) Common Crafting components, it will convert 10 Common to 1 Uncommon Crafting component.


Max Limits
There are upper targets for upgrading components, at which point the mod won't upgrade any more. These levels are at:

                   Crafting     Upgrade    Quickhack
Max Rare       350       -       350
Max Epic       300      350      300
Max Legendary  250      250      250


All of these values can be edited in the init.lua.


Experience (XP)
By default, your character will receive XP at 50% the rate you would gain for using Tune Up. This changes to 100% if the character has unlocked Tune Up. The advantage of not requiring Crafting Lvl 16, and the ease of the automation seem to be a fair trade off.

This can be edited in the init.lua - see Advanced Options, below.


SKILLS - Tune-Up
By default, the mod works whether the character has the Tune-Up skill or not.

There is an option to turn on a requirement for the skill in the config file (see Advanced Options below). However, note, if this is changed then the mod will effectively be doing nothing until the character acquires that skill.


SKILLS - Cost Optimization and Ex Nihilo - these act differently in the AltCost system (see above)
If the character has unlocked these skills, they will be automatically applied to the auto convert process.

Cost Optimization reduces the upgrade ratio - to 9x -> 1x (at tier 1), and 7x -> 1x (at tier 2).

Ex Nihilo provides a 20% chance of a conversion being free, so with this perk unlocked you might start seeing conversions in the console like
Common x10 -> Uncommon x2(which implies that the first upgrade happened for free, so it simply did the upgrade again, yielding a total of 2 of the upgraded component).


Installation
If you are using Dehuman's Auto Upgrading Crafting Components mod then...

* *  REMOVE 'Auto Upgrading Crafting Components' BEFORE INSTALLING THIS MOD!  * *
(Also, if manually installing, delete 'db.sqlite3' and 'Auto Component Upgrade.log' in that directory - if you haven't deleted the directory.)


If not already using Dehuman's mod then, much more simply...

Extract the contents of the archive to your Cyberpunk directory, or use Vortex.

If using Vortex make sure you are running with 'Hardlink Deployment', not 'Symlink Deployment'. In order for Hardlink deployment to be available the Vortex Staging Folder must be on the same drive as your Cyberpunk installation.

No affect on save games, so enable/disable as you please.


Note
It won't convert while you are in combat, and will be paused during menus too (inventory, journal, etc).

Once you pick up any item, and immediately after combat, it will pause a little while (about 20 secs) before doing the conversion so that you can collect all the items in the local area. Predominantly, this is to stop spam in the CET console as it shows all the conversions in there.

Every time you pick up another item the timer will start again, but...

NB: money and ammo do NOT count as items as far as adding to inventory is concerned.



Advanced Options
Spoiler:  
Show



Author Notes
As is probably very obvious from all of the above: this is very much a continuation of the concept from Dehuman's Auto Upgrading Crafting Components. And huge thanks go to him/them for nudging me back into modding.

Thanks also to Psiberx, from the CET team, whose excellent GameUI utility I am now using to streamline the game state detection code. Fantastic work.

Anything that helps my addiction to gathering loot, keeps things relevant, but helps manage the pain of inventory management always feels like a good thing to me!


My Other Mods
Auto Med Upgrade - Upgrade spare Bounce Back and MaxDoc to next tier automatically
AutoHeal - Advanced Healing control
Better Vehicle Summon - Spawn Vehicle to Current Location (set and forget!)