I also had such idea some time ago, and i stopped at the same problem: after giving artifact a new subtype, the game crashes. so i came to a conclusion (just a guess - if anyone can tell if i'm right, or wrong, please do so) that the number of artifacts is stored in the main exe file, so since i don't know anything on how to search for needed value, i abandoned this idea.