public override void OnLoad(ConfigNode node) { base.OnLoad(node); string stateString = node.GetValue(MEP_STATE_VALUE); if (stateString != null) { MEPlabState = MEPLabStatusFactory.getType(stateString); } exposureSlot = getLabEquipmentSlotByType(node, EXPOSURE_LAB_EQUIPMENT_TYPE); }
public override void OnLoad(ConfigNode node) { base.OnLoad(node); string stateString = node.GetValue(MEP_STATE_VALUE); if (stateString != null) { MEPlabState = MEPLabStatusFactory.getType(stateString); } exposureSlot = getLabEquipmentSlot(node.GetNode(SLOT_CONFIG_NODE_NAME)); }