汚れやの匂いがする
I know the sentence means something along the lines of "smells like dirt". But I have no idea what the やの means.
The context is that it is talking about the natural forest concoction in the cauldron in Stardew Valley that the (old) wizard is mixing.
Edit: Picture of context、and I forgot が