My Little Pony Friendship is Magic Wiki
Advertisement

Documentation for this module may be created at Module:Nameconvert/list/doc

--Make sure to be consistent with the existing formatting
--and check for errors before saving!
--If a title contains double quotes, they need to be escaped with a backslash.
local data = {
    --Pony Life episodes in release order
    ponylife = {
        "Princess Probz",--1 (season 1)
        "The Best of the Worst",
    },
    --FiM episodes in release order
    episodes = {
        "Friendship is Magic, part 1",--1 (season 1)
        "Friendship is Magic, part 2",
        "The Ticket Master",
        "Applebuck Season",
        "Griffon the Brush Off",
        "Boast Busters",
        "Dragonshy",
        "Look Before You Sleep",
        "Bridle Gossip",
        "Swarm of the Century",
        "Winter Wrap Up",
        "Call of the Cutie",
        "Fall Weather Friends",
        "Suited For Success",
        "Feeling Pinkie Keen",
        "Sonic Rainboom",
        "Stare Master",
        "The Show Stoppers",
        "A Dog and Pony Show",
        "Green Isn't Your Color",
        "Over a Barrel",
        "A Bird in the Hoof",
        "The Cutie Mark Chronicles",
        "Owl's Well That Ends Well",
        "Party of One",
        "The Best Night Ever",
        "The Return of Harmony Part 1",--27 (season 2)
        "The Return of Harmony Part 2",
        "Lesson Zero",
        "Luna Eclipsed",
        "Sisterhooves Social",
        "The Cutie Pox",
        "May the Best Pet Win!",
        "The Mysterious Mare Do Well",
        "Sweet and Elite",
        "Secret of My Excess",
        "Hearth's Warming Eve",
        "Family Appreciation Day",
        "Baby Cakes",
        "The Last Roundup",
        "The Super Speedy Cider Squeezy 6000",
        "Read It and Weep",
        "Hearts and Hooves Day",
        "A Friend in Deed",
        "Putting Your Hoof Down",
        "It's About Time",
        "Dragon Quest",
        "Hurricane Fluttershy",
        "Ponyville Confidential",
        "MMMystery on the Friendship Express",
        "A Canterlot Wedding - Part 1",
        "A Canterlot Wedding - Part 2",
        "The Crystal Empire - Part 1",--53 (season 3)
        "The Crystal Empire - Part 2",
        "Too Many Pinkie Pies",
        "One Bad Apple",
        "Magic Duel",
        "Sleepless in Ponyville",
        "Wonderbolts Academy",
        "Apple Family Reunion",
        "Spike at Your Service",
        "Keep Calm and Flutter On",
        "Just for Sidekicks",
        "Games Ponies Play",
        "Magical Mystery Cure",
        "Princess Twilight Sparkle - Part 1",--66 (season 4)
        "Princess Twilight Sparkle - Part 2",
        "Castle Mane-ia",
        "Daring Don't",
        "Flight to the Finish",
        "Power Ponies",
        "Bats!",
        "Rarity Takes Manehattan",
        "Pinkie Apple Pie",
        "Rainbow Falls",
        "Three's A Crowd",
        "Pinkie Pride",
        "Simple Ways",
        "Filli Vanilli",
        "Twilight Time",
        "It Ain't Easy Being Breezies",
        "Somepony to Watch Over Me",
        "Maud Pie (episode)",
        "For Whom the Sweetie Belle Toils",
        "Leap of Faith",
        "Testing Testing 1, 2, 3",
        "Trade Ya!",
        "Inspiration Manifestation",
        "Equestria Games",
        "Twilight's Kingdom - Part 1",
        "Twilight's Kingdom - Part 2",
        "The Cutie Map - Part 1",--92 (season 5)
        "The Cutie Map - Part 2",
        "Castle Sweet Castle",
        "Bloom & Gloom",
        "Tanks for the Memories",
        "Appleoosa's Most Wanted",
        "Make New Friends but Keep Discord",
        "The Lost Treasure of Griffonstone",
        "Slice of Life",
        "Princess Spike",
        "Party Pooped",
        "Amending Fences",
        "Do Princesses Dream of Magic Sheep?",
        "Canterlot Boutique",
        "Rarity Investigates!",
        "Made in Manehattan",
        "Brotherhooves Social",
        "Crusaders of the Lost Mark",
        "The One Where Pinkie Pie Knows",
        "Hearthbreakers",
        "Scare Master",
        "What About Discord?",
        "The Hooffields and McColts",
        "The Mane Attraction",
        "The Cutie Re-Mark - Part 1",
        "The Cutie Re-Mark - Part 2",
        "The Crystalling - Part 1",--118 (season 6)
        "The Crystalling - Part 2",
        "The Gift of the Maud Pie",
        "On Your Marks",
        "Gauntlet of Fire",
        "No Second Prances",
        "Newbie Dash",
        "A Hearth's Warming Tail",
        "The Saddle Row Review",
        "Applejack's \"Day\" Off",
        "Flutter Brutter",
        "Spice Up Your Life",
        "Stranger Than Fan Fiction",
        "The Cart Before the Ponies",
        "28 Pranks Later",
        "The Times They Are A Changeling",
        "Dungeons & Discords",
        "Buckball Season",
        "The Fault in Our Cutie Marks",
        "Viva Las Pegasus",
        "Every Little Thing She Does",
        "P.P.O.V. (Pony Point of View)",
        "Where the Apple Lies",
        "Top Bolt",
        "To Where and Back Again - Part 1",
        "To Where and Back Again - Part 2",
        "Celestial Advice",--144 (season 7)
        "All Bottled Up",
        "A Flurry of Emotions",
        "Rock Solid Friendship",
        "Fluttershy Leans In",
        "Forever Filly",
        "Parental Glideance",
        "Hard to Say Anything",
        "Honest Apple",
        "A Royal Problem",
        "Not Asking for Trouble",
        "Discordant Harmony",
        "The Perfect Pear",
        "Fame and Misfortune",
        "Triple Threat",
        "Campfire Tales",
        "To Change a Changeling",
        "Daring Done?",
        "It Isn't the Mane Thing About You",
        "A Health of Information",
        "Marks and Recreation",
        "Once Upon a Zeppelin",
        "Secrets and Pies",
        "Uncommon Bond",
        "Shadow Play - Part 1",
        "Shadow Play - Part 2",
        "School Daze - Part 1",--170 (season 8)
        "School Daze - Part 2",
        "The Maud Couple",
        "Fake It 'Til You Make It",
        "Grannies Gone Wild",
        "Surf and or Turf",
        "Horse Play",
        "The Parent Map",
        "Non-Compete Clause",
        "The Break Up Break Down",
        "Molt Down",
        "Marks for Effort",
        "The Mean 6",
        "A Matter of Principals",
        "The Hearth's Warming Club",
        "Friendship University",
        "The End in Friend",
        "Yakity-Sax",
        "Road to Friendship",
        "The Washouts",
        "A Rockhoof and a Hard Place",
        "What Lies Beneath",
        "Sounds of Silence",
        "Father Knows Beast",
        "School Raze - Part 1",
        "School Raze - Part 2",
        "My Little Pony Best Gift Ever",
        "The Beginning of the End - Part 1",--197 (season 9)
        "The Beginning of the End - Part 2",
        "Uprooted",
        "Sparkle's Seven",
        "The Point of No Return",
        "Common Ground",
        "She's All Yak",
        "Frenemies",
        "Sweet and Smoky",
        "Going to Seed",
        "Student Counsel",
        "The Last Crusade",
        "Between Dark and Dawn",
        "The Last Laugh",
        "2, 4, 6, Greaaat",
        "A Trivial Pursuit",
        "The Summer Sun Setback",
        "She Talks to Angel",
        "Dragon Dropped",
        "A Horse Shoe-In",
        "Daring Doubt",
        "Growing Up is Hard to Do",
        "The Big Mac Question",
        "The Ending of the End - Part 1",
        "The Ending of the End - Part 2",
        "The Last Problem",
        "A-Dressing Memories",--223 (season 9 clip show)
        "Cakes for the Memories",
        "Memnagerie",
        "Deep Tissue Memories",
        "Harvesting Memories",
        "Memories and More",
    },
    --Note: in Lua brackets denote a string key
    aliases = {
        ["My Little Pony Equestria Girls"] = {
            'eg', 'mlpeg', 'equestria girls'
        },
        ["My Little Pony Equestria Girls: Rainbow Rocks/Animated shorts"] = {
            'rrshorts'
        },
        ["My Little Pony Equestria Girls: Rainbow Rocks"] = {
            'egrr', 'mlpegrr', 'rainbow rocks'
        },
        ["My Little Pony Equestria Girls: Friendship Games/Animated shorts"] = {
            'fgshorts'
        },
        ["My Little Pony Equestria Girls: Friendship Games"] = {
            'egfg', 'mlpegfg', 'friendship games'
        },
        ["My Little Pony Equestria Girls: Legend of Everfree"] = {
            'loe', 'egloe', 'mlpegloe', 'legend of everfree'
        },
        ["My Little Pony Equestria Girls: Dance Magic"] = {
            'special1', 'egs1', 'dance magic'
        },
        ["My Little Pony Equestria Girls: Movie Magic"] = {
            'special2', 'egs2', 'movie magic'
        },
        ["My Little Pony Equestria Girls: Mirror Magic"] = {
            'special3', 'egs3', 'mirror magic'
        },
        ["My Little Pony Equestria Girls: Summertime Shorts"] = {
            'ssshorts'
        },
        ["My Little Pony Equestria Girls: Better Together (season 1)"] = {
            'egbt1'
        },
        ["My Little Pony Equestria Girls: Better Together (season 2)"] = {
            'egbt2'
        },
        ["My Little Pony Equestria Girls: Choose Your Own Ending (season 1)"] = {
            'egcyoe1', 'cyoe1'
        },
        ["My Little Pony Equestria Girls: Choose Your Own Ending (season 2)"] = {
            'egcyoe2', 'cyoe2'
        },
        ["My Little Pony Equestria Girls: Forgotten Friendship"] = {
            'egff'
        },
        ["My Little Pony Equestria Girls: Rollercoaster of Friendship"] = {
            'egrof'
        },
        ["My Little Pony Equestria Girls: Spring Breakdown"] = {
            'egsb'
        },
        ["My Little Pony Equestria Girls: Sunset's Backstage Pass"] = {
            'egsbp'
        },
        ["My Little Pony Equestria Girls: Holidays Unwrapped"] = {
            'eghu'
        },
        ["My Little Pony The Movie"] = {
            'movie', 'mlptm', 'mlpmovie'
        },
        ["My Little Pony Best Gift Ever"] = {
            'bge', 'mlpbge'
        },
        ["My Little Pony: Rainbow Roadtrip"] = {
            'mlprr'
        },
        ["My Little Pony Friendship is Magic/Animated shorts"] = {
            'fimshorts'
        },
    },
    lookup = {},
    lastEpisode = 0
}

--Construct reverse index and add it as data.reverse
local ri = {episodes = {}, aliases = {}}
--episodes: index-value
for i, ep in ipairs(data.episodes) do
    ri.episodes[ep] = i
    data.lastEpisode = i
end
--aliases: key-value (table of strings)
for k, as in pairs(data.aliases) do
    for j, a in ipairs(as) do
        ri.aliases[a] = k
    end
end
data.lookup = ri

return data
Advertisement