optolith-database-schema 0.1.27 → 0.2.1
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/CHANGELOG.md +24 -0
- package/lib/types/Race.d.ts +3 -25
- package/lib/types/Race.js +0 -9
- package/lib/types/_Activatable.d.ts +170 -116
- package/lib/types/_Activatable.js +12 -9
- package/lib/types/_Dice.d.ts +23 -0
- package/lib/types/_Dice.js +9 -0
- package/lib/types/_Identifier.d.ts +9 -0
- package/lib/types/_Identifier.js +9 -0
- package/lib/types/equipment/Item.d.ts +308 -0
- package/lib/types/equipment/Item.js +35 -0
- package/lib/types/equipment/_Armor.d.ts +70 -0
- package/lib/types/equipment/_Armor.js +4 -0
- package/lib/types/equipment/_Weapon.d.ts +330 -0
- package/lib/types/equipment/_Weapon.js +4 -0
- package/package.json +1 -1
- package/schema/Race.schema.json +3 -31
- package/schema/_Activatable.schema.json +474 -289
- package/schema/_Dice.schema.json +34 -0
- package/schema/_Identifier.schema.json +28 -0
- package/schema/equipment/Item.schema.json +621 -0
- package/schema/equipment/_Armor.schema.json +125 -0
- package/schema/equipment/_Weapon.schema.json +664 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,30 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [0.2.1](https://github.com/elyukai/optolith-database-schema/compare/v0.2.0...v0.2.1) (2022-03-29)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* category names and prerequisites should be defined separately ([eb312fe](https://github.com/elyukai/optolith-database-schema/commit/eb312fe2fc9973ef6be36937ebd8af8c8bf30e60))
|
|
11
|
+
|
|
12
|
+
## [0.2.0](https://github.com/elyukai/optolith-database-schema/compare/v0.1.28...v0.2.0) (2022-03-29)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### ⚠ BREAKING CHANGES
|
|
16
|
+
|
|
17
|
+
* derived select options are not a list anymore
|
|
18
|
+
|
|
19
|
+
* derived select options are not a list anymore ([fa64a60](https://github.com/elyukai/optolith-database-schema/commit/fa64a60670f0cdf5567a168f3a4eccd7ea71d367))
|
|
20
|
+
|
|
21
|
+
### [0.1.28](https://github.com/elyukai/optolith-database-schema/compare/v0.1.27...v0.1.28) (2022-03-25)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Features
|
|
25
|
+
|
|
26
|
+
* allow skills in advanced special ability restrictions ([237dbbd](https://github.com/elyukai/optolith-database-schema/commit/237dbbdeddcc0df07387196ae2537a19c1deab16))
|
|
27
|
+
* items status quo ([c4b349b](https://github.com/elyukai/optolith-database-schema/commit/c4b349bf10fca92286c0510cab8ccb67563f0532))
|
|
28
|
+
|
|
5
29
|
### [0.1.27](https://github.com/elyukai/optolith-database-schema/compare/v0.1.26...v0.1.27) (2022-03-24)
|
|
6
30
|
|
|
7
31
|
|
package/lib/types/Race.d.ts
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import { Errata } from "./source/_Erratum.js";
|
|
5
5
|
import { PublicationRefs } from "./source/_PublicationRef.js";
|
|
6
6
|
import { CommonnessRatedAdvantageDisadvantage } from "./_CommonnessRatedAdvantageDisadvantage.js";
|
|
7
|
+
import { Dice, DieType } from "./_Dice.js";
|
|
7
8
|
/**
|
|
8
9
|
* A playable race with stats and skills.
|
|
9
10
|
* @title Race
|
|
@@ -264,7 +265,7 @@ declare type StartingAgeConfigForExperienceLevel = {
|
|
|
264
265
|
* The random value for the selected experience level. It is going to be
|
|
265
266
|
* added to the base value.
|
|
266
267
|
*/
|
|
267
|
-
random:
|
|
268
|
+
random: Dice;
|
|
268
269
|
};
|
|
269
270
|
/**
|
|
270
271
|
* The race may have variants and associated configuration for each variant.
|
|
@@ -404,7 +405,7 @@ declare type Height = {
|
|
|
404
405
|
* The dice used for random height.
|
|
405
406
|
* @minItems 1
|
|
406
407
|
*/
|
|
407
|
-
random:
|
|
408
|
+
random: Dice[];
|
|
408
409
|
};
|
|
409
410
|
declare type RaceVariantTranslation = {
|
|
410
411
|
/**
|
|
@@ -498,28 +499,5 @@ declare type RaceTranslation = {
|
|
|
498
499
|
uncommon_disadvantages?: string;
|
|
499
500
|
errata?: Errata;
|
|
500
501
|
};
|
|
501
|
-
/**
|
|
502
|
-
* @title Die
|
|
503
|
-
*/
|
|
504
|
-
declare type Die = {
|
|
505
|
-
/**
|
|
506
|
-
* Number of dice of the same type. Example: 2 in 2D6.
|
|
507
|
-
* @integer
|
|
508
|
-
* @minimum 1
|
|
509
|
-
*/
|
|
510
|
-
number: number;
|
|
511
|
-
/**
|
|
512
|
-
* Number of sides on every die. Example: 6 in 2D6.
|
|
513
|
-
*/
|
|
514
|
-
sides: DieType;
|
|
515
|
-
};
|
|
516
|
-
/**
|
|
517
|
-
* Number of sides on every dice. Example: 6 in 2D6.
|
|
518
|
-
*/
|
|
519
|
-
declare enum DieType {
|
|
520
|
-
D3 = 3,
|
|
521
|
-
D6 = 6,
|
|
522
|
-
D20 = 20
|
|
523
|
-
}
|
|
524
502
|
export declare const validateSchema: import("../validation/schema.js").TypeValidator<Race>;
|
|
525
503
|
export {};
|
package/lib/types/Race.js
CHANGED
|
@@ -2,13 +2,4 @@
|
|
|
2
2
|
* @main Race
|
|
3
3
|
*/
|
|
4
4
|
import { validateSchemaCreator } from "../validation/schema.js";
|
|
5
|
-
/**
|
|
6
|
-
* Number of sides on every dice. Example: 6 in 2D6.
|
|
7
|
-
*/
|
|
8
|
-
var DieType;
|
|
9
|
-
(function (DieType) {
|
|
10
|
-
DieType[DieType["D3"] = 3] = "D3";
|
|
11
|
-
DieType[DieType["D6"] = 6] = "D6";
|
|
12
|
-
DieType[DieType["D20"] = 20] = "D20";
|
|
13
|
-
})(DieType || (DieType = {}));
|
|
14
5
|
export const validateSchema = validateSchemaCreator(import.meta.url);
|
|
@@ -6,7 +6,7 @@ import { DisplayOption } from "./prerequisites/DisplayOption.js";
|
|
|
6
6
|
import { Errata } from "./source/_Erratum.js";
|
|
7
7
|
import { PublicationRefs } from "./source/_PublicationRef.js";
|
|
8
8
|
import { Duration } from "./_ActivatableSkill.js";
|
|
9
|
-
import { ActivatableIdentifier, AdvancedSpecialAbilityRestrictedOptionIdentifier, CombatRelatedSpecialAbilityIdentifier, CombatTechniqueIdentifier, MagicalTraditionIdentifier, PatronIdentifier, VolumePointsOptionReferenceIdentifier } from "./_Identifier.js";
|
|
9
|
+
import { ActivatableIdentifier, AdvancedSpecialAbilityRestrictedOptionIdentifier, CombatRelatedSpecialAbilityIdentifier, CombatTechniqueIdentifier, MagicalTraditionIdentifier, PatronIdentifier, SkillIdentifier, VolumePointsOptionReferenceIdentifier } from "./_Identifier.js";
|
|
10
10
|
import { GeneralPrerequisites } from "./_Prerequisite.js";
|
|
11
11
|
/**
|
|
12
12
|
* The activatable entry's identifier. An unique, increasing integer.
|
|
@@ -62,13 +62,13 @@ export declare type Maximum = number;
|
|
|
62
62
|
*/
|
|
63
63
|
export declare type SelectOptions = {
|
|
64
64
|
/**
|
|
65
|
-
*
|
|
65
|
+
* An entry category with optional further configuration. All available
|
|
66
66
|
* entries from the specified categories will be included as separate select
|
|
67
67
|
* options. You can also specify a set of groups that should only be
|
|
68
68
|
* included. Groups not mentioned will be excluded then.
|
|
69
69
|
* @minItems 1
|
|
70
70
|
*/
|
|
71
|
-
derived?: CategoryOption
|
|
71
|
+
derived?: CategoryOption;
|
|
72
72
|
/**
|
|
73
73
|
* A list of explicit select options. If the identifier has a specific type,
|
|
74
74
|
* its entry is the base of this select option, where values defined here
|
|
@@ -204,159 +204,213 @@ declare type CategoryOption = {
|
|
|
204
204
|
} | {
|
|
205
205
|
tag: "Skills";
|
|
206
206
|
/**
|
|
207
|
-
*
|
|
207
|
+
* A list of skill categories.
|
|
208
208
|
* @minItems 1
|
|
209
209
|
*/
|
|
210
|
-
|
|
210
|
+
categories: ({
|
|
211
|
+
tag: "Skills";
|
|
211
212
|
/**
|
|
212
|
-
*
|
|
213
|
-
* @
|
|
214
|
-
* @minimum 1
|
|
215
|
-
* @maximum 5
|
|
213
|
+
* Only include entries of the specified groups.
|
|
214
|
+
* @minItems 1
|
|
216
215
|
*/
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
}
|
|
226
|
-
|
|
216
|
+
groups?: {
|
|
217
|
+
/**
|
|
218
|
+
* The skill group's identifier.
|
|
219
|
+
* @integer
|
|
220
|
+
* @minimum 1
|
|
221
|
+
* @maximum 5
|
|
222
|
+
*/
|
|
223
|
+
id: number;
|
|
224
|
+
}[];
|
|
225
|
+
/**
|
|
226
|
+
* Only include (`Intersection`) or exclude (`Difference`) specific
|
|
227
|
+
* skills.
|
|
228
|
+
*/
|
|
229
|
+
specific?: {
|
|
230
|
+
operation: {
|
|
231
|
+
tag: "Intersection";
|
|
232
|
+
} | {
|
|
233
|
+
tag: "Difference";
|
|
234
|
+
};
|
|
235
|
+
/**
|
|
236
|
+
* The list of specific skills.
|
|
237
|
+
* @minItems 1
|
|
238
|
+
* @uniqueItems
|
|
239
|
+
*/
|
|
240
|
+
list: {
|
|
241
|
+
/**
|
|
242
|
+
* The skill's identifier.
|
|
243
|
+
* @integer
|
|
244
|
+
* @minimum 1
|
|
245
|
+
* @maximum 59
|
|
246
|
+
*/
|
|
247
|
+
id: number;
|
|
248
|
+
}[];
|
|
227
249
|
};
|
|
228
250
|
/**
|
|
229
|
-
*
|
|
251
|
+
* Registers new applications, which get enabled once this entry is
|
|
252
|
+
* activated with its respective select option. It specifies an
|
|
253
|
+
* entry-unique identifier, the skill it belongs to is derived from the
|
|
254
|
+
* select option automatically. A translation can be left out if its
|
|
255
|
+
* name equals the name of the origin entry.
|
|
230
256
|
* @minItems 1
|
|
231
|
-
* @uniqueItems
|
|
232
257
|
*/
|
|
233
|
-
|
|
258
|
+
skill_applications?: {
|
|
234
259
|
/**
|
|
235
|
-
* The
|
|
260
|
+
* The application's identifier. An entry-unique, increasing integer.
|
|
236
261
|
* @integer
|
|
237
262
|
* @minimum 1
|
|
238
|
-
* @maximum 59
|
|
239
263
|
*/
|
|
240
264
|
id: number;
|
|
265
|
+
/**
|
|
266
|
+
* All translations for the entry, identified by IETF language tag
|
|
267
|
+
* (BCP47).
|
|
268
|
+
* @minProperties 1
|
|
269
|
+
*/
|
|
270
|
+
translations?: {
|
|
271
|
+
/**
|
|
272
|
+
* @patternProperties ^[a-z]{2}-[A-Z]{2}$
|
|
273
|
+
*/
|
|
274
|
+
[localeId: string]: {
|
|
275
|
+
/**
|
|
276
|
+
* The name of the application if different from the activatable
|
|
277
|
+
* entry's
|
|
278
|
+
* name.
|
|
279
|
+
* @minLength 1
|
|
280
|
+
*/
|
|
281
|
+
name: string;
|
|
282
|
+
};
|
|
283
|
+
};
|
|
241
284
|
}[];
|
|
242
|
-
};
|
|
243
|
-
/**
|
|
244
|
-
* Registers new applications, which get enabled once this entry is
|
|
245
|
-
* activated with its respective select option. It specifies an entry-unique
|
|
246
|
-
* identifier, the skill it belongs to is derived from the select option
|
|
247
|
-
* automatically. A translation can be left out if its name equals the name
|
|
248
|
-
* of the origin entry.
|
|
249
|
-
* @minItems 1
|
|
250
|
-
*/
|
|
251
|
-
skill_applications?: {
|
|
252
285
|
/**
|
|
253
|
-
*
|
|
254
|
-
*
|
|
255
|
-
*
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
260
|
-
* @minProperties 1
|
|
286
|
+
* Registers uses, which get enabled once this entry is activated with
|
|
287
|
+
* its respective select option. It specifies an entry-unique
|
|
288
|
+
* identifier, the skill it belongs to is derived from the select option
|
|
289
|
+
* automatically. A translation can be left out if its name equals the
|
|
290
|
+
* name of the origin entry.
|
|
291
|
+
* @minItems 1
|
|
261
292
|
*/
|
|
262
|
-
|
|
293
|
+
skill_uses?: {
|
|
263
294
|
/**
|
|
264
|
-
*
|
|
295
|
+
* The use's identifier. An entry-unique, increasing integer.
|
|
296
|
+
* @integer
|
|
297
|
+
* @minimum 1
|
|
265
298
|
*/
|
|
266
|
-
|
|
299
|
+
id: number;
|
|
300
|
+
/**
|
|
301
|
+
* All translations for the entry, identified by IETF language tag
|
|
302
|
+
* (BCP47).
|
|
303
|
+
* @minProperties 1
|
|
304
|
+
*/
|
|
305
|
+
translations?: {
|
|
267
306
|
/**
|
|
268
|
-
*
|
|
269
|
-
* name.
|
|
270
|
-
* @minLength 1
|
|
307
|
+
* @patternProperties ^[a-z]{2}-[A-Z]{2}$
|
|
271
308
|
*/
|
|
272
|
-
|
|
309
|
+
[localeId: string]: {
|
|
310
|
+
/**
|
|
311
|
+
* The name of the use if different from the activatable entry's
|
|
312
|
+
* name.
|
|
313
|
+
* @minLength 1
|
|
314
|
+
*/
|
|
315
|
+
name: string;
|
|
316
|
+
};
|
|
273
317
|
};
|
|
274
|
-
};
|
|
275
|
-
}[];
|
|
276
|
-
/**
|
|
277
|
-
* Registers uses, which get enabled once this entry is activated with its
|
|
278
|
-
* respective select option. It specifies an entry-unique identifier, the
|
|
279
|
-
* skill it belongs to is derived from the select option automatically. A
|
|
280
|
-
* translation can be left out if its name equals the name of the origin
|
|
281
|
-
* entry.
|
|
282
|
-
* @minItems 1
|
|
283
|
-
*/
|
|
284
|
-
skill_uses?: {
|
|
318
|
+
}[];
|
|
285
319
|
/**
|
|
286
|
-
*
|
|
287
|
-
* @
|
|
288
|
-
* @minimum 1
|
|
320
|
+
* Generate prerequisites for each entry of the category.
|
|
321
|
+
* @minItems 1
|
|
289
322
|
*/
|
|
290
|
-
|
|
323
|
+
prerequisites?: (OptionSkillSelfPrerequisite | OptionOptionPrerequisite)[];
|
|
324
|
+
} | {
|
|
325
|
+
tag: SkillWithEnhancementsCategory;
|
|
291
326
|
/**
|
|
292
|
-
*
|
|
293
|
-
*
|
|
327
|
+
* Only include (`Intersection`) or exclude (`Difference`) specific
|
|
328
|
+
* entries.
|
|
294
329
|
*/
|
|
295
|
-
|
|
330
|
+
specific?: {
|
|
331
|
+
operation: {
|
|
332
|
+
tag: "Intersection";
|
|
333
|
+
} | {
|
|
334
|
+
tag: "Difference";
|
|
335
|
+
};
|
|
296
336
|
/**
|
|
297
|
-
*
|
|
337
|
+
* The list of specific entries.
|
|
338
|
+
* @minItems 1
|
|
339
|
+
* @uniqueItems
|
|
298
340
|
*/
|
|
299
|
-
|
|
341
|
+
list: {
|
|
300
342
|
/**
|
|
301
|
-
* The
|
|
302
|
-
* @
|
|
343
|
+
* The entry's identifier.
|
|
344
|
+
* @integer
|
|
345
|
+
* @minimum 1
|
|
346
|
+
* @maximum 59
|
|
303
347
|
*/
|
|
304
|
-
|
|
305
|
-
};
|
|
348
|
+
id: number;
|
|
349
|
+
}[];
|
|
306
350
|
};
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
351
|
+
/**
|
|
352
|
+
* Generate prerequisites for each entry of the category.
|
|
353
|
+
* @minItems 1
|
|
354
|
+
*/
|
|
355
|
+
prerequisites?: (OptionSkillSelfPrerequisite | OptionOptionPrerequisite)[];
|
|
356
|
+
})[];
|
|
313
357
|
/**
|
|
314
358
|
* Generate AP values for each entry.
|
|
315
359
|
*/
|
|
316
|
-
ap_value?: OptionSkillDeriveAdventurePointsValue
|
|
317
|
-
|
|
318
|
-
tag: NonSkillSkillCategory;
|
|
319
|
-
/**
|
|
320
|
-
* Only include (`Intersection`) or exclude (`Difference`) specific entries.
|
|
321
|
-
*/
|
|
322
|
-
specific?: {
|
|
323
|
-
operation: {
|
|
324
|
-
tag: "Intersection";
|
|
325
|
-
} | {
|
|
326
|
-
tag: "Difference";
|
|
327
|
-
};
|
|
360
|
+
ap_value?: OptionSkillDeriveAdventurePointsValue<SkillIdentifier> | {
|
|
361
|
+
tag: "CombatTechniques";
|
|
328
362
|
/**
|
|
329
|
-
*
|
|
363
|
+
* A list of combat technique categories.
|
|
330
364
|
* @minItems 1
|
|
331
|
-
* @uniqueItems
|
|
332
365
|
*/
|
|
333
|
-
|
|
366
|
+
categories: {
|
|
367
|
+
tag: CombatTechniqueCategory;
|
|
334
368
|
/**
|
|
335
|
-
*
|
|
336
|
-
*
|
|
337
|
-
* @minimum 1
|
|
338
|
-
* @maximum 59
|
|
369
|
+
* Only include (`Intersection`) or exclude (`Difference`) specific
|
|
370
|
+
* entries.
|
|
339
371
|
*/
|
|
340
|
-
|
|
372
|
+
specific?: {
|
|
373
|
+
operation: {
|
|
374
|
+
tag: "Intersection";
|
|
375
|
+
} | {
|
|
376
|
+
tag: "Difference";
|
|
377
|
+
};
|
|
378
|
+
/**
|
|
379
|
+
* The list of specific entries.
|
|
380
|
+
* @minItems 1
|
|
381
|
+
* @uniqueItems
|
|
382
|
+
*/
|
|
383
|
+
list: {
|
|
384
|
+
/**
|
|
385
|
+
* The entry's identifier.
|
|
386
|
+
* @integer
|
|
387
|
+
* @minimum 1
|
|
388
|
+
* @maximum 59
|
|
389
|
+
*/
|
|
390
|
+
id: number;
|
|
391
|
+
}[];
|
|
392
|
+
};
|
|
393
|
+
/**
|
|
394
|
+
* Generate prerequisites for each entry of the category.
|
|
395
|
+
* @minItems 1
|
|
396
|
+
*/
|
|
397
|
+
prerequisites?: (OptionSkillSelfPrerequisite | OptionOptionPrerequisite)[];
|
|
341
398
|
}[];
|
|
399
|
+
/**
|
|
400
|
+
* Generate AP values for each entry.
|
|
401
|
+
*/
|
|
402
|
+
ap_value?: OptionSkillDeriveAdventurePointsValue<CombatTechniqueIdentifier>;
|
|
342
403
|
};
|
|
343
|
-
/**
|
|
344
|
-
* Generate prerequisites for each entry of the category.
|
|
345
|
-
* @minItems 1
|
|
346
|
-
*/
|
|
347
|
-
prerequisites?: (OptionSkillSelfPrerequisite | OptionOptionPrerequisite)[];
|
|
348
|
-
/**
|
|
349
|
-
* Generate AP values for each entry.
|
|
350
|
-
*/
|
|
351
|
-
ap_value?: OptionSkillDeriveAdventurePointsValue;
|
|
352
404
|
};
|
|
353
|
-
declare enum
|
|
354
|
-
|
|
355
|
-
|
|
405
|
+
declare enum SkillWithEnhancementsCategory {
|
|
406
|
+
spells = "spells",
|
|
407
|
+
Rituals = "Rituals",
|
|
356
408
|
LiturgicalChants = "LiturgicalChants",
|
|
357
|
-
Ceremonies = "Ceremonies"
|
|
358
|
-
|
|
359
|
-
|
|
409
|
+
Ceremonies = "Ceremonies"
|
|
410
|
+
}
|
|
411
|
+
declare enum CombatTechniqueCategory {
|
|
412
|
+
CloseCombatTechniques = "CloseCombatTechniques",
|
|
413
|
+
RangedCombatTechniques = "RangedCombatTechniques"
|
|
360
414
|
}
|
|
361
415
|
declare type OptionSkillSelfPrerequisite = {
|
|
362
416
|
tag: "Self";
|
|
@@ -390,7 +444,7 @@ declare type OptionOptionPrerequisite = {
|
|
|
390
444
|
/**
|
|
391
445
|
* Generate AP values for each entry.
|
|
392
446
|
*/
|
|
393
|
-
declare type OptionSkillDeriveAdventurePointsValue = {
|
|
447
|
+
declare type OptionSkillDeriveAdventurePointsValue<Identifier> = {
|
|
394
448
|
tag: "DerivedFromImprovementCost";
|
|
395
449
|
/**
|
|
396
450
|
* This number is multiplied with the improvement cost of the entry
|
|
@@ -410,7 +464,7 @@ declare type OptionSkillDeriveAdventurePointsValue = {
|
|
|
410
464
|
* @integer
|
|
411
465
|
* @minimum 1
|
|
412
466
|
*/
|
|
413
|
-
id:
|
|
467
|
+
id: Identifier;
|
|
414
468
|
/**
|
|
415
469
|
* The AP value for the specified entry.
|
|
416
470
|
* @integer
|
|
@@ -2,15 +2,18 @@
|
|
|
2
2
|
* General type specifications used by multiple activatable entries.
|
|
3
3
|
* @title Activatable
|
|
4
4
|
*/
|
|
5
|
-
var
|
|
6
|
-
(function (
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
5
|
+
var SkillWithEnhancementsCategory;
|
|
6
|
+
(function (SkillWithEnhancementsCategory) {
|
|
7
|
+
SkillWithEnhancementsCategory["spells"] = "spells";
|
|
8
|
+
SkillWithEnhancementsCategory["Rituals"] = "Rituals";
|
|
9
|
+
SkillWithEnhancementsCategory["LiturgicalChants"] = "LiturgicalChants";
|
|
10
|
+
SkillWithEnhancementsCategory["Ceremonies"] = "Ceremonies";
|
|
11
|
+
})(SkillWithEnhancementsCategory || (SkillWithEnhancementsCategory = {}));
|
|
12
|
+
var CombatTechniqueCategory;
|
|
13
|
+
(function (CombatTechniqueCategory) {
|
|
14
|
+
CombatTechniqueCategory["CloseCombatTechniques"] = "CloseCombatTechniques";
|
|
15
|
+
CombatTechniqueCategory["RangedCombatTechniques"] = "RangedCombatTechniques";
|
|
16
|
+
})(CombatTechniqueCategory || (CombatTechniqueCategory = {}));
|
|
14
17
|
export {};
|
|
15
18
|
// "Input": {
|
|
16
19
|
// "description": "A string that is used as a placeholder text for an input field.",
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @title Dice
|
|
3
|
+
*/
|
|
4
|
+
export declare type Dice = {
|
|
5
|
+
/**
|
|
6
|
+
* Number of dice of the same type. Example: 2 in 2D6.
|
|
7
|
+
* @integer
|
|
8
|
+
* @minimum 1
|
|
9
|
+
*/
|
|
10
|
+
number: number;
|
|
11
|
+
/**
|
|
12
|
+
* Number of sides on every die. Example: 6 in 2D6.
|
|
13
|
+
*/
|
|
14
|
+
sides: DieType;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Number of sides on every dice. Example: 6 in 2D6.
|
|
18
|
+
*/
|
|
19
|
+
export declare enum DieType {
|
|
20
|
+
D3 = 3,
|
|
21
|
+
D6 = 6,
|
|
22
|
+
D20 = 20
|
|
23
|
+
}
|
|
@@ -108,8 +108,16 @@ declare enum RatedTag {
|
|
|
108
108
|
LiturgicalChant = "LiturgicalChant",
|
|
109
109
|
Ceremony = "Ceremony"
|
|
110
110
|
}
|
|
111
|
+
declare enum SkillTag {
|
|
112
|
+
Skill = "Skill",
|
|
113
|
+
Spell = "Spell",
|
|
114
|
+
Ritual = "Ritual",
|
|
115
|
+
LiturgicalChant = "LiturgicalChant",
|
|
116
|
+
Ceremony = "Ceremony"
|
|
117
|
+
}
|
|
111
118
|
declare enum AdvancedSpecialAbilityRestrictedOptionTag {
|
|
112
119
|
General = "General",
|
|
120
|
+
Skill = "Skill",
|
|
113
121
|
Element = "Element"
|
|
114
122
|
}
|
|
115
123
|
declare enum VolumePointsOptionReferenceTag {
|
|
@@ -182,6 +190,7 @@ export declare type ActivatableIdentifier = TaggedIdentifier<ActivatableTag>;
|
|
|
182
190
|
export declare type SpecialAbilityIdentifier = TaggedIdentifier<SpecialAbilityTag>;
|
|
183
191
|
export declare type CombatRelatedSpecialAbilityIdentifier = TaggedIdentifier<CombatRelatedSpecialAbilityTag>;
|
|
184
192
|
export declare type RatedIdentifier = TaggedIdentifier<RatedTag>;
|
|
193
|
+
export declare type SkillIdentifier = TaggedIdentifier<SkillTag>;
|
|
185
194
|
export declare type AdvancedSpecialAbilityRestrictedOptionIdentifier = TaggedIdentifier<AdvancedSpecialAbilityRestrictedOptionTag>;
|
|
186
195
|
export declare type VolumePointsOptionReferenceIdentifier = TaggedIdentifier<VolumePointsOptionReferenceTag>;
|
|
187
196
|
export declare type CombatTechniqueIdentifier = TaggedIdentifier<CombatTechniqueTag>;
|
package/lib/types/_Identifier.js
CHANGED
|
@@ -112,9 +112,18 @@ var RatedTag;
|
|
|
112
112
|
RatedTag["LiturgicalChant"] = "LiturgicalChant";
|
|
113
113
|
RatedTag["Ceremony"] = "Ceremony";
|
|
114
114
|
})(RatedTag || (RatedTag = {}));
|
|
115
|
+
var SkillTag;
|
|
116
|
+
(function (SkillTag) {
|
|
117
|
+
SkillTag["Skill"] = "Skill";
|
|
118
|
+
SkillTag["Spell"] = "Spell";
|
|
119
|
+
SkillTag["Ritual"] = "Ritual";
|
|
120
|
+
SkillTag["LiturgicalChant"] = "LiturgicalChant";
|
|
121
|
+
SkillTag["Ceremony"] = "Ceremony";
|
|
122
|
+
})(SkillTag || (SkillTag = {}));
|
|
115
123
|
var AdvancedSpecialAbilityRestrictedOptionTag;
|
|
116
124
|
(function (AdvancedSpecialAbilityRestrictedOptionTag) {
|
|
117
125
|
AdvancedSpecialAbilityRestrictedOptionTag["General"] = "General";
|
|
126
|
+
AdvancedSpecialAbilityRestrictedOptionTag["Skill"] = "Skill";
|
|
118
127
|
AdvancedSpecialAbilityRestrictedOptionTag["Element"] = "Element";
|
|
119
128
|
})(AdvancedSpecialAbilityRestrictedOptionTag || (AdvancedSpecialAbilityRestrictedOptionTag = {}));
|
|
120
129
|
var VolumePointsOptionReferenceTag;
|