Module:Patch/data

From The Remnant 2 Wiki
Jump to navigation Jump to search

Documentation for this module may be created at Module:Patch/data/doc

local patch = {}

-- -----------------------------------------------------------------------------
-- Adding a new patch/update
-- 1) Add the patch number to the top of ordered_list (sorted newest -> oldest):
--    'xxx,xxx',
-- 2) Add the patch number to the patch map:
--    ['xxx,xxx'] = {
--         link = 'example.com', -- Official link
--         title = 'Title', -- Opinionated display title, does not have to be boring like they are right now
--         date = 'December 25, 2024', -- Official published date
--         major = true/false, -- Optional: Set true if patch contains significant enough changes to warrant soft-deprecating a large amount of pages
--    },
-- 3) Assure that brackets, single quotes, and commas are in the right places.
--    At the bottom left of the source editor (right above Summary) you'll find
--    an error checker. Click any errors and correct them before submitting.
-- 4) Use "Preview page with this template" to test the updated values
--    A good page to view would be "Anguish" to assure past changes still
--    display properly
-- -----------------------------------------------------------------------------
patch.ordered_list = {
	'420,332',
	'419,098',
	'417,127',
	'408,516',
	'396,261',
	'393,347',
	'386,778',
	'384,830',
	'384,309',
	'384,210',
	'383,678',
	'382,873',
}

patch.map = {
	['420,332'] = {
		link = 'https://gunfiregames.com/blog-five/2024/5/9/remnant-ii-patch-notes-420332nbsp-050924',
		title = 'May 09, 2024 Patch',
		date = 'May 09, 2024',
		major = true,
	},
	['419,098'] = {
		link = 'https://gunfiregames.com/blog-five/2024/5/1/remnant-ii-patch-notes-050124-419098',
		title = 'May 01, 2024 Patch',
		date = 'May 01, 2024',
	},
	['417,127'] = { -- The Forgotten Kingdom release
		link = 'https://gunfiregames.com/blog-five/2024/4/22/remnant-ii-patch-notes-april-23rd-2024',
		title = 'April 23, 2024 Patch',
		date = 'April 23, 2024',
		major = true,
	},
	['408,516'] = { -- Second set of corrupted items
		link = 'https://gunfiregames.com/blog-five/2024/2/28/remnant-ii-408516-patch-notes',
		title = 'February 29, 2024 Patch',
		date = 'February 29, 2024',
		major = true,
	},
	['396,261'] = { -- The Awakened King release
		link = 'https://gunfiregames.com/blog-five/2023/11/14/remnant-ii-patch-396261-notes-111423',
		title = 'November 14, 2023 Patch',
		date = 'November 14, 2023',
		major = true,
	},
	['393,347'] = { -- First set of corrupted items
		link = 'https://gunfiregames.com/blog-five/2023/10/26/remnant-ii-patch-393347-notes',
		title = 'October 26, 2023 Patch',
		date = 'October 26, 2023',
		major = true,
	},
	['386,778'] = {
		link = 'http://gunfiregames.com/blog-five/2023/9/7/remnant-ii-patch-notes-9723',
		title = 'September 07, 2023 Patch',
		date = 'September 07, 2023',
	},
	['384,830'] = {
		link = 'https://gunfiregames.com/blog-five/2023/8/17/remnant-ii-patch-notes-81723',
		title = 'August 17, 2023 Patch',
		date = 'August 17, 2023',
	},
	['384,309'] = {
		link = 'http://gunfiregames.com/blog-five/2023/8/11/remnant-2-hotfix-notes-384309',
		title = 'August 11, 2023 Hotfix',
		date = 'August 11, 2023',
	},
	['384,210'] = {
		link = 'http://gunfiregames.com/blog-five/2023/8/10/remnant-2-patch-notes-081023',
		title = 'August 10, 2023 Patch',
		date = 'August 10, 2023',
	},
	['383,678'] = {
		link = 'https://gunfiregames.com/blog-five/2023/8/4/remnant-2-patch-notes-080423',
		title = 'August 04, 2023 Patch',
		date = 'August 04, 2023',
		major = true,
	},
	['382,873'] = {
		link = 'https://gunfiregames.com/blog-five/2023/7/24/remnant-ii-pc-patch-382873-notes',
		title = 'July 24, 2023 Hotfix',
		date = 'July 24, 2023',
	},
}

return patch