Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: See exact stats?  (Read 4270 times)

JTTCOTE1

  • Bay Watcher
    • View Profile
See exact stats?
« on: May 06, 2013, 07:49:09 pm »

It's really frustrating to have "Superhuman Agility" and not know if it's 1300 or 2200. Is there any utility that tells the exact value of stats in adventurer mode? I'd like to get max speed, so need to have maxed agility before becoming a vamp. Thanks!
Logged

Blue_Dwarf

  • Bay Watcher
    • View Profile
Re: See exact stats?
« Reply #1 on: May 09, 2013, 01:10:36 pm »

Dwarf Therapist does that, even in Adventure mode.
Logged
Crafting Statistics 42.06Farming Statistics

Blue Dwarf has been happy lately. He did some !!science!! recently. He admired a fine forum post lately. He was enraged by a forum troll recently. He was upset by the delayed release of the new version of Dwarf Fortress lately. He took joy in planning a noble's death recently.

chevil

  • Bay Watcher
    • View Profile
Re: See exact stats?
« Reply #2 on: May 15, 2013, 04:36:53 am »

Dwarf Therapist does that, even in Adventure mode.
What version are you refering to.
Logged

fricy

  • Bay Watcher
  • [DFHACK:ZEALOT]
    • View Profile
Re: See exact stats?
« Reply #3 on: May 15, 2013, 12:23:39 pm »

Dwarf Therapist does that, even in Adventure mode.
What version are you refering to.


The splitermind fork is the one that is updated with these features.

https://code.google.com/r/splintermind-attributes/
« Last Edit: May 16, 2013, 02:26:05 am by fricy »
Logged

Deinos

  • Bay Watcher
    • View Profile
Re: See exact stats?
« Reply #4 on: May 15, 2013, 09:21:36 pm »

It doesn't seem to acknowledge DF as existing in adventure mode.
Logged

fricy

  • Bay Watcher
  • [DFHACK:ZEALOT]
    • View Profile
Re: See exact stats?
« Reply #5 on: May 16, 2013, 02:25:29 am »

