local canteens = { { -- Name of canteen to display in chat when consumed Display = "SPEED BOOST", -- Any attribute, should be one that has no effect -- Attribute in equivalent extended upgrade should match this Attribute = "mvm completed challenges bitmask", -- Custom item description to apply to the canteen Description = "Consumable: Gain a speed boost for 5 seconds", -- Effect function Effect = function(activator) activator:AddCond(TF_COND_SPEED_BOOST, 5, activator) end }, { Display = "BLAST IMMUNITY", Attribute = "throwable fire speed", Description = "Consumable: Gain resistance to explosives for 5 seconds", Effect = function(activator) activator:AddCond(TF_COND_BLAST_IMMUNE, 5, activator) end }, { Display = "INFINITE CLIP", Attribute = "is commodity", Description = "Consumable: No reload neccessary", Effect = function(activator) primary:SetAttributeValue("reload time decreased", -0.8) timer.Simple(5, function() primary:SetAttributeValue("reload time decreased", nil) end) end }, { Display = "STEALTH", Attribute = "throwable particle trail only", Description = "Consumable: Cloak for up to 15 seconds, cloak is cancelled when attacking", Effect = function(activator) activator:AddCond(TF_COND_STEALTHED_USER_BUFF, 15, activator) end }, { Display = "QUICK HEAL", Attribute = "cannot delete", Description = "Consumable: Quickly heals you up to full health", Effect = function(activator) activator:AddCond(TF_COND_HALLOWEEN_QUICK_HEAL, 5, activator) end }, { Display = "STRENGTH", Attribute = "cannot_transmute", Description = "Consumable: Gain double damage and distance falloff immunity", Effect = function(activator) activator:AddCond(TF_COND_RUNE_STRENGTH, 5, activator) end }, { Display = "HASTE", Attribute = "quest earned standard points", Description = "Consumable: Gain double damage and distance falloff immunity", Effect = function(activator) activator:AddCond(TF_COND_RUNE_STRENGTH, 5, activator) end }, { Display = "KING", Attribute = "non economy", Description = "Consumable: Health regen and team buff", Effect = function(activator) activator:AddCond(TF_COND_RUNE_KING, 5, activator) end }, { Display = "RESISTANCE", Attribute = "cannot giftwrap", Description = "Consumable: Reduce incoming damage by 50%", Effect = function(activator) activator:AddCond(TF_COND_RUNE_RESIST, 5, activator) end }, } timer.Simple(0.1, function() for _, canteen in pairs(canteens) do table.insert(CUSTOM_CANTEENS, canteen) end end)