Skip to content

Add roman-numeral toggle for enchantment lore, hide-flags groundwork#333

Open
Travja wants to merge 1 commit into
devfrom
split/08-lore-roman-numerals-toggle
Open

Add roman-numeral toggle for enchantment lore, hide-flags groundwork#333
Travja wants to merge 1 commit into
devfrom
split/08-lore-roman-numerals-toggle

Conversation

@Travja

@Travja Travja commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Split out of #320 (piece 8/12, independent).

lore.stats.style.enchantments.roman-system lets servers switch enchantment level display between roman numerals and plain arabic numbers (previously roman numerals were hardcoded below the max-roman threshold).

Also adds attributes.hide-flags to engine.yml/EngineCfg, intended to toggle whether attributes/enchantments are hidden by default on custom items.

Note for reviewers: ATTRIBUTES_HIDE_FLAGS is only declared and loaded here — nothing in this change consumes it yet, so it's a no-op groundwork addition pending a follow-up that wires it up.

Backward compatibility

Already safe by default — roman-system defaults to true, which is byte-for-byte the previous hardcoded behavior (roman numerals below max-roman). No migration needed.

lore.stats.style.enchantments.roman-system lets servers switch
enchantment level display between roman numerals and plain arabic
numbers (previously roman numerals were hardcoded below the
max-roman threshold).

Also adds attributes.hide-flags to engine.yml/EngineCfg, intended to
toggle whether attributes/enchantments are hidden by default on
custom items. Note for reviewers: this flag is only declared and
loaded here — nothing in this change consumes it yet, so it's a
no-op groundwork addition pending a follow-up that wires it up.
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.

2 participants