Enchanting table UI: vanilla fonts, controller glyphs, storage counts and rarity shimmer - #36
Merged
Merged
Conversation
… needs to load it
ksavila
force-pushed
the
ksavila/enchant-table-ui
branch
from
October 1, 2026 23:47
2a82c57 to
09082c4
Compare
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.
Moves the whole enchanting table UI off legacy
UnityEngine.UI.Textand the hand-drawn gamepad PNGs, onto TMP with vanilla fonts and the game's own controller glyphs. This started as the Enchant tab only. It now covers every panel, plus a few things that only became possible once the table was fully TMP.Contains #31. The rarity flare branch is merged in so its shimmer can run inside the table (see "Rarity shimmer in the table" below). #31's description still covers how the star tiers are derived; it can be closed if this goes in.
Unity project fix (first commit, stands alone)
CopyAssembliesToUnitytarget now refreshes the game dlls from the Steam install and also copiesMagicaClothV2.dllplus its Unity.Collections/Burst/Mathematics companions. Without that closure Mono cannot loadItemDrop.ItemData.SharedData(SharedData -> Attack -> VisEquipment -> MagicaCloth colliders) and Unity silently drops every item's shared data and icons from the bundle. This covers the MagicaCloth reference without the Asset Store package; if that package is added later for cloth authoring, drop those six copy lines to avoid duplicate assemblies.EpicLoot.dllinstead of the retiredEpicLoot-UnityLib.dll(same class file IDs, only the guid changed).EpicLoot.dll.metais force-added so the guid is stable across machines.-t:CopyAssembliesToUnityfirst.Runtime building blocks
GamepadGlyph: a TMP label that renders one ZInput button viaGetBoundKeyString, so it follows the player's bindings and pad type (Xbox/PlayStation/Switch glyph sets) and refreshes on layout change.VanillaFont: prefab-authored font role applied throughMagicFontManageron enable.TMP conversion
GamepadGlyphinstance. The fifteen hint PNGs are deleted.Text/TMP_Textpaths in the panel base andSelectableTextColorare gone, along with the commented-out Auga fixups for the mode and rarity buttons.Gamepad fixes
Storage counts
Show Storage Counts(Interface section, default on). Each material cost shows a green+Nfor how many are available from storage outside the inventory, as reported byAPI.CountProviderItems(a craft-from-containers mod, for example). The hover tooltip carries the full "N in storage" line.Rarity shimmer in the table
<link>verbatim. Now the shimmer runs wherever the table shows stars: the Enchant and Augment available-effects lists, the Augment and Rune effect selector rows, the runestone rows that show their effect as the name, and the augment choice dialog (description and buttons).Effect Rarity Flareconfig description updated to mention the table.Editor tooling (
Assets/Scripts/Editor)LegacyTextToTmpconverts a prefab's Text, InputField and Dropdown components.PrefabYamlrecovers field references and nested-prefab label overrides from the prefab YAML, since Unity nulls references whose field type changed.GamepadGlyphToolsswaps an icon for a glyph instance.PanelTmpMigrationis the record of each conversion, one menu item per step underMod/Migrations.The bundle is rebuilt once, in the last commit, so the prefab commits before it do not carry a matching bundle on their own.
Tested in game: enchant flow, rarity toggles, fonts, controller hints and glyph sizing; rarity shimmer in the table with the lines sweeping in step.