MapItemTableEntry beta
Interface of @v12-engine/engine
ts
export interface MapItemTableEntryA line of an item table (MapItemTable.items): an item by id, or any item of a level, a class, or both (campaign plan GP3: { level: 3, weight: 2 }), its weight shared among those of the game that match
Members
class
ts
class?: string;The class of item it stands for, for a line that does not name one
item
ts
item?: string;The item's id, for a line that names one
level
ts
level?: number;The level of item it stands for, for a line that does not name one
weight
ts
weight: number;How likely this line is among the table's, relative to the others' weights