Starbound

Starbound

Not enough ratings
remove the instant food effects from betabound
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
1.670 MB
27 Oct, 2024 @ 1:26pm
27 Jun @ 6:11pm
4 Change Notes ( view )

Subscribe to download
remove the instant food effects from betabound

Description
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 Comments
MithranArkanere 28 May @ 10:48pm 
We put more mods in your mods so you can have more game in your game.
schneck  [author] 2 Nov, 2024 @ 12:44pm 
@Silver Sokolova I implemented this solution in the mod. Many thanks.
Silver Sokolova 28 Oct, 2024 @ 3:10am 
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