df-structures icon indicating copy to clipboard operation
df-structures copied to clipboard

setup_character_info.skill_points_remaining value is always 10

Open lizelive opened this issue 2 years ago • 5 comments

https://github.com/DFHack/df-structures/blob/a04727cc4ec350399ce4d2ded4425f33c50cea50/df.viewscreen.xml#L2677

in my testing it is always 10 for some reason.

lizelive avatar Jul 26 '22 00:07 lizelive

What OS and architecture (64/32-bit) are you using?

lethosor avatar Jul 26 '22 05:07 lethosor

windows 11 x64

lizelive avatar Jul 29 '22 00:07 lizelive

Which screen are you looking at? setup_character_info is used both in the fortress (viewscreen_setupdwarfgamest) and adventurer (viewscreen_setupadventurest) screens. In fortress mode, it appears to be correct:

image

[lua]# ~scr.dwarf_info[0].skill_points_remaining
7
[lua]# ~scr.dwarf_info[1].skill_points_remaining
10

Maybe this field is just unused in adventure mode?

lethosor avatar Jul 29 '22 06:07 lethosor

Windows 11 x64

On Mon, Jul 25, 2022, 10:20 PM Alan @.***> wrote:

What OS and architecture (64/32-bit) are you using?

— Reply to this email directly, view it on GitHub https://github.com/DFHack/df-structures/issues/469#issuecomment-1195015393, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJS2V4ZBUQPNAEYZ2PUIDFDVV5YQDANCNFSM54UEGZLQ . You are receiving this because you authored the thread.Message ID: @.***>

lizelive avatar Oct 11 '22 07:10 lizelive

@lizelive you had already answered that question. My more recent question is: are you in fortress mode or adventure mode?

lethosor avatar Nov 10 '22 05:11 lethosor