SuperNoobCamper
King
Any resource improved/connected by a quarry allows construction of stoneworks even if it is not buffed by the building itself.The Stoneworks tooltip and civilopedia entry only mentions buffs to some of the quarry resources: stone, marble, salt, jade. Does the stoneworks also benefit Amber or Lapis Lazuli?
Castle is the building that buffs quarries regardless of the resource improved by it.