Commit Graph

5 Commits

Author SHA1 Message Date
Brues ffdf376ac4 add pfUI.events callback registry, replace addoncompat OnUpdate poll
Introduce a central pfUI.events registry (ClassicAPI's
CallbackRegistryMixin, undefined events allowed) initialized in pfUI.lua
before any module body runs, so publishers/subscribers don't depend on
module load order.

firstrun sets `pfUI.firstrun.completed` and fires `firstrun:complete` at
the point NextStep detects no pending steps. PLAYER_ENTERING_WORLD re-
enters this path on every zone, so the flag is a one-shot guard.

addoncompat drops its 0.1s OnUpdate poll and either RunQueues immediately
(returning user, all steps already done) or subscribes to the event.
2026-07-01 10:20:34 -05:00
shagu ba4403850c addoncompat: add prat to the softconflict list 2024-11-03 13:23:56 +01:00
shagu f738b0ba7c addoncompat: add shagutweaks compat check 2022-04-26 20:15:29 +02:00
shagu 1daaf68dea addoncompat: add missing translation 2019-06-11 21:42:12 +02:00
shagu 6e0382ff8c addoncompat: an addon compatibility checker
* Checks for redundant and incompatible addons.
* Asks the user for soft-conflicts if they want to keep it
* Saves soft-conflicts to not annoy the user on every login
* Automatically disables hard-conflicts
2019-06-11 19:55:33 +02:00