Skip to content

feat(map): add Custom Territory Management Screen on Eden Map - #69

Merged
burgerfan41 merged 21 commits into
EdenGuild:masterfrom
Good627:feat/territory-management-screen
Dec 2, 2026
Merged

burgerfan41 merged 21 commits into
EdenGuild:masterfrom
Good627:feat/territory-management-screen

Conversation

@Good627

@Good627 Good627 commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Stacked on feat/territory-map (#66), adding a Custom Territory Management Screen toggle (BridgeConfig.customTerritoryManagementScreen, enabled by default, Shift-bypassable) that renders guild territory management and selection directly on Eden's overworld map without any runtime Wynntils dependency.

Summary of Changes

  • Custom Territory Management Screen (TerritoryManageMapScreen + TerritoryManagementSession):
    • Standalone 1:1 Wynntils-matching container & lore parser (TerritoryAnnotator / TerritoryItem equivalent), slot navigation (SLOT_APPLY=0, SLOT_PREV_PAGE=9, SLOT_BACK=18, SLOT_NEXT_PAGE=27, SLOT_LOADOUTS=36), multi-page scanner with rewind-to-Page-0 and empty-slot/timeout desync guards, and a toolbar Refresh button.
    • Modes & Rendering: Def (1), Prod (2), Tres (3), Seek (4) map modes with multi-color fill/border bands, HQ-centered 3x zoomed-out startup, bottom-right +/- zoom controls, cooldown perimeter rings + MM:SS countdowns, shrinking resource generation icons (6px–10px), unclipped hovered names, collapsible Guild Output panel, right-hand hovered territory info panel, directional facing arrow ahead of the player skin cursor, and button hover hotkey tooltips (Backspace, 1–4, O, T, H, F, R, +/-).
    • Glyph Cleanup, Command Fallback & Back Navigation: Strips Wynncraft custom-font spacers/markers (\u00C0, \u058E, smart apostrophes \u2019 -> ') cleanly for abbreviations and /gu territory <name>, debounces fallback clicks, falls back to in-menu territory opening (including war compass fallback), and redirects Back clicks from territory submenus directly back into the management screen.
    • Main Territory Map & Preset Guide Integration: Matches Wynntils' GuildResourceValues treasury tier colors (TerritoryMapData.treasuryColorRgb & TerritoryMapScreen inspect card), normalizes /gu territory commands from the main map, optimizes TerritoryGuideController.canonicalTerritoryName to O(1) cached lookup maps, and integrates TerritoryMenuPanel cleanly.

Verification

  • edenmod-code-review run against b0e5d2c..HEAD (git merge-tree clean against upstream/master, gradle.properties untouched at mod_version=1.6.6, unused territoryManagementLegend config field removed).
  • .\gradlew.bat build --console=plain: BUILD SUCCESSFUL (84 test files, 558 tests, 0 failures, 0 errors, 4 skipped).

Good627 and others added 3 commits December 2, 2026 15:05
# Conflicts:
#	src/tel/eden/mod/EdenModClient.java
#	src/tel/eden/mod/map/TerritoryMapData.java
#	src/tel/eden/mod/map/TerritoryMapScreen.java
@burgerfan41
burgerfan41 merged commit 052ec91 into EdenGuild:master Dec 2, 2026
1 check passed
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