[quote=“Antistar, post:87, topic:5201”]Thanks everyone. 
I’ve finished updating it now (as far as I know) - except for artefacts, as they don’t seem to be defined in the jsons so I can’t get their IDs that way. I found this in here though:
{
artifact_shape_datum tmp_artifact_shape_data[ARTSHAPE_MAX] = {
{"BUG", "BUG", 0, 0, 0, 0},
{_("sphere"), _("smooth sphere"), 2, 4, 1, 1150},
{_("rod"), _("tapered rod"), 1, 7, 1, 800},
{_("teardrop"), _("teardrop-shaped stone"), 2, 6, 1, 950},
{_("lamp"), _("hollow, transparent cube"), 4, 9, 1, 350},
{_("snake"), _("winding, flexible rod"), 0, 8, 1, 950},
{_("disc"), _("smooth disc"), 4, 6, 200, 400},
{_("beads"), _("string of beads"), 3, 7, 1, 700},
{_("napkin"), _("very thin sheet"), 0, 3, 1, 350},
{_("urchin"), _("spiked sphere"), 3, 5, 200, 700},
{_("jelly"), _("malleable blob"), 2, 8, 200, 450},
{_("spiral"), _("spiraling rod"), 5, 6, 200, 350},
{_("pin"), _("pointed rod"), 1, 5, 100, 1050},
{_("tube"), _("hollow tube"), 2, 5, 350, 700},
{_("pyramid"), _("regular tetrahedron"), 3, 7, 200, 450},
{_("crystal"), _("translucent crystal"), 1, 6, 200, 800},
{_("knot"), _("twisted, knotted cord"), 2, 6, 100, 800},
{_("crescent"), _("crescent-shaped stone"), 2, 6, 200, 700}
};
Does anyone know if I can I use those (sphere, rod, teardrop, etc) as the IDs for the artefacts so I can give them tiles? If I had a save where my character actually had one I could test it, but I haven’t found one since 0.9 stable…
Anyway, besides that I want to do a bit of testing and I still need to learn how to do PRs… but this should be out fairly soon, overall.[/quote]
Artifacts are randomly generated as needed, so they don’t have fixed IDs. What you’ve got there is the list of possible shapes for “natural” (as seen in STALKER) artifacts, generally found in anomalous rubble patches. It’s as good a starting point as any for the graphic…
BUT I just debug-spawned one in and the id was “artifact_0” so it’s not gonna be easy. Same for the clairvoyance cube and an artifact sword I got from a mine; artifact_1 and artifact_2 respectively.