Starbound

Starbound

评价数不足
remove the instant food effects from betabound
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
1.670 MB
2024 年 10 月 27 日 下午 1:26
6 月 27 日 下午 6:11
4 项改动说明 ( 查看 )

订阅以下载
remove the instant food effects from betabound

描述
This mod removes the 'foodheal', 'instant energy', and 'instant health' status effects from all vanilla and betabound foods. Requires Betabound! by Silver Sokolova.

Limitations:
1. If any mod, or combination of mods, that loads before betabound, adds status effects to any betabound or vanilla foods such that: the number of status effects on any given food, after betabound status effects were added, is greater than 20, this mod will not work on that food.
2. If any mod other than betabound adds any of the 'foodheal', 'instant energy', or 'instant health' status effects to any foods, this mod will not remove the effects added by that mod.
3 条留言
MithranArkanere 5 月 28 日 下午 10:48 
We put more mods in your mods so you can have more game in your game.
schneck  [作者] 2024 年 11 月 2 日 下午 12:44 
@Silver Sokolova I implemented this solution in the mod. Many thanks.
Silver Sokolova 2024 年 10 月 28 日 上午 3:10 
Hi! You can use test ops in patches to see if the item has a certain status effect and then remove only that

[
//check first effect
[{"op":"test","path":"/effects/0/0/effect","value":"sb_health"},{"op":"remove":"path":"/effects/0/0"}],
[{"op":"test","path":"/effects/0/0","value":"sb_health"},{"op":"remove":"path":"/effects/0/0"}],
//check second effect
[{"op":"test","path":"/effects/0/1/effect","value":"sb_health"},{"op":"remove":"path":"/effects/0/1"}],
[{"op":"test","path":"/effects/0/1","value":"sb_health"},{"op":"remove":"path":"/effects/0/1"}]
]
This will check if first or second status effect of the food is 'sb_health', and if so, remove it
You can check the third, etc status effect by changing the 2nd number

So you can make a single patch that checks, say, the first 10 status effects of an item for sb_health, then check the first 10 again for sb_energy, sb_restoration (restores both health and energy), and sb_foodheal, and then use the patch for every item. it should work