33 {
35
36 if (targetItem && targetItem.HasEnergyManager())
37 {
38 string selection = targetItem.GetActionComponentName(target.GetComponentIndex());
39
40 if (selection == ComponentEnergyManager.SEL_CORD_PLUGGED)
41 return true;
42
43
44 if (selection == Spotlight.SEL_CORD_PLUGGED_U)
45 return true;
46 }
47
48 return false;
49 }
class GP5GasMask extends MaskBase ItemBase