Skip to content

ResourceAmount beta ​

Interface of @v12-engine/client

ts
export interface ResourceAmount

An amount of one of the game's resources, the way the HUD shows it

Members ​

amount ​

ts
amount: number;

How much of it the player has

chip ​

ts
chip?: string;

CSS for its chip, see ResourceLook

id ​

ts
id: string;

The resource's id, as the game declares it (ResourceId)

name ​

ts
name: string;

The resource's name as the player reads it

text ​

ts
text?: string;

The amount as the game writes it (ResourceLook.format): amount when it does not