optolith-database-schema 0.1.2 → 0.1.5
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 +37 -0
- package/lib/types/Advantage.d.ts +4 -0
- package/lib/types/ArcaneBardTradition.d.ts +2 -2
- package/lib/types/ArcaneDancerTradition.d.ts +2 -2
- package/lib/types/Ceremony.d.ts +2 -2
- package/lib/types/DerivedCharacteristic.d.ts +2 -2
- package/lib/types/Disadvantage.d.ts +4 -0
- package/lib/types/FamiliarsTrick.d.ts +2 -1
- package/lib/types/LiturgicalChant.d.ts +2 -2
- package/lib/types/Ritual.d.ts +2 -2
- package/lib/types/Spell.d.ts +2 -2
- package/lib/types/_Activatable.d.ts +1434 -79
- package/lib/types/_Activatable.js +44 -0
- package/lib/types/_ActivatableSkill.d.ts +4 -0
- package/lib/types/_Enhancements.d.ts +2 -2
- package/lib/types/_Identifier.d.ts +127 -85
- package/lib/types/_Identifier.js +110 -76
- package/lib/types/_Influence.d.ts +2 -0
- package/lib/types/_Prerequisite.d.ts +93 -397
- package/lib/types/_Prerequisite.js +1 -136
- package/lib/types/magicalActions/AnimistPower.d.ts +5 -0
- package/lib/types/magicalActions/Curse.d.ts +1 -1
- package/lib/types/magicalActions/ElvenMagicalSong.d.ts +1 -1
- package/lib/types/magicalActions/GeodeRitual.d.ts +2 -2
- package/lib/types/prerequisites/ConditionalPrerequisites.d.ts +10 -0
- package/lib/types/prerequisites/ConditionalPrerequisites.js +1 -0
- package/lib/types/prerequisites/DisplayOption.d.ts +19 -0
- package/lib/types/prerequisites/DisplayOption.js +1 -0
- package/lib/types/prerequisites/PrerequisiteGroups.d.ts +32 -0
- package/lib/types/prerequisites/PrerequisiteGroups.js +1 -0
- package/lib/types/prerequisites/single/ActivatablePrerequisite.d.ts +95 -0
- package/lib/types/prerequisites/single/ActivatablePrerequisite.js +1 -0
- package/lib/types/prerequisites/single/AnimistPowerPrerequisite.d.ts +28 -0
- package/lib/types/prerequisites/single/AnimistPowerPrerequisite.js +1 -0
- package/lib/types/prerequisites/single/CommonSuggestedByRCPPrerequisite.d.ts +3 -0
- package/lib/types/prerequisites/single/CommonSuggestedByRCPPrerequisite.js +1 -0
- package/lib/types/prerequisites/single/CulturePrerequisite.d.ts +11 -0
- package/lib/types/prerequisites/single/CulturePrerequisite.js +1 -0
- package/lib/types/prerequisites/single/EnhancementPrerequisite.d.ts +36 -0
- package/lib/types/prerequisites/single/EnhancementPrerequisite.js +1 -0
- package/lib/types/prerequisites/single/InfluencePrerequisite.d.ts +18 -0
- package/lib/types/prerequisites/single/InfluencePrerequisite.js +1 -0
- package/lib/types/prerequisites/single/PactPrerequisite.d.ts +32 -0
- package/lib/types/prerequisites/single/PactPrerequisite.js +1 -0
- package/lib/types/prerequisites/single/PrimaryAttributePrerequisite.d.ts +22 -0
- package/lib/types/prerequisites/single/PrimaryAttributePrerequisite.js +1 -0
- package/lib/types/prerequisites/single/PublicationPrerequisite.d.ts +13 -0
- package/lib/types/prerequisites/single/PublicationPrerequisite.js +1 -0
- package/lib/types/prerequisites/single/RacePrerequisite.d.ts +14 -0
- package/lib/types/prerequisites/single/RacePrerequisite.js +1 -0
- package/lib/types/prerequisites/single/RatedPrerequisite.d.ts +99 -0
- package/lib/types/prerequisites/single/RatedPrerequisite.js +1 -0
- package/lib/types/prerequisites/single/RulePrerequisite.d.ts +10 -0
- package/lib/types/prerequisites/single/RulePrerequisite.js +1 -0
- package/lib/types/prerequisites/single/SexPrerequisite.d.ts +11 -0
- package/lib/types/prerequisites/single/SexPrerequisite.js +1 -0
- package/lib/types/prerequisites/single/SocialStatusPrerequisite.d.ts +16 -0
- package/lib/types/prerequisites/single/SocialStatusPrerequisite.js +1 -0
- package/lib/types/prerequisites/single/StatePrerequisite.d.ts +11 -0
- package/lib/types/prerequisites/single/StatePrerequisite.js +1 -0
- package/lib/types/prerequisites/single/TextPrerequisite.d.ts +31 -0
- package/lib/types/prerequisites/single/TextPrerequisite.js +1 -0
- package/lib/types/prerequisites/single/TraditionPrerequisite.d.ts +33 -0
- package/lib/types/prerequisites/single/TraditionPrerequisite.js +1 -0
- package/lib/types/specialAbility/AdvancedCombatSpecialAbility.d.ts +9 -0
- package/lib/types/specialAbility/AdvancedKarmaSpecialAbility.d.ts +4 -0
- package/lib/types/specialAbility/AdvancedMagicalSpecialAbility.d.ts +4 -0
- package/lib/types/specialAbility/AdvancedSkillSpecialAbility.d.ts +4 -0
- package/lib/types/specialAbility/AncestorGlyph.d.ts +4 -0
- package/lib/types/specialAbility/BlessedTradition.d.ts +5 -2
- package/lib/types/specialAbility/BrawlingSpecialAbility.d.ts +4 -0
- package/lib/types/specialAbility/CeremonialItemSpecialAbility.d.ts +4 -0
- package/lib/types/specialAbility/CombatSpecialAbility.d.ts +9 -0
- package/lib/types/specialAbility/CombatStyleSpecialAbility.d.ts +4 -0
- package/lib/types/specialAbility/CommandSpecialAbility.d.ts +4 -0
- package/lib/types/specialAbility/FamiliarSpecialAbility.d.ts +4 -0
- package/lib/types/specialAbility/FatePointSexSpecialAbility.d.ts +4 -0
- package/lib/types/specialAbility/FatePointSpecialAbility.d.ts +4 -0
- package/lib/types/specialAbility/GeneralSpecialAbility.d.ts +4 -0
- package/lib/types/specialAbility/KarmaSpecialAbility.d.ts +4 -0
- package/lib/types/specialAbility/LiturgicalStyleSpecialAbility.d.ts +4 -0
- package/lib/types/specialAbility/LycantropicGift.d.ts +4 -0
- package/lib/types/specialAbility/MagicStyleSpecialAbility.d.ts +4 -0
- package/lib/types/specialAbility/MagicalSpecialAbility.d.ts +4 -0
- package/lib/types/specialAbility/MagicalTradition.d.ts +3 -0
- package/lib/types/specialAbility/PactGift.d.ts +6 -2
- package/lib/types/specialAbility/ProtectiveWardingCircleSpecialAbility.d.ts +4 -0
- package/lib/types/specialAbility/Sermon.d.ts +4 -0
- package/lib/types/specialAbility/SexSpecialAbility.d.ts +4 -0
- package/lib/types/specialAbility/SikaryanDrainSpecialAbility.d.ts +4 -0
- package/lib/types/specialAbility/SkillStyleSpecialAbility.d.ts +4 -0
- package/lib/types/specialAbility/VampiricGift.d.ts +4 -0
- package/lib/types/specialAbility/Vision.d.ts +4 -0
- package/lib/types/specialAbility/sub/Language.d.ts +2 -2
- package/lib/types/specialAbility/sub/TradeSecret.d.ts +2 -0
- package/lib/types/traditionArtifacts/ArcaneOrbEnchantment.d.ts +18 -0
- package/lib/types/traditionArtifacts/AttireEnchantment.d.ts +18 -0
- package/lib/types/traditionArtifacts/BowlEnchantment.d.ts +18 -0
- package/lib/types/traditionArtifacts/CauldronEnchantment.d.ts +19 -1
- package/lib/types/traditionArtifacts/ChronicleEnchantment.d.ts +18 -0
- package/lib/types/traditionArtifacts/DaggerRitual.d.ts +18 -0
- package/lib/types/traditionArtifacts/FoolsHatEnchantment.d.ts +18 -0
- package/lib/types/traditionArtifacts/InstrumentEnchantment.d.ts +18 -0
- package/lib/types/traditionArtifacts/Krallenkettenzauber.d.ts +18 -0
- package/lib/types/traditionArtifacts/OrbEnchantment.d.ts +18 -0
- package/lib/types/traditionArtifacts/RingEnchantment.d.ts +18 -0
- package/lib/types/traditionArtifacts/SickleRitual.d.ts +18 -0
- package/lib/types/traditionArtifacts/SpellSwordEnchantment.d.ts +18 -0
- package/lib/types/traditionArtifacts/StaffEnchantment.d.ts +18 -0
- package/lib/types/traditionArtifacts/ToyEnchantment.d.ts +18 -0
- package/lib/types/traditionArtifacts/Trinkhornzauber.d.ts +18 -0
- package/lib/types/traditionArtifacts/WandEnchantment.d.ts +18 -0
- package/lib/types/traditionArtifacts/WeaponEnchantment.d.ts +18 -0
- package/package.json +2 -2
- package/schema/Advantage.schema.json +9 -0
- package/schema/ArcaneBardTradition.schema.json +1 -1
- package/schema/ArcaneDancerTradition.schema.json +1 -1
- package/schema/Ceremony.schema.json +1 -1
- package/schema/DerivedCharacteristic.schema.json +1 -1
- package/schema/Disadvantage.schema.json +9 -0
- package/schema/FamiliarsTrick.schema.json +1 -0
- package/schema/LiturgicalChant.schema.json +1 -1
- package/schema/Ritual.schema.json +1 -1
- package/schema/Spell.schema.json +1 -1
- package/schema/_Activatable.schema.json +2447 -239
- package/schema/_ActivatableSkill.schema.json +1 -0
- package/schema/_Enhancements.schema.json +1 -1
- package/schema/_Identifier.schema.json +329 -146
- package/schema/_Influence.schema.json +4 -0
- package/schema/_Prerequisite.schema.json +887 -675
- package/schema/magicalActions/AnimistPower.schema.json +4 -0
- package/schema/magicalActions/Curse.schema.json +1 -1
- package/schema/magicalActions/ElvenMagicalSong.schema.json +1 -1
- package/schema/magicalActions/GeodeRitual.schema.json +1 -1
- package/schema/prerequisites/ConditionalPrerequisites.schema.json +15 -0
- package/schema/prerequisites/DisplayOption.schema.json +48 -0
- package/schema/prerequisites/PrerequisiteGroups.schema.json +246 -0
- package/schema/prerequisites/single/ActivatablePrerequisite.schema.json +142 -0
- package/schema/prerequisites/single/AnimistPowerPrerequisite.schema.json +40 -0
- package/schema/prerequisites/single/CommonSuggestedByRCPPrerequisite.schema.json +18 -0
- package/schema/prerequisites/single/CulturePrerequisite.schema.json +27 -0
- package/schema/prerequisites/single/EnhancementPrerequisite.schema.json +54 -0
- package/schema/prerequisites/single/InfluencePrerequisite.schema.json +33 -0
- package/schema/prerequisites/single/PactPrerequisite.schema.json +46 -0
- package/schema/prerequisites/single/PrimaryAttributePrerequisite.schema.json +58 -0
- package/schema/prerequisites/single/PublicationPrerequisite.schema.json +27 -0
- package/schema/prerequisites/single/RacePrerequisite.schema.json +31 -0
- package/schema/prerequisites/single/RatedPrerequisite.schema.json +184 -0
- package/schema/prerequisites/single/RulePrerequisite.schema.json +26 -0
- package/schema/prerequisites/single/SexPrerequisite.schema.json +27 -0
- package/schema/prerequisites/single/SocialStatusPrerequisite.schema.json +30 -0
- package/schema/prerequisites/single/StatePrerequisite.schema.json +27 -0
- package/schema/prerequisites/single/TextPrerequisite.schema.json +63 -0
- package/schema/prerequisites/single/TraditionPrerequisite.schema.json +96 -0
- package/schema/source/Publication.schema.json +1 -1
- package/schema/specialAbility/AdvancedCombatSpecialAbility.schema.json +15 -0
- package/schema/specialAbility/AdvancedKarmaSpecialAbility.schema.json +9 -0
- package/schema/specialAbility/AdvancedMagicalSpecialAbility.schema.json +9 -0
- package/schema/specialAbility/AdvancedSkillSpecialAbility.schema.json +9 -0
- package/schema/specialAbility/AncestorGlyph.schema.json +9 -0
- package/schema/specialAbility/BlessedTradition.schema.json +7 -1
- package/schema/specialAbility/BrawlingSpecialAbility.schema.json +9 -0
- package/schema/specialAbility/CeremonialItemSpecialAbility.schema.json +9 -0
- package/schema/specialAbility/CombatSpecialAbility.schema.json +15 -0
- package/schema/specialAbility/CombatStyleSpecialAbility.schema.json +9 -0
- package/schema/specialAbility/CommandSpecialAbility.schema.json +9 -0
- package/schema/specialAbility/FamiliarSpecialAbility.schema.json +9 -0
- package/schema/specialAbility/FatePointSexSpecialAbility.schema.json +9 -0
- package/schema/specialAbility/FatePointSpecialAbility.schema.json +9 -0
- package/schema/specialAbility/GeneralSpecialAbility.schema.json +9 -0
- package/schema/specialAbility/KarmaSpecialAbility.schema.json +9 -0
- package/schema/specialAbility/LiturgicalStyleSpecialAbility.schema.json +9 -0
- package/schema/specialAbility/LycantropicGift.schema.json +9 -0
- package/schema/specialAbility/MagicStyleSpecialAbility.schema.json +9 -0
- package/schema/specialAbility/MagicalSpecialAbility.schema.json +9 -0
- package/schema/specialAbility/MagicalTradition.schema.json +6 -0
- package/schema/specialAbility/PactGift.schema.json +10 -1
- package/schema/specialAbility/ProtectiveWardingCircleSpecialAbility.schema.json +9 -0
- package/schema/specialAbility/Sermon.schema.json +9 -0
- package/schema/specialAbility/SexSpecialAbility.schema.json +9 -0
- package/schema/specialAbility/SikaryanDrainSpecialAbility.schema.json +9 -0
- package/schema/specialAbility/SkillStyleSpecialAbility.schema.json +9 -0
- package/schema/specialAbility/VampiricGift.schema.json +9 -0
- package/schema/specialAbility/Vision.schema.json +9 -0
- package/schema/specialAbility/sub/Language.schema.json +1 -1
- package/schema/specialAbility/sub/TradeSecret.schema.json +3 -0
- package/schema/traditionArtifacts/ArcaneOrbEnchantment.schema.json +27 -1
- package/schema/traditionArtifacts/AttireEnchantment.schema.json +27 -1
- package/schema/traditionArtifacts/BowlEnchantment.schema.json +27 -1
- package/schema/traditionArtifacts/CauldronEnchantment.schema.json +30 -4
- package/schema/traditionArtifacts/ChronicleEnchantment.schema.json +27 -1
- package/schema/traditionArtifacts/DaggerRitual.schema.json +27 -1
- package/schema/traditionArtifacts/FoolsHatEnchantment.schema.json +27 -1
- package/schema/traditionArtifacts/InstrumentEnchantment.schema.json +27 -1
- package/schema/traditionArtifacts/Krallenkettenzauber.schema.json +27 -1
- package/schema/traditionArtifacts/OrbEnchantment.schema.json +27 -1
- package/schema/traditionArtifacts/RingEnchantment.schema.json +27 -1
- package/schema/traditionArtifacts/SickleRitual.schema.json +27 -1
- package/schema/traditionArtifacts/SpellSwordEnchantment.schema.json +27 -1
- package/schema/traditionArtifacts/StaffEnchantment.schema.json +27 -1
- package/schema/traditionArtifacts/ToyEnchantment.schema.json +27 -1
- package/schema/traditionArtifacts/Trinkhornzauber.schema.json +27 -1
- package/schema/traditionArtifacts/WandEnchantment.schema.json +27 -1
- package/schema/traditionArtifacts/WeaponEnchantment.schema.json +27 -1
|
@@ -5,7 +5,7 @@ import { SlowSkillCastingTimeUnit } from "../SkillModificationLevel";
|
|
|
5
5
|
import { Errata } from "../source/_Erratum";
|
|
6
6
|
import { PublicationRefs } from "../source/_PublicationRef";
|
|
7
7
|
import { Cost, Duration, Effect, TargetCategory } from "../_ActivatableSkill";
|
|
8
|
-
import {
|
|
8
|
+
import { GeodeRitualPrerequisites } from "../_Prerequisite";
|
|
9
9
|
import { SkillCheck } from "../_SkillCheck";
|
|
10
10
|
/**
|
|
11
11
|
* @title Geode Ritual
|
|
@@ -35,7 +35,7 @@ export declare type GeodeRitual = {
|
|
|
35
35
|
* @minimum 1
|
|
36
36
|
*/
|
|
37
37
|
property_id: number;
|
|
38
|
-
prerequisites?:
|
|
38
|
+
prerequisites?: GeodeRitualPrerequisites;
|
|
39
39
|
src: PublicationRefs;
|
|
40
40
|
/**
|
|
41
41
|
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PreconditionGroup } from "./PrerequisiteGroups";
|
|
2
|
+
/**
|
|
3
|
+
* A list of preconditions for the prerequisite it is defined on, so that it
|
|
4
|
+
* only takes effect if the prerequisites in this list are matched.
|
|
5
|
+
*
|
|
6
|
+
* Usually appears at the `when` property of the parent prerequisite.
|
|
7
|
+
* @title Preconditions (`when`)
|
|
8
|
+
* @minItems 1
|
|
9
|
+
*/
|
|
10
|
+
export declare type Preconditions = PreconditionGroup[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @title Display Option
|
|
3
|
+
*/
|
|
4
|
+
export declare type DisplayOption = {
|
|
5
|
+
tag: "Hide";
|
|
6
|
+
} | {
|
|
7
|
+
tag: "ReplaceWith";
|
|
8
|
+
/**
|
|
9
|
+
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
10
|
+
* @minProperties 1
|
|
11
|
+
*/
|
|
12
|
+
translations: {
|
|
13
|
+
/**
|
|
14
|
+
* @patternProperties ^[a-z]{2}-[A-Z]{2}$
|
|
15
|
+
* @minLength 1
|
|
16
|
+
*/
|
|
17
|
+
[localeId: string]: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ActivatableOptionSetPrerequisite, ActivatablePrerequisite, ActivatableSetPrerequisite } from "./single/ActivatablePrerequisite";
|
|
2
|
+
import { AnimistPowerPrerequisite } from "./single/AnimistPowerPrerequisite";
|
|
3
|
+
import { CommonSuggestedByRCPPrerequisite } from "./single/CommonSuggestedByRCPPrerequisite";
|
|
4
|
+
import { CulturePrerequisite } from "./single/CulturePrerequisite";
|
|
5
|
+
import { ExternalEnhancementPrerequisite, InternalEnhancementPrerequisite } from "./single/EnhancementPrerequisite";
|
|
6
|
+
import { InfluencePrerequisite } from "./single/InfluencePrerequisite";
|
|
7
|
+
import { PactPrerequisite } from "./single/PactPrerequisite";
|
|
8
|
+
import { PrimaryAttributePrerequisite } from "./single/PrimaryAttributePrerequisite";
|
|
9
|
+
import { PublicationPrerequisite } from "./single/PublicationPrerequisite";
|
|
10
|
+
import { RacePrerequisite } from "./single/RacePrerequisite";
|
|
11
|
+
import { RatedMinimumNumberPrerequisite, RatedPrerequisite, RatedSetPrerequisite } from "./single/RatedPrerequisite";
|
|
12
|
+
import { RulePrerequisite } from "./single/RulePrerequisite";
|
|
13
|
+
import { SexPrerequisite } from "./single/SexPrerequisite";
|
|
14
|
+
import { SocialStatusPrerequisite } from "./single/SocialStatusPrerequisite";
|
|
15
|
+
import { StatePrerequisite } from "./single/StatePrerequisite";
|
|
16
|
+
import { TextPrerequisite } from "./single/TextPrerequisite";
|
|
17
|
+
import { BlessedTraditionPrerequisite, MagicalTraditionPrerequisite } from "./single/TraditionPrerequisite";
|
|
18
|
+
export declare type DerivedCharacteristicPrerequisiteGroup = RulePrerequisite;
|
|
19
|
+
export declare type PublicationPrerequisiteGroup = PublicationPrerequisite;
|
|
20
|
+
export declare type GeneralPrerequisiteGroup = SexPrerequisite | RacePrerequisite | CulturePrerequisite | PactPrerequisite | SocialStatusPrerequisite | StatePrerequisite | RulePrerequisite | PrimaryAttributePrerequisite | ActivatablePrerequisite | ActivatableSetPrerequisite | ActivatableOptionSetPrerequisite | BlessedTraditionPrerequisite | MagicalTraditionPrerequisite | RatedPrerequisite | RatedSetPrerequisite | RatedMinimumNumberPrerequisite | ExternalEnhancementPrerequisite | TextPrerequisite;
|
|
21
|
+
export declare type ProfessionPrerequisiteGroup = SexPrerequisite | RacePrerequisite | CulturePrerequisite | ActivatablePrerequisite | RatedPrerequisite;
|
|
22
|
+
export declare type AdvantageDisadvantagePrerequisiteGroup = CommonSuggestedByRCPPrerequisite | SexPrerequisite | RacePrerequisite | CulturePrerequisite | PactPrerequisite | SocialStatusPrerequisite | StatePrerequisite | RulePrerequisite | PrimaryAttributePrerequisite | ActivatablePrerequisite | ActivatableSetPrerequisite | ActivatableOptionSetPrerequisite | BlessedTraditionPrerequisite | MagicalTraditionPrerequisite | RatedPrerequisite | RatedSetPrerequisite | RatedMinimumNumberPrerequisite | ExternalEnhancementPrerequisite | TextPrerequisite;
|
|
23
|
+
export declare type ArcaneTraditionPrerequisiteGroup = SexPrerequisite | CulturePrerequisite;
|
|
24
|
+
export declare type PersonalityTraitPrerequisiteGroup = CulturePrerequisite | TextPrerequisite;
|
|
25
|
+
export declare type SpellworkPrerequisiteGroup = RulePrerequisite | RatedPrerequisite;
|
|
26
|
+
export declare type LiturgyPrerequisiteGroup = RulePrerequisite;
|
|
27
|
+
export declare type InfluencePrerequisiteGroup = InfluencePrerequisite | TextPrerequisite;
|
|
28
|
+
export declare type LanguagePrerequisiteGroup = RacePrerequisite | ActivatablePrerequisite | TextPrerequisite;
|
|
29
|
+
export declare type AnimistPowerPrerequisiteGroup = AnimistPowerPrerequisite;
|
|
30
|
+
export declare type GeodeRitualPrerequisiteGroup = InfluencePrerequisite;
|
|
31
|
+
export declare type EnhancementPrerequisiteGroup = InternalEnhancementPrerequisite;
|
|
32
|
+
export declare type PreconditionGroup = PublicationPrerequisite;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { ActivatableIdentifier, RequirableSelectOptionIdentifier } from "../../_Identifier";
|
|
2
|
+
import { Preconditions } from "../ConditionalPrerequisites";
|
|
3
|
+
import { DisplayOption } from "../DisplayOption";
|
|
4
|
+
/**
|
|
5
|
+
* Requires a specific advantage, disadvantage or special ability.
|
|
6
|
+
* @title Activatable Prerequisite
|
|
7
|
+
*/
|
|
8
|
+
export declare type ActivatablePrerequisite = {
|
|
9
|
+
tag: "Activatable";
|
|
10
|
+
/**
|
|
11
|
+
* The activatable entry's identifier.
|
|
12
|
+
*/
|
|
13
|
+
id: ActivatableIdentifier;
|
|
14
|
+
/**
|
|
15
|
+
* If the required entry should be required to be active or inactive.
|
|
16
|
+
*/
|
|
17
|
+
active: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* The required minimum level of the entry.
|
|
20
|
+
* @integer
|
|
21
|
+
* @minimum 1
|
|
22
|
+
*/
|
|
23
|
+
level?: number;
|
|
24
|
+
/**
|
|
25
|
+
* Required select options. Order is important. Typically, you only need the
|
|
26
|
+
* first array index, though.
|
|
27
|
+
* @minItems 1
|
|
28
|
+
*/
|
|
29
|
+
options?: RequirableSelectOptionIdentifier[];
|
|
30
|
+
display_option?: DisplayOption;
|
|
31
|
+
when?: Preconditions;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Requires a specific advantage, disadvantage or special ability from a given
|
|
35
|
+
* set of entries.
|
|
36
|
+
* @title Activatable Set Prerequisite
|
|
37
|
+
*/
|
|
38
|
+
export declare type ActivatableSetPrerequisite = {
|
|
39
|
+
tag: "ActivatableSet";
|
|
40
|
+
/**
|
|
41
|
+
* The possible activatable entries' identifiers.
|
|
42
|
+
* @minItems 2
|
|
43
|
+
*/
|
|
44
|
+
id: ActivatableIdentifier[];
|
|
45
|
+
/**
|
|
46
|
+
* If the required entry should be required to be active or inactive.
|
|
47
|
+
*/
|
|
48
|
+
active: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* The required minimum level of the entry.
|
|
51
|
+
* @integer
|
|
52
|
+
* @minimum 1
|
|
53
|
+
*/
|
|
54
|
+
level?: number;
|
|
55
|
+
/**
|
|
56
|
+
* Required select options. Order is important. Typically, you only need the
|
|
57
|
+
* first array index, though.
|
|
58
|
+
* @minItems 1
|
|
59
|
+
*/
|
|
60
|
+
options?: RequirableSelectOptionIdentifier[];
|
|
61
|
+
display_option?: DisplayOption;
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* Requires one option from a set of options from a specific advantage,
|
|
65
|
+
* disadvantage or special ability.
|
|
66
|
+
* @title Activatable Option Set Prerequisite
|
|
67
|
+
*/
|
|
68
|
+
export declare type ActivatableOptionSetPrerequisite = {
|
|
69
|
+
tag: "ActivatableOptionSet";
|
|
70
|
+
/**
|
|
71
|
+
* The activatable entry's identifier.
|
|
72
|
+
*/
|
|
73
|
+
id: ActivatableIdentifier;
|
|
74
|
+
/**
|
|
75
|
+
* If the required entry should be required to be active or inactive.
|
|
76
|
+
*/
|
|
77
|
+
active: boolean;
|
|
78
|
+
/**
|
|
79
|
+
* The required minimum level of the entry.
|
|
80
|
+
* @integer
|
|
81
|
+
* @minimum 1
|
|
82
|
+
*/
|
|
83
|
+
level?: number;
|
|
84
|
+
/**
|
|
85
|
+
* The possible set of first options.
|
|
86
|
+
* @minItems 2
|
|
87
|
+
*/
|
|
88
|
+
first_option: RequirableSelectOptionIdentifier[];
|
|
89
|
+
/**
|
|
90
|
+
* Required other select options. Order is important.
|
|
91
|
+
* @minItems 1
|
|
92
|
+
*/
|
|
93
|
+
other_options?: RequirableSelectOptionIdentifier[];
|
|
94
|
+
display_option?: DisplayOption;
|
|
95
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { DisplayOption } from "../DisplayOption";
|
|
2
|
+
/**
|
|
3
|
+
* Requires a specific animist power to be on a minimum value.
|
|
4
|
+
* @title Animist Power Prerequisite
|
|
5
|
+
*/
|
|
6
|
+
export declare type AnimistPowerPrerequisite = {
|
|
7
|
+
tag: "AnimistPower";
|
|
8
|
+
/**
|
|
9
|
+
* The animist power's identifier.
|
|
10
|
+
* @integer
|
|
11
|
+
* @minimum 1
|
|
12
|
+
*/
|
|
13
|
+
id: number;
|
|
14
|
+
/**
|
|
15
|
+
* The level to which the minimum value applies.
|
|
16
|
+
* @integer
|
|
17
|
+
* @minimum 2
|
|
18
|
+
* @default 1
|
|
19
|
+
*/
|
|
20
|
+
level?: number;
|
|
21
|
+
/**
|
|
22
|
+
* The required minimum value.
|
|
23
|
+
* @integer
|
|
24
|
+
* @minimum 0
|
|
25
|
+
*/
|
|
26
|
+
value: number;
|
|
27
|
+
display_option?: DisplayOption;
|
|
28
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { OneOrManyNumericIdentifiers } from "../../_Identifier";
|
|
2
|
+
import { DisplayOption } from "../DisplayOption";
|
|
3
|
+
/**
|
|
4
|
+
* Requires a specific culture or one of a specific set of cultures.
|
|
5
|
+
* @title Culture Prerequisite
|
|
6
|
+
*/
|
|
7
|
+
export declare type CulturePrerequisite = {
|
|
8
|
+
tag: "Culture";
|
|
9
|
+
id: OneOrManyNumericIdentifiers;
|
|
10
|
+
display_option?: DisplayOption;
|
|
11
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { SkillWithEnhancementsIdentifier } from "../../_Identifier";
|
|
2
|
+
import { DisplayOption } from "../DisplayOption";
|
|
3
|
+
/**
|
|
4
|
+
* Requires a specific enhancement from a skill. This should **not** be used
|
|
5
|
+
* for enhancements themselves; they can only require enhancements from the same
|
|
6
|
+
* skill they enhance.
|
|
7
|
+
* @title External Enhancement Prerequisite
|
|
8
|
+
*/
|
|
9
|
+
export declare type ExternalEnhancementPrerequisite = {
|
|
10
|
+
tag: "Enhancement";
|
|
11
|
+
/**
|
|
12
|
+
* The required skill's identifier.
|
|
13
|
+
*/
|
|
14
|
+
skill_id: SkillWithEnhancementsIdentifier;
|
|
15
|
+
/**
|
|
16
|
+
* The required enhancement's identifier.
|
|
17
|
+
* @integer
|
|
18
|
+
* @minimum 1
|
|
19
|
+
*/
|
|
20
|
+
enhancement_id: number;
|
|
21
|
+
display_option?: DisplayOption;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Requires a specific enhancement from a skill. This can only be used by an
|
|
25
|
+
* enhancement to require another enhancement from the same skill.
|
|
26
|
+
* @title Internal Enhancement Prerequisite
|
|
27
|
+
*/
|
|
28
|
+
export declare type InternalEnhancementPrerequisite = {
|
|
29
|
+
tag: "Enhancement";
|
|
30
|
+
/**
|
|
31
|
+
* The enhancement's identifier.
|
|
32
|
+
* @integer
|
|
33
|
+
* @minimum 1
|
|
34
|
+
*/
|
|
35
|
+
id: number;
|
|
36
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { DisplayOption } from "../DisplayOption";
|
|
2
|
+
/**
|
|
3
|
+
* @title Influence Prerequisite
|
|
4
|
+
*/
|
|
5
|
+
export declare type InfluencePrerequisite = {
|
|
6
|
+
tag: "Influence";
|
|
7
|
+
/**
|
|
8
|
+
* The influence's identifier.
|
|
9
|
+
* @integer
|
|
10
|
+
* @minimum 1
|
|
11
|
+
*/
|
|
12
|
+
id: number;
|
|
13
|
+
/**
|
|
14
|
+
* If the referenced influence must or must not be chosen.
|
|
15
|
+
*/
|
|
16
|
+
active: boolean;
|
|
17
|
+
display_option?: DisplayOption;
|
|
18
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { DisplayOption } from "../DisplayOption";
|
|
2
|
+
/**
|
|
3
|
+
* Requires a specific pact.
|
|
4
|
+
* @title Pact Prerequisite
|
|
5
|
+
*/
|
|
6
|
+
export declare type PactPrerequisite = {
|
|
7
|
+
tag: "Pact";
|
|
8
|
+
/**
|
|
9
|
+
* The required pact category's identifier.
|
|
10
|
+
* @integer
|
|
11
|
+
* @minimum 1
|
|
12
|
+
*/
|
|
13
|
+
category_id: number;
|
|
14
|
+
/**
|
|
15
|
+
* The required domains' identifiers.
|
|
16
|
+
*/
|
|
17
|
+
domain_id?: DomainId[];
|
|
18
|
+
/**
|
|
19
|
+
* The required pact level.
|
|
20
|
+
* @integer
|
|
21
|
+
* @minimum 1
|
|
22
|
+
*/
|
|
23
|
+
level?: number;
|
|
24
|
+
display_option?: DisplayOption;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* A domain's identifier.
|
|
28
|
+
* @integer
|
|
29
|
+
* @minimum 1
|
|
30
|
+
*/
|
|
31
|
+
declare type DomainId = number;
|
|
32
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { DisplayOption } from "../DisplayOption";
|
|
2
|
+
/**
|
|
3
|
+
* @title Primary Attribute Prerequisite
|
|
4
|
+
*/
|
|
5
|
+
export declare type PrimaryAttributePrerequisite = {
|
|
6
|
+
tag: "PrimaryAttribute";
|
|
7
|
+
/**
|
|
8
|
+
* Is the required primary attribute for spellcasters or blessed ones?
|
|
9
|
+
*/
|
|
10
|
+
category: {
|
|
11
|
+
tag: "Blessed";
|
|
12
|
+
} | {
|
|
13
|
+
tag: "Magical";
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* Required value of the attribute
|
|
17
|
+
* @integer
|
|
18
|
+
* @minimum 9
|
|
19
|
+
*/
|
|
20
|
+
value: number;
|
|
21
|
+
display_option?: DisplayOption;
|
|
22
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { DisplayOption } from "../DisplayOption";
|
|
2
|
+
/**
|
|
3
|
+
* @title Publication Prerequisite
|
|
4
|
+
*/
|
|
5
|
+
export declare type PublicationPrerequisite = {
|
|
6
|
+
tag: "Publication";
|
|
7
|
+
/**
|
|
8
|
+
* @integer
|
|
9
|
+
* @minimum 1
|
|
10
|
+
*/
|
|
11
|
+
id: number;
|
|
12
|
+
display_option?: DisplayOption;
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { OneOrManyNumericIdentifiers } from "../../_Identifier";
|
|
2
|
+
import { DisplayOption } from "../DisplayOption";
|
|
3
|
+
/**
|
|
4
|
+
* Requires a specific race or one of a specific set of races. You can also
|
|
5
|
+
* provide an object to say whether the hero must meet one of the races or
|
|
6
|
+
* if the entry does not allow one of the races.
|
|
7
|
+
* @title Race Prerequisite
|
|
8
|
+
*/
|
|
9
|
+
export declare type RacePrerequisite = {
|
|
10
|
+
tag: "Culture";
|
|
11
|
+
id: OneOrManyNumericIdentifiers;
|
|
12
|
+
active: boolean;
|
|
13
|
+
display_option?: DisplayOption;
|
|
14
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { RatedIdentifier } from "../../_Identifier";
|
|
2
|
+
import { DisplayOption } from "../DisplayOption";
|
|
3
|
+
/**
|
|
4
|
+
* @title Rated Prerequisite
|
|
5
|
+
*/
|
|
6
|
+
export declare type RatedPrerequisite = {
|
|
7
|
+
tag: "Rated";
|
|
8
|
+
/**
|
|
9
|
+
* The rated entry's identifier.
|
|
10
|
+
*/
|
|
11
|
+
id: RatedIdentifier;
|
|
12
|
+
/**
|
|
13
|
+
* The required minimum value.
|
|
14
|
+
* @integer
|
|
15
|
+
* @minimum 0
|
|
16
|
+
*/
|
|
17
|
+
value: number;
|
|
18
|
+
display_option?: DisplayOption;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* @title Rated Set Prerequisite
|
|
22
|
+
*/
|
|
23
|
+
export declare type RatedSetPrerequisite = {
|
|
24
|
+
tag: "RatedSet";
|
|
25
|
+
/**
|
|
26
|
+
* The possible rated entries' identifiers.
|
|
27
|
+
* @minItems 2
|
|
28
|
+
*/
|
|
29
|
+
id: RatedIdentifier[];
|
|
30
|
+
/**
|
|
31
|
+
* The required minimum value.
|
|
32
|
+
* @integer
|
|
33
|
+
* @minimum 0
|
|
34
|
+
*/
|
|
35
|
+
value: number;
|
|
36
|
+
display_option?: DisplayOption;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* @title Rated Minimum Number Prerequisite
|
|
40
|
+
*/
|
|
41
|
+
export declare type RatedMinimumNumberPrerequisite = {
|
|
42
|
+
tag: "RatedMinimumNumber";
|
|
43
|
+
/**
|
|
44
|
+
* The minimum number of skills that need to be on the defined minimum skill
|
|
45
|
+
* rating.
|
|
46
|
+
* @integer
|
|
47
|
+
* @minimum 1
|
|
48
|
+
*/
|
|
49
|
+
number: number;
|
|
50
|
+
/**
|
|
51
|
+
* The minimum skill rating the defined minimum number of skills need to be
|
|
52
|
+
* on.
|
|
53
|
+
* @integer
|
|
54
|
+
* @minimum 1
|
|
55
|
+
*/
|
|
56
|
+
value: number;
|
|
57
|
+
/**
|
|
58
|
+
* The targets that contribute to satisfying the prerequisite.
|
|
59
|
+
*/
|
|
60
|
+
targets: {
|
|
61
|
+
tag: "Skills";
|
|
62
|
+
/**
|
|
63
|
+
* The skills that are taken into account for satisfying the prerequisite.
|
|
64
|
+
* @minItems 2
|
|
65
|
+
* @uniqueItems
|
|
66
|
+
*/
|
|
67
|
+
skills: {
|
|
68
|
+
/**
|
|
69
|
+
* The skill's identifier.
|
|
70
|
+
*/
|
|
71
|
+
id: number;
|
|
72
|
+
}[];
|
|
73
|
+
} | {
|
|
74
|
+
tag: "Spellworks";
|
|
75
|
+
/**
|
|
76
|
+
* Spellworks with the referenced property are taken into account for
|
|
77
|
+
* satisfying the prerequisite.
|
|
78
|
+
*/
|
|
79
|
+
property: {
|
|
80
|
+
/**
|
|
81
|
+
* The property's identifier.
|
|
82
|
+
*/
|
|
83
|
+
id: number;
|
|
84
|
+
};
|
|
85
|
+
} | {
|
|
86
|
+
tag: "Liturgies";
|
|
87
|
+
/**
|
|
88
|
+
* Liturgies with the referenced aspect are taken into account for
|
|
89
|
+
* satisfying the prerequisite.
|
|
90
|
+
*/
|
|
91
|
+
aspect: {
|
|
92
|
+
/**
|
|
93
|
+
* The aspect's identifier.
|
|
94
|
+
*/
|
|
95
|
+
id: number;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
display_option?: DisplayOption;
|
|
99
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ExtensionRuleIdentifier } from "../../_Identifier";
|
|
2
|
+
import { DisplayOption } from "../DisplayOption";
|
|
3
|
+
/**
|
|
4
|
+
* @title Rule Prerequisite
|
|
5
|
+
*/
|
|
6
|
+
export declare type RulePrerequisite = {
|
|
7
|
+
tag: "Rule";
|
|
8
|
+
id: ExtensionRuleIdentifier;
|
|
9
|
+
display_option?: DisplayOption;
|
|
10
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BinarySex } from "../../_Sex";
|
|
2
|
+
import { DisplayOption } from "../DisplayOption";
|
|
3
|
+
/**
|
|
4
|
+
* Requires a specific sex.
|
|
5
|
+
* @title Sex Prerequisite
|
|
6
|
+
*/
|
|
7
|
+
export declare type SexPrerequisite = {
|
|
8
|
+
tag: "Sex";
|
|
9
|
+
id: BinarySex;
|
|
10
|
+
display_option?: DisplayOption;
|
|
11
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { DisplayOption } from "../DisplayOption";
|
|
2
|
+
/**
|
|
3
|
+
* Requires a minimum social status.
|
|
4
|
+
* @title Social Status Prerequisite
|
|
5
|
+
*/
|
|
6
|
+
export declare type SocialStatusPrerequisite = {
|
|
7
|
+
tag: "SocialStatus";
|
|
8
|
+
/**
|
|
9
|
+
* The minimum social status' identifier.
|
|
10
|
+
* @integer
|
|
11
|
+
* @minimum 2
|
|
12
|
+
* @maximum 5
|
|
13
|
+
*/
|
|
14
|
+
id: number;
|
|
15
|
+
display_option?: DisplayOption;
|
|
16
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { OneOrManyNumericIdentifiers } from "../../_Identifier";
|
|
2
|
+
import { DisplayOption } from "../DisplayOption";
|
|
3
|
+
/**
|
|
4
|
+
* Requires a specific state or one of a specific set of states.
|
|
5
|
+
* @title State Prerequisite
|
|
6
|
+
*/
|
|
7
|
+
export declare type StatePrerequisite = {
|
|
8
|
+
tag: "Culture";
|
|
9
|
+
id: OneOrManyNumericIdentifiers;
|
|
10
|
+
display_option?: DisplayOption;
|
|
11
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A prerequisite that is either not verifyable in general – e.g. roleplay or
|
|
3
|
+
* background information – or the referenced entities were not made available
|
|
4
|
+
* for use yet – e.g. races –, but which should be displayed, because it is part
|
|
5
|
+
* of the prerequisite string from the sources.
|
|
6
|
+
* @title Impossible Prerequisite
|
|
7
|
+
*/
|
|
8
|
+
export declare type TextPrerequisite = {
|
|
9
|
+
tag: "Text";
|
|
10
|
+
/**
|
|
11
|
+
* The method how the prerequisite should be verified. Either is passes all
|
|
12
|
+
* verification text or it denies all verification tests. The latter results
|
|
13
|
+
* in the associated entry to never be available for purchase.
|
|
14
|
+
*/
|
|
15
|
+
verification: {
|
|
16
|
+
tag: "Pass";
|
|
17
|
+
} | {
|
|
18
|
+
tag: "Deny";
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
22
|
+
* @minProperties 1
|
|
23
|
+
*/
|
|
24
|
+
translations: {
|
|
25
|
+
/**
|
|
26
|
+
* @patternProperties ^[a-z]{2}-[A-Z]{2}$
|
|
27
|
+
* @minLength 1
|
|
28
|
+
*/
|
|
29
|
+
[localeId: string]: string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { DisplayOption } from "../DisplayOption";
|
|
2
|
+
/**
|
|
3
|
+
* @title Blessed Tradition Prerequisite
|
|
4
|
+
*/
|
|
5
|
+
export declare type BlessedTraditionPrerequisite = {
|
|
6
|
+
tag: "BlessedTradition";
|
|
7
|
+
/**
|
|
8
|
+
* The blessed tradition prerequisite may only be satified if the blessed
|
|
9
|
+
* tradition is either church or shamanistic.
|
|
10
|
+
*/
|
|
11
|
+
restriction?: {
|
|
12
|
+
tag: "Church";
|
|
13
|
+
} | {
|
|
14
|
+
tag: "Shamanistic";
|
|
15
|
+
};
|
|
16
|
+
display_option?: DisplayOption;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* @title Magical Tradition Prerequisite
|
|
20
|
+
*/
|
|
21
|
+
export declare type MagicalTraditionPrerequisite = {
|
|
22
|
+
tag: "MagicalTradition";
|
|
23
|
+
/**
|
|
24
|
+
* The magical tradition prerequisite may only be satified if the magical
|
|
25
|
+
* tradition can learn rituals or can bind familiars.
|
|
26
|
+
*/
|
|
27
|
+
restriction?: {
|
|
28
|
+
tag: "CanLearnRituals";
|
|
29
|
+
} | {
|
|
30
|
+
tag: "CanBindFamiliars";
|
|
31
|
+
};
|
|
32
|
+
display_option?: DisplayOption;
|
|
33
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|