Difference between revisions of "Module:Availability/crate"

From Team Fortress Wiki
Jump to: navigation, search
m (#117)
m (#119)
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', '117'}
+
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', '117', '119'}
  
 
function status(num)
 
function status(num)

Revision as of 18:54, 29 March 2018

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', '117', '119'}

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