ResourceLook beta
Interface of @v12-engine/client
ts
export interface ResourceLookHow a resource looks in the HUD and on the minimap
Members
chip
ts
chip?: string;CSS for the chip shown next to amounts of it: a background (a gradient, or a url(...) picture), a size, a shape
color
ts
color?: string;The color of what holds it on the minimap, like a gold mine or a tree
format
ts
format?: (amount: number) => string;How an amount of it is written: 1.2k, 3 / 10, a time. The whole number when left out
hidden
ts
hidden?: boolean;Kept behind the scenes: not shown with what the player has