optolith-database-schema 0.0.4 → 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.
Files changed (210) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/lib/types/Advantage.d.ts +48 -0
  3. package/lib/types/Advantage.js +4 -0
  4. package/lib/types/ArcaneBardTradition.d.ts +2 -2
  5. package/lib/types/ArcaneDancerTradition.d.ts +2 -2
  6. package/lib/types/Ceremony.d.ts +2 -2
  7. package/lib/types/Continent.d.ts +32 -0
  8. package/lib/types/Continent.js +4 -0
  9. package/lib/types/DerivedCharacteristic.d.ts +2 -2
  10. package/lib/types/Disadvantage.d.ts +46 -0
  11. package/lib/types/Disadvantage.js +4 -0
  12. package/lib/types/LiturgicalChant.d.ts +2 -2
  13. package/lib/types/Patron.d.ts +197 -0
  14. package/lib/types/Patron.js +4 -0
  15. package/lib/types/PatronCategory.d.ts +44 -0
  16. package/lib/types/PatronCategory.js +4 -0
  17. package/lib/types/Ritual.d.ts +2 -2
  18. package/lib/types/Spell.d.ts +2 -2
  19. package/lib/types/_Activatable.d.ts +528 -0
  20. package/lib/types/_Activatable.js +5 -0
  21. package/lib/types/_Enhancements.d.ts +2 -2
  22. package/lib/types/_I18n.d.ts +38 -0
  23. package/lib/types/_I18n.js +1 -0
  24. package/lib/types/_Identifier.d.ts +81 -75
  25. package/lib/types/_Identifier.js +76 -1
  26. package/lib/types/_Influence.d.ts +52 -0
  27. package/lib/types/_Influence.js +4 -0
  28. package/lib/types/_Prerequisite.d.ts +343 -296
  29. package/lib/types/_Prerequisite.js +136 -183
  30. package/lib/types/magicalActions/GeodeRitual.d.ts +2 -2
  31. package/lib/types/specialAbility/AdvancedCombatSpecialAbility.d.ts +34 -0
  32. package/lib/types/specialAbility/AdvancedCombatSpecialAbility.js +4 -0
  33. package/lib/types/specialAbility/AdvancedKarmaSpecialAbility.d.ts +32 -0
  34. package/lib/types/specialAbility/AdvancedKarmaSpecialAbility.js +4 -0
  35. package/lib/types/specialAbility/AdvancedMagicalSpecialAbility.d.ts +32 -0
  36. package/lib/types/specialAbility/AdvancedMagicalSpecialAbility.js +4 -0
  37. package/lib/types/specialAbility/AdvancedSkillSpecialAbility.d.ts +32 -0
  38. package/lib/types/specialAbility/AdvancedSkillSpecialAbility.js +4 -0
  39. package/lib/types/specialAbility/AncestorGlyph.d.ts +30 -0
  40. package/lib/types/specialAbility/AncestorGlyph.js +4 -0
  41. package/lib/types/specialAbility/BlessedTradition.d.ts +170 -0
  42. package/lib/types/specialAbility/BlessedTradition.js +4 -0
  43. package/lib/types/specialAbility/BrawlingSpecialAbility.d.ts +32 -0
  44. package/lib/types/specialAbility/BrawlingSpecialAbility.js +4 -0
  45. package/lib/types/specialAbility/CeremonialItemSpecialAbility.d.ts +33 -0
  46. package/lib/types/specialAbility/CeremonialItemSpecialAbility.js +4 -0
  47. package/lib/types/specialAbility/CombatSpecialAbility.d.ts +34 -0
  48. package/lib/types/specialAbility/CombatSpecialAbility.js +4 -0
  49. package/lib/types/specialAbility/CombatStyleSpecialAbility.d.ts +43 -0
  50. package/lib/types/specialAbility/CombatStyleSpecialAbility.js +4 -0
  51. package/lib/types/specialAbility/CommandSpecialAbility.d.ts +32 -0
  52. package/lib/types/specialAbility/CommandSpecialAbility.js +4 -0
  53. package/lib/types/specialAbility/FamiliarSpecialAbility.d.ts +30 -0
  54. package/lib/types/specialAbility/FamiliarSpecialAbility.js +4 -0
  55. package/lib/types/specialAbility/FatePointSexSpecialAbility.d.ts +30 -0
  56. package/lib/types/specialAbility/FatePointSexSpecialAbility.js +4 -0
  57. package/lib/types/specialAbility/FatePointSpecialAbility.d.ts +32 -0
  58. package/lib/types/specialAbility/FatePointSpecialAbility.js +4 -0
  59. package/lib/types/specialAbility/GeneralSpecialAbility.d.ts +32 -0
  60. package/lib/types/specialAbility/GeneralSpecialAbility.js +4 -0
  61. package/lib/types/specialAbility/KarmaSpecialAbility.d.ts +30 -0
  62. package/lib/types/specialAbility/KarmaSpecialAbility.js +4 -0
  63. package/lib/types/specialAbility/LiturgicalStyleSpecialAbility.d.ts +33 -0
  64. package/lib/types/specialAbility/LiturgicalStyleSpecialAbility.js +4 -0
  65. package/lib/types/specialAbility/LycantropicGift.d.ts +30 -0
  66. package/lib/types/specialAbility/LycantropicGift.js +4 -0
  67. package/lib/types/specialAbility/MagicStyleSpecialAbility.d.ts +33 -0
  68. package/lib/types/specialAbility/MagicStyleSpecialAbility.js +4 -0
  69. package/lib/types/specialAbility/MagicalSpecialAbility.d.ts +32 -0
  70. package/lib/types/specialAbility/MagicalSpecialAbility.js +4 -0
  71. package/lib/types/specialAbility/MagicalTradition.d.ts +130 -0
  72. package/lib/types/specialAbility/MagicalTradition.js +4 -0
  73. package/lib/types/specialAbility/PactGift.d.ts +86 -0
  74. package/lib/types/specialAbility/PactGift.js +4 -0
  75. package/lib/types/specialAbility/ProtectiveWardingCircleSpecialAbility.d.ts +41 -0
  76. package/lib/types/specialAbility/ProtectiveWardingCircleSpecialAbility.js +4 -0
  77. package/lib/types/specialAbility/Sermon.d.ts +30 -0
  78. package/lib/types/specialAbility/Sermon.js +4 -0
  79. package/lib/types/specialAbility/SexSpecialAbility.d.ts +32 -0
  80. package/lib/types/specialAbility/SexSpecialAbility.js +4 -0
  81. package/lib/types/specialAbility/SikaryanDrainSpecialAbility.d.ts +30 -0
  82. package/lib/types/specialAbility/SikaryanDrainSpecialAbility.js +4 -0
  83. package/lib/types/specialAbility/SkillStyleSpecialAbility.d.ts +31 -0
  84. package/lib/types/specialAbility/SkillStyleSpecialAbility.js +4 -0
  85. package/lib/types/specialAbility/VampiricGift.d.ts +30 -0
  86. package/lib/types/specialAbility/VampiricGift.js +4 -0
  87. package/lib/types/specialAbility/Vision.d.ts +30 -0
  88. package/lib/types/specialAbility/Vision.js +4 -0
  89. package/lib/types/specialAbility/sub/Language.d.ts +141 -0
  90. package/lib/types/specialAbility/sub/Language.js +4 -0
  91. package/lib/types/specialAbility/sub/Script.d.ts +85 -0
  92. package/lib/types/specialAbility/sub/Script.js +4 -0
  93. package/lib/types/traditionArtifacts/ArcaneOrbEnchantment.d.ts +31 -0
  94. package/lib/types/traditionArtifacts/ArcaneOrbEnchantment.js +4 -0
  95. package/lib/types/traditionArtifacts/AttireEnchantment.d.ts +31 -0
  96. package/lib/types/traditionArtifacts/AttireEnchantment.js +4 -0
  97. package/lib/types/traditionArtifacts/BowlEnchantment.d.ts +31 -0
  98. package/lib/types/traditionArtifacts/BowlEnchantment.js +4 -0
  99. package/lib/types/traditionArtifacts/CauldronEnchantment.d.ts +44 -0
  100. package/lib/types/traditionArtifacts/CauldronEnchantment.js +4 -0
  101. package/lib/types/traditionArtifacts/ChronicleEnchantment.d.ts +31 -0
  102. package/lib/types/traditionArtifacts/ChronicleEnchantment.js +4 -0
  103. package/lib/types/traditionArtifacts/DaggerRitual.d.ts +31 -0
  104. package/lib/types/traditionArtifacts/DaggerRitual.js +4 -0
  105. package/lib/types/traditionArtifacts/FoolsHatEnchantment.d.ts +31 -0
  106. package/lib/types/traditionArtifacts/FoolsHatEnchantment.js +4 -0
  107. package/lib/types/traditionArtifacts/InstrumentEnchantment.d.ts +31 -0
  108. package/lib/types/traditionArtifacts/InstrumentEnchantment.js +4 -0
  109. package/lib/types/traditionArtifacts/Krallenkettenzauber.d.ts +31 -0
  110. package/lib/types/traditionArtifacts/Krallenkettenzauber.js +4 -0
  111. package/lib/types/traditionArtifacts/OrbEnchantment.d.ts +31 -0
  112. package/lib/types/traditionArtifacts/OrbEnchantment.js +4 -0
  113. package/lib/types/traditionArtifacts/RingEnchantment.d.ts +31 -0
  114. package/lib/types/traditionArtifacts/RingEnchantment.js +4 -0
  115. package/lib/types/traditionArtifacts/SickleRitual.d.ts +31 -0
  116. package/lib/types/traditionArtifacts/SickleRitual.js +4 -0
  117. package/lib/types/traditionArtifacts/SpellSwordEnchantment.d.ts +31 -0
  118. package/lib/types/traditionArtifacts/SpellSwordEnchantment.js +4 -0
  119. package/lib/types/traditionArtifacts/StaffEnchantment.d.ts +31 -0
  120. package/lib/types/traditionArtifacts/StaffEnchantment.js +4 -0
  121. package/lib/types/traditionArtifacts/ToyEnchantment.d.ts +31 -0
  122. package/lib/types/traditionArtifacts/ToyEnchantment.js +4 -0
  123. package/lib/types/traditionArtifacts/Trinkhornzauber.d.ts +31 -0
  124. package/lib/types/traditionArtifacts/Trinkhornzauber.js +4 -0
  125. package/lib/types/traditionArtifacts/WandEnchantment.d.ts +31 -0
  126. package/lib/types/traditionArtifacts/WandEnchantment.js +4 -0
  127. package/lib/types/traditionArtifacts/WeaponEnchantment.d.ts +31 -0
  128. package/lib/types/traditionArtifacts/WeaponEnchantment.js +4 -0
  129. package/lib/types/traditionArtifacts/sub/AnimalShape.d.ts +42 -0
  130. package/lib/types/traditionArtifacts/sub/AnimalShape.js +4 -0
  131. package/lib/types/traditionArtifacts/sub/AnimalShapePath.d.ts +30 -0
  132. package/lib/types/traditionArtifacts/sub/AnimalShapePath.js +4 -0
  133. package/lib/types/traditionArtifacts/sub/AnimalShapeSize.d.ts +42 -0
  134. package/lib/types/traditionArtifacts/sub/AnimalShapeSize.js +4 -0
  135. package/lib/types/traditionArtifacts/sub/Brew.d.ts +30 -0
  136. package/lib/types/traditionArtifacts/sub/Brew.js +4 -0
  137. package/package.json +1 -1
  138. package/schema/Advantage.schema.json +81 -0
  139. package/schema/ArcaneBardTradition.schema.json +1 -1
  140. package/schema/ArcaneDancerTradition.schema.json +1 -1
  141. package/schema/Ceremony.schema.json +1 -1
  142. package/schema/Continent.schema.json +46 -0
  143. package/schema/DerivedCharacteristic.schema.json +1 -1
  144. package/schema/Disadvantage.schema.json +75 -0
  145. package/schema/LiturgicalChant.schema.json +1 -1
  146. package/schema/Patron.schema.json +407 -0
  147. package/schema/PatronCategory.schema.json +66 -0
  148. package/schema/Ritual.schema.json +1 -1
  149. package/schema/Spell.schema.json +1 -1
  150. package/schema/_Activatable.schema.json +1182 -0
  151. package/schema/_Enhancements.schema.json +1 -1
  152. package/schema/_I18n.schema.json +38 -0
  153. package/schema/_Identifier.schema.json +90 -113
  154. package/schema/_Influence.schema.json +77 -0
  155. package/schema/_Prerequisite.schema.json +703 -573
  156. package/schema/magicalActions/GeodeRitual.schema.json +1 -1
  157. package/schema/source/Publication.schema.json +1 -1
  158. package/schema/specialAbility/AdvancedCombatSpecialAbility.schema.json +76 -0
  159. package/schema/specialAbility/AdvancedKarmaSpecialAbility.schema.json +68 -0
  160. package/schema/specialAbility/AdvancedMagicalSpecialAbility.schema.json +68 -0
  161. package/schema/specialAbility/AdvancedSkillSpecialAbility.schema.json +68 -0
  162. package/schema/specialAbility/AncestorGlyph.schema.json +62 -0
  163. package/schema/specialAbility/BlessedTradition.schema.json +300 -0
  164. package/schema/specialAbility/BrawlingSpecialAbility.schema.json +70 -0
  165. package/schema/specialAbility/CeremonialItemSpecialAbility.schema.json +72 -0
  166. package/schema/specialAbility/CombatSpecialAbility.schema.json +76 -0
  167. package/schema/specialAbility/CombatStyleSpecialAbility.schema.json +110 -0
  168. package/schema/specialAbility/CommandSpecialAbility.schema.json +70 -0
  169. package/schema/specialAbility/FamiliarSpecialAbility.schema.json +62 -0
  170. package/schema/specialAbility/FatePointSexSpecialAbility.schema.json +62 -0
  171. package/schema/specialAbility/FatePointSpecialAbility.schema.json +68 -0
  172. package/schema/specialAbility/GeneralSpecialAbility.schema.json +68 -0
  173. package/schema/specialAbility/KarmaSpecialAbility.schema.json +62 -0
  174. package/schema/specialAbility/LiturgicalStyleSpecialAbility.schema.json +72 -0
  175. package/schema/specialAbility/LycantropicGift.schema.json +62 -0
  176. package/schema/specialAbility/MagicStyleSpecialAbility.schema.json +72 -0
  177. package/schema/specialAbility/MagicalSpecialAbility.schema.json +68 -0
  178. package/schema/specialAbility/MagicalTradition.schema.json +181 -0
  179. package/schema/specialAbility/PactGift.schema.json +215 -0
  180. package/schema/specialAbility/ProtectiveWardingCircleSpecialAbility.schema.json +70 -0
  181. package/schema/specialAbility/Sermon.schema.json +62 -0
  182. package/schema/specialAbility/SexSpecialAbility.schema.json +68 -0
  183. package/schema/specialAbility/SikaryanDrainSpecialAbility.schema.json +62 -0
  184. package/schema/specialAbility/SkillStyleSpecialAbility.schema.json +66 -0
  185. package/schema/specialAbility/VampiricGift.schema.json +62 -0
  186. package/schema/specialAbility/Vision.schema.json +62 -0
  187. package/schema/specialAbility/sub/Language.schema.json +215 -0
  188. package/schema/specialAbility/sub/Script.schema.json +127 -0
  189. package/schema/traditionArtifacts/ArcaneOrbEnchantment.schema.json +66 -0
  190. package/schema/traditionArtifacts/AttireEnchantment.schema.json +66 -0
  191. package/schema/traditionArtifacts/BowlEnchantment.schema.json +66 -0
  192. package/schema/traditionArtifacts/CauldronEnchantment.schema.json +83 -0
  193. package/schema/traditionArtifacts/ChronicleEnchantment.schema.json +66 -0
  194. package/schema/traditionArtifacts/DaggerRitual.schema.json +66 -0
  195. package/schema/traditionArtifacts/FoolsHatEnchantment.schema.json +66 -0
  196. package/schema/traditionArtifacts/InstrumentEnchantment.schema.json +66 -0
  197. package/schema/traditionArtifacts/Krallenkettenzauber.schema.json +66 -0
  198. package/schema/traditionArtifacts/OrbEnchantment.schema.json +66 -0
  199. package/schema/traditionArtifacts/RingEnchantment.schema.json +66 -0
  200. package/schema/traditionArtifacts/SickleRitual.schema.json +66 -0
  201. package/schema/traditionArtifacts/SpellSwordEnchantment.schema.json +66 -0
  202. package/schema/traditionArtifacts/StaffEnchantment.schema.json +66 -0
  203. package/schema/traditionArtifacts/ToyEnchantment.schema.json +66 -0
  204. package/schema/traditionArtifacts/Trinkhornzauber.schema.json +66 -0
  205. package/schema/traditionArtifacts/WandEnchantment.schema.json +66 -0
  206. package/schema/traditionArtifacts/WeaponEnchantment.schema.json +66 -0
  207. package/schema/traditionArtifacts/sub/AnimalShape.schema.json +57 -0
  208. package/schema/traditionArtifacts/sub/AnimalShapePath.schema.json +45 -0
  209. package/schema/traditionArtifacts/sub/AnimalShapeSize.schema.json +57 -0
  210. package/schema/traditionArtifacts/sub/Brew.schema.json +45 -0
