/** * @file CDN URL utility for Elysium game assets. * @copyright nhcarrigan * @license Naomi's Public License * @author Naomi Carrigan */ const cdnBase = "https://cdn.nhcarrigan.com/elysium"; /** * Returns the CDN URL for a game asset image. * @param folder - The asset category folder (e.g. "bosses", "companions"). * @param id - The asset identifier (file name without extension). * @returns The full CDN URL for the asset. */ const cdnImage = (folder: string, id: string): string => { return `${cdnBase}/${folder}/${id}.jpg`; }; export { cdnImage };