@optolith/database-schema 0.53.0 → 0.55.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 +36 -0
- package/gen/types.d.ts +292 -222
- package/lib/cache/activatableSelectOptions.js +28 -12
- package/lib/types/Blessing.d.ts +10 -0
- package/lib/types/Cantrip.d.ts +10 -0
- package/lib/types/Ceremony.d.ts +294 -125
- package/lib/types/FamiliarsTrick.d.ts +40 -0
- package/lib/types/LiturgicalChant.d.ts +294 -125
- package/lib/types/Locale.d.ts +6 -0
- package/lib/types/Locale.js +6 -0
- package/lib/types/Ritual.d.ts +294 -125
- package/lib/types/Spell.d.ts +294 -125
- package/lib/types/Talisman.d.ts +10 -0
- package/lib/types/_Activatable.d.ts +1 -0
- package/lib/types/_Activatable.js +4 -0
- package/lib/types/_ActivatableCombat.d.ts +5 -1
- package/lib/types/_ActivatableCombat.js +13 -1
- package/lib/types/_ActivatableNonMundane.d.ts +128 -64
- package/lib/types/_ActivatableNonMundane.js +10 -67
- package/lib/types/_ActivatableSelectOptionCategory.js +19 -3
- package/lib/types/_ActivatableSkill.d.ts +680 -284
- package/lib/types/_ActivatableSkillCastingTime.d.ts +30 -0
- package/lib/types/_ActivatableSkillCastingTime.js +20 -0
- package/lib/types/_ActivatableSkillCost.d.ts +288 -186
- package/lib/types/_ActivatableSkillCost.js +109 -110
- package/lib/types/_ActivatableSkillDuration.d.ts +70 -0
- package/lib/types/_ActivatableSkillDuration.js +44 -0
- package/lib/types/_ActivatableSkillParameterMap.d.ts +34 -0
- package/lib/types/_ActivatableSkillParameterMap.js +64 -0
- package/lib/types/equipment/item/HerbalPreservation.d.ts +20 -0
- package/lib/types/magicalActions/AnimistPower.d.ts +50 -0
- package/lib/types/magicalActions/Bannzeichen.d.ts +32 -15
- package/lib/types/magicalActions/Bannzeichen.js +2 -6
- package/lib/types/magicalActions/Curse.d.ts +20 -0
- package/lib/types/magicalActions/DominationRitual.d.ts +20 -0
- package/lib/types/magicalActions/ElvenMagicalSong.d.ts +10 -0
- package/lib/types/magicalActions/GeodeRitual.d.ts +28 -13
- package/lib/types/magicalActions/GeodeRitual.js +2 -2
- package/lib/types/magicalActions/GoblinRitual.d.ts +20 -0
- package/lib/types/magicalActions/JesterTrick.d.ts +30 -0
- package/lib/types/magicalActions/MagicalMelody.d.ts +10 -0
- package/lib/types/magicalActions/MagicalRune.d.ts +20 -0
- package/lib/types/magicalActions/ZibiljaRitual.d.ts +92 -34
- package/lib/types/prerequisites/single/PropertyPrerequisite.d.ts +16 -0
- package/lib/types/prerequisites/single/PropertyPrerequisite.js +16 -0
- package/lib/types/specialAbility/AdvancedCombatSpecialAbility.js +2 -2
- package/lib/types/specialAbility/BlessedTradition.d.ts +6 -5
- package/lib/types/specialAbility/BlessedTradition.js +11 -5
- package/lib/types/specialAbility/BrawlingSpecialAbility.js +2 -2
- package/lib/types/specialAbility/CombatSpecialAbility.js +2 -2
- package/lib/types/specialAbility/CombatStyleSpecialAbility.d.ts +2 -3
- package/lib/types/specialAbility/CombatStyleSpecialAbility.js +2 -2
- package/lib/types/specialAbility/CommandSpecialAbility.js +2 -2
- package/lib/types/specialAbility/MagicStyleSpecialAbility.d.ts +1 -0
- package/lib/types/specialAbility/MagicStyleSpecialAbility.js +2 -1
- package/lib/types/specialAbility/MagicalSign.d.ts +12 -13
- package/lib/types/specialAbility/MagicalSign.js +2 -2
- package/lib/types/traditionArtifacts/ArcaneOrbEnchantment.d.ts +71 -40
- package/lib/types/traditionArtifacts/AttireEnchantment.d.ts +71 -40
- package/lib/types/traditionArtifacts/Beutelzauber.d.ts +71 -40
- package/lib/types/traditionArtifacts/BowlEnchantment.d.ts +71 -40
- package/lib/types/traditionArtifacts/CauldronEnchantment.d.ts +71 -40
- package/lib/types/traditionArtifacts/ChronicleEnchantment.d.ts +71 -40
- package/lib/types/traditionArtifacts/DaggerRitual.d.ts +71 -40
- package/lib/types/traditionArtifacts/FoolsHatEnchantment.d.ts +71 -40
- package/lib/types/traditionArtifacts/Haubenzauber.d.ts +71 -40
- package/lib/types/traditionArtifacts/Hauerkettenzauber.d.ts +71 -40
- package/lib/types/traditionArtifacts/InstrumentEnchantment.d.ts +71 -40
- package/lib/types/traditionArtifacts/Keulenzauber.d.ts +71 -40
- package/lib/types/traditionArtifacts/Krallenkettenzauber.d.ts +71 -40
- package/lib/types/traditionArtifacts/Kristallkugelzauber.d.ts +71 -40
- package/lib/types/traditionArtifacts/OrbEnchantment.d.ts +71 -40
- package/lib/types/traditionArtifacts/RingEnchantment.d.ts +71 -40
- package/lib/types/traditionArtifacts/Schweinetrommelzauber.d.ts +71 -40
- package/lib/types/traditionArtifacts/SickleRitual.d.ts +71 -40
- package/lib/types/traditionArtifacts/SpellSwordEnchantment.d.ts +71 -40
- package/lib/types/traditionArtifacts/StaffEnchantment.d.ts +71 -40
- package/lib/types/traditionArtifacts/ToyEnchantment.d.ts +71 -40
- package/lib/types/traditionArtifacts/Trinkhornzauber.d.ts +71 -40
- package/lib/types/traditionArtifacts/WandEnchantment.d.ts +57 -24
- package/lib/types/traditionArtifacts/WeaponEnchantment.d.ts +71 -40
- package/package.json +10 -9
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as DB from "tsondb/schema/dsl";
|
|
2
|
+
export declare const PropertyPrerequisite: DB.TypeAlias<"PropertyPrerequisite", DB.Object<{
|
|
3
|
+
id: DB.MemberDecl<DB.ReferenceIdentifier, true>;
|
|
4
|
+
display_option: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DisplayOption", {
|
|
5
|
+
Hide: DB.EnumCase<null>;
|
|
6
|
+
ReplaceWith: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ReplacementDisplayOption", DB.Object<{
|
|
7
|
+
sentence_type: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SentenceType", {
|
|
8
|
+
Standalone: DB.EnumCase<null>;
|
|
9
|
+
Connected: DB.EnumCase<null>;
|
|
10
|
+
}, []>>, false>;
|
|
11
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ReplacementDisplayOptionTranslation", {
|
|
12
|
+
replacement: DB.MemberDecl<DB.String, true>;
|
|
13
|
+
}>, true>;
|
|
14
|
+
}>, []>>>;
|
|
15
|
+
}, []>>, false>;
|
|
16
|
+
}>, []>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as DB from "tsondb/schema/dsl";
|
|
2
|
+
import { PropertyIdentifier } from "../../_Identifier.js";
|
|
3
|
+
import { DisplayOption } from "../DisplayOption.js";
|
|
4
|
+
export const PropertyPrerequisite = DB.TypeAlias(import.meta.url, {
|
|
5
|
+
name: "PropertyPrerequisite",
|
|
6
|
+
comment: "Requires a specific property or one of a specific set of properties.",
|
|
7
|
+
type: () => DB.Object({
|
|
8
|
+
id: DB.Required({
|
|
9
|
+
comment: "The property�s identifier.",
|
|
10
|
+
type: PropertyIdentifier(),
|
|
11
|
+
}),
|
|
12
|
+
display_option: DB.Optional({
|
|
13
|
+
type: DB.IncludeIdentifier(DisplayOption),
|
|
14
|
+
}),
|
|
15
|
+
}),
|
|
16
|
+
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as DB from "tsondb/schema/dsl";
|
|
2
2
|
import { input, levels, maximum, name, name_in_library, rules } from "../_Activatable.js";
|
|
3
3
|
import { ap_value, ap_value_append, ap_value_l10n } from "../_ActivatableAdventurePointsValue.js";
|
|
4
|
-
import { combat_techniques, penalty,
|
|
4
|
+
import { combat_techniques, penalty, special_ability_usage_type } from "../_ActivatableCombat.js";
|
|
5
5
|
import { activatableDisplayNameCustomizer, nameBuilderRules } from "../_ActivatableNames.js";
|
|
6
6
|
import { explicit_select_options, select_options } from "../_ActivatableSelectOptions.js";
|
|
7
7
|
import { skill_applications, skill_uses } from "../_ActivatableSkillApplicationsAndUses.js";
|
|
@@ -16,7 +16,7 @@ export const AdvancedCombatSpecialAbility = DB.Entity(import.meta.url, {
|
|
|
16
16
|
type: () => DB.Object({
|
|
17
17
|
levels,
|
|
18
18
|
nameBuilderRules,
|
|
19
|
-
usage_type,
|
|
19
|
+
usage_type: special_ability_usage_type,
|
|
20
20
|
select_options,
|
|
21
21
|
explicit_select_options,
|
|
22
22
|
skill_applications,
|
|
@@ -968,10 +968,6 @@ export declare const BlessedTradition: DB.Entity<"BlessedTradition", {
|
|
|
968
968
|
primary: DB.MemberDecl<DB.ReferenceIdentifier, false>;
|
|
969
969
|
aspects: DB.MemberDecl<DB.Array<DB.ReferenceIdentifier>, false>;
|
|
970
970
|
primaryBlessing: DB.MemberDecl<DB.ReferenceIdentifier, false>;
|
|
971
|
-
restricted_blessings: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"RestrictedBlessings", {
|
|
972
|
-
Three: DB.EnumCase<DB.Array<DB.ReferenceIdentifier>>;
|
|
973
|
-
Six: DB.EnumCase<DB.Array<DB.ReferenceIdentifier>>;
|
|
974
|
-
}, []>>, false>;
|
|
975
971
|
favored_combat_techniques: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"FavoredCombatTechniques", {
|
|
976
972
|
All: DB.EnumCase<null>;
|
|
977
973
|
AllClose: DB.EnumCase<null>;
|
|
@@ -989,7 +985,12 @@ export declare const BlessedTradition: DB.Entity<"BlessedTradition", {
|
|
|
989
985
|
options: DB.MemberDecl<DB.Array<DB.ReferenceIdentifier>, true>;
|
|
990
986
|
}>, []>>, false>;
|
|
991
987
|
type: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"BlessedTraditionType", {
|
|
992
|
-
Church: DB.EnumCase<
|
|
988
|
+
Church: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ChurchBlessedTradition", DB.Object<{
|
|
989
|
+
restrictedBlessings: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"RestrictedBlessings", {
|
|
990
|
+
Three: DB.EnumCase<DB.Array<DB.ReferenceIdentifier>>;
|
|
991
|
+
Six: DB.EnumCase<DB.Array<DB.ReferenceIdentifier>>;
|
|
992
|
+
}, []>>, false>;
|
|
993
|
+
}>, []>>>;
|
|
993
994
|
Shamanistic: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ShamanisticBlessedTradition", DB.Object<{
|
|
994
995
|
can_use_bone_mace_as_ceremonial_item: DB.MemberDecl<DB.Boolean, true>;
|
|
995
996
|
}>, []>>>;
|
|
@@ -31,10 +31,6 @@ export const BlessedTradition = DB.Entity(import.meta.url, {
|
|
|
31
31
|
comment: "The tradition’s primary blessing. Leave empty if the tradition does not have one.",
|
|
32
32
|
type: BlessingIdentifier(),
|
|
33
33
|
}),
|
|
34
|
-
restricted_blessings: DB.Optional({
|
|
35
|
-
comment: "If a tradition restricts the possible blessings, the blessings that are **not** allowed.",
|
|
36
|
-
type: DB.IncludeIdentifier(RestrictedBlessings),
|
|
37
|
-
}),
|
|
38
34
|
favored_combat_techniques: DB.Optional({
|
|
39
35
|
comment: "A list of favored combat techniques.",
|
|
40
36
|
type: DB.IncludeIdentifier(FavoredCombatTechniques),
|
|
@@ -138,10 +134,20 @@ const BlessedTraditionType = DB.Enum(import.meta.url, {
|
|
|
138
134
|
name: "BlessedTraditionType",
|
|
139
135
|
comment: "The type of the tradition. May be either church or shamanistic.",
|
|
140
136
|
values: () => ({
|
|
141
|
-
Church: DB.EnumCase({ type:
|
|
137
|
+
Church: DB.EnumCase({ type: DB.IncludeIdentifier(ChurchBlessedTradition) }),
|
|
142
138
|
Shamanistic: DB.EnumCase({ type: DB.IncludeIdentifier(ShamanisticBlessedTradition) }),
|
|
143
139
|
}),
|
|
144
140
|
});
|
|
141
|
+
const ChurchBlessedTradition = DB.TypeAlias(import.meta.url, {
|
|
142
|
+
name: "ChurchBlessedTradition",
|
|
143
|
+
comment: "Additional rules for church traditions.",
|
|
144
|
+
type: () => DB.Object({
|
|
145
|
+
restrictedBlessings: DB.Optional({
|
|
146
|
+
comment: "If a tradition restricts the possible blessings, the blessings that are **not** allowed.",
|
|
147
|
+
type: DB.IncludeIdentifier(RestrictedBlessings),
|
|
148
|
+
}),
|
|
149
|
+
}),
|
|
150
|
+
});
|
|
145
151
|
const ShamanisticBlessedTradition = DB.TypeAlias(import.meta.url, {
|
|
146
152
|
name: "ShamanisticBlessedTradition",
|
|
147
153
|
comment: "Additional rules for shamanistic traditions.",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as DB from "tsondb/schema/dsl";
|
|
2
2
|
import { levels, maximum, name, name_in_library, rules } from "../_Activatable.js";
|
|
3
3
|
import { ap_value, ap_value_append, ap_value_l10n } from "../_ActivatableAdventurePointsValue.js";
|
|
4
|
-
import { combat_techniques,
|
|
4
|
+
import { combat_techniques, special_ability_usage_type } from "../_ActivatableCombat.js";
|
|
5
5
|
import { activatableDisplayNameCustomizer, nameBuilderRules } from "../_ActivatableNames.js";
|
|
6
6
|
import { explicit_select_options, select_options } from "../_ActivatableSelectOptions.js";
|
|
7
7
|
import { GeneralPrerequisites } from "../_Prerequisite.js";
|
|
@@ -14,7 +14,7 @@ export const BrawlingSpecialAbility = DB.Entity(import.meta.url, {
|
|
|
14
14
|
type: () => DB.Object({
|
|
15
15
|
levels,
|
|
16
16
|
nameBuilderRules,
|
|
17
|
-
usage_type,
|
|
17
|
+
usage_type: special_ability_usage_type,
|
|
18
18
|
select_options,
|
|
19
19
|
explicit_select_options,
|
|
20
20
|
maximum,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as DB from "tsondb/schema/dsl";
|
|
2
2
|
import { input, levels, maximum, name, name_in_library, rules } from "../_Activatable.js";
|
|
3
3
|
import { ap_value, ap_value_append, ap_value_l10n } from "../_ActivatableAdventurePointsValue.js";
|
|
4
|
-
import { combat_techniques, penalty, penalty_l10n,
|
|
4
|
+
import { combat_techniques, penalty, penalty_l10n, special_ability_usage_type, } from "../_ActivatableCombat.js";
|
|
5
5
|
import { activatableDisplayNameCustomizer, nameBuilderRules } from "../_ActivatableNames.js";
|
|
6
6
|
import { explicit_select_options, select_options } from "../_ActivatableSelectOptions.js";
|
|
7
7
|
import { skill_applications, skill_uses } from "../_ActivatableSkillApplicationsAndUses.js";
|
|
@@ -15,7 +15,7 @@ export const CombatSpecialAbility = DB.Entity(import.meta.url, {
|
|
|
15
15
|
type: () => DB.Object({
|
|
16
16
|
levels,
|
|
17
17
|
nameBuilderRules,
|
|
18
|
-
usage_type,
|
|
18
|
+
usage_type: special_ability_usage_type,
|
|
19
19
|
select_options,
|
|
20
20
|
explicit_select_options,
|
|
21
21
|
skill_applications,
|
|
@@ -8,10 +8,9 @@ export declare const CombatStyleSpecialAbility: DB.Entity<"CombatStyleSpecialAbi
|
|
|
8
8
|
}, []>>, false>;
|
|
9
9
|
useParenthesis: DB.MemberDecl<DB.Boolean, false>;
|
|
10
10
|
}>, []>>, false>;
|
|
11
|
-
usage_type: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"
|
|
11
|
+
usage_type: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"CombatSpecialAbilityTypeUsageType", {
|
|
12
12
|
Passive: DB.EnumCase<null>;
|
|
13
|
-
|
|
14
|
-
SpecialManeuver: DB.EnumCase<null>;
|
|
13
|
+
Active: DB.EnumCase<null>;
|
|
15
14
|
}, []>>, true>;
|
|
16
15
|
type: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"CombatSpecialAbilityType", {
|
|
17
16
|
Armed: DB.EnumCase<null>;
|
|
@@ -2,7 +2,7 @@ import * as DB from "tsondb/schema/dsl";
|
|
|
2
2
|
import { levels, maximum, name, name_in_library, rules } from "../_Activatable.js";
|
|
3
3
|
import { advanced } from "../_ActivatableAdvanced.js";
|
|
4
4
|
import { ap_value, ap_value_append, ap_value_l10n } from "../_ActivatableAdventurePointsValue.js";
|
|
5
|
-
import { combat_techniques, penalty, type,
|
|
5
|
+
import { combat_techniques, penalty, type, style_usage_type } from "../_ActivatableCombat.js";
|
|
6
6
|
import { activatableDisplayNameCustomizer, nameBuilderRules } from "../_ActivatableNames.js";
|
|
7
7
|
import { explicit_select_options, select_options } from "../_ActivatableSelectOptions.js";
|
|
8
8
|
import { skill_applications, skill_uses } from "../_ActivatableSkillApplicationsAndUses.js";
|
|
@@ -17,7 +17,7 @@ export const CombatStyleSpecialAbility = DB.Entity(import.meta.url, {
|
|
|
17
17
|
type: () => DB.Object({
|
|
18
18
|
levels,
|
|
19
19
|
nameBuilderRules,
|
|
20
|
-
usage_type,
|
|
20
|
+
usage_type: style_usage_type,
|
|
21
21
|
type,
|
|
22
22
|
select_options,
|
|
23
23
|
explicit_select_options,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as DB from "tsondb/schema/dsl";
|
|
2
2
|
import { levels, maximum, name, name_in_library, rules } from "../_Activatable.js";
|
|
3
3
|
import { ap_value, ap_value_append, ap_value_l10n } from "../_ActivatableAdventurePointsValue.js";
|
|
4
|
-
import { combat_techniques,
|
|
4
|
+
import { combat_techniques, special_ability_usage_type } from "../_ActivatableCombat.js";
|
|
5
5
|
import { activatableDisplayNameCustomizer, nameBuilderRules } from "../_ActivatableNames.js";
|
|
6
6
|
import { explicit_select_options, select_options } from "../_ActivatableSelectOptions.js";
|
|
7
7
|
import { GeneralPrerequisites } from "../_Prerequisite.js";
|
|
@@ -14,7 +14,7 @@ export const CommandSpecialAbility = DB.Entity(import.meta.url, {
|
|
|
14
14
|
type: () => DB.Object({
|
|
15
15
|
levels,
|
|
16
16
|
nameBuilderRules,
|
|
17
|
-
usage_type,
|
|
17
|
+
usage_type: special_ability_usage_type,
|
|
18
18
|
select_options,
|
|
19
19
|
explicit_select_options,
|
|
20
20
|
maximum,
|
|
@@ -1183,6 +1183,7 @@ export declare const MagicStyleSpecialAbility: DB.Entity<"MagicStyleSpecialAbili
|
|
|
1183
1183
|
}>, []>>>, []>>, true>;
|
|
1184
1184
|
translations: DB.MemberDecl<DB.NestedEntityMap<"MagicStyleSpecialAbilityTranslation", {
|
|
1185
1185
|
name: DB.MemberDecl<DB.String, true>;
|
|
1186
|
+
additionalName: DB.MemberDecl<DB.String, false>;
|
|
1186
1187
|
name_in_library: DB.MemberDecl<DB.String, false>;
|
|
1187
1188
|
rules: DB.MemberDecl<DB.String, true>;
|
|
1188
1189
|
ap_value_append: DB.MemberDecl<DB.String, false>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as DB from "tsondb/schema/dsl";
|
|
2
|
-
import { levels, maximum, name, name_in_library, rules } from "../_Activatable.js";
|
|
2
|
+
import { additionalName, levels, maximum, name, name_in_library, rules } from "../_Activatable.js";
|
|
3
3
|
import { advanced } from "../_ActivatableAdvanced.js";
|
|
4
4
|
import { ap_value, ap_value_append, ap_value_l10n } from "../_ActivatableAdventurePointsValue.js";
|
|
5
5
|
import { activatableDisplayNameCustomizer, nameBuilderRules } from "../_ActivatableNames.js";
|
|
@@ -29,6 +29,7 @@ export const MagicStyleSpecialAbility = DB.Entity(import.meta.url, {
|
|
|
29
29
|
src,
|
|
30
30
|
translations: NestedTranslationMap(DB.Required, "MagicStyleSpecialAbility", DB.Object({
|
|
31
31
|
name,
|
|
32
|
+
additionalName,
|
|
32
33
|
name_in_library,
|
|
33
34
|
rules,
|
|
34
35
|
ap_value_append,
|
|
@@ -32,31 +32,30 @@ export declare const MagicalSign: DB.Entity<"MagicalSign", {
|
|
|
32
32
|
value: DB.MemberDecl<DB.Integer, true>;
|
|
33
33
|
permanent_value: DB.MemberDecl<DB.Integer, false>;
|
|
34
34
|
}>, []>>>;
|
|
35
|
-
Map: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"
|
|
36
|
-
options: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"
|
|
37
|
-
value: DB.MemberDecl<DB.
|
|
38
|
-
|
|
39
|
-
translations: DB.MemberDecl<DB.NestedEntityMap<"OneTimeCostMapOptionTranslation", {
|
|
35
|
+
Map: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"StandaloneCostMap", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"ParameterMap", DB.Object<{
|
|
36
|
+
options: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"ParameterMapOption", DB.Object<{
|
|
37
|
+
value: DB.MemberDecl<DB.TypeArgument<DB.Param<"Value", DB.Type>>, true>;
|
|
38
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ParameterMapOptionTranslation", {
|
|
40
39
|
label: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
41
40
|
full: DB.MemberDecl<DB.String, true>;
|
|
42
41
|
compressed: DB.MemberDecl<DB.String, false>;
|
|
43
42
|
}>, []>>, true>;
|
|
44
|
-
|
|
43
|
+
standaloneLabel: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
45
44
|
full: DB.MemberDecl<DB.String, true>;
|
|
46
45
|
compressed: DB.MemberDecl<DB.String, false>;
|
|
47
46
|
}>, []>>, false>;
|
|
48
47
|
}>, false>;
|
|
49
|
-
}>, []>>>, true>;
|
|
50
|
-
style: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"
|
|
48
|
+
}>, [Value: DB.Param<"Value", DB.Type>]>>>, true>;
|
|
49
|
+
style: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"ParameterMapStyle", {
|
|
51
50
|
Compressed: DB.EnumCase<null>;
|
|
52
51
|
Verbose: DB.EnumCase<null>;
|
|
53
|
-
}, []>>,
|
|
54
|
-
translations: DB.MemberDecl<DB.NestedEntityMap<"
|
|
55
|
-
|
|
52
|
+
}, []>>, true>;
|
|
53
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ParameterMapTranslation", {
|
|
54
|
+
listPrefix: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
56
55
|
full: DB.MemberDecl<DB.String, true>;
|
|
57
56
|
compressed: DB.MemberDecl<DB.String, false>;
|
|
58
57
|
}>, []>>, false>;
|
|
59
|
-
|
|
58
|
+
listSuffix: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
60
59
|
full: DB.MemberDecl<DB.String, true>;
|
|
61
60
|
compressed: DB.MemberDecl<DB.String, false>;
|
|
62
61
|
}>, []>>, false>;
|
|
@@ -65,7 +64,7 @@ export declare const MagicalSign: DB.Entity<"MagicalSign", {
|
|
|
65
64
|
compressed: DB.MemberDecl<DB.String, false>;
|
|
66
65
|
}>, []>>, false>;
|
|
67
66
|
}>, false>;
|
|
68
|
-
}>, []>>>;
|
|
67
|
+
}>, [Value: DB.Param<"Value", DB.Type>]>>, []>>>;
|
|
69
68
|
}, []>>, false>;
|
|
70
69
|
property: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"PropertyDeclaration", {
|
|
71
70
|
DependingOnSelection: DB.EnumCase<null>;
|
|
@@ -3,7 +3,7 @@ import { effect, name, name_in_library } from "../_Activatable.js";
|
|
|
3
3
|
import { ap_value_append, ap_value_l10n } from "../_ActivatableAdventurePointsValue.js";
|
|
4
4
|
import { activatableDisplayNameCustomizer } from "../_ActivatableNames.js";
|
|
5
5
|
import { propertyOptional } from "../_ActivatableNonMundane.js";
|
|
6
|
-
import {
|
|
6
|
+
import { StandaloneCostMap } from "../_ActivatableSkillCost.js";
|
|
7
7
|
import { GeneralPrerequisites } from "../_Prerequisite.js";
|
|
8
8
|
import { NestedTranslationMap } from "../Locale.js";
|
|
9
9
|
import { Errata } from "../source/_Erratum.js";
|
|
@@ -50,7 +50,7 @@ const MagicalSignCost = DB.Enum(import.meta.url, {
|
|
|
50
50
|
name: "MagicalSignCost",
|
|
51
51
|
values: () => ({
|
|
52
52
|
Constant: DB.EnumCase({ type: DB.IncludeIdentifier(ConstantMagicalSignCost) }),
|
|
53
|
-
Map: DB.EnumCase({ type: DB.IncludeIdentifier(
|
|
53
|
+
Map: DB.EnumCase({ type: DB.IncludeIdentifier(StandaloneCostMap) }),
|
|
54
54
|
}),
|
|
55
55
|
});
|
|
56
56
|
const ConstantMagicalSignCost = DB.TypeAlias(import.meta.url, {
|
|
@@ -959,32 +959,30 @@ export declare const ArcaneOrbEnchantment: DB.Entity<"ArcaneOrbEnchantment", {
|
|
|
959
959
|
points: DB.MemberDecl<DB.Integer, true>;
|
|
960
960
|
}>, []>>>, true>;
|
|
961
961
|
}>, []>>>;
|
|
962
|
-
Map: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"VolumeMap", DB.Object<{
|
|
963
|
-
options: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
id: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"VolumePointsOptionReferenceIdentifier", {
|
|
967
|
-
General: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
968
|
-
AnimalShapeSize: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
969
|
-
}, []>>, true>;
|
|
970
|
-
}>, []>>>, true>;
|
|
971
|
-
translations: DB.MemberDecl<DB.NestedEntityMap<"VolumeMapOptionTranslation", {
|
|
962
|
+
Map: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"VolumeMap", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"ParameterMap", DB.Object<{
|
|
963
|
+
options: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"ParameterMapOption", DB.Object<{
|
|
964
|
+
value: DB.MemberDecl<DB.TypeArgument<DB.Param<"Value", DB.Type>>, true>;
|
|
965
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ParameterMapOptionTranslation", {
|
|
972
966
|
label: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
973
967
|
full: DB.MemberDecl<DB.String, true>;
|
|
974
968
|
compressed: DB.MemberDecl<DB.String, false>;
|
|
975
969
|
}>, []>>, true>;
|
|
976
|
-
|
|
970
|
+
standaloneLabel: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
977
971
|
full: DB.MemberDecl<DB.String, true>;
|
|
978
972
|
compressed: DB.MemberDecl<DB.String, false>;
|
|
979
973
|
}>, []>>, false>;
|
|
980
974
|
}>, false>;
|
|
981
|
-
}>, []>>>, true>;
|
|
982
|
-
|
|
983
|
-
|
|
975
|
+
}>, [Value: DB.Param<"Value", DB.Type>]>>>, true>;
|
|
976
|
+
style: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"ParameterMapStyle", {
|
|
977
|
+
Compressed: DB.EnumCase<null>;
|
|
978
|
+
Verbose: DB.EnumCase<null>;
|
|
979
|
+
}, []>>, true>;
|
|
980
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ParameterMapTranslation", {
|
|
981
|
+
listPrefix: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
984
982
|
full: DB.MemberDecl<DB.String, true>;
|
|
985
983
|
compressed: DB.MemberDecl<DB.String, false>;
|
|
986
984
|
}>, []>>, false>;
|
|
987
|
-
|
|
985
|
+
listSuffix: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
988
986
|
full: DB.MemberDecl<DB.String, true>;
|
|
989
987
|
compressed: DB.MemberDecl<DB.String, false>;
|
|
990
988
|
}>, []>>, false>;
|
|
@@ -993,7 +991,7 @@ export declare const ArcaneOrbEnchantment: DB.Entity<"ArcaneOrbEnchantment", {
|
|
|
993
991
|
compressed: DB.MemberDecl<DB.String, false>;
|
|
994
992
|
}>, []>>, false>;
|
|
995
993
|
}>, false>;
|
|
996
|
-
}>, []>>>;
|
|
994
|
+
}>, [Value: DB.Param<"Value", DB.Type>]>>, []>>>;
|
|
997
995
|
DerivedFromSelection: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"VolumeDerivedFromSelection", DB.Object<{
|
|
998
996
|
fallback: DB.MemberDecl<DB.Integer, true>;
|
|
999
997
|
}>, []>>>;
|
|
@@ -1017,6 +1015,16 @@ export declare const ArcaneOrbEnchantment: DB.Entity<"ArcaneOrbEnchantment", {
|
|
|
1017
1015
|
Centuries: DB.EnumCase<null>;
|
|
1018
1016
|
Actions: DB.EnumCase<null>;
|
|
1019
1017
|
CombatRounds: DB.EnumCase<null>;
|
|
1018
|
+
Custom: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CustomDurationUnit", DB.Object<{
|
|
1019
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"CustomDurationUnitTranslation", {
|
|
1020
|
+
name: DB.MemberDecl<DB.String, true>;
|
|
1021
|
+
fullNumber: DB.MemberDecl<DB.String, true>;
|
|
1022
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
1023
|
+
symbol: DB.MemberDecl<DB.String, true>;
|
|
1024
|
+
compressedNumber: DB.MemberDecl<DB.String, true>;
|
|
1025
|
+
compressed: DB.MemberDecl<DB.String, true>;
|
|
1026
|
+
}>, true>;
|
|
1027
|
+
}>, []>>>;
|
|
1020
1028
|
}, []>>, true>;
|
|
1021
1029
|
}>, []>>, false>;
|
|
1022
1030
|
per_level: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"FixedArcaneEnergyCostPerLevel", {
|
|
@@ -1060,6 +1068,16 @@ export declare const ArcaneOrbEnchantment: DB.Entity<"ArcaneOrbEnchantment", {
|
|
|
1060
1068
|
Centuries: DB.EnumCase<null>;
|
|
1061
1069
|
Actions: DB.EnumCase<null>;
|
|
1062
1070
|
CombatRounds: DB.EnumCase<null>;
|
|
1071
|
+
Custom: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CustomDurationUnit", DB.Object<{
|
|
1072
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"CustomDurationUnitTranslation", {
|
|
1073
|
+
name: DB.MemberDecl<DB.String, true>;
|
|
1074
|
+
fullNumber: DB.MemberDecl<DB.String, true>;
|
|
1075
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
1076
|
+
symbol: DB.MemberDecl<DB.String, true>;
|
|
1077
|
+
compressedNumber: DB.MemberDecl<DB.String, true>;
|
|
1078
|
+
compressed: DB.MemberDecl<DB.String, true>;
|
|
1079
|
+
}>, true>;
|
|
1080
|
+
}>, []>>>;
|
|
1063
1081
|
}, []>>, true>;
|
|
1064
1082
|
}>, []>>, true>;
|
|
1065
1083
|
}>, []>>>;
|
|
@@ -1079,6 +1097,16 @@ export declare const ArcaneOrbEnchantment: DB.Entity<"ArcaneOrbEnchantment", {
|
|
|
1079
1097
|
Centuries: DB.EnumCase<null>;
|
|
1080
1098
|
Actions: DB.EnumCase<null>;
|
|
1081
1099
|
CombatRounds: DB.EnumCase<null>;
|
|
1100
|
+
Custom: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"CustomDurationUnit", DB.Object<{
|
|
1101
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"CustomDurationUnitTranslation", {
|
|
1102
|
+
name: DB.MemberDecl<DB.String, true>;
|
|
1103
|
+
fullNumber: DB.MemberDecl<DB.String, true>;
|
|
1104
|
+
full: DB.MemberDecl<DB.String, true>;
|
|
1105
|
+
symbol: DB.MemberDecl<DB.String, true>;
|
|
1106
|
+
compressedNumber: DB.MemberDecl<DB.String, true>;
|
|
1107
|
+
compressed: DB.MemberDecl<DB.String, true>;
|
|
1108
|
+
}>, true>;
|
|
1109
|
+
}>, []>>>;
|
|
1082
1110
|
}, []>>, true>;
|
|
1083
1111
|
}>, []>>, true>;
|
|
1084
1112
|
}>, []>>>;
|
|
@@ -1117,31 +1145,30 @@ export declare const ArcaneOrbEnchantment: DB.Entity<"ArcaneOrbEnchantment", {
|
|
|
1117
1145
|
Verbose: DB.EnumCase<null>;
|
|
1118
1146
|
}, []>>, true>;
|
|
1119
1147
|
}>, []>>>;
|
|
1120
|
-
Map: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"
|
|
1121
|
-
options: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"
|
|
1122
|
-
value: DB.MemberDecl<DB.
|
|
1123
|
-
|
|
1124
|
-
translations: DB.MemberDecl<DB.NestedEntityMap<"OneTimeCostMapOptionTranslation", {
|
|
1148
|
+
Map: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"StandaloneCostMap", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"ParameterMap", DB.Object<{
|
|
1149
|
+
options: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"ParameterMapOption", DB.Object<{
|
|
1150
|
+
value: DB.MemberDecl<DB.TypeArgument<DB.Param<"Value", DB.Type>>, true>;
|
|
1151
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ParameterMapOptionTranslation", {
|
|
1125
1152
|
label: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
1126
1153
|
full: DB.MemberDecl<DB.String, true>;
|
|
1127
1154
|
compressed: DB.MemberDecl<DB.String, false>;
|
|
1128
1155
|
}>, []>>, true>;
|
|
1129
|
-
|
|
1156
|
+
standaloneLabel: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
1130
1157
|
full: DB.MemberDecl<DB.String, true>;
|
|
1131
1158
|
compressed: DB.MemberDecl<DB.String, false>;
|
|
1132
1159
|
}>, []>>, false>;
|
|
1133
1160
|
}>, false>;
|
|
1134
|
-
}>, []>>>, true>;
|
|
1135
|
-
style: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"
|
|
1161
|
+
}>, [Value: DB.Param<"Value", DB.Type>]>>>, true>;
|
|
1162
|
+
style: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"ParameterMapStyle", {
|
|
1136
1163
|
Compressed: DB.EnumCase<null>;
|
|
1137
1164
|
Verbose: DB.EnumCase<null>;
|
|
1138
|
-
}, []>>,
|
|
1139
|
-
translations: DB.MemberDecl<DB.NestedEntityMap<"
|
|
1140
|
-
|
|
1165
|
+
}, []>>, true>;
|
|
1166
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ParameterMapTranslation", {
|
|
1167
|
+
listPrefix: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
1141
1168
|
full: DB.MemberDecl<DB.String, true>;
|
|
1142
1169
|
compressed: DB.MemberDecl<DB.String, false>;
|
|
1143
1170
|
}>, []>>, false>;
|
|
1144
|
-
|
|
1171
|
+
listSuffix: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
1145
1172
|
full: DB.MemberDecl<DB.String, true>;
|
|
1146
1173
|
compressed: DB.MemberDecl<DB.String, false>;
|
|
1147
1174
|
}>, []>>, false>;
|
|
@@ -1150,7 +1177,7 @@ export declare const ArcaneOrbEnchantment: DB.Entity<"ArcaneOrbEnchantment", {
|
|
|
1150
1177
|
compressed: DB.MemberDecl<DB.String, false>;
|
|
1151
1178
|
}>, []>>, false>;
|
|
1152
1179
|
}>, false>;
|
|
1153
|
-
}>, []>>>;
|
|
1180
|
+
}>, [Value: DB.Param<"Value", DB.Type>]>>, []>>>;
|
|
1154
1181
|
}, []>>>;
|
|
1155
1182
|
BindingCost: DB.EnumCase<DB.IncludeIdentifier<[], DB.Enum<"BindingCost", {
|
|
1156
1183
|
Fixed: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"FixedBindingCost", DB.Object<{
|
|
@@ -1159,26 +1186,30 @@ export declare const ArcaneOrbEnchantment: DB.Entity<"ArcaneOrbEnchantment", {
|
|
|
1159
1186
|
PerLevel: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"BindingCostPerLevel", DB.Object<{
|
|
1160
1187
|
permanent_value: DB.MemberDecl<DB.Integer, true>;
|
|
1161
1188
|
}>, []>>>;
|
|
1162
|
-
Map: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"BindingCostMap", DB.Object<{
|
|
1163
|
-
options: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"
|
|
1164
|
-
|
|
1165
|
-
translations: DB.MemberDecl<DB.NestedEntityMap<"
|
|
1189
|
+
Map: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"BindingCostMap", DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"ParameterMap", DB.Object<{
|
|
1190
|
+
options: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<DB.Param<string, DB.Type>[], DB.TypeAlias<"ParameterMapOption", DB.Object<{
|
|
1191
|
+
value: DB.MemberDecl<DB.TypeArgument<DB.Param<"Value", DB.Type>>, true>;
|
|
1192
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ParameterMapOptionTranslation", {
|
|
1166
1193
|
label: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
1167
1194
|
full: DB.MemberDecl<DB.String, true>;
|
|
1168
1195
|
compressed: DB.MemberDecl<DB.String, false>;
|
|
1169
1196
|
}>, []>>, true>;
|
|
1170
|
-
|
|
1197
|
+
standaloneLabel: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
1171
1198
|
full: DB.MemberDecl<DB.String, true>;
|
|
1172
1199
|
compressed: DB.MemberDecl<DB.String, false>;
|
|
1173
1200
|
}>, []>>, false>;
|
|
1174
|
-
}>,
|
|
1175
|
-
}>, []>>>, true>;
|
|
1176
|
-
|
|
1177
|
-
|
|
1201
|
+
}>, false>;
|
|
1202
|
+
}>, [Value: DB.Param<"Value", DB.Type>]>>>, true>;
|
|
1203
|
+
style: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"ParameterMapStyle", {
|
|
1204
|
+
Compressed: DB.EnumCase<null>;
|
|
1205
|
+
Verbose: DB.EnumCase<null>;
|
|
1206
|
+
}, []>>, true>;
|
|
1207
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ParameterMapTranslation", {
|
|
1208
|
+
listPrefix: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
1178
1209
|
full: DB.MemberDecl<DB.String, true>;
|
|
1179
1210
|
compressed: DB.MemberDecl<DB.String, false>;
|
|
1180
1211
|
}>, []>>, false>;
|
|
1181
|
-
|
|
1212
|
+
listSuffix: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"ResponsiveTextOptional", DB.Object<{
|
|
1182
1213
|
full: DB.MemberDecl<DB.String, true>;
|
|
1183
1214
|
compressed: DB.MemberDecl<DB.String, false>;
|
|
1184
1215
|
}>, []>>, false>;
|
|
@@ -1187,7 +1218,7 @@ export declare const ArcaneOrbEnchantment: DB.Entity<"ArcaneOrbEnchantment", {
|
|
|
1187
1218
|
compressed: DB.MemberDecl<DB.String, false>;
|
|
1188
1219
|
}>, []>>, false>;
|
|
1189
1220
|
}>, false>;
|
|
1190
|
-
}>, []>>>;
|
|
1221
|
+
}>, [Value: DB.Param<"Value", DB.Type>]>>, []>>>;
|
|
1191
1222
|
DerivedFromSelection: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"BindingCostDerivedFromSelection", DB.Object<{
|
|
1192
1223
|
fallback: DB.MemberDecl<DB.Integer, true>;
|
|
1193
1224
|
translations: DB.MemberDecl<DB.NestedEntityMap<"BindingCostDerivedFromSelectionTranslation", {
|