96 {
97 super.OnMovedInsideCargo(container);
98
99 if (HasEnergyManager())
100 {
102
103 if (poweredDevice)
104 {
105
106 if (poweredDevice.IsInherited(
MetalWire))
107 {
108 poweredDevice.GetCompEM().UnplugAllDevices();
109 }
110 else
111 {
112 this.GetCompEM().UnplugAllDevices();
113 }
114 }
115 }
116 }
class GP5GasMask extends MaskBase ItemBase