Fix food degradation for Eitr#769
Open
shawnwallace wants to merge 3 commits intovalheimPlus:developmentfrom
Open
Fix food degradation for Eitr#769shawnwallace wants to merge 3 commits intovalheimPlus:developmentfrom
shawnwallace wants to merge 3 commits intovalheimPlus:developmentfrom
Conversation
Fix food degradation for eitr.
Uses the same mechanics as the other "smelters", except with different materials.
This reverts commit 3f9d35c.
herrhamilton
reviewed
Jun 4, 2023
| { | ||
| il.Insert(++i, new CodeInstruction(OpCodes.Ldfld, field_SharedData_m_foodStamina)); | ||
| } | ||
| else |
There was a problem hiding this comment.
Probably put this in an else if (loads_eitr) and have some sort of error handling for everything else (which should be nothing for now, but if at some point something gets added or changed we would see this)
(I stumbled upon this by chance and have not been contributing to Valheim+ yet, so please see my comment with a grain of salt because you know and understand this code much better!)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This update the food degradation prevention to include foods that provide Eitr.