A 1 million-square-foot warehouse approved for Mead Valley will have to take steps to be a better neighbor to settle a lawsuit brought by environmentalists and residents.