mirror of
https://codeberg.org/Duvelcorp/MetaHunt.git
synced 2026-09-22 07:36:58 +00:00
060fc555fe
Collapse all legacy/scattered SavedVariables from absorbed standalone
addons (FeedOMatic, ZHunter/zButtons, SmartAmmo, AutoQuest, AntiDaze,
AutoStrip, MinimapButton) into two persisted globals with clean per-module
nesting under .modules.<id>.
Migration engine (api/savedvariables.lua):
- MTH_SV_EnsureSchema() with schemaVersion gate, idempotent + non-destructive
- Per-module migrators map old locations -> canonical nested stores
- Driven by an ADDON_LOADED("MetaHunt") handler so it runs only AFTER WoW
loads the real SavedVariables (fixes announce-every-session bug that ran
the migration on empty pre-load defaults)
- One-time player-facing chat announce, gated on real legacy data present
Framework/config:
- core-framework InitSavedVariables no longer runs migration at file-load;
unconditionally strips account-root module aliases
- config.lua stops re-creating root[module] aliases (was duplicating data
onto disk); canonical store stays under .modules.<id>
Modules:
- feedomatic: bind FOM_* globals as runtime aliases into nested store,
drop persisted duplicates and .legacy blob
- zhunter: ZHunterMod_Saved re-pointed at .modules.zhunter
- smartammo/autoquest/antidaze/autostrip/minimapbutton read nested store
TOC trimmed to MTH_SavedVariables + MTH_CharSavedVariables only.
Profiles unchanged (already snapshot/apply the nested .modules structure).
Also includes pet-scan refinements: canonical pet key derivation and
level-independent pet signature (schema v3).
53 lines
2.4 KiB
XML
53 lines
2.4 KiB
XML
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
|
|
..\FrameXML\UI.xsd">
|
|
<Include file="..\api\constants.lua"/>
|
|
<Include file="..\api\savedvariables.lua"/>
|
|
<Include file="..\api\minimap-button.lua"/>
|
|
<Include file="..\api\AutoStrip.xml"/>
|
|
<Include file="..\api\AutoStrip.lua"/>
|
|
<Include file="..\api\AntiDaze.lua"/>
|
|
<Include file="..\api\uilib.lua"/>
|
|
<Include file="..\api\uirenderer.lua"/>
|
|
<Include file="..\init\localization.xml"/>
|
|
<Include file="..\api\options-tree.lua"/>
|
|
<Include file="..\api\options.xml"/>
|
|
<Include file="..\api\options.lua"/>
|
|
<Include file="..\api\options-chronometer.lua"/>
|
|
<Include file="..\api\options-credits.lua"/>
|
|
<Include file="..\api\options-autobuy.lua"/>
|
|
<Include file="..\api\options-autoquest.lua"/>
|
|
<Include file="..\api\options-icu.lua"/>
|
|
<Include file="..\api\options-expammo.lua"/>
|
|
<Include file="..\api\profile.lua"/>
|
|
<Include file="..\api\options-profiles.lua"/>
|
|
<Include file="..\api\options-shell.lua"/>
|
|
<Include file="..\api\options-zbuttons.lua"/>
|
|
<Include file="..\api\bag-ammo-labels.lua"/>
|
|
<Include file="..\api\options-feedomatic.lua"/>
|
|
<Include file="..\api\hunterbook.xml"/>
|
|
<Include file="..\api\hunterbook.lua"/>
|
|
<Include file="..\api\hunterbook-tab-beastlore.lua"/>
|
|
<Include file="..\api\hunterbook-tab-families.lua"/>
|
|
<Include file="..\api\hunterbook-tab-petabilities.lua"/>
|
|
<Include file="..\api\hunterbook-tab-weapons.lua"/>
|
|
<Include file="..\api\hunterbook-tab-npcfinder.lua"/>
|
|
<Include file="..\api\hunterbook-tab-stable.lua"/>
|
|
<Include file="..\api\hunterbook-tab-pethistory.lua"/>
|
|
<Include file="..\api\hunterbook-model-viewer.lua"/>
|
|
<Include file="..\api\map-markers.lua"/>
|
|
<Include file="..\api\debug-frame.lua"/>
|
|
<Include file="..\api\core-framework.lua"/>
|
|
<Include file="..\api\core-scan-stablemaster.lua"/>
|
|
<Include file="..\api\pets-service-lifecycle.lua"/>
|
|
<Include file="..\api\pets-service-vitals.lua"/>
|
|
<Include file="..\api\pets-service-runaway.lua"/>
|
|
<Include file="..\api\pets-service-stablescan.lua"/>
|
|
<Include file="..\api\core-scan-beasttraining.lua"/>
|
|
<Include file="..\api\core-scan-spellbookpet.lua"/>
|
|
<Include file="..\api\core-scan-huntertalents.lua"/>
|
|
<Include file="..\api\core.lua"/>
|
|
<Include file="..\api\version-check.lua"/>
|
|
<Include file="..\api\localization.lua"/>
|
|
<Include file="..\api\config.lua"/>
|
|
</Ui>
|