It doesn't seem to acknowledge DF as existing in adventure mode.
:(
Yeah, sorry for the bad info, I only play fortress mode.

Rose

  • Bay Watcher
  • Resident Elf
    • View Profile
Re: See exact stats?
« Reply #6 on: May 16, 2013, 02:35:51 am »

You can do it with DFHack, but I don't know the exact method. you'd have to ask in either the DFHack thread, or visit the DFHack irc channel to find somebody that knows their stuff more than me.
Logged

Yag Alone

  • Bay Watcher
  • Grumpy old fart
    • View Profile
Re: See exact stats?
« Reply #7 on: May 29, 2013, 04:28:42 pm »

After a few wasted hours looking for such a script, I decided to just write my own.
Here is a modified version of one of vjek's script found lying around, tailored for adventurer use.
Just save it as "advinfo.lua" inside the df_34_11_win/hack/scripts folder, and type the "advinfo" command in DFHack command window...

Code: [Select]
-- This script will display the physical & mental attributes for the adventurer
-- by Yag Alone, 2013-05-29 / for DFHack 34.11 r2+
-- Based on vjek's 'all dwarfs info' script, version 1, 20130129, for DF(hack) 34.11 r2

-- ---------------------------------------------------------------------------
function examine_unit(v)
unit=v
if unit==nil then
print ("No unit available!  Aborting with extreme prejudice.")
return
end

unit_analytical_ability=unit.status.current_soul.mental_attrs.ANALYTICAL_ABILITY.value
unit_focus=unit.status.current_soul.mental_attrs.FOCUS.value
unit_willpower=unit.status.current_soul.mental_attrs.WILLPOWER.value
unit_creativity=unit.status.current_soul.mental_attrs.CREATIVITY.value
unit_intuition=unit.status.current_soul.mental_attrs.INTUITION.value
unit_patience=unit.status.current_soul.mental_attrs.PATIENCE.value
unit_memory=unit.status.current_soul.mental_attrs.MEMORY.value
unit_linguistic_ability=unit.status.current_soul.mental_attrs.LINGUISTIC_ABILITY.value
unit_spatial_sense=unit.status.current_soul.mental_attrs.SPATIAL_SENSE.value
unit_musicality=unit.status.current_soul.mental_attrs.MUSICALITY.value
unit_kinesthetic_sense=unit.status.current_soul.mental_attrs.KINESTHETIC_SENSE.value
unit_empathy=unit.status.current_soul.mental_attrs.EMPATHY.value
unit_social_awareness=unit.status.current_soul.mental_attrs.SOCIAL_AWARENESS.value

unit_strength=unit.body.physical_attrs.STRENGTH.value
unit_agility=unit.body.physical_attrs.AGILITY.value
unit_toughness=unit.body.physical_attrs.TOUGHNESS.value
unit_endurance=unit.body.physical_attrs.ENDURANCE.value
unit_recuperation=unit.body.physical_attrs.RECUPERATION.value
unit_disease_resistance=unit.body.physical_attrs.DISEASE_RESISTANCE.value

print ("Strength:           "..unit_strength)
print ("Agility:            "..unit_agility)
print ("Toughness:          "..unit_toughness)
print ("Endurance:          "..unit_endurance)
print ("Recuperation:       "..unit_recuperation)
print ("Disease Resistance: "..unit_disease_resistance)
print ("Analytical_Ability: "..unit_analytical_ability)
print ("Focus:              "..unit_focus)
print ("Willpower:          "..unit_willpower)
print ("Creativity:         "..unit_creativity)
print ("Intuition:          "..unit_intuition)
print ("Patience:           "..unit_patience)
print ("Memory:             "..unit_memory)
print ("Linguistic_Ability: "..unit_linguistic_ability)
print ("Spatial_Sense:      "..unit_spatial_sense)
print ("Musicality:         "..unit_musicality)
print ("Kinesthetic_Sense:  "..unit_kinesthetic_sense)
print ("Empathy:            "..unit_empathy)
print ("Social_Awareness:   "..unit_social_awareness)
end
-- ---------------------------------------------------------------------------
function inspect_adventurer()
examine_unit(df.global.world.units.active[0])
end
-- ---------------------------------------------------------------------------
-- main script operation starts here
-- ---------------------------------------------------------------------------
inspect_adventurer()
Logged

Aussiemon

  • Bay Watcher
  • Well... now what?
    • View Profile
Re: See exact stats?
« Reply #8 on: April 30, 2024, 02:27:52 am »

After a few wasted hours looking for such a script, I decided to just write my own.
Here is a modified version of one of vjek's script found lying around, tailored for adventurer use.
Just save it as "advinfo.lua" inside the df_34_11_win/hack/scripts folder, and type the "advinfo" command in DFHack command window...

Pardon the necro post. Here is an updated version of this script for modern adventure mode and DFHack 51.01:

Code: [Select]
-- This script will display the physical & mental attributes for the adventurer
-- by Yag Alone, 2013-05-29 / for DFHack 34.11 r2+ / updated for DFHack 51.01
-- Based on vjek's 'all dwarfs info' script, version 1, 20130129, for DF(hack) 34.11 r2

-- ---------------------------------------------------------------------------
function examine_unit(v)
unit=v
if unit==nil then
print ("No unit available!  Aborting with extreme prejudice.")
return
end

unit_analytical_ability=unit.status.current_soul.mental_attrs.ANALYTICAL_ABILITY.value
unit_focus=unit.status.current_soul.mental_attrs.FOCUS.value
unit_willpower=unit.status.current_soul.mental_attrs.WILLPOWER.value
unit_creativity=unit.status.current_soul.mental_attrs.CREATIVITY.value
unit_intuition=unit.status.current_soul.mental_attrs.INTUITION.value
unit_patience=unit.status.current_soul.mental_attrs.PATIENCE.value
unit_memory=unit.status.current_soul.mental_attrs.MEMORY.value
unit_linguistic_ability=unit.status.current_soul.mental_attrs.LINGUISTIC_ABILITY.value
unit_spatial_sense=unit.status.current_soul.mental_attrs.SPATIAL_SENSE.value
unit_musicality=unit.status.current_soul.mental_attrs.MUSICALITY.value
unit_kinesthetic_sense=unit.status.current_soul.mental_attrs.KINESTHETIC_SENSE.value
unit_empathy=unit.status.current_soul.mental_attrs.EMPATHY.value
unit_social_awareness=unit.status.current_soul.mental_attrs.SOCIAL_AWARENESS.value

unit_strength=unit.body.physical_attrs.STRENGTH.value
unit_agility=unit.body.physical_attrs.AGILITY.value
unit_toughness=unit.body.physical_attrs.TOUGHNESS.value
unit_endurance=unit.body.physical_attrs.ENDURANCE.value
unit_recuperation=unit.body.physical_attrs.RECUPERATION.value
unit_disease_resistance=unit.body.physical_attrs.DISEASE_RESISTANCE.value

print ("Strength:           "..unit_strength)
print ("Agility:            "..unit_agility)
print ("Toughness:          "..unit_toughness)
print ("Endurance:          "..unit_endurance)
print ("Recuperation:       "..unit_recuperation)
print ("Disease Resistance: "..unit_disease_resistance)
print ("Analytical_Ability: "..unit_analytical_ability)
print ("Focus:              "..unit_focus)
print ("Willpower:          "..unit_willpower)
print ("Creativity:         "..unit_creativity)
print ("Intuition:          "..unit_intuition)
print ("Patience:           "..unit_patience)
print ("Memory:             "..unit_memory)
print ("Linguistic_Ability: "..unit_linguistic_ability)
print ("Spatial_Sense:      "..unit_spatial_sense)
print ("Musicality:         "..unit_musicality)
print ("Kinesthetic_Sense:  "..unit_kinesthetic_sense)
print ("Empathy:            "..unit_empathy)
print ("Social_Awareness:   "..unit_social_awareness)
end
-- ---------------------------------------------------------------------------
function inspect_adventurer()
examine_unit(dfhack.world.getAdventurer())
end
-- ---------------------------------------------------------------------------
-- main script operation starts here
-- ---------------------------------------------------------------------------
inspect_adventurer()
Logged
"Don't worry about the world coming to an end today. It's already tomorrow in Australia."