Hi Peterix & DFHack experts,
I have been looking at using the "dwarfexport" plugin of DFHack, to replace a function I was previously doing with Runesmith. The description of my project is in another thread if you are interested:
http://www.bay12forums.com/smf/index.php?topic=103900.0Basically the dwarfexport plugin
almost does what I need, but the XML file it generates does not include some data that my utility was using. The missing details are dwarf ages, currently enabled labors, and skill levels.
I am exploring several options for accessing this data with my program in DF2012 (since Runesmith won't be updated for at least a while). So one thing I did is, I looked at your dwarfexport.cpp on GitHub, and modules/units.cpp. It looks like the dwarf ages (line 145 in units.cpp, I think) and enabled labors (line 143 in units.cpp) are currently accessible in the creature object used by dwarfexport. I didn't see the skill levels, though.
I wouldn't like to ask you to do any work for me--my project is at least a little bit silly
But I thought it might be worth asking--do you have plans to expand the dwarfexport plugin to write this data to XML, like Runesmith did? I have a feeling based on what I've seen browsing the code, that the ages and enabled labors might not be very difficult to export, but the skill levels could take more effort.
Thank you for your time and have a nice day