Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: DF creatureclasser (a Python 3 script)  (Read 2057 times)

voliol

  • Bay Watcher
    • View Profile
    • Website
DF creatureclasser (a Python 3 script)
« on: May 14, 2021, 03:55:15 pm »

This is a Python script which does what it sounds like, it goes through your raws and tell you what creature classes there are, and what they are used for. I imagine it should be useful when merging mods, or to check if you've added any unused creature classes.

To use, put it in in your main DF folder and run it. You have to have Python 3 installed on your computer. You can also run it from somewhere else, if you change the "folder_path" setting. By default (it's an option you can turn off) the script produces a .txt file containing the output so you don't have to save it manually.

The script can recognize all 10 different tokens that may use creature classes, but doesn't come with an explanation of them. Instead, here they are on the wiki:

Spoiler: Screenshot (click to show/hide)

Download (DFFD)

Tested with DF 0.47, but should work with all earlier versions as well.