312ace5
SDL
This has the nasty effect of causing the second artifact found to override them all.
Natural artifacts are unaffected, they appear to be assigned id in the format of artifact_0, artifact _1, artifact_2, and so on.
When a second artifact is encountered in game it is fine, but once the game is saved and the artifact file updated and reloaded, all non-Natural artifacts are the same. Only the charges an item had is saved. Each time a new non-Natural artifact is found, it overwrites all existing artifacts due to this id conflict, and in the artifact file, each entry is simply replaced so you have 5 copies of the same artifact, for instance.
-Rog