@scm-js/plugin-api 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +6 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1775,6 +1775,12 @@ export interface NewDocumentOptions {
|
|
|
1775
1775
|
description?: string;
|
|
1776
1776
|
/** ISOM id of the terrain to fill with; the tileset's default ground when omitted. */
|
|
1777
1777
|
terrainId?: number;
|
|
1778
|
+
/**
|
|
1779
|
+
* Start locations to lay down for players 1..N, as `tx.placeStartLocations` would.
|
|
1780
|
+
* Part of making the map, so a fresh scenario has no history to undo them from.
|
|
1781
|
+
*/
|
|
1782
|
+
startLocations?: number;
|
|
1783
|
+
startLayout?: StartLayout;
|
|
1778
1784
|
}
|
|
1779
1785
|
export interface DocumentApi {
|
|
1780
1786
|
isOpen(): boolean;
|