Re: OT - HVAC / Building Code Question
A Roofer can not be expected to know what is under every square inch of roof surface. If it is in a contract that deems such an event as the responsibility of the contractor then maybe your friend has a leg to stand on.
As it is, unless the roofer shot a nail through a punky part of the roof sheathing or between planks, that zipped down and punctured a refrigerant or condensate line: one he should have known would not hold the nail in question, then yeah he might be accountable. Sometimes roofers make frame and sheathing repairs and patches so it may not be quite so simple as a roofing nail punching into a improperly situated pipe.
That said, there should be nothing contacting the underside of the roof sheathing other than the rafters, trusses or other framing they are nailed to.
Refrigerant lines, like plumbing and electrical pipe (And Wires) should be attached to framing members or braced in the center of walls and protected from fasteners installed by people who have no way to know exactly where they are.
Was there a permit pulled for the original A/C work? What about for the roof work? Are the roofers insured?
Carpenters are not typically held responsible for puncturing pipes or conduit when nailing or screwing base, crown, trim, fixtures or hardware. Nor are cabinet installers. The reason being that we don't have fucking X-Ray vision!
Roofers have been held accountable for many bonehead things but accidentally puncturing a line they did not have good reason to assume was tight against the underside of the roof (It should not have been) doesn't seem like one of them. Unless they were using unusually long nails, seems like the A/C repair is on the homeowner.