Module:Populations/Data

From ENDLESS Legend 2 Official Wiki
Revision as of 03:03, 1 August 2026 by TENEMENT (talk | contribs) (structure of a pop)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Documentation for this module may be created at Module:Populations/Data/doc

local function Population(
	name, -- list[str (full name for title, short singular, short plural)]
	icon, -- str (link the file)
	category, -- "normal", "special"
	faction, -- str (faction) or "" (no faction)

	-- attributes
	effect, --str (write it out)
	collection, --list[list[str (number, collection effect)]]
	lore
)
	return {
		name=name,
		icon=icon,
		category=category,
		faction=faction,
		effect=effect,
		collection=collection,
		lore=lore
	}
end

return {
	Population=Population
}