8 override bool HasProgress()
17 if (targetItem && targetItem.HasEnergyManager())
19 string selection = targetItem.GetActionComponentName(target.GetComponentIndex());
26 if (selection == Spotlight.SEL_CORD_PLUGGED_U)
35 override void OnExecuteServer(
ActionData action_data)
38 targetItem.GetCompEM().UnplugThis();
40 if (targetItem.IsInherited(Spotlight))
42 targetItem.HideSelection(Spotlight.SEL_CORD_PLUGGED_U);
43 targetItem.ShowSelection(Spotlight.SEL_CORD_FOLDED_U);