46 for (i = -1; i < 11; i++)
80 return GetCompEM() && GetCompEM().IsWorking();
88 if (GetHierarchyRoot())
93 pb.MapNavigationItemInPossession(
this);
102 if (GetHierarchyRoot())
107 pb.MapNavigationItemNotInPossession(
this);
112 override void OnWork(
float consumed_energy)
126 string selectionName;
145 string selectionName;
163 int idx = GetHiddenSelectionIndex(selection);
181 Battery9V.Cast(GetInventory().CreateInInventory(
"Battery9V"));
void AddAction(typename actionName)
void MapNavigationBehaviour(PlayerBase pPlayer, EMapNavigationType pNavigationType=EMapNavigationType.BASIC)
override void OnDebugSpawn()
protected ref set< string > m_DisplayAltSelections
const string ANIM_PHASE_DISPLAY_HIDE
protected void UpdateDisplayState(bool pIsTurnedOn)
protected ref array< int > m_AltitudeNumbersLast
protected void UpdateDisplayElevation()
override void OnWorkStop()
protected ref array< int > m_OrderedPositionNumbersLast
cache
protected void UpdateDisplayPosition()
protected ref set< string > m_DisplayGridSelections
protected void PositionalUpdate()
override bool IsTurnedOn()
override void OnWork(float consumed_energy)
protected int GetHiddenSelection(string selection)
override void OnMovedInsideCargo(EntityAI container)
need to be overriden, otherwise the item will be turned off when moved to cargo
override void OnWorkStart()
protected ref map< int, string > m_DisplayNumericSignTextureMap
override void SetActions()
const string DISPLAY_TEXTURE_PATH_FORMAT
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
const int INDEX_NOT_FOUND
static proto string Format(string fmt, void param1=NULL, void param2=NULL, void param3=NULL, void param4=NULL, void param5=NULL, void param6=NULL, void param7=NULL, void param8=NULL, void param9=NULL)
Gets n-th character from string.