Adds customisability to Local, Direct and Global Narrates + some new font defines#293
Merged
kyres1 merged 2 commits intoEncore-Server:masterfrom May 3, 2025
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When using Local, Direct and Global Narrate verbs you will now be prompted to choose the size, colour and shape of your font (e.g medium, red, & italic). Hopefully this will be quite helpful for people running events since it should let you make your narrates stand out more instead of being a normal standard white (unless you want it to!) as well as being able to make the text bigger and smaller to account for different contexts.
I took the liberty of adding a few new defines while doing this - this was mostly to make the new code more readable, but I hope it'll be good for others to take advantage of in the future - especially because the names of the defines should be way less arbitraty than the span defines (e.g span_phobia() vs. FONT_BRIGHTRED() ). Hopefully the template is easy enough to follow if people want to add other colours/sizes later down the line.
Fixes #184