Difference between revisions of "Module:Availability/crate"

From Team Fortress Wiki
Jump to: navigation, search
(107 and 108 are new crates from the campaign. they are actively dropping.)
m
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', '106', '107', '108'}
+
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'}
  
 
function status(num)
 
function status(num)

Revision as of 01:03, 7 November 2017

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'}

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