The new state section does not name modular homes, but it requires an ADU to conform to the North Carolina Residential Code. Modular (factory-built) homes in North Carolina are built to the state code and carry a State of North Carolina Modular Construction Validating Stamp, so a modular unit can meet that test. HUD-code manufactured homes are built to a federal standard, not the North Carolina Residential Code, so they may not. Separately, G.S. 160D-910 says a city cannot zone manufactured homes out of its whole jurisdiction, but it may set appearance and dimensional rules. Local rules vary a lot: Raleigh allows a manufactured home as an ADU only up to 600 square feet and with roof pitch and wall height standards; Winston-Salem allows a Class A or B manufactured home; Fayetteville, Cary and Greensboro do not allow manufactured homes as ADUs.