Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Question: Chnage dwarf preferences using dfhack.  (Read 695 times)

Gwolfski

  • Bay Watcher
  • Strawberries!
    • View Profile
    • ignore pls!
Question: Chnage dwarf preferences using dfhack.
« on: June 09, 2016, 03:50:00 pm »

I know it is possible, but how is it done?
Logged
Eventually when you go far enough the insane start becoming the sane

NCommander

  • Bay Watcher
  • Dwarven Military Master
    • View Profile
    • SoylentNews
Re: Question: Chnage dwarf preferences using dfhack.
« Reply #1 on: June 09, 2016, 08:48:05 pm »

With serious magic. There's a lua script that you can use for a base called prefchange.lua. That's how I installed them into the prime minster.

More in-depth answer:

Preferences are stored as part of the soul. You can see them by going in with gui/gm-editor when you ahve a unit selected under status->souls->0->preferences.
Logged
Quote from: TheFlame52
Fucking hell man, you aren't just getting the short end of the stick, you're being beaten with it.
Quote from: NRDL
Is your plan really to flush water into hell, and have the CARP marines fight them without threat of flame or disease?  If so, you are awesome, and one of the greatest DF military visionaries I've seen yet ( not that I've seen that many, or any, for that matter )