optolith-database-schema 0.9.0 → 0.10.1

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 (257) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/lib/config.d.ts +1 -1
  3. package/lib/main.d.ts +3 -3
  4. package/lib/main.js +8 -3
  5. package/lib/types/Advantage.d.ts +15 -4
  6. package/lib/types/AnimalDisease.d.ts +1 -1
  7. package/lib/types/AnimalType.d.ts +2 -2
  8. package/lib/types/ArcaneBardTradition.d.ts +1 -1
  9. package/lib/types/ArcaneDancerTradition.d.ts +1 -1
  10. package/lib/types/Aspect.d.ts +2 -2
  11. package/lib/types/Attribute.d.ts +2 -2
  12. package/lib/types/Blessing.d.ts +8 -8
  13. package/lib/types/Cantrip.d.ts +14 -14
  14. package/lib/types/Ceremony.d.ts +2 -2
  15. package/lib/types/CombatTechnique_Close.d.ts +3 -3
  16. package/lib/types/CombatTechnique_Ranged.d.ts +3 -3
  17. package/lib/types/Condition.d.ts +2 -2
  18. package/lib/types/Continent.d.ts +2 -2
  19. package/lib/types/Culture.d.ts +21 -21
  20. package/lib/types/DerivedCharacteristic.d.ts +3 -3
  21. package/lib/types/Disadvantage.d.ts +14 -4
  22. package/lib/types/Disease.d.ts +1 -1
  23. package/lib/types/Element.d.ts +2 -2
  24. package/lib/types/ExperienceLevel.d.ts +2 -2
  25. package/lib/types/EyeColor.d.ts +2 -2
  26. package/lib/types/FamiliarsTrick.d.ts +22 -22
  27. package/lib/types/HairColor.d.ts +2 -2
  28. package/lib/types/Kirchenpraegung.d.ts +1 -1
  29. package/lib/types/Lessons_Curriculum.d.ts +18 -18
  30. package/lib/types/Lessons_Guideline.d.ts +2 -2
  31. package/lib/types/LiturgicalChant.d.ts +2 -2
  32. package/lib/types/Locale.d.ts +2 -2
  33. package/lib/types/MetaCondition.d.ts +2 -2
  34. package/lib/types/PactCategory.d.ts +6 -6
  35. package/lib/types/Patron.d.ts +13 -13
  36. package/lib/types/PatronCategory.d.ts +2 -2
  37. package/lib/types/PersonalityTrait.d.ts +3 -3
  38. package/lib/types/Profession.d.ts +53 -43
  39. package/lib/types/Property.d.ts +2 -2
  40. package/lib/types/Race.d.ts +14 -14
  41. package/lib/types/Region.d.ts +2 -2
  42. package/lib/types/Ritual.d.ts +2 -2
  43. package/lib/types/Service.d.ts +2 -2
  44. package/lib/types/SexPractice.d.ts +2 -2
  45. package/lib/types/Skill.d.ts +6 -6
  46. package/lib/types/SkillGroup.d.ts +2 -2
  47. package/lib/types/SkillModificationLevel.d.ts +6 -6
  48. package/lib/types/SocialStatus.d.ts +2 -2
  49. package/lib/types/Spell.d.ts +2 -2
  50. package/lib/types/State.d.ts +2 -2
  51. package/lib/types/Talisman.d.ts +9 -9
  52. package/lib/types/TargetCategory.d.ts +3 -3
  53. package/lib/types/UI.d.ts +1 -1
  54. package/lib/types/_Activatable.d.ts +211 -103
  55. package/lib/types/_Activatable.js +4 -35
  56. package/lib/types/_ActivatableSelectOptionCategory.d.ts +55 -25
  57. package/lib/types/_ActivatableSkill.d.ts +8 -8
  58. package/lib/types/_ActivatableSkillCastingTime.d.ts +8 -8
  59. package/lib/types/_ActivatableSkillCheckResultBased.d.ts +2 -2
  60. package/lib/types/_ActivatableSkillCost.d.ts +20 -20
  61. package/lib/types/_ActivatableSkillDuration.d.ts +13 -13
  62. package/lib/types/_ActivatableSkillEffect.d.ts +4 -4
  63. package/lib/types/_ActivatableSkillRange.d.ts +6 -6
  64. package/lib/types/_ActivatableSkillTargetCategory.d.ts +4 -4
  65. package/lib/types/_AlternativeNames.d.ts +1 -1
  66. package/lib/types/_ArcaneTradition.d.ts +2 -2
  67. package/lib/types/_Blessed.d.ts +2 -2
  68. package/lib/types/_CommonnessRatedAdvantageDisadvantage.d.ts +1 -1
  69. package/lib/types/_Dice.d.ts +1 -1
  70. package/lib/types/_DiseasePoison.d.ts +4 -4
  71. package/lib/types/_Enhancements.d.ts +3 -3
  72. package/lib/types/_I18n.d.ts +1 -1
  73. package/lib/types/_Identifier.d.ts +132 -132
  74. package/lib/types/_IdentifierGroup.d.ts +20 -20
  75. package/lib/types/_Influence.d.ts +3 -3
  76. package/lib/types/_LocaleMap.d.ts +1 -1
  77. package/lib/types/_NonEmptyString.d.ts +2 -2
  78. package/lib/types/_Prerequisite.d.ts +21 -21
  79. package/lib/types/_ResponsiveText.d.ts +3 -3
  80. package/lib/types/_SimpleReferences.d.ts +44 -44
  81. package/lib/types/_SkillCheck.d.ts +1 -1
  82. package/lib/types/_Spellwork.d.ts +2 -2
  83. package/lib/types/equipment/EquipmentPackage.d.ts +3 -3
  84. package/lib/types/equipment/item/Alchemicum.d.ts +1 -1
  85. package/lib/types/equipment/item/Ammunition.d.ts +2 -2
  86. package/lib/types/equipment/item/Animal.d.ts +1 -1
  87. package/lib/types/equipment/item/AnimalCare.d.ts +5 -5
  88. package/lib/types/equipment/item/Armor.d.ts +11 -11
  89. package/lib/types/equipment/item/BandageOrRemedy.d.ts +1 -1
  90. package/lib/types/equipment/item/Book.d.ts +2 -2
  91. package/lib/types/equipment/item/CeremonialItem.d.ts +1 -1
  92. package/lib/types/equipment/item/Clothes.d.ts +1 -1
  93. package/lib/types/equipment/item/Container.d.ts +1 -1
  94. package/lib/types/equipment/item/Elixir.d.ts +2 -2
  95. package/lib/types/equipment/item/EquipmentOfBlessedOnes.d.ts +1 -1
  96. package/lib/types/equipment/item/GemOrPreciousStone.d.ts +2 -2
  97. package/lib/types/equipment/item/IlluminationLightSource.d.ts +3 -3
  98. package/lib/types/equipment/item/IlluminationRefillsOrSupplies.d.ts +1 -1
  99. package/lib/types/equipment/item/Jewelry.d.ts +3 -3
  100. package/lib/types/equipment/item/Liebesspielzeug.d.ts +1 -1
  101. package/lib/types/equipment/item/LuxuryGood.d.ts +1 -1
  102. package/lib/types/equipment/item/MagicalArtifact.d.ts +2 -2
  103. package/lib/types/equipment/item/MusicalInstrument.d.ts +1 -1
  104. package/lib/types/equipment/item/OrienteeringAid.d.ts +1 -1
  105. package/lib/types/equipment/item/Poison.d.ts +45 -25
  106. package/lib/types/equipment/item/Poison.js +1 -0
  107. package/lib/types/equipment/item/RopeOrChain.d.ts +1 -1
  108. package/lib/types/equipment/item/Stationary.d.ts +1 -1
  109. package/lib/types/equipment/item/ThievesTool.d.ts +1 -1
  110. package/lib/types/equipment/item/ToolOfTheTrade.d.ts +3 -3
  111. package/lib/types/equipment/item/TravelGearOrTool.d.ts +1 -1
  112. package/lib/types/equipment/item/Vehicle.d.ts +1 -1
  113. package/lib/types/equipment/item/Weapon.d.ts +12 -11
  114. package/lib/types/equipment/item/WeaponAccessory.d.ts +1 -1
  115. package/lib/types/equipment/item/_Herbary.d.ts +1 -1
  116. package/lib/types/equipment/item/_Item.d.ts +12 -12
  117. package/lib/types/equipment/item/_MeleeWeapon.d.ts +7 -7
  118. package/lib/types/equipment/item/_RangedWeapon.d.ts +6 -6
  119. package/lib/types/equipment/item/_Weapon.d.ts +5 -5
  120. package/lib/types/equipment/item/sub/ArmorType.d.ts +5 -5
  121. package/lib/types/equipment/item/sub/Reach.d.ts +2 -2
  122. package/lib/types/magicalActions/AnimistPower.d.ts +16 -16
  123. package/lib/types/magicalActions/AnimistPower_Tribe.d.ts +2 -2
  124. package/lib/types/magicalActions/Curse.d.ts +10 -10
  125. package/lib/types/magicalActions/DominationRitual.d.ts +9 -9
  126. package/lib/types/magicalActions/ElvenMagicalSong.d.ts +7 -7
  127. package/lib/types/magicalActions/GeodeRitual.d.ts +10 -10
  128. package/lib/types/magicalActions/JesterTrick.d.ts +9 -9
  129. package/lib/types/magicalActions/MagicalDance.d.ts +6 -6
  130. package/lib/types/magicalActions/MagicalMelody.d.ts +6 -6
  131. package/lib/types/magicalActions/MagicalRune.d.ts +22 -22
  132. package/lib/types/magicalActions/ZibiljaRitual.d.ts +3 -3
  133. package/lib/types/magicalActions/_MusicTradition.d.ts +3 -3
  134. package/lib/types/magicalActions/_SkillReference.d.ts +1 -1
  135. package/lib/types/prerequisites/ConditionalPrerequisites.d.ts +1 -1
  136. package/lib/types/prerequisites/DisplayOption.d.ts +16 -2
  137. package/lib/types/prerequisites/PrerequisiteGroups.d.ts +38 -16
  138. package/lib/types/prerequisites/single/ActivatablePrerequisite.d.ts +1 -1
  139. package/lib/types/prerequisites/single/AncestorBloodPrerequisite.d.ts +5 -0
  140. package/lib/types/prerequisites/single/AncestorBloodPrerequisite.js +1 -0
  141. package/lib/types/prerequisites/single/AnimistPowerPrerequisite.d.ts +1 -1
  142. package/lib/types/prerequisites/single/CulturePrerequisite.d.ts +1 -1
  143. package/lib/types/prerequisites/single/EnhancementPrerequisite.d.ts +4 -4
  144. package/lib/types/prerequisites/single/InfluencePrerequisite.d.ts +1 -1
  145. package/lib/types/prerequisites/single/PactPrerequisite.d.ts +1 -1
  146. package/lib/types/prerequisites/single/PrimaryAttributePrerequisite.d.ts +1 -1
  147. package/lib/types/prerequisites/single/PublicationPrerequisite.d.ts +1 -1
  148. package/lib/types/prerequisites/single/RacePrerequisite.d.ts +1 -1
  149. package/lib/types/prerequisites/single/RatedMinimumNumberPrerequisite.d.ts +67 -0
  150. package/lib/types/prerequisites/single/RatedMinimumNumberPrerequisite.js +6 -0
  151. package/lib/types/prerequisites/single/RatedPrerequisite.d.ts +1 -56
  152. package/lib/types/prerequisites/single/RatedSumPrerequisite.d.ts +19 -0
  153. package/lib/types/prerequisites/single/RatedSumPrerequisite.js +1 -0
  154. package/lib/types/prerequisites/single/RulePrerequisite.d.ts +1 -1
  155. package/lib/types/prerequisites/single/SexPrerequisite.d.ts +1 -1
  156. package/lib/types/prerequisites/single/SexualCharacteristicPrerequisite.d.ts +11 -0
  157. package/lib/types/prerequisites/single/SexualCharacteristicPrerequisite.js +5 -0
  158. package/lib/types/prerequisites/single/SocialStatusPrerequisite.d.ts +1 -1
  159. package/lib/types/prerequisites/single/StatePrerequisite.d.ts +1 -1
  160. package/lib/types/prerequisites/single/TextPrerequisite.d.ts +31 -2
  161. package/lib/types/prerequisites/single/TextPrerequisite.js +5 -0
  162. package/lib/types/prerequisites/single/TraditionPrerequisite.d.ts +2 -2
  163. package/lib/types/rule/CoreRule.d.ts +11 -11
  164. package/lib/types/rule/FocusRule.d.ts +2 -2
  165. package/lib/types/rule/FocusRule_Subject.d.ts +2 -2
  166. package/lib/types/rule/OptionalRule.d.ts +2 -2
  167. package/lib/types/source/Publication.d.ts +2 -2
  168. package/lib/types/source/_Erratum.d.ts +2 -2
  169. package/lib/types/source/_PublicationRef.d.ts +13 -13
  170. package/lib/types/specialAbility/AdvancedCombatSpecialAbility.d.ts +13 -2
  171. package/lib/types/specialAbility/AdvancedKarmaSpecialAbility.d.ts +2 -2
  172. package/lib/types/specialAbility/AdvancedMagicalSpecialAbility.d.ts +2 -2
  173. package/lib/types/specialAbility/AdvancedSkillSpecialAbility.d.ts +2 -2
  174. package/lib/types/specialAbility/AncestorGlyph.d.ts +2 -2
  175. package/lib/types/specialAbility/BlessedTradition.d.ts +8 -8
  176. package/lib/types/specialAbility/BrawlingSpecialAbility.d.ts +2 -2
  177. package/lib/types/specialAbility/CeremonialItemSpecialAbility.d.ts +9 -4
  178. package/lib/types/specialAbility/CombatSpecialAbility.d.ts +8 -4
  179. package/lib/types/specialAbility/CombatStyleSpecialAbility.d.ts +2 -2
  180. package/lib/types/specialAbility/CommandSpecialAbility.d.ts +1 -1
  181. package/lib/types/specialAbility/FamiliarSpecialAbility.d.ts +2 -2
  182. package/lib/types/specialAbility/FatePointSexSpecialAbility.d.ts +2 -2
  183. package/lib/types/specialAbility/FatePointSpecialAbility.d.ts +7 -2
  184. package/lib/types/specialAbility/GeneralSpecialAbility.d.ts +14 -4
  185. package/lib/types/specialAbility/KarmaSpecialAbility.d.ts +9 -4
  186. package/lib/types/specialAbility/LiturgicalStyleSpecialAbility.d.ts +2 -2
  187. package/lib/types/specialAbility/LycantropicGift.d.ts +2 -2
  188. package/lib/types/specialAbility/MagicStyleSpecialAbility.d.ts +2 -2
  189. package/lib/types/specialAbility/MagicalSign.d.ts +2 -2
  190. package/lib/types/specialAbility/MagicalSpecialAbility.d.ts +13 -4
  191. package/lib/types/specialAbility/MagicalTradition.d.ts +3 -3
  192. package/lib/types/specialAbility/PactGift.d.ts +9 -9
  193. package/lib/types/specialAbility/ProtectiveWardingCircleSpecialAbility.d.ts +2 -2
  194. package/lib/types/specialAbility/Sermon.d.ts +2 -2
  195. package/lib/types/specialAbility/SexSpecialAbility.d.ts +2 -2
  196. package/lib/types/specialAbility/SikaryanDrainSpecialAbility.d.ts +7 -2
  197. package/lib/types/specialAbility/SkillStyleSpecialAbility.d.ts +2 -2
  198. package/lib/types/specialAbility/VampiricGift.d.ts +9 -4
  199. package/lib/types/specialAbility/Vision.d.ts +2 -2
  200. package/lib/types/specialAbility/_Tradition.d.ts +1 -1
  201. package/lib/types/specialAbility/sub/Language.d.ts +8 -8
  202. package/lib/types/specialAbility/sub/Script.d.ts +2 -2
  203. package/lib/types/specialAbility/sub/TradeSecret.d.ts +2 -2
  204. package/lib/types/specialAbility/sub/_LanguageScript.d.ts +1 -1
  205. package/lib/types/traditionArtifacts/ArcaneOrbEnchantment.d.ts +4 -4
  206. package/lib/types/traditionArtifacts/AttireEnchantment.d.ts +4 -4
  207. package/lib/types/traditionArtifacts/BowlEnchantment.d.ts +4 -4
  208. package/lib/types/traditionArtifacts/CauldronEnchantment.d.ts +5 -5
  209. package/lib/types/traditionArtifacts/ChronicleEnchantment.d.ts +4 -4
  210. package/lib/types/traditionArtifacts/DaggerRitual.d.ts +8 -8
  211. package/lib/types/traditionArtifacts/FoolsHatEnchantment.d.ts +4 -4
  212. package/lib/types/traditionArtifacts/InstrumentEnchantment.d.ts +4 -4
  213. package/lib/types/traditionArtifacts/Krallenkettenzauber.d.ts +4 -4
  214. package/lib/types/traditionArtifacts/OrbEnchantment.d.ts +4 -4
  215. package/lib/types/traditionArtifacts/RingEnchantment.d.ts +4 -4
  216. package/lib/types/traditionArtifacts/SickleRitual.d.ts +4 -4
  217. package/lib/types/traditionArtifacts/SpellSwordEnchantment.d.ts +9 -4
  218. package/lib/types/traditionArtifacts/StaffEnchantment.d.ts +14 -4
  219. package/lib/types/traditionArtifacts/ToyEnchantment.d.ts +4 -4
  220. package/lib/types/traditionArtifacts/Trinkhornzauber.d.ts +4 -4
  221. package/lib/types/traditionArtifacts/WandEnchantment.d.ts +4 -4
  222. package/lib/types/traditionArtifacts/WeaponEnchantment.d.ts +4 -4
  223. package/lib/types/traditionArtifacts/sub/AnimalShape.d.ts +4 -4
  224. package/lib/types/traditionArtifacts/sub/AnimalShapePath.d.ts +2 -2
  225. package/lib/types/traditionArtifacts/sub/AnimalShapeSize.d.ts +2 -2
  226. package/lib/types/traditionArtifacts/sub/Brew.d.ts +2 -2
  227. package/lib/validation/schema.d.ts +5 -5
  228. package/lib/validation/schema.js +2 -2
  229. package/package.json +5 -5
  230. package/schema/Advantage.schema.json +11 -0
  231. package/schema/Disadvantage.schema.json +8 -0
  232. package/schema/Profession.schema.json +8 -0
  233. package/schema/Talisman.schema.json +2 -4
  234. package/schema/_Activatable.schema.json +166 -0
  235. package/schema/_ActivatableSelectOptionCategory.schema.json +141 -0
  236. package/schema/equipment/item/Poison.schema.json +55 -1
  237. package/schema/equipment/item/Weapon.schema.json +5 -1
  238. package/schema/equipment/item/sub/ArmorType.schema.json +1 -2
  239. package/schema/prerequisites/DisplayOption.schema.json +4 -0
  240. package/schema/prerequisites/PrerequisiteGroups.schema.json +98 -2
  241. package/schema/prerequisites/single/AncestorBloodPrerequisite.schema.json +14 -0
  242. package/schema/prerequisites/single/RatedMinimumNumberPrerequisite.schema.json +166 -0
  243. package/schema/prerequisites/single/RatedPrerequisite.schema.json +0 -125
  244. package/schema/prerequisites/single/RatedSumPrerequisite.schema.json +33 -0
  245. package/schema/prerequisites/single/SexualCharacteristicPrerequisite.schema.json +26 -0
  246. package/schema/prerequisites/single/TextPrerequisite.schema.json +14 -0
  247. package/schema/specialAbility/AdvancedCombatSpecialAbility.schema.json +8 -0
  248. package/schema/specialAbility/CeremonialItemSpecialAbility.schema.json +4 -0
  249. package/schema/specialAbility/CombatSpecialAbility.schema.json +4 -0
  250. package/schema/specialAbility/FatePointSpecialAbility.schema.json +4 -0
  251. package/schema/specialAbility/GeneralSpecialAbility.schema.json +8 -0
  252. package/schema/specialAbility/KarmaSpecialAbility.schema.json +4 -0
  253. package/schema/specialAbility/MagicalSpecialAbility.schema.json +8 -0
  254. package/schema/specialAbility/SikaryanDrainSpecialAbility.schema.json +4 -0
  255. package/schema/specialAbility/VampiricGift.schema.json +4 -0
  256. package/schema/traditionArtifacts/SpellSwordEnchantment.schema.json +4 -0
  257. package/schema/traditionArtifacts/StaffEnchantment.schema.json +8 -0
