ItemNode beta
Interface of @v12-engine/editor
ts
export interface ItemNodeAn item as the tree shows it
Members
below
ts
below: boolean;Whether it costs less than its parts together: building it pays the buyer (checkRules warns of it)
id
ts
id: string;The item's id
name
ts
name: string;What it is called
parts
ts
parts: number;What its parts cost together, one of a part said twice counted twice: 0 for one made of none
price
ts
price: number;What it costs, in the game's currency
problems
ts
problems: RulesProblem[];What the rules' check says of it (RulesProblem.at in it)
suits
ts
suits: readonly string[];The callings it suits (ItemDef.suits)
tags
ts
tags: readonly string[];Its tags (ItemDef.tags)
tier
ts
tier: string;Its tier, as its column is headed (epic is intermediate)