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

Display custom warnings for the prerequisite failure #776

Open
Legendsmith opened this issue Dec 17, 2023 · 3 comments
Open

Display custom warnings for the prerequisite failure #776

Legendsmith opened this issue Dec 17, 2023 · 3 comments

Comments

@Legendsmith
Copy link
Contributor

Legendsmith commented Dec 17, 2023

Custom warnings for unsatisfied prerequisites

Currently, prerequisite unsatisfaction just displays a fixed, static warning, but if this was able to be specified, then the different types of conflicts could display their consequences.
In the case of the arm armor example; we could set -1 DX to Limbs: Stacked Armor as the warning instead of the current static warning, which would then show up when two items with the Arm Armor tag are both present and equipped.

The default warning remains ⚠Unsatisfied Prerequisite(s). (Possibly in order to prevent data file bloat, this could be a dropdown that can be set to either Default Warning, or Specific Warning/Label As:, however you want to call these user specified warnings).
A third type of warning could even be "Display conditional modifier" (along with highlighting the violating bits), but that's not super necessary, especially if it's difficult to do.

@NagBoard
Copy link

NagBoard commented Feb 2, 2024

I'd like to point out that these rules depend on the table, I am currently playing the game where you can add up to 50% of rigid armor without getting the penalty (given that whole body is 305% as per LT and LTIA), so it may raise some issues

@Legendsmith
Copy link
Contributor Author

@NagBoard I don't understand how you've managed to miss the point of customizeable warnings.

@richardwilkes
Copy link
Owner

It isn't clear to me if this custom warning is a single thing that shows if any of the prereqs fail, or if you are asking for every prereq entry to allow for a custom message. If the latter, how does that work for the various and/or combinations that can be set?

@richardwilkes richardwilkes changed the title Extend prerequsite functionality to check for more types of conflicts and display custom warnings for the conflict type Display custom warnings for the prerequisite failure Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants