Starbound

Starbound

Borderlands 2 Random and Unique Shields
 此主题已被置顶,因此可能具有重要性
FelmastProMcLane  [开发者] 2022 年 1 月 18 日 下午 3:09
How to make an addon update the shield item tooltips.
A new way to update the items is now available:
To force an update when your mod is installed/uninstalled do this:
  • create a file called "base.config.patch" inside "/scripts/blshieldconfig"
  • Inside "base.config.patch" put this code:
    [ [ { "op" : "test", "path" : "/blshieldaddons" }, { "op" : "add", "path" : "/blshieldaddons/-", "value" : ###### } ] ]
  • Replace the ###### with a random number, if possible make it random.

After that, the shields will recognize that there is a new addon installed and will update.

Added "displayName" tag in "manufacturers.config" so that you can change the name without breaking the shields.
< >
正在显示第 1 - 2 条,共 2 条留言
ATTA 2022 年 1 月 18 日 下午 6:52 
OHHHHHHH
So many thanks to u
This is really a wonderful solution
FelmastProMcLane  [开发者] 2022 年 1 月 18 日 下午 7:24 
It was thanks to you!
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50