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

Formatting Bug #2225

Open
HorusApl opened this issue Jun 12, 2024 · 1 comment
Open

Formatting Bug #2225

HorusApl opened this issue Jun 12, 2024 · 1 comment

Comments

@HorusApl
Copy link

What is your Quests version / build number (do not say "latest")?

5.0.3-b474

Describe the problem and how to replicate it.

These 2 specific lines do not follow any rational formatting used elsewhere in the file:

completed: "%#555555%%bold%Test"
redoCompleted: "%#555555%%bold%Test"

I have tried the typical %#fff000% that the other lines of the lang file use and work fine, but for some reason these 2 do not. I have tried every formatting way I know, the built in &e &l type MC codes, normal rgb, &#fff000, etc and it seems to just randomly choose the color. #555555 is a dark gray, and for some reason it shows as a Dark purple. The %bold% appears to work still.

Also, the ( ) on the message is not listed in the lang file to edit, but still appears in-game.
image

Any console errors to share?

n/a

If applicable, can you provide an example quest from quests.yml?

Any/all quests
@HorusApl HorusApl added the bug label Jun 12, 2024
@PikaMug
Copy link
Owner

PikaMug commented Jul 16, 2024

Strings that have item/entity/enchantment names like this are sent to the client for translation via LocaleLib. I think what's happening is the hex format isn't converting well to the Minecraft json command which is necessary for translation. Part of it seems to be dark purple because only the last char is being applied there (so §5).

I may find time to look into this further, but please understand something like this is extremely low priority.

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

2 participants