Difference between revisions of "Module:Availability/crate"

From Team Fortress Wiki
Jump to: navigation, search
(Removed crates not listed in Active Series.)
m (#127)
Line 1: Line 1:
local active = {'124', '125', '126'}
+
local active = {'124', '125', '126', '127'}
  
 
function status(num)
 
function status(num)

Revision as of 16:12, 24 August 2020

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

local active = {'124', '125', '126', '127'}

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