@optolith/database-schema 0.47.3 → 0.48.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.
Files changed (34) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/gen/types.d.ts +114 -202
  3. package/lib/types/Ceremony.d.ts +7 -80
  4. package/lib/types/Culture.d.ts +4 -0
  5. package/lib/types/Culture.js +10 -0
  6. package/lib/types/FamiliarsTrick.d.ts +3 -3
  7. package/lib/types/FamiliarsTrick.js +2 -2
  8. package/lib/types/LiturgicalChant.d.ts +7 -80
  9. package/lib/types/Ritual.d.ts +7 -80
  10. package/lib/types/Spell.d.ts +7 -80
  11. package/lib/types/_ActivatableSkill.d.ts +21 -218
  12. package/lib/types/_ActivatableSkill.js +15 -0
  13. package/lib/types/_ActivatableSkillDuration.d.ts +6 -50
  14. package/lib/types/_ActivatableSkillDuration.js +8 -13
  15. package/lib/types/_ActivatableSkillRange.d.ts +11 -22
  16. package/lib/types/_ActivatableSkillRange.js +7 -12
  17. package/lib/types/magicalActions/AnimistPower.d.ts +3 -29
  18. package/lib/types/magicalActions/AnimistPower.js +2 -3
  19. package/lib/types/magicalActions/Bannzeichen.d.ts +6 -28
  20. package/lib/types/magicalActions/Bannzeichen.js +4 -4
  21. package/lib/types/magicalActions/Curse.d.ts +6 -58
  22. package/lib/types/magicalActions/Curse.js +3 -5
  23. package/lib/types/magicalActions/DominationRitual.d.ts +6 -58
  24. package/lib/types/magicalActions/DominationRitual.js +3 -18
  25. package/lib/types/magicalActions/GeodeRitual.d.ts +3 -29
  26. package/lib/types/magicalActions/GeodeRitual.js +2 -3
  27. package/lib/types/magicalActions/GoblinRitual.d.ts +7 -33
  28. package/lib/types/magicalActions/GoblinRitual.js +7 -8
  29. package/lib/types/magicalActions/JesterTrick.d.ts +9 -87
  30. package/lib/types/magicalActions/JesterTrick.js +2 -16
  31. package/lib/types/magicalActions/MagicalRune.d.ts +6 -28
  32. package/lib/types/magicalActions/MagicalRune.js +3 -3
  33. package/lib/types/magicalActions/ZibiljaRitual.d.ts +5 -58
  34. package/package.json +1 -1
@@ -112,6 +112,16 @@ const CultureLanguage = DB.TypeAlias(import.meta.url, {
112
112
  comment: "The language specializations, if any.",
113
113
  type: DB.Array(LanguageSpecializationIdentifier(), { minItems: 1, uniqueItems: true }),
114
114
  }),
115
+ translations: NestedTranslationMap(DB.Optional, "CultureLanguage", DB.Object({
116
+ specialization: DB.Optional({
117
+ comment: "The concrete language specialization, if the language allows to specify arbitrary text.",
118
+ type: DB.String({ minLength: 1 }),
119
+ }),
120
+ specializationPrompt: DB.Optional({
121
+ comment: "A different promt fro the language specialization, if the language allows to specify arbitrary text.",
122
+ type: DB.String({ minLength: 1 }),
123
+ }),
124
+ }, { minProperties: 1 })),
115
125
  }),
116
126
  });
