См. определение в файле ActionFillObject.c строка 46
47 {
48 if ( player.IsPlacingLocal() )
49 return false;
50
51 HescoBox hesco;
52 if ( Class.CastTo(hesco,target.GetObject()) )
53 {
54 if ( hesco.CanBeFilledAtPosition( player.GetPosition() ) )
55 {
56 if ( hesco.GetState() == HescoBox.UNFOLDED )
57 {
59 return true;
60 }
61 else if( hesco.GetState() == HescoBox.FILLED)
62 {
64 return true;
65 }
66 }
67 }
68
69 return false;
70 }
Перекрестные ссылки ActionTarget, Class::CastTo(), EMPTY, FILLED и m_ActionState.