Scinopode / dwarftherapist

Automatically exported from code.google.com/p/dwarftherapist
Other
0 stars 0 forks source link

Implement Dwarf Details Dialog #95

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
It would be very useful to see current attributes for dwarves on the
tooltips.  It would save me some hunting in game when I am cross-training
pump operators.

Original issue reported on code.google.com by mochn...@gmail.com on 15 Sep 2009 at 8:19

GoogleCodeExporter commented 8 years ago
I keep meaning to add that. The dwarf tooltip is quickly becoming pretty large. 
I've been thinking of a 
separate dialog window for showing dwarf details. All attributes, profession, 
happiness, sex, money, 
skills, labors etc... Even little progress bars for each skill.

This will of course take some work but hey look we have a ticket now. I'm going 
to re-name this one to just 
be the new details window. I will add a link to it from the dwarf right click 
menu "View Details..." or 
some such language.

REQUIREMENTS:
 * Implement new right-click menu action on dwarf names called "View Details..."
 * When the action fires, launch a new *non-modal* window showing all known dwarf details.
 * Dialog should show the following information:
   * Dwarfish name
   * translated name
   * sex
   * happiness
   * strength
   * toughness
   * agility
   * bank account value (if economy is active)
   * skill breakdown to include:
     * table showing all skills with more than 0xp
     * current xp in this skill
     * target xp for next level of this skill
     * current level number
     * indicate whether the labor that builds this skill is activated or not
   * labor breakdown list, just a simple list of which labors this dwarf has on and off
   * armor level
   * weapon number
   * weapon type

More features to be added in the future. But this will be a good stop-gap to 
keep the tooltip from growing 
into what is basically a web-page summary of a dwarf.

Original comment by treyst...@gmail.com on 15 Sep 2009 at 8:47

GoogleCodeExporter commented 8 years ago
Thanks for the information.  Would it be possible to have this as a
permanent/dockable window that would refresh whenever a dwarf is clicked on?  
That
would prevent a user from having to do many repetitive right-click->"View 
Details".

Original comment by mochn...@gmail.com on 15 Sep 2009 at 8:52

GoogleCodeExporter commented 8 years ago
  * strength, * toughness, * agility...

...and an "experience total/ experience needed" for the next attribute gain, 
sim to
exp for skills.  (If you need the numbers, see wiki here:

http://www.dwarffortresswiki.net/index.php/Attribute)

Albedo

Original comment by shaverman@gmail.com on 15 Sep 2009 at 9:13

GoogleCodeExporter commented 8 years ago
RE: dockable window: Yes that is a much better idea than a ton of open windows 
floating 
around and right clicking a bunch of dwarfs.

RE: attribute leveling progress: Yes good idea and thanks for the link!

Original comment by treyst...@gmail.com on 15 Sep 2009 at 9:22

GoogleCodeExporter commented 8 years ago
Would it be possible to add the age for babies/children?  It would be helpful 
to get
an idea how long it will be until they become full grown.  I've got a fortress 
now on
an island with no migrants and I've love to know how long it will be until I 
can put
these darn kids to work!

Original comment by mochn...@gmail.com on 15 Sep 2009 at 9:54

GoogleCodeExporter commented 8 years ago
As a reference:
http://www.dwarffortresswiki.net/index.php/Children

Original comment by mochn...@gmail.com on 15 Sep 2009 at 9:55

GoogleCodeExporter commented 8 years ago
Got the first version of a details dock working in r232. Still needs work but 
so far I 
like it.

Original comment by treyst...@gmail.com on 16 Sep 2009 at 12:53

GoogleCodeExporter commented 8 years ago
For future upgrades to this feature, it would be nice to see this merged with 
Issue
65: http://code.google.com/p/dwarftherapist/issues/detail?id=65

Original comment by winterbr...@gmail.com on 16 Sep 2009 at 10:10

GoogleCodeExporter commented 8 years ago
Still a work in progress but I wanted to post a screenshot to see what you 
interested 
folks think so far.

Bar in upper left is happiness meter.

Original comment by treyst...@gmail.com on 16 Sep 2009 at 9:06

Attachments:

GoogleCodeExporter commented 8 years ago
Looks good.  A few comments...

Is the happiness meter going to show the maximum happiness or give any 
indication of
what 177 translates to?  I see it is green which I assume is "happy".  I know 
I've
seen values higher than 177 though (300s if memory serves).  A red, yellow, 
green
icon face plus the number might save you some room if you need it for the 
additional
data points:

:) 177 

Will the level display the raw level for legendary?  The level does go past 20
(15+5).  I checked in a different memory tool (Dwarf Companion) and had a level 
21 dwarf.

I think it will be a great addition to DT.

Original comment by mochn...@gmail.com on 16 Sep 2009 at 9:30

GoogleCodeExporter commented 8 years ago
The meter caps out at 150 (Ecstatic) but will show the raw value under the bar. 
For 
instance I have a dwarf in one fort with a happiness over 1100, but the bar 
still 
just shows 100%. I am still working on something to color the happiness 
progress bar 
more appropriately, right now it's always green which doesn't help you tell at 
a 
glance. I will for sure get those colors right before the next release.

I'm still capping levels at 20 since there is discernible advantage to showing 
anything past that (it has no effect on anything according to the wiki link in 
the 
original post). The progress bar will be empty at 15 +5. But you could still 
hover 
over it to see raw XP totals.

On to str/agi/toughness...

Original comment by treyst...@gmail.com on 16 Sep 2009 at 9:36

GoogleCodeExporter commented 8 years ago
No advantage other than bragging rights, but I get your point.  I think I'd 
rather
see 15+5 anyway and not get myself into an arms race over who is the 
legendary-ist of
the legendary.

I never knew 150 was the soft cap for ecstatic, that's good to know.

Original comment by mochn...@gmail.com on 16 Sep 2009 at 9:46

GoogleCodeExporter commented 8 years ago
Albedo: I just realized how attributes work. Since there is no way to know 
which 
attribute will be increased it might be weird to show a progress bar for that. 
Maybe a 
cumulative progress bar showing "Next Attribute Increase at 11,000xp: 
9423/11000" or 
something like that.

Original comment by treyst...@gmail.com on 16 Sep 2009 at 10:04

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r233.

Original comment by treyst...@gmail.com on 16 Sep 2009 at 11:56