117
127
  const AreaKnowledge = DB.TypeAlias(import.meta.url, {
@@ -47,9 +47,9 @@ export declare const FamiliarsTrick: DB.Entity<"FamiliarsTrick", {
47
47
  }, []>>, true>;
48
48
  duration: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"FamiliarsTrickOneTimeDuration", {
49
49
  Immediate: DB.EnumCase<null>;
50
- Fixed: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"FixedDuration", DB.Object<{
50
+ Expression: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedDuration", DB.Object<{
51
51
  is_maximum: DB.MemberDecl<DB.Boolean, false>;
52
- value: DB.MemberDecl<DB.Integer, true>;
52
+ value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedParameterValue", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], import("./_MathExpression.ts").MathOperation>, []>>, true>;
53
53
  unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DurationUnit", {
54
54
  Seconds: DB.EnumCase<null>;
55
55
  Minutes: DB.EnumCase<null>;
@@ -62,7 +62,7 @@ export declare const FamiliarsTrick: DB.Entity<"FamiliarsTrick", {
62
62
  Actions: DB.EnumCase<null>;
63
63
  CombatRounds: DB.EnumCase<null>;
64
64
  }, []>>, true>;
65
- translations: DB.MemberDecl<DB.NestedEntityMap<"FixedDurationTranslation", {
65
+ translations: DB.MemberDecl<DB.NestedEntityMap<"ExpressionBasedDurationTranslation", {
66
66
  replacement: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextReplace", DB.Object<{
67
67
  full: DB.MemberDecl<DB.String, true>;
68
68
  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, NonModifiableOneTimeCostPerCountable, } from "./_ActivatableSkillCost.js";
4
- import { DurationUnitValue, FixedDuration, IndefiniteDuration, } from "./_ActivatableSkillDuration.js";
4
+ import { DurationUnitValue, ExpressionBasedDuration, IndefiniteDuration, } from "./_ActivatableSkillDuration.js";
5
5
  import { AnimalTypeIdentifier, MagicalTraditionIdentifier, PropertyIdentifier, } from "./_Identifier.js";
6
6
  import { ResponsiveText } from "./_ResponsiveText.js";
7
7
  import { NestedTranslationMap } from "./Locale.js";
@@ -154,7 +154,7 @@ const FamiliarsTrickOneTimeDuration = DB.Enum(import.meta.url, {
154
154
  name: "FamiliarsTrickOneTimeDuration",
155
155
  values: () => ({
156
156
  Immediate: DB.EnumCase({ type: null }),
157
- Fixed: DB.EnumCase({ type: DB.IncludeIdentifier(FixedDuration) }),
157
+ Expression: DB.EnumCase({ type: DB.IncludeIdentifier(ExpressionBasedDuration) }),
158
158
  Indefinite: DB.EnumCase({ type: DB.IncludeIdentifier(IndefiniteDuration) }),
159
159
  }),
160
160
  });
@@ -180,29 +180,9 @@ export declare const LiturgicalChant: DB.Entity<"LiturgicalChant", {
180
180
  Self: DB.EnumCase<null>;
181
181
  Global: DB.EnumCase<null>;
182
182
  Touch: DB.EnumCase<null>;
183
- Fixed: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"FixedRange", DB.Object<{
183
+ Expression: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedRange", DB.Object<{
184
184
  is_maximum: DB.MemberDecl<DB.Boolean, false>;
185
- value: DB.MemberDecl<DB.Integer, true>;
186
- unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"RangeUnit", {
187
- Steps: DB.EnumCase<null>;
188
- Miles: DB.EnumCase<null>;
189
- }, []>>, true>;
190
- is_radius: DB.MemberDecl<DB.Boolean, false>;
191
- }>, []>>>;
192
- CheckResultBased: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CheckResultBasedRange", DB.Object<{
193
- is_maximum: DB.MemberDecl<DB.Boolean, false>;
194
- base: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"CheckResultValue", {
195
- QualityLevels: DB.EnumCase<null>;
196
- SkillPoints: DB.EnumCase<null>;
197
- SkillRating: DB.EnumCase<null>;
198
- }, []>>, true>;
199
- modifier: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"CheckResultBasedModifier", DB.Object<{
200
- arithmetic: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"CheckResultArithmetic", {
201
- Multiply: DB.EnumCase<null>;
202
- Divide: DB.EnumCase<null>;
203
- }, []>>, true>;
204
- value: DB.MemberDecl<DB.Integer, true>;
205
- }>, []>>, false>;
185
+ value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedParameterValue", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], import("./_MathExpression.ts").MathOperation>, []>>, true>;
206
186
  unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"RangeUnit", {
207
187
  Steps: DB.EnumCase<null>;
208
188
  Miles: DB.EnumCase<null>;
@@ -253,42 +233,9 @@ export declare const LiturgicalChant: DB.Entity<"LiturgicalChant", {
253
233
  }>, []>>, false>;
254
234
  }>, false>;
255
235
  }>, []>>>;
256
- Fixed: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"FixedDuration", DB.Object<{
257
- is_maximum: DB.MemberDecl<DB.Boolean, false>;
258
- value: DB.MemberDecl<DB.Integer, true>;
259
- unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DurationUnit", {
260
- Seconds: DB.EnumCase<null>;
261
- Minutes: DB.EnumCase<null>;
262
- Hours: DB.EnumCase<null>;
263
- Days: DB.EnumCase<null>;
264
- Weeks: DB.EnumCase<null>;
265
- Months: DB.EnumCase<null>;
266
- Years: DB.EnumCase<null>;
267
- Centuries: DB.EnumCase<null>;
268
- Actions: DB.EnumCase<null>;
269
- CombatRounds: DB.EnumCase<null>;
270
- }, []>>, true>;
271
- translations: DB.MemberDecl<DB.NestedEntityMap<"FixedDurationTranslation", {
272
- replacement: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextReplace", DB.Object<{
273
- full: DB.MemberDecl<DB.String, true>;
274
- compressed: DB.MemberDecl<DB.String, true>;
275
- }>, []>>, false>;
276
- }>, false>;
277
- }>, []>>>;
278
- CheckResultBased: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CheckResultBasedDuration", DB.Object<{
236
+ Expression: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedDuration", DB.Object<{
279
237
  is_maximum: DB.MemberDecl<DB.Boolean, false>;
280
- base: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"CheckResultValue", {
281
- QualityLevels: DB.EnumCase<null>;
282
- SkillPoints: DB.EnumCase<null>;
283
- SkillRating: DB.EnumCase<null>;
284
- }, []>>, true>;
285
- modifier: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"CheckResultBasedModifier", DB.Object<{
286
- arithmetic: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"CheckResultArithmetic", {
287
- Multiply: DB.EnumCase<null>;
288
- Divide: DB.EnumCase<null>;
289
- }, []>>, true>;
290
- value: DB.MemberDecl<DB.Integer, true>;
291
- }>, []>>, false>;
238
+ value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedParameterValue", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], import("./_MathExpression.ts").MathOperation>, []>>, true>;
292
239
  unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DurationUnit", {
293
240
  Seconds: DB.EnumCase<null>;
294
241
  Minutes: DB.EnumCase<null>;
@@ -301,7 +248,7 @@ export declare const LiturgicalChant: DB.Entity<"LiturgicalChant", {
301
248
  Actions: DB.EnumCase<null>;
302
249
  CombatRounds: DB.EnumCase<null>;
303
250
  }, []>>, true>;
304
- translations: DB.MemberDecl<DB.NestedEntityMap<"CheckResultBasedDurationTranslation", {
251
+ translations: DB.MemberDecl<DB.NestedEntityMap<"ExpressionBasedDurationTranslation", {
305
252
  replacement: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextReplace", DB.Object<{
306
253
  full: DB.MemberDecl<DB.String, true>;
307
254
  compressed: DB.MemberDecl<DB.String, true>;
@@ -423,29 +370,9 @@ export declare const LiturgicalChant: DB.Entity<"LiturgicalChant", {
423
370
  Self: DB.EnumCase<null>;
424
371
  Global: DB.EnumCase<null>;
425
372
  Touch: DB.EnumCase<null>;
426
- Fixed: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"FixedRange", DB.Object<{
373
+ Expression: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedRange", DB.Object<{
427
374
  is_maximum: DB.MemberDecl<DB.Boolean, false>;
428
- value: DB.MemberDecl<DB.Integer, true>;
429
- unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"RangeUnit", {
430
- Steps: DB.EnumCase<null>;
431
- Miles: DB.EnumCase<null>;
432
- }, []>>, true>;
433
- is_radius: DB.MemberDecl<DB.Boolean, false>;
434
- }>, []>>>;
435
- CheckResultBased: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CheckResultBasedRange", DB.Object<{
436
- is_maximum: DB.MemberDecl<DB.Boolean, false>;
437
- base: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"CheckResultValue", {
438
- QualityLevels: DB.EnumCase<null>;
439
- SkillPoints: DB.EnumCase<null>;
440
- SkillRating: DB.EnumCase<null>;
441
- }, []>>, true>;
442
- modifier: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"CheckResultBasedModifier", DB.Object<{
443
- arithmetic: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"CheckResultArithmetic", {
444
- Multiply: DB.EnumCase<null>;
445
- Divide: DB.EnumCase<null>;
446
- }, []>>, true>;
447
- value: DB.MemberDecl<DB.Integer, true>;
448
- }>, []>>, false>;
375
+ value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedParameterValue", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], import("./_MathExpression.ts").MathOperation>, []>>, true>;
449
376
  unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"RangeUnit", {
450
377
  Steps: DB.EnumCase<null>;
451
378
  Miles: DB.EnumCase<null>;
@@ -180,29 +180,9 @@ export declare const Ritual: DB.Entity<"Ritual", {
180
180
  Self: DB.EnumCase<null>;
181
181
  Global: DB.EnumCase<null>;
182
182
  Touch: DB.EnumCase<null>;
183
- Fixed: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"FixedRange", DB.Object<{
183
+ Expression: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedRange", DB.Object<{
184
184
  is_maximum: DB.MemberDecl<DB.Boolean, false>;
185
- value: DB.MemberDecl<DB.Integer, true>;
186
- unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"RangeUnit", {
187
- Steps: DB.EnumCase<null>;
188
- Miles: DB.EnumCase<null>;
189
- }, []>>, true>;
190
- is_radius: DB.MemberDecl<DB.Boolean, false>;
191
- }>, []>>>;
192
- CheckResultBased: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CheckResultBasedRange", DB.Object<{
193
- is_maximum: DB.MemberDecl<DB.Boolean, false>;
194
- base: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"CheckResultValue", {
195
- QualityLevels: DB.EnumCase<null>;
196
- SkillPoints: DB.EnumCase<null>;
197
- SkillRating: DB.EnumCase<null>;
198
- }, []>>, true>;
199
- modifier: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"CheckResultBasedModifier", DB.Object<{
200
- arithmetic: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"CheckResultArithmetic", {
201
- Multiply: DB.EnumCase<null>;
202
- Divide: DB.EnumCase<null>;
203
- }, []>>, true>;
204
- value: DB.MemberDecl<DB.Integer, true>;
205
- }>, []>>, false>;
185
+ value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedParameterValue", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], import("./_MathExpression.ts").MathOperation>, []>>, true>;
206
186
  unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"RangeUnit", {
207
187
  Steps: DB.EnumCase<null>;
208
188
  Miles: DB.EnumCase<null>;
@@ -253,42 +233,9 @@ export declare const Ritual: DB.Entity<"Ritual", {
253
233
  }>, []>>, false>;
254
234
  }>, false>;
255
235
  }>, []>>>;
256
- Fixed: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"FixedDuration", DB.Object<{
257
- is_maximum: DB.MemberDecl<DB.Boolean, false>;
258
- value: DB.MemberDecl<DB.Integer, true>;
259
- unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DurationUnit", {
260
- Seconds: DB.EnumCase<null>;
261
- Minutes: DB.EnumCase<null>;
262
- Hours: DB.EnumCase<null>;
263
- Days: DB.EnumCase<null>;
264
- Weeks: DB.EnumCase<null>;
265
- Months: DB.EnumCase<null>;
266
- Years: DB.EnumCase<null>;
267
- Centuries: DB.EnumCase<null>;
268
- Actions: DB.EnumCase<null>;
269
- CombatRounds: DB.EnumCase<null>;
270
- }, []>>, true>;
271
- translations: DB.MemberDecl<DB.NestedEntityMap<"FixedDurationTranslation", {
272
- replacement: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextReplace", DB.Object<{
273
- full: DB.MemberDecl<DB.String, true>;
274
- compressed: DB.MemberDecl<DB.String, true>;
275
- }>, []>>, false>;
276
- }>, false>;
277
- }>, []>>>;
278
- CheckResultBased: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CheckResultBasedDuration", DB.Object<{
236
+ Expression: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedDuration", DB.Object<{
279
237
  is_maximum: DB.MemberDecl<DB.Boolean, false>;
280
- base: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"CheckResultValue", {
281
- QualityLevels: DB.EnumCase<null>;
282
- SkillPoints: DB.EnumCase<null>;
283
- SkillRating: DB.EnumCase<null>;
284
- }, []>>, true>;
285
- modifier: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"CheckResultBasedModifier", DB.Object<{
286
- arithmetic: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"CheckResultArithmetic", {
287
- Multiply: DB.EnumCase<null>;
288
- Divide: DB.EnumCase<null>;
289
- }, []>>, true>;
290
- value: DB.MemberDecl<DB.Integer, true>;
291
- }>, []>>, false>;
238
+ value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedParameterValue", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], import("./_MathExpression.ts").MathOperation>, []>>, true>;
292
239
  unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DurationUnit", {
293
240
  Seconds: DB.EnumCase<null>;
294
241
  Minutes: DB.EnumCase<null>;
@@ -301,7 +248,7 @@ export declare const Ritual: DB.Entity<"Ritual", {
301
248
  Actions: DB.EnumCase<null>;
302
249
  CombatRounds: DB.EnumCase<null>;
303
250
  }, []>>, true>;
304
- translations: DB.MemberDecl<DB.NestedEntityMap<"CheckResultBasedDurationTranslation", {
251
+ translations: DB.MemberDecl<DB.NestedEntityMap<"ExpressionBasedDurationTranslation", {
305
252
  replacement: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextReplace", DB.Object<{
306
253
  full: DB.MemberDecl<DB.String, true>;
307
254
  compressed: DB.MemberDecl<DB.String, true>;
@@ -423,29 +370,9 @@ export declare const Ritual: DB.Entity<"Ritual", {
423
370
  Self: DB.EnumCase<null>;
424
371
  Global: DB.EnumCase<null>;
425
372
  Touch: DB.EnumCase<null>;
426
- Fixed: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"FixedRange", DB.Object<{
373
+ Expression: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedRange", DB.Object<{
427
374
  is_maximum: DB.MemberDecl<DB.Boolean, false>;
428
- value: DB.MemberDecl<DB.Integer, true>;
429
- unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"RangeUnit", {
430
- Steps: DB.EnumCase<null>;
431
- Miles: DB.EnumCase<null>;
432
- }, []>>, true>;
433
- is_radius: DB.MemberDecl<DB.Boolean, false>;
434
- }>, []>>>;
435
- CheckResultBased: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CheckResultBasedRange", DB.Object<{
436
- is_maximum: DB.MemberDecl<DB.Boolean, false>;
437
- base: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"CheckResultValue", {
438
- QualityLevels: DB.EnumCase<null>;
439
- SkillPoints: DB.EnumCase<null>;
440
- SkillRating: DB.EnumCase<null>;
441
- }, []>>, true>;
442
- modifier: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"CheckResultBasedModifier", DB.Object<{
443
- arithmetic: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"CheckResultArithmetic", {
444
- Multiply: DB.EnumCase<null>;
445
- Divide: DB.EnumCase<null>;
446
- }, []>>, true>;
447
- value: DB.MemberDecl<DB.Integer, true>;
448
- }>, []>>, false>;
375
+ value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedParameterValue", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], import("./_MathExpression.ts").MathOperation>, []>>, true>;
449
376
  unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"RangeUnit", {
450
377
  Steps: DB.EnumCase<null>;
451
378
  Miles: DB.EnumCase<null>;
@@ -180,29 +180,9 @@ export declare const Spell: DB.Entity<"Spell", {
180
180
  Self: DB.EnumCase<null>;
181
181
  Global: DB.EnumCase<null>;
182
182
  Touch: DB.EnumCase<null>;
183
- Fixed: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"FixedRange", DB.Object<{
183
+ Expression: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedRange", DB.Object<{
184
184
  is_maximum: DB.MemberDecl<DB.Boolean, false>;
185
- value: DB.MemberDecl<DB.Integer, true>;
186
- unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"RangeUnit", {
187
- Steps: DB.EnumCase<null>;
188
- Miles: DB.EnumCase<null>;
189
- }, []>>, true>;
190
- is_radius: DB.MemberDecl<DB.Boolean, false>;
191
- }>, []>>>;
192
- CheckResultBased: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CheckResultBasedRange", DB.Object<{
193
- is_maximum: DB.MemberDecl<DB.Boolean, false>;
194
- base: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"CheckResultValue", {
195
- QualityLevels: DB.EnumCase<null>;
196
- SkillPoints: DB.EnumCase<null>;
197
- SkillRating: DB.EnumCase<null>;
198
- }, []>>, true>;
199
- modifier: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"CheckResultBasedModifier", DB.Object<{
200
- arithmetic: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"CheckResultArithmetic", {
201
- Multiply: DB.EnumCase<null>;
202
- Divide: DB.EnumCase<null>;
203
- }, []>>, true>;
204
- value: DB.MemberDecl<DB.Integer, true>;
205
- }>, []>>, false>;
185
+ value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedParameterValue", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], import("./_MathExpression.ts").MathOperation>, []>>, true>;
206
186
  unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"RangeUnit", {
207
187
  Steps: DB.EnumCase<null>;
208
188
  Miles: DB.EnumCase<null>;
@@ -253,42 +233,9 @@ export declare const Spell: DB.Entity<"Spell", {
253
233
  }>, []>>, false>;
254
234
  }>, false>;
255
235
  }>, []>>>;
256
- Fixed: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"FixedDuration", DB.Object<{
257
- is_maximum: DB.MemberDecl<DB.Boolean, false>;
258
- value: DB.MemberDecl<DB.Integer, true>;
259
- unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DurationUnit", {
260
- Seconds: DB.EnumCase<null>;
261
- Minutes: DB.EnumCase<null>;
262
- Hours: DB.EnumCase<null>;
263
- Days: DB.EnumCase<null>;
264
- Weeks: DB.EnumCase<null>;
265
- Months: DB.EnumCase<null>;
266
- Years: DB.EnumCase<null>;
267
- Centuries: DB.EnumCase<null>;
268
- Actions: DB.EnumCase<null>;
269
- CombatRounds: DB.EnumCase<null>;
270
- }, []>>, true>;
271
- translations: DB.MemberDecl<DB.NestedEntityMap<"FixedDurationTranslation", {
272
- replacement: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextReplace", DB.Object<{
273
- full: DB.MemberDecl<DB.String, true>;
274
- compressed: DB.MemberDecl<DB.String, true>;
275
- }>, []>>, false>;
276
- }>, false>;
277
- }>, []>>>;
278
- CheckResultBased: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CheckResultBasedDuration", DB.Object<{
236
+ Expression: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedDuration", DB.Object<{
279
237
  is_maximum: DB.MemberDecl<DB.Boolean, false>;
280
- base: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"CheckResultValue", {
281
- QualityLevels: DB.EnumCase<null>;
282
- SkillPoints: DB.EnumCase<null>;
283
- SkillRating: DB.EnumCase<null>;
284
- }, []>>, true>;
285
- modifier: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"CheckResultBasedModifier", DB.Object<{
286
- arithmetic: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"CheckResultArithmetic", {
287
- Multiply: DB.EnumCase<null>;
288
- Divide: DB.EnumCase<null>;
289
- }, []>>, true>;
290
- value: DB.MemberDecl<DB.Integer, true>;
291
- }>, []>>, false>;
238
+ value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedParameterValue", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], import("./_MathExpression.ts").MathOperation>, []>>, true>;
292
239
  unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DurationUnit", {
293
240
  Seconds: DB.EnumCase<null>;
294
241
  Minutes: DB.EnumCase<null>;
@@ -301,7 +248,7 @@ export declare const Spell: DB.Entity<"Spell", {
301
248
  Actions: DB.EnumCase<null>;
302
249
  CombatRounds: DB.EnumCase<null>;
303
250
  }, []>>, true>;
304
- translations: DB.MemberDecl<DB.NestedEntityMap<"CheckResultBasedDurationTranslation", {
251
+ translations: DB.MemberDecl<DB.NestedEntityMap<"ExpressionBasedDurationTranslation", {
305
252
  replacement: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextReplace", DB.Object<{
306
253
  full: DB.MemberDecl<DB.String, true>;
307
254
  compressed: DB.MemberDecl<DB.String, true>;
@@ -423,29 +370,9 @@ export declare const Spell: DB.Entity<"Spell", {
423
370
  Self: DB.EnumCase<null>;
424
371
  Global: DB.EnumCase<null>;
425
372
  Touch: DB.EnumCase<null>;
426
- Fixed: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"FixedRange", DB.Object<{
373
+ Expression: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedRange", DB.Object<{
427
374
  is_maximum: DB.MemberDecl<DB.Boolean, false>;
428
- value: DB.MemberDecl<DB.Integer, true>;
429
- unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"RangeUnit", {
430
- Steps: DB.EnumCase<null>;
431
- Miles: DB.EnumCase<null>;
432
- }, []>>, true>;
433
- is_radius: DB.MemberDecl<DB.Boolean, false>;
434
- }>, []>>>;
435
- CheckResultBased: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CheckResultBasedRange", DB.Object<{
436
- is_maximum: DB.MemberDecl<DB.Boolean, false>;
437
- base: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"CheckResultValue", {
438
- QualityLevels: DB.EnumCase<null>;
439
- SkillPoints: DB.EnumCase<null>;
440
- SkillRating: DB.EnumCase<null>;
441
- }, []>>, true>;
442
- modifier: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"CheckResultBasedModifier", DB.Object<{
443
- arithmetic: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"CheckResultArithmetic", {
444
- Multiply: DB.EnumCase<null>;
445
- Divide: DB.EnumCase<null>;
446
- }, []>>, true>;
447
- value: DB.MemberDecl<DB.Integer, true>;
448
- }>, []>>, false>;
375
+ value: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ExpressionBasedParameterValue", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], import("./_MathExpression.ts").MathOperation>, []>>, true>;
449
376
  unit: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"RangeUnit", {
450
377
  Steps: DB.EnumCase<null>;
451
378
  Miles: DB.EnumCase<null>;