3 protected const int STUFFED_TRESHOLD =
PlayerConstants.BT_STOMACH_VOLUME_LVL3;
12 override void OnTick(
PlayerBase player,
float deltaT)
17 override bool ActivateCondition(
PlayerBase player)
19 float stomach = player.m_PlayerStomach.GetStomachVolume();
20 if ( stomach >= STUFFED_TRESHOLD )
32 if( player.GetNotifiersManager() )
34 player.GetNotifiersManager().ActivateByType(
eNotifiers.NTF_STUFFED);
40 if( player.GetNotifiersManager() )
42 player.GetNotifiersManager().DeactivateByType(
eNotifiers.NTF_STUFFED);
46 override bool DeactivateCondition(
PlayerBase player)
48 return !ActivateCondition(player);