@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.
Files changed (32) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/gen/types.d.ts +95 -199
  3. package/lib/types/Ceremony.d.ts +7 -80
  4. package/lib/types/FamiliarsTrick.d.ts +3 -3
  5. package/lib/types/FamiliarsTrick.js +2 -2
  6. package/lib/types/LiturgicalChant.d.ts +7 -80
  7. package/lib/types/Ritual.d.ts +7 -80
  8. package/lib/types/Spell.d.ts +7 -80
  9. package/lib/types/_ActivatableSkill.d.ts +21 -218
  10. package/lib/types/_ActivatableSkill.js +16 -0
  11. package/lib/types/_ActivatableSkillDuration.d.ts +6 -50
  12. package/lib/types/_ActivatableSkillDuration.js +8 -13
  13. package/lib/types/_ActivatableSkillRange.d.ts +11 -22
  14. package/lib/types/_ActivatableSkillRange.js +7 -12
  15. package/lib/types/magicalActions/AnimistPower.d.ts +3 -29
  16. package/lib/types/magicalActions/AnimistPower.js +2 -3
  17. package/lib/types/magicalActions/Bannzeichen.d.ts +6 -28
  18. package/lib/types/magicalActions/Bannzeichen.js +4 -4
  19. package/lib/types/magicalActions/Curse.d.ts +6 -58
  20. package/lib/types/magicalActions/Curse.js +3 -5
  21. package/lib/types/magicalActions/DominationRitual.d.ts +6 -58
  22. package/lib/types/magicalActions/DominationRitual.js +3 -18
  23. package/lib/types/magicalActions/GeodeRitual.d.ts +3 -29
  24. package/lib/types/magicalActions/GeodeRitual.js +2 -3
  25. package/lib/types/magicalActions/GoblinRitual.d.ts +7 -33
  26. package/lib/types/magicalActions/GoblinRitual.js +7 -8
  27. package/lib/types/magicalActions/JesterTrick.d.ts +9 -87
  28. package/lib/types/magicalActions/JesterTrick.js +2 -16
  29. package/lib/types/magicalActions/MagicalRune.d.ts +6 -28
  30. package/lib/types/magicalActions/MagicalRune.js +3 -3
  31. package/lib/types/magicalActions/ZibiljaRitual.d.ts +5 -58
  32. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -2,6 +2,28 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
4
4
 
