Hi everyone,
I was curious to see if there was an easier way to go through DFHack/df-structures rather than searching the xml files. I read a couple of posts from others wanting to find ways to navigate them easier but didn't come across anything I was really looking for.
Anyway, I was able to get a small hacky script to look at some of the things I was curious about. I wanted to share some things in case anyone else is interested or maybe has better ways of doing this.
I'm sharing a few of the images I created in case they might be useful or if they might help with other ideas.
Please make sure use the zoom in button. Also if anyone knows a better way to host svgs it will be appreciated.
This is a preview of df.global.world.units its not as sexy as the SVGs
The following were made with two different lua scripts for interacting with graphviz.
The first was made using lua-graphviz and some custom coding. lua-graphviz is available here:
https://github.com/Nymphium/lua-graphvizhttps://www.dropbox.com/s/5m7ry46v019s5fy/dfglobalworlduserdata.svgThe second two were created using lua microscope. Microscope is fairly easy to start. However, it sometimes results in very large files and data that might be too extensive for modding. Also, I couldn't find an easy way to recurse the tables. Microscope is available here:
http://siffiejoe.github.io/lua-microscope/ https://www.dropbox.com/s/f23kirxpejhikkv/dfglobalworldmeta.svghttps://www.dropbox.com/s/z3fmi3hf8yc1eqt/dfglobalmeta.svgI hope someone might find some this as useful as I had fun playing with it. Feel free to hit me up, if you want more information about this.
Also, I might have an error in my code, so some items might be missing or referenced weird.