https://yadi.sk/d/TAhjB3nN3C6UcP
It's still very rough, but it works :)
Almost forgot. To make artifacts appear instead of random items, you need to edit the map manually in the map editor:
In the map properties, you need to deselect all artifacts.
Those who don't want to bother can wait for a more complete version to be released.