magnate/angband — pull request #3 by pnd10 (2011-10-16 13:26:45+00:00)
Title: Jewelry kinds

Based on magnate's affixes branch (so really targetted at him), this removes the special kinds which are there just to support artifact jewelry and lights.

object.txt loses all the special kinds (apart from the One Ring) and any new kinds are created dynamically as necessary. To create a new kind with a different type name, put the name in as the "sval" in artifact.txt. Without anything in the sval field, a new kind will be created, with the type name of the base object (e.g. Amulet)

Only two hacks required to get this working - attributes and glyph for lights (which don't have flavours) need to be fixed up, and the level/weight/cost need to be filled in at fixup, as they haven't necessarily been parsed from artifact.txt at the point when the I: line is parsed.