Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Simple trade agreement tweak  (Read 927 times)

ptb_ptb

  • Bay Watcher
    • View Profile
Simple trade agreement tweak
« on: September 13, 2014, 07:31:48 am »

How about adding an
(All)
line to the trade item types that have lots and lots of entries?
In other words, if you want lots of leather you can just ask the liaison for the maximum amount of
(All)
and it pumps up every line item. Instead of having to specify Yak leather, Dingo leather, Cat leather, etc. separately.
Logged
()==[:::::::::::::>

StagnantSoul

  • Bay Watcher
  • "Player has withdrawn from society!"
    • View Profile
Re: Simple trade agreement tweak
« Reply #1 on: September 13, 2014, 08:24:39 am »

It takes about ten seconds to designate the entirety of the stone, just holding down the right arrow, and tapping the down rapidly. Though an all option would've probably saved me twenty minutes of my life by now, selecting gems.
Logged
Quote from: Cptn Kaladin Anrizlokum
I threw night creature blood into a night creature's heart and she pulled it out and bled to death.
Quote from: Eric Blank
Places to jibber madly at each other, got it
Quote from: NJW2000
If any of them are made of fire, throw stuff, run, and think non-flammable thoughts.

Witty

  • Bay Watcher
    • View Profile
Re: Simple trade agreement tweak
« Reply #2 on: September 13, 2014, 09:50:49 am »

Trading UI tweaks are apparently on the near horizon, and I'd like to see something like this for sure.
Logged
Quote from: Toady One
I understand that it is disappointing when a dwarf makes a spiked loincloth instead of an axe.

lethosor

  • Bay Watcher
    • View Profile
Re: Simple trade agreement tweak
« Reply #3 on: September 27, 2014, 05:04:22 pm »

I've implemented this as a DFHack tweak ("tweak import-priority-category"):

There are still a few minor bugs to sort out, but it will hopefully be in the next DFHack release.
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.

StagnantSoul

  • Bay Watcher
  • "Player has withdrawn from society!"
    • View Profile
Re: Simple trade agreement tweak
« Reply #4 on: September 27, 2014, 05:07:27 pm »

Couldn't you set up a macro for that?
Logged
Quote from: Cptn Kaladin Anrizlokum
I threw night creature blood into a night creature's heart and she pulled it out and bled to death.
Quote from: Eric Blank
Places to jibber madly at each other, got it
Quote from: NJW2000
If any of them are made of fire, throw stuff, run, and think non-flammable thoughts.

lethosor

  • Bay Watcher
    • View Profile
Re: Simple trade agreement tweak
« Reply #5 on: September 27, 2014, 05:18:15 pm »

Not as easily, since the number of goods varies between categories. Macros are only useful if you want to set the priority for the entire category to 0 (the minimum) or 4 (the maximum). Admittedly, you could count the number of goods in each category and adjust the Ctrl-U prefix accordingly, but that wouldn't save much time.
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.

YAHG

  • Bay Watcher
    • View Profile
Re: Simple trade agreement tweak
« Reply #6 on: September 30, 2014, 12:27:37 pm »

Spoiler (click to show/hide)

I actually just hold the down and the right arrow to do this, after its held for a few seconds it starts to pick up speed ;D.