State lawmakers load up budget with $22M in pet projects