Skip to content

DataSetChoice beta ​

TypeAlias of @v12-engine/engine

ts
export type DataSetChoice = 'all' | 'none' | {
    only?: string[];
    except?: string[];
};

What a data.json takes of a default set (GameData.defaults): all of it, none, only some ids, or all but some. Over what the code chose of it, whose own definitions (with) and changes stay; the data changes the set's definitions as any other (items.<id>)