@optolith/database-schema 0.47.4 → 0.49.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/gen/types.d.ts +95 -199
- package/lib/types/Ceremony.d.ts +7 -80
- package/lib/types/FamiliarsTrick.d.ts +3 -3
- package/lib/types/FamiliarsTrick.js +2 -2
- package/lib/types/LiturgicalChant.d.ts +7 -80
- package/lib/types/Ritual.d.ts +7 -80
- package/lib/types/Spell.d.ts +7 -80
- package/lib/types/_ActivatableSkill.d.ts +21 -218
- package/lib/types/_ActivatableSkill.js +16 -0
- package/lib/types/_ActivatableSkillDuration.d.ts +6 -50
- package/lib/types/_ActivatableSkillDuration.js +8 -13
- package/lib/types/_ActivatableSkillRange.d.ts +11 -22
- package/lib/types/_ActivatableSkillRange.js +7 -12
- package/lib/types/magicalActions/AnimistPower.d.ts +3 -29
- package/lib/types/magicalActions/AnimistPower.js +2 -3
- package/lib/types/magicalActions/Bannzeichen.d.ts +6 -28
- package/lib/types/magicalActions/Bannzeichen.js +4 -4
- package/lib/types/magicalActions/Curse.d.ts +6 -58
- package/lib/types/magicalActions/Curse.js +3 -5
- package/lib/types/magicalActions/DominationRitual.d.ts +6 -58
- package/lib/types/magicalActions/DominationRitual.js +3 -18
- package/lib/types/magicalActions/GeodeRitual.d.ts +3 -29
- package/lib/types/magicalActions/GeodeRitual.js +2 -3
- package/lib/types/magicalActions/GoblinRitual.d.ts +7 -33
- package/lib/types/magicalActions/GoblinRitual.js +7 -8
- package/lib/types/magicalActions/JesterTrick.d.ts +9 -87
- package/lib/types/magicalActions/JesterTrick.js +2 -16
- package/lib/types/magicalActions/MagicalRune.d.ts +6 -28
- package/lib/types/magicalActions/MagicalRune.js +3 -3
- package/lib/types/magicalActions/ZibiljaRitual.d.ts +5 -58
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as DB from "tsondb/schema/dsl";
|
|
2
2
|
import { name_in_library } from "../_Activatable.js";
|
|
3
3
|
import { OldParameter } from "../_ActivatableSkill.js";
|
|
4
|
-
import {
|
|
4
|
+
import { DurationUnitValue, ExpressionBasedDuration } from "../_ActivatableSkillDuration.js";
|
|
5
5
|
import { ActivatableSkillEffect } from "../_ActivatableSkillEffect.js";
|
|
6
6
|
import { AffectedTargetCategories } from "../_ActivatableSkillTargetCategory.js";
|
|
7
7
|
import { PropertyIdentifier, TribeIdentifier } from "../_Identifier.js";
|
|
@@ -171,8 +171,7 @@ const OneTimeAnimistPowerDuration = DB.Enum(import.meta.url, {
|
|
|
171
171
|
name: "OneTimeAnimistPowerDuration",
|
|
172
172
|
values: () => ({
|
|
173
173
|
Immediate: DB.EnumCase({ type: null }),
|
|
174
|
-
|
|
175
|
-
CheckResultBased: DB.EnumCase({ type: DB.IncludeIdentifier(CheckResultBasedDuration) }),
|
|
174
|
+
Expression: DB.EnumCase({ type: DB.IncludeIdentifier(ExpressionBasedDuration) }),
|
|
176
175
|
}),
|
|
177
176
|
});
|
|
178
177
|
const SustainedAnimistPowerPerformanceParameters = DB.TypeAlias(import.meta.url, {
|
|
@@ -66,20 +66,9 @@ export declare const Bannzeichen: DB.Entity<"Bannzeichen", {
|
|
|
66
66
|
}>, []>>, false>;
|
|
67
67
|
}>, []>>, true>;
|
|
68
68
|
duration: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"BannzeichenDuration", DB.Object<{
|
|
69
|
-
slow: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"
|
|
69
|
+
slow: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedDuration", DB.Object<{
|
|
70
70
|
is_maximum: DB.MemberDecl<DB.Boolean, false>;
|
|
71
|
-
|
|
72
|
-
QualityLevels: DB.EnumCase<null>;
|
|
73
|
-
SkillPoints: DB.EnumCase<null>;
|
|
74
|
-
SkillRating: DB.EnumCase<null>;
|
|
75
|
-
}, []>>, true>;
|
|
76
|
-
modifier: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"CheckResultBasedModifier", DB.Object<{
|
|
77
|
-
arithmetic: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"CheckResultArithmetic", {
|
|
78
|
-
Multiply: DB.EnumCase<null>;
|
|
79
|
-
Divide: DB.EnumCase<null>;
|
|
80
|
-
}, []>>, true>;
|
|
81
|
-
value: DB.MemberDecl<DB.Integer, true>;
|
|
82
|
-
}>, []>>, false>;
|
|
71
|
+
value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedParameterValue", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], import("../_MathExpression.ts").MathOperation>, []>>, true>;
|
|
83
72
|
unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DurationUnit", {
|
|
84
73
|
Seconds: DB.EnumCase<null>;
|
|
85
74
|
Minutes: DB.EnumCase<null>;
|
|
@@ -92,27 +81,16 @@ export declare const Bannzeichen: DB.Entity<"Bannzeichen", {
|
|
|
92
81
|
Actions: DB.EnumCase<null>;
|
|
93
82
|
CombatRounds: DB.EnumCase<null>;
|
|
94
83
|
}, []>>, true>;
|
|
95
|
-
translations: DB.MemberDecl<DB.NestedEntityMap<"
|
|
84
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ExpressionBasedDurationTranslation", {
|
|
96
85
|
replacement: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextReplace", DB.Object<{
|
|
97
86
|
full: DB.MemberDecl<DB.String, true>;
|
|
98
87
|
compressed: DB.MemberDecl<DB.String, true>;
|
|
99
88
|
}>, []>>, false>;
|
|
100
89
|
}>, false>;
|
|
101
90
|
}>, []>>, true>;
|
|
102
|
-
fast: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"
|
|
91
|
+
fast: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedDuration", DB.Object<{
|
|
103
92
|
is_maximum: DB.MemberDecl<DB.Boolean, false>;
|
|
104
|
-
|
|
105
|
-
QualityLevels: DB.EnumCase<null>;
|
|
106
|
-
SkillPoints: DB.EnumCase<null>;
|
|
107
|
-
SkillRating: DB.EnumCase<null>;
|
|
108
|
-
}, []>>, true>;
|
|
109
|
-
modifier: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"CheckResultBasedModifier", DB.Object<{
|
|
110
|
-
arithmetic: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"CheckResultArithmetic", {
|
|
111
|
-
Multiply: DB.EnumCase<null>;
|
|
112
|
-
Divide: DB.EnumCase<null>;
|
|
113
|
-
}, []>>, true>;
|
|
114
|
-
value: DB.MemberDecl<DB.Integer, true>;
|
|
115
|
-
}>, []>>, false>;
|
|
93
|
+
value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedParameterValue", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], import("../_MathExpression.ts").MathOperation>, []>>, true>;
|
|
116
94
|
unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DurationUnit", {
|
|
117
95
|
Seconds: DB.EnumCase<null>;
|
|
118
96
|
Minutes: DB.EnumCase<null>;
|
|
@@ -125,7 +103,7 @@ export declare const Bannzeichen: DB.Entity<"Bannzeichen", {
|
|
|
125
103
|
Actions: DB.EnumCase<null>;
|
|
126
104
|
CombatRounds: DB.EnumCase<null>;
|
|
127
105
|
}, []>>, true>;
|
|
128
|
-
translations: DB.MemberDecl<DB.NestedEntityMap<"
|
|
106
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ExpressionBasedDurationTranslation", {
|
|
129
107
|
replacement: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextReplace", DB.Object<{
|
|
130
108
|
full: DB.MemberDecl<DB.String, true>;
|
|
131
109
|
compressed: DB.MemberDecl<DB.String, true>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as DB from "tsondb/schema/dsl";
|
|
2
2
|
import { name_in_library } from "../_Activatable.js";
|
|
3
|
-
import {
|
|
3
|
+
import { ExpressionBasedDuration } from "../_ActivatableSkillDuration.js";
|
|
4
4
|
import { ActivatableSkillEffect } from "../_ActivatableSkillEffect.js";
|
|
5
|
-
import {
|
|
5
|
+
import { BannzeichenIdentifier, PropertyIdentifier } from "../_Identifier.js";
|
|
6
6
|
import { ImprovementCost } from "../_ImprovementCost.js";
|
|
7
7
|
import { ResponsiveText, ResponsiveTextOptional } from "../_ResponsiveText.js";
|
|
8
8
|
import { SkillCheck } from "../_SkillCheck.js";
|
|
@@ -159,11 +159,11 @@ const BannzeichenDuration = DB.TypeAlias(import.meta.url, {
|
|
|
159
159
|
type: () => DB.Object({
|
|
160
160
|
slow: DB.Required({
|
|
161
161
|
comment: "The duration on slow Bannzeichen application.",
|
|
162
|
-
type: DB.IncludeIdentifier(
|
|
162
|
+
type: DB.IncludeIdentifier(ExpressionBasedDuration),
|
|
163
163
|
}),
|
|
164
164
|
fast: DB.Required({
|
|
165
165
|
comment: "The duration on fast Bannzeichen application.",
|
|
166
|
-
type: DB.IncludeIdentifier(
|
|
166
|
+
type: DB.IncludeIdentifier(ExpressionBasedDuration),
|
|
167
167
|
}),
|
|
168
168
|
}),
|
|
169
169
|
});
|
|
@@ -36,35 +36,9 @@ export declare const Curse: DB.Entity<"Curse", {
|
|
|
36
36
|
}, []>>, true>;
|
|
37
37
|
duration: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"CurseDuration", {
|
|
38
38
|
Immediate: DB.EnumCase<null>;
|
|
39
|
-
|
|
40
|
-
value: DB.MemberDecl<DB.Integer, true>;
|
|
41
|
-
unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DurationUnit", {
|
|
42
|
-
Seconds: DB.EnumCase<null>;
|
|
43
|
-
Minutes: DB.EnumCase<null>;
|
|
44
|
-
Hours: DB.EnumCase<null>;
|
|
45
|
-
Days: DB.EnumCase<null>;
|
|
46
|
-
Weeks: DB.EnumCase<null>;
|
|
47
|
-
Months: DB.EnumCase<null>;
|
|
48
|
-
Years: DB.EnumCase<null>;
|
|
49
|
-
Centuries: DB.EnumCase<null>;
|
|
50
|
-
Actions: DB.EnumCase<null>;
|
|
51
|
-
CombatRounds: DB.EnumCase<null>;
|
|
52
|
-
}, []>>, true>;
|
|
53
|
-
}>, []>>>;
|
|
54
|
-
CheckResultBased: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CheckResultBasedDuration", DB.Object<{
|
|
39
|
+
Expression: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedDuration", DB.Object<{
|
|
55
40
|
is_maximum: DB.MemberDecl<DB.Boolean, false>;
|
|
56
|
-
|
|
57
|
-
QualityLevels: DB.EnumCase<null>;
|
|
58
|
-
SkillPoints: DB.EnumCase<null>;
|
|
59
|
-
SkillRating: DB.EnumCase<null>;
|
|
60
|
-
}, []>>, true>;
|
|
61
|
-
modifier: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"CheckResultBasedModifier", DB.Object<{
|
|
62
|
-
arithmetic: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"CheckResultArithmetic", {
|
|
63
|
-
Multiply: DB.EnumCase<null>;
|
|
64
|
-
Divide: DB.EnumCase<null>;
|
|
65
|
-
}, []>>, true>;
|
|
66
|
-
value: DB.MemberDecl<DB.Integer, true>;
|
|
67
|
-
}>, []>>, false>;
|
|
41
|
+
value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedParameterValue", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], import("../_MathExpression.ts").MathOperation>, []>>, true>;
|
|
68
42
|
unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DurationUnit", {
|
|
69
43
|
Seconds: DB.EnumCase<null>;
|
|
70
44
|
Minutes: DB.EnumCase<null>;
|
|
@@ -77,7 +51,7 @@ export declare const Curse: DB.Entity<"Curse", {
|
|
|
77
51
|
Actions: DB.EnumCase<null>;
|
|
78
52
|
CombatRounds: DB.EnumCase<null>;
|
|
79
53
|
}, []>>, true>;
|
|
80
|
-
translations: DB.MemberDecl<DB.NestedEntityMap<"
|
|
54
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ExpressionBasedDurationTranslation", {
|
|
81
55
|
replacement: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextReplace", DB.Object<{
|
|
82
56
|
full: DB.MemberDecl<DB.String, true>;
|
|
83
57
|
compressed: DB.MemberDecl<DB.String, true>;
|
|
@@ -86,35 +60,9 @@ export declare const Curse: DB.Entity<"Curse", {
|
|
|
86
60
|
}>, []>>>;
|
|
87
61
|
Indefinite: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"IndefiniteCurseDuration", DB.Object<{
|
|
88
62
|
maximum: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"MaximumIndefiniteCurseDuration", {
|
|
89
|
-
|
|
90
|
-
value: DB.MemberDecl<DB.Integer, true>;
|
|
91
|
-
unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DurationUnit", {
|
|
92
|
-
Seconds: DB.EnumCase<null>;
|
|
93
|
-
Minutes: DB.EnumCase<null>;
|
|
94
|
-
Hours: DB.EnumCase<null>;
|
|
95
|
-
Days: DB.EnumCase<null>;
|
|
96
|
-
Weeks: DB.EnumCase<null>;
|
|
97
|
-
Months: DB.EnumCase<null>;
|
|
98
|
-
Years: DB.EnumCase<null>;
|
|
99
|
-
Centuries: DB.EnumCase<null>;
|
|
100
|
-
Actions: DB.EnumCase<null>;
|
|
101
|
-
CombatRounds: DB.EnumCase<null>;
|
|
102
|
-
}, []>>, true>;
|
|
103
|
-
}>, []>>>;
|
|
104
|
-
CheckResultBased: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CheckResultBasedDuration", DB.Object<{
|
|
63
|
+
Expression: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedDuration", DB.Object<{
|
|
105
64
|
is_maximum: DB.MemberDecl<DB.Boolean, false>;
|
|
106
|
-
|
|
107
|
-
QualityLevels: DB.EnumCase<null>;
|
|
108
|
-
SkillPoints: DB.EnumCase<null>;
|
|
109
|
-
SkillRating: DB.EnumCase<null>;
|
|
110
|
-
}, []>>, true>;
|
|
111
|
-
modifier: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"CheckResultBasedModifier", DB.Object<{
|
|
112
|
-
arithmetic: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"CheckResultArithmetic", {
|
|
113
|
-
Multiply: DB.EnumCase<null>;
|
|
114
|
-
Divide: DB.EnumCase<null>;
|
|
115
|
-
}, []>>, true>;
|
|
116
|
-
value: DB.MemberDecl<DB.Integer, true>;
|
|
117
|
-
}>, []>>, false>;
|
|
65
|
+
value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedParameterValue", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], import("../_MathExpression.ts").MathOperation>, []>>, true>;
|
|
118
66
|
unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DurationUnit", {
|
|
119
67
|
Seconds: DB.EnumCase<null>;
|
|
120
68
|
Minutes: DB.EnumCase<null>;
|
|
@@ -127,7 +75,7 @@ export declare const Curse: DB.Entity<"Curse", {
|
|
|
127
75
|
Actions: DB.EnumCase<null>;
|
|
128
76
|
CombatRounds: DB.EnumCase<null>;
|
|
129
77
|
}, []>>, true>;
|
|
130
|
-
translations: DB.MemberDecl<DB.NestedEntityMap<"
|
|
78
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ExpressionBasedDurationTranslation", {
|
|
131
79
|
replacement: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextReplace", DB.Object<{
|
|
132
80
|
full: DB.MemberDecl<DB.String, true>;
|
|
133
81
|
compressed: DB.MemberDecl<DB.String, true>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as DB from "tsondb/schema/dsl";
|
|
2
2
|
import { OldParameter } from "../_ActivatableSkill.js";
|
|
3
3
|
import { IndefiniteOneTimeCost } from "../_ActivatableSkillCost.js";
|
|
4
|
-
import {
|
|
4
|
+
import { ExpressionBasedDuration } from "../_ActivatableSkillDuration.js";
|
|
5
5
|
import { ActivatableSkillEffect } from "../_ActivatableSkillEffect.js";
|
|
6
6
|
import { PropertyIdentifier } from "../_Identifier.js";
|
|
7
7
|
import { ResponsiveText, ResponsiveTextOptional } from "../_ResponsiveText.js";
|
|
@@ -104,8 +104,7 @@ const CurseDuration = DB.Enum(import.meta.url, {
|
|
|
104
104
|
name: "CurseDuration",
|
|
105
105
|
values: () => ({
|
|
106
106
|
Immediate: DB.EnumCase({ type: null }),
|
|
107
|
-
|
|
108
|
-
CheckResultBased: DB.EnumCase({ type: DB.IncludeIdentifier(CheckResultBasedDuration) }),
|
|
107
|
+
Expression: DB.EnumCase({ type: DB.IncludeIdentifier(ExpressionBasedDuration) }),
|
|
109
108
|
Indefinite: DB.EnumCase({ type: DB.IncludeIdentifier(IndefiniteCurseDuration) }),
|
|
110
109
|
}),
|
|
111
110
|
});
|
|
@@ -127,7 +126,6 @@ const IndefiniteCurseDuration = DB.TypeAlias(import.meta.url, {
|
|
|
127
126
|
const MaximumIndefiniteCurseDuration = DB.Enum(import.meta.url, {
|
|
128
127
|
name: "MaximumIndefiniteCurseDuration",
|
|
129
128
|
values: () => ({
|
|
130
|
-
|
|
131
|
-
CheckResultBased: DB.EnumCase({ type: DB.IncludeIdentifier(CheckResultBasedDuration) }),
|
|
129
|
+
Expression: DB.EnumCase({ type: DB.IncludeIdentifier(ExpressionBasedDuration) }),
|
|
132
130
|
}),
|
|
133
131
|
});
|
|
@@ -21,35 +21,9 @@ export declare const DominationRitual: DB.Entity<"DominationRitual", {
|
|
|
21
21
|
}>, false>;
|
|
22
22
|
}>, []>>, true>;
|
|
23
23
|
duration: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DominationRitualDuration", {
|
|
24
|
-
|
|
25
|
-
value: DB.MemberDecl<DB.Integer, true>;
|
|
26
|
-
unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DurationUnit", {
|
|
27
|
-
Seconds: DB.EnumCase<null>;
|
|
28
|
-
Minutes: DB.EnumCase<null>;
|
|
29
|
-
Hours: DB.EnumCase<null>;
|
|
30
|
-
Days: DB.EnumCase<null>;
|
|
31
|
-
Weeks: DB.EnumCase<null>;
|
|
32
|
-
Months: DB.EnumCase<null>;
|
|
33
|
-
Years: DB.EnumCase<null>;
|
|
34
|
-
Centuries: DB.EnumCase<null>;
|
|
35
|
-
Actions: DB.EnumCase<null>;
|
|
36
|
-
CombatRounds: DB.EnumCase<null>;
|
|
37
|
-
}, []>>, true>;
|
|
38
|
-
}>, []>>>;
|
|
39
|
-
CheckResultBased: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CheckResultBasedDuration", DB.Object<{
|
|
24
|
+
Expression: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedDuration", DB.Object<{
|
|
40
25
|
is_maximum: DB.MemberDecl<DB.Boolean, false>;
|
|
41
|
-
|
|
42
|
-
QualityLevels: DB.EnumCase<null>;
|
|
43
|
-
SkillPoints: DB.EnumCase<null>;
|
|
44
|
-
SkillRating: DB.EnumCase<null>;
|
|
45
|
-
}, []>>, true>;
|
|
46
|
-
modifier: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"CheckResultBasedModifier", DB.Object<{
|
|
47
|
-
arithmetic: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"CheckResultArithmetic", {
|
|
48
|
-
Multiply: DB.EnumCase<null>;
|
|
49
|
-
Divide: DB.EnumCase<null>;
|
|
50
|
-
}, []>>, true>;
|
|
51
|
-
value: DB.MemberDecl<DB.Integer, true>;
|
|
52
|
-
}>, []>>, false>;
|
|
26
|
+
value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedParameterValue", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], import("../_MathExpression.ts").MathOperation>, []>>, true>;
|
|
53
27
|
unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DurationUnit", {
|
|
54
28
|
Seconds: DB.EnumCase<null>;
|
|
55
29
|
Minutes: DB.EnumCase<null>;
|
|
@@ -62,7 +36,7 @@ export declare const DominationRitual: DB.Entity<"DominationRitual", {
|
|
|
62
36
|
Actions: DB.EnumCase<null>;
|
|
63
37
|
CombatRounds: DB.EnumCase<null>;
|
|
64
38
|
}, []>>, true>;
|
|
65
|
-
translations: DB.MemberDecl<DB.NestedEntityMap<"
|
|
39
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ExpressionBasedDurationTranslation", {
|
|
66
40
|
replacement: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextReplace", DB.Object<{
|
|
67
41
|
full: DB.MemberDecl<DB.String, true>;
|
|
68
42
|
compressed: DB.MemberDecl<DB.String, true>;
|
|
@@ -71,35 +45,9 @@ export declare const DominationRitual: DB.Entity<"DominationRitual", {
|
|
|
71
45
|
}>, []>>>;
|
|
72
46
|
Indefinite: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"IndefiniteDominationRitualDuration", DB.Object<{
|
|
73
47
|
maximum: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"MaximumIndefiniteDominationRitualDuration", {
|
|
74
|
-
|
|
75
|
-
value: DB.MemberDecl<DB.Integer, true>;
|
|
76
|
-
unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DurationUnit", {
|
|
77
|
-
Seconds: DB.EnumCase<null>;
|
|
78
|
-
Minutes: DB.EnumCase<null>;
|
|
79
|
-
Hours: DB.EnumCase<null>;
|
|
80
|
-
Days: DB.EnumCase<null>;
|
|
81
|
-
Weeks: DB.EnumCase<null>;
|
|
82
|
-
Months: DB.EnumCase<null>;
|
|
83
|
-
Years: DB.EnumCase<null>;
|
|
84
|
-
Centuries: DB.EnumCase<null>;
|
|
85
|
-
Actions: DB.EnumCase<null>;
|
|
86
|
-
CombatRounds: DB.EnumCase<null>;
|
|
87
|
-
}, []>>, true>;
|
|
88
|
-
}>, []>>>;
|
|
89
|
-
CheckResultBased: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CheckResultBasedDuration", DB.Object<{
|
|
48
|
+
Expression: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedDuration", DB.Object<{
|
|
90
49
|
is_maximum: DB.MemberDecl<DB.Boolean, false>;
|
|
91
|
-
|
|
92
|
-
QualityLevels: DB.EnumCase<null>;
|
|
93
|
-
SkillPoints: DB.EnumCase<null>;
|
|
94
|
-
SkillRating: DB.EnumCase<null>;
|
|
95
|
-
}, []>>, true>;
|
|
96
|
-
modifier: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"CheckResultBasedModifier", DB.Object<{
|
|
97
|
-
arithmetic: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"CheckResultArithmetic", {
|
|
98
|
-
Multiply: DB.EnumCase<null>;
|
|
99
|
-
Divide: DB.EnumCase<null>;
|
|
100
|
-
}, []>>, true>;
|
|
101
|
-
value: DB.MemberDecl<DB.Integer, true>;
|
|
102
|
-
}>, []>>, false>;
|
|
50
|
+
value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedParameterValue", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], import("../_MathExpression.ts").MathOperation>, []>>, true>;
|
|
103
51
|
unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DurationUnit", {
|
|
104
52
|
Seconds: DB.EnumCase<null>;
|
|
105
53
|
Minutes: DB.EnumCase<null>;
|
|
@@ -112,7 +60,7 @@ export declare const DominationRitual: DB.Entity<"DominationRitual", {
|
|
|
112
60
|
Actions: DB.EnumCase<null>;
|
|
113
61
|
CombatRounds: DB.EnumCase<null>;
|
|
114
62
|
}, []>>, true>;
|
|
115
|
-
translations: DB.MemberDecl<DB.NestedEntityMap<"
|
|
63
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ExpressionBasedDurationTranslation", {
|
|
116
64
|
replacement: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextReplace", DB.Object<{
|
|
117
65
|
full: DB.MemberDecl<DB.String, true>;
|
|
118
66
|
compressed: DB.MemberDecl<DB.String, true>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as DB from "tsondb/schema/dsl";
|
|
2
2
|
import { OldParameter } from "../_ActivatableSkill.js";
|
|
3
|
-
import {
|
|
3
|
+
import { ExpressionBasedDuration } from "../_ActivatableSkillDuration.js";
|
|
4
4
|
import { ActivatableSkillEffect } from "../_ActivatableSkillEffect.js";
|
|
5
5
|
import { PropertyIdentifier, SkillModificationLevelIdentifier } from "../_Identifier.js";
|
|
6
6
|
import { ResponsiveText } from "../_ResponsiveText.js";
|
|
@@ -91,24 +91,10 @@ const DominationRitualCost = DB.TypeAlias(import.meta.url, {
|
|
|
91
91
|
const DominationRitualDuration = DB.Enum(import.meta.url, {
|
|
92
92
|
name: "DominationRitualDuration",
|
|
93
93
|
values: () => ({
|
|
94
|
-
|
|
95
|
-
CheckResultBased: DB.EnumCase({ type: DB.IncludeIdentifier(CheckResultBasedDuration) }),
|
|
94
|
+
Expression: DB.EnumCase({ type: DB.IncludeIdentifier(ExpressionBasedDuration) }),
|
|
96
95
|
Indefinite: DB.EnumCase({ type: DB.IncludeIdentifier(IndefiniteDominationRitualDuration) }),
|
|
97
96
|
}),
|
|
98
97
|
});
|
|
99
|
-
const FixedDominationRitualDuration = DB.TypeAlias(import.meta.url, {
|
|
100
|
-
name: "FixedDominationRitualDuration",
|
|
101
|
-
type: () => DB.Object({
|
|
102
|
-
value: DB.Required({
|
|
103
|
-
comment: "The (unitless) duration.",
|
|
104
|
-
type: DB.Integer({ minimum: 1 }),
|
|
105
|
-
}),
|
|
106
|
-
unit: DB.Required({
|
|
107
|
-
comment: "The duration unit.",
|
|
108
|
-
type: DB.IncludeIdentifier(DurationUnit),
|
|
109
|
-
}),
|
|
110
|
-
}),
|
|
111
|
-
});
|
|
112
98
|
const IndefiniteDominationRitualDuration = DB.TypeAlias(import.meta.url, {
|
|
113
99
|
name: "IndefiniteDominationRitualDuration",
|
|
114
100
|
type: () => DB.Object({
|
|
@@ -127,7 +113,6 @@ const IndefiniteDominationRitualDuration = DB.TypeAlias(import.meta.url, {
|
|
|
127
113
|
const MaximumIndefiniteDominationRitualDuration = DB.Enum(import.meta.url, {
|
|
128
114
|
name: "MaximumIndefiniteDominationRitualDuration",
|
|
129
115
|
values: () => ({
|
|
130
|
-
|
|
131
|
-
CheckResultBased: DB.EnumCase({ type: DB.IncludeIdentifier(CheckResultBasedDuration) }),
|
|
116
|
+
Expression: DB.EnumCase({ type: DB.IncludeIdentifier(ExpressionBasedDuration) }),
|
|
132
117
|
}),
|
|
133
118
|
});
|
|
@@ -56,35 +56,9 @@ export declare const GeodeRitual: DB.Entity<"GeodeRitual", {
|
|
|
56
56
|
}, []>>, true>;
|
|
57
57
|
duration: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"GeodeRitualDuration", {
|
|
58
58
|
Immediate: DB.EnumCase<null>;
|
|
59
|
-
|
|
60
|
-
value: DB.MemberDecl<DB.Integer, true>;
|
|
61
|
-
unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DurationUnit", {
|
|
62
|
-
Seconds: DB.EnumCase<null>;
|
|
63
|
-
Minutes: DB.EnumCase<null>;
|
|
64
|
-
Hours: DB.EnumCase<null>;
|
|
65
|
-
Days: DB.EnumCase<null>;
|
|
66
|
-
Weeks: DB.EnumCase<null>;
|
|
67
|
-
Months: DB.EnumCase<null>;
|
|
68
|
-
Years: DB.EnumCase<null>;
|
|
69
|
-
Centuries: DB.EnumCase<null>;
|
|
70
|
-
Actions: DB.EnumCase<null>;
|
|
71
|
-
CombatRounds: DB.EnumCase<null>;
|
|
72
|
-
}, []>>, true>;
|
|
73
|
-
}>, []>>>;
|
|
74
|
-
CheckResultBased: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CheckResultBasedDuration", DB.Object<{
|
|
59
|
+
Expression: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedDuration", DB.Object<{
|
|
75
60
|
is_maximum: DB.MemberDecl<DB.Boolean, false>;
|
|
76
|
-
|
|
77
|
-
QualityLevels: DB.EnumCase<null>;
|
|
78
|
-
SkillPoints: DB.EnumCase<null>;
|
|
79
|
-
SkillRating: DB.EnumCase<null>;
|
|
80
|
-
}, []>>, true>;
|
|
81
|
-
modifier: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"CheckResultBasedModifier", DB.Object<{
|
|
82
|
-
arithmetic: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"CheckResultArithmetic", {
|
|
83
|
-
Multiply: DB.EnumCase<null>;
|
|
84
|
-
Divide: DB.EnumCase<null>;
|
|
85
|
-
}, []>>, true>;
|
|
86
|
-
value: DB.MemberDecl<DB.Integer, true>;
|
|
87
|
-
}>, []>>, false>;
|
|
61
|
+
value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedParameterValue", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], import("../_MathExpression.ts").MathOperation>, []>>, true>;
|
|
88
62
|
unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DurationUnit", {
|
|
89
63
|
Seconds: DB.EnumCase<null>;
|
|
90
64
|
Minutes: DB.EnumCase<null>;
|
|
@@ -97,7 +71,7 @@ export declare const GeodeRitual: DB.Entity<"GeodeRitual", {
|
|
|
97
71
|
Actions: DB.EnumCase<null>;
|
|
98
72
|
CombatRounds: DB.EnumCase<null>;
|
|
99
73
|
}, []>>, true>;
|
|
100
|
-
translations: DB.MemberDecl<DB.NestedEntityMap<"
|
|
74
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ExpressionBasedDurationTranslation", {
|
|
101
75
|
replacement: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextReplace", DB.Object<{
|
|
102
76
|
full: DB.MemberDecl<DB.String, true>;
|
|
103
77
|
compressed: DB.MemberDecl<DB.String, true>;
|
|
@@ -2,7 +2,7 @@ import * as DB from "tsondb/schema/dsl";
|
|
|
2
2
|
import { OldParameter } from "../_ActivatableSkill.js";
|
|
3
3
|
import { SlowSkillNonModifiableCastingTime } from "../_ActivatableSkillCastingTime.js";
|
|
4
4
|
import { OneTimeCostMap } from "../_ActivatableSkillCost.js";
|
|
5
|
-
import {
|
|
5
|
+
import { ExpressionBasedDuration } from "../_ActivatableSkillDuration.js";
|
|
6
6
|
import { ActivatableSkillEffect } from "../_ActivatableSkillEffect.js";
|
|
7
7
|
import { AffectedTargetCategories } from "../_ActivatableSkillTargetCategory.js";
|
|
8
8
|
import { PropertyIdentifier } from "../_Identifier.js";
|
|
@@ -136,7 +136,6 @@ const GeodeRitualDuration = DB.Enum(import.meta.url, {
|
|
|
136
136
|
name: "GeodeRitualDuration",
|
|
137
137
|
values: () => ({
|
|
138
138
|
Immediate: DB.EnumCase({ type: null }),
|
|
139
|
-
|
|
140
|
-
CheckResultBased: DB.EnumCase({ type: DB.IncludeIdentifier(CheckResultBasedDuration) }),
|
|
139
|
+
Expression: DB.EnumCase({ type: DB.IncludeIdentifier(ExpressionBasedDuration) }),
|
|
141
140
|
}),
|
|
142
141
|
});
|
|
@@ -45,9 +45,9 @@ export declare const GoblinRitual: DB.Entity<"GoblinRitual", {
|
|
|
45
45
|
Sight: DB.EnumCase<null>;
|
|
46
46
|
Self: DB.EnumCase<null>;
|
|
47
47
|
Touch: DB.EnumCase<null>;
|
|
48
|
-
|
|
48
|
+
Expression: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedRange", DB.Object<{
|
|
49
49
|
is_maximum: DB.MemberDecl<DB.Boolean, false>;
|
|
50
|
-
value: DB.MemberDecl<DB.
|
|
50
|
+
value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedParameterValue", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], import("../_MathExpression.ts").MathOperation>, []>>, true>;
|
|
51
51
|
unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"RangeUnit", {
|
|
52
52
|
Steps: DB.EnumCase<null>;
|
|
53
53
|
Miles: DB.EnumCase<null>;
|
|
@@ -68,35 +68,9 @@ export declare const GoblinRitual: DB.Entity<"GoblinRitual", {
|
|
|
68
68
|
}>, []>>, true>;
|
|
69
69
|
duration: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"GoblinRitualDuration", {
|
|
70
70
|
Immediate: DB.EnumCase<null>;
|
|
71
|
-
|
|
72
|
-
value: DB.MemberDecl<DB.Integer, true>;
|
|
73
|
-
unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DurationUnit", {
|
|
74
|
-
Seconds: DB.EnumCase<null>;
|
|
75
|
-
Minutes: DB.EnumCase<null>;
|
|
76
|
-
Hours: DB.EnumCase<null>;
|
|
77
|
-
Days: DB.EnumCase<null>;
|
|
78
|
-
Weeks: DB.EnumCase<null>;
|
|
79
|
-
Months: DB.EnumCase<null>;
|
|
80
|
-
Years: DB.EnumCase<null>;
|
|
81
|
-
Centuries: DB.EnumCase<null>;
|
|
82
|
-
Actions: DB.EnumCase<null>;
|
|
83
|
-
CombatRounds: DB.EnumCase<null>;
|
|
84
|
-
}, []>>, true>;
|
|
85
|
-
}>, []>>>;
|
|
86
|
-
CheckResultBased: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CheckResultBasedDuration", DB.Object<{
|
|
71
|
+
Expression: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedDuration", DB.Object<{
|
|
87
72
|
is_maximum: DB.MemberDecl<DB.Boolean, false>;
|
|
88
|
-
|
|
89
|
-
QualityLevels: DB.EnumCase<null>;
|
|
90
|
-
SkillPoints: DB.EnumCase<null>;
|
|
91
|
-
SkillRating: DB.EnumCase<null>;
|
|
92
|
-
}, []>>, true>;
|
|
93
|
-
modifier: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"CheckResultBasedModifier", DB.Object<{
|
|
94
|
-
arithmetic: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"CheckResultArithmetic", {
|
|
95
|
-
Multiply: DB.EnumCase<null>;
|
|
96
|
-
Divide: DB.EnumCase<null>;
|
|
97
|
-
}, []>>, true>;
|
|
98
|
-
value: DB.MemberDecl<DB.Integer, true>;
|
|
99
|
-
}>, []>>, false>;
|
|
73
|
+
value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedParameterValue", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], import("../_MathExpression.ts").MathOperation>, []>>, true>;
|
|
100
74
|
unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DurationUnit", {
|
|
101
75
|
Seconds: DB.EnumCase<null>;
|
|
102
76
|
Minutes: DB.EnumCase<null>;
|
|
@@ -109,7 +83,7 @@ export declare const GoblinRitual: DB.Entity<"GoblinRitual", {
|
|
|
109
83
|
Actions: DB.EnumCase<null>;
|
|
110
84
|
CombatRounds: DB.EnumCase<null>;
|
|
111
85
|
}, []>>, true>;
|
|
112
|
-
translations: DB.MemberDecl<DB.NestedEntityMap<"
|
|
86
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ExpressionBasedDurationTranslation", {
|
|
113
87
|
replacement: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextReplace", DB.Object<{
|
|
114
88
|
full: DB.MemberDecl<DB.String, true>;
|
|
115
89
|
compressed: DB.MemberDecl<DB.String, true>;
|
|
@@ -160,9 +134,9 @@ export declare const GoblinRitual: DB.Entity<"GoblinRitual", {
|
|
|
160
134
|
Sight: DB.EnumCase<null>;
|
|
161
135
|
Self: DB.EnumCase<null>;
|
|
162
136
|
Touch: DB.EnumCase<null>;
|
|
163
|
-
|
|
137
|
+
Expression: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedRange", DB.Object<{
|
|
164
138
|
is_maximum: DB.MemberDecl<DB.Boolean, false>;
|
|
165
|
-
value: DB.MemberDecl<DB.
|
|
139
|
+
value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedParameterValue", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], import("../_MathExpression.ts").MathOperation>, []>>, true>;
|
|
166
140
|
unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"RangeUnit", {
|
|
167
141
|
Steps: DB.EnumCase<null>;
|
|
168
142
|
Miles: DB.EnumCase<null>;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import * as DB from "tsondb/schema/dsl";
|
|
2
2
|
import { OldParameter } from "../_ActivatableSkill.js";
|
|
3
|
-
import { CheckResultBasedDuration, DurationUnitValue } from "../_ActivatableSkillDuration.js";
|
|
4
|
-
import { ActivatableSkillEffect } from "../_ActivatableSkillEffect.js";
|
|
5
3
|
import { NonModifiableOneTimeCost, NonModifiableSustainedCost } from "../_ActivatableSkillCost.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
4
|
+
import { ExpressionBasedDuration } from "../_ActivatableSkillDuration.js";
|
|
5
|
+
import { ActivatableSkillEffect } from "../_ActivatableSkillEffect.js";
|
|
6
|
+
import { ExpressionBasedRange } from "../_ActivatableSkillRange.js";
|
|
8
7
|
import { AffectedTargetCategories } from "../_ActivatableSkillTargetCategory.js";
|
|
9
8
|
import { PropertyIdentifier } from "../_Identifier.js";
|
|
9
|
+
import { ImprovementCost } from "../_ImprovementCost.js";
|
|
10
|
+
import { ResponsiveTextOptional, ResponsiveTextReplace } from "../_ResponsiveText.js";
|
|
10
11
|
import { SkillCheck, SkillCheckPenalty } from "../_SkillCheck.js";
|
|
11
12
|
import { NestedTranslationMap } from "../Locale.js";
|
|
12
13
|
import { Errata } from "../source/_Erratum.js";
|
|
13
14
|
import { src } from "../source/_PublicationRef.js";
|
|
14
|
-
import { ImprovementCost } from "../_ImprovementCost.js";
|
|
15
15
|
export const GoblinRitual = DB.Entity(import.meta.url, {
|
|
16
16
|
name: "GoblinRitual",
|
|
17
17
|
namePlural: "GoblinRituals",
|
|
@@ -183,14 +183,13 @@ const GoblinRitualRangeValue = DB.Enum(import.meta.url, {
|
|
|
183
183
|
Sight: DB.EnumCase({ type: null }),
|
|
184
184
|
Self: DB.EnumCase({ type: null }),
|
|
185
185
|
Touch: DB.EnumCase({ type: null }),
|
|
186
|
-
|
|
186
|
+
Expression: DB.EnumCase({ type: DB.IncludeIdentifier(ExpressionBasedRange) }),
|
|
187
187
|
}),
|
|
188
188
|
});
|
|
189
189
|
const GoblinRitualDuration = DB.Enum(import.meta.url, {
|
|
190
190
|
name: "GoblinRitualDuration",
|
|
191
191
|
values: () => ({
|
|
192
192
|
Immediate: DB.EnumCase({ type: null }),
|
|
193
|
-
|
|
194
|
-
CheckResultBased: DB.EnumCase({ type: DB.IncludeIdentifier(CheckResultBasedDuration) }),
|
|
193
|
+
Expression: DB.EnumCase({ type: DB.IncludeIdentifier(ExpressionBasedDuration) }),
|
|
195
194
|
}),
|
|
196
195
|
});
|