Difference between revisions of "Module:Availability/crate"

From Team Fortress Wiki
Jump to: navigation, search
m (#123)
m (#124)
 
Line 1: Line 1:
local active = {'61', '62', '63', '64', '65', '66', '67', '68', '69', '72', '73', '81', '82', '83', '84', '85', '87', '90', '91', '92', '101', '102', '103', '105', '106', '107', '108', '123'}
+
local active = {'61', '62', '63', '64', '65', '66', '67', '68', '69', '72', '73', '81', '82', '83', '84', '85', '87', '90', '91', '92', '101', '102', '103', '105', '106', '107', '108', '123', '124'}
  
 
function status(num)
 
function status(num)

Latest revision as of 21:24, 10 October 2019

Documentation for this module may be created at Module:Availability/crate/doc

local active = {'61', '62', '63', '64', '65', '66', '67', '68', '69', '72', '73', '81', '82', '83', '84', '85', '87', '90', '91', '92', '101', '102', '103', '105', '106', '107', '108', '123', '124'}

function status(num)
  for _, n in ipairs(active) do
    if n == num then
      return 'Mann Co. Supply Crate/Active series'
    end
  end
  return 'Mann Co. Supply Crate/Retired series'
end