fix: use configured furni source and catalog assets

This commit is contained in:
Simo committed 2026-08-02 14:22:05 +02:00
1 parent aed70db81f
commit c78f8812ad
25 files changed
+368 -129

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
export const CATALOGUE_ASSET_BASE_PATH = "/gamedata/c_images/catalogue";
export function catalogueIconUrl(iconImage: number): string {
return `${CATALOGUE_ASSET_BASE_PATH}/icon_${iconImage}.png`;
}
export function catalogueAssetUrl(
name: string,
extension: "png" | "gif",
): string {
return `${CATALOGUE_ASSET_BASE_PATH}/${encodeURIComponent(name)}.${extension}`;
}