From 93667cc4c87797b548801e0a6abed770f9c465eb Mon Sep 17 00:00:00 2001 From: Hesketh2 <88981446+Hesketh2@users.noreply.github.com> Date: Tue, 1 Sep 2026 20:47:25 +0700 Subject: [PATCH 1/2] feat: Add new games to COD Info --- lua/wikis/callofduty/Info.lua | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/lua/wikis/callofduty/Info.lua b/lua/wikis/callofduty/Info.lua index dc5c69c7575..13e8e5b5d70 100644 --- a/lua/wikis/callofduty/Info.lua +++ b/lua/wikis/callofduty/Info.lua @@ -291,8 +291,22 @@ return { lightMode = 'Call of Duty Default lightmode.png', }, }, - vg = { + mw4 = { order = 20, + abbreviation = 'MW4', + name = 'Modern Warfare 4', + link = 'Call of Duty: Modern Warfare 4', + logo = { + darkMode = 'COD MW4 default allmode.png', + lightMode = 'COD MW4 default allmode.png', + }, + defaultTeamLogo = { + darkMode = 'Call of Duty Default darkmode.png', + lightMode = 'Call of Duty Default lightmode.png', + }, + }, + vg = { + order = 21, abbreviation = 'VG', name = 'Vanguard', link = 'Call of Duty: Vanguard', @@ -306,7 +320,7 @@ return { }, }, waw = { - order = 21, + order = 22, abbreviation = 'WaW', name = 'World at War', link = 'Call of Duty: World at War', @@ -320,7 +334,7 @@ return { }, }, wwii = { - order = 22, + order = 23, abbreviation = 'WWII', name = 'WWII', link = 'Call of Duty: WWII', @@ -334,7 +348,7 @@ return { }, }, wz = { - order = 23, + order = 24, abbreviation = 'WZ', name = 'Warzone', link = 'Call of Duty: Warzone', @@ -348,7 +362,7 @@ return { }, }, wzm = { - order = 24, + order = 25, abbreviation = 'WZM', name = 'Warzone Mobile', link = 'Call of Duty: Warzone Mobile', @@ -362,7 +376,7 @@ return { }, }, online = { - order = 25, + order = 26, abbreviation = 'CODOL', name = 'Call of Duty Online', link = 'Call of Duty Online', From 34dff3716a46575937e5992f650066d2e4cb1102 Mon Sep 17 00:00:00 2001 From: Hesketh2 <88981446+Hesketh2@users.noreply.github.com> Date: Tue, 1 Sep 2026 20:48:44 +0700 Subject: [PATCH 2/2] Update Config.lua --- lua/wikis/callofduty/FilterButtons/Config.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/wikis/callofduty/FilterButtons/Config.lua b/lua/wikis/callofduty/FilterButtons/Config.lua index f1c516d8912..e8ce89aa3b7 100644 --- a/lua/wikis/callofduty/FilterButtons/Config.lua +++ b/lua/wikis/callofduty/FilterButtons/Config.lua @@ -33,7 +33,7 @@ Config.categories = { name = 'game', property = 'game', expandable = true, - items = {'bo7', 'wz', 'codm'}, + items = {'mw4', 'bo7', 'wz', 'codm'}, transform = function(game) return Game.icon({game = game, noSpan = true, noLink = true, size = '20x20px'}) end