Searched refs:getHunger (Results 1 – 11 of 11) sorted by relevance
/dports/games/opendungeons/OpenDungeons-0.7.1/source/creaturemood/ |
H A D | CreatureMoodHunger.cpp | 49 int32_t hunger = static_cast<int32_t>(creature.getHunger()); in computeMood()
|
/dports/games/opendungeons/OpenDungeons-0.7.1/source/creatureaction/ |
H A D | CreatureActionUseRoom.cpp | 154 if (Random::Double(70.0, 80.0) < creature.getHunger()) in handleJob()
|
H A D | CreatureActionSearchJob.cpp | 99 if (Random::Double(70.0, 80.0) < creature.getHunger()) in handleSearchJob()
|
/dports/games/scourge/scourge/src/events/ |
H A D | thirsthungerevent.cpp | 42 hunger = creature->getHunger(); in execute()
|
/dports/games/scourge/scourge/src/ |
H A D | portrait.cpp | 444 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 D | creature.h | 609 inline int getHunger() { in getHunger() function
|
H A D | creature.cpp | 1094 if ( getHunger() == 10 ) { in eatDrink() 1103 setHunger( getHunger() + level ); in eatDrink() 1663 if ( getHunger() < 5 ) setHunger( 5 ); in resurrect()
|
H A D | scourge.cpp | 2629 …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 D | Creature.h | 428 inline double getHunger() const in getHunger() function
|
H A D | Creature.cpp | 3224 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 D | sqcreature.cpp | 228 sq_pushinteger( vm, object->getHunger() ); in _getHunger()
|