Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: DFHACK manipulator custom professions (SOLVED)  (Read 2042 times)

Stiqy

  • Bay Watcher
    • View Profile
DFHACK manipulator custom professions (SOLVED)
« on: January 03, 2019, 11:13:22 am »

I am starting to use manipulator more, and noticed I can't delete a custom profession once it is made.  I am wondering where these are stored? Can I just open up a text or xml file someplace and erase/alter the custom professions?
« Last Edit: January 04, 2019, 08:32:37 am by Stiqy »
Logged

strainer

  • Bay Watcher
  • Goatherd
    • View Profile
Re: DFHACK manipulator custom professions
« Reply #1 on: January 03, 2019, 05:17:29 pm »

There should be a directory called 'professions' , in dwarf fortress\hack\plugins\ probably. I think professions will be stored as text files in there.
Logged
Klok the Kloker !

Stiqy

  • Bay Watcher
    • View Profile
Re: DFHACK manipulator custom professions
« Reply #2 on: January 04, 2019, 08:32:12 am »

That was it. Thanks. Actually it is in in the root df folder. I never noticed it show up there.
Logged

FantasticDorf

  • Bay Watcher
    • View Profile
Re: DFHACK manipulator custom professions (SOLVED)
« Reply #3 on: January 05, 2019, 03:39:05 pm »

You can copy-paste the professions files between versions as to retain your professions too, if you changed file. Obviously if its compatable of course.
Logged

lethosor

  • Bay Watcher
    • View Profile
Re: DFHACK manipulator custom professions (SOLVED)
« Reply #4 on: January 05, 2019, 09:34:06 pm »

Obviously if its compatable of course.
The format's really simple (a name plus a list of labor names) - the only thing that could cause a compatibility break is if an existing labor is renamed or removed (and if that's not handled already, it should be simple enough to handle). So I wouldn't be too worried about copying them across DF versions.
Logged
DFHack - Dwarf Manipulator (Lua) - DF Wiki talk

There was a typo in the siegers' campfire code. When the fires went out, so did the game.