Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Quick DFHack question re workshops & material  (Read 606 times)

Albedo

  • Bay Watcher
  • Menacing with spikes of curmudgeonite.
    • View Profile
Quick DFHack question re workshops & material
« on: June 07, 2015, 01:56:42 pm »

I have more q's (asked elsewhere), but this one is pressing, so I'm asking here where there's more traffic...

As I understand it, there's a plug-in(?) that allows more control thru workshops, to specify the material you want to use - using a specific material for color for levers, or a dwarf's preferred material for furniture, rather than just "whatever's closest - or so" and hoping stockpile manipulation does what you want it to.

Anyone know that command, or plug-in, or whatever, and how to activate it? (Not familiar w/ this end of DF, so some details would be appreciated.)

thanks!
Logged

PatrikLundell

  • Bay Watcher
    • View Profile
Re: Quick DFHack question re workshops & material
« Reply #1 on: June 07, 2015, 03:02:05 pm »

Alt-a when selecting to build something (say mechanisms) will allow you to select 'm'aterial and then you can go through the sub lists (inorganic to get to stone, for instance). I think 'i' instead of 'm' will allow you to select what constructed item to use (e.g. when encrusting), but I've never used that. Also note that if you repeat your construction (either before or after item selection, doesn't matter) the repeat will repeat the material as well. Useful when e.g. construction gabbro mechanisms to ensure they're magma proof.

Edit: The description above is valid for the Lazy Newb Pack, but I think that's the general key binding for that DFHack plugin.
Edit 2: I vaguely know there is a file that can activate/deactivate DFHack plugins, as well as a file (possibly the same) that contains key bindings. I suspect it should be possible to use the DFHack terminal to to make a material selection while a workshop construction is selected (similar to how copystock selects the appropriate stockpile), but that's a guess. I don't know what the command is called, but scouring the list of plugins should allow you to find it. It's quite possible you can activate the integration of this command from the DFHack terminal as well. However, I also suspect that installing DFHack according to the instructions presumably provided would most likely also install this key binding. My first choice would be to use the Lazy Newb Pack, though, since that takes care of the installation and configuration hassles.
« Last Edit: June 07, 2015, 03:12:58 pm by PatrikLundell »
Logged

Bumber

  • Bay Watcher
  • REMOVE KOBOLD
    • View Profile
Re: Quick DFHack question re workshops & material
« Reply #2 on: June 07, 2015, 07:12:01 pm »

The keybindings are set in dfhack.init. The specific script is "gui/workshop-job".
Logged
Reading his name would trigger it. Thinking of him would trigger it. No other circumstances would trigger it- it was strictly related to the concept of Bill Clinton entering the conscious mind.

THE xTROLL FUR SOCKx RUSE WAS A........... DISTACTION        the carp HAVE the wagon

A wizard has turned you into a wagon. This was inevitable (Y/y)?

Albedo

  • Bay Watcher
  • Menacing with spikes of curmudgeonite.
    • View Profile
Re: Quick DFHack question re workshops & material
« Reply #3 on: June 08, 2015, 12:52:21 pm »

Thx guys, that got it done!
Logged