MapDocumentOptions beta
Interface of @v12-engine/editor
ts
export interface MapDocumentOptionsHow a map's document is made (MapDocument, MapEditorOptions)
Members
ids
ts
ids?: 'apart' | 'inRow';How what is made here is numbered: from a place past the highest id picked at random (apart, so that two people's branches of a map merge), or just after it (inRow: a script that makes maps the same every time)
kinds
ts
kinds?: readonly MapKind[];The kinds of thing of the game's own (kinds)
rules
ts
rules?: readonly MapRule[];The checks of the map besides the engine's (checkMap's more): what the map looks like (the client's LOOK_RULES), and a game view's own (GameView.world.mapRules). None when left out
seed
ts
seed?: number;Where the brushes that scatter take their chances from: a seed of the clock's when left out