Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Option to assign beds / other rooms to 'next unassigned dwarf'  (Read 2209 times)

Elrond

  • Escaped Lunatic
    • View Profile
Option to assign beds / other rooms to 'next unassigned dwarf'
« on: November 03, 2014, 02:03:56 pm »

The problem: A lot of the time, when assigning bedrooms (or other rooms, but especially bedrooms), all the player wants to do is assign the bedroom to the next dwarf that doesn't have a bedroom yet. Currently, to do this in DF, the player has to manually scroll down the list, using the color of the dwarf's name to determine if they have a room yet or not. This process can take a very long time if, for example, a wave of 30-50 migrants show up, or the player is just starting to build bedrooms after 200 dwarves have arrived at the fortress (in fact, this process takes over ten thousand keystrokes: at peak efficiency, 2 * (101 * 100 / 2) [this covers optimally scrolling to every dwarf in a 200-dwarf list] + 200 [this covers actually selecting the dwarf once we've gotten there] = 10,300 keystrokes, not counting the keystrokes necessary to define the bedroom. The result of this is a lot of wasted player time assigning bedrooms to dwarves.

Suggestion: In the menu for assigning a bedroom to a dwarf, add an option for "next unassigned dwarf" below "nobody" in the assignment list that assigns the room to the next dwarf in the list that does not already have a bedroom assigned.

This would reduce the number of keystrokes needed to assign 200 dwarves bedrooms from 10,300 to 400-- from an average of 52 keystrokes per dwarf to 2 keystrokes per dwarf (If a player wanted to assign a bedroom to a specific dwarf, that functionality would remain unchanged).

Logged

Sidhien

  • Bay Watcher
    • View Profile
Re: Option to assign beds / other rooms to 'next unassigned dwarf'
« Reply #1 on: November 03, 2014, 02:14:47 pm »

I think when a dwarf sleeps in an unassigned bedroom, the room is automatically assigned to them. Manual assignments are only necessary if you want a specific dwarf to have a specific room, otherwise all you need to do is create the room and assignments will take care of themselves.

Edit: I'm impressed and a little intimidated at the way you were able to casually calculate the number of keystrokes required to do it that way, even accounting for reverse scrolling if not paging.
« Last Edit: November 03, 2014, 03:01:35 pm by Sidhien »
Logged

lethosor

  • Bay Watcher
    • View Profile
Re: Option to assign beds / other rooms to 'next unassigned dwarf'
« Reply #2 on: November 03, 2014, 09:49:04 pm »

I think when a dwarf sleeps in an unassigned bedroom, the room is automatically assigned to them. Manual assignments are only necessary if you want a specific dwarf to have a specific room, otherwise all you need to do is create the room and assignments will take care of themselves.
This is correct:
A bedroom is a room defined from a bed. Bedrooms are automatically claimed by dwarves (or spouse of dwarves); or they may be manually assigned to a dwarf.
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.

pisskop

  • Bay Watcher
  • Too old and stubborn to get a new avatar
    • View Profile
Re: Option to assign beds / other rooms to 'next unassigned dwarf'
« Reply #3 on: November 03, 2014, 09:53:42 pm »

Presumably once the interface gets cleaned up you will be able to easily navigate the horror that is complex explicit management
Logged
Pisskop's Reblancing Mod - A C:DDA Mod to make life a little (lot) more brutal!
drealmerz7 - pk was supreme pick for traitor too I think, and because of how it all is and pk is he is just feeding into the trollfucking so well.
PKs DF Mod!

LMeire

  • Bay Watcher
  • Likes Troglodytes for their horradorability.
    • View Profile
Re: Option to assign beds / other rooms to 'next unassigned dwarf'
« Reply #4 on: November 05, 2014, 10:13:30 am »

I'd be happier if you could assign rooms to noble positions rather than just dwarves, it would really help smooth over the election process if I could just declare that only the mayor could have that set rather than letting the bum stay as long as he liked while the new mayor slept in the dorms. It might even solve that issue with non-dwarves not getting proper rooms, assuming they held the position in question.
Logged
"☼Perfection☼ in the job puts pleasure in the work." - Uristotle

Dirst

  • Bay Watcher
  • [EASILY_DISTRA
    • View Profile
Re: Option to assign beds / other rooms to 'next unassigned dwarf'
« Reply #5 on: November 05, 2014, 03:35:02 pm »

Simply sorting the unroomed Dwarves to the top would conserve about 1.3 buttloads of keystrokes.

Since you don't need to assign rooms at all, it's probably being done for roleplaying reasons (keep all the miners near each other, etc.) so the sorting and showing the profession/position name should work wonders.

And by all means PLEASE allow assignments to positions.
Logged
Just got back, updating:
(0.42 & 0.43) The Earth Strikes Back! v2.15 - Pay attention...  It's a mine!  It's-a not yours!
(0.42 & 0.43) Appearance Tweaks v1.03 - Tease those hippies about their pointy ears.
(0.42 & 0.43) Accessibility Utility v1.04 - Console tools to navigate the map

Bumber

  • Bay Watcher
  • REMOVE KOBOLD
    • View Profile
Re: Option to assign beds / other rooms to 'next unassigned dwarf'
« Reply #6 on: November 05, 2014, 07:44:16 pm »

Since you don't need to assign rooms at all, it's probably being done for roleplaying reasons (keep all the miners near each other, etc.) so the sorting and showing the profession/position name should work wonders.

And by all means PLEASE allow assignments to positions.
And the natural conclusion, assignments by profession as well.

You could do stuff like have all the migrants sleep in dorms until you've assigned them a custom profession name, at which point they would claim a bed in the appropriate area of the fort.
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)?

breadman

  • Bay Watcher
    • View Profile
Re: Option to assign beds / other rooms to 'next unassigned dwarf'
« Reply #7 on: November 07, 2014, 04:24:39 pm »

I've encountered this desire more for tombs than for bedrooms.  (Yes, migrants to my fortress get a tomb before anything else.  I'm a little slower to assign them to newborns, though.)  Scrolling with / (page up) helps find unassigned citizens, but it would be much nicer to have them sorted to the top.

Slab engraving does something similar, since 0.34.07, so it shouldn't be too hard, right?

While I'm on the subject of assigning tombs, it would be nice if I could assign the unburied dwarves from before the reclaim, without waiting for them to rise as a ghost first.  Perhaps fallen merchants, too.
Logged
Quote from: Kevin Wayne, in r.g.r.n
Is a "diety" the being pictured by one of those extremely skinny aboriginal statues?