export interface ModifiableData { base: T; mod: T; total?: T; } export interface ResourceData extends ModifiableData { value: T; max?: T; } export interface UsableResource { total: T; used: T; }