17 lines
760 B
TypeScript
17 lines
760 B
TypeScript
import { Resource } from "@incgame/engine";
|
|
|
|
export type ResourceDescription = {
|
|
id: Resource;
|
|
label: string;
|
|
color: string;
|
|
icon: string;
|
|
}
|
|
|
|
export const ResourceDescriptions: Record<ResourceDescription['id'], ResourceDescription> = {
|
|
tree: { id: 'tree', label: 'Дерево', color: '#b98249', icon: '🌲' },
|
|
wood: { id: 'wood', label: 'Бревно', color: '#c9c209', icon: '🪵' },
|
|
// iron: { id: 'iron', label: 'Железо', color: '#9aa7b0', icon: '⛓' },
|
|
stone: { id: 'stone', label: 'Камень', color: '#8a8a8a', icon: '🪨' },
|
|
// gold: { id: 'gold', label: 'Золото', color: '#d9b64e', icon: '💰' },
|
|
// knowledge: { id: 'knowledge', label: 'Знание', color: '#7d8bf0', icon: '📖' },
|
|
}; |