Gold is produced in the foundry, starting from level 22. You need gold ore and coal for it.