optolith-database-schema 0.6.0 → 0.7.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/CHANGELOG.md +22 -0
- package/lib/types/FamiliarsTrick.d.ts +23 -5
- package/lib/types/_Identifier.d.ts +1 -1
- package/lib/types/equipment/item/Weapon.d.ts +3 -3
- package/lib/types/equipment/item/_Item.d.ts +2 -5
- package/package.json +1 -1
- package/schema/FamiliarsTrick.schema.json +22 -8
- package/schema/_Identifier.schema.json +2 -2
- package/schema/equipment/item/Weapon.schema.json +2 -2
- package/schema/equipment/item/_Item.schema.json +3 -22
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,28 @@
|
|
|
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.7.0](https://github.com/elyukai/optolith-database-schema/compare/v0.6.0...v0.7.0) (2022-12-25)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### ⚠ BREAKING CHANGES
|
|
9
|
+
|
|
10
|
+
* `restricted_to_traditions` should only apply to magical traditions
|
|
11
|
+
* familiar's tricks may have life point cost
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* familiar's tricks may have life point cost ([d428bd3](https://github.com/elyukai/optolith-database-schema/commit/d428bd3384a3d707f95f842198d86d6d6e5a7a6c))
|
|
16
|
+
* sustained familiar's tricks may not have a sustaining interval ([178374d](https://github.com/elyukai/optolith-database-schema/commit/178374df2742aae7f7efd6bfdd13d61402e16b88))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Bug Fixes
|
|
20
|
+
|
|
21
|
+
* missing item cost variants ([608fd16](https://github.com/elyukai/optolith-database-schema/commit/608fd16379484de96d2b6d49ea01f570ead946dd))
|
|
22
|
+
* wrong tag-complementing property for subject identifier ([036a219](https://github.com/elyukai/optolith-database-schema/commit/036a2192f2aff4698d4df25315a9c46babf6881f))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
* `restricted_to_traditions` should only apply to magical traditions ([a182e6c](https://github.com/elyukai/optolith-database-schema/commit/a182e6ccf9bdf5da327b48ff43e88375517da90f))
|
|
26
|
+
|
|
5
27
|
## [0.6.0](https://github.com/elyukai/optolith-database-schema/compare/v0.5.4...v0.6.0) (2022-12-10)
|
|
6
28
|
|
|
7
29
|
|
|
@@ -126,7 +126,13 @@ export declare type FixedOneTimeCost = {
|
|
|
126
126
|
* @integer
|
|
127
127
|
* @minimum 1
|
|
128
128
|
*/
|
|
129
|
-
|
|
129
|
+
ae_value: number;
|
|
130
|
+
/**
|
|
131
|
+
* The LP cost value.
|
|
132
|
+
* @integer
|
|
133
|
+
* @minimum 1
|
|
134
|
+
*/
|
|
135
|
+
lp_value?: number;
|
|
130
136
|
/**
|
|
131
137
|
* The interval in which you have to pay the AE cost again.
|
|
132
138
|
*/
|
|
@@ -223,7 +229,13 @@ export declare type OneTimeIntervalCost = {
|
|
|
223
229
|
* @integer
|
|
224
230
|
* @minimum 1
|
|
225
231
|
*/
|
|
226
|
-
|
|
232
|
+
ae_value: number;
|
|
233
|
+
/**
|
|
234
|
+
* The LP cost value.
|
|
235
|
+
* @integer
|
|
236
|
+
* @minimum 1
|
|
237
|
+
*/
|
|
238
|
+
lp_value?: number;
|
|
227
239
|
/**
|
|
228
240
|
* The duration granted/added by paying the given AE cost.
|
|
229
241
|
*/
|
|
@@ -238,10 +250,16 @@ export declare type SustainedCost = {
|
|
|
238
250
|
* @integer
|
|
239
251
|
* @minimum 1
|
|
240
252
|
*/
|
|
241
|
-
|
|
253
|
+
ae_value: number;
|
|
242
254
|
/**
|
|
243
|
-
* The
|
|
255
|
+
* The LP cost value.
|
|
256
|
+
* @integer
|
|
257
|
+
* @minimum 1
|
|
244
258
|
*/
|
|
245
|
-
|
|
259
|
+
lp_value?: number;
|
|
260
|
+
/**
|
|
261
|
+
* The interval in which you have to pay the AE cost again, if any.
|
|
262
|
+
*/
|
|
263
|
+
interval?: DurationUnitValue;
|
|
246
264
|
};
|
|
247
265
|
export declare const validateSchema: import("../validation/schema.js").TypeValidator<FamiliarsTrick>;
|
|
@@ -5,7 +5,7 @@ import { Errata } from "../../source/_Erratum.js";
|
|
|
5
5
|
import { PublicationRefs } from "../../source/_PublicationRef.js";
|
|
6
6
|
import { LocaleMap } from "../../_LocaleMap.js";
|
|
7
7
|
import { NonEmptyMarkdown, NonEmptyString } from "../../_NonEmptyString.js";
|
|
8
|
-
import { BlessedTraditionReference, CultureReference,
|
|
8
|
+
import { BlessedTraditionReference, CultureReference, MagicalTraditionReference, RaceReference } from "../../_SimpleReferences.js";
|
|
9
9
|
import { Complexity, Cost, StructurePoints, Weight } from "./_Item.js";
|
|
10
10
|
import { MeleeWeapon } from "./_MeleeWeapon.js";
|
|
11
11
|
import { RangedWeapon } from "./_RangedWeapon.js";
|
|
@@ -48,7 +48,7 @@ export declare type Weapon = {
|
|
|
48
48
|
* characters of specific magical or blessed traditions.
|
|
49
49
|
* @minItems 1
|
|
50
50
|
*/
|
|
51
|
-
restricted_to_traditions?:
|
|
51
|
+
restricted_to_traditions?: MagicalTraditionReference[];
|
|
52
52
|
src: PublicationRefs;
|
|
53
53
|
/**
|
|
54
54
|
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
@@ -104,7 +104,7 @@ export declare type SecondaryWeapon = {
|
|
|
104
104
|
* characters of specific magical or blessed traditions.
|
|
105
105
|
* @minItems 1
|
|
106
106
|
*/
|
|
107
|
-
restricted_to_traditions?:
|
|
107
|
+
restricted_to_traditions?: MagicalTraditionReference[];
|
|
108
108
|
/**
|
|
109
109
|
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
110
110
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "optolith-database-schema",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "Definitions and utilities for the flat-file database of Optolith, a character creation tool for the Pen and Paper RPG “The Dark Eye 5”, and its external integrations into other software.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"tde",
|
|
@@ -307,11 +307,16 @@
|
|
|
307
307
|
"FixedOneTimeCost": {
|
|
308
308
|
"type": "object",
|
|
309
309
|
"properties": {
|
|
310
|
-
"
|
|
310
|
+
"ae_value": {
|
|
311
311
|
"description": "The AE cost value.",
|
|
312
312
|
"type": "integer",
|
|
313
313
|
"minimum": 1
|
|
314
314
|
},
|
|
315
|
+
"lp_value": {
|
|
316
|
+
"description": "The LP cost value.",
|
|
317
|
+
"type": "integer",
|
|
318
|
+
"minimum": 1
|
|
319
|
+
},
|
|
315
320
|
"interval": {
|
|
316
321
|
"description": "The interval in which you have to pay the AE cost again.",
|
|
317
322
|
"$ref": "./_ActivatableSkillDuration.schema.json#/$defs/DurationUnitValue"
|
|
@@ -329,7 +334,7 @@
|
|
|
329
334
|
}
|
|
330
335
|
},
|
|
331
336
|
"required": [
|
|
332
|
-
"
|
|
337
|
+
"ae_value"
|
|
333
338
|
],
|
|
334
339
|
"additionalProperties": false
|
|
335
340
|
},
|
|
@@ -537,18 +542,23 @@
|
|
|
537
542
|
"OneTimeIntervalCost": {
|
|
538
543
|
"type": "object",
|
|
539
544
|
"properties": {
|
|
540
|
-
"
|
|
545
|
+
"ae_value": {
|
|
541
546
|
"description": "The AE cost value.",
|
|
542
547
|
"type": "integer",
|
|
543
548
|
"minimum": 1
|
|
544
549
|
},
|
|
550
|
+
"lp_value": {
|
|
551
|
+
"description": "The LP cost value.",
|
|
552
|
+
"type": "integer",
|
|
553
|
+
"minimum": 1
|
|
554
|
+
},
|
|
545
555
|
"interval": {
|
|
546
556
|
"description": "The duration granted/added by paying the given AE cost.",
|
|
547
557
|
"$ref": "./_ActivatableSkillDuration.schema.json#/$defs/DurationUnitValue"
|
|
548
558
|
}
|
|
549
559
|
},
|
|
550
560
|
"required": [
|
|
551
|
-
"
|
|
561
|
+
"ae_value",
|
|
552
562
|
"interval"
|
|
553
563
|
],
|
|
554
564
|
"additionalProperties": false
|
|
@@ -568,19 +578,23 @@
|
|
|
568
578
|
"SustainedCost": {
|
|
569
579
|
"type": "object",
|
|
570
580
|
"properties": {
|
|
571
|
-
"
|
|
581
|
+
"ae_value": {
|
|
572
582
|
"description": "The AE cost value.",
|
|
573
583
|
"type": "integer",
|
|
574
584
|
"minimum": 1
|
|
575
585
|
},
|
|
586
|
+
"lp_value": {
|
|
587
|
+
"description": "The LP cost value.",
|
|
588
|
+
"type": "integer",
|
|
589
|
+
"minimum": 1
|
|
590
|
+
},
|
|
576
591
|
"interval": {
|
|
577
|
-
"description": "The interval in which you have to pay the AE cost again.",
|
|
592
|
+
"description": "The interval in which you have to pay the AE cost again, if any.",
|
|
578
593
|
"$ref": "./_ActivatableSkillDuration.schema.json#/$defs/DurationUnitValue"
|
|
579
594
|
}
|
|
580
595
|
},
|
|
581
596
|
"required": [
|
|
582
|
-
"
|
|
583
|
-
"interval"
|
|
597
|
+
"ae_value"
|
|
584
598
|
],
|
|
585
599
|
"additionalProperties": false
|
|
586
600
|
}
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"tag": {
|
|
81
81
|
"const": "Subject"
|
|
82
82
|
},
|
|
83
|
-
"
|
|
83
|
+
"subject": {
|
|
84
84
|
"description": "The focus rule subject’s identifier.",
|
|
85
85
|
"type": "integer",
|
|
86
86
|
"minimum": 1
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
},
|
|
89
89
|
"required": [
|
|
90
90
|
"tag",
|
|
91
|
-
"
|
|
91
|
+
"subject"
|
|
92
92
|
],
|
|
93
93
|
"additionalProperties": false
|
|
94
94
|
},
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"description": "Define if during character creation this weapon can only be bought by\ncharacters of specific magical or blessed traditions.",
|
|
43
43
|
"type": "array",
|
|
44
44
|
"items": {
|
|
45
|
-
"$ref": "../../_SimpleReferences.schema.json#/$defs/
|
|
45
|
+
"$ref": "../../_SimpleReferences.schema.json#/$defs/MagicalTraditionReference"
|
|
46
46
|
},
|
|
47
47
|
"minItems": 1
|
|
48
48
|
},
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
"description": "Define if during character creation this weapon can only be bought by\ncharacters of specific magical or blessed traditions.",
|
|
131
131
|
"type": "array",
|
|
132
132
|
"items": {
|
|
133
|
-
"$ref": "../../_SimpleReferences.schema.json#/$defs/
|
|
133
|
+
"$ref": "../../_SimpleReferences.schema.json#/$defs/MagicalTraditionReference"
|
|
134
134
|
},
|
|
135
135
|
"minItems": 1
|
|
136
136
|
},
|
|
@@ -182,9 +182,9 @@
|
|
|
182
182
|
"type": "object",
|
|
183
183
|
"properties": {
|
|
184
184
|
"tag": {
|
|
185
|
-
"const": ""
|
|
185
|
+
"const": "Invaluable"
|
|
186
186
|
},
|
|
187
|
-
"": {
|
|
187
|
+
"invaluable": {
|
|
188
188
|
"type": "object",
|
|
189
189
|
"properties": {},
|
|
190
190
|
"required": [],
|
|
@@ -193,26 +193,7 @@
|
|
|
193
193
|
},
|
|
194
194
|
"required": [
|
|
195
195
|
"tag",
|
|
196
|
-
""
|
|
197
|
-
],
|
|
198
|
-
"additionalProperties": false
|
|
199
|
-
},
|
|
200
|
-
{
|
|
201
|
-
"type": "object",
|
|
202
|
-
"properties": {
|
|
203
|
-
"tag": {
|
|
204
|
-
"const": ""
|
|
205
|
-
},
|
|
206
|
-
"": {
|
|
207
|
-
"type": "object",
|
|
208
|
-
"properties": {},
|
|
209
|
-
"required": [],
|
|
210
|
-
"additionalProperties": false
|
|
211
|
-
}
|
|
212
|
-
},
|
|
213
|
-
"required": [
|
|
214
|
-
"tag",
|
|
215
|
-
""
|
|
196
|
+
"invaluable"
|
|
216
197
|
],
|
|
217
198
|
"additionalProperties": false
|
|
218
199
|
},
|