Module:Stats/Cosmetic/MCC/STRINGS

local STRINGS = { -- SEASONS [ 'seasons' ] = { [ 1 ] = 'Season 1: Noble', [ 2 ] = 'Season 2: Spark', [ 3 ] = 'Season 3: Recon', [ 4 ] = 'Season 4: Reclaimer', [ 5 ] = 'Season 5: Anvil', [ 6 ] = 'Season 6: Raven', [ 7 ] = 'Season 7', [ 8 ] = 'Season 8', [ 9 ] = 'Season 9', [ 10 ] = 'Season 10' },	[ 'seasonspage' ] = { [ 1 ] = 'Season 1: Noble', [ 2 ] = 'Season 2: Spark', [ 3 ] = 'Season 3: Recon', [ 4 ] = 'Season 4: Reclaimer', [ 5 ] = 'Season 5: Anvil', [ 6 ] = 'Season 6: Raven', [ 7 ] = 'Season 7', [ 8 ] = 'Season 8', [ 9 ] = 'Season 9', [ 10 ] = 'Season 10' },	-- CURRENCIES [ 'currencies' ] = { [ 'sp' ] = 'Season Point' } }

local p = {}

function p.seasonLong( id ) return STRINGS[ 'seasons' ][ id ] or 'Unknown season' end

function p.seasonShort( id ) if STRINGS[ 'seasons' ][ id ] == nil then return 'Unknown season' end return 'Season ' .. id end

function p.seasonPage( id ) return STRINGS[ 'seasonspage' ][ id ] or nil end

function p.seasonLongLink( id ) if STRINGS[ 'seasons' ][ id ] == nil then return 'Unknown season' end return  .. p.seasonLong( id ) ..  end

function p.seasonShortLink( id ) if STRINGS[ 'seasons' ][ id ] == nil then return 'Unknown season' end return  .. p.seasonShort( id ) ..  end

function p.currency( id ) return STRINGS[ 'currencies' ][ id ] or 'Unknown currency' end

return p