required version 0.3.4 (0.2.2 tested with 0.4.2) (0.3 tested with 0.5 and 0.5.8)
Permissions and credits
Credits and distribution permission
Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
Upload permissionYou can upload this file to other sites but you must credit me as the creator of the file
Modification permissionYou are allowed to modify my files and release bug fixes or improve on the features so long as you credit me as the original creator
Conversion permissionYou can convert this file to work with other games as long as you credit me as the creator of the file
Asset use permissionYou are allowed to use the assets in this file without permission as long as you credit me
Asset use permission in mods/files that are being soldYou are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou are allowed to earn Donation Points for your mods if they use my assets
Author notes
This author has not provided any additional notes regarding file permissions
File credits
Again thanks to Melonface for their Constant Upgrade Cost mod, it inspired me to make this.
Donation Points system
This mod is not opted-in to receive Donation Points
Changelogs
Version 0.3
Refactored code, tested with redscript 0.5 and patch 1.5
Version 0.2.2
Made to work with redscript 0.4.2
Version 0.2
Added two types of upgrade item cost calculation, exponential and a combination of exponential and linear.
Version 0.1
First publish, script takes the current level of item, divides it by 51, adds 1 and uses that for the calculation of the upgrade cost based on the default item quality cost
Does not work on the new 2.0+ patch Mod is probably no longer necessary
It always bugged me that the early Legendaries I found cost a zillion to be upgraded to max level where you can create a new levelled item for a fraction of that cost. So I made this to be a bit more realistic, it now uses the current item level for the calculation instead of the number of times upgraded. You should be able to spend much less fully upgrading that low level Legendary item you like, all the while spending more on upgrading your higher level gear.
You need only one of the files (Linear, Exponential or Combination), choose one that fits your needs.
Linear: Current cost progression is linear with step increase approximately every 5 item levels (game has a weird calculation of item level so I found a simple calculation that works for this purpose).
Exponential: Cost progression is exponential where early levels are really cheap to upgrade and later ones jump... exponentially :D
Combination: The cost progression is exponential up until level 35 where it switches to a linear progression where every level will be more expensive than the last one.
WARNING: Incompatible with mods that modify GetItemFinalUpgradeCost function in CraftingSystem
Tested, works on v1.61 of the game Mod requires redscript 0.3.4 to work (mod version 0.3 works with redscript 0.5.8).