package/CHANGELOG.md CHANGED
@@ -2,6 +2,30 @@
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
+
5
29
  ### [0.0.4](https://github.com/elyukai/optolith-database-schema/compare/v0.0.3...v0.0.4) (2022-03-06)
6
30
 
7
31
 
@@ -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
+ };
@@ -0,0 +1,4 @@
1
+ /**
2
+ * @main Advantage
3
+ */
4
+ export {};
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @main ArcaneBardTradition
3
3
  */
4
- import { GroupCollection } from "./_Prerequisite";
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 { GroupCollection } from "./_Prerequisite";
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
@@ -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 { GroupCollection } from "./_Prerequisite";
9
+ import { Prerequisite } from "./_Prerequisite";
10
10
  import { SkillCheck, SkillCheckPenalty } from "./_SkillCheck";
11
11
  /**
12
12
  * @title Ceremony
@@ -45,7 +45,7 @@ export declare type Ceremony = {
45
45
  * States which column is used to improve the skill.
46
46
  */
47
47
  improvement_cost: ImprovementCost;
48
- prerequisites?: GroupCollection.Liturgy;
48
+ prerequisites?: Prerequisite.GroupCollection.Liturgy;
49
49
  src: PublicationRefs;
50
50
  /**
51
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
+ };
@@ -0,0 +1,4 @@
1
+ /**
2
+ * @main Continent
3
+ */
4
+ export {};
@@ -2,7 +2,7 @@
2
2
  * @main DerivedCharacteristic
