Starbound

Starbound

Progressive Upgrades - Script
Showing 1-3 of 3 entries
Update: 23 Oct, 2022 @ 2:16pm

Version 1.2

Changes:
  • The "upgradeToLevel" parameter will now respect level offsets. Whoops!

Update: 1 Dec, 2021 @ 3:20pm

Version 1.1

Changes:
  • Instead of continually appending stars, now does one star with a multiplier (more compact for heavily-upgraded weapons); the multiplier only appears if there would be more than one star.
  • Item list now uses name from parameters (if available) instead of config, so you can tell if you're upgrading an already-upgraded weapon without having to check the essence cost.
  • Uses a more efficient compare function so that items with lots of parameters shouldn't break the script so easily.
  • Now checks "minUpgradeLevel" config parameter, so you can make an upgrade anvil that will only upgrade weapons that are already a certain level.
  • Now checks "upgradeToLevel" config parameter; if true, it behaves like the vanilla anvil, only with the level offsets and other features of this script.
  • upgradeParameters can now be obtained from the item's parameters, allowing modders to make "gradual" upgrades.
  • For consistency between upgrading items with "upgradeToLevel" and without, if "upgradeToLevel" is enabled, the star count will increase by the total number of levels, and upgradeParameters will be repeatedly applied (if there are nested upgradeParameters at all) for each level increase.

Update: 8 Apr, 2021 @ 3:47pm