Jump to content

Unused lipids/protein code


trombonaught

Recommended Posts

Hey gang, not sure if this is intentional or not so thought I'd submit it just in case.

 

Line 3324 of IsoGameCharacter.class checks for lipids and proteins to see if it should apply an endurance regen debuff. Problem is, based on clamps in the "setLipids" and "setProteins" methods in Nutrition.class, these values will never be reached. Checking starts at -1000, but clamps make sure they never fall below -500. 

 

I would LOVE to see this code be used, because right now low fat/protein is very inconsequential (protein strength exp debuff aside). As a masochist, I would love the punishment of low endurance for being malnourished.

 

Would be curious to know if that's something that's a bug, old functionality that's been dropped, or new functionality for later release (if that's something that can be shared).

 

Cheers all.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...