optolith-database-schema 0.0.2 → 0.1.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 +46 -0
- package/lib/types/Advantage.d.ts +48 -0
- package/lib/types/Advantage.js +4 -0
- package/lib/types/ArcaneBardTradition.d.ts +2 -2
- package/lib/types/ArcaneDancerTradition.d.ts +2 -2
- package/lib/types/Blessing.d.ts +124 -0
- package/lib/types/Blessing.js +4 -0
- package/lib/types/Cantrip.d.ts +220 -0
- package/lib/types/Cantrip.js +4 -0
- package/lib/types/Ceremony.d.ts +2 -8
- package/lib/types/Continent.d.ts +32 -0
- package/lib/types/Continent.js +4 -0
- package/lib/types/DerivedCharacteristic.d.ts +2 -2
- package/lib/types/Disadvantage.d.ts +46 -0
- package/lib/types/Disadvantage.js +4 -0
- package/lib/types/LiturgicalChant.d.ts +2 -8
- package/lib/types/PactCategory.d.ts +90 -0
- package/lib/types/PactCategory.js +4 -0
- package/lib/types/Patron.d.ts +197 -0
- package/lib/types/Patron.js +4 -0
- package/lib/types/PatronCategory.d.ts +44 -0
- package/lib/types/PatronCategory.js +4 -0
- package/lib/types/Ritual.d.ts +2 -2
- package/lib/types/Spell.d.ts +2 -2
- package/lib/types/_Activatable.d.ts +528 -0
- package/lib/types/_Activatable.js +5 -0
- package/lib/types/_ActivatableSkill.d.ts +44 -22
- package/lib/types/_Enhancements.d.ts +2 -2
- package/lib/types/_I18n.d.ts +38 -0
- package/lib/types/_I18n.js +1 -0
- package/lib/types/_Identifier.d.ts +81 -75
- package/lib/types/_Identifier.js +76 -1
- package/lib/types/_Influence.d.ts +52 -0
- package/lib/types/_Influence.js +4 -0
- package/lib/types/_Prerequisite.d.ts +343 -296
- package/lib/types/_Prerequisite.js +136 -183
- package/lib/types/magicalActions/GeodeRitual.d.ts +2 -2
- package/lib/types/specialAbility/AdvancedCombatSpecialAbility.d.ts +34 -0
- package/lib/types/specialAbility/AdvancedCombatSpecialAbility.js +4 -0
- package/lib/types/specialAbility/AdvancedKarmaSpecialAbility.d.ts +32 -0
- package/lib/types/specialAbility/AdvancedKarmaSpecialAbility.js +4 -0
- package/lib/types/specialAbility/AdvancedMagicalSpecialAbility.d.ts +32 -0
- package/lib/types/specialAbility/AdvancedMagicalSpecialAbility.js +4 -0
- package/lib/types/specialAbility/AdvancedSkillSpecialAbility.d.ts +32 -0
- package/lib/types/specialAbility/AdvancedSkillSpecialAbility.js +4 -0
- package/lib/types/specialAbility/AncestorGlyph.d.ts +30 -0
- package/lib/types/specialAbility/AncestorGlyph.js +4 -0
- package/lib/types/specialAbility/BlessedTradition.d.ts +170 -0
- package/lib/types/specialAbility/BlessedTradition.js +4 -0
- package/lib/types/specialAbility/BrawlingSpecialAbility.d.ts +32 -0
- package/lib/types/specialAbility/BrawlingSpecialAbility.js +4 -0
- package/lib/types/specialAbility/CeremonialItemSpecialAbility.d.ts +33 -0
- package/lib/types/specialAbility/CeremonialItemSpecialAbility.js +4 -0
- package/lib/types/specialAbility/CombatSpecialAbility.d.ts +34 -0
- package/lib/types/specialAbility/CombatSpecialAbility.js +4 -0
- package/lib/types/specialAbility/CombatStyleSpecialAbility.d.ts +43 -0
- package/lib/types/specialAbility/CombatStyleSpecialAbility.js +4 -0
- package/lib/types/specialAbility/CommandSpecialAbility.d.ts +32 -0
- package/lib/types/specialAbility/CommandSpecialAbility.js +4 -0
- package/lib/types/specialAbility/FamiliarSpecialAbility.d.ts +30 -0
- package/lib/types/specialAbility/FamiliarSpecialAbility.js +4 -0
- package/lib/types/specialAbility/FatePointSexSpecialAbility.d.ts +30 -0
- package/lib/types/specialAbility/FatePointSexSpecialAbility.js +4 -0
- package/lib/types/specialAbility/FatePointSpecialAbility.d.ts +32 -0
- package/lib/types/specialAbility/FatePointSpecialAbility.js +4 -0
- package/lib/types/specialAbility/GeneralSpecialAbility.d.ts +32 -0
- package/lib/types/specialAbility/GeneralSpecialAbility.js +4 -0
- package/lib/types/specialAbility/KarmaSpecialAbility.d.ts +30 -0
- package/lib/types/specialAbility/KarmaSpecialAbility.js +4 -0
- package/lib/types/specialAbility/LiturgicalStyleSpecialAbility.d.ts +33 -0
- package/lib/types/specialAbility/LiturgicalStyleSpecialAbility.js +4 -0
- package/lib/types/specialAbility/LycantropicGift.d.ts +30 -0
- package/lib/types/specialAbility/LycantropicGift.js +4 -0
- package/lib/types/specialAbility/MagicStyleSpecialAbility.d.ts +33 -0
- package/lib/types/specialAbility/MagicStyleSpecialAbility.js +4 -0
- package/lib/types/specialAbility/MagicalSpecialAbility.d.ts +32 -0
- package/lib/types/specialAbility/MagicalSpecialAbility.js +4 -0
- package/lib/types/specialAbility/MagicalTradition.d.ts +130 -0
- package/lib/types/specialAbility/MagicalTradition.js +4 -0
- package/lib/types/specialAbility/PactGift.d.ts +86 -0
- package/lib/types/specialAbility/PactGift.js +4 -0
- package/lib/types/specialAbility/ProtectiveWardingCircleSpecialAbility.d.ts +41 -0
- package/lib/types/specialAbility/ProtectiveWardingCircleSpecialAbility.js +4 -0
- package/lib/types/specialAbility/Sermon.d.ts +30 -0
- package/lib/types/specialAbility/Sermon.js +4 -0
- package/lib/types/specialAbility/SexSpecialAbility.d.ts +32 -0
- package/lib/types/specialAbility/SexSpecialAbility.js +4 -0
- package/lib/types/specialAbility/SikaryanDrainSpecialAbility.d.ts +30 -0
- package/lib/types/specialAbility/SikaryanDrainSpecialAbility.js +4 -0
- package/lib/types/specialAbility/SkillStyleSpecialAbility.d.ts +31 -0
- package/lib/types/specialAbility/SkillStyleSpecialAbility.js +4 -0
- package/lib/types/specialAbility/VampiricGift.d.ts +30 -0
- package/lib/types/specialAbility/VampiricGift.js +4 -0
- package/lib/types/specialAbility/Vision.d.ts +30 -0
- package/lib/types/specialAbility/Vision.js +4 -0
- package/lib/types/specialAbility/sub/Language.d.ts +141 -0
- package/lib/types/specialAbility/sub/Language.js +4 -0
- package/lib/types/specialAbility/sub/Script.d.ts +85 -0
- package/lib/types/specialAbility/sub/Script.js +4 -0
- package/lib/types/traditionArtifacts/ArcaneOrbEnchantment.d.ts +31 -0
- package/lib/types/traditionArtifacts/ArcaneOrbEnchantment.js +4 -0
- package/lib/types/traditionArtifacts/AttireEnchantment.d.ts +31 -0
- package/lib/types/traditionArtifacts/AttireEnchantment.js +4 -0
- package/lib/types/traditionArtifacts/BowlEnchantment.d.ts +31 -0
- package/lib/types/traditionArtifacts/BowlEnchantment.js +4 -0
- package/lib/types/traditionArtifacts/CauldronEnchantment.d.ts +44 -0
- package/lib/types/traditionArtifacts/CauldronEnchantment.js +4 -0
- package/lib/types/traditionArtifacts/ChronicleEnchantment.d.ts +31 -0
- package/lib/types/traditionArtifacts/ChronicleEnchantment.js +4 -0
- package/lib/types/traditionArtifacts/DaggerRitual.d.ts +31 -0
- package/lib/types/traditionArtifacts/DaggerRitual.js +4 -0
- package/lib/types/traditionArtifacts/FoolsHatEnchantment.d.ts +31 -0
- package/lib/types/traditionArtifacts/FoolsHatEnchantment.js +4 -0
- package/lib/types/traditionArtifacts/InstrumentEnchantment.d.ts +31 -0
- package/lib/types/traditionArtifacts/InstrumentEnchantment.js +4 -0
- package/lib/types/traditionArtifacts/Krallenkettenzauber.d.ts +31 -0
- package/lib/types/traditionArtifacts/Krallenkettenzauber.js +4 -0
- package/lib/types/traditionArtifacts/OrbEnchantment.d.ts +31 -0
- package/lib/types/traditionArtifacts/OrbEnchantment.js +4 -0
- package/lib/types/traditionArtifacts/RingEnchantment.d.ts +31 -0
- package/lib/types/traditionArtifacts/RingEnchantment.js +4 -0
- package/lib/types/traditionArtifacts/SickleRitual.d.ts +31 -0
- package/lib/types/traditionArtifacts/SickleRitual.js +4 -0
- package/lib/types/traditionArtifacts/SpellSwordEnchantment.d.ts +31 -0
- package/lib/types/traditionArtifacts/SpellSwordEnchantment.js +4 -0
- package/lib/types/traditionArtifacts/StaffEnchantment.d.ts +31 -0
- package/lib/types/traditionArtifacts/StaffEnchantment.js +4 -0
- package/lib/types/traditionArtifacts/ToyEnchantment.d.ts +31 -0
- package/lib/types/traditionArtifacts/ToyEnchantment.js +4 -0
- package/lib/types/traditionArtifacts/Trinkhornzauber.d.ts +31 -0
- package/lib/types/traditionArtifacts/Trinkhornzauber.js +4 -0
- package/lib/types/traditionArtifacts/WandEnchantment.d.ts +31 -0
- package/lib/types/traditionArtifacts/WandEnchantment.js +4 -0
- package/lib/types/traditionArtifacts/WeaponEnchantment.d.ts +31 -0
- package/lib/types/traditionArtifacts/WeaponEnchantment.js +4 -0
- package/lib/types/traditionArtifacts/sub/AnimalShape.d.ts +42 -0
- package/lib/types/traditionArtifacts/sub/AnimalShape.js +4 -0
- package/lib/types/traditionArtifacts/sub/AnimalShapePath.d.ts +30 -0
- package/lib/types/traditionArtifacts/sub/AnimalShapePath.js +4 -0
- package/lib/types/traditionArtifacts/sub/AnimalShapeSize.d.ts +42 -0
- package/lib/types/traditionArtifacts/sub/AnimalShapeSize.js +4 -0
- package/lib/types/traditionArtifacts/sub/Brew.d.ts +30 -0
- package/lib/types/traditionArtifacts/sub/Brew.js +4 -0
- package/package.json +2 -2
- package/schema/Advantage.schema.json +81 -0
- package/schema/ArcaneBardTradition.schema.json +1 -1
- package/schema/ArcaneDancerTradition.schema.json +1 -1
- package/schema/Blessing.schema.json +227 -0
- package/schema/Cantrip.schema.json +427 -0
- package/schema/Ceremony.schema.json +1 -7
- package/schema/Continent.schema.json +46 -0
- package/schema/DerivedCharacteristic.schema.json +1 -1
- package/schema/Disadvantage.schema.json +75 -0
- package/schema/LiturgicalChant.schema.json +1 -7
- package/schema/PactCategory.schema.json +138 -0
- package/schema/Patron.schema.json +407 -0
- package/schema/PatronCategory.schema.json +66 -0
- package/schema/Ritual.schema.json +1 -1
- package/schema/Spell.schema.json +1 -1
- package/schema/_Activatable.schema.json +1182 -0
- package/schema/_ActivatableSkill.schema.json +53 -22
- package/schema/_Enhancements.schema.json +1 -1
- package/schema/_I18n.schema.json +38 -0
- package/schema/_Identifier.schema.json +90 -113
- package/schema/_Influence.schema.json +77 -0
- package/schema/_Prerequisite.schema.json +703 -573
- package/schema/magicalActions/GeodeRitual.schema.json +1 -1
- package/schema/source/Publication.schema.json +1 -1
- package/schema/specialAbility/AdvancedCombatSpecialAbility.schema.json +76 -0
- package/schema/specialAbility/AdvancedKarmaSpecialAbility.schema.json +68 -0
- package/schema/specialAbility/AdvancedMagicalSpecialAbility.schema.json +68 -0
- package/schema/specialAbility/AdvancedSkillSpecialAbility.schema.json +68 -0
- package/schema/specialAbility/AncestorGlyph.schema.json +62 -0
- package/schema/specialAbility/BlessedTradition.schema.json +300 -0
- package/schema/specialAbility/BrawlingSpecialAbility.schema.json +70 -0
- package/schema/specialAbility/CeremonialItemSpecialAbility.schema.json +72 -0
- package/schema/specialAbility/CombatSpecialAbility.schema.json +76 -0
- package/schema/specialAbility/CombatStyleSpecialAbility.schema.json +110 -0
- package/schema/specialAbility/CommandSpecialAbility.schema.json +70 -0
- package/schema/specialAbility/FamiliarSpecialAbility.schema.json +62 -0
- package/schema/specialAbility/FatePointSexSpecialAbility.schema.json +62 -0
- package/schema/specialAbility/FatePointSpecialAbility.schema.json +68 -0
- package/schema/specialAbility/GeneralSpecialAbility.schema.json +68 -0
- package/schema/specialAbility/KarmaSpecialAbility.schema.json +62 -0
- package/schema/specialAbility/LiturgicalStyleSpecialAbility.schema.json +72 -0
- package/schema/specialAbility/LycantropicGift.schema.json +62 -0
- package/schema/specialAbility/MagicStyleSpecialAbility.schema.json +72 -0
- package/schema/specialAbility/MagicalSpecialAbility.schema.json +68 -0
- package/schema/specialAbility/MagicalTradition.schema.json +181 -0
- package/schema/specialAbility/PactGift.schema.json +215 -0
- package/schema/specialAbility/ProtectiveWardingCircleSpecialAbility.schema.json +70 -0
- package/schema/specialAbility/Sermon.schema.json +62 -0
- package/schema/specialAbility/SexSpecialAbility.schema.json +68 -0
- package/schema/specialAbility/SikaryanDrainSpecialAbility.schema.json +62 -0
- package/schema/specialAbility/SkillStyleSpecialAbility.schema.json +66 -0
- package/schema/specialAbility/VampiricGift.schema.json +62 -0
- package/schema/specialAbility/Vision.schema.json +62 -0
- package/schema/specialAbility/sub/Language.schema.json +215 -0
- package/schema/specialAbility/sub/Script.schema.json +127 -0
- package/schema/traditionArtifacts/ArcaneOrbEnchantment.schema.json +66 -0
- package/schema/traditionArtifacts/AttireEnchantment.schema.json +66 -0
- package/schema/traditionArtifacts/BowlEnchantment.schema.json +66 -0
- package/schema/traditionArtifacts/CauldronEnchantment.schema.json +83 -0
- package/schema/traditionArtifacts/ChronicleEnchantment.schema.json +66 -0
- package/schema/traditionArtifacts/DaggerRitual.schema.json +66 -0
- package/schema/traditionArtifacts/FoolsHatEnchantment.schema.json +66 -0
- package/schema/traditionArtifacts/InstrumentEnchantment.schema.json +66 -0
- package/schema/traditionArtifacts/Krallenkettenzauber.schema.json +66 -0
- package/schema/traditionArtifacts/OrbEnchantment.schema.json +66 -0
- package/schema/traditionArtifacts/RingEnchantment.schema.json +66 -0
- package/schema/traditionArtifacts/SickleRitual.schema.json +66 -0
- package/schema/traditionArtifacts/SpellSwordEnchantment.schema.json +66 -0
- package/schema/traditionArtifacts/StaffEnchantment.schema.json +66 -0
- package/schema/traditionArtifacts/ToyEnchantment.schema.json +66 -0
- package/schema/traditionArtifacts/Trinkhornzauber.schema.json +66 -0
- package/schema/traditionArtifacts/WandEnchantment.schema.json +66 -0
- package/schema/traditionArtifacts/WeaponEnchantment.schema.json +66 -0
- package/schema/traditionArtifacts/sub/AnimalShape.schema.json +57 -0
- package/schema/traditionArtifacts/sub/AnimalShapePath.schema.json +45 -0
- package/schema/traditionArtifacts/sub/AnimalShapeSize.schema.json +57 -0
- package/schema/traditionArtifacts/sub/Brew.schema.json +45 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,52 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [0.1.0](https://github.com/elyukai/optolith-database-schema/compare/v0.0.4...v0.1.0) (2022-03-08)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### ⚠ BREAKING CHANGES
|
|
9
|
+
|
|
10
|
+
* extract tradition artifact enchantments and rituals
|
|
11
|
+
* export all prerequisites in another namespace
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* advantages and disadvantages base ([c025bb6](https://github.com/elyukai/optolith-database-schema/commit/c025bb6b8ee6dc3007c0af3b691852a864ebdea6))
|
|
16
|
+
* animal shapes ([56b00f9](https://github.com/elyukai/optolith-database-schema/commit/56b00f90aff28f7cc8e8182f3f049d4593430113))
|
|
17
|
+
* brews ([03a785d](https://github.com/elyukai/optolith-database-schema/commit/03a785d3cfa8fab2da0a8fe1ddb402b2b5a3ab7d))
|
|
18
|
+
* continents ([95482db](https://github.com/elyukai/optolith-database-schema/commit/95482db5671440e24156c651ab094b4a10790223))
|
|
19
|
+
* languages ([b85c4f1](https://github.com/elyukai/optolith-database-schema/commit/b85c4f1bcaf5199cd1501051c17b05a8b5178345))
|
|
20
|
+
* patrons ([c7e9b6c](https://github.com/elyukai/optolith-database-schema/commit/c7e9b6cabdfdfca7d51eb6891bfb8b8b2973bbff))
|
|
21
|
+
* pluralization categories type for user interface ([a434d53](https://github.com/elyukai/optolith-database-schema/commit/a434d53a47e0e50b129855aee8e0a5bc4b634d79))
|
|
22
|
+
* scripts ([78a2e92](https://github.com/elyukai/optolith-database-schema/commit/78a2e92d72c0e2616948e9e2ccc1b51752be3b87))
|
|
23
|
+
* special abilities base ([f935264](https://github.com/elyukai/optolith-database-schema/commit/f935264328d19b29b0e30a0b1907501c30a2d4c5))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
* export all prerequisites in another namespace ([4c09c3e](https://github.com/elyukai/optolith-database-schema/commit/4c09c3e3371beff4587327e40564866b397e311b))
|
|
27
|
+
* extract tradition artifact enchantments and rituals ([58e06c6](https://github.com/elyukai/optolith-database-schema/commit/58e06c6925bb56ea854ad211efcf89f981e715b7))
|
|
28
|
+
|
|
29
|
+
### [0.0.4](https://github.com/elyukai/optolith-database-schema/compare/v0.0.3...v0.0.4) (2022-03-06)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Bug Fixes
|
|
33
|
+
|
|
34
|
+
* broken markdown newlines ([87c5ff2](https://github.com/elyukai/optolith-database-schema/commit/87c5ff243c6df1a9dd966167c85dd41b45c36369))
|
|
35
|
+
* cost map should allow different translations ([f65683f](https://github.com/elyukai/optolith-database-schema/commit/f65683fc45f2c9f16d1571ec9fcbc449eee042b1))
|
|
36
|
+
|
|
37
|
+
### [0.0.3](https://github.com/elyukai/optolith-database-schema/compare/v0.0.2...v0.0.3) (2022-03-05)
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
### Features
|
|
41
|
+
|
|
42
|
+
* blessings ([8586a40](https://github.com/elyukai/optolith-database-schema/commit/8586a4026615ff6ebdc6cfb1e988d71828e5cd23))
|
|
43
|
+
* cantrips ([50397e8](https://github.com/elyukai/optolith-database-schema/commit/50397e83c9322dd36ef0cd28d2924128a6133a27))
|
|
44
|
+
* pact categories ([7b9cbc6](https://github.com/elyukai/optolith-database-schema/commit/7b9cbc66a5f13b40536d03a90f726fd9aff8c15a))
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
### Bug Fixes
|
|
48
|
+
|
|
49
|
+
* liturgies do not have properties ([9b2c41d](https://github.com/elyukai/optolith-database-schema/commit/9b2c41dd9996abeac627b652cdb6ce0226760f2a))
|
|
50
|
+
|
|
5
51
|
### [0.0.2](https://github.com/elyukai/optolith-database-schema/compare/v0.0.1...v0.0.2) (2022-03-05)
|
|
6
52
|
|
|
7
53
|
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @main Advantage
|
|
3
|
+
*/
|
|
4
|
+
import { Errata } from "./source/_Erratum";
|
|
5
|
+
import { PublicationRefs } from "./source/_PublicationRef";
|
|
6
|
+
import * as Activatable from "./_Activatable";
|
|
7
|
+
/**
|
|
8
|
+
* @title Advantage
|
|
9
|
+
*/
|
|
10
|
+
export declare type Advantage = {
|
|
11
|
+
id: Activatable.Id;
|
|
12
|
+
levels?: Activatable.Levels;
|
|
13
|
+
skill_applications?: Activatable.SkillApplications;
|
|
14
|
+
skill_uses?: Activatable.SkillUses;
|
|
15
|
+
ap_value: Activatable.AdventurePointsValue;
|
|
16
|
+
/**
|
|
17
|
+
* Does this advantage not count towards the maximum of AP to be spent
|
|
18
|
+
* on advantages?
|
|
19
|
+
*/
|
|
20
|
+
has_no_maximum_spent_influence?: true;
|
|
21
|
+
/**
|
|
22
|
+
* Does this advantage exclusively applies to arcane spellworks but not
|
|
23
|
+
* to magical actions and applications?
|
|
24
|
+
*/
|
|
25
|
+
is_exclusive_to_arcane_spellworks?: true;
|
|
26
|
+
src: PublicationRefs;
|
|
27
|
+
/**
|
|
28
|
+
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
29
|
+
* @minProperties 1
|
|
30
|
+
*/
|
|
31
|
+
translations: {
|
|
32
|
+
/**
|
|
33
|
+
* @patternProperties ^[a-z]{2}-[A-Z]{2}$
|
|
34
|
+
*/
|
|
35
|
+
[localeId: string]: {
|
|
36
|
+
name: Activatable.Name;
|
|
37
|
+
name_in_library?: Activatable.NameInLibrary;
|
|
38
|
+
rules: Activatable.Rules;
|
|
39
|
+
/**
|
|
40
|
+
* The range.
|
|
41
|
+
* @markdown
|
|
42
|
+
* @minLength 1
|
|
43
|
+
*/
|
|
44
|
+
range?: string;
|
|
45
|
+
errata?: Errata;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @main ArcaneBardTradition
|
|
3
3
|
*/
|
|
4
|
-
import {
|
|
4
|
+
import { Prerequisite } from "./_Prerequisite";
|
|
5
5
|
/**
|
|
6
6
|
* @title Arcane Bard Tradition
|
|
7
7
|
*/
|
|
@@ -12,7 +12,7 @@ export declare type ArcaneBardTradition = {
|
|
|
12
12
|
* @minimum 1
|
|
13
13
|
*/
|
|
14
14
|
id: number;
|
|
15
|
-
prerequisites: GroupCollection.ArcaneTradition;
|
|
15
|
+
prerequisites: Prerequisite.GroupCollection.ArcaneTradition;
|
|
16
16
|
/**
|
|
17
17
|
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
18
18
|
* @minProperties 1
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @main ArcaneDancerTradition
|
|
3
3
|
*/
|
|
4
|
-
import {
|
|
4
|
+
import { Prerequisite } from "./_Prerequisite";
|
|
5
5
|
/**
|
|
6
6
|
* @title Arcane Dancer Tradition
|
|
7
7
|
*/
|
|
@@ -12,7 +12,7 @@ export declare type ArcaneDancerTradition = {
|
|
|
12
12
|
* @minimum 1
|
|
13
13
|
*/
|
|
14
14
|
id: number;
|
|
15
|
-
prerequisites: GroupCollection.ArcaneTradition;
|
|
15
|
+
prerequisites: Prerequisite.GroupCollection.ArcaneTradition;
|
|
16
16
|
/**
|
|
17
17
|
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
18
18
|
* @minProperties 1
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @main Blessing
|
|
3
|
+
*/
|
|
4
|
+
import { Errata } from "./source/_Erratum";
|
|
5
|
+
import { PublicationRefs } from "./source/_PublicationRef";
|
|
6
|
+
import { Duration, TargetCategory } from "./_ActivatableSkill";
|
|
7
|
+
/**
|
|
8
|
+
* @title Blessing
|
|
9
|
+
*/
|
|
10
|
+
export declare type Blessing = {
|
|
11
|
+
/**
|
|
12
|
+
* The blessing's identifier. An unique, increasing integer.
|
|
13
|
+
* @integer
|
|
14
|
+
* @minimum 1
|
|
15
|
+
*/
|
|
16
|
+
id: number;
|
|
17
|
+
/**
|
|
18
|
+
* Measurable parameters of a blessing.
|
|
19
|
+
*/
|
|
20
|
+
parameters: PerformanceParameters;
|
|
21
|
+
/**
|
|
22
|
+
* The target category – the kind of creature or object – the skill affects.
|
|
23
|
+
*/
|
|
24
|
+
target: TargetCategory.T;
|
|
25
|
+
src: PublicationRefs;
|
|
26
|
+
/**
|
|
27
|
+
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
28
|
+
* @minProperties 1
|
|
29
|
+
*/
|
|
30
|
+
translations: {
|
|
31
|
+
/**
|
|
32
|
+
* @patternProperties ^[a-z]{2}-[A-Z]{2}$
|
|
33
|
+
*/
|
|
34
|
+
[localeId: string]: {
|
|
35
|
+
/**
|
|
36
|
+
* The name of the blessing.
|
|
37
|
+
* @minLength 1
|
|
38
|
+
*/
|
|
39
|
+
name: string;
|
|
40
|
+
/**
|
|
41
|
+
* The effect description.
|
|
42
|
+
* @markdown
|
|
43
|
+
* @minLength 1
|
|
44
|
+
*/
|
|
45
|
+
effect: string;
|
|
46
|
+
/**
|
|
47
|
+
* @deprecated
|
|
48
|
+
*/
|
|
49
|
+
range: string;
|
|
50
|
+
/**
|
|
51
|
+
* @deprecated
|
|
52
|
+
*/
|
|
53
|
+
duration: string;
|
|
54
|
+
/**
|
|
55
|
+
* @deprecated
|
|
56
|
+
*/
|
|
57
|
+
target: string;
|
|
58
|
+
errata?: Errata;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* Measurable parameters of a blessing.
|
|
64
|
+
*/
|
|
65
|
+
declare type PerformanceParameters = {
|
|
66
|
+
range: {
|
|
67
|
+
tag: "Self";
|
|
68
|
+
} | {
|
|
69
|
+
tag: "Touch";
|
|
70
|
+
} | {
|
|
71
|
+
tag: "Fixed";
|
|
72
|
+
/**
|
|
73
|
+
* The range in steps/m.
|
|
74
|
+
* @integer
|
|
75
|
+
* @minimum 1
|
|
76
|
+
*/
|
|
77
|
+
value: number;
|
|
78
|
+
};
|
|
79
|
+
duration: {
|
|
80
|
+
tag: "Immediate";
|
|
81
|
+
} | {
|
|
82
|
+
tag: "Fixed";
|
|
83
|
+
/**
|
|
84
|
+
* The (unitless) duration.
|
|
85
|
+
* @integer
|
|
86
|
+
* @minimum 1
|
|
87
|
+
*/
|
|
88
|
+
value: number;
|
|
89
|
+
/**
|
|
90
|
+
* The duration unit.
|
|
91
|
+
*/
|
|
92
|
+
unit: Duration.Unit;
|
|
93
|
+
} | {
|
|
94
|
+
tag: "Indefinite";
|
|
95
|
+
/**
|
|
96
|
+
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
97
|
+
* @minProperties 1
|
|
98
|
+
*/
|
|
99
|
+
translations: {
|
|
100
|
+
/**
|
|
101
|
+
* @patternProperties ^[a-z]{2}-[A-Z]{2}$
|
|
102
|
+
*/
|
|
103
|
+
[localeId: string]: {
|
|
104
|
+
/**
|
|
105
|
+
* A description of the duration.
|
|
106
|
+
*/
|
|
107
|
+
description: {
|
|
108
|
+
/**
|
|
109
|
+
* The full description of the duration.
|
|
110
|
+
* @minLength 1
|
|
111
|
+
*/
|
|
112
|
+
default: string;
|
|
113
|
+
/**
|
|
114
|
+
* A compressed description of the duration for use in small areas
|
|
115
|
+
* (e.g. on character sheet).
|
|
116
|
+
* @minLength 1
|
|
117
|
+
*/
|
|
118
|
+
compressed: string;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
export {};
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @main Spell
|
|
3
|
+
*/
|
|
4
|
+
import { Errata } from "./source/_Erratum";
|
|
5
|
+
import { PublicationRefs } from "./source/_PublicationRef";
|
|
6
|
+
import { Duration, Effect, TargetCategory } from "./_ActivatableSkill";
|
|
7
|
+
import { Enhancements } from "./_Enhancements";
|
|
8
|
+
import { ImprovementCost } from "./_ImprovementCost";
|
|
9
|
+
/**
|
|
10
|
+
* @title Spell
|
|
11
|
+
*/
|
|
12
|
+
export declare type Spell = {
|
|
13
|
+
/**
|
|
14
|
+
* The spell's identifier. An unique, increasing integer.
|
|
15
|
+
* @integer
|
|
16
|
+
* @minimum 1
|
|
17
|
+
*/
|
|
18
|
+
id: number;
|
|
19
|
+
/**
|
|
20
|
+
* Measurable parameters of a spell.
|
|
21
|
+
*/
|
|
22
|
+
parameters: PerformanceParameters;
|
|
23
|
+
/**
|
|
24
|
+
* The target category – the kind of creature or object – the skill affects.
|
|
25
|
+
*/
|
|
26
|
+
target: TargetCategory.T;
|
|
27
|
+
/**
|
|
28
|
+
* The property's identifier.
|
|
29
|
+
* @integer
|
|
30
|
+
* @minimum 1
|
|
31
|
+
*/
|
|
32
|
+
property_id: number;
|
|
33
|
+
/**
|
|
34
|
+
* States which column is used to improve the skill.
|
|
35
|
+
*/
|
|
36
|
+
improvement_cost: ImprovementCost;
|
|
37
|
+
/**
|
|
38
|
+
* A note specifying the dissemination of the cantrip in different traditions.
|
|
39
|
+
* Sometimes a cantrip is exclusively available to one or more specific
|
|
40
|
+
* traditions, but usually one the academies and traditions are listed the
|
|
41
|
+
* cantrip is most commonly teached in.
|
|
42
|
+
*/
|
|
43
|
+
note: {
|
|
44
|
+
tag: "Exclusive";
|
|
45
|
+
/**
|
|
46
|
+
* The traditions the cantrip is exclusively available to.
|
|
47
|
+
* @minItems 1
|
|
48
|
+
* @uniqueItems
|
|
49
|
+
*/
|
|
50
|
+
traditions: {
|
|
51
|
+
/**
|
|
52
|
+
* The magical tradition's identifier.
|
|
53
|
+
* @integer
|
|
54
|
+
* @minimum 2
|
|
55
|
+
*/
|
|
56
|
+
id: number;
|
|
57
|
+
}[];
|
|
58
|
+
} | {
|
|
59
|
+
tag: "Common";
|
|
60
|
+
/**
|
|
61
|
+
* The academies and traditions the cantrip is commonly teached in.
|
|
62
|
+
* @minItems 1
|
|
63
|
+
* @uniqueItems
|
|
64
|
+
*/
|
|
65
|
+
list: CommonNote[];
|
|
66
|
+
};
|
|
67
|
+
src: PublicationRefs;
|
|
68
|
+
/**
|
|
69
|
+
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
70
|
+
* @minProperties 1
|
|
71
|
+
*/
|
|
72
|
+
translations: {
|
|
73
|
+
/**
|
|
74
|
+
* @patternProperties ^[a-z]{2}-[A-Z]{2}$
|
|
75
|
+
*/
|
|
76
|
+
[localeId: string]: {
|
|
77
|
+
/**
|
|
78
|
+
* The name of the spell.
|
|
79
|
+
* @minLength 1
|
|
80
|
+
*/
|
|
81
|
+
name: string;
|
|
82
|
+
/**
|
|
83
|
+
* The effect description may be either a plain text or a text that is
|
|
84
|
+
* divided by a list of effects for each quality level. It may also be a
|
|
85
|
+
* list for each two quality levels.
|
|
86
|
+
*/
|
|
87
|
+
effect: Effect.T;
|
|
88
|
+
/**
|
|
89
|
+
* @deprecated
|
|
90
|
+
*/
|
|
91
|
+
casting_time: {
|
|
92
|
+
full: string;
|
|
93
|
+
abbr: string;
|
|
94
|
+
};
|
|
95
|
+
/**
|
|
96
|
+
* @deprecated
|
|
97
|
+
*/
|
|
98
|
+
cost: {
|
|
99
|
+
full: string;
|
|
100
|
+
abbr: string;
|
|
101
|
+
};
|
|
102
|
+
/**
|
|
103
|
+
* @deprecated
|
|
104
|
+
*/
|
|
105
|
+
range: {
|
|
106
|
+
full: string;
|
|
107
|
+
abbr: string;
|
|
108
|
+
};
|
|
109
|
+
/**
|
|
110
|
+
* @deprecated
|
|
111
|
+
*/
|
|
112
|
+
duration: {
|
|
113
|
+
full: string;
|
|
114
|
+
abbr: string;
|
|
115
|
+
};
|
|
116
|
+
/**
|
|
117
|
+
* @deprecated
|
|
118
|
+
*/
|
|
119
|
+
target: string;
|
|
120
|
+
errata?: Errata;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
enhancements?: Enhancements;
|
|
124
|
+
};
|
|
125
|
+
/**
|
|
126
|
+
* Measurable parameters of a blessing.
|
|
127
|
+
*/
|
|
128
|
+
declare type PerformanceParameters = {
|
|
129
|
+
range: {
|
|
130
|
+
tag: "Self";
|
|
131
|
+
} | {
|
|
132
|
+
tag: "Touch";
|
|
133
|
+
} | {
|
|
134
|
+
tag: "Fixed";
|
|
135
|
+
/**
|
|
136
|
+
* The range in steps/m.
|
|
137
|
+
* @integer
|
|
138
|
+
* @minimum 1
|
|
139
|
+
*/
|
|
140
|
+
value: number;
|
|
141
|
+
/**
|
|
142
|
+
* If `true`, the range is a radius.
|
|
143
|
+
*/
|
|
144
|
+
is_radius?: true;
|
|
145
|
+
};
|
|
146
|
+
duration: {
|
|
147
|
+
tag: "Immediate";
|
|
148
|
+
} | {
|
|
149
|
+
tag: "Fixed";
|
|
150
|
+
/**
|
|
151
|
+
* If `true`, the duration is a maximum duration.
|
|
152
|
+
*/
|
|
153
|
+
is_maximum?: true;
|
|
154
|
+
/**
|
|
155
|
+
* The (unitless) duration.
|
|
156
|
+
* @integer
|
|
157
|
+
* @minimum 1
|
|
158
|
+
*/
|
|
159
|
+
value: number;
|
|
160
|
+
/**
|
|
161
|
+
* The duration unit.
|
|
162
|
+
*/
|
|
163
|
+
unit: Duration.Unit;
|
|
164
|
+
} | {
|
|
165
|
+
tag: "DuringLovemaking";
|
|
166
|
+
/**
|
|
167
|
+
* The duration in rounds.
|
|
168
|
+
* @integer
|
|
169
|
+
* @minimum 1
|
|
170
|
+
*/
|
|
171
|
+
value: number;
|
|
172
|
+
} | {
|
|
173
|
+
tag: "Indefinite";
|
|
174
|
+
/**
|
|
175
|
+
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
176
|
+
* @minProperties 1
|
|
177
|
+
*/
|
|
178
|
+
translations: {
|
|
179
|
+
/**
|
|
180
|
+
* @patternProperties ^[a-z]{2}-[A-Z]{2}$
|
|
181
|
+
*/
|
|
182
|
+
[localeId: string]: {
|
|
183
|
+
/**
|
|
184
|
+
* A description of the duration.
|
|
185
|
+
*/
|
|
186
|
+
description: {
|
|
187
|
+
/**
|
|
188
|
+
* The full description of the duration.
|
|
189
|
+
* @minLength 1
|
|
190
|
+
*/
|
|
191
|
+
default: string;
|
|
192
|
+
/**
|
|
193
|
+
* A compressed description of the duration for use in small areas
|
|
194
|
+
* (e.g. on character sheet).
|
|
195
|
+
* @minLength 1
|
|
196
|
+
*/
|
|
197
|
+
compressed: string;
|
|
198
|
+
};
|
|
199
|
+
};
|
|
200
|
+
};
|
|
201
|
+
};
|
|
202
|
+
};
|
|
203
|
+
export declare type CommonNote = {
|
|
204
|
+
tag: "Academy";
|
|
205
|
+
/**
|
|
206
|
+
* The academy's curriculum identifier.
|
|
207
|
+
* @integer
|
|
208
|
+
* @minimum 1
|
|
209
|
+
*/
|
|
210
|
+
id: number;
|
|
211
|
+
} | {
|
|
212
|
+
tag: "Tradition";
|
|
213
|
+
/**
|
|
214
|
+
* The magical tradition's identifier.
|
|
215
|
+
* @integer
|
|
216
|
+
* @minimum 2
|
|
217
|
+
*/
|
|
218
|
+
id: number;
|
|
219
|
+
};
|
|
220
|
+
export {};
|
package/lib/types/Ceremony.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { PublicationRefs } from "./source/_PublicationRef";
|
|
|
6
6
|
import { Effect, SlowPerformanceParameters, TargetCategory } from "./_ActivatableSkill";
|
|
7
7
|
import { Enhancements } from "./_Enhancements";
|
|
8
8
|
import { ImprovementCost } from "./_ImprovementCost";
|
|
9
|
-
import {
|
|
9
|
+
import { Prerequisite } from "./_Prerequisite";
|
|
10
10
|
import { SkillCheck, SkillCheckPenalty } from "./_SkillCheck";
|
|
11
11
|
/**
|
|
12
12
|
* @title Ceremony
|
|
@@ -34,12 +34,6 @@ export declare type Ceremony = {
|
|
|
34
34
|
* The target category – the kind of creature or object – the skill affects.
|
|
35
35
|
*/
|
|
36
36
|
target: TargetCategory.T;
|
|
37
|
-
/**
|
|
38
|
-
* The property's identifier.
|
|
39
|
-
* @integer
|
|
40
|
-
* @minimum 1
|
|
41
|
-
*/
|
|
42
|
-
property_id: number;
|
|
43
37
|
/**
|
|
44
38
|
* The tradition(s) the ceremony is available for. Note that general aspects
|
|
45
39
|
* do not have an associated tradition and thus need to be defined in a
|
|
@@ -51,7 +45,7 @@ export declare type Ceremony = {
|
|
|
51
45
|
* States which column is used to improve the skill.
|
|
52
46
|
*/
|
|
53
47
|
improvement_cost: ImprovementCost;
|
|
54
|
-
prerequisites?: GroupCollection.Liturgy;
|
|
48
|
+
prerequisites?: Prerequisite.GroupCollection.Liturgy;
|
|
55
49
|
src: PublicationRefs;
|
|
56
50
|
/**
|
|
57
51
|
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @main Continent
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Continents are mostly referenced to in languages and scripts that occur on a
|
|
6
|
+
* specific continent.
|
|
7
|
+
* @title Continent
|
|
8
|
+
*/
|
|
9
|
+
export declare type Continent = {
|
|
10
|
+
/**
|
|
11
|
+
* The continent's identifier. An unique, increasing integer.
|
|
12
|
+
* @integer
|
|
13
|
+
* @minimum 1
|
|
14
|
+
*/
|
|
15
|
+
id: number;
|
|
16
|
+
/**
|
|
17
|
+
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
18
|
+
* @minProperties 1
|
|
19
|
+
*/
|
|
20
|
+
translations: {
|
|
21
|
+
/**
|
|
22
|
+
* @patternProperties ^[a-z]{2}-[A-Z]{2}$
|
|
23
|
+
*/
|
|
24
|
+
[localeId: string]: {
|
|
25
|
+
/**
|
|
26
|
+
* The continent name.
|
|
27
|
+
* @minLength 1
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @main DerivedCharacteristic
|
|
3
3
|
*/
|
|
4
4
|
import { PublicationRefs } from "./source/_PublicationRef";
|
|
5
|
-
import {
|
|
5
|
+
import { Prerequisite } from "./_Prerequisite";
|
|
6
6
|
/**
|
|
7
7
|
* @title Derived Characteristic
|
|
8
8
|
*/
|
|
@@ -13,7 +13,7 @@ export declare type DerivedCharacteristic = {
|
|
|
13
13
|
* @minimum 1
|
|
14
14
|
*/
|
|
15
15
|
id: number;
|
|
16
|
-
prerequisites?: GroupCollection.DerivedCharacteristic;
|
|
16
|
+
prerequisites?: Prerequisite.GroupCollection.DerivedCharacteristic;
|
|
17
17
|
src: PublicationRefs;
|
|
18
18
|
/**
|
|
19
19
|
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @main Disadvantage
|
|
3
|
+
*/
|
|
4
|
+
import { Errata } from "./source/_Erratum";
|
|
5
|
+
import { PublicationRefs } from "./source/_PublicationRef";
|
|
6
|
+
import * as Activatable from "./_Activatable";
|
|
7
|
+
/**
|
|
8
|
+
* @title Disadvantage
|
|
9
|
+
*/
|
|
10
|
+
export declare type Disadvantage = {
|
|
11
|
+
id: Activatable.Id;
|
|
12
|
+
levels?: Activatable.Levels;
|
|
13
|
+
ap_value: Activatable.AdventurePointsValue;
|
|
14
|
+
/**
|
|
15
|
+
* Does this disadvantage not count towards the maximum of AP to be granted by
|
|
16
|
+
* disadvantages?
|
|
17
|
+
*/
|
|
18
|
+
has_no_maximum_spent_influence?: true;
|
|
19
|
+
/**
|
|
20
|
+
* Does this disadvantage exclusively applies to arcane spellworks but not
|
|
21
|
+
* to magical actions and applications?
|
|
22
|
+
*/
|
|
23
|
+
is_exclusive_to_arcane_spellworks?: true;
|
|
24
|
+
src: PublicationRefs;
|
|
25
|
+
/**
|
|
26
|
+
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
27
|
+
* @minProperties 1
|
|
28
|
+
*/
|
|
29
|
+
translations: {
|
|
30
|
+
/**
|
|
31
|
+
* @patternProperties ^[a-z]{2}-[A-Z]{2}$
|
|
32
|
+
*/
|
|
33
|
+
[localeId: string]: {
|
|
34
|
+
name: Activatable.Name;
|
|
35
|
+
name_in_library?: Activatable.NameInLibrary;
|
|
36
|
+
rules: Activatable.Rules;
|
|
37
|
+
/**
|
|
38
|
+
* The range.
|
|
39
|
+
* @markdown
|
|
40
|
+
* @minLength 1
|
|
41
|
+
*/
|
|
42
|
+
range?: string;
|
|
43
|
+
errata?: Errata;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
};
|
|
@@ -6,7 +6,7 @@ import { PublicationRefs } from "./source/_PublicationRef";
|
|
|
6
6
|
import { Effect, FastPerformanceParameters, TargetCategory } from "./_ActivatableSkill";
|
|
7
7
|
import { Enhancements } from "./_Enhancements";
|
|
8
8
|
import { ImprovementCost } from "./_ImprovementCost";
|
|
9
|
-
import {
|
|
9
|
+
import { Prerequisite } from "./_Prerequisite";
|
|
10
10
|
import { SkillCheck, SkillCheckPenalty } from "./_SkillCheck";
|
|
11
11
|
/**
|
|
12
12
|
* @title Liturgical Chant
|
|
@@ -34,12 +34,6 @@ export declare type LiturgicalChant = {
|
|
|
34
34
|
* The target category – the kind of creature or object – the skill affects.
|
|
35
35
|
*/
|
|
36
36
|
target: TargetCategory.T;
|
|
37
|
-
/**
|
|
38
|
-
* The property's identifier.
|
|
39
|
-
* @integer
|
|
40
|
-
* @minimum 1
|
|
41
|
-
*/
|
|
42
|
-
property_id: number;
|
|
43
37
|
/**
|
|
44
38
|
* The tradition(s) the liturgical chant is available for. Note that general
|
|
45
39
|
* aspects do not have an associated tradition and thus need to be defined in
|
|
@@ -51,7 +45,7 @@ export declare type LiturgicalChant = {
|
|
|
51
45
|
* States which column is used to improve the skill.
|
|
52
46
|
*/
|
|
53
47
|
improvement_cost: ImprovementCost;
|
|
54
|
-
prerequisites?: GroupCollection.Liturgy;
|
|
48
|
+
prerequisites?: Prerequisite.GroupCollection.Liturgy;
|
|
55
49
|
src: PublicationRefs;
|
|
56
50
|
/**
|
|
57
51
|
* All translations for the entry, identified by IETF language tag (BCP47).
|