In the city of Los Angeles you are required to have:
One smoke detector in each bedroom
Seismic shut off on gas value
Shatterproof patio doors (safety glass or a plastic film to prevent them from shattering).
I had a listing and the invoice for the smoke detectors and seismic shut off was about $400. A plumber should do the work, I can refer you if you like.