3
3
  */
4
4
  import { PublicationRefs } from "./source/_PublicationRef";
5
- import { GroupCollection } from "./_Prerequisite";
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
+ };
@@ -0,0 +1,4 @@
1
+ /**
2
+ * @main Disadvantage
3
+ */
4
+ export {};
@@ -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 { GroupCollection } from "./_Prerequisite";
9
+ import { Prerequisite } from "./_Prerequisite";
10
10
  import { SkillCheck, SkillCheckPenalty } from "./_SkillCheck";
11
11
  /**
12
12
  * @title Liturgical Chant
@@ -45,7 +45,7 @@ export declare type LiturgicalChant = {
45
45
  * States which column is used to improve the skill.
46
46
  */
47
47
  improvement_cost: ImprovementCost;
48
- prerequisites?: GroupCollection.Liturgy;
48
+ prerequisites?: Prerequisite.GroupCollection.Liturgy;
49
49
  src: PublicationRefs;
50
50
  /**
51
51
  * All translations for the entry, identified by IETF language tag (BCP47).
@@ -0,0 +1,197 @@
1
+ /**
2
+ * @main Patron
3
+ */
4
+ import { ImprovementCost } from "./_ImprovementCost";
5
+ /**
6
+ * @title Patron
7
+ */
8
+ export declare type Patron = {
9
+ /**
10
+ * The patron's identifier. An unique, increasing integer.
11
+ * @integer
12
+ * @minimum 1
13
+ */
14
+ id: number;
15
+ /**
16
+ * The patron's category identifier.
17
+ * @integer
18
+ * @minimum 1
19
+ */
20
+ category_id: number;
21
+ /**
22
+ * The patron-specific skills.
23
+ */
24
+ skills: [SkillReference, SkillReference, SkillReference];
25
+ /**
26
+ * The patron is only available to a certain set of cultures. It may be
27
+ * available to all, it may be available to only specific ones (intersection)
28
+ * and it may be available to all except specific ones to the listed cultures
29
+ * (difference).
30
+ */
31
+ culture: {
32
+ tag: "All";
33
+ } | {
34
+ tag: "Intersection";
35
+ list: {
36
+ /**
37
+ * The culture's identifier.
38
+ * @integer
39
+ * @minimum 1
40
+ */
41
+ id: number;
42
+ }[];
43
+ } | {
44
+ tag: "Difference";
45
+ list: {
46
+ /**
47
+ * The culture's identifier.
48
+ * @integer
49
+ * @minimum 1
50
+ */
51
+ id: number;
52
+ }[];
53
+ };
54
+ /**
55
+ * The list of cultures where patrons from this category can be the primary
56
+ * patron of.
57
+ * @minItems 1
58
+ * @uniqueItems
59
+ */
60
+ primary_patron_cultures?: {
61
+ /**
62
+ * The culture's identifier.
63
+ * @integer
64
+ * @minimum 1
65
+ */
66
+ id: number;
67
+ }[];
68
+ /**
69
+ * The patron-specific powers. Used by animist power Animal Powers I–III and
70
+ * should only be present on animal patrons.
71
+ */
72
+ powers?: [AnimalPowersLevel1, AnimalPowersLevel2, AnimalPowersLevel3];
73
+ /**
74
+ * The patron-specific AE cost. Used by several animist forces for animal
75
+ * patrons.
76
+ * @integer
77
+ * @minimum 2
78
+ * @multipleOf 2
79
+ */
80
+ ae_cost?: number;
81
+ /**
82
+ * The patron-specific improvement cost. Used by several animist forces for
83
+ * animal patrons.
84
+ */
85
+ improvement_cost?: ImprovementCost;
86
+ /**
87
+ * All translations for the entry, identified by IETF language tag (BCP47).
88
+ * @minProperties 1
89
+ */
90
+ translations: {
91
+ /**
92
+ * @patternProperties ^[a-z]{2}-[A-Z]{2}$
93
+ */
94
+ [localeId: string]: {
95
+ /**
96
+ * The name of the patron.
97
+ * @minLength 1
98
+ */
99
+ name: string;
100
+ };
101
+ };
102
+ };
103
+ export declare type SkillReference = {
104
+ /**
105
+ * The skill's identifier.
106
+ * @integer
107
+ * @minimum 1
108
+ */
109
+ id: number;
110
+ };
111
+ export declare type AnimalPowerLevel1 = {
112
+ tag: "Advantage";
113
+ /**
114
+ * The advantage's identifier.
115
+ * @integer
116
+ * @minimum 1
117
+ */
118
+ id: number;
119
+ /**
120
+ * It grants a higher level of the advantage.
121
+ * @integer
122
+ * @minimum 2
123
+ */
124
+ level?: number;
125
+ /**
126
+ * It grants a specific general option of the advantage.
127
+ * @integer
128
+ * @minimum 1
129
+ */
130
+ option?: number;
131
+ } | {
132
+ tag: "Skill";
133
+ /**
134
+ * The skill's identifier.
135
+ * @integer
136
+ * @minimum 1
137
+ */
138
+ id: number;
139
+ /**
140
+ * The points that gets added to the skill's rating.
141
+ * @integer
142
+ * @minimum 1
143
+ */
144
+ points: number;
145
+ };
146
+ /**
147
+ * @minItems 1
148
+ */
149
+ export declare type AnimalPowersLevel1 = AnimalPowerLevel1[];
150
+ export declare type AnimalPowerLevel2 = {
151
+ tag: "Combat";
152
+ /**
153
+ * The combat value.
154
+ */
155
+ id: {
156
+ tag: "Attack";
157
+ } | {
158
+ tag: "Parry";
159
+ } | {
160
+ tag: "RangedCombat";
161
+ } | {
162
+ tag: "Dodge";
163
+ } | {
164
+ tag: "DamagePoints";
165
+ } | {
166
+ tag: "Protection";
167
+ };
168
+ /**
169
+ * The value that gets added to the combat value.
170
+ * @integer
171
+ * @minimum 1
172
+ */
173
+ value: number;
174
+ };
175
+ /**
176
+ * @minItems 1
177
+ */
178
+ export declare type AnimalPowersLevel2 = AnimalPowerLevel2[];
179
+ export declare type AnimalPowerLevel3 = {
180
+ tag: "Attribute";
181
+ /**
182
+ * The attribute's identifier.
183
+ * @integer
184
+ * @minimum 1
185
+ */
186
+ id: number;
187
+ /**
188
+ * The value that gets added to the attribute.
189
+ * @integer
190
+ * @minimum 1
191
+ */
192
+ value: number;
193
+ };
194
+ /**
195
+ * @minItems 1
196
+ */
197
+ export declare type AnimalPowersLevel3 = AnimalPowerLevel3[];
@@ -0,0 +1,4 @@
1
+ /**
2
+ * @main Patron
3
+ */
4
+ export {};
@@ -0,0 +1,44 @@
1
+ /**
2
+ * @main PatronCategory
3
+ */
4
+ /**
5
+ * @title Patron Category
6
+ */
7
+ export declare type PatronCategory = {
8
+ /**
9
+ * The patron category's identifier. An unique, increasing integer.
10
+ * @integer
11
+ * @minimum 1
12
+ */
13
+ id: number;
14
+ /**
15
+ * The list of cultures where patrons from this category can be the primary
16
+ * patron of.
17
+ * @minItems 1
18
+ * @uniqueItems
19
+ */
20
+ primary_patron_cultures: {
21
+ /**
22
+ * The culture's identifier.
23
+ * @integer
24
+ * @minimum 1
25
+ */
26
+ id: number;
27
+ }[];
28
+ /**
29
+ * All translations for the entry, identified by IETF language tag (BCP47).
30
+ * @minProperties 1
31
+ */
32
+ translations: {
33
+ /**
34
+ * @patternProperties ^[a-z]{2}-[A-Z]{2}$
35
+ */
36
+ [localeId: string]: {
37
+ /**
38
+ * The name of the patron category.
39
+ * @minLength 1
40
+ */
41
+ name: string;
42
+ };
43
+ };
44
+ };
@@ -0,0 +1,4 @@
1
+ /**
2
+ * @main PatronCategory
3
+ */
4
+ export {};
@@ -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 { GroupCollection } from "./_Prerequisite";
9
+ import { Prerequisite } from "./_Prerequisite";
10
10
  import { SkillCheck, SkillCheckPenalty } from "./_SkillCheck";
11
11
  /**
12
12
  * @title Ritual
@@ -73,7 +73,7 @@ export declare type Ritual = {
73
73
  * States which column is used to improve the skill.
74
74
  */
75
75
  improvement_cost: ImprovementCost;
76
- prerequisites?: GroupCollection.Spellwork;
76
+ prerequisites?: Prerequisite.GroupCollection.Spellwork;
77
77
  src: PublicationRefs;
78
78
  /**
79
79
  * All translations for the entry, identified by IETF language tag (BCP47).
@@ -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 { GroupCollection } from "./_Prerequisite";
9
+ import { Prerequisite } from "./_Prerequisite";
10
10
  import { SkillCheck, SkillCheckPenalty } from "./_SkillCheck";
11
11
  /**
12
12
  * @title Spell
@@ -73,7 +73,7 @@ export declare type Spell = {
73
73
  * States which column is used to improve the skill.
74
74
  */
75
75
  improvement_cost: ImprovementCost;
76
- prerequisites?: GroupCollection.Spellwork;
76
+ prerequisites?: Prerequisite.GroupCollection.Spellwork;
77
77
  src: PublicationRefs;
78
78
  /**
79
79
  * All translations for the entry, identified by IETF language tag (BCP47).