git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3204 c06c8d41-db1a-0410-9941-cceddc491573
7F557LW23VUXRRVQLNL7MKECGJGPPFVVEMEZUXXYNNOYC4635HVAC
int you_max_hunger()
{
// this case shouldn't actually happen:
if (you.is_undead == US_UNDEAD)
return 6000;
// take care of ghouls - they can never be 'full'
if (you.species == SP_GHOUL)
return 6999;
// vampires can never be engorged
if (you.species == SP_VAMPIRE)
return 10999;
return 40000;
}
int you_min_hunger()
{
// this case shouldn't actually happen:
if (you.is_undead == US_UNDEAD)
return 6000;
// vampires can never starve to death
if (you.species == SP_VAMPIRE)
return 701;
return 0;
}