Module:AbilityTable: Difference between revisions

Extract list membership into public p.is_member() as the shared source of truth (exclusions + special rules); filter_abilities now delegates to it. Behavior-identical for tables (with help from vergir-bot LLM)
Vergir (talk | contribs)
Fix comment: membership predicate is consumed by Module:AbilityHints (with help from vergir-bot LLM)
Line 74: Line 74:
-- Membership
-- Membership
-- Shared source of truth for "is ability X a member of list Y".
-- Shared source of truth for "is ability X a member of list Y".
-- Also consumed by Module:AbilityInteractions to decide which
-- Also consumed by Module:AbilityHints to decide which
-- interaction icons to show on ability cards.
-- interaction icons to show on ability cards.
-- ============================================================
-- ============================================================