Skip to content

Conversation

@shawnwallace
Copy link

This update the food degradation prevention to include foods that provide Eitr.

Fix food degradation for eitr.
Uses the same mechanics as the other "smelters", except with different materials.
Copy link
Contributor

@healiha healiha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@Grantapher
Copy link

{
il.Insert(++i, new CodeInstruction(OpCodes.Ldfld, field_SharedData_m_foodStamina));
}
else

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants