optolith-database-schema 0.25.0 → 0.26.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 +30 -0
- package/gen/types.d.ts +390 -300
- package/lib/main.d.ts +7 -0
- package/lib/types/Advantage.d.ts +11 -0
- package/lib/types/CombatTechnique.d.ts +79 -55
- package/lib/types/CombatTechnique.js +25 -7
- package/lib/types/Disadvantage.d.ts +11 -0
- package/lib/types/HomunculusType.d.ts +6 -0
- package/lib/types/HomunculusType.js +15 -0
- package/lib/types/Profession.d.ts +25 -0
- package/lib/types/Profession.js +18 -2
- package/lib/types/_ActivatableAdventurePointsValue.d.ts +1 -0
- package/lib/types/_ActivatableAdventurePointsValue.js +4 -0
- package/lib/types/_ActivatableNonMundane.d.ts +10 -2
- package/lib/types/_ActivatableNonMundane.js +11 -1
- package/lib/types/_ActivatableSelectOptionCategory.d.ts +699 -0
- package/lib/types/_ActivatableSelectOptionCategory.js +73 -0
- package/lib/types/_ActivatableSelectOptions.d.ts +10 -0
- package/lib/types/equipment/item/BandageOrRemedy.js +10 -0
- package/lib/types/equipment/item/CeremonialItem.js +10 -0
- package/lib/types/equipment/item/Clothes.js +10 -0
- package/lib/types/equipment/item/Container.js +10 -0
- package/lib/types/equipment/item/EquipmentOfBlessedOnes.js +10 -0
- package/lib/types/equipment/item/IlluminationLightSource.js +10 -0
- package/lib/types/equipment/item/IlluminationRefillOrSupply.js +10 -0
- package/lib/types/equipment/item/Liebesspielzeug.js +10 -0
- package/lib/types/equipment/item/LuxuryGood.js +10 -0
- package/lib/types/equipment/item/MagicalArtifact.js +10 -0
- package/lib/types/equipment/item/MusicalInstrument.js +10 -0
- package/lib/types/equipment/item/TravelGearOrTool.js +10 -0
- package/lib/types/equipment/item/Weapon.d.ts +45 -45
- package/lib/types/equipment/item/Weapon.js +7 -5
- package/lib/types/equipment/item/WeaponAccessory.js +10 -0
- package/lib/types/equipment/item/_Item.js +13 -1
- package/lib/types/equipment/item/_Weapon.d.ts +13 -4
- package/lib/types/equipment/item/_Weapon.js +32 -4
- package/lib/types/specialAbility/AdvancedCombatSpecialAbility.d.ts +11 -0
- package/lib/types/specialAbility/AdvancedKarmaSpecialAbility.d.ts +11 -0
- package/lib/types/specialAbility/AdvancedMagicalSpecialAbility.d.ts +11 -0
- package/lib/types/specialAbility/AdvancedSkillSpecialAbility.d.ts +11 -0
- package/lib/types/specialAbility/AncestorGlyph.d.ts +11 -0
- package/lib/types/specialAbility/BlessedTradition.d.ts +11 -0
- package/lib/types/specialAbility/BrawlingSpecialAbility.d.ts +11 -0
- package/lib/types/specialAbility/CeremonialItemSpecialAbility.d.ts +11 -0
- package/lib/types/specialAbility/CombatSpecialAbility.d.ts +11 -0
- package/lib/types/specialAbility/CombatStyleSpecialAbility.d.ts +11 -0
- package/lib/types/specialAbility/CommandSpecialAbility.d.ts +11 -0
- package/lib/types/specialAbility/FamiliarSpecialAbility.d.ts +11 -0
- package/lib/types/specialAbility/FatePointSexSpecialAbility.d.ts +11 -0
- package/lib/types/specialAbility/FatePointSpecialAbility.d.ts +11 -0
- package/lib/types/specialAbility/GeneralSpecialAbility.d.ts +11 -0
- package/lib/types/specialAbility/KarmaSpecialAbility.d.ts +11 -0
- package/lib/types/specialAbility/LiturgicalStyleSpecialAbility.d.ts +11 -0
- package/lib/types/specialAbility/LycantropicGift.d.ts +11 -0
- package/lib/types/specialAbility/MagicStyleSpecialAbility.d.ts +11 -0
- package/lib/types/specialAbility/MagicalSpecialAbility.d.ts +11 -0
- package/lib/types/specialAbility/MagicalTradition.d.ts +11 -0
- package/lib/types/specialAbility/PactGift.d.ts +11 -0
- package/lib/types/specialAbility/ProtectiveWardingCircleSpecialAbility.d.ts +11 -0
- package/lib/types/specialAbility/Sermon.d.ts +11 -0
- package/lib/types/specialAbility/SexSpecialAbility.d.ts +11 -0
- package/lib/types/specialAbility/SikaryanDrainSpecialAbility.d.ts +11 -0
- package/lib/types/specialAbility/SkillStyleSpecialAbility.d.ts +11 -0
- package/lib/types/specialAbility/VampiricGift.d.ts +11 -0
- package/lib/types/specialAbility/Vision.d.ts +11 -0
- package/lib/types/specialAbility/sub/TradeSecret.d.ts +880 -161
- package/lib/types/specialAbility/sub/TradeSecret.js +9 -5
- package/lib/types/traditionArtifacts/ArcaneOrbEnchantment.d.ts +16 -1
- package/lib/types/traditionArtifacts/AttireEnchantment.d.ts +16 -1
- package/lib/types/traditionArtifacts/Beutelzauber.d.ts +16 -1
- package/lib/types/traditionArtifacts/BowlEnchantment.d.ts +16 -1
- package/lib/types/traditionArtifacts/CauldronEnchantment.d.ts +16 -1
- package/lib/types/traditionArtifacts/ChronicleEnchantment.d.ts +16 -1
- package/lib/types/traditionArtifacts/DaggerRitual.d.ts +16 -1
- package/lib/types/traditionArtifacts/FoolsHatEnchantment.d.ts +16 -1
- package/lib/types/traditionArtifacts/Haubenzauber.d.ts +16 -1
- package/lib/types/traditionArtifacts/InstrumentEnchantment.d.ts +16 -1
- package/lib/types/traditionArtifacts/Krallenkettenzauber.d.ts +16 -1
- package/lib/types/traditionArtifacts/Kristallkugelzauber.d.ts +16 -1
- package/lib/types/traditionArtifacts/OrbEnchantment.d.ts +16 -1
- package/lib/types/traditionArtifacts/RingEnchantment.d.ts +16 -1
- package/lib/types/traditionArtifacts/SickleRitual.d.ts +16 -1
- package/lib/types/traditionArtifacts/SpellSwordEnchantment.d.ts +16 -1
- package/lib/types/traditionArtifacts/StaffEnchantment.d.ts +16 -1
- package/lib/types/traditionArtifacts/ToyEnchantment.d.ts +16 -1
- package/lib/types/traditionArtifacts/Trinkhornzauber.d.ts +16 -1
- package/lib/types/traditionArtifacts/WandEnchantment.d.ts +16 -1
- package/lib/types/traditionArtifacts/WeaponEnchantment.d.ts +16 -1
- package/package.json +2 -2
package/lib/main.d.ts
CHANGED
|
@@ -1,2 +1,9 @@
|
|
|
1
1
|
import { Schema } from "tsondb/schema";
|
|
2
|
+
import type { ChildEntityMap, EntityMap } from "../gen/types.js";
|
|
3
|
+
declare module "tsondb/schema" {
|
|
4
|
+
interface Register {
|
|
5
|
+
entityMap: EntityMap;
|
|
6
|
+
childEntityMap: ChildEntityMap;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
2
9
|
export declare const schema: Schema;
|
package/lib/types/Advantage.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ export declare const Advantage: Entity<"Advantage", {
|
|
|
14
14
|
Races: import("tsondb/schema/def").EnumCaseDecl<null>;
|
|
15
15
|
Cultures: import("tsondb/schema/def").EnumCaseDecl<null>;
|
|
16
16
|
RacesAndCultures: import("tsondb/schema/def").EnumCaseDecl<null>;
|
|
17
|
+
HomunculusTypes: import("tsondb/schema/def").EnumCaseDecl<null>;
|
|
17
18
|
BlessedTraditions: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"BlessedTraditionsSelectOptionCategory", Object<{
|
|
18
19
|
require_principles: import("tsondb/schema/def").MemberDecl<Boolean, false>;
|
|
19
20
|
}>, []>>>;
|
|
@@ -661,6 +662,15 @@ export declare const Advantage: Entity<"Advantage", {
|
|
|
661
662
|
}, []>>>, false>;
|
|
662
663
|
}>, [Ref: import("tsondb/schema/def").TypeParameter<"Ref", import("tsondb/schema/def").Type>]>>>;
|
|
663
664
|
}, []>>>, true>;
|
|
665
|
+
bindingCost: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<import("tsondb/schema/def").TypeParameter<string, import("tsondb/schema/def").Type>[], import("tsondb/schema/def").EnumDecl<"SelectOptionsBindingCostValue", {
|
|
666
|
+
Fixed: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<import("tsondb/schema/def").TypeParameter<string, import("tsondb/schema/def").Type>[], import("tsondb/schema/def").TypeAliasDecl<"SelectOptionsFixedBindingCostValue", Object<{
|
|
667
|
+
map: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").ArrayType<IncludeIdentifier<import("tsondb/schema/def").TypeParameter<string, import("tsondb/schema/def").Type>[], import("tsondb/schema/def").TypeAliasDecl<"SelectOptionsFixedBindingCostValueMapping", Object<{
|
|
668
|
+
id: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").TypeArgumentType<import("tsondb/schema/def").TypeParameter<"Identifier", import("tsondb/schema/def").Type>>, true>;
|
|
669
|
+
bindingCost: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
|
|
670
|
+
}>, [Identifier: import("tsondb/schema/def").TypeParameter<"Identifier", import("tsondb/schema/def").Type>]>>>, true>;
|
|
671
|
+
default: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
|
|
672
|
+
}>, [Identifier: import("tsondb/schema/def").TypeParameter<"Identifier", import("tsondb/schema/def").Type>]>>>;
|
|
673
|
+
}, [Identifier: import("tsondb/schema/def").TypeParameter<"Identifier", import("tsondb/schema/def").Type>]>>, false>;
|
|
664
674
|
ap_value: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<import("tsondb/schema/def").TypeParameter<string, import("tsondb/schema/def").Type>[], import("tsondb/schema/def").EnumDecl<"SelectOptionsAdventurePointsValue", {
|
|
665
675
|
DerivedFromImprovementCost: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"SelectOptionsDeriveAdventurePointsValueFromImprovementCost", Object<{
|
|
666
676
|
multiplier: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, false>;
|
|
@@ -1043,6 +1053,7 @@ export declare const Advantage: Entity<"Advantage", {
|
|
|
1043
1053
|
}>, []>>>;
|
|
1044
1054
|
DerivedFromSelection: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"AdventurePointsDerivedFromSelection", Object<{
|
|
1045
1055
|
translations: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<"AdventurePointsDerivedFromSelectionTranslation", {
|
|
1056
|
+
listPrepend: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").StringType, false>;
|
|
1046
1057
|
replacement: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").StringType, false>;
|
|
1047
1058
|
}>, false>;
|
|
1048
1059
|
}>, []>>>;
|
|
@@ -1,19 +1,39 @@
|
|
|
1
|
-
import { Array,
|
|
1
|
+
import { Array, Entity, Enum, EnumCase, IncludeIdentifier, Integer, Object, String, TypeAlias } from "tsondb/schema/def";
|
|
2
2
|
export declare const CloseCombatTechnique: Entity<"CloseCombatTechnique", {
|
|
3
3
|
special: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"CloseCombatTechniqueSpecialRules", Object<{
|
|
4
|
-
can_parry: import("tsondb/schema/def").MemberDecl<
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
can_parry: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"WeaponCombatTechniqueValueRule", {
|
|
5
|
+
Required: EnumCase<null>;
|
|
6
|
+
Optional: EnumCase<null>;
|
|
7
|
+
Prohibited: EnumCase<null>;
|
|
8
|
+
}, []>>, true>;
|
|
9
|
+
has_damage_threshold: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"WeaponCombatTechniqueValueRule", {
|
|
10
|
+
Required: EnumCase<null>;
|
|
11
|
+
Optional: EnumCase<null>;
|
|
12
|
+
Prohibited: EnumCase<null>;
|
|
13
|
+
}, []>>, true>;
|
|
14
|
+
has_reach: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"WeaponCombatTechniqueValueRule", {
|
|
15
|
+
Required: EnumCase<null>;
|
|
16
|
+
Optional: EnumCase<null>;
|
|
17
|
+
Prohibited: EnumCase<null>;
|
|
18
|
+
}, []>>, true>;
|
|
19
|
+
has_length: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"WeaponCombatTechniqueValueRule", {
|
|
20
|
+
Required: EnumCase<null>;
|
|
21
|
+
Optional: EnumCase<null>;
|
|
22
|
+
Prohibited: EnumCase<null>;
|
|
23
|
+
}, []>>, true>;
|
|
24
|
+
has_shield_size: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"WeaponCombatTechniqueValueRule", {
|
|
25
|
+
Required: EnumCase<null>;
|
|
26
|
+
Optional: EnumCase<null>;
|
|
27
|
+
Prohibited: EnumCase<null>;
|
|
28
|
+
}, []>>, true>;
|
|
9
29
|
}>, []>>, true>;
|
|
10
30
|
primary_attribute: import("tsondb/schema/def").MemberDecl<Array<import("tsondb/schema/def").ReferenceIdentifierType>, true>;
|
|
11
31
|
breaking_point_rating: import("tsondb/schema/def").MemberDecl<Integer, true>;
|
|
12
|
-
improvement_cost: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[],
|
|
13
|
-
A:
|
|
14
|
-
B:
|
|
15
|
-
C:
|
|
16
|
-
D:
|
|
32
|
+
improvement_cost: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"ImprovementCost", {
|
|
33
|
+
A: EnumCase<null>;
|
|
34
|
+
B: EnumCase<null>;
|
|
35
|
+
C: EnumCase<null>;
|
|
36
|
+
D: EnumCase<null>;
|
|
17
37
|
}, []>>, true>;
|
|
18
38
|
src: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"PublicationRefs", Array<IncludeIdentifier<[], TypeAlias<"PublicationRef", Object<{
|
|
19
39
|
id: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").ReferenceIdentifierType, true>;
|
|
@@ -21,35 +41,35 @@ export declare const CloseCombatTechnique: Entity<"CloseCombatTechnique", {
|
|
|
21
41
|
initial: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"InitialOccurrence", Object<{
|
|
22
42
|
printing: import("tsondb/schema/def").MemberDecl<Integer, false>;
|
|
23
43
|
pages: import("tsondb/schema/def").MemberDecl<Array<IncludeIdentifier<[], TypeAlias<"PageRange", Object<{
|
|
24
|
-
first_page: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[],
|
|
25
|
-
InsideCoverFront:
|
|
26
|
-
InsideCoverBack:
|
|
27
|
-
Numbered:
|
|
44
|
+
first_page: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"Page", {
|
|
45
|
+
InsideCoverFront: EnumCase<null>;
|
|
46
|
+
InsideCoverBack: EnumCase<null>;
|
|
47
|
+
Numbered: EnumCase<Integer>;
|
|
28
48
|
}, []>>, true>;
|
|
29
|
-
last_page: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[],
|
|
30
|
-
InsideCoverFront:
|
|
31
|
-
InsideCoverBack:
|
|
32
|
-
Numbered:
|
|
49
|
+
last_page: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"Page", {
|
|
50
|
+
InsideCoverFront: EnumCase<null>;
|
|
51
|
+
InsideCoverBack: EnumCase<null>;
|
|
52
|
+
Numbered: EnumCase<Integer>;
|
|
33
53
|
}, []>>, false>;
|
|
34
54
|
}>, []>>>, true>;
|
|
35
55
|
}>, []>>, true>;
|
|
36
|
-
revisions: import("tsondb/schema/def").MemberDecl<Array<IncludeIdentifier<[],
|
|
37
|
-
Since:
|
|
56
|
+
revisions: import("tsondb/schema/def").MemberDecl<Array<IncludeIdentifier<[], Enum<"Revision", {
|
|
57
|
+
Since: EnumCase<IncludeIdentifier<[], TypeAlias<"Since", Object<{
|
|
38
58
|
printing: import("tsondb/schema/def").MemberDecl<Integer, true>;
|
|
39
59
|
pages: import("tsondb/schema/def").MemberDecl<Array<IncludeIdentifier<[], TypeAlias<"PageRange", Object<{
|
|
40
|
-
first_page: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[],
|
|
41
|
-
InsideCoverFront:
|
|
42
|
-
InsideCoverBack:
|
|
43
|
-
Numbered:
|
|
60
|
+
first_page: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"Page", {
|
|
61
|
+
InsideCoverFront: EnumCase<null>;
|
|
62
|
+
InsideCoverBack: EnumCase<null>;
|
|
63
|
+
Numbered: EnumCase<Integer>;
|
|
44
64
|
}, []>>, true>;
|
|
45
|
-
last_page: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[],
|
|
46
|
-
InsideCoverFront:
|
|
47
|
-
InsideCoverBack:
|
|
48
|
-
Numbered:
|
|
65
|
+
last_page: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"Page", {
|
|
66
|
+
InsideCoverFront: EnumCase<null>;
|
|
67
|
+
InsideCoverBack: EnumCase<null>;
|
|
68
|
+
Numbered: EnumCase<Integer>;
|
|
49
69
|
}, []>>, false>;
|
|
50
70
|
}>, []>>>, true>;
|
|
51
71
|
}>, []>>>;
|
|
52
|
-
Deprecated:
|
|
72
|
+
Deprecated: EnumCase<IncludeIdentifier<[], TypeAlias<"Deprecation", Object<{
|
|
53
73
|
printing: import("tsondb/schema/def").MemberDecl<Integer, true>;
|
|
54
74
|
}>, []>>>;
|
|
55
75
|
}, []>>>, false>;
|
|
@@ -66,15 +86,19 @@ export declare const CloseCombatTechnique: Entity<"CloseCombatTechnique", {
|
|
|
66
86
|
}, undefined>;
|
|
67
87
|
export declare const RangedCombatTechnique: Entity<"RangedCombatTechnique", {
|
|
68
88
|
special: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"RangedCombatTechniqueSpecialRules", Object<{
|
|
69
|
-
has_ammunition: import("tsondb/schema/def").MemberDecl<
|
|
89
|
+
has_ammunition: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"WeaponCombatTechniqueValueRule", {
|
|
90
|
+
Required: EnumCase<null>;
|
|
91
|
+
Optional: EnumCase<null>;
|
|
92
|
+
Prohibited: EnumCase<null>;
|
|
93
|
+
}, []>>, true>;
|
|
70
94
|
}>, []>>, true>;
|
|
71
95
|
primary_attribute: import("tsondb/schema/def").MemberDecl<Array<import("tsondb/schema/def").ReferenceIdentifierType>, true>;
|
|
72
96
|
breaking_point_rating: import("tsondb/schema/def").MemberDecl<Integer, true>;
|
|
73
|
-
improvement_cost: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[],
|
|
74
|
-
A:
|
|
75
|
-
B:
|
|
76
|
-
C:
|
|
77
|
-
D:
|
|
97
|
+
improvement_cost: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"ImprovementCost", {
|
|
98
|
+
A: EnumCase<null>;
|
|
99
|
+
B: EnumCase<null>;
|
|
100
|
+
C: EnumCase<null>;
|
|
101
|
+
D: EnumCase<null>;
|
|
78
102
|
}, []>>, true>;
|
|
79
103
|
src: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"PublicationRefs", Array<IncludeIdentifier<[], TypeAlias<"PublicationRef", Object<{
|
|
80
104
|
id: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").ReferenceIdentifierType, true>;
|
|
@@ -82,35 +106,35 @@ export declare const RangedCombatTechnique: Entity<"RangedCombatTechnique", {
|
|
|
82
106
|
initial: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"InitialOccurrence", Object<{
|
|
83
107
|
printing: import("tsondb/schema/def").MemberDecl<Integer, false>;
|
|
84
108
|
pages: import("tsondb/schema/def").MemberDecl<Array<IncludeIdentifier<[], TypeAlias<"PageRange", Object<{
|
|
85
|
-
first_page: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[],
|
|
86
|
-
InsideCoverFront:
|
|
87
|
-
InsideCoverBack:
|
|
88
|
-
Numbered:
|
|
109
|
+
first_page: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"Page", {
|
|
110
|
+
InsideCoverFront: EnumCase<null>;
|
|
111
|
+
InsideCoverBack: EnumCase<null>;
|
|
112
|
+
Numbered: EnumCase<Integer>;
|
|
89
113
|
}, []>>, true>;
|
|
90
|
-
last_page: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[],
|
|
91
|
-
InsideCoverFront:
|
|
92
|
-
InsideCoverBack:
|
|
93
|
-
Numbered:
|
|
114
|
+
last_page: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"Page", {
|
|
115
|
+
InsideCoverFront: EnumCase<null>;
|
|
116
|
+
InsideCoverBack: EnumCase<null>;
|
|
117
|
+
Numbered: EnumCase<Integer>;
|
|
94
118
|
}, []>>, false>;
|
|
95
119
|
}>, []>>>, true>;
|
|
96
120
|
}>, []>>, true>;
|
|
97
|
-
revisions: import("tsondb/schema/def").MemberDecl<Array<IncludeIdentifier<[],
|
|
98
|
-
Since:
|
|
121
|
+
revisions: import("tsondb/schema/def").MemberDecl<Array<IncludeIdentifier<[], Enum<"Revision", {
|
|
122
|
+
Since: EnumCase<IncludeIdentifier<[], TypeAlias<"Since", Object<{
|
|
99
123
|
printing: import("tsondb/schema/def").MemberDecl<Integer, true>;
|
|
100
124
|
pages: import("tsondb/schema/def").MemberDecl<Array<IncludeIdentifier<[], TypeAlias<"PageRange", Object<{
|
|
101
|
-
first_page: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[],
|
|
102
|
-
InsideCoverFront:
|
|
103
|
-
InsideCoverBack:
|
|
104
|
-
Numbered:
|
|
125
|
+
first_page: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"Page", {
|
|
126
|
+
InsideCoverFront: EnumCase<null>;
|
|
127
|
+
InsideCoverBack: EnumCase<null>;
|
|
128
|
+
Numbered: EnumCase<Integer>;
|
|
105
129
|
}, []>>, true>;
|
|
106
|
-
last_page: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[],
|
|
107
|
-
InsideCoverFront:
|
|
108
|
-
InsideCoverBack:
|
|
109
|
-
Numbered:
|
|
130
|
+
last_page: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"Page", {
|
|
131
|
+
InsideCoverFront: EnumCase<null>;
|
|
132
|
+
InsideCoverBack: EnumCase<null>;
|
|
133
|
+
Numbered: EnumCase<Integer>;
|
|
110
134
|
}, []>>, false>;
|
|
111
135
|
}>, []>>>, true>;
|
|
112
136
|
}>, []>>>;
|
|
113
|
-
Deprecated:
|
|
137
|
+
Deprecated: EnumCase<IncludeIdentifier<[], TypeAlias<"Deprecation", Object<{
|
|
114
138
|
printing: import("tsondb/schema/def").MemberDecl<Integer, true>;
|
|
115
139
|
}>, []>>>;
|
|
116
140
|
}, []>>>, false>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Array,
|
|
1
|
+
import { Array, Entity, Enum, EnumCase, IncludeIdentifier, Integer, Object, Optional, Required, String, TypeAlias, } from "tsondb/schema/def";
|
|
2
2
|
import { AttributeIdentifier } from "./_Identifier.js";
|
|
3
3
|
import { ImprovementCost } from "./_ImprovementCost.js";
|
|
4
4
|
import { NestedTranslationMap } from "./Locale.js";
|
|
@@ -47,18 +47,36 @@ export const CloseCombatTechnique = Entity(import.meta.url, {
|
|
|
47
47
|
},
|
|
48
48
|
],
|
|
49
49
|
});
|
|
50
|
+
const WeaponCombatTechniqueValueRule = Enum(import.meta.url, {
|
|
51
|
+
name: "WeaponCombatTechniqueValueRule",
|
|
52
|
+
comment: "Defines if the weapon must/can/must not define a value for this parameter.",
|
|
53
|
+
values: () => ({
|
|
54
|
+
Required: EnumCase({
|
|
55
|
+
comment: "The parameter must be present in all weapons for this combat technique.",
|
|
56
|
+
type: null,
|
|
57
|
+
}),
|
|
58
|
+
Optional: EnumCase({
|
|
59
|
+
comment: "The parameter can be present in any weapons for this combat technique.",
|
|
60
|
+
type: null,
|
|
61
|
+
}),
|
|
62
|
+
Prohibited: EnumCase({
|
|
63
|
+
comment: "The parameter must not be present in any weapon for this combat technique.",
|
|
64
|
+
type: null,
|
|
65
|
+
}),
|
|
66
|
+
}),
|
|
67
|
+
});
|
|
50
68
|
const CloseCombatTechniqueSpecialRules = TypeAlias(import.meta.url, {
|
|
51
69
|
name: "CloseCombatTechniqueSpecialRules",
|
|
52
70
|
comment: "Special rules for the combat technique that apply to all weapons in this category.",
|
|
53
71
|
type: () => Object({
|
|
54
72
|
can_parry: Required({
|
|
55
73
|
comment: "Is parrying possible with this combat technique?",
|
|
56
|
-
type:
|
|
74
|
+
type: IncludeIdentifier(WeaponCombatTechniqueValueRule),
|
|
57
75
|
}),
|
|
58
|
-
has_damage_threshold: Required({ type:
|
|
59
|
-
has_reach: Required({ type:
|
|
60
|
-
has_length: Required({ type:
|
|
61
|
-
has_shield_size: Required({ type:
|
|
76
|
+
has_damage_threshold: Required({ type: IncludeIdentifier(WeaponCombatTechniqueValueRule) }),
|
|
77
|
+
has_reach: Required({ type: IncludeIdentifier(WeaponCombatTechniqueValueRule) }),
|
|
78
|
+
has_length: Required({ type: IncludeIdentifier(WeaponCombatTechniqueValueRule) }),
|
|
79
|
+
has_shield_size: Required({ type: IncludeIdentifier(WeaponCombatTechniqueValueRule) }),
|
|
62
80
|
}),
|
|
63
81
|
});
|
|
64
82
|
export const RangedCombatTechnique = Entity(import.meta.url, {
|
|
@@ -108,6 +126,6 @@ const RangedCombatTechniqueSpecialRules = TypeAlias(import.meta.url, {
|
|
|
108
126
|
name: "RangedCombatTechniqueSpecialRules",
|
|
109
127
|
comment: "Special rules for the combat technique that apply to all weapons in this category.",
|
|
110
128
|
type: () => Object({
|
|
111
|
-
has_ammunition: Required({ type:
|
|
129
|
+
has_ammunition: Required({ type: IncludeIdentifier(WeaponCombatTechniqueValueRule) }),
|
|
112
130
|
}),
|
|
113
131
|
});
|
|
@@ -14,6 +14,7 @@ export declare const Disadvantage: Entity<"Disadvantage", {
|
|
|
14
14
|
Races: import("tsondb/schema/def").EnumCaseDecl<null>;
|
|
15
15
|
Cultures: import("tsondb/schema/def").EnumCaseDecl<null>;
|
|
16
16
|
RacesAndCultures: import("tsondb/schema/def").EnumCaseDecl<null>;
|
|
17
|
+
HomunculusTypes: import("tsondb/schema/def").EnumCaseDecl<null>;
|
|
17
18
|
BlessedTraditions: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"BlessedTraditionsSelectOptionCategory", Object<{
|
|
18
19
|
require_principles: import("tsondb/schema/def").MemberDecl<Boolean, false>;
|
|
19
20
|
}>, []>>>;
|
|
@@ -661,6 +662,15 @@ export declare const Disadvantage: Entity<"Disadvantage", {
|
|
|
661
662
|
}, []>>>, false>;
|
|
662
663
|
}>, [Ref: import("tsondb/schema/def").TypeParameter<"Ref", import("tsondb/schema/def").Type>]>>>;
|
|
663
664
|
}, []>>>, true>;
|
|
665
|
+
bindingCost: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<import("tsondb/schema/def").TypeParameter<string, import("tsondb/schema/def").Type>[], import("tsondb/schema/def").EnumDecl<"SelectOptionsBindingCostValue", {
|
|
666
|
+
Fixed: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<import("tsondb/schema/def").TypeParameter<string, import("tsondb/schema/def").Type>[], import("tsondb/schema/def").TypeAliasDecl<"SelectOptionsFixedBindingCostValue", Object<{
|
|
667
|
+
map: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").ArrayType<IncludeIdentifier<import("tsondb/schema/def").TypeParameter<string, import("tsondb/schema/def").Type>[], import("tsondb/schema/def").TypeAliasDecl<"SelectOptionsFixedBindingCostValueMapping", Object<{
|
|
668
|
+
id: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").TypeArgumentType<import("tsondb/schema/def").TypeParameter<"Identifier", import("tsondb/schema/def").Type>>, true>;
|
|
669
|
+
bindingCost: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
|
|
670
|
+
}>, [Identifier: import("tsondb/schema/def").TypeParameter<"Identifier", import("tsondb/schema/def").Type>]>>>, true>;
|
|
671
|
+
default: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
|
|
672
|
+
}>, [Identifier: import("tsondb/schema/def").TypeParameter<"Identifier", import("tsondb/schema/def").Type>]>>>;
|
|
673
|
+
}, [Identifier: import("tsondb/schema/def").TypeParameter<"Identifier", import("tsondb/schema/def").Type>]>>, false>;
|
|
664
674
|
ap_value: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<import("tsondb/schema/def").TypeParameter<string, import("tsondb/schema/def").Type>[], import("tsondb/schema/def").EnumDecl<"SelectOptionsAdventurePointsValue", {
|
|
665
675
|
DerivedFromImprovementCost: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"SelectOptionsDeriveAdventurePointsValueFromImprovementCost", Object<{
|
|
666
676
|
multiplier: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, false>;
|
|
@@ -970,6 +980,7 @@ export declare const Disadvantage: Entity<"Disadvantage", {
|
|
|
970
980
|
}>, []>>>;
|
|
971
981
|
DerivedFromSelection: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"AdventurePointsDerivedFromSelection", Object<{
|
|
972
982
|
translations: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<"AdventurePointsDerivedFromSelectionTranslation", {
|
|
983
|
+
listPrepend: import("tsondb/schema/def").MemberDecl<String, false>;
|
|
973
984
|
replacement: import("tsondb/schema/def").MemberDecl<String, false>;
|
|
974
985
|
}>, false>;
|
|
975
986
|
}>, []>>>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Entity, String } from "tsondb/schema/def";
|
|
2
|
+
export declare const HomunculusType: Entity<"HomunculusType", {
|
|
3
|
+
translations: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<"HomunculusTypeTranslation", {
|
|
4
|
+
name: import("tsondb/schema/def").MemberDecl<String, true>;
|
|
5
|
+
}>, true>;
|
|
6
|
+
}, undefined>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Entity, Object, Required, String } from "tsondb/schema/def";
|
|
2
|
+
import { NestedTranslationMap } from "./Locale.js";
|
|
3
|
+
export const HomunculusType = Entity(import.meta.url, {
|
|
4
|
+
name: "HomunculusType",
|
|
5
|
+
namePlural: "HomunculusTypes",
|
|
6
|
+
type: () => Object({
|
|
7
|
+
translations: NestedTranslationMap(Required, "HomunculusType", Object({
|
|
8
|
+
name: Required({
|
|
9
|
+
comment: "The homunculus type’s name.",
|
|
10
|
+
type: String({ minLength: 1 }),
|
|
11
|
+
}),
|
|
12
|
+
})),
|
|
13
|
+
}),
|
|
14
|
+
displayName: {},
|
|
15
|
+
});
|
|
@@ -76,6 +76,9 @@ export declare const Profession: Entity<"Profession", {
|
|
|
76
76
|
group: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").ReferenceIdentifierType, false>;
|
|
77
77
|
ap_value: import("tsondb/schema/def").MemberDecl<Integer, true>;
|
|
78
78
|
}>, []>>, false>;
|
|
79
|
+
liturgies: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"LiturgiesOptions", ObjectType<{
|
|
80
|
+
ap_value: import("tsondb/schema/def").MemberDecl<Integer, true>;
|
|
81
|
+
}>, []>>, false>;
|
|
79
82
|
}>, []>>, false>;
|
|
80
83
|
special_abilities: import("tsondb/schema/def").MemberDecl<Array<IncludeIdentifier<[], Enum<"ProfessionSpecialAbility", {
|
|
81
84
|
Constant: EnumCase<IncludeIdentifier<[], TypeAlias<"ConstantProfessionSpecialAbility", ObjectType<{
|
|
@@ -332,6 +335,10 @@ export declare const Profession: Entity<"Profession", {
|
|
|
332
335
|
Remove: EnumCase<null>;
|
|
333
336
|
Override: EnumCase<TypeArgument<import("tsondb/schema/def").TypeParameter<"T", import("tsondb/schema/def").Type>>>;
|
|
334
337
|
}, [T: import("tsondb/schema/def").TypeParameter<"T", import("tsondb/schema/def").Type>]>>, false>;
|
|
338
|
+
liturgies: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<import("tsondb/schema/def").TypeParameter<string, import("tsondb/schema/def").Type>[], Enum<"VariantOptionAction", {
|
|
339
|
+
Remove: EnumCase<null>;
|
|
340
|
+
Override: EnumCase<TypeArgument<import("tsondb/schema/def").TypeParameter<"T", import("tsondb/schema/def").Type>>>;
|
|
341
|
+
}, [T: import("tsondb/schema/def").TypeParameter<"T", import("tsondb/schema/def").Type>]>>, false>;
|
|
335
342
|
}>, []>>, false>;
|
|
336
343
|
special_abilities: import("tsondb/schema/def").MemberDecl<Array<IncludeIdentifier<[], TypeAlias<"ProfessionVariantSpecialAbility", ObjectType<{
|
|
337
344
|
action: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"VariantSpecialAbilityAction", {
|
|
@@ -692,6 +699,9 @@ export declare const ProfessionVersion: Entity<"ProfessionVersion", {
|
|
|
692
699
|
group: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").ReferenceIdentifierType, false>;
|
|
693
700
|
ap_value: import("tsondb/schema/def").MemberDecl<Integer, true>;
|
|
694
701
|
}>, []>>, false>;
|
|
702
|
+
liturgies: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"LiturgiesOptions", ObjectType<{
|
|
703
|
+
ap_value: import("tsondb/schema/def").MemberDecl<Integer, true>;
|
|
704
|
+
}>, []>>, false>;
|
|
695
705
|
}>, []>>, false>;
|
|
696
706
|
special_abilities: import("tsondb/schema/def").MemberDecl<Array<IncludeIdentifier<[], Enum<"ProfessionSpecialAbility", {
|
|
697
707
|
Constant: EnumCase<IncludeIdentifier<[], TypeAlias<"ConstantProfessionSpecialAbility", ObjectType<{
|
|
@@ -948,6 +958,10 @@ export declare const ProfessionVersion: Entity<"ProfessionVersion", {
|
|
|
948
958
|
Remove: EnumCase<null>;
|
|
949
959
|
Override: EnumCase<TypeArgument<import("tsondb/schema/def").TypeParameter<"T", import("tsondb/schema/def").Type>>>;
|
|
950
960
|
}, [T: import("tsondb/schema/def").TypeParameter<"T", import("tsondb/schema/def").Type>]>>, false>;
|
|
961
|
+
liturgies: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<import("tsondb/schema/def").TypeParameter<string, import("tsondb/schema/def").Type>[], Enum<"VariantOptionAction", {
|
|
962
|
+
Remove: EnumCase<null>;
|
|
963
|
+
Override: EnumCase<TypeArgument<import("tsondb/schema/def").TypeParameter<"T", import("tsondb/schema/def").Type>>>;
|
|
964
|
+
}, [T: import("tsondb/schema/def").TypeParameter<"T", import("tsondb/schema/def").Type>]>>, false>;
|
|
951
965
|
}>, []>>, false>;
|
|
952
966
|
special_abilities: import("tsondb/schema/def").MemberDecl<Array<IncludeIdentifier<[], TypeAlias<"ProfessionVariantSpecialAbility", ObjectType<{
|
|
953
967
|
action: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"VariantSpecialAbilityAction", {
|
|
@@ -1300,6 +1314,9 @@ export declare const ProfessionPackage: Entity<"ProfessionPackage", {
|
|
|
1300
1314
|
group: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").ReferenceIdentifierType, false>;
|
|
1301
1315
|
ap_value: import("tsondb/schema/def").MemberDecl<Integer, true>;
|
|
1302
1316
|
}>, []>>, false>;
|
|
1317
|
+
liturgies: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"LiturgiesOptions", ObjectType<{
|
|
1318
|
+
ap_value: import("tsondb/schema/def").MemberDecl<Integer, true>;
|
|
1319
|
+
}>, []>>, false>;
|
|
1303
1320
|
}>, []>>, false>;
|
|
1304
1321
|
special_abilities: import("tsondb/schema/def").MemberDecl<Array<IncludeIdentifier<[], Enum<"ProfessionSpecialAbility", {
|
|
1305
1322
|
Constant: EnumCase<IncludeIdentifier<[], TypeAlias<"ConstantProfessionSpecialAbility", ObjectType<{
|
|
@@ -1556,6 +1573,10 @@ export declare const ProfessionPackage: Entity<"ProfessionPackage", {
|
|
|
1556
1573
|
Remove: EnumCase<null>;
|
|
1557
1574
|
Override: EnumCase<TypeArgument<import("tsondb/schema/def").TypeParameter<"T", import("tsondb/schema/def").Type>>>;
|
|
1558
1575
|
}, [T: import("tsondb/schema/def").TypeParameter<"T", import("tsondb/schema/def").Type>]>>, false>;
|
|
1576
|
+
liturgies: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<import("tsondb/schema/def").TypeParameter<string, import("tsondb/schema/def").Type>[], Enum<"VariantOptionAction", {
|
|
1577
|
+
Remove: EnumCase<null>;
|
|
1578
|
+
Override: EnumCase<TypeArgument<import("tsondb/schema/def").TypeParameter<"T", import("tsondb/schema/def").Type>>>;
|
|
1579
|
+
}, [T: import("tsondb/schema/def").TypeParameter<"T", import("tsondb/schema/def").Type>]>>, false>;
|
|
1559
1580
|
}>, []>>, false>;
|
|
1560
1581
|
special_abilities: import("tsondb/schema/def").MemberDecl<Array<IncludeIdentifier<[], TypeAlias<"ProfessionVariantSpecialAbility", ObjectType<{
|
|
1561
1582
|
action: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"VariantSpecialAbilityAction", {
|
|
@@ -1828,6 +1849,10 @@ export declare const ProfessionVariant: Entity<"ProfessionVariant", {
|
|
|
1828
1849
|
Remove: EnumCase<null>;
|
|
1829
1850
|
Override: EnumCase<TypeArgument<import("tsondb/schema/def").TypeParameter<"T", import("tsondb/schema/def").Type>>>;
|
|
1830
1851
|
}, [T: import("tsondb/schema/def").TypeParameter<"T", import("tsondb/schema/def").Type>]>>, false>;
|
|
1852
|
+
liturgies: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<import("tsondb/schema/def").TypeParameter<string, import("tsondb/schema/def").Type>[], Enum<"VariantOptionAction", {
|
|
1853
|
+
Remove: EnumCase<null>;
|
|
1854
|
+
Override: EnumCase<TypeArgument<import("tsondb/schema/def").TypeParameter<"T", import("tsondb/schema/def").Type>>>;
|
|
1855
|
+
}, [T: import("tsondb/schema/def").TypeParameter<"T", import("tsondb/schema/def").Type>]>>, false>;
|
|
1831
1856
|
}>, []>>, false>;
|
|
1832
1857
|
special_abilities: import("tsondb/schema/def").MemberDecl<Array<IncludeIdentifier<[], TypeAlias<"ProfessionVariantSpecialAbility", ObjectType<{
|
|
1833
1858
|
action: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"VariantSpecialAbilityAction", {
|
package/lib/types/Profession.js
CHANGED
|
@@ -363,7 +363,7 @@ const MagicalSkillRating = TypeAlias(import.meta.url, {
|
|
|
363
363
|
type: Array(IncludeIdentifier(ProfessionMagicalSkillIdentifier), { minItems: 1 }),
|
|
364
364
|
}),
|
|
365
365
|
rating_modifier: Required({
|
|
366
|
-
comment: "The rating bonus provided for the (selected) magical skill. If used in a profession variant, it can also be used to lower the bonus of the base profession.\n\n**Note:**
|
|
366
|
+
comment: "The rating bonus provided for the (selected) magical skill. If used in a profession variant, it can also be used to lower the bonus of the base profession.\n\n**Note:** If due to a variant a spell rating is lowered to 0, the spell is considered deactivated. Both setting the value for a spell and deactivating it by setting it to 0 takes into account the additional activation cost for spells.",
|
|
367
367
|
type: Integer(),
|
|
368
368
|
}),
|
|
369
369
|
}),
|
|
@@ -405,7 +405,7 @@ const LiturgicalChantRating = TypeAlias(import.meta.url, {
|
|
|
405
405
|
type: Array(IncludeIdentifier(LiturgyIdentifier), { minItems: 1 }),
|
|
406
406
|
}),
|
|
407
407
|
rating_modifier: Required({
|
|
408
|
-
comment: "The rating bonus provided for the selected liturgical chant. If used in a profession variant, it can also be used to lower the bonus of the base profession.\n\n**Note:**
|
|
408
|
+
comment: "The rating bonus provided for the selected liturgical chant. If used in a profession variant, it can also be used to lower the bonus of the base profession.\n\n**Note:** If due to a variant a liturgical chant rating is lowered to 0, the liturgical chant is considered deactivated. Both setting the value for a liturgical chant and deactivating it by setting it to 0 takes into account the additional activation cost for liturgical chants.",
|
|
409
409
|
type: Integer(),
|
|
410
410
|
}),
|
|
411
411
|
}),
|
|
@@ -435,6 +435,9 @@ const ProfessionPackageOptions = TypeAlias(import.meta.url, {
|
|
|
435
435
|
skills: Optional({
|
|
436
436
|
type: IncludeIdentifier(SkillsOptions),
|
|
437
437
|
}),
|
|
438
|
+
liturgies: Optional({
|
|
439
|
+
type: IncludeIdentifier(LiturgiesOptions),
|
|
440
|
+
}),
|
|
438
441
|
}, { minProperties: 1 }),
|
|
439
442
|
});
|
|
440
443
|
const ProfessionVariantPackageOptions = TypeAlias(import.meta.url, {
|
|
@@ -470,6 +473,9 @@ const ProfessionVariantPackageOptions = TypeAlias(import.meta.url, {
|
|
|
470
473
|
skills: Optional({
|
|
471
474
|
type: GenIncludeIdentifier(VariantOptionAction, [IncludeIdentifier(SkillsOptions)]),
|
|
472
475
|
}),
|
|
476
|
+
liturgies: Optional({
|
|
477
|
+
type: GenIncludeIdentifier(VariantOptionAction, [IncludeIdentifier(LiturgiesOptions)]),
|
|
478
|
+
}),
|
|
473
479
|
}, { minProperties: 1 }),
|
|
474
480
|
});
|
|
475
481
|
const VariantOptionAction = GenEnum(import.meta.url, {
|
|
@@ -589,6 +595,16 @@ const SkillsOptions = TypeAlias(import.meta.url, {
|
|
|
589
595
|
}),
|
|
590
596
|
}),
|
|
591
597
|
});
|
|
598
|
+
const LiturgiesOptions = TypeAlias(import.meta.url, {
|
|
599
|
+
name: "LiturgiesOptions",
|
|
600
|
+
comment: `Buy liturgical chants and ceremonies for a specific amount of AP.`,
|
|
601
|
+
type: () => ObjectType({
|
|
602
|
+
ap_value: Required({
|
|
603
|
+
comment: "The AP value you can buy liturgical chants and ceremonies for.",
|
|
604
|
+
type: Integer({ minimum: 1 }),
|
|
605
|
+
}),
|
|
606
|
+
}),
|
|
607
|
+
});
|
|
592
608
|
const ProfessionName = TypeAlias(import.meta.url, {
|
|
593
609
|
name: "ProfessionName",
|
|
594
610
|
comment: "The name of the profession that may have sex-specific names. Useful if the term in generell is different (i.e. actor/actress) or if the language uses gendered nouns. The default name is also used in case neither the male nor female name strictly applies.",
|
|
@@ -14,6 +14,7 @@ export declare const ap_value: import("tsondb/schema/def").MemberDecl<IncludeIde
|
|
|
14
14
|
}>, []>>>;
|
|
15
15
|
DerivedFromSelection: EnumCase<IncludeIdentifier<[], TypeAlias<"AdventurePointsDerivedFromSelection", Object<{
|
|
16
16
|
translations: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<"AdventurePointsDerivedFromSelectionTranslation", {
|
|
17
|
+
listPrepend: import("tsondb/schema/def").MemberDecl<String, false>;
|
|
17
18
|
replacement: import("tsondb/schema/def").MemberDecl<String, false>;
|
|
18
19
|
}>, false>;
|
|
19
20
|
}>, []>>>;
|
|
@@ -58,6 +58,10 @@ const AdventurePointsDerivedFromSelection = TypeAlias(import.meta.url, {
|
|
|
58
58
|
comment: "The adventure points value is derived from the selection of the special ability. Its display value may be able to be derived from the given information for the select options. If that is not the case or the generated text would not match the original one, a replacement text can be provided.",
|
|
59
59
|
type: () => Object({
|
|
60
60
|
translations: NestedTranslationMap(Optional, "AdventurePointsDerivedFromSelection", Object({
|
|
61
|
+
listPrepend: Optional({
|
|
62
|
+
comment: "Place a string between the `for` and the grouped option names.",
|
|
63
|
+
type: String({ minLength: 1 }),
|
|
64
|
+
}),
|
|
61
65
|
replacement: Optional({
|
|
62
66
|
comment: "A replacement for the generated text if it would not match the original one.",
|
|
63
67
|
type: String({ minLength: 1, isMarkdown: true }),
|
|
@@ -145,7 +145,7 @@ export declare const cost: import("tsondb/schema/def").MemberDecl<IncludeIdentif
|
|
|
145
145
|
full: import("tsondb/schema/def").MemberDecl<String, true>;
|
|
146
146
|
compressed: import("tsondb/schema/def").MemberDecl<String, false>;
|
|
147
147
|
}>, []>>, false>;
|
|
148
|
-
}>,
|
|
148
|
+
}>, true>;
|
|
149
149
|
}>, []>>>, true>;
|
|
150
150
|
translations: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<"BindingCostMapTranslation", {
|
|
151
151
|
list_prepend: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"ResponsiveTextOptional", Object<{
|
|
@@ -164,6 +164,10 @@ export declare const cost: import("tsondb/schema/def").MemberDecl<IncludeIdentif
|
|
|
164
164
|
}>, []>>>;
|
|
165
165
|
DerivedFromSelection: EnumCase<IncludeIdentifier<[], TypeAlias<"BindingCostDerivedFromSelection", Object<{
|
|
166
166
|
fallback: import("tsondb/schema/def").MemberDecl<Integer, true>;
|
|
167
|
+
translations: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<"BindingCostDerivedFromSelectionTranslation", {
|
|
168
|
+
listPrepend: import("tsondb/schema/def").MemberDecl<String, false>;
|
|
169
|
+
replacement: import("tsondb/schema/def").MemberDecl<String, false>;
|
|
170
|
+
}>, false>;
|
|
167
171
|
}>, []>>>;
|
|
168
172
|
}, []>>>;
|
|
169
173
|
}, []>>, false>;
|
|
@@ -365,7 +369,7 @@ export declare const BindingCost: Enum<"BindingCost", {
|
|
|
365
369
|
full: import("tsondb/schema/def").MemberDecl<String, true>;
|
|
366
370
|
compressed: import("tsondb/schema/def").MemberDecl<String, false>;
|
|
367
371
|
}>, []>>, false>;
|
|
368
|
-
}>,
|
|
372
|
+
}>, true>;
|
|
369
373
|
}>, []>>>, true>;
|
|
370
374
|
translations: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<"BindingCostMapTranslation", {
|
|
371
375
|
list_prepend: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"ResponsiveTextOptional", Object<{
|
|
@@ -384,6 +388,10 @@ export declare const BindingCost: Enum<"BindingCost", {
|
|
|
384
388
|
}>, []>>>;
|
|
385
389
|
DerivedFromSelection: EnumCase<IncludeIdentifier<[], TypeAlias<"BindingCostDerivedFromSelection", Object<{
|
|
386
390
|
fallback: import("tsondb/schema/def").MemberDecl<Integer, true>;
|
|
391
|
+
translations: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<"BindingCostDerivedFromSelectionTranslation", {
|
|
392
|
+
listPrepend: import("tsondb/schema/def").MemberDecl<String, false>;
|
|
393
|
+
replacement: import("tsondb/schema/def").MemberDecl<String, false>;
|
|
394
|
+
}>, false>;
|
|
387
395
|
}>, []>>>;
|
|
388
396
|
}, []>;
|
|
389
397
|
export declare const bindingCost: import("tsondb/schema/def").MemberDecl<String, false>;
|
|
@@ -445,7 +445,7 @@ const BindingCostMapOption = TypeAlias(import.meta.url, {
|
|
|
445
445
|
comment: "The full permanent AE cost value for this option.",
|
|
446
446
|
type: Integer({ minimum: 1 }),
|
|
447
447
|
}),
|
|
448
|
-
translations: NestedTranslationMap(
|
|
448
|
+
translations: NestedTranslationMap(Required, "BindingCostMapOption", Object({
|
|
449
449
|
label: Required({
|
|
450
450
|
comment: "The description of the option for cost string generation.",
|
|
451
451
|
type: IncludeIdentifier(ResponsiveTextOptional),
|
|
@@ -464,6 +464,16 @@ const BindingCostDerivedFromSelection = TypeAlias(import.meta.url, {
|
|
|
464
464
|
comment: "The binding cost for the selection if it does not define a specific one.",
|
|
465
465
|
type: Integer({ minimum: 0 }),
|
|
466
466
|
}),
|
|
467
|
+
translations: NestedTranslationMap(Optional, "BindingCostDerivedFromSelection", Object({
|
|
468
|
+
listPrepend: Optional({
|
|
469
|
+
comment: "Place a string between the `for` and the grouped option names.",
|
|
470
|
+
type: String({ minLength: 1 }),
|
|
471
|
+
}),
|
|
472
|
+
replacement: Optional({
|
|
473
|
+
comment: "A replacement for the generated text if it would not match the original one.",
|
|
474
|
+
type: String({ minLength: 1, isMarkdown: true }),
|
|
475
|
+
}),
|
|
476
|
+
}, { minProperties: 1 })),
|
|
467
477
|
}),
|
|
468
478
|
});
|
|
469
479
|
const PropertyDeclaration = Enum(import.meta.url, {
|