Skip to content

MapItemTable beta ​

Interface of @v12-engine/engine

ts
export interface MapItemTable

What something drops when it dies (item tables, as classic map editors have them): one item by weight, or none

Members ​

chance ​

ts
chance?: number;

How likely it is to drop anything, 0..1. Always when left out

items ​

ts
items: MapItemTableEntry[];

The lines of the table, one of which is picked by weight

name ​

ts
name: string;

The table's name, which MapObject.drops names it by