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

[Full-Heal] Not heal 'Unconcious' unit, can fix? Tnx #5021

Open
Askeron99 opened this issue Nov 10, 2024 · 3 comments
Open

[Full-Heal] Not heal 'Unconcious' unit, can fix? Tnx #5021

Askeron99 opened this issue Nov 10, 2024 · 3 comments

Comments

@Askeron99
Copy link

The command 'Full-heal' are not heal the 'Unconcious' syndrome.

@myk002
Copy link
Member

myk002 commented Nov 10, 2024

Are you sure there is a syndrome involved here, or is this the unconscious counter that needs to be reset?

@Askeron99
Copy link
Author

I dont know the diference, but my dwarf are fighint, and after forgotten beast atack he is inconcious, and dont wake up more.

@myk002
Copy link
Member

myk002 commented Nov 12, 2024

ah, it likely is a syndrome then (especially since I see that the code does reset the unconscious counter to zero).

Syndromes are not automatically removed by full-heal since that would clear possibly desired statuses like "necromancer", "vampire", or "inebriated". We currently leave it up to the player to clear syndromes via modtools/add-syndrome. however, finding the syndrome ID and then constructing the command to remove it is a painful process.

We might be able to automatically detect "harmful" syndromes and remove them in full-heal, but I'm not sure if that will do the right thing in all cases. Generated syndromes and mod-added syndromes may have interesting definitions of "harmful".

Another option is to provide an easier-to-use UI in gui/gm-unit that can list syndromes for easy removal by the player. That would at least be an improvement over the current situation.

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