44 if (
light.HasEnergyManager() &&
light.GetCompEM().CanSwitchOff())
59 if (
light.HasEnergyManager())
61 if (
light.GetCompEM().IsSwitchedOn())
62 light.GetCompEM().SwitchOff();
ref CCIBase m_ConditionItem
ref CCTBase m_ConditionTarget
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
override bool UseMainItem()
override bool IsInstant()
override void CreateConditionComponents()
override void Start(ActionData action_data)
void ActionTurnOffHelmetFlashlight()
override bool HasTarget()