You can assign food priority
As for resource gathering, dungeon resources are finite anyway, that would be too much logistics in consideration