Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup_character_info.skill_points_remaining value is always 10 #469

Open
lizelive opened this issue Jul 26, 2022 · 5 comments
Open

setup_character_info.skill_points_remaining value is always 10 #469

lizelive opened this issue Jul 26, 2022 · 5 comments

Comments

@lizelive
Copy link

<int16_t name='skill_points_remaining'/>

in my testing it is always 10 for some reason.

@lizelive lizelive changed the title this value is wrong skill_points_remaining value is wrong Jul 26, 2022
@lizelive lizelive changed the title skill_points_remaining value is wrong skill_points_remaining value is always 10 Jul 26, 2022
@lethosor
Copy link
Member

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

@lizelive
Copy link
Author

windows 11 x64

@lethosor lethosor changed the title skill_points_remaining value is always 10 setup_character_info.skill_points_remaining value is always 10 Jul 29, 2022
@lethosor
Copy link
Member

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?

@lizelive
Copy link
Author

lizelive commented Oct 11, 2022 via email

@lethosor
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants