Thanks to Huge and Putnam, I now have the minimal bits in place to have stones turn the tables and chase Dwarven miners around the fort. Some play-balance issues need to be worked out in the arena, but tuning will be fun. I can work out how to make a graphics set display a single icon for the creature, but I'd prefer to have some variation by caste.
Is there a way to pick a different tile from the graphics set based on caste? Since the only difference will be coloring, is there way to specify a single image but alter the colors either with CASTE_COLOR inside the creature_???.txt file or some voodoo inside the graphics_???.txt file? For example, an Awakened Granite would properly be white with green eyes, while an Awakened Sandstone would properly be brown with yellow eyes.
The other bit that I need is the actual syndrome to cause a dwarf to "spawn" one of those Awakened Stones when he/she mines out the wrong tile. It sounds like there is a standard way to do this, and I already have the boil-away stone ready. But my search-engine-judo is apparently not up to the task of finding a prototype spawning syndrome. I'd actually like to do it as two different syndromes for each Awakened Stone caste.
The first makes the miner OPPOSED_TO_LIFE, and the second causes the spawner bodypart to appear and animate into an Awakened Stone. If the Dwarf has given tribute at the proper shrine, he/she will be given immunity to the first syndrome causing the Awakened Stone to spawn as a friendly unit.