@@ -4,7 +4,7 @@
4
4
  import { PublicationRefs } from "../../source/_PublicationRef.js";
5
5
  import { LocaleMap } from "../../_LocaleMap.js";
6
6
  import { CombatUse, Complexity, Cost, DefaultItemTranslation, StructurePoints, Weight } from "./_Item.js";
7
- export declare type BandageOrRemedy = {
7
+ export type BandageOrRemedy = {
8
8
  /**
9
9
  * The cost in silverthalers.
10
10
  */
@@ -6,7 +6,7 @@ import { PublicationRefs } from "../../source/_PublicationRef.js";
6
6
  import { LocaleMap } from "../../_LocaleMap.js";
7
7
  import { NonEmptyMarkdown, NonEmptyString } from "../../_NonEmptyString.js";
8
8
  import { Complexity, Cost, StructurePoints, Weight } from "./_Item.js";
9
- export declare type Book = {
9
+ export type Book = {
10
10
  /**
11
11
  * The cost in silverthalers.
12
12
  */
@@ -30,7 +30,7 @@ export declare type Book = {
30
30
  */
31
31
  translations: LocaleMap<BookTranslation>;
32
32
  };
33
- export declare type BookTranslation = {
33
+ export type BookTranslation = {
34
34
  /**
35
35
  * The name of the item.
36
36
  */
@@ -5,7 +5,7 @@ import { PublicationRefs } from "../../source/_PublicationRef.js";
5
5
  import { LocaleMap } from "../../_LocaleMap.js";
6
6
  import { BlessedTraditionReference } from "../../_SimpleReferences.js";
7
7
  import { CombatUse, Complexity, Cost, DefaultItemTranslation, StructurePoints, Weight } from "./_Item.js";
8
- export declare type CeremonialItem = {
8
+ export type CeremonialItem = {
9
9
  /**
10
10
  * The cost in silverthalers.
11
11
  */
@@ -2,5 +2,5 @@
2
2
  * @main Clothes
3
3
  */
4
4
  import { DefaultItem } from "./_Item.js";
5
- export declare type Clothes = DefaultItem;
5
+ export type Clothes = DefaultItem;
6
6
  export declare const validateSchema: import("../../../validation/schema.js").TypeValidator<DefaultItem>;
@@ -2,5 +2,5 @@
2
2
  * @main Container
3
3
  */
4
4
  import { DefaultItem } from "./_Item.js";
5
- export declare type Container = DefaultItem;
5
+ export type Container = DefaultItem;
6
6
  export declare const validateSchema: import("../../../validation/schema.js").TypeValidator<DefaultItem>;
@@ -7,7 +7,7 @@ import { AlternativeName } from "../../_AlternativeNames.js";
7
7
  import { LocaleMap } from "../../_LocaleMap.js";
8
8
  import { NonEmptyMarkdown, NonEmptyString } from "../../_NonEmptyString.js";
9
9
  import { LaboratoryLevel, RecipeTradeSecret } from "./_Herbary.js";
10
- export declare type Elixir = {
10
+ export type Elixir = {
11
11
  /**
12
12
  * The elixir's identifier. An unique, increasing integer.
13
13
  * @integer
@@ -38,7 +38,7 @@ export declare type Elixir = {
38
38
  */
39
39
  translations: LocaleMap<ElixirTranslation>;
40
40
  };
41
- export declare type ElixirTranslation = {
41
+ export type ElixirTranslation = {
42
42
  /**
43
43
  * The name of the elixir.
44
44
  */
@@ -5,7 +5,7 @@ import { PublicationRefs } from "../../source/_PublicationRef.js";
5
5
  import { LocaleMap } from "../../_LocaleMap.js";
6
6
  import { BlessedTraditionReference } from "../../_SimpleReferences.js";
7
7
  import { Cost, DefaultItemTranslation, StructurePoints } from "./_Item.js";
8
- export declare type EquipmentOfBlessedOnes = {
8
+ export type EquipmentOfBlessedOnes = {
9
9
  /**
10
10
  * The cost in silverthalers.
11
11
  */
@@ -6,7 +6,7 @@ import { PublicationRefs } from "../../source/_PublicationRef.js";
6
6
  import { LocaleMap } from "../../_LocaleMap.js";
7
7
  import { NonEmptyMarkdown, NonEmptyString } from "../../_NonEmptyString.js";
8
8
  import { Cost } from "./_Item.js";
9
- export declare type GemOrPreciousStone = {
9
+ export type GemOrPreciousStone = {
10
10
  /**
11
11
  * The cost in silverthalers per 10 karat.
12
12
  */
@@ -17,7 +17,7 @@ export declare type GemOrPreciousStone = {
17
17
  */
18
18
  translations: LocaleMap<GemOrPreciousStoneTranslation>;
19
19
  };
20
- export declare type GemOrPreciousStoneTranslation = {
20
+ export type GemOrPreciousStoneTranslation = {
21
21
  /**
22
22
  * The name of the item.
23
23
  */
@@ -4,7 +4,7 @@
4
4
  import { PublicationRefs } from "../../source/_PublicationRef.js";
5
5
  import { LocaleMap } from "../../_LocaleMap.js";
6
6
  import { CombatUse, Complexity, Cost, DefaultItemTranslation, StructurePoints, Weight } from "./_Item.js";
7
- export declare type IlluminationLightSource = {
7
+ export type IlluminationLightSource = {
8
8
  /**
9
9
  * The cost in silverthalers.
10
10
  */
@@ -38,14 +38,14 @@ export declare type IlluminationLightSource = {
38
38
  */
39
39
  translations: LocaleMap<DefaultItemTranslation>;
40
40
  };
41
- export declare type BurningTime = {
41
+ export type BurningTime = {
42
42
  tag: "Unlimited";
43
43
  unlimited: {};
44
44
  } | {
45
45
  tag: "Limited";
46
46
  limited: LimitedBurningTime;
47
47
  };
48
- export declare type LimitedBurningTime = {
48
+ export type LimitedBurningTime = {
49
49
  /**
50
50
  * The (unitless) time value.
51
51
  * @exclusiveMinimum 0
@@ -2,5 +2,5 @@
2
2
  * @main IlluminationRefillsOrSupplies
3
3
  */
4
4
  import { DefaultItem } from "./_Item.js";
5
- export declare type IlluminationRefillsOrSupplies = DefaultItem;
5
+ export type IlluminationRefillsOrSupplies = DefaultItem;
6
6
  export declare const validateSchema: import("../../../validation/schema.js").TypeValidator<DefaultItem>;
@@ -6,7 +6,7 @@ import { PublicationRefs } from "../../source/_PublicationRef.js";
6
6
  import { LocaleMap } from "../../_LocaleMap.js";
7
7
  import { NonEmptyMarkdown, NonEmptyString } from "../../_NonEmptyString.js";
8
8
  import { Complexity, Cost, StructurePoints, Weight } from "./_Item.js";
9
- export declare type Jewelry = {
9
+ export type Jewelry = {
10
10
  /**
11
11
  * The cost in silverthalers.
12
12
  */
@@ -33,12 +33,12 @@ export declare type Jewelry = {
33
33
  /**
34
34
  * Jewelry has different cost based on the material.
35
35
  */
36
- export declare type JewelryMaterialDifference<T> = {
36
+ export type JewelryMaterialDifference<T> = {
37
37
  bronze: T;
38
38
  silver: T;
39
39
  gold: T;
40
40
  };
41
- export declare type JewelryTranslation = {
41
+ export type JewelryTranslation = {
42
42
  /**
43
43
  * The name of the item.
44
44
  */
@@ -2,5 +2,5 @@
2
2
  * @main Liebesspielzeug
3
3
  */
4
4
  import { DefaultItem } from "./_Item.js";
5
- export declare type Liebesspielzeug = DefaultItem;
5
+ export type Liebesspielzeug = DefaultItem;
6
6
  export declare const validateSchema: import("../../../validation/schema.js").TypeValidator<DefaultItem>;
@@ -4,7 +4,7 @@
4
4
  import { PublicationRefs } from "../../source/_PublicationRef.js";
5
5
  import { LocaleMap } from "../../_LocaleMap.js";
6
6
  import { CombatUse, Complexity, Cost, DefaultItemTranslation, StructurePoints, Weight } from "./_Item.js";
7
- export declare type LuxuryGood = {
7
+ export type LuxuryGood = {
8
8
  /**
9
9
  * The cost in silverthalers.
10
10
  */
@@ -6,7 +6,7 @@ import { PublicationRefs } from "../../source/_PublicationRef.js";
6
6
  import { LocaleMap } from "../../_LocaleMap.js";
7
7
  import { NonEmptyMarkdown, NonEmptyString } from "../../_NonEmptyString.js";
8
8
  import { Cost } from "./_Item.js";
9
- export declare type MagicalArtifact = {
9
+ export type MagicalArtifact = {
10
10
  /**
11
11
  * The cost in silverthalers.
12
12
  */
@@ -17,7 +17,7 @@ export declare type MagicalArtifact = {
17
17
  */
18
18
  translations: LocaleMap<MagicalArtifactTranslation>;
19
19
  };
20
- export declare type MagicalArtifactTranslation = {
20
+ export type MagicalArtifactTranslation = {
21
21
  /**
22
22
  * The name of the item.
23
23
  */
@@ -4,7 +4,7 @@
4
4
  import { PublicationRefs } from "../../source/_PublicationRef.js";
5
5
  import { LocaleMap } from "../../_LocaleMap.js";
6
6
  import { Cost, DefaultItemTranslation, Weight } from "./_Item.js";
7
- export declare type MusicalInstrument = {
7
+ export type MusicalInstrument = {
8
8
  /**
9
9
  * The cost in silverthalers.
10
10
  */
@@ -2,5 +2,5 @@
2
2
  * @main OrienteeringAid
3
3
  */
4
4
  import { DefaultItem } from "./_Item.js";
5
- export declare type OrienteeringAid = DefaultItem;
5
+ export type OrienteeringAid = DefaultItem;
6
6
  export declare const validateSchema: import("../../../validation/schema.js").TypeValidator<DefaultItem>;
@@ -12,7 +12,7 @@ import { EffectType, LaboratoryLevel, RecipeTradeSecret } from "./_Herbary.js";
12
12
  /**
13
13
  * @title Poison
14
14
  */
15
- export declare type Poison = {
15
+ export type Poison = {
16
16
  /**
17
17
  * The poison's identifier. An unique, increasing integer.
18
18
  * @integer
@@ -65,7 +65,7 @@ export declare enum PoisonApplicationType {
65
65
  Inhalation = "Inhalation",
66
66
  Contact = "Contact"
67
67
  }
68
- export declare type PoisonStart = {
68
+ export type PoisonStart = {
69
69
  tag: "Immediate";
70
70
  immediate: {};
71
71
  } | {
@@ -75,27 +75,43 @@ export declare type PoisonStart = {
75
75
  tag: "DiceBased";
76
76
  dice_based: DiceBasedPoisonTime;
77
77
  };
78
- export declare type PoisonDuration = {
78
+ export type PoisonDuration = {
79
79
  tag: "Constant";
80
80
  constant: ConstantPoisonTime;
81
81
  } | {
82
82
  tag: "DiceBased";
83
83
  dice_based: DiceBasedPoisonTime;
84
+ } | {
85
+ tag: "Indefinite";
86
+ indefinite: IndefinitePoisonTime;
84
87
  };
85
- export declare type ConstantPoisonTime = {
88
+ export type ConstantPoisonTime = {
86
89
  value: number;
87
90
  unit: PoisonTimeUnit;
88
91
  };
89
- export declare type DiceBasedPoisonTime = {
92
+ export type DiceBasedPoisonTime = {
90
93
  dice: Dice;
91
94
  unit: PoisonTimeUnit;
92
95
  };
93
96
  export declare enum PoisonTimeUnit {
94
97
  CombatRounds = "CombatRounds",
95
98
  Minutes = "Minutes",
96
- Hours = "Hours"
99
+ Hours = "Hours",
100
+ Days = "Days"
97
101
  }
98
- export declare type PoisonSourceType = {
102
+ export type IndefinitePoisonTime = {
103
+ /**
104
+ * All translations for the entry, identified by IETF language tag (BCP47).
105
+ */
106
+ translations: LocaleMap<IndefinitePoisonTimeTranslation>;
107
+ };
108
+ export type IndefinitePoisonTimeTranslation = {
109
+ /**
110
+ * A description of the duration.
111
+ */
112
+ description: NonEmptyMarkdown;
113
+ };
114
+ export type PoisonSourceType = {
99
115
  tag: "AnimalVenom";
100
116
  animal_venom: AnimalVenom;
101
117
  } | {
@@ -111,7 +127,7 @@ export declare type PoisonSourceType = {
111
127
  tag: "DemonicPoison";
112
128
  demonic_poison: DemonicPoison;
113
129
  };
114
- export declare type AnimalVenom = {
130
+ export type AnimalVenom = {
115
131
  /**
116
132
  * The poison’s level.
117
133
  * @integer
@@ -119,8 +135,12 @@ export declare type AnimalVenom = {
119
135
  * @maximum 6
120
136
  */
121
137
  level: number;
138
+ /**
139
+ * If `false`, the poison cannot be extracted.
140
+ */
141
+ is_extractable?: false;
122
142
  };
123
- export declare type AlchemicalPoison = {
143
+ export type AlchemicalPoison = {
124
144
  /**
125
145
  * Effect type(s) of an alchemical poison.
126
146
  * @minItems 1
@@ -154,7 +174,7 @@ export declare type AlchemicalPoison = {
154
174
  */
155
175
  translations: LocaleMap<AlchemicalPoisonTranslation>;
156
176
  };
157
- export declare type AlchemicalPoisonTranslation = {
177
+ export type AlchemicalPoisonTranslation = {
158
178
  /**
159
179
  * A list of typical ingredients.
160
180
  * @minItems 1
@@ -166,7 +186,7 @@ export declare type AlchemicalPoisonTranslation = {
166
186
  */
167
187
  brewing_process_prerequisites?: NonEmptyMarkdown;
168
188
  };
169
- export declare type MineralPoison = {
189
+ export type MineralPoison = {
170
190
  /**
171
191
  * The poison’s level.
172
192
  * @integer
@@ -175,7 +195,7 @@ export declare type MineralPoison = {
175
195
  */
176
196
  level: number;
177
197
  };
178
- export declare type PlantPoison = {
198
+ export type PlantPoison = {
179
199
  /**
180
200
  * Effect type(s) of a plant poison.
181
201
  * @minItems 1
@@ -194,7 +214,7 @@ export declare type PlantPoison = {
194
214
  */
195
215
  intoxicant?: Intoxicant;
196
216
  };
197
- export declare type DemonicPoison = {
217
+ export type DemonicPoison = {
198
218
  /**
199
219
  * The poison’s level.
200
220
  */
@@ -204,20 +224,20 @@ export declare type DemonicPoison = {
204
224
  */
205
225
  translations?: LocaleMap<DemonicPoisonTranslation>;
206
226
  };
207
- export declare type DemonicPoisonLevel = {
227
+ export type DemonicPoisonLevel = {
208
228
  tag: "QualityLevel";
209
229
  quality_level: QualityLevelDemonicPoisonLevel;
210
230
  } | {
211
231
  tag: "Constant";
212
232
  constant: ConstantDemonicPoisonLevel;
213
233
  };
214
- export declare type QualityLevelDemonicPoisonLevel = {
234
+ export type QualityLevelDemonicPoisonLevel = {
215
235
  source: QualityLevelDemonicPoisonLevelSource;
216
236
  };
217
237
  export declare enum QualityLevelDemonicPoisonLevelSource {
218
238
  Spellwork = "Spellwork"
219
239
  }
220
- export declare type ConstantDemonicPoisonLevel = {
240
+ export type ConstantDemonicPoisonLevel = {
221
241
  /**
222
242
  * The poison’s level.
223
243
  * @integer
@@ -229,13 +249,13 @@ export declare type ConstantDemonicPoisonLevel = {
229
249
  /**
230
250
  * @minProperties 1
231
251
  */
232
- export declare type DemonicPoisonTranslation = {
252
+ export type DemonicPoisonTranslation = {
233
253
  /**
234
254
  * A note, if any.
235
255
  */
236
256
  note?: NonEmptyMarkdown;
237
257
  };
238
- export declare type Intoxicant = {
258
+ export type Intoxicant = {
239
259
  /**
240
260
  * Whether the use of the intoxicant is legal or not, usually from the
241
261
  * perspective of most middle-Aventurian an northern-Aventurian nations.
@@ -257,7 +277,7 @@ export declare type Intoxicant = {
257
277
  * Whether the use of the intoxicant is legal or not, usually from the
258
278
  * perspective of most middle-Aventurian an northern-Aventurian nations.
259
279
  */
260
- export declare type IntoxicantLegality = {
280
+ export type IntoxicantLegality = {
261
281
  is_legal: boolean;
262
282
  };
263
283
  /**
@@ -265,7 +285,7 @@ export declare type IntoxicantLegality = {
265
285
  * interval at which it, while addicted, must be ingested to not suffer from
266
286
  * withdrawal symptoms.
267
287
  */
268
- export declare type IntoxicantAddiction = {
288
+ export type IntoxicantAddiction = {
269
289
  /**
270
290
  * The chance of getting addicted after an ingestion.
271
291
  */
@@ -280,26 +300,26 @@ export declare type IntoxicantAddiction = {
280
300
  * The maximum interval at which it, while addicted, must be ingested to not
281
301
  * suffer from withdrawal symptoms.
282
302
  */
283
- export declare type IntoxicantAddictionInterval = {
303
+ export type IntoxicantAddictionInterval = {
284
304
  tag: "Constant";
285
305
  constant: ConstantIntoxicantAddictionInterval;
286
306
  } | {
287
307
  tag: "DiceBased";
288
308
  dice_based: DiceBasedIntoxicantAddictionInterval;
289
309
  };
290
- export declare type ConstantIntoxicantAddictionInterval = {
310
+ export type ConstantIntoxicantAddictionInterval = {
291
311
  /**
292
312
  * The interval value in days.
293
313
  */
294
314
  value: number;
295
315
  };
296
- export declare type DiceBasedIntoxicantAddictionInterval = {
316
+ export type DiceBasedIntoxicantAddictionInterval = {
297
317
  /**
298
318
  * The dice that define the interval value in days.
299
319
  */
300
320
  dice: Dice;
301
321
  };
302
- export declare type IntoxicantTranslation = {
322
+ export type IntoxicantTranslation = {
303
323
  /**
304
324
  * How to ingest the intoxicant.
305
325
  */
@@ -319,7 +339,7 @@ export declare type IntoxicantTranslation = {
319
339
  */
320
340
  special?: NonEmptyMarkdown;
321
341
  };
322
- export declare type PoisonTranslation = {
342
+ export type PoisonTranslation = {
323
343
  /**
324
344
  * The name of the poison.
325
345
  */
@@ -14,6 +14,7 @@ export var PoisonTimeUnit;
14
14
  PoisonTimeUnit["CombatRounds"] = "CombatRounds";
15
15
  PoisonTimeUnit["Minutes"] = "Minutes";
16
16
  PoisonTimeUnit["Hours"] = "Hours";
17
+ PoisonTimeUnit["Days"] = "Days";
17
18
  })(PoisonTimeUnit || (PoisonTimeUnit = {}));
18
19
  export var QualityLevelDemonicPoisonLevelSource;
19
20
  (function (QualityLevelDemonicPoisonLevelSource) {
@@ -2,5 +2,5 @@
2
2
  * @main RopeOrChain
3
3
  */
4
4
  import { DefaultItem } from "./_Item.js";
5
- export declare type RopeOrChain = DefaultItem;
5
+ export type RopeOrChain = DefaultItem;
6
6
  export declare const validateSchema: import("../../../validation/schema.js").TypeValidator<DefaultItem>;
@@ -2,5 +2,5 @@
2
2
  * @main Stationary
3
3
  */
4
4
  import { DefaultItem } from "./_Item.js";
5
- export declare type Stationary = DefaultItem;
5
+ export type Stationary = DefaultItem;
6
6
  export declare const validateSchema: import("../../../validation/schema.js").TypeValidator<DefaultItem>;
@@ -2,5 +2,5 @@
2
2
  * @main ThievesTool
3
3
  */
4
4
  import { DefaultItem } from "./_Item.js";
5
- export declare type ThievesTool = DefaultItem;
5
+ export type ThievesTool = DefaultItem;
6
6
  export declare const validateSchema: import("../../../validation/schema.js").TypeValidator<DefaultItem>;
@@ -7,7 +7,7 @@ import { LocaleMap } from "../../_LocaleMap.js";
7
7
  import { NonEmptyMarkdown, NonEmptyString } from "../../_NonEmptyString.js";
8
8
  import { LaboratoryLevel } from "./_Herbary.js";
9
9
  import { Complexity, Cost, StructurePoints, Weight } from "./_Item.js";
10
- export declare type ToolOfTheTrade = {
10
+ export type ToolOfTheTrade = {
11
11
  /**
12
12
  * The cost in silverthalers.
13
13
  */
@@ -35,10 +35,10 @@ export declare type ToolOfTheTrade = {
35
35
  */
36
36
  translations: LocaleMap<ToolOfTheTradeTranslation>;
37
37
  };
38
- export declare type Laboratory = {
38
+ export type Laboratory = {
39
39
  level: LaboratoryLevel;
40
40
  };
41
- export declare type ToolOfTheTradeTranslation = {
41
+ export type ToolOfTheTradeTranslation = {
42
42
  /**
43
43
  * The name of the item.
44
44
  */
@@ -2,5 +2,5 @@
2
2
  * @main TravelGearOrTool
3
3
  */
4
4
  import { DefaultItem } from "./_Item.js";
5
- export declare type TravelGearOrTool = DefaultItem;
5
+ export type TravelGearOrTool = DefaultItem;
6
6
  export declare const validateSchema: import("../../../validation/schema.js").TypeValidator<DefaultItem>;
@@ -4,7 +4,7 @@
4
4
  import { PublicationRefs } from "../../source/_PublicationRef.js";
5
5
  import { LocaleMap } from "../../_LocaleMap.js";
6
6
  import { Cost, DefaultItemTranslation } from "./_Item.js";
7
- export declare type Vehicle = {
7
+ export type Vehicle = {
8
8
  /**
9
9
  * The cost in silverthalers.
10
10
  */
@@ -1,15 +1,15 @@
1
1
  /**
2
2
  * @main Weapon
3
3
  */
4
- import { Errata } from "../../source/_Erratum.js";
5
- import { PublicationRefs } from "../../source/_PublicationRef.js";
6
4
  import { LocaleMap } from "../../_LocaleMap.js";
7
5
  import { NonEmptyMarkdown, NonEmptyString } from "../../_NonEmptyString.js";
8
6
  import { BlessedTraditionReference, CultureReference, MagicalTraditionReference, RaceReference } from "../../_SimpleReferences.js";
7
+ import { Errata } from "../../source/_Erratum.js";
8
+ import { PublicationRefs } from "../../source/_PublicationRef.js";
9
9
  import { Complexity, Cost, StructurePoints, Weight } from "./_Item.js";
10
10
  import { MeleeWeapon } from "./_MeleeWeapon.js";
11
11
  import { RangedWeapon } from "./_RangedWeapon.js";
12
- export declare type Weapon = {
12
+ export type Weapon = {
13
13
  /**
14
14
  * The cost in silverthalers.
15
15
  */
@@ -55,7 +55,7 @@ export declare type Weapon = {
55
55
  */
56
56
  translations: LocaleMap<WeaponTranslation>;
57
57
  };
58
- export declare type WeaponTranslation = {
58
+ export type WeaponTranslation = {
59
59
  /**
60
60
  * The name of the item.
61
61
  */
@@ -82,7 +82,7 @@ export declare type WeaponTranslation = {
82
82
  disadvantage?: NonEmptyMarkdown;
83
83
  errata?: Errata;
84
84
  };
85
- export declare type SecondaryWeapon = {
85
+ export type SecondaryWeapon = {
86
86
  /**
87
87
  * A list of stat blocks for each combat technique this weapon can be used
88
88
  * with.
@@ -113,7 +113,7 @@ export declare type SecondaryWeapon = {
113
113
  /**
114
114
  * @minProperties 1
115
115
  */
116
- export declare type ImprovisedWeaponTranslation = {
116
+ export type ImprovisedWeaponTranslation = {
117
117
  /**
118
118
  * The weapon advantage text.
119
119
  */
@@ -123,7 +123,7 @@ export declare type ImprovisedWeaponTranslation = {
123
123
  */
124
124
  disadvantage?: NonEmptyMarkdown;
125
125
  };
126
- export declare type WeaponUse = {
126
+ export type WeaponUse = {
127
127
  /**
128
128
  * An increasing integer for use identification.
129
129
  * @integer
@@ -132,7 +132,7 @@ export declare type WeaponUse = {
132
132
  id: number;
133
133
  values: WeaponUseValues;
134
134
  };
135
- export declare type WeaponUseValues = {
135
+ export type WeaponUseValues = {
136
136
  tag: "Melee";
137
137
  melee: MeleeWeapon;
138
138
  } | {
@@ -142,20 +142,21 @@ export declare type WeaponUseValues = {
142
142
  /**
143
143
  * If the weapon is sanctified by a god and thus restricted to it's Blessed
144
144
  * Ones.
145
+ * @minItems 1
145
146
  */
146
- export declare type SanctifiedBy = BlessedTraditionReference;
147
+ export type SanctifiedBy = BlessedTraditionReference[];
147
148
  /**
148
149
  * Define if during character creation this weapon can only be bought by
149
150
  * characters of a specific race or culture.
150
151
  */
151
- export declare type RestrictedToCultures = {
152
+ export type RestrictedToCultures = {
152
153
  tag: "CulturesOfRace";
153
154
  cultures_of_race: RaceReference;
154
155
  } | {
155
156
  tag: "Cultures";
156
157
  cultures: RestrictedToSpecificCultures;
157
158
  };
158
- export declare type RestrictedToSpecificCultures = {
159
+ export type RestrictedToSpecificCultures = {
159
160
  /**
160
161
  * @minitems 1
161
162
  */
@@ -2,5 +2,5 @@
2
2
  * @main WeaponAccessory
3
3
  */
4
4
  import { DefaultItem } from "./_Item.js";
5
- export declare type WeaponAccessory = DefaultItem;
5
+ export type WeaponAccessory = DefaultItem;
6
6
  export declare const validateSchema: import("../../../validation/schema.js").TypeValidator<DefaultItem>;
@@ -19,7 +19,7 @@ export declare enum LaboratoryLevel {
19
19
  WitchKitchen = "WitchKitchen",
20
20
  AlchemistsLaboratory = "AlchemistsLaboratory"
21
21
  }
22
- export declare type RecipeTradeSecret = {
22
+ export type RecipeTradeSecret = {
23
23
  /**
24
24
  * The AP value of the trade secret.
25
25
  */