@optolith/database-schema 0.63.0 → 0.64.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 +25 -0
- package/gen/types.d.ts +161 -81
- package/lib/main.js +1 -0
- package/lib/types/Advantage.d.ts +2 -0
- package/lib/types/Disadvantage.d.ts +2 -0
- package/lib/types/Locale.d.ts +4 -0
- package/lib/types/Locale.js +4 -0
- package/lib/types/Profession.d.ts +65 -0
- package/lib/types/Profession.js +44 -0
- package/lib/types/Race.d.ts +1 -1
- package/lib/types/Race.js +1 -1
- package/lib/types/_ActivatableMagical.d.ts +2 -0
- package/lib/types/_ActivatableMagical.js +2 -0
- package/lib/types/_Identifier.d.ts +1 -0
- package/lib/types/_Identifier.js +2 -0
- package/lib/types/index.d.ts +3 -2
- package/lib/types/index.js +3 -2
- package/lib/types/prerequisites/DisplayOption.js +1 -1
- package/lib/types/specialAbility/CeremonialItemSpecialAbility.d.ts +1 -0
- package/lib/types/specialAbility/CeremonialItemSpecialAbility.js +28 -2
- package/lib/types/specialAbility/PactGift.d.ts +1 -0
- package/lib/types/specialAbility/PactGift.js +13 -5
- package/lib/types/specialAbility/sub/CeremonialItemSpecialAbilityGroup.d.ts +7 -0
- package/lib/types/specialAbility/sub/CeremonialItemSpecialAbilityGroup.js +31 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,31 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [0.64.0](https://github.com/Optolith/database-schema/compare/v0.63.1...v0.64.0) (2026-09-23)
|
|
6
|
+
|
|
7
|
+
### ⚠ BREAKING CHANGES
|
|
8
|
+
|
|
9
|
+
* blessed rank/title flags
|
|
10
|
+
* combat techniques by AP profession option
|
|
11
|
+
* optional starting age
|
|
12
|
+
* spellworks by AP profession option
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* blessed rank/title flags ([eec7536](https://github.com/Optolith/database-schema/commit/eec75368241160486c0a7affccf27093749d0e23)), closes [#189](https://github.com/Optolith/database-schema/issues/189)
|
|
17
|
+
* ceremonial item special ability groups ([3989234](https://github.com/Optolith/database-schema/commit/3989234c9a62133317a2ef8d38de8ace7c7430e0))
|
|
18
|
+
* combat techniques by AP profession option ([b57cb67](https://github.com/Optolith/database-schema/commit/b57cb67163e90694595e4a9aeb152ef0495cd33e)), closes [#187](https://github.com/Optolith/database-schema/issues/187)
|
|
19
|
+
* spellworks by AP profession option ([3ff20c7](https://github.com/Optolith/database-schema/commit/3ff20c714cb99aaca4783a7e4e2446f5226943f9)), closes [#188](https://github.com/Optolith/database-schema/issues/188)
|
|
20
|
+
|
|
21
|
+
### Bug Fixes
|
|
22
|
+
|
|
23
|
+
* optional starting age ([f63a882](https://github.com/Optolith/database-schema/commit/f63a882d2a332630600939577e40c22012f91b95))
|
|
24
|
+
## [0.63.1](https://github.com/Optolith/database-schema/compare/v0.63.0...v0.63.1) (2026-09-22)
|
|
25
|
+
|
|
26
|
+
### Features
|
|
27
|
+
|
|
28
|
+
* allow duplicate pact gift names with specified pact category ([2f781f3](https://github.com/Optolith/database-schema/commit/2f781f32bd3694113b77e10a0f6d66e746c33d6d))
|
|
29
|
+
* display option replacement text can be markdown ([77308f7](https://github.com/Optolith/database-schema/commit/77308f7be4fcea94695b6149329b1ad22c525401))
|
|
5
30
|
## [0.63.0](https://github.com/Optolith/database-schema/compare/v0.62.0...v0.63.0) (2026-09-16)
|
|
6
31
|
|
|
7
32
|
### ⚠ BREAKING CHANGES
|
package/gen/types.d.ts
CHANGED
|
@@ -41,6 +41,7 @@ export type EntityMap = {
|
|
|
41
41
|
CauldronEnchantment: CauldronEnchantment
|
|
42
42
|
CeremonialItem: CeremonialItem
|
|
43
43
|
CeremonialItemSpecialAbility: CeremonialItemSpecialAbility
|
|
44
|
+
CeremonialItemSpecialAbilityGroup: CeremonialItemSpecialAbilityGroup
|
|
44
45
|
Ceremony: Ceremony
|
|
45
46
|
ChronicleEnchantment: ChronicleEnchantment
|
|
46
47
|
CloseCombatTechnique: CloseCombatTechnique
|
|
@@ -561,6 +562,7 @@ export type TypeAliasMap = {
|
|
|
561
562
|
CombatAnimalPower: CombatAnimalPower
|
|
562
563
|
CombatTechniqueAdjustment: CombatTechniqueAdjustment
|
|
563
564
|
CombatTechniqueRating: CombatTechniqueRating
|
|
565
|
+
CombatTechniquesForAdventurePointsOption: CombatTechniquesForAdventurePointsOption
|
|
564
566
|
CombatTechniquesOptions: CombatTechniquesOptions
|
|
565
567
|
CombatTechniquesSelectOptionCategory: CombatTechniquesSelectOptionCategory
|
|
566
568
|
CommonCantripNotes: CommonCantripNotes
|
|
@@ -917,6 +919,7 @@ export type TypeAliasMap = {
|
|
|
917
919
|
SpellworkAdjustmentWithBase: SpellworkAdjustmentWithBase
|
|
918
920
|
SpellworkChange: SpellworkChange
|
|
919
921
|
SpellworkPrerequisites: SpellworkPrerequisites
|
|
922
|
+
SpellworksOptions: SpellworksOptions
|
|
920
923
|
StandaloneCostMap: StandaloneCostMap
|
|
921
924
|
StatePrerequisite: StatePrerequisite
|
|
922
925
|
StructurePoints: StructurePoints
|
|
@@ -2458,6 +2461,8 @@ export interface Locale {
|
|
|
2458
2461
|
"Magical Title": string
|
|
2459
2462
|
"Magical Honor": string
|
|
2460
2463
|
"Magical Punishment": string
|
|
2464
|
+
"Blessed Rank": string
|
|
2465
|
+
"Blessed Title": string
|
|
2461
2466
|
".input {$ord :number} {{{$ord}. attack}}": string & { __params: { "ord": number } }
|
|
2462
2467
|
".input {$ord :number} {{{$ord}. throw}}": string & { __params: { "ord": number } }
|
|
2463
2468
|
"depending on the level of the special ability {$name}": string & { __params: { "name": StringableTranslationParameter } }
|
|
@@ -2694,6 +2699,8 @@ export interface Locale {
|
|
|
2694
2699
|
"maximum SR per skill: {$maxSR}": string & { __params: { "maxSR": StringableTranslationParameter } }
|
|
2695
2700
|
"no AP to improve other {$skillsOfGroup}": string & { __params: { "skillsOfGroup": StringableTranslationParameter } }
|
|
2696
2701
|
".input {$count :number} {{{$count} cantrips}}": string & { __params: { "count": number } }
|
|
2702
|
+
".input {$apValue :number} {{{$apValue} AP to distribute among the following combat techniques: {$list}}}": string & { __params: { "apValue": number; "list": StringableTranslationParameter } }
|
|
2703
|
+
".input {$count :number} {{{$count} more spellworks totaling {$apValue} AP}}": string & { __params: { "count": number; "apValue": StringableTranslationParameter } }
|
|
2697
2704
|
"{$count} from the following list": string & { __params: { "count": StringableTranslationParameter } }
|
|
2698
2705
|
"The Twelve Blessings": string
|
|
2699
2706
|
"except for {$list :list type=conjunction}": string & { __params: { "list": StringableTranslationParameter } }
|
|
@@ -3176,6 +3183,12 @@ export type AdvantageDisadvantageSubtype =
|
|
|
3176
3183
|
| {
|
|
3177
3184
|
kind: "MagicalPunishment"
|
|
3178
3185
|
}
|
|
3186
|
+
| {
|
|
3187
|
+
kind: "BlessedRank"
|
|
3188
|
+
}
|
|
3189
|
+
| {
|
|
3190
|
+
kind: "BlessedTitle"
|
|
3191
|
+
}
|
|
3179
3192
|
|
|
3180
3193
|
export interface GeneralSelectOption {
|
|
3181
3194
|
/**
|
|
@@ -4582,7 +4595,7 @@ export interface Race {
|
|
|
4582
4595
|
/**
|
|
4583
4596
|
* Defines the starting ages for the race. It depends on the selected experience level.
|
|
4584
4597
|
*/
|
|
4585
|
-
starting_age
|
|
4598
|
+
starting_age?: {
|
|
4586
4599
|
[experienceLevelId: string]: StartingAgeConfigForExperienceLevel
|
|
4587
4600
|
}
|
|
4588
4601
|
|
|
@@ -9989,9 +10002,11 @@ export interface ProfessionVariantPackageOptions {
|
|
|
9989
10002
|
skill_specialization?: VariantOptionAction<SkillSpecializationOptions>
|
|
9990
10003
|
languages_scripts?: VariantOptionAction<LanguagesScriptsOptions>
|
|
9991
10004
|
combat_techniques?: VariantOptionAction<CombatTechniquesOptions>
|
|
10005
|
+
combatTechniquesForAdventurePoints?: VariantOptionAction<CombatTechniquesForAdventurePointsOption>
|
|
9992
10006
|
cantrips?: VariantOptionAction<CantripsOptions>
|
|
9993
10007
|
curses?: VariantOptionAction<CursesOptions>
|
|
9994
10008
|
skills?: VariantOptionAction<SkillsOptions>
|
|
10009
|
+
spellworks?: VariantOptionAction<SpellworksOptions>
|
|
9995
10010
|
liturgies?: VariantOptionAction<LiturgiesOptions>
|
|
9996
10011
|
}
|
|
9997
10012
|
|
|
@@ -10071,6 +10086,21 @@ export interface RatingForCombatTechniquesNumber {
|
|
|
10071
10086
|
rating_modifier: number
|
|
10072
10087
|
}
|
|
10073
10088
|
|
|
10089
|
+
/**
|
|
10090
|
+
* Distribe a set amount of Adventure Points among a given set of combat techniques.
|
|
10091
|
+
*/
|
|
10092
|
+
export interface CombatTechniquesForAdventurePointsOption {
|
|
10093
|
+
/**
|
|
10094
|
+
* The AP value to distribute.
|
|
10095
|
+
*/
|
|
10096
|
+
apValue: number
|
|
10097
|
+
|
|
10098
|
+
/**
|
|
10099
|
+
* The list of combat techniques to distribute to.
|
|
10100
|
+
*/
|
|
10101
|
+
options: CombatTechniqueIdentifier[]
|
|
10102
|
+
}
|
|
10103
|
+
|
|
10074
10104
|
/**
|
|
10075
10105
|
* Select one or more cantrips you receive.
|
|
10076
10106
|
*/
|
|
@@ -10303,6 +10333,21 @@ export interface SkillsOptions {
|
|
|
10303
10333
|
ap_value: number
|
|
10304
10334
|
}
|
|
10305
10335
|
|
|
10336
|
+
/**
|
|
10337
|
+
* Buy a set number of spells and rituals for a specific amount of AP.
|
|
10338
|
+
*/
|
|
10339
|
+
export interface SpellworksOptions {
|
|
10340
|
+
/**
|
|
10341
|
+
* The number of spells and rituals to select.
|
|
10342
|
+
*/
|
|
10343
|
+
number: number
|
|
10344
|
+
|
|
10345
|
+
/**
|
|
10346
|
+
* The AP value you can buy spells and rituals for.
|
|
10347
|
+
*/
|
|
10348
|
+
apValue: number
|
|
10349
|
+
}
|
|
10350
|
+
|
|
10306
10351
|
/**
|
|
10307
10352
|
* Buy liturgical chants and ceremonies for a specific amount of AP.
|
|
10308
10353
|
*/
|
|
@@ -13002,6 +13047,8 @@ export interface BrewTranslation {
|
|
|
13002
13047
|
}
|
|
13003
13048
|
|
|
13004
13049
|
export interface CeremonialItemSpecialAbility {
|
|
13050
|
+
associatedItem?: CeremonialItemSpecialAbilityGroup_ID
|
|
13051
|
+
|
|
13005
13052
|
/**
|
|
13006
13053
|
* Number of available levels.
|
|
13007
13054
|
*/
|
|
@@ -13091,6 +13138,32 @@ export interface CeremonialItemSpecialAbilityTranslation {
|
|
|
13091
13138
|
errata?: Errata
|
|
13092
13139
|
}
|
|
13093
13140
|
|
|
13141
|
+
export interface CeremonialItemSpecialAbilityGroup {
|
|
13142
|
+
/**
|
|
13143
|
+
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
13144
|
+
*/
|
|
13145
|
+
translations: {
|
|
13146
|
+
[localeId: string]: CeremonialItemSpecialAbilityGroupTranslation
|
|
13147
|
+
}
|
|
13148
|
+
}
|
|
13149
|
+
|
|
13150
|
+
/**
|
|
13151
|
+
* The entity’s identifier. A UUID or a locale code if it is registered as the locale entity.
|
|
13152
|
+
*/
|
|
13153
|
+
export type CeremonialItemSpecialAbilityGroup_ID = string
|
|
13154
|
+
|
|
13155
|
+
export interface CeremonialItemSpecialAbilityGroupTranslation {
|
|
13156
|
+
/**
|
|
13157
|
+
* The name of the ceremonial item. This should be the heading used in the respective publication.
|
|
13158
|
+
*/
|
|
13159
|
+
name: string
|
|
13160
|
+
|
|
13161
|
+
/**
|
|
13162
|
+
* The name of the ceremonial item for sorting purposes, if different from the actual name.
|
|
13163
|
+
*/
|
|
13164
|
+
nameForSorting: string
|
|
13165
|
+
}
|
|
13166
|
+
|
|
13094
13167
|
export interface ChronicleEnchantment {
|
|
13095
13168
|
/**
|
|
13096
13169
|
* Number of available levels.
|
|
@@ -16110,6 +16183,11 @@ export interface OrbEnchantmentTranslation {
|
|
|
16110
16183
|
}
|
|
16111
16184
|
|
|
16112
16185
|
export interface PactGift {
|
|
16186
|
+
/**
|
|
16187
|
+
* The pact category this pact gift is associated with. This is mainly used for allowing multiple pact gifts of the same name for different pact categories.
|
|
16188
|
+
*/
|
|
16189
|
+
associatedPactCategory?: PactCategory_ID
|
|
16190
|
+
|
|
16113
16191
|
/**
|
|
16114
16192
|
* Number of available levels.
|
|
16115
16193
|
*/
|
|
@@ -16204,6 +16282,86 @@ export interface PactGiftTranslation {
|
|
|
16204
16282
|
errata?: Errata
|
|
16205
16283
|
}
|
|
16206
16284
|
|
|
16285
|
+
export interface PactCategory {
|
|
16286
|
+
/**
|
|
16287
|
+
* References to where in which publications this entry has been defined. Entries may also be added or removed in later printings.
|
|
16288
|
+
*/
|
|
16289
|
+
src: PublicationRefs
|
|
16290
|
+
|
|
16291
|
+
/**
|
|
16292
|
+
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
16293
|
+
*/
|
|
16294
|
+
translations: {
|
|
16295
|
+
[localeId: string]: PactCategoryTranslation
|
|
16296
|
+
}
|
|
16297
|
+
}
|
|
16298
|
+
|
|
16299
|
+
/**
|
|
16300
|
+
* The entity’s identifier. A UUID or a locale code if it is registered as the locale entity.
|
|
16301
|
+
*/
|
|
16302
|
+
export type PactCategory_ID = string
|
|
16303
|
+
|
|
16304
|
+
export interface PactCategoryTranslation {
|
|
16305
|
+
/**
|
|
16306
|
+
* The pact category’s name.
|
|
16307
|
+
*/
|
|
16308
|
+
name: string
|
|
16309
|
+
|
|
16310
|
+
errata?: Errata
|
|
16311
|
+
}
|
|
16312
|
+
|
|
16313
|
+
export interface PactType {
|
|
16314
|
+
/**
|
|
16315
|
+
* The pact category this type belongs to.
|
|
16316
|
+
*/
|
|
16317
|
+
parent: PactCategory_ID
|
|
16318
|
+
|
|
16319
|
+
/**
|
|
16320
|
+
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
16321
|
+
*/
|
|
16322
|
+
translations: {
|
|
16323
|
+
[localeId: string]: PactTypeTranslation
|
|
16324
|
+
}
|
|
16325
|
+
}
|
|
16326
|
+
|
|
16327
|
+
/**
|
|
16328
|
+
* The entity’s identifier. A UUID or a locale code if it is registered as the locale entity.
|
|
16329
|
+
*/
|
|
16330
|
+
export type PactType_ID = string
|
|
16331
|
+
|
|
16332
|
+
export interface PactTypeTranslation {
|
|
16333
|
+
/**
|
|
16334
|
+
* The type’s name.
|
|
16335
|
+
*/
|
|
16336
|
+
name: string
|
|
16337
|
+
}
|
|
16338
|
+
|
|
16339
|
+
export interface PactDomain {
|
|
16340
|
+
/**
|
|
16341
|
+
* The pact category this domain belongs to.
|
|
16342
|
+
*/
|
|
16343
|
+
parent: PactCategory_ID
|
|
16344
|
+
|
|
16345
|
+
/**
|
|
16346
|
+
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
16347
|
+
*/
|
|
16348
|
+
translations: {
|
|
16349
|
+
[localeId: string]: PactDomainTranslation
|
|
16350
|
+
}
|
|
16351
|
+
}
|
|
16352
|
+
|
|
16353
|
+
/**
|
|
16354
|
+
* The entity’s identifier. A UUID or a locale code if it is registered as the locale entity.
|
|
16355
|
+
*/
|
|
16356
|
+
export type PactDomain_ID = string
|
|
16357
|
+
|
|
16358
|
+
export interface PactDomainTranslation {
|
|
16359
|
+
/**
|
|
16360
|
+
* The domain’s name.
|
|
16361
|
+
*/
|
|
16362
|
+
name: string
|
|
16363
|
+
}
|
|
16364
|
+
|
|
16207
16365
|
export type PactGiftPermanentDemonicConsumption =
|
|
16208
16366
|
| {
|
|
16209
16367
|
kind: "Fixed"
|
|
@@ -20537,9 +20695,11 @@ export interface ProfessionPackageOptions {
|
|
|
20537
20695
|
skill_specialization?: SkillSpecializationOptions
|
|
20538
20696
|
languages_scripts?: LanguagesScriptsOptions
|
|
20539
20697
|
combat_techniques?: CombatTechniquesOptions
|
|
20698
|
+
combatTechniquesForAdventurePoints?: CombatTechniquesForAdventurePointsOption
|
|
20540
20699
|
cantrips?: CantripsOptions
|
|
20541
20700
|
curses?: CursesOptions
|
|
20542
20701
|
skills?: SkillsOptions
|
|
20702
|
+
spellworks?: SpellworksOptions
|
|
20543
20703
|
liturgies?: LiturgiesOptions
|
|
20544
20704
|
}
|
|
20545
20705
|
|
|
@@ -21513,86 +21673,6 @@ export interface PactPrerequisite {
|
|
|
21513
21673
|
display_option?: DisplayOption
|
|
21514
21674
|
}
|
|
21515
21675
|
|
|
21516
|
-
export interface PactCategory {
|
|
21517
|
-
/**
|
|
21518
|
-
* References to where in which publications this entry has been defined. Entries may also be added or removed in later printings.
|
|
21519
|
-
*/
|
|
21520
|
-
src: PublicationRefs
|
|
21521
|
-
|
|
21522
|
-
/**
|
|
21523
|
-
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
21524
|
-
*/
|
|
21525
|
-
translations: {
|
|
21526
|
-
[localeId: string]: PactCategoryTranslation
|
|
21527
|
-
}
|
|
21528
|
-
}
|
|
21529
|
-
|
|
21530
|
-
/**
|
|
21531
|
-
* The entity’s identifier. A UUID or a locale code if it is registered as the locale entity.
|
|
21532
|
-
*/
|
|
21533
|
-
export type PactCategory_ID = string
|
|
21534
|
-
|
|
21535
|
-
export interface PactCategoryTranslation {
|
|
21536
|
-
/**
|
|
21537
|
-
* The pact category’s name.
|
|
21538
|
-
*/
|
|
21539
|
-
name: string
|
|
21540
|
-
|
|
21541
|
-
errata?: Errata
|
|
21542
|
-
}
|
|
21543
|
-
|
|
21544
|
-
export interface PactType {
|
|
21545
|
-
/**
|
|
21546
|
-
* The pact category this type belongs to.
|
|
21547
|
-
*/
|
|
21548
|
-
parent: PactCategory_ID
|
|
21549
|
-
|
|
21550
|
-
/**
|
|
21551
|
-
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
21552
|
-
*/
|
|
21553
|
-
translations: {
|
|
21554
|
-
[localeId: string]: PactTypeTranslation
|
|
21555
|
-
}
|
|
21556
|
-
}
|
|
21557
|
-
|
|
21558
|
-
/**
|
|
21559
|
-
* The entity’s identifier. A UUID or a locale code if it is registered as the locale entity.
|
|
21560
|
-
*/
|
|
21561
|
-
export type PactType_ID = string
|
|
21562
|
-
|
|
21563
|
-
export interface PactTypeTranslation {
|
|
21564
|
-
/**
|
|
21565
|
-
* The type’s name.
|
|
21566
|
-
*/
|
|
21567
|
-
name: string
|
|
21568
|
-
}
|
|
21569
|
-
|
|
21570
|
-
export interface PactDomain {
|
|
21571
|
-
/**
|
|
21572
|
-
* The pact category this domain belongs to.
|
|
21573
|
-
*/
|
|
21574
|
-
parent: PactCategory_ID
|
|
21575
|
-
|
|
21576
|
-
/**
|
|
21577
|
-
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
21578
|
-
*/
|
|
21579
|
-
translations: {
|
|
21580
|
-
[localeId: string]: PactDomainTranslation
|
|
21581
|
-
}
|
|
21582
|
-
}
|
|
21583
|
-
|
|
21584
|
-
/**
|
|
21585
|
-
* The entity’s identifier. A UUID or a locale code if it is registered as the locale entity.
|
|
21586
|
-
*/
|
|
21587
|
-
export type PactDomain_ID = string
|
|
21588
|
-
|
|
21589
|
-
export interface PactDomainTranslation {
|
|
21590
|
-
/**
|
|
21591
|
-
* The domain’s name.
|
|
21592
|
-
*/
|
|
21593
|
-
name: string
|
|
21594
|
-
}
|
|
21595
|
-
|
|
21596
21676
|
/**
|
|
21597
21677
|
* Requires a minimum social status.
|
|
21598
21678
|
*/
|
package/lib/main.js
CHANGED
package/lib/types/Advantage.d.ts
CHANGED
|
@@ -6,6 +6,8 @@ export declare const Advantage: DB.Entity<"Advantage", {
|
|
|
6
6
|
MagicalTitle: DB.EnumCase<null>;
|
|
7
7
|
MagicalHonor: DB.EnumCase<null>;
|
|
8
8
|
MagicalPunishment: DB.EnumCase<null>;
|
|
9
|
+
BlessedRank: DB.EnumCase<null>;
|
|
10
|
+
BlessedTitle: DB.EnumCase<null>;
|
|
9
11
|
}, []>>, false>;
|
|
10
12
|
nameBuilderRules: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ActivatableNameBuilderRules", DB.Object<{
|
|
11
13
|
levelPlacement: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"ActivatableNameLevelPlacement", {
|
|
@@ -6,6 +6,8 @@ export declare const Disadvantage: DB.Entity<"Disadvantage", {
|
|
|
6
6
|
MagicalTitle: DB.EnumCase<null>;
|
|
7
7
|
MagicalHonor: DB.EnumCase<null>;
|
|
8
8
|
MagicalPunishment: DB.EnumCase<null>;
|
|
9
|
+
BlessedRank: DB.EnumCase<null>;
|
|
10
|
+
BlessedTitle: DB.EnumCase<null>;
|
|
9
11
|
}, []>>, false>;
|
|
10
12
|
nameBuilderRules: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ActivatableNameBuilderRules", DB.Object<{
|
|
11
13
|
levelPlacement: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"ActivatableNameLevelPlacement", {
|
package/lib/types/Locale.d.ts
CHANGED
|
@@ -1380,6 +1380,8 @@ export declare const Locale: DB.Entity<"Locale", {
|
|
|
1380
1380
|
"Magical Title": null;
|
|
1381
1381
|
"Magical Honor": null;
|
|
1382
1382
|
"Magical Punishment": null;
|
|
1383
|
+
"Blessed Rank": null;
|
|
1384
|
+
"Blessed Title": null;
|
|
1383
1385
|
".input {$ord :number} {{{$ord}. attack}}": null;
|
|
1384
1386
|
".input {$ord :number} {{{$ord}. throw}}": null;
|
|
1385
1387
|
"depending on the level of the special ability {$name}": null;
|
|
@@ -1616,6 +1618,8 @@ export declare const Locale: DB.Entity<"Locale", {
|
|
|
1616
1618
|
"maximum SR per skill: {$maxSR}": null;
|
|
1617
1619
|
"no AP to improve other {$skillsOfGroup}": null;
|
|
1618
1620
|
".input {$count :number} {{{$count} cantrips}}": null;
|
|
1621
|
+
".input {$apValue :number} {{{$apValue} AP to distribute among the following combat techniques: {$list}}}": null;
|
|
1622
|
+
".input {$count :number} {{{$count} more spellworks totaling {$apValue} AP}}": null;
|
|
1619
1623
|
"{$count} from the following list": null;
|
|
1620
1624
|
"The Twelve Blessings": null;
|
|
1621
1625
|
"except for {$list :list type=conjunction}": null;
|
package/lib/types/Locale.js
CHANGED
|
@@ -1416,6 +1416,8 @@ export const Locale = DB.Entity(import.meta.url, {
|
|
|
1416
1416
|
"Magical Title": null,
|
|
1417
1417
|
"Magical Honor": null,
|
|
1418
1418
|
"Magical Punishment": null,
|
|
1419
|
+
"Blessed Rank": null,
|
|
1420
|
+
"Blessed Title": null,
|
|
1419
1421
|
// combat special ability -- penalty
|
|
1420
1422
|
".input {$ord :number} {{{$ord}. attack}}": null,
|
|
1421
1423
|
".input {$ord :number} {{{$ord}. throw}}": null,
|
|
@@ -1667,6 +1669,8 @@ export const Locale = DB.Entity(import.meta.url, {
|
|
|
1667
1669
|
"maximum SR per skill: {$maxSR}": null,
|
|
1668
1670
|
"no AP to improve other {$skillsOfGroup}": null,
|
|
1669
1671
|
".input {$count :number} {{{$count} cantrips}}": null,
|
|
1672
|
+
".input {$apValue :number} {{{$apValue} AP to distribute among the following combat techniques: {$list}}}": null,
|
|
1673
|
+
".input {$count :number} {{{$count} more spellworks totaling {$apValue} AP}}": null,
|
|
1670
1674
|
"{$count} from the following list": null,
|
|
1671
1675
|
"The Twelve Blessings": null,
|
|
1672
1676
|
"except for {$list :list type=conjunction}": null,
|
|
@@ -62,6 +62,13 @@ export declare const Profession: DB.Entity<"Profession", {
|
|
|
62
62
|
RangedCombatTechnique: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
63
63
|
}, []>>>, true>;
|
|
64
64
|
}>, []>>, false>;
|
|
65
|
+
combatTechniquesForAdventurePoints: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"CombatTechniquesForAdventurePointsOption", DB.Object<{
|
|
66
|
+
apValue: DB.MemberDecl<DB.Integer, true>;
|
|
67
|
+
options: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.Enum<"CombatTechniqueIdentifier", {
|
|
68
|
+
CloseCombatTechnique: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
69
|
+
RangedCombatTechnique: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
70
|
+
}, []>>>, true>;
|
|
71
|
+
}>, []>>, false>;
|
|
65
72
|
cantrips: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"CantripsOptions", DB.Object<{
|
|
66
73
|
number: DB.MemberDecl<DB.Integer, true>;
|
|
67
74
|
options: DB.MemberDecl<DB.Array<DB.ReferenceIdentifier>, true>;
|
|
@@ -74,6 +81,10 @@ export declare const Profession: DB.Entity<"Profession", {
|
|
|
74
81
|
specific: DB.MemberDecl<DB.Array<DB.ReferenceIdentifier>, false>;
|
|
75
82
|
ap_value: DB.MemberDecl<DB.Integer, true>;
|
|
76
83
|
}>, []>>, false>;
|
|
84
|
+
spellworks: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"SpellworksOptions", DB.Object<{
|
|
85
|
+
number: DB.MemberDecl<DB.Integer, true>;
|
|
86
|
+
apValue: DB.MemberDecl<DB.Integer, true>;
|
|
87
|
+
}>, []>>, false>;
|
|
77
88
|
liturgies: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"LiturgiesOptions", DB.Object<{
|
|
78
89
|
ap_value: DB.MemberDecl<DB.Integer, true>;
|
|
79
90
|
}>, []>>, false>;
|
|
@@ -314,6 +325,10 @@ export declare const Profession: DB.Entity<"Profession", {
|
|
|
314
325
|
Remove: DB.EnumCase<null>;
|
|
315
326
|
Override: DB.EnumCase<DB.TypeArgument<DB.Param<"T", DB.Type>>>;
|
|
316
327
|
}, [T: DB.Param<"T", DB.Type>]>>, false>;
|
|
328
|
+
combatTechniquesForAdventurePoints: DB.MemberDecl<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.Enum<"VariantOptionAction", {
|
|
329
|
+
Remove: DB.EnumCase<null>;
|
|
330
|
+
Override: DB.EnumCase<DB.TypeArgument<DB.Param<"T", DB.Type>>>;
|
|
331
|
+
}, [T: DB.Param<"T", DB.Type>]>>, false>;
|
|
317
332
|
cantrips: DB.MemberDecl<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.Enum<"VariantOptionAction", {
|
|
318
333
|
Remove: DB.EnumCase<null>;
|
|
319
334
|
Override: DB.EnumCase<DB.TypeArgument<DB.Param<"T", DB.Type>>>;
|
|
@@ -326,6 +341,10 @@ export declare const Profession: DB.Entity<"Profession", {
|
|
|
326
341
|
Remove: DB.EnumCase<null>;
|
|
327
342
|
Override: DB.EnumCase<DB.TypeArgument<DB.Param<"T", DB.Type>>>;
|
|
328
343
|
}, [T: DB.Param<"T", DB.Type>]>>, false>;
|
|
344
|
+
spellworks: DB.MemberDecl<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.Enum<"VariantOptionAction", {
|
|
345
|
+
Remove: DB.EnumCase<null>;
|
|
346
|
+
Override: DB.EnumCase<DB.TypeArgument<DB.Param<"T", DB.Type>>>;
|
|
347
|
+
}, [T: DB.Param<"T", DB.Type>]>>, false>;
|
|
329
348
|
liturgies: DB.MemberDecl<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.Enum<"VariantOptionAction", {
|
|
330
349
|
Remove: DB.EnumCase<null>;
|
|
331
350
|
Override: DB.EnumCase<DB.TypeArgument<DB.Param<"T", DB.Type>>>;
|
|
@@ -829,6 +848,13 @@ export declare const ProfessionVersion: DB.Entity<"ProfessionVersion", {
|
|
|
829
848
|
RangedCombatTechnique: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
830
849
|
}, []>>>, true>;
|
|
831
850
|
}>, []>>, false>;
|
|
851
|
+
combatTechniquesForAdventurePoints: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"CombatTechniquesForAdventurePointsOption", DB.Object<{
|
|
852
|
+
apValue: DB.MemberDecl<DB.Integer, true>;
|
|
853
|
+
options: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.Enum<"CombatTechniqueIdentifier", {
|
|
854
|
+
CloseCombatTechnique: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
855
|
+
RangedCombatTechnique: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
856
|
+
}, []>>>, true>;
|
|
857
|
+
}>, []>>, false>;
|
|
832
858
|
cantrips: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"CantripsOptions", DB.Object<{
|
|
833
859
|
number: DB.MemberDecl<DB.Integer, true>;
|
|
834
860
|
options: DB.MemberDecl<DB.Array<DB.ReferenceIdentifier>, true>;
|
|
@@ -841,6 +867,10 @@ export declare const ProfessionVersion: DB.Entity<"ProfessionVersion", {
|
|
|
841
867
|
specific: DB.MemberDecl<DB.Array<DB.ReferenceIdentifier>, false>;
|
|
842
868
|
ap_value: DB.MemberDecl<DB.Integer, true>;
|
|
843
869
|
}>, []>>, false>;
|
|
870
|
+
spellworks: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"SpellworksOptions", DB.Object<{
|
|
871
|
+
number: DB.MemberDecl<DB.Integer, true>;
|
|
872
|
+
apValue: DB.MemberDecl<DB.Integer, true>;
|
|
873
|
+
}>, []>>, false>;
|
|
844
874
|
liturgies: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"LiturgiesOptions", DB.Object<{
|
|
845
875
|
ap_value: DB.MemberDecl<DB.Integer, true>;
|
|
846
876
|
}>, []>>, false>;
|
|
@@ -1081,6 +1111,10 @@ export declare const ProfessionVersion: DB.Entity<"ProfessionVersion", {
|
|
|
1081
1111
|
Remove: DB.EnumCase<null>;
|
|
1082
1112
|
Override: DB.EnumCase<DB.TypeArgument<DB.Param<"T", DB.Type>>>;
|
|
1083
1113
|
}, [T: DB.Param<"T", DB.Type>]>>, false>;
|
|
1114
|
+
combatTechniquesForAdventurePoints: DB.MemberDecl<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.Enum<"VariantOptionAction", {
|
|
1115
|
+
Remove: DB.EnumCase<null>;
|
|
1116
|
+
Override: DB.EnumCase<DB.TypeArgument<DB.Param<"T", DB.Type>>>;
|
|
1117
|
+
}, [T: DB.Param<"T", DB.Type>]>>, false>;
|
|
1084
1118
|
cantrips: DB.MemberDecl<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.Enum<"VariantOptionAction", {
|
|
1085
1119
|
Remove: DB.EnumCase<null>;
|
|
1086
1120
|
Override: DB.EnumCase<DB.TypeArgument<DB.Param<"T", DB.Type>>>;
|
|
@@ -1093,6 +1127,10 @@ export declare const ProfessionVersion: DB.Entity<"ProfessionVersion", {
|
|
|
1093
1127
|
Remove: DB.EnumCase<null>;
|
|
1094
1128
|
Override: DB.EnumCase<DB.TypeArgument<DB.Param<"T", DB.Type>>>;
|
|
1095
1129
|
}, [T: DB.Param<"T", DB.Type>]>>, false>;
|
|
1130
|
+
spellworks: DB.MemberDecl<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.Enum<"VariantOptionAction", {
|
|
1131
|
+
Remove: DB.EnumCase<null>;
|
|
1132
|
+
Override: DB.EnumCase<DB.TypeArgument<DB.Param<"T", DB.Type>>>;
|
|
1133
|
+
}, [T: DB.Param<"T", DB.Type>]>>, false>;
|
|
1096
1134
|
liturgies: DB.MemberDecl<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.Enum<"VariantOptionAction", {
|
|
1097
1135
|
Remove: DB.EnumCase<null>;
|
|
1098
1136
|
Override: DB.EnumCase<DB.TypeArgument<DB.Param<"T", DB.Type>>>;
|
|
@@ -1588,6 +1626,13 @@ export declare const ProfessionPackage: DB.Entity<"ProfessionPackage", {
|
|
|
1588
1626
|
RangedCombatTechnique: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
1589
1627
|
}, []>>>, true>;
|
|
1590
1628
|
}>, []>>, false>;
|
|
1629
|
+
combatTechniquesForAdventurePoints: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"CombatTechniquesForAdventurePointsOption", DB.Object<{
|
|
1630
|
+
apValue: DB.MemberDecl<DB.Integer, true>;
|
|
1631
|
+
options: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.Enum<"CombatTechniqueIdentifier", {
|
|
1632
|
+
CloseCombatTechnique: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
1633
|
+
RangedCombatTechnique: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
1634
|
+
}, []>>>, true>;
|
|
1635
|
+
}>, []>>, false>;
|
|
1591
1636
|
cantrips: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"CantripsOptions", DB.Object<{
|
|
1592
1637
|
number: DB.MemberDecl<DB.Integer, true>;
|
|
1593
1638
|
options: DB.MemberDecl<DB.Array<DB.ReferenceIdentifier>, true>;
|
|
@@ -1600,6 +1645,10 @@ export declare const ProfessionPackage: DB.Entity<"ProfessionPackage", {
|
|
|
1600
1645
|
specific: DB.MemberDecl<DB.Array<DB.ReferenceIdentifier>, false>;
|
|
1601
1646
|
ap_value: DB.MemberDecl<DB.Integer, true>;
|
|
1602
1647
|
}>, []>>, false>;
|
|
1648
|
+
spellworks: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"SpellworksOptions", DB.Object<{
|
|
1649
|
+
number: DB.MemberDecl<DB.Integer, true>;
|
|
1650
|
+
apValue: DB.MemberDecl<DB.Integer, true>;
|
|
1651
|
+
}>, []>>, false>;
|
|
1603
1652
|
liturgies: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"LiturgiesOptions", DB.Object<{
|
|
1604
1653
|
ap_value: DB.MemberDecl<DB.Integer, true>;
|
|
1605
1654
|
}>, []>>, false>;
|
|
@@ -1840,6 +1889,10 @@ export declare const ProfessionPackage: DB.Entity<"ProfessionPackage", {
|
|
|
1840
1889
|
Remove: DB.EnumCase<null>;
|
|
1841
1890
|
Override: DB.EnumCase<DB.TypeArgument<DB.Param<"T", DB.Type>>>;
|
|
1842
1891
|
}, [T: DB.Param<"T", DB.Type>]>>, false>;
|
|
1892
|
+
combatTechniquesForAdventurePoints: DB.MemberDecl<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.Enum<"VariantOptionAction", {
|
|
1893
|
+
Remove: DB.EnumCase<null>;
|
|
1894
|
+
Override: DB.EnumCase<DB.TypeArgument<DB.Param<"T", DB.Type>>>;
|
|
1895
|
+
}, [T: DB.Param<"T", DB.Type>]>>, false>;
|
|
1843
1896
|
cantrips: DB.MemberDecl<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.Enum<"VariantOptionAction", {
|
|
1844
1897
|
Remove: DB.EnumCase<null>;
|
|
1845
1898
|
Override: DB.EnumCase<DB.TypeArgument<DB.Param<"T", DB.Type>>>;
|
|
@@ -1852,6 +1905,10 @@ export declare const ProfessionPackage: DB.Entity<"ProfessionPackage", {
|
|
|
1852
1905
|
Remove: DB.EnumCase<null>;
|
|
1853
1906
|
Override: DB.EnumCase<DB.TypeArgument<DB.Param<"T", DB.Type>>>;
|
|
1854
1907
|
}, [T: DB.Param<"T", DB.Type>]>>, false>;
|
|
1908
|
+
spellworks: DB.MemberDecl<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.Enum<"VariantOptionAction", {
|
|
1909
|
+
Remove: DB.EnumCase<null>;
|
|
1910
|
+
Override: DB.EnumCase<DB.TypeArgument<DB.Param<"T", DB.Type>>>;
|
|
1911
|
+
}, [T: DB.Param<"T", DB.Type>]>>, false>;
|
|
1855
1912
|
liturgies: DB.MemberDecl<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.Enum<"VariantOptionAction", {
|
|
1856
1913
|
Remove: DB.EnumCase<null>;
|
|
1857
1914
|
Override: DB.EnumCase<DB.TypeArgument<DB.Param<"T", DB.Type>>>;
|
|
@@ -2108,6 +2165,10 @@ export declare const ProfessionVariant: DB.Entity<"ProfessionVariant", {
|
|
|
2108
2165
|
Remove: DB.EnumCase<null>;
|
|
2109
2166
|
Override: DB.EnumCase<DB.TypeArgument<DB.Param<"T", DB.Type>>>;
|
|
2110
2167
|
}, [T: DB.Param<"T", DB.Type>]>>, false>;
|
|
2168
|
+
combatTechniquesForAdventurePoints: DB.MemberDecl<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.Enum<"VariantOptionAction", {
|
|
2169
|
+
Remove: DB.EnumCase<null>;
|
|
2170
|
+
Override: DB.EnumCase<DB.TypeArgument<DB.Param<"T", DB.Type>>>;
|
|
2171
|
+
}, [T: DB.Param<"T", DB.Type>]>>, false>;
|
|
2111
2172
|
cantrips: DB.MemberDecl<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.Enum<"VariantOptionAction", {
|
|
2112
2173
|
Remove: DB.EnumCase<null>;
|
|
2113
2174
|
Override: DB.EnumCase<DB.TypeArgument<DB.Param<"T", DB.Type>>>;
|
|
@@ -2120,6 +2181,10 @@ export declare const ProfessionVariant: DB.Entity<"ProfessionVariant", {
|
|
|
2120
2181
|
Remove: DB.EnumCase<null>;
|
|
2121
2182
|
Override: DB.EnumCase<DB.TypeArgument<DB.Param<"T", DB.Type>>>;
|
|
2122
2183
|
}, [T: DB.Param<"T", DB.Type>]>>, false>;
|
|
2184
|
+
spellworks: DB.MemberDecl<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.Enum<"VariantOptionAction", {
|
|
2185
|
+
Remove: DB.EnumCase<null>;
|
|
2186
|
+
Override: DB.EnumCase<DB.TypeArgument<DB.Param<"T", DB.Type>>>;
|
|
2187
|
+
}, [T: DB.Param<"T", DB.Type>]>>, false>;
|
|
2123
2188
|
liturgies: DB.MemberDecl<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.Enum<"VariantOptionAction", {
|
|
2124
2189
|
Remove: DB.EnumCase<null>;
|
|
2125
2190
|
Override: DB.EnumCase<DB.TypeArgument<DB.Param<"T", DB.Type>>>;
|
package/lib/types/Profession.js
CHANGED
|
@@ -438,6 +438,9 @@ const ProfessionPackageOptions = DB.TypeAlias(import.meta.url, {
|
|
|
438
438
|
combat_techniques: DB.Optional({
|
|
439
439
|
type: DB.IncludeIdentifier(CombatTechniquesOptions),
|
|
440
440
|
}),
|
|
441
|
+
combatTechniquesForAdventurePoints: DB.Optional({
|
|
442
|
+
type: DB.IncludeIdentifier(CombatTechniquesForAdventurePointsOption),
|
|
443
|
+
}),
|
|
441
444
|
cantrips: DB.Optional({
|
|
442
445
|
type: DB.IncludeIdentifier(CantripsOptions),
|
|
443
446
|
}),
|
|
@@ -447,6 +450,9 @@ const ProfessionPackageOptions = DB.TypeAlias(import.meta.url, {
|
|
|
447
450
|
skills: DB.Optional({
|
|
448
451
|
type: DB.IncludeIdentifier(SkillsOptions),
|
|
449
452
|
}),
|
|
453
|
+
spellworks: DB.Optional({
|
|
454
|
+
type: DB.IncludeIdentifier(SpellworksOptions),
|
|
455
|
+
}),
|
|
450
456
|
liturgies: DB.Optional({
|
|
451
457
|
type: DB.IncludeIdentifier(LiturgiesOptions),
|
|
452
458
|
}),
|
|
@@ -471,6 +477,11 @@ const ProfessionVariantPackageOptions = DB.TypeAlias(import.meta.url, {
|
|
|
471
477
|
DB.IncludeIdentifier(CombatTechniquesOptions),
|
|
472
478
|
]),
|
|
473
479
|
}),
|
|
480
|
+
combatTechniquesForAdventurePoints: DB.Optional({
|
|
481
|
+
type: DB.GenIncludeIdentifier(VariantOptionAction, [
|
|
482
|
+
DB.IncludeIdentifier(CombatTechniquesForAdventurePointsOption),
|
|
483
|
+
]),
|
|
484
|
+
}),
|
|
474
485
|
cantrips: DB.Optional({
|
|
475
486
|
type: DB.GenIncludeIdentifier(VariantOptionAction, [
|
|
476
487
|
DB.IncludeIdentifier(CantripsOptions),
|
|
@@ -482,6 +493,11 @@ const ProfessionVariantPackageOptions = DB.TypeAlias(import.meta.url, {
|
|
|
482
493
|
skills: DB.Optional({
|
|
483
494
|
type: DB.GenIncludeIdentifier(VariantOptionAction, [DB.IncludeIdentifier(SkillsOptions)]),
|
|
484
495
|
}),
|
|
496
|
+
spellworks: DB.Optional({
|
|
497
|
+
type: DB.GenIncludeIdentifier(VariantOptionAction, [
|
|
498
|
+
DB.IncludeIdentifier(SpellworksOptions),
|
|
499
|
+
]),
|
|
500
|
+
}),
|
|
485
501
|
liturgies: DB.Optional({
|
|
486
502
|
type: DB.GenIncludeIdentifier(VariantOptionAction, [
|
|
487
503
|
DB.IncludeIdentifier(LiturgiesOptions),
|
|
@@ -558,6 +574,20 @@ const RatingForCombatTechniquesNumber = DB.TypeAlias(import.meta.url, {
|
|
|
558
574
|
}),
|
|
559
575
|
}),
|
|
560
576
|
});
|
|
577
|
+
const CombatTechniquesForAdventurePointsOption = DB.TypeAlias(import.meta.url, {
|
|
578
|
+
name: "CombatTechniquesForAdventurePointsOption",
|
|
579
|
+
comment: `Distribe a set amount of Adventure Points among a given set of combat techniques.`,
|
|
580
|
+
type: () => DB.Object({
|
|
581
|
+
apValue: DB.Required({
|
|
582
|
+
comment: `The AP value to distribute.`,
|
|
583
|
+
type: DB.Integer({ minimum: 2 }),
|
|
584
|
+
}),
|
|
585
|
+
options: DB.Required({
|
|
586
|
+
comment: "The list of combat techniques to distribute to.",
|
|
587
|
+
type: DB.Array(DB.IncludeIdentifier(CombatTechniqueIdentifier), { minItems: 2 }),
|
|
588
|
+
}),
|
|
589
|
+
}),
|
|
590
|
+
});
|
|
561
591
|
const CantripsOptions = DB.TypeAlias(import.meta.url, {
|
|
562
592
|
name: "CantripsOptions",
|
|
563
593
|
comment: `Select one or more cantrips you receive.`,
|
|
@@ -605,6 +635,20 @@ const SkillsOptions = DB.TypeAlias(import.meta.url, {
|
|
|
605
635
|
: undefined,
|
|
606
636
|
].filter(isNotNullish),
|
|
607
637
|
});
|
|
638
|
+
const SpellworksOptions = DB.TypeAlias(import.meta.url, {
|
|
639
|
+
name: "SpellworksOptions",
|
|
640
|
+
comment: `Buy a set number of spells and rituals for a specific amount of AP.`,
|
|
641
|
+
type: () => DB.Object({
|
|
642
|
+
number: DB.Required({
|
|
643
|
+
comment: "The number of spells and rituals to select.",
|
|
644
|
+
type: DB.Integer({ minimum: 1 }),
|
|
645
|
+
}),
|
|
646
|
+
apValue: DB.Required({
|
|
647
|
+
comment: "The AP value you can buy spells and rituals for.",
|
|
648
|
+
type: DB.Integer({ minimum: 1 }),
|
|
649
|
+
}),
|
|
650
|
+
}),
|
|
651
|
+
});
|
|
608
652
|
const LiturgiesOptions = DB.TypeAlias(import.meta.url, {
|
|
609
653
|
name: "LiturgiesOptions",
|
|
610
654
|
comment: `Buy liturgical chants and ceremonies for a specific amount of AP.`,
|
package/lib/types/Race.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ export declare const Race: DB.Entity<"Race", {
|
|
|
23
23
|
number: DB.MemberDecl<DB.Integer, true>;
|
|
24
24
|
sides: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"DieType", DB.Integer, []>>, true>;
|
|
25
25
|
}>, []>>, true>;
|
|
26
|
-
}>,
|
|
26
|
+
}>, false>;
|
|
27
27
|
variants: DB.MemberDecl<DB.ChildEntities<DB.Entity<"RaceVariant", {
|
|
28
28
|
race: DB.MemberDecl<DB.ReferenceIdentifier, true>;
|
|
29
29
|
attribute_adjustments: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"AttributeAdjustments", DB.Object<{
|
package/lib/types/Race.js
CHANGED
|
@@ -29,7 +29,7 @@ export const Race = DB.Entity(import.meta.url, {
|
|
|
29
29
|
comment: "Configuration for random weight generation.",
|
|
30
30
|
type: DB.IncludeIdentifier(RandomWeightGeneration),
|
|
31
31
|
}),
|
|
32
|
-
starting_age: DB.
|
|
32
|
+
starting_age: DB.Optional({
|
|
33
33
|
comment: "Defines the starting ages for the race. It depends on the selected experience level.",
|
|
34
34
|
type: DB.NestedEntityMap({
|
|
35
35
|
name: "StartingAgeConfigForExperienceLevel",
|
|
@@ -4,4 +4,6 @@ export declare const subtype: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"Ad
|
|
|
4
4
|
MagicalTitle: DB.EnumCase<null>;
|
|
5
5
|
MagicalHonor: DB.EnumCase<null>;
|
|
6
6
|
MagicalPunishment: DB.EnumCase<null>;
|
|
7
|
+
BlessedRank: DB.EnumCase<null>;
|
|
8
|
+
BlessedTitle: DB.EnumCase<null>;
|
|
7
9
|
}, []>>, false>;
|
|
@@ -6,6 +6,8 @@ const AdvantageDisadvantageSubtype = DB.Enum(import.meta.url, {
|
|
|
6
6
|
MagicalTitle: DB.EnumCase({ type: null }),
|
|
7
7
|
MagicalHonor: DB.EnumCase({ type: null }),
|
|
8
8
|
MagicalPunishment: DB.EnumCase({ type: null }),
|
|
9
|
+
BlessedRank: DB.EnumCase({ type: null }),
|
|
10
|
+
BlessedTitle: DB.EnumCase({ type: null }),
|
|
9
11
|
}),
|
|
10
12
|
});
|
|
11
13
|
export const subtype = DB.Optional({ type: DB.IncludeIdentifier(AdvantageDisadvantageSubtype) });
|
|
@@ -36,6 +36,7 @@ export declare const CantripIdentifier: () => R;
|
|
|
36
36
|
export declare const CauldronEnchantmentIdentifier: () => R;
|
|
37
37
|
export declare const CeremonialItemIdentifier: () => R;
|
|
38
38
|
export declare const CeremonialItemSpecialAbilityIdentifier: () => R;
|
|
39
|
+
export declare const CeremonialItemSpecialAbilityGroupIdentifier: () => R;
|
|
39
40
|
export declare const CeremonyIdentifier: () => R;
|
|
40
41
|
export declare const ChronicleEnchantmentIdentifier: () => R;
|
|
41
42
|
export declare const CloseCombatTechniqueIdentifier: () => R;
|
package/lib/types/_Identifier.js
CHANGED
|
@@ -127,6 +127,7 @@ import { Sermon } from "./specialAbility/Sermon.js";
|
|
|
127
127
|
import { SexSpecialAbility } from "./specialAbility/SexSpecialAbility.js";
|
|
128
128
|
import { SikaryanDrainSpecialAbility } from "./specialAbility/SikaryanDrainSpecialAbility.js";
|
|
129
129
|
import { SkillStyleSpecialAbility } from "./specialAbility/SkillStyleSpecialAbility.js";
|
|
130
|
+
import { CeremonialItemSpecialAbilityGroup } from "./specialAbility/sub/CeremonialItemSpecialAbilityGroup.js";
|
|
130
131
|
import { Language, LanguageSpecialization } from "./specialAbility/sub/Language.js";
|
|
131
132
|
import { Script } from "./specialAbility/sub/Script.js";
|
|
132
133
|
import { TradeSecret } from "./specialAbility/sub/TradeSecret.js";
|
|
@@ -200,6 +201,7 @@ export const CantripIdentifier = () => R(Cantrip);
|
|
|
200
201
|
export const CauldronEnchantmentIdentifier = () => R(CauldronEnchantment);
|
|
201
202
|
export const CeremonialItemIdentifier = () => R(CeremonialItem);
|
|
202
203
|
export const CeremonialItemSpecialAbilityIdentifier = () => R(CeremonialItemSpecialAbility);
|
|
204
|
+
export const CeremonialItemSpecialAbilityGroupIdentifier = () => R(CeremonialItemSpecialAbilityGroup);
|
|
203
205
|
export const CeremonyIdentifier = () => R(Ceremony);
|
|
204
206
|
export const ChronicleEnchantmentIdentifier = () => R(ChronicleEnchantment);
|
|
205
207
|
export const CloseCombatTechniqueIdentifier = () => R(CloseCombatTechnique);
|
package/lib/types/index.d.ts
CHANGED
|
@@ -48,9 +48,9 @@ export { RopeOrChain } from "./equipment/item/RopeOrChain.js";
|
|
|
48
48
|
export { Stationery } from "./equipment/item/Stationery.js";
|
|
49
49
|
export { ArmorType } from "./equipment/item/sub/ArmorType.js";
|
|
50
50
|
export { Biome } from "./equipment/item/sub/Biome.js";
|
|
51
|
-
export { SubBiome } from "./equipment/item/sub/SubBiome.js";
|
|
52
|
-
export { Reach } from "./equipment/item/sub/Reach.js";
|
|
53
51
|
export { BotanicRegion } from "./equipment/item/sub/BotanicRegion.js";
|
|
52
|
+
export { Reach } from "./equipment/item/sub/Reach.js";
|
|
53
|
+
export { SubBiome } from "./equipment/item/sub/SubBiome.js";
|
|
54
54
|
export { ThievesTool } from "./equipment/item/ThievesTool.js";
|
|
55
55
|
export { ToolOfTheTrade } from "./equipment/item/ToolOfTheTrade.js";
|
|
56
56
|
export { TravelGearOrTool } from "./equipment/item/TravelGearOrTool.js";
|
|
@@ -130,6 +130,7 @@ export { Sermon } from "./specialAbility/Sermon.js";
|
|
|
130
130
|
export { SexSpecialAbility } from "./specialAbility/SexSpecialAbility.js";
|
|
131
131
|
export { SikaryanDrainSpecialAbility } from "./specialAbility/SikaryanDrainSpecialAbility.js";
|
|
132
132
|
export { SkillStyleSpecialAbility } from "./specialAbility/SkillStyleSpecialAbility.js";
|
|
133
|
+
export { CeremonialItemSpecialAbilityGroup } from "./specialAbility/sub/CeremonialItemSpecialAbilityGroup.js";
|
|
133
134
|
export { Language } from "./specialAbility/sub/Language.js";
|
|
134
135
|
export { Script } from "./specialAbility/sub/Script.js";
|
|
135
136
|
export { TradeSecret } from "./specialAbility/sub/TradeSecret.js";
|
package/lib/types/index.js
CHANGED
|
@@ -48,9 +48,9 @@ export { RopeOrChain } from "./equipment/item/RopeOrChain.js";
|
|
|
48
48
|
export { Stationery } from "./equipment/item/Stationery.js";
|
|
49
49
|
export { ArmorType } from "./equipment/item/sub/ArmorType.js";
|
|
50
50
|
export { Biome } from "./equipment/item/sub/Biome.js";
|
|
51
|
-
export { SubBiome } from "./equipment/item/sub/SubBiome.js";
|
|
52
|
-
export { Reach } from "./equipment/item/sub/Reach.js";
|
|
53
51
|
export { BotanicRegion } from "./equipment/item/sub/BotanicRegion.js";
|
|
52
|
+
export { Reach } from "./equipment/item/sub/Reach.js";
|
|
53
|
+
export { SubBiome } from "./equipment/item/sub/SubBiome.js";
|
|
54
54
|
export { ThievesTool } from "./equipment/item/ThievesTool.js";
|
|
55
55
|
export { ToolOfTheTrade } from "./equipment/item/ToolOfTheTrade.js";
|
|
56
56
|
export { TravelGearOrTool } from "./equipment/item/TravelGearOrTool.js";
|
|
@@ -130,6 +130,7 @@ export { Sermon } from "./specialAbility/Sermon.js";
|
|
|
130
130
|
export { SexSpecialAbility } from "./specialAbility/SexSpecialAbility.js";
|
|
131
131
|
export { SikaryanDrainSpecialAbility } from "./specialAbility/SikaryanDrainSpecialAbility.js";
|
|
132
132
|
export { SkillStyleSpecialAbility } from "./specialAbility/SkillStyleSpecialAbility.js";
|
|
133
|
+
export { CeremonialItemSpecialAbilityGroup } from "./specialAbility/sub/CeremonialItemSpecialAbilityGroup.js";
|
|
133
134
|
export { Language } from "./specialAbility/sub/Language.js";
|
|
134
135
|
export { Script } from "./specialAbility/sub/Script.js";
|
|
135
136
|
export { TradeSecret } from "./specialAbility/sub/TradeSecret.js";
|
|
@@ -20,7 +20,7 @@ A standalone sentence is connected to the previous prerequisite string with a pe
|
|
|
20
20
|
translations: NestedTranslationMap(DB.Required, "ReplacementDisplayOption", DB.Object({
|
|
21
21
|
replacement: DB.Required({
|
|
22
22
|
comment: "The replacement text.",
|
|
23
|
-
type: DB.String({ minLength: 1 }),
|
|
23
|
+
type: DB.String({ minLength: 1, markdown: "inline" }),
|
|
24
24
|
}),
|
|
25
25
|
})),
|
|
26
26
|
}),
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as DB from "tsondb/schema/dsl";
|
|
2
2
|
export declare const CeremonialItemSpecialAbility: DB.Entity<"CeremonialItemSpecialAbility", {
|
|
3
|
+
associatedItem: DB.MemberDecl<DB.ReferenceIdentifier, false>;
|
|
3
4
|
levels: DB.MemberDecl<DB.Integer, false>;
|
|
4
5
|
nameBuilderRules: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ActivatableNameBuilderRules", DB.Object<{
|
|
5
6
|
levelPlacement: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"ActivatableNameLevelPlacement", {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import * as DB from "tsondb/schema/dsl";
|
|
2
2
|
import { effect, levels, maximum, name, name_in_library } from "../_Activatable.js";
|
|
3
3
|
import { ap_value, ap_value_append, ap_value_l10n } from "../_ActivatableAdventurePointsValue.js";
|
|
4
|
-
import {
|
|
4
|
+
import { nameBuilderRules } from "../_ActivatableNames.js";
|
|
5
5
|
import { aspectOptional } from "../_ActivatableNonMundane.js";
|
|
6
6
|
import { explicit_select_options, select_options } from "../_ActivatableSelectOptions.js";
|
|
7
7
|
import { skill_applications, skill_uses } from "../_ActivatableSkillApplicationsAndUses.js";
|
|
8
|
+
import { CeremonialItemSpecialAbilityGroupIdentifier } from "../_Identifier.js";
|
|
8
9
|
import { GeneralPrerequisites } from "../_Prerequisite.js";
|
|
9
10
|
import { NestedTranslationMap } from "../Locale.js";
|
|
10
11
|
import { Errata } from "../source/_Erratum.js";
|
|
@@ -13,6 +14,9 @@ export const CeremonialItemSpecialAbility = DB.Entity(import.meta.url, {
|
|
|
13
14
|
name: "CeremonialItemSpecialAbility",
|
|
14
15
|
namePlural: "CeremonialItemSpecialAbilities",
|
|
15
16
|
type: () => DB.Object({
|
|
17
|
+
associatedItem: DB.Optional({
|
|
18
|
+
type: CeremonialItemSpecialAbilityGroupIdentifier(),
|
|
19
|
+
}),
|
|
16
20
|
levels,
|
|
17
21
|
nameBuilderRules,
|
|
18
22
|
select_options,
|
|
@@ -38,7 +42,29 @@ export const CeremonialItemSpecialAbility = DB.Entity(import.meta.url, {
|
|
|
38
42
|
})),
|
|
39
43
|
}),
|
|
40
44
|
instanceDisplayName: {},
|
|
41
|
-
instanceDisplayNameCustomizer:
|
|
45
|
+
instanceDisplayNameCustomizer: ({ instance, instanceDisplayName, instanceDisplayNameLocaleId, locales, getDisplayNameForInstanceId, }) => {
|
|
46
|
+
for (const locale of locales) {
|
|
47
|
+
const translation = instance.translations[locale];
|
|
48
|
+
if (translation) {
|
|
49
|
+
const parent = instance.associatedItem === undefined
|
|
50
|
+
? undefined
|
|
51
|
+
: getDisplayNameForInstanceId("CeremonialItemSpecialAbilityGroup", instance.associatedItem);
|
|
52
|
+
return {
|
|
53
|
+
name: (parent === undefined ? "" : parent.name + " — ") +
|
|
54
|
+
(translation.name_in_library ?? translation.name),
|
|
55
|
+
localeId: locale,
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
// {
|
|
60
|
+
// name:
|
|
61
|
+
// instanceDisplayName.length > 0
|
|
62
|
+
// ? instanceDisplayName
|
|
63
|
+
// : (getDisplayNameForInstanceId(instance.parent)?.name ?? ""),
|
|
64
|
+
// localeId: instanceDisplayNameLocaleId,
|
|
65
|
+
// }
|
|
66
|
+
return { name: instanceDisplayName, localeId: instanceDisplayNameLocaleId };
|
|
67
|
+
},
|
|
42
68
|
uniqueConstraints: [
|
|
43
69
|
[
|
|
44
70
|
{
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as DB from "tsondb/schema/dsl";
|
|
2
2
|
export declare const PactGift: DB.Entity<"PactGift", {
|
|
3
|
+
associatedPactCategory: DB.MemberDecl<DB.ReferenceIdentifier, false>;
|
|
3
4
|
levels: DB.MemberDecl<DB.Integer, false>;
|
|
4
5
|
nameBuilderRules: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ActivatableNameBuilderRules", DB.Object<{
|
|
5
6
|
levelPlacement: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"ActivatableNameLevelPlacement", {
|
|
@@ -4,6 +4,7 @@ import { ap_value, ap_value_append, ap_value_l10n } from "../_ActivatableAdventu
|
|
|
4
4
|
import { automatic_entries } from "../_ActivatableAutomatic.js";
|
|
5
5
|
import { activatableDisplayNameCustomizer, nameBuilderRules } from "../_ActivatableNames.js";
|
|
6
6
|
import { explicit_select_options, select_options } from "../_ActivatableSelectOptions.js";
|
|
7
|
+
import { PactCategoryIdentifier } from "../_Identifier.js";
|
|
7
8
|
import { GeneralPrerequisites } from "../_Prerequisite.js";
|
|
8
9
|
import { NestedTranslationMap } from "../Locale.js";
|
|
9
10
|
import { Errata } from "../source/_Erratum.js";
|
|
@@ -12,6 +13,10 @@ export const PactGift = DB.Entity(import.meta.url, {
|
|
|
12
13
|
name: "PactGift",
|
|
13
14
|
namePlural: "PactGifts",
|
|
14
15
|
type: () => DB.Object({
|
|
16
|
+
associatedPactCategory: DB.Optional({
|
|
17
|
+
comment: "The pact category this pact gift is associated with. This is mainly used for allowing multiple pact gifts of the same name for different pact categories.",
|
|
18
|
+
type: PactCategoryIdentifier(),
|
|
19
|
+
}),
|
|
15
20
|
levels,
|
|
16
21
|
nameBuilderRules,
|
|
17
22
|
select_options,
|
|
@@ -41,11 +46,14 @@ export const PactGift = DB.Entity(import.meta.url, {
|
|
|
41
46
|
instanceDisplayName: {},
|
|
42
47
|
instanceDisplayNameCustomizer: activatableDisplayNameCustomizer,
|
|
43
48
|
uniqueConstraints: [
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
+
[
|
|
50
|
+
{
|
|
51
|
+
entityMapKeyPath: "translations",
|
|
52
|
+
keyPathInEntityMap: "name_in_library",
|
|
53
|
+
keyPathInEntityMapFallback: "name",
|
|
54
|
+
},
|
|
55
|
+
{ keyPath: "associatedPactCategory" },
|
|
56
|
+
],
|
|
49
57
|
],
|
|
50
58
|
});
|
|
51
59
|
const PactGiftPermanentDemonicConsumption = DB.Enum(import.meta.url, {
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as DB from "tsondb/schema/dsl";
|
|
2
|
+
export declare const CeremonialItemSpecialAbilityGroup: DB.Entity<"CeremonialItemSpecialAbilityGroup", {
|
|
3
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"CeremonialItemSpecialAbilityGroupTranslation", {
|
|
4
|
+
name: DB.MemberDecl<DB.String, true>;
|
|
5
|
+
nameForSorting: DB.MemberDecl<DB.String, true>;
|
|
6
|
+
}>, true>;
|
|
7
|
+
}, undefined>;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as DB from "tsondb/schema/dsl";
|
|
2
|
+
import { NestedTranslationMap } from "../../Locale.js";
|
|
3
|
+
export const CeremonialItemSpecialAbilityGroup = DB.Entity(import.meta.url, {
|
|
4
|
+
name: "CeremonialItemSpecialAbilityGroup",
|
|
5
|
+
namePlural: "CeremonialItemSpecialAbilityGroups",
|
|
6
|
+
type: () => DB.Object({
|
|
7
|
+
translations: NestedTranslationMap(DB.Required, "CeremonialItemSpecialAbilityGroup", DB.Object({
|
|
8
|
+
name: DB.Required({
|
|
9
|
+
comment: "The name of the ceremonial item. This should be the heading used in the respective publication.",
|
|
10
|
+
type: DB.String({ minLength: 1 }),
|
|
11
|
+
}),
|
|
12
|
+
nameForSorting: DB.Required({
|
|
13
|
+
comment: "The name of the ceremonial item for sorting purposes, if different from the actual name.",
|
|
14
|
+
type: DB.String({ minLength: 1 }),
|
|
15
|
+
}),
|
|
16
|
+
})),
|
|
17
|
+
}),
|
|
18
|
+
instanceDisplayName: {
|
|
19
|
+
pathInLocaleMap: "nameForSorting",
|
|
20
|
+
},
|
|
21
|
+
uniqueConstraints: [
|
|
22
|
+
{
|
|
23
|
+
entityMapKeyPath: "translations",
|
|
24
|
+
keyPathInEntityMap: "name",
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
entityMapKeyPath: "translations",
|
|
28
|
+
keyPathInEntityMap: "nameForSorting",
|
|
29
|
+
},
|
|
30
|
+
],
|
|
31
|
+
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@optolith/database-schema",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.64.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",
|