You can create a random map in the editor, click on map properties, select artifacts, select all, remove the unnecessary ones, and save the map. Change the map extension from h5m to zip, open it, open the map in a text editor, copy all the artifacts from artifactIDs, and place them in the desired map. In maps that already have a list of artifacts, simply remove the set shadow.
Thanks for the info.
Gentlemen, I'm interested in your opinion on what else could be added/changed:
1) Should new objects from the expansion maps be added to the original campaign?
2) Should a mentor be added before difficult missions?
3) Should the maximum level of upgrades on maps be slightly increased?
4) Should some controversial armies be slightly changed? (for example, in Lords of the North, in C2M5, the Dwarven Garrison holds undead, although it should be red troops; for Eliah in C3M3, in the Dark Elf dungeons, the garrisons are also held by undead, although they should be Dark Elves)
5) Should all artifacts from ToE be added to the campaign? (I think not all of them are added if I'm not mistaken)