Home
last modified time | relevance | path

Searched refs:getHunger (Results 1 – 11 of 11) sorted by relevance

/dports/games/opendungeons/OpenDungeons-0.7.1/source/creaturemood/
H A DCreatureMoodHunger.cpp49 int32_t hunger = static_cast<int32_t>(creature.getHunger()); in computeMood()
/dports/games/opendungeons/OpenDungeons-0.7.1/source/creatureaction/
H A DCreatureActionUseRoom.cpp154 if (Random::Double(70.0, 80.0) < creature.getHunger()) in handleJob()
H A DCreatureActionSearchJob.cpp99 if (Random::Double(70.0, 80.0) < creature.getHunger()) in handleSearchJob()
/dports/games/scourge/scourge/src/events/
H A Dthirsthungerevent.cpp42 hunger = creature->getHunger(); in execute()
/dports/games/scourge/scourge/src/
H A Dportrait.cpp444 drawBar( 100, y - 10, creature->getHunger(), 10 ); in showStateMods()
445 pcUi->getScourge()->getSDLHandler()->texPrint( 215, y, "%d/%d", creature->getHunger(), 10 ); in showStateMods()
H A Dcreature.h609 inline int getHunger() { in getHunger() function
H A Dcreature.cpp1094 if ( getHunger() == 10 ) { in eatDrink()
1103 setHunger( getHunger() + level ); in eatDrink()
1663 if ( getHunger() < 5 ) setHunger( 5 ); in resurrect()
H A Dscourge.cpp2629 …otect && stateMod == StateMod::STATE_MOD_COUNT + 1 && p->isPartyMember() && p->getHunger() <= 5 ) { in getStateModIcon()
2632 if ( p->getHunger() <= 3 ) { in getStateModIcon()
/dports/games/opendungeons/OpenDungeons-0.7.1/source/entities/
H A DCreature.h428 inline double getHunger() const in getHunger() function
H A DCreature.cpp3224 if (forced && getHunger() < 5.0) in needsToEat()
3227 if (!forced && (getHunger() <= Random::Double(0.0, 15.0))) in needsToEat()
/dports/games/scourge/scourge/src/sqbinding/
H A Dsqcreature.cpp228 sq_pushinteger( vm, object->getHunger() ); in _getHunger()