The code, which the Scottsdale City Council voted on last December, also intends to mitigate environmental impacts, protect natural resources and boost the resiliency of buildings.