The proposed legislation would force cities to take action, and with help from the state, supply more places for those in need.