13
« on: March 21, 2015, 07:47:02 pm »
There is already broadly comparable functionality in the macro system (press ctrl+p to run a macro, press "ctrl+u, 5, enter" to loop the macro 5 times).
However, adding a less cumbersome interface for it, and applying it to most keyboard commands would just be absolutely amazing. Frequently, I have digging designations that I want to extend over large but specific distances. Being able to dig a 50 z deep staircase by "d, i, enter, 50>, enter" rather than noting the current depth, adding fifty, holding > until you see the desired level flash past and then go back to it, and then forget what level you started and and have to go back and double check it would be very nice indeed. Also, being able to dig a rectangular room of 23x17 by, say, pressing "d, enter, 23 up arrow, 17 right arrow, enter" rather than have to count individual keystrokes would make some designations much less cumbersome.
My only objection is that it would be easy to bump a number key by accident and get bizarre and disorienting results the next key you press. Maybe you could hold alt while typing the number, or have some key you press before typing the number? Some visual indication of what number you have entered would also be helpful. Maybe a number could pop up in a corner a la idlers and FPS?
If nothing else, this is something that could probably be done in dfhack.
By the way, for quickly scrolling through your fortress I highly recommend mapping <,> to the mouse wheel in addition to keyboard (I remap zoom to ctrl+mouse wheel). I make it so mousewheel up makes you "zoom into" the earth, i.e. go down. This makes scanning across z levels much less cumbersome.