5
+ ## [0.49.0](https://github.com/Optolith/database-schema/compare/v0.48.0...v0.49.0) (2026-06-13)
6
+
7
+
8
+ ### ⚠ BREAKING CHANGES
9
+
10
+ * add missing skill rating case to parameter expression
11
+
12
+ ### Bug Fixes
13
+
14
+ * add missing skill rating case to parameter expression ([64ee1cc](https://github.com/Optolith/database-schema/commit/64ee1cce6adccc2027bb890289b31e2cea653645))
15
+
16
+ ## [0.48.0](https://github.com/Optolith/database-schema/compare/v0.47.4...v0.48.0) (2026-06-13)
17
+
18
+
19
+ ### ⚠ BREAKING CHANGES
20
+
21
+ * unify some skill durations and ranges with expressions
22
+
23
+ ### Features
24
+
25
+ * unify some skill durations and ranges with expressions ([31798ca](https://github.com/Optolith/database-schema/commit/31798ca33fab12b1d1c0c6edec0c543173c8f4ac))
26
+
5
27
  ## [0.47.4](https://github.com/Optolith/database-schema/compare/v0.47.3...v0.47.4) (2026-06-13)
6
28
 
7
29
 
package/gen/types.d.ts CHANGED
@@ -260,7 +260,6 @@ export type EnumMap = {
260
260
  CastingTime: CastingTime<unknown>
261
261
  CastingTimeDuringLovemakingUnit: CastingTimeDuringLovemakingUnit
262
262
  CheckResultArithmetic: CheckResultArithmetic
263
- CheckResultValue: CheckResultValue
264
263
  CollectorsValue: CollectorsValue
265
264
  CombatAnimalPowerType: CombatAnimalPowerType
266
265
  CombatRelatedSpecialAbilityIdentifier: CombatRelatedSpecialAbilityIdentifier
@@ -301,6 +300,7 @@ export type EnumMap = {
301
300
  EncumbranceInfluence: EncumbranceInfluence
302
301
  EnhancementPrerequisiteGroup: EnhancementPrerequisiteGroup
303
302
  EquipmentIdentifier: EquipmentIdentifier
303
+ ExpressionBasedParameterExpressionValue: ExpressionBasedParameterExpressionValue
304
304
  ExpressionBasedPoisonTimeExpressionValue: ExpressionBasedPoisonTimeExpressionValue
305
305
  ExtensionRuleIdentifier: ExtensionRuleIdentifier
306
306
  FamiliarsTrickOneTimeCost: FamiliarsTrickOneTimeCost
@@ -527,9 +527,7 @@ export type TypeAliasMap = {
527
527
  CastingTimeDuringLovemaking: CastingTimeDuringLovemaking
528
528
  CastingTimeIncludingLovemaking: CastingTimeIncludingLovemaking<unknown>
529
529
  Cause: Cause
530
- CheckResultBasedDuration: CheckResultBasedDuration
531
530
  CheckResultBasedModifier: CheckResultBasedModifier
532
- CheckResultBasedRange: CheckResultBasedRange
533
531
  ChildNode: ChildNode
534
532
  CloseCombatTechniqueSpecialRules: CloseCombatTechniqueSpecialRules
535
533
  CombatAnimalPower: CombatAnimalPower
@@ -597,8 +595,11 @@ export type TypeAliasMap = {
597
595
  Errata: Errata
598
596
  Erratum: Erratum
599
597
  ExclusiveCantripNote: ExclusiveCantripNote
598
+ ExpressionBasedDuration: ExpressionBasedDuration
599
+ ExpressionBasedParameterValue: ExpressionBasedParameterValue
600
600
  ExpressionBasedPoisonTime: ExpressionBasedPoisonTime
601
601
  ExpressionBasedPoisonTimeValue: ExpressionBasedPoisonTimeValue
602
+ ExpressionBasedRange: ExpressionBasedRange
602
603
  FamiliarsTrickAllOneTimeCost: FamiliarsTrickAllOneTimeCost
603
604
  FamiliarsTrickFixedOneTimeCost: FamiliarsTrickFixedOneTimeCost
604
605
  FamiliarsTrickOneTimeIntervalCost: FamiliarsTrickOneTimeIntervalCost
@@ -622,11 +623,8 @@ export type TypeAliasMap = {
622
623
  FixedCantripDuration: FixedCantripDuration
623
624
  FixedCost: FixedCost
624
625
  FixedCurseCost: FixedCurseCost
625
- FixedDominationRitualDuration: FixedDominationRitualDuration
626
- FixedDuration: FixedDuration
627
626
  FixedGeodeRitualCost: FixedGeodeRitualCost
628
627
  FixedGeodeRitualRange: FixedGeodeRitualRange
629
- FixedJesterTrickDuration: FixedJesterTrickDuration
630
628
  FixedJesterTrickRange: FixedJesterTrickRange
631
629
  FixedLifePointsCost: FixedLifePointsCost
632
630
  FixedMagicalDanceCost: FixedMagicalDanceCost
@@ -6862,12 +6860,8 @@ export type RangeValue =
6862
6860
  kind: "Touch"
6863
6861
  }
6864
6862
  | {
6865
- kind: "Fixed"
6866
- Fixed: FixedRange
6867
- }
6868
- | {
6869
- kind: "CheckResultBased"
6870
- CheckResultBased: CheckResultBasedRange
6863
+ kind: "Expression"
6864
+ Expression: ExpressionBasedRange
6871
6865
  }
6872
6866
 
6873
6867
  export interface ModifiableRange {
@@ -6887,51 +6881,16 @@ export interface ModifiableRange {
6887
6881
  is_radius?: boolean
6888
6882
  }
6889
6883
 
6890
- export interface FixedRange {
6891
- /**
6892
- * If `true`, the range is a maximum range.
6893
- */
6894
- is_maximum?: boolean
6895
-
6896
- /**
6897
- * The (unitless) range value.
6898
- */
6899
- value: number
6900
-
6901
- /**
6902
- * The unit of the `value`.
6903
- */
6904
- unit: RangeUnit
6905
-
6906
- /**
6907
- * If `true`, the range is a radius.
6908
- */
6909
- is_radius?: boolean
6910
- }
6911
-
6912
- export type RangeUnit =
6913
- | {
6914
- kind: "Steps"
6915
- }
6916
- | {
6917
- kind: "Miles"
6918
- }
6919
-
6920
- export interface CheckResultBasedRange {
6884
+ export interface ExpressionBasedRange {
6921
6885
  /**
6922
6886
  * If the range is the maximum range.
6923
6887
  */
6924
6888
  is_maximum?: boolean
6925
6889
 
6926
6890
  /**
6927
- * The base value that is derived from the check result.
6928
- */
6929
- base: CheckResultValue
6930
-
6931
- /**
6932
- * If defined, it modifies the base value.
6891
+ * An expression that evaluates to the range.
6933
6892
  */
6934
- modifier?: CheckResultBasedModifier
6893
+ value: ExpressionBasedParameterValue
6935
6894
 
6936
6895
  /**
6937
6896
  * The duration unit.
@@ -6944,10 +6903,13 @@ export interface CheckResultBasedRange {
6944
6903
  is_radius?: boolean
6945
6904
  }
6946
6905
 
6947
- /**
6948
- * Defines the derived (unitless) value.
6949
- */
6950
- export type CheckResultValue =
6906
+ export type ExpressionBasedParameterValue = MathOperation<ExpressionBasedParameterExpressionValue>
6907
+
6908
+ export type ExpressionBasedParameterExpressionValue =
6909
+ | {
6910
+ kind: "Constant"
6911
+ Constant: number
6912
+ }
6951
6913
  | {
6952
6914
  kind: "QualityLevels"
6953
6915
  }
@@ -6958,27 +6920,12 @@ export type CheckResultValue =
6958
6920
  kind: "SkillRating"
6959
6921
  }
6960
6922
 
6961
- export interface CheckResultBasedModifier {
6962
- /**
6963
- * The arithmetic how to apply the `value` to the `base`.
6964
- */
6965
- arithmetic: CheckResultArithmetic
6966
-
6967
- /**
6968
- * The value that is applied to the `base` using the defined `arithmetic`.
6969
- */
6970
- value: number
6971
- }
6972
-
6973
- /**
6974
- * Defines how the the `value` is set off against the check result.
6975
- */
6976
- export type CheckResultArithmetic =
6923
+ export type RangeUnit =
6977
6924
  | {
6978
- kind: "Multiply"
6925
+ kind: "Steps"
6979
6926
  }
6980
6927
  | {
6981
- kind: "Divide"
6928
+ kind: "Miles"
6982
6929
  }
6983
6930
 
6984
6931
  export type DurationForOneTime =
@@ -6991,12 +6938,8 @@ export type DurationForOneTime =
6991
6938
  Permanent: PermanentDuration
6992
6939
  }
6993
6940
  | {
6994
- kind: "Fixed"
6995
- Fixed: FixedDuration
6996
- }
6997
- | {
6998
- kind: "CheckResultBased"
6999
- CheckResultBased: CheckResultBasedDuration
6941
+ kind: "Expression"
6942
+ Expression: ExpressionBasedDuration
7000
6943
  }
7001
6944
  | {
7002
6945
  kind: "Indefinite"
@@ -7084,52 +7027,16 @@ export interface PermanentDurationTranslation {
7084
7027
  replacement?: ResponsiveTextReplace
7085
7028
  }
7086
7029
 
7087
- export interface FixedDuration {
7088
- /**
7089
- * If the duration is the maximum duration, so it may end earlier.
7090
- */
7091
- is_maximum?: boolean
7092
-
7093
- /**
7094
- * The (unitless) duration.
7095
- */
7096
- value: number
7097
-
7098
- /**
7099
- * The duration unit.
7100
- */
7101
- unit: DurationUnit
7102
-
7103
- /**
7104
- * All translations for the entry, identified by IETF language tag (BCP47).
7105
- */
7106
- translations?: {
7107
- [localeId: string]: FixedDurationTranslation
7108
- }
7109
- }
7110
-
7111
- export interface FixedDurationTranslation {
7112
- /**
7113
- * A replacement string.
7114
- */
7115
- replacement?: ResponsiveTextReplace
7116
- }
7117
-
7118
- export interface CheckResultBasedDuration {
7030
+ export interface ExpressionBasedDuration {
7119
7031
  /**
7120
7032
  * If the duration is the maximum duration, so it may end earlier.
7121
7033
  */
7122
7034
  is_maximum?: boolean
7123
7035
 
7124
7036
  /**
7125
- * The base value that is derived from the check result.
7126
- */
7127
- base: CheckResultValue
7128
-
7129
- /**
7130
- * If defined, it modifies the base value.
7037
+ * An expression that evaluates to the duration.
7131
7038
  */
7132
- modifier?: CheckResultBasedModifier
7039
+ value: ExpressionBasedParameterValue
7133
7040
 
7134
7041
  /**
7135
7042
  * The duration unit.
@@ -7140,11 +7047,11 @@ export interface CheckResultBasedDuration {
7140
7047
  * All translations for the entry, identified by IETF language tag (BCP47).
7141
7048
  */
7142
7049
  translations?: {
7143
- [localeId: string]: CheckResultBasedDurationTranslation
7050
+ [localeId: string]: ExpressionBasedDurationTranslation
7144
7051
  }
7145
7052
  }
7146
7053
 
7147
- export interface CheckResultBasedDurationTranslation {
7054
+ export interface ExpressionBasedDurationTranslation {
7148
7055
  /**
7149
7056
  * A replacement string.
7150
7057
  */
@@ -7672,6 +7579,28 @@ export type BlessingRange =
7672
7579
  Fixed: FixedRange
7673
7580
  }
7674
7581
 
7582
+ export interface FixedRange {
7583
+ /**
7584
+ * If `true`, the range is a maximum range.
7585
+ */
7586
+ is_maximum?: boolean
7587
+
7588
+ /**
7589
+ * The (unitless) range value.
7590
+ */
7591
+ value: number
7592
+
7593
+ /**
7594
+ * The unit of the `value`.
7595
+ */
7596
+ unit: RangeUnit
7597
+
7598
+ /**
7599
+ * If `true`, the range is a radius.
7600
+ */
7601
+ is_radius?: boolean
7602
+ }
7603
+
7675
7604
  export type BlessingDuration =
7676
7605
  | {
7677
7606
  kind: "Immediate"
@@ -17810,12 +17739,12 @@ export interface BannzeichenDuration {
17810
17739
  /**
17811
17740
  * The duration on slow Bannzeichen application.
17812
17741
  */
17813
- slow: CheckResultBasedDuration
17742
+ slow: ExpressionBasedDuration
17814
17743
 
17815
17744
  /**
17816
17745
  * The duration on fast Bannzeichen application.
17817
17746
  */
17818
- fast: CheckResultBasedDuration
17747
+ fast: ExpressionBasedDuration
17819
17748
  }
17820
17749
 
17821
17750
  export type BannzeichenImprovementCost =
@@ -17940,12 +17869,8 @@ export type CurseDuration =
17940
17869
  kind: "Immediate"
17941
17870
  }
17942
17871
  | {
17943
- kind: "Fixed"
17944
- Fixed: DurationUnitValue
17945
- }
17946
- | {
17947
- kind: "CheckResultBased"
17948
- CheckResultBased: CheckResultBasedDuration
17872
+ kind: "Expression"
17873
+ Expression: ExpressionBasedDuration
17949
17874
  }
17950
17875
  | {
17951
17876
  kind: "Indefinite"
@@ -17975,12 +17900,8 @@ export interface IndefiniteCurseDurationTranslation {
17975
17900
 
17976
17901
  export type MaximumIndefiniteCurseDuration =
17977
17902
  | {
17978
- kind: "Fixed"
17979
- Fixed: DurationUnitValue
17980
- }
17981
- | {
17982
- kind: "CheckResultBased"
17983
- CheckResultBased: CheckResultBasedDuration
17903
+ kind: "Expression"
17904
+ Expression: ExpressionBasedDuration
17984
17905
  }
17985
17906
 
17986
17907
  export interface ElvenMagicalSong {
@@ -18196,30 +18117,14 @@ export interface DominationRitualCostTranslation {
18196
18117
 
18197
18118
  export type DominationRitualDuration =
18198
18119
  | {
18199
- kind: "Fixed"
18200
- Fixed: FixedDominationRitualDuration
18201
- }
18202
- | {
18203
- kind: "CheckResultBased"
18204
- CheckResultBased: CheckResultBasedDuration
18120
+ kind: "Expression"
18121
+ Expression: ExpressionBasedDuration
18205
18122
  }
18206
18123
  | {
18207
18124
  kind: "Indefinite"
18208
18125
  Indefinite: IndefiniteDominationRitualDuration
18209
18126
  }
18210
18127
 
18211
- export interface FixedDominationRitualDuration {
18212
- /**
18213
- * The (unitless) duration.
18214
- */
18215
- value: number
18216
-
18217
- /**
18218
- * The duration unit.
18219
- */
18220
- unit: DurationUnit
18221
- }
18222
-
18223
18128
  export interface IndefiniteDominationRitualDuration {
18224
18129
  /**
18225
18130
  * Specified if the duration has a maximum time span.
@@ -18243,12 +18148,8 @@ export interface IndefiniteDominationRitualDurationTranslation {
18243
18148
 
18244
18149
  export type MaximumIndefiniteDominationRitualDuration =
18245
18150
  | {
18246
- kind: "Fixed"
18247
- Fixed: FixedDominationRitualDuration
18248
- }
18249
- | {
18250
- kind: "CheckResultBased"
18251
- CheckResultBased: CheckResultBasedDuration
18151
+ kind: "Expression"
18152
+ Expression: ExpressionBasedDuration
18252
18153
  }
18253
18154
 
18254
18155
  export interface MagicalMelody {
@@ -18567,6 +18468,29 @@ export interface IndefiniteMagicalDanceCostTranslation {
18567
18468
  description: ResponsiveText
18568
18469
  }
18569
18470
 
18471
+ export interface CheckResultBasedModifier {
18472
+ /**
18473
+ * The arithmetic how to apply the `value` to the `base`.
18474
+ */
18475
+ arithmetic: CheckResultArithmetic
18476
+
18477
+ /**
18478
+ * The value that is applied to the `base` using the defined `arithmetic`.
18479
+ */
18480
+ value: number
18481
+ }
18482
+
18483
+ /**
18484
+ * Defines how the the `value` is set off against the check result.
18485
+ */
18486
+ export type CheckResultArithmetic =
18487
+ | {
18488
+ kind: "Multiply"
18489
+ }
18490
+ | {
18491
+ kind: "Divide"
18492
+ }
18493
+
18570
18494
  /**
18571
18495
  * A reference to a music tradition with the music-tradition-specific name of the entry.
18572
18496
  */
@@ -18750,26 +18674,10 @@ export type JesterTrickDuration =
18750
18674
  kind: "Immediate"
18751
18675
  }
18752
18676
  | {
18753
- kind: "Fixed"
18754
- Fixed: FixedJesterTrickDuration
18755
- }
18756
- | {
18757
- kind: "CheckResultBased"
18758
- CheckResultBased: CheckResultBasedDuration
18677
+ kind: "Expression"
18678
+ Expression: ExpressionBasedDuration
18759
18679
  }
18760
18680
 
18761
- export interface FixedJesterTrickDuration {
18762
- /**
18763
- * The (unitless) duration.
18764
- */
18765
- value: number
18766
-
18767
- /**
18768
- * The duration unit.
18769
- */
18770
- unit: DurationUnit
18771
- }
18772
-
18773
18681
  export interface AnimistPower {
18774
18682
  /**
18775
18683
  * Lists the linked three attributes used to make a skill check.
@@ -18934,12 +18842,8 @@ export type OneTimeAnimistPowerDuration =
18934
18842
  kind: "Immediate"
18935
18843
  }
18936
18844
  | {
18937
- kind: "Fixed"
18938
- Fixed: DurationUnitValue
18939
- }
18940
- | {
18941
- kind: "CheckResultBased"
18942
- CheckResultBased: CheckResultBasedDuration
18845
+ kind: "Expression"
18846
+ Expression: ExpressionBasedDuration
18943
18847
  }
18944
18848
 
18945
18849
  export interface SustainedAnimistPowerPerformanceParameters {
@@ -19167,12 +19071,8 @@ export type GeodeRitualDuration =
19167
19071
  kind: "Immediate"
19168
19072
  }
19169
19073
  | {
19170
- kind: "Fixed"
19171
- Fixed: DurationUnitValue
19172
- }
19173
- | {
19174
- kind: "CheckResultBased"
19175
- CheckResultBased: CheckResultBasedDuration
19074
+ kind: "Expression"
19075
+ Expression: ExpressionBasedDuration
19176
19076
  }
19177
19077
 
19178
19078
  export type GeodeRitualPrerequisites = PlainPrerequisites<GeodeRitualPrerequisiteGroup>
@@ -19350,8 +19250,8 @@ export type GoblinRitualRangeValue =
19350
19250
  kind: "Touch"
19351
19251
  }
19352
19252
  | {
19353
- kind: "Fixed"
19354
- Fixed: FixedRange
19253
+ kind: "Expression"
19254
+ Expression: ExpressionBasedRange
19355
19255
  }
19356
19256
 
19357
19257
  export type GoblinRitualDuration =
@@ -19359,12 +19259,8 @@ export type GoblinRitualDuration =
19359
19259
  kind: "Immediate"
19360
19260
  }
19361
19261
  | {
19362
- kind: "Fixed"
19363
- Fixed: DurationUnitValue
19364
- }
19365
- | {
19366
- kind: "CheckResultBased"
19367
- CheckResultBased: CheckResultBasedDuration
19262
+ kind: "Expression"
19263
+ Expression: ExpressionBasedDuration
19368
19264
  }
19369
19265
 
19370
19266
  export interface GoblinRitualSustainedPerformanceParameters {
@@ -19731,12 +19627,12 @@ export interface MagicalRuneDuration {
19731
19627
  /**
19732
19628
  * The duration on slow rune application.
19733
19629
  */
19734
- slow: CheckResultBasedDuration
19630
+ slow: ExpressionBasedDuration
19735
19631
 
19736
19632
  /**
19737
19633
  * The duration on fast rune application.
19738
19634
  */
19739
- fast: CheckResultBasedDuration
19635
+ fast: ExpressionBasedDuration
19740
19636
  }
19741
19637
 
19742
19638
  export type MagicalRuneImprovementCost =
@@ -24758,8 +24654,8 @@ export type FamiliarsTrickOneTimeDuration =
24758
24654
  kind: "Immediate"
24759
24655
  }
24760
24656
  | {
24761
- kind: "Fixed"
24762
- Fixed: FixedDuration
24657
+ kind: "Expression"
24658
+ Expression: ExpressionBasedDuration
24763
24659
  }
24764
24660
  | {
24765
24661
  kind: "Indefinite"
@@ -180,29 +180,9 @@ export declare const Ceremony: DB.Entity<"Ceremony", {
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 Ceremony: DB.Entity<"Ceremony", {
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 Ceremony: DB.Entity<"Ceremony", {
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 Ceremony: DB.Entity<"Ceremony", {
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>;
@@ -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>;