I've tested this as much as I can on my own and I haven't gotten any stats stuck from food under circumstances which I would expect such to occur. If you get stuck stats from food with this file active then please let me know so I can try to figure out what else I may have missed about it, or at least hide the file so I do not mislead others and so I can minimize my shame. Thank you.
You can see if you're affected by the food bug by doing the following: 1) Remove all equipment, clothing items, and so on. Make sure that no buffs from chems, non-bugged food, etc. are on you. 2) Go into the console and enter "player.getvalueinfo [AVIF]" where [AVIF] is the code of the actor value (stat) you suspect is bugged. For most actor values the AVIF will be the name of the stat with any spaces removed, e. g. Strength is "Strength" Carry Weight is "CarryWeight" etc. 3) The console will print out some info on the actor value, including a list of modifiers to the actor value named "Temp," "Perm," and "Damage." If you have no equipment, no perks or buffs affecting the stat, and a non-zero value after "Temp," or "Perm" in the case of SPECIAL buffs, then you're probably affected. Make sure to consider any effects like "Well Rested" which might show up as modifiers.
I haven't encountered anything that shows up as "Damage" and gets stuck, but I wouldn't discount the possibility, especially in the case of the Perception/Agility poison bug, which occurs for a similar reason. I've personally never had that bug, so I haven't been able to check.
I "think" I have encountered this bug but I'm not sure if I am understanding the description to know for sure if I fall into this category.. so basically in my game food seems to no longer do anything for my hunger. I can eat 100 radstag steaks and I am still hungry. I even used the survival stats widget to see if I could see a change and the percentage never changes when I eat something. Thirst still seems to function normally. Is this the bug or have I encountered something else? Does this mod address this problem?
EDIT: To be clear, I have no debuffs other than the one from being hungry. No illnesses or anything to speak of.
Follow up: This did not seem to resolve my issue so I probably misunderstood what this workaround is supposed to fix. Food still replenishes no hunger in any of my saves, or even a new save so I may just have to reinstall the game and test each mod that affects survival mode/food one at a time.
your character probably has a parasite, something that comes with survival mode. you may have a stomach worm making you feel hungry all the time, the same way someone with a tapeworm IRL would feel.
Those show up as a debuff in the status screen. My character had no debuffs whatsoever. It ended up being an incompatibility with Horizon and a difficulty options mod (Don't remember which one unfortunately). Getting rid of the difficulty mod resolved the issue. I've since started playing with only using the Architect plugin for Horizon as I prefer the architect part of Horizon without all of the other changes and I then use custom difficulty mods.
I am on xbox and installed this mod as well as the "Fix Permanent Food Buffs in Survival" mod. I've tried to use the Diseased Grilled Radstag to debuff my carry weight by 25 using the instructions in the "How to trigger the bug" section but then realized the "Survival Food Bug Workaround" mod was countering the bug I was trying to use to debuff my carry weight. I then disabled the "Survival Food Bug Workaround" mod but the bug to debuff my carry weight is still not remaining permanent.
Any thoughts on what I may be doing wrong? Thanks for your help and for making this mod.
I believe this has been addressed in the "Unofficial Fallout 4 Patch"' as of the current update. Thanks to the help of this mod's Dev (I believe). https://www.nexusmods.com/fallout4/mods/4598/
1/3 of the players don't have the DLC required for the patch and a good percentage claim the patch is bad news. I think more than half of us are not on the patch so it's not an alternative for this mod. Countless players submitted data and assisted with the patch and you need to include that if you are to give credit. When you give credit for all the patch does don't forget to say this dev and LOTS LOTS LOTS of other players.
I'd like to tell you that the mod only works partially.
i still got permanent buff bugs when using this, just not from bufftats and grilled queen meat etc. anymore it seems.
let me explain, a long long time ago i discovered that some legendary armor stats like fortifying and a few others that enhance charisma and agility can and will get stuck on the player character (actually not really a buff that is stuck, but more like the buff becomes a semi basestat) too when you sleep with drugs or meat active, and if you then de-equip the armor, you get a permanent debuff. So that means you'd have to keep the armor bits on you to keep your basestats whenever you slept with drugs active. This mod doesn't fix that problem either.
The only thing that fixes it is to remove all special buffs from food and drugs sadly. then this bug will never occur. So i just made a mod that takes all the special buffs of food and drugs, and replaced it with higher damage reduction and such so it is still interesting to use them.
It's extremely stupid from bethesda that they never fixed this, it's in a piece of hardcoded script, and probably only someone with F4SE C++ knowledge can fix this since Beth will never do it, it needs to be hacked in the executables code.
I found a long time ago that there are other special stat enhancers that buff special stats, and replacing the avif from food to drugs ones solved the problem for food way back when, but it doesn't seem to work anymore for some reason, probably a update later than 1.9.4 ruined that option too. Since nowadays i switched to my steam version again, i refused to update after 1.9.4 for a long time and never had the problem there after i fixed it, but with the current game version it seems that literally nothing you do can fix this behaviour entirely other than removing the food and drugs buffs alltogether.
I've gone through several Survival playthroughs with this mod enabled, and as far as I can tell it works just as intended. I'd say this is obligatory for anyone who plays in that mod.
Hey man, thanks for making this mod! Please can I check what you mean by "a moment of a food's effect, including a bit of healing"? Does it mean you'll get a small instant amount of HP as opposed to a larger amount of HP over a fixed amount of time (which can vary between consumables) say like 15-30 seconds?
Feel free to scratch the 'Maybe'. I'm a few hundred hours deep across three survival playthroughs and my stats are pristine despite doing exactly what would cause the food buffs to stick under normal circumstances (letting them expire while sleeping or using radaway).
Thanks for sharing the fix! Downloading as we speak and will try it out and report back after some play time.
Edit: So far it seems to work. First spent 4 days feasting, drinking and sleeping, generally being an enormous hedonist, I don't seem to be running into any stuck food effects, tested it with the easiest stuff to notice like mirelurk queen steaks and the other foods that just add points to special stats. Then played normal for a bit and haven't run into any stuck food buffs from normal survival gameplay. Then I accidentally jumped off a cliff and lost a chunk of that playtime, but the food fix seems to work perfectly! Thanks again for sharing this fix!
Wondering what would happen if you set spell duration to -0.01 instead of 0.00.Might fix it all together (without the small side effect). I will try and let you know.
edit: Sadly does't work. I was hoping it would skip initial buff that way. Still a good fix. It was setting the global and this was the problem. Good catch. Id rather get a (very) few hit points for free than have my char corrupted.
31 comments
You can see if you're affected by the food bug by doing the following:
1) Remove all equipment, clothing items, and so on. Make sure that no buffs from chems, non-bugged food, etc. are on you.
2) Go into the console and enter "player.getvalueinfo [AVIF]" where [AVIF] is the code of the actor value (stat) you suspect is bugged. For most actor values the AVIF will be the name of the stat with any spaces removed, e. g. Strength is "Strength" Carry Weight is "CarryWeight" etc.
3) The console will print out some info on the actor value, including a list of modifiers to the actor value named "Temp," "Perm," and "Damage." If you have no equipment, no perks or buffs affecting the stat, and a non-zero value after "Temp," or "Perm" in the case of SPECIAL buffs, then you're probably affected. Make sure to consider any effects like "Well Rested" which might show up as modifiers.
I haven't encountered anything that shows up as "Damage" and gets stuck, but I wouldn't discount the possibility, especially in the case of the Perception/Agility poison bug, which occurs for a similar reason. I've personally never had that bug, so I haven't been able to check.
EDIT: To be clear, I have no debuffs other than the one from being hungry. No illnesses or anything to speak of.
Any thoughts on what I may be doing wrong? Thanks for your help and for making this mod.
i still got permanent buff bugs when using this, just not from bufftats and grilled queen meat etc. anymore it seems.
let me explain, a long long time ago i discovered that some legendary armor stats like fortifying and a few others that enhance charisma and agility can and will get stuck on the player character (actually not really a buff that is stuck, but more like the buff becomes a semi basestat) too when you sleep with drugs or meat active, and if you then de-equip the armor, you get a permanent debuff.
So that means you'd have to keep the armor bits on you to keep your basestats whenever you slept with drugs active.
This mod doesn't fix that problem either.
The only thing that fixes it is to remove all special buffs from food and drugs sadly. then this bug will never occur.
So i just made a mod that takes all the special buffs of food and drugs, and replaced it with higher damage reduction and such so it is still interesting to use them.
It's extremely stupid from bethesda that they never fixed this, it's in a piece of hardcoded script, and probably only someone with F4SE C++ knowledge can fix this since Beth will never do it, it needs to be hacked in the executables code.
I found a long time ago that there are other special stat enhancers that buff special stats, and replacing the avif from food to drugs ones solved the problem for food way back when, but it doesn't seem to work anymore for some reason, probably a update later than 1.9.4 ruined that option too.
Since nowadays i switched to my steam version again, i refused to update after 1.9.4 for a long time and never had the problem there after i fixed it, but with the current game version it seems that literally nothing you do can fix this behaviour entirely other than removing the food and drugs buffs alltogether.
Thanks!
Edit: So far it seems to work. First spent 4 days feasting, drinking and sleeping, generally being an enormous hedonist, I don't seem to be running into any stuck food effects, tested it with the easiest stuff to notice like mirelurk queen steaks and the other foods that just add points to special stats. Then played normal for a bit and haven't run into any stuck food buffs from normal survival gameplay. Then I accidentally jumped off a cliff and lost a chunk of that playtime, but the food fix seems to work perfectly! Thanks again for sharing this fix!
edit: Sadly does't work. I was hoping it would skip initial buff that way. Still a good fix. It was setting the global and this was the problem. Good catch. Id rather get a (very) few hit points for free than have my char corrupted.