42 for (
i = -1;
i < 11;
i++)
74 return GetCompEM() && GetCompEM().IsWorking();
82 if (GetHierarchyRoot())
86 pb.MapNavigationItemInPossession(
this);
94 if (GetHierarchyRoot())
98 pb.MapNavigationItemNotInPossession(
this);
153 int idx = GetHiddenSelectionIndex(selection);
167 Battery9V.Cast(GetInventory().CreateInInventory(
"Battery9V"));
void AddAction(typename actionName)
void MapNavigationBehaviour(PlayerBase pPlayer, EMapNavigationType pNavigationType=EMapNavigationType.BASIC)
ref map< int, string > m_DisplayNumericSignTextureMap
int GetHiddenSelection(string selection)
const string ANIM_PHASE_DISPLAY_HIDE
void UpdateDisplayState(bool pIsTurnedOn)
ref array< int > m_AltitudeNumbersLast
override void OnDebugSpawn()
override void OnWork(float consumed_energy)
void UpdateDisplayElevation()
ref set< string > m_DisplayAltSelections
void UpdateDisplayPosition()
const string DISPLAY_TEXTURE_PATH_FORMAT
override void OnWorkStart()
ref set< string > m_DisplayGridSelections
override bool IsTurnedOn()
override void SetActions()
override void OnMovedInsideCargo(EntityAI container)
need to be overriden, otherwise the item will be turned off when moved to cargo
ref array< int > m_OrderedPositionNumbersLast
cache
override void OnWorkStop()
const int INDEX_NOT_FOUND