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

Limit "this task is too simple to train [skill] beyond [number]" messages to once per craft #34632

Merged
merged 1 commit into from
Oct 11, 2019

Conversation

Ramza13
Copy link
Contributor

@Ramza13 Ramza13 commented Oct 11, 2019

Summary

SUMMARY: Interface "Limits "this task is too simple to train" messages to once per craft or batch craft"

Purpose of change

Fixes #34077
This makes "this task is too simple to train [skill] beyond [number]" only show once per craft or batch craft.

Describe the solution

I pulled out the section of code that handles the message into a method. This method is called from its former location and at the beginning of crafting. Added a new optional parameter to the practice method to allow suppressing the warning message and used this parameter only from crafting so other skills are unaffected.

Describe alternatives you've considered

I first added an option to allow suppressing this message based on time for all skills but that didn't feel right.

Additional context

@kevingranade kevingranade merged commit 4c4100a into CleverRaven:master Oct 11, 2019
@Ramza13 Ramza13 deleted the limit_skill_warning branch November 17, 2021 17:02
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

Successfully merging this pull request may close these issues.

Make "this task is too simple to train [skill] beyond [number]" only show once per craft.
2 participants