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.
- package/CHANGELOG.md +22 -0
- package/lib/config.d.ts +1 -1
- package/lib/main.d.ts +3 -3
- package/lib/main.js +8 -3
- package/lib/types/Advantage.d.ts +15 -4
- package/lib/types/AnimalDisease.d.ts +1 -1
- package/lib/types/AnimalType.d.ts +2 -2
- package/lib/types/ArcaneBardTradition.d.ts +1 -1
- package/lib/types/ArcaneDancerTradition.d.ts +1 -1
- package/lib/types/Aspect.d.ts +2 -2
- package/lib/types/Attribute.d.ts +2 -2
- package/lib/types/Blessing.d.ts +8 -8
- package/lib/types/Cantrip.d.ts +14 -14
- package/lib/types/Ceremony.d.ts +2 -2
- package/lib/types/CombatTechnique_Close.d.ts +3 -3
- package/lib/types/CombatTechnique_Ranged.d.ts +3 -3
- package/lib/types/Condition.d.ts +2 -2
- package/lib/types/Continent.d.ts +2 -2
- package/lib/types/Culture.d.ts +21 -21
- package/lib/types/DerivedCharacteristic.d.ts +3 -3
- package/lib/types/Disadvantage.d.ts +14 -4
- package/lib/types/Disease.d.ts +1 -1
- package/lib/types/Element.d.ts +2 -2
- package/lib/types/ExperienceLevel.d.ts +2 -2
- package/lib/types/EyeColor.d.ts +2 -2
- package/lib/types/FamiliarsTrick.d.ts +22 -22
- package/lib/types/HairColor.d.ts +2 -2
- package/lib/types/Kirchenpraegung.d.ts +1 -1
- package/lib/types/Lessons_Curriculum.d.ts +18 -18
- package/lib/types/Lessons_Guideline.d.ts +2 -2
- package/lib/types/LiturgicalChant.d.ts +2 -2
- package/lib/types/Locale.d.ts +2 -2
- package/lib/types/MetaCondition.d.ts +2 -2
- package/lib/types/PactCategory.d.ts +6 -6
- package/lib/types/Patron.d.ts +13 -13
- package/lib/types/PatronCategory.d.ts +2 -2
- package/lib/types/PersonalityTrait.d.ts +3 -3
- package/lib/types/Profession.d.ts +53 -43
- package/lib/types/Property.d.ts +2 -2
- package/lib/types/Race.d.ts +14 -14
- package/lib/types/Region.d.ts +2 -2
- package/lib/types/Ritual.d.ts +2 -2
- package/lib/types/Service.d.ts +2 -2
- package/lib/types/SexPractice.d.ts +2 -2
- package/lib/types/Skill.d.ts +6 -6
- package/lib/types/SkillGroup.d.ts +2 -2
- package/lib/types/SkillModificationLevel.d.ts +6 -6
- package/lib/types/SocialStatus.d.ts +2 -2
- package/lib/types/Spell.d.ts +2 -2
- package/lib/types/State.d.ts +2 -2
- package/lib/types/Talisman.d.ts +9 -9
- package/lib/types/TargetCategory.d.ts +3 -3
- package/lib/types/UI.d.ts +1 -1
- package/lib/types/_Activatable.d.ts +211 -103
- package/lib/types/_Activatable.js +4 -35
- package/lib/types/_ActivatableSelectOptionCategory.d.ts +55 -25
- package/lib/types/_ActivatableSkill.d.ts +8 -8
- package/lib/types/_ActivatableSkillCastingTime.d.ts +8 -8
- package/lib/types/_ActivatableSkillCheckResultBased.d.ts +2 -2
- package/lib/types/_ActivatableSkillCost.d.ts +20 -20
- package/lib/types/_ActivatableSkillDuration.d.ts +13 -13
- package/lib/types/_ActivatableSkillEffect.d.ts +4 -4
- package/lib/types/_ActivatableSkillRange.d.ts +6 -6
- package/lib/types/_ActivatableSkillTargetCategory.d.ts +4 -4
- package/lib/types/_AlternativeNames.d.ts +1 -1
- package/lib/types/_ArcaneTradition.d.ts +2 -2
- package/lib/types/_Blessed.d.ts +2 -2
- package/lib/types/_CommonnessRatedAdvantageDisadvantage.d.ts +1 -1
- package/lib/types/_Dice.d.ts +1 -1
- package/lib/types/_DiseasePoison.d.ts +4 -4
- package/lib/types/_Enhancements.d.ts +3 -3
- package/lib/types/_I18n.d.ts +1 -1
- package/lib/types/_Identifier.d.ts +132 -132
- package/lib/types/_IdentifierGroup.d.ts +20 -20
- package/lib/types/_Influence.d.ts +3 -3
- package/lib/types/_LocaleMap.d.ts +1 -1
- package/lib/types/_NonEmptyString.d.ts +2 -2
- package/lib/types/_Prerequisite.d.ts +21 -21
- package/lib/types/_ResponsiveText.d.ts +3 -3
- package/lib/types/_SimpleReferences.d.ts +44 -44
- package/lib/types/_SkillCheck.d.ts +1 -1
- package/lib/types/_Spellwork.d.ts +2 -2
- package/lib/types/equipment/EquipmentPackage.d.ts +3 -3
- package/lib/types/equipment/item/Alchemicum.d.ts +1 -1
- package/lib/types/equipment/item/Ammunition.d.ts +2 -2
- package/lib/types/equipment/item/Animal.d.ts +1 -1
- package/lib/types/equipment/item/AnimalCare.d.ts +5 -5
- package/lib/types/equipment/item/Armor.d.ts +11 -11
- package/lib/types/equipment/item/BandageOrRemedy.d.ts +1 -1
- package/lib/types/equipment/item/Book.d.ts +2 -2
- package/lib/types/equipment/item/CeremonialItem.d.ts +1 -1
- package/lib/types/equipment/item/Clothes.d.ts +1 -1
- package/lib/types/equipment/item/Container.d.ts +1 -1
- package/lib/types/equipment/item/Elixir.d.ts +2 -2
- package/lib/types/equipment/item/EquipmentOfBlessedOnes.d.ts +1 -1
- package/lib/types/equipment/item/GemOrPreciousStone.d.ts +2 -2
- package/lib/types/equipment/item/IlluminationLightSource.d.ts +3 -3
- package/lib/types/equipment/item/IlluminationRefillsOrSupplies.d.ts +1 -1
- package/lib/types/equipment/item/Jewelry.d.ts +3 -3
- package/lib/types/equipment/item/Liebesspielzeug.d.ts +1 -1
- package/lib/types/equipment/item/LuxuryGood.d.ts +1 -1
- package/lib/types/equipment/item/MagicalArtifact.d.ts +2 -2
- package/lib/types/equipment/item/MusicalInstrument.d.ts +1 -1
- package/lib/types/equipment/item/OrienteeringAid.d.ts +1 -1
- package/lib/types/equipment/item/Poison.d.ts +45 -25
- package/lib/types/equipment/item/Poison.js +1 -0
- package/lib/types/equipment/item/RopeOrChain.d.ts +1 -1
- package/lib/types/equipment/item/Stationary.d.ts +1 -1
- package/lib/types/equipment/item/ThievesTool.d.ts +1 -1
- package/lib/types/equipment/item/ToolOfTheTrade.d.ts +3 -3
- package/lib/types/equipment/item/TravelGearOrTool.d.ts +1 -1
- package/lib/types/equipment/item/Vehicle.d.ts +1 -1
- package/lib/types/equipment/item/Weapon.d.ts +12 -11
- package/lib/types/equipment/item/WeaponAccessory.d.ts +1 -1
- package/lib/types/equipment/item/_Herbary.d.ts +1 -1
- package/lib/types/equipment/item/_Item.d.ts +12 -12
- package/lib/types/equipment/item/_MeleeWeapon.d.ts +7 -7
- package/lib/types/equipment/item/_RangedWeapon.d.ts +6 -6
- package/lib/types/equipment/item/_Weapon.d.ts +5 -5
- package/lib/types/equipment/item/sub/ArmorType.d.ts +5 -5
- package/lib/types/equipment/item/sub/Reach.d.ts +2 -2
- package/lib/types/magicalActions/AnimistPower.d.ts +16 -16
- package/lib/types/magicalActions/AnimistPower_Tribe.d.ts +2 -2
- package/lib/types/magicalActions/Curse.d.ts +10 -10
- package/lib/types/magicalActions/DominationRitual.d.ts +9 -9
- package/lib/types/magicalActions/ElvenMagicalSong.d.ts +7 -7
- package/lib/types/magicalActions/GeodeRitual.d.ts +10 -10
- package/lib/types/magicalActions/JesterTrick.d.ts +9 -9
- package/lib/types/magicalActions/MagicalDance.d.ts +6 -6
- package/lib/types/magicalActions/MagicalMelody.d.ts +6 -6
- package/lib/types/magicalActions/MagicalRune.d.ts +22 -22
- package/lib/types/magicalActions/ZibiljaRitual.d.ts +3 -3
- package/lib/types/magicalActions/_MusicTradition.d.ts +3 -3
- package/lib/types/magicalActions/_SkillReference.d.ts +1 -1
- package/lib/types/prerequisites/ConditionalPrerequisites.d.ts +1 -1
- package/lib/types/prerequisites/DisplayOption.d.ts +16 -2
- package/lib/types/prerequisites/PrerequisiteGroups.d.ts +38 -16
- package/lib/types/prerequisites/single/ActivatablePrerequisite.d.ts +1 -1
- package/lib/types/prerequisites/single/AncestorBloodPrerequisite.d.ts +5 -0
- package/lib/types/prerequisites/single/AncestorBloodPrerequisite.js +1 -0
- package/lib/types/prerequisites/single/AnimistPowerPrerequisite.d.ts +1 -1
- package/lib/types/prerequisites/single/CulturePrerequisite.d.ts +1 -1
- package/lib/types/prerequisites/single/EnhancementPrerequisite.d.ts +4 -4
- package/lib/types/prerequisites/single/InfluencePrerequisite.d.ts +1 -1
- package/lib/types/prerequisites/single/PactPrerequisite.d.ts +1 -1
- package/lib/types/prerequisites/single/PrimaryAttributePrerequisite.d.ts +1 -1
- package/lib/types/prerequisites/single/PublicationPrerequisite.d.ts +1 -1
- package/lib/types/prerequisites/single/RacePrerequisite.d.ts +1 -1
- package/lib/types/prerequisites/single/RatedMinimumNumberPrerequisite.d.ts +67 -0
- package/lib/types/prerequisites/single/RatedMinimumNumberPrerequisite.js +6 -0
- package/lib/types/prerequisites/single/RatedPrerequisite.d.ts +1 -56
- package/lib/types/prerequisites/single/RatedSumPrerequisite.d.ts +19 -0
- package/lib/types/prerequisites/single/RatedSumPrerequisite.js +1 -0
- package/lib/types/prerequisites/single/RulePrerequisite.d.ts +1 -1
- package/lib/types/prerequisites/single/SexPrerequisite.d.ts +1 -1
- package/lib/types/prerequisites/single/SexualCharacteristicPrerequisite.d.ts +11 -0
- package/lib/types/prerequisites/single/SexualCharacteristicPrerequisite.js +5 -0
- package/lib/types/prerequisites/single/SocialStatusPrerequisite.d.ts +1 -1
- package/lib/types/prerequisites/single/StatePrerequisite.d.ts +1 -1
- package/lib/types/prerequisites/single/TextPrerequisite.d.ts +31 -2
- package/lib/types/prerequisites/single/TextPrerequisite.js +5 -0
- package/lib/types/prerequisites/single/TraditionPrerequisite.d.ts +2 -2
- package/lib/types/rule/CoreRule.d.ts +11 -11
- package/lib/types/rule/FocusRule.d.ts +2 -2
- package/lib/types/rule/FocusRule_Subject.d.ts +2 -2
- package/lib/types/rule/OptionalRule.d.ts +2 -2
- package/lib/types/source/Publication.d.ts +2 -2
- package/lib/types/source/_Erratum.d.ts +2 -2
- package/lib/types/source/_PublicationRef.d.ts +13 -13
- package/lib/types/specialAbility/AdvancedCombatSpecialAbility.d.ts +13 -2
- package/lib/types/specialAbility/AdvancedKarmaSpecialAbility.d.ts +2 -2
- package/lib/types/specialAbility/AdvancedMagicalSpecialAbility.d.ts +2 -2
- package/lib/types/specialAbility/AdvancedSkillSpecialAbility.d.ts +2 -2
- package/lib/types/specialAbility/AncestorGlyph.d.ts +2 -2
- package/lib/types/specialAbility/BlessedTradition.d.ts +8 -8
- package/lib/types/specialAbility/BrawlingSpecialAbility.d.ts +2 -2
- package/lib/types/specialAbility/CeremonialItemSpecialAbility.d.ts +9 -4
- package/lib/types/specialAbility/CombatSpecialAbility.d.ts +8 -4
- package/lib/types/specialAbility/CombatStyleSpecialAbility.d.ts +2 -2
- package/lib/types/specialAbility/CommandSpecialAbility.d.ts +1 -1
- package/lib/types/specialAbility/FamiliarSpecialAbility.d.ts +2 -2
- package/lib/types/specialAbility/FatePointSexSpecialAbility.d.ts +2 -2
- package/lib/types/specialAbility/FatePointSpecialAbility.d.ts +7 -2
- package/lib/types/specialAbility/GeneralSpecialAbility.d.ts +14 -4
- package/lib/types/specialAbility/KarmaSpecialAbility.d.ts +9 -4
- package/lib/types/specialAbility/LiturgicalStyleSpecialAbility.d.ts +2 -2
- package/lib/types/specialAbility/LycantropicGift.d.ts +2 -2
- package/lib/types/specialAbility/MagicStyleSpecialAbility.d.ts +2 -2
- package/lib/types/specialAbility/MagicalSign.d.ts +2 -2
- package/lib/types/specialAbility/MagicalSpecialAbility.d.ts +13 -4
- package/lib/types/specialAbility/MagicalTradition.d.ts +3 -3
- package/lib/types/specialAbility/PactGift.d.ts +9 -9
- package/lib/types/specialAbility/ProtectiveWardingCircleSpecialAbility.d.ts +2 -2
- package/lib/types/specialAbility/Sermon.d.ts +2 -2
- package/lib/types/specialAbility/SexSpecialAbility.d.ts +2 -2
- package/lib/types/specialAbility/SikaryanDrainSpecialAbility.d.ts +7 -2
- package/lib/types/specialAbility/SkillStyleSpecialAbility.d.ts +2 -2
- package/lib/types/specialAbility/VampiricGift.d.ts +9 -4
- package/lib/types/specialAbility/Vision.d.ts +2 -2
- package/lib/types/specialAbility/_Tradition.d.ts +1 -1
- package/lib/types/specialAbility/sub/Language.d.ts +8 -8
- package/lib/types/specialAbility/sub/Script.d.ts +2 -2
- package/lib/types/specialAbility/sub/TradeSecret.d.ts +2 -2
- package/lib/types/specialAbility/sub/_LanguageScript.d.ts +1 -1
- package/lib/types/traditionArtifacts/ArcaneOrbEnchantment.d.ts +4 -4
- package/lib/types/traditionArtifacts/AttireEnchantment.d.ts +4 -4
- package/lib/types/traditionArtifacts/BowlEnchantment.d.ts +4 -4
- package/lib/types/traditionArtifacts/CauldronEnchantment.d.ts +5 -5
- package/lib/types/traditionArtifacts/ChronicleEnchantment.d.ts +4 -4
- package/lib/types/traditionArtifacts/DaggerRitual.d.ts +8 -8
- package/lib/types/traditionArtifacts/FoolsHatEnchantment.d.ts +4 -4
- package/lib/types/traditionArtifacts/InstrumentEnchantment.d.ts +4 -4
- package/lib/types/traditionArtifacts/Krallenkettenzauber.d.ts +4 -4
- package/lib/types/traditionArtifacts/OrbEnchantment.d.ts +4 -4
- package/lib/types/traditionArtifacts/RingEnchantment.d.ts +4 -4
- package/lib/types/traditionArtifacts/SickleRitual.d.ts +4 -4
- package/lib/types/traditionArtifacts/SpellSwordEnchantment.d.ts +9 -4
- package/lib/types/traditionArtifacts/StaffEnchantment.d.ts +14 -4
- package/lib/types/traditionArtifacts/ToyEnchantment.d.ts +4 -4
- package/lib/types/traditionArtifacts/Trinkhornzauber.d.ts +4 -4
- package/lib/types/traditionArtifacts/WandEnchantment.d.ts +4 -4
- package/lib/types/traditionArtifacts/WeaponEnchantment.d.ts +4 -4
- package/lib/types/traditionArtifacts/sub/AnimalShape.d.ts +4 -4
- package/lib/types/traditionArtifacts/sub/AnimalShapePath.d.ts +2 -2
- package/lib/types/traditionArtifacts/sub/AnimalShapeSize.d.ts +2 -2
- package/lib/types/traditionArtifacts/sub/Brew.d.ts +2 -2
- package/lib/validation/schema.d.ts +5 -5
- package/lib/validation/schema.js +2 -2
- package/package.json +5 -5
- package/schema/Advantage.schema.json +11 -0
- package/schema/Disadvantage.schema.json +8 -0
- package/schema/Profession.schema.json +8 -0
- package/schema/Talisman.schema.json +2 -4
- package/schema/_Activatable.schema.json +166 -0
- package/schema/_ActivatableSelectOptionCategory.schema.json +141 -0
- package/schema/equipment/item/Poison.schema.json +55 -1
- package/schema/equipment/item/Weapon.schema.json +5 -1
- package/schema/equipment/item/sub/ArmorType.schema.json +1 -2
- package/schema/prerequisites/DisplayOption.schema.json +4 -0
- package/schema/prerequisites/PrerequisiteGroups.schema.json +98 -2
- package/schema/prerequisites/single/AncestorBloodPrerequisite.schema.json +14 -0
- package/schema/prerequisites/single/RatedMinimumNumberPrerequisite.schema.json +166 -0
- package/schema/prerequisites/single/RatedPrerequisite.schema.json +0 -125
- package/schema/prerequisites/single/RatedSumPrerequisite.schema.json +33 -0
- package/schema/prerequisites/single/SexualCharacteristicPrerequisite.schema.json +26 -0
- package/schema/prerequisites/single/TextPrerequisite.schema.json +14 -0
- package/schema/specialAbility/AdvancedCombatSpecialAbility.schema.json +8 -0
- package/schema/specialAbility/CeremonialItemSpecialAbility.schema.json +4 -0
- package/schema/specialAbility/CombatSpecialAbility.schema.json +4 -0
- package/schema/specialAbility/FatePointSpecialAbility.schema.json +4 -0
- package/schema/specialAbility/GeneralSpecialAbility.schema.json +8 -0
- package/schema/specialAbility/KarmaSpecialAbility.schema.json +4 -0
- package/schema/specialAbility/MagicalSpecialAbility.schema.json +8 -0
- package/schema/specialAbility/SikaryanDrainSpecialAbility.schema.json +4 -0
- package/schema/specialAbility/VampiricGift.schema.json +4 -0
- package/schema/traditionArtifacts/SpellSwordEnchantment.schema.json +4 -0
- package/schema/traditionArtifacts/StaffEnchantment.schema.json +8 -0
package/lib/types/Patron.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ import { AdvantageReference, CultureReference, DisadvantageReference, PatronCate
|
|
|
9
9
|
/**
|
|
10
10
|
* @title Patron
|
|
11
11
|
*/
|
|
12
|
-
export
|
|
12
|
+
export type Patron = {
|
|
13
13
|
/**
|
|
14
14
|
* The patron's identifier. An unique, increasing integer.
|
|
15
15
|
* @integer
|
|
@@ -83,7 +83,7 @@ export declare type Patron = {
|
|
|
83
83
|
*/
|
|
84
84
|
translations: LocaleMap<PatronTranslation>;
|
|
85
85
|
};
|
|
86
|
-
export
|
|
86
|
+
export type PatronTranslation = {
|
|
87
87
|
/**
|
|
88
88
|
* The name of the patron.
|
|
89
89
|
*/
|
|
@@ -94,7 +94,7 @@ export declare type PatronTranslation = {
|
|
|
94
94
|
* all patron cultures, the set should be empty and the operation should be
|
|
95
95
|
* difference.
|
|
96
96
|
*/
|
|
97
|
-
export
|
|
97
|
+
export type PatronCulture = {
|
|
98
98
|
set: CultureReference[];
|
|
99
99
|
operation: PatronCultureOperation;
|
|
100
100
|
};
|
|
@@ -108,7 +108,7 @@ export declare enum PatronCultureOperation {
|
|
|
108
108
|
Intersection = "Intersection",
|
|
109
109
|
Difference = "Difference"
|
|
110
110
|
}
|
|
111
|
-
export
|
|
111
|
+
export type AdvantageAnimalPower = {
|
|
112
112
|
/**
|
|
113
113
|
* The advantage's identifier.
|
|
114
114
|
* @integer
|
|
@@ -128,7 +128,7 @@ export declare type AdvantageAnimalPower = {
|
|
|
128
128
|
*/
|
|
129
129
|
option?: number;
|
|
130
130
|
};
|
|
131
|
-
export
|
|
131
|
+
export type SkillAnimalPower = {
|
|
132
132
|
/**
|
|
133
133
|
* The skill's identifier.
|
|
134
134
|
* @integer
|
|
@@ -142,7 +142,7 @@ export declare type SkillAnimalPower = {
|
|
|
142
142
|
*/
|
|
143
143
|
points: number;
|
|
144
144
|
};
|
|
145
|
-
export
|
|
145
|
+
export type AnimalPowerLevel1 = {
|
|
146
146
|
tag: "Advantage";
|
|
147
147
|
advantage: AdvantageAnimalPower;
|
|
148
148
|
} | {
|
|
@@ -152,8 +152,8 @@ export declare type AnimalPowerLevel1 = {
|
|
|
152
152
|
/**
|
|
153
153
|
* @minItems 1
|
|
154
154
|
*/
|
|
155
|
-
export
|
|
156
|
-
export
|
|
155
|
+
export type AnimalPowersLevel1 = AnimalPowerLevel1[];
|
|
156
|
+
export type CombatAnimalPower = {
|
|
157
157
|
/**
|
|
158
158
|
* The combat value.
|
|
159
159
|
*/
|
|
@@ -173,15 +173,15 @@ export declare enum CombatAnimalPowerType {
|
|
|
173
173
|
DamagePoints = "DamagePoints",
|
|
174
174
|
Protection = "Protection"
|
|
175
175
|
}
|
|
176
|
-
export
|
|
176
|
+
export type AnimalPowerLevel2 = {
|
|
177
177
|
tag: "Combat";
|
|
178
178
|
combat: CombatAnimalPower;
|
|
179
179
|
};
|
|
180
180
|
/**
|
|
181
181
|
* @minItems 1
|
|
182
182
|
*/
|
|
183
|
-
export
|
|
184
|
-
export
|
|
183
|
+
export type AnimalPowersLevel2 = AnimalPowerLevel2[];
|
|
184
|
+
export type AttributeAnimalPower = {
|
|
185
185
|
/**
|
|
186
186
|
* The attribute's identifier.
|
|
187
187
|
* @integer
|
|
@@ -195,12 +195,12 @@ export declare type AttributeAnimalPower = {
|
|
|
195
195
|
*/
|
|
196
196
|
value: number;
|
|
197
197
|
};
|
|
198
|
-
export
|
|
198
|
+
export type AnimalPowerLevel3 = {
|
|
199
199
|
tag: "Attribute";
|
|
200
200
|
attribute: AttributeAnimalPower;
|
|
201
201
|
};
|
|
202
202
|
/**
|
|
203
203
|
* @minItems 1
|
|
204
204
|
*/
|
|
205
|
-
export
|
|
205
|
+
export type AnimalPowersLevel3 = AnimalPowerLevel3[];
|
|
206
206
|
export declare const validateSchema: import("../validation/schema.js").TypeValidator<Patron>;
|
|
@@ -7,7 +7,7 @@ import { CultureReference } from "./_SimpleReferences.js";
|
|
|
7
7
|
/**
|
|
8
8
|
* @title Patron Category
|
|
9
9
|
*/
|
|
10
|
-
export
|
|
10
|
+
export type PatronCategory = {
|
|
11
11
|
/**
|
|
12
12
|
* The patron category's identifier. An unique, increasing integer.
|
|
13
13
|
* @integer
|
|
@@ -26,7 +26,7 @@ export declare type PatronCategory = {
|
|
|
26
26
|
*/
|
|
27
27
|
translations: LocaleMap<PatronCategoryTranslation>;
|
|
28
28
|
};
|
|
29
|
-
export
|
|
29
|
+
export type PatronCategoryTranslation = {
|
|
30
30
|
/**
|
|
31
31
|
* The name of the patron category.
|
|
32
32
|
*/
|
|
@@ -13,7 +13,7 @@ import { PersonalityTraitReference } from "./_SimpleReferences.js";
|
|
|
13
13
|
* lower-level traits.
|
|
14
14
|
* @title Personality Trait
|
|
15
15
|
*/
|
|
16
|
-
export
|
|
16
|
+
export type PersonalityTrait = {
|
|
17
17
|
/**
|
|
18
18
|
* The personality trait's identifier. An unique, increasing integer.
|
|
19
19
|
* @integer
|
|
@@ -40,7 +40,7 @@ export declare type PersonalityTrait = {
|
|
|
40
40
|
*/
|
|
41
41
|
translations: LocaleMap<PersonalityTraitTranslation>;
|
|
42
42
|
};
|
|
43
|
-
export
|
|
43
|
+
export type PersonalityTraitTranslation = {
|
|
44
44
|
/**
|
|
45
45
|
* The name of the personality trait.
|
|
46
46
|
*/
|
|
@@ -53,7 +53,7 @@ export declare type PersonalityTraitTranslation = {
|
|
|
53
53
|
effects: PersonalityTraitEffect[];
|
|
54
54
|
errata?: Errata;
|
|
55
55
|
};
|
|
56
|
-
export
|
|
56
|
+
export type PersonalityTraitEffect = {
|
|
57
57
|
/**
|
|
58
58
|
* A label that is displayed and placed before the actual text.
|
|
59
59
|
*/
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @main Profession
|
|
3
3
|
*/
|
|
4
|
-
import { Errata } from "./source/_Erratum.js";
|
|
5
|
-
import { PublicationRefs } from "./source/_PublicationRef.js";
|
|
6
4
|
import { CommonnessRatedAdvantageDisadvantage } from "./_CommonnessRatedAdvantageDisadvantage.js";
|
|
7
5
|
import { AdvantageIdentifier, DisadvantageIdentifier, SkillIdentifier } from "./_Identifier.js";
|
|
8
6
|
import { CombatTechniqueIdentifier, LiturgyIdentifier, MagicalActionIdentifier, RequirableSelectOptionIdentifier, SpecialAbilityIdentifier, SpellworkIdentifier } from "./_IdentifierGroup.js";
|
|
@@ -10,10 +8,12 @@ import { LocaleMap } from "./_LocaleMap.js";
|
|
|
10
8
|
import { NonEmptyString } from "./_NonEmptyString.js";
|
|
11
9
|
import { ProfessionPrerequisites } from "./_Prerequisite.js";
|
|
12
10
|
import { CantripReference, CombatTechniqueReference, CurriculumReference, MagicalTraditionReference, SkillGroupReference, SkillReference } from "./_SimpleReferences.js";
|
|
11
|
+
import { Errata } from "./source/_Erratum.js";
|
|
12
|
+
import { PublicationRefs } from "./source/_PublicationRef.js";
|
|
13
13
|
/**
|
|
14
14
|
* @title Profession
|
|
15
15
|
*/
|
|
16
|
-
export
|
|
16
|
+
export type Profession = {
|
|
17
17
|
/**
|
|
18
18
|
* The profession's identifier. An unique, increasing integer.
|
|
19
19
|
* @integer
|
|
@@ -40,7 +40,7 @@ export declare type Profession = {
|
|
|
40
40
|
*/
|
|
41
41
|
versions: ProfessionVersion[];
|
|
42
42
|
};
|
|
43
|
-
export
|
|
43
|
+
export type ProfessionGroup = {
|
|
44
44
|
tag: "Mundane";
|
|
45
45
|
mundane: MundaneProfessionGroup;
|
|
46
46
|
} | {
|
|
@@ -55,20 +55,20 @@ export declare enum MundaneProfessionGroup {
|
|
|
55
55
|
Fighter = "Fighter",
|
|
56
56
|
Religious = "Religious"
|
|
57
57
|
}
|
|
58
|
-
export
|
|
58
|
+
export type MagicalProfessionGroup = {
|
|
59
59
|
/**
|
|
60
60
|
* The curriculum/academy associated with this magical profession, if any.
|
|
61
61
|
*/
|
|
62
62
|
curriculum?: CurriculumReference;
|
|
63
63
|
};
|
|
64
|
-
export
|
|
64
|
+
export type ProfessionVersion = {
|
|
65
65
|
tag: "Experienced";
|
|
66
66
|
experienced: ExperiencedProfessionPackage;
|
|
67
67
|
} | {
|
|
68
68
|
tag: "ByExperienceLevel";
|
|
69
69
|
by_experience_level: ProfessionPackagesForDifferentExperienceLevels;
|
|
70
70
|
};
|
|
71
|
-
export
|
|
71
|
+
export type ExperiencedProfessionPackage = {
|
|
72
72
|
/**
|
|
73
73
|
* The profession representation variant's identifier. An unique, increasing
|
|
74
74
|
* integer.
|
|
@@ -83,7 +83,7 @@ export declare type ExperiencedProfessionPackage = {
|
|
|
83
83
|
*/
|
|
84
84
|
translations: LocaleMap<ProfessionTranslation>;
|
|
85
85
|
};
|
|
86
|
-
export
|
|
86
|
+
export type ProfessionPackagesForDifferentExperienceLevels = {
|
|
87
87
|
/**
|
|
88
88
|
* The profession representation variant's identifier. An unique, increasing
|
|
89
89
|
* integer.
|
|
@@ -98,7 +98,7 @@ export declare type ProfessionPackagesForDifferentExperienceLevels = {
|
|
|
98
98
|
*/
|
|
99
99
|
translations: LocaleMap<ProfessionTranslation>;
|
|
100
100
|
};
|
|
101
|
-
export
|
|
101
|
+
export type ExperienceLevelDynamicProfessionPackage = {
|
|
102
102
|
/**
|
|
103
103
|
* The experience level this profession targets. The experience level
|
|
104
104
|
* must be unique for this representation.
|
|
@@ -113,7 +113,7 @@ export declare type ExperienceLevelDynamicProfessionPackage = {
|
|
|
113
113
|
/**
|
|
114
114
|
* @title Profession Representation Variant
|
|
115
115
|
*/
|
|
116
|
-
export
|
|
116
|
+
export type ProfessionPackage = {
|
|
117
117
|
/**
|
|
118
118
|
* What does the professional package cost in adventure points?
|
|
119
119
|
* @integer
|
|
@@ -186,7 +186,7 @@ export declare type ProfessionPackage = {
|
|
|
186
186
|
*/
|
|
187
187
|
variants?: ProfessionVariants;
|
|
188
188
|
};
|
|
189
|
-
export
|
|
189
|
+
export type ProfessionTranslation = {
|
|
190
190
|
/**
|
|
191
191
|
* Name of the basic profession.
|
|
192
192
|
*/
|
|
@@ -224,7 +224,7 @@ export declare type ProfessionTranslation = {
|
|
|
224
224
|
* variant is optional, but there are some rare exceptions where picking a
|
|
225
225
|
* variant is required.
|
|
226
226
|
*/
|
|
227
|
-
export
|
|
227
|
+
export type ProfessionVariants = {
|
|
228
228
|
/**
|
|
229
229
|
* If the selection of a profession variant is required.
|
|
230
230
|
*/
|
|
@@ -238,7 +238,7 @@ export declare type ProfessionVariants = {
|
|
|
238
238
|
/**
|
|
239
239
|
* @title Profession Variant
|
|
240
240
|
*/
|
|
241
|
-
export
|
|
241
|
+
export type ProfessionVariant = {
|
|
242
242
|
/**
|
|
243
243
|
* The profession variant's identifier. An unique, increasing integer.
|
|
244
244
|
* @integer
|
|
@@ -289,27 +289,37 @@ export declare type ProfessionVariant = {
|
|
|
289
289
|
*/
|
|
290
290
|
translations: LocaleMap<ProfessionVariantTranslation>;
|
|
291
291
|
};
|
|
292
|
-
export
|
|
292
|
+
export type ProfessionVariantTranslation = {
|
|
293
293
|
/**
|
|
294
294
|
* Name of the profession variant.
|
|
295
295
|
*/
|
|
296
296
|
name: ProfessionName;
|
|
297
|
+
/**
|
|
298
|
+
* A text that replaces the generated text for the profession variant.
|
|
299
|
+
*/
|
|
300
|
+
full_text?: NonEmptyString;
|
|
301
|
+
/**
|
|
302
|
+
* A text that is appended to the generated text for the profession variant.
|
|
303
|
+
*
|
|
304
|
+
* Has no effect when `full_text` is set.
|
|
305
|
+
*/
|
|
306
|
+
concluding_text?: NonEmptyString;
|
|
297
307
|
};
|
|
298
|
-
export
|
|
308
|
+
export type SpecialAbility = {
|
|
299
309
|
tag: "Fixed";
|
|
300
310
|
fixed: FixedSpecialAbility;
|
|
301
311
|
} | {
|
|
302
312
|
tag: "Selection";
|
|
303
313
|
selection: SpecialAbilitySelection;
|
|
304
314
|
};
|
|
305
|
-
export
|
|
306
|
-
export
|
|
315
|
+
export type FixedSpecialAbility = SpecialAbilityDefinition;
|
|
316
|
+
export type SpecialAbilitySelection = {
|
|
307
317
|
/**
|
|
308
318
|
* @minItems 2
|
|
309
319
|
*/
|
|
310
320
|
options: SpecialAbilityDefinition[];
|
|
311
321
|
};
|
|
312
|
-
export
|
|
322
|
+
export type SpecialAbilityDefinition = {
|
|
313
323
|
/**
|
|
314
324
|
* The identifier of the combat technique to provide the rating for.
|
|
315
325
|
*/
|
|
@@ -327,21 +337,21 @@ export declare type SpecialAbilityDefinition = {
|
|
|
327
337
|
*/
|
|
328
338
|
options?: RequirableSelectOptionIdentifier[];
|
|
329
339
|
};
|
|
330
|
-
export
|
|
340
|
+
export type VariantSpecialAbility = {
|
|
331
341
|
tag: "Fixed";
|
|
332
342
|
fixed: FixedVariantSpecialAbility;
|
|
333
343
|
} | {
|
|
334
344
|
tag: "Selection";
|
|
335
345
|
selection: VariantSpecialAbilitySelection;
|
|
336
346
|
};
|
|
337
|
-
export
|
|
347
|
+
export type FixedVariantSpecialAbility = SpecialAbilityDefinition & {
|
|
338
348
|
/**
|
|
339
349
|
* if set to `false`, if the selection is granted by the basic package, it
|
|
340
350
|
* is removed.
|
|
341
351
|
*/
|
|
342
352
|
active?: false;
|
|
343
353
|
};
|
|
344
|
-
export
|
|
354
|
+
export type VariantSpecialAbilitySelection = {
|
|
345
355
|
/**
|
|
346
356
|
* if set to `false`, if the selection is granted by the basic package, it
|
|
347
357
|
* is removed.
|
|
@@ -352,7 +362,7 @@ export declare type VariantSpecialAbilitySelection = {
|
|
|
352
362
|
*/
|
|
353
363
|
options: SpecialAbilityDefinition[];
|
|
354
364
|
};
|
|
355
|
-
export
|
|
365
|
+
export type CombatTechniqueRating = {
|
|
356
366
|
/**
|
|
357
367
|
* The identifier of the combat technique to provide the rating for.
|
|
358
368
|
*/
|
|
@@ -369,7 +379,7 @@ export declare type CombatTechniqueRating = {
|
|
|
369
379
|
*/
|
|
370
380
|
rating: number;
|
|
371
381
|
};
|
|
372
|
-
export
|
|
382
|
+
export type SkillRating = {
|
|
373
383
|
/**
|
|
374
384
|
* The identifier of the skill to provide the rating for.
|
|
375
385
|
* @integer
|
|
@@ -386,7 +396,7 @@ export declare type SkillRating = {
|
|
|
386
396
|
*/
|
|
387
397
|
rating: number;
|
|
388
398
|
};
|
|
389
|
-
export
|
|
399
|
+
export type SpellRating = {
|
|
390
400
|
/**
|
|
391
401
|
* The identifier(s) of the spell(s) to choose from to provide the rating for.
|
|
392
402
|
* If multiple spells are provided, they must all have the same improvement
|
|
@@ -403,14 +413,14 @@ export declare type SpellRating = {
|
|
|
403
413
|
*/
|
|
404
414
|
rating: number;
|
|
405
415
|
};
|
|
406
|
-
export
|
|
416
|
+
export type SpellIdentifier = {
|
|
407
417
|
tag: "Spellwork";
|
|
408
418
|
spellwork: ProfessionSpellworkIdentifier;
|
|
409
419
|
} | {
|
|
410
420
|
tag: "MagicalAction";
|
|
411
421
|
magical_action: ProfessionMagicalActionIdentifier;
|
|
412
422
|
};
|
|
413
|
-
export
|
|
423
|
+
export type ProfessionSpellworkIdentifier = {
|
|
414
424
|
/**
|
|
415
425
|
* The identifier of the spell to provide the rating for.
|
|
416
426
|
*/
|
|
@@ -424,13 +434,13 @@ export declare type ProfessionSpellworkIdentifier = {
|
|
|
424
434
|
*/
|
|
425
435
|
tradition?: MagicalTraditionReference;
|
|
426
436
|
};
|
|
427
|
-
export
|
|
437
|
+
export type ProfessionMagicalActionIdentifier = {
|
|
428
438
|
/**
|
|
429
439
|
* The identifier of the magical action to provide the rating for.
|
|
430
440
|
*/
|
|
431
441
|
id: MagicalActionIdentifier;
|
|
432
442
|
};
|
|
433
|
-
export
|
|
443
|
+
export type LiturgicalChantRating = {
|
|
434
444
|
/**
|
|
435
445
|
* The identifier(s) of the liturgical chant(s) to choose from to provide
|
|
436
446
|
* the rating for. If multiple liturgical chants are provided, they must all
|
|
@@ -453,7 +463,7 @@ export declare type LiturgicalChantRating = {
|
|
|
453
463
|
* player must choose between different options for the profession package.
|
|
454
464
|
* @minProperties 1
|
|
455
465
|
*/
|
|
456
|
-
export
|
|
466
|
+
export type ProfessionPackageOptions = {
|
|
457
467
|
skill_specialization?: SkillSpecializationOptions;
|
|
458
468
|
languages_scripts?: LanguagesScriptsOptions;
|
|
459
469
|
combat_techniques?: CombatTechniquesOptions;
|
|
@@ -468,7 +478,7 @@ export declare type ProfessionPackageOptions = {
|
|
|
468
478
|
* variant may override or remove those options.
|
|
469
479
|
* @minProperties 1
|
|
470
480
|
*/
|
|
471
|
-
export
|
|
481
|
+
export type ProfessionVariantPackageOptions = {
|
|
472
482
|
skill_specialization?: VariantOptionAction<SkillSpecializationOptions>;
|
|
473
483
|
languages_scripts?: VariantOptionAction<LanguagesScriptsOptions>;
|
|
474
484
|
combat_techniques?: VariantOptionAction<CombatTechniquesOptions>;
|
|
@@ -477,7 +487,7 @@ export declare type ProfessionVariantPackageOptions = {
|
|
|
477
487
|
terrain_knowledge?: VariantOptionAction<TerrainKnowledgeOptions>;
|
|
478
488
|
skills?: VariantOptionAction<SkillsOptions>;
|
|
479
489
|
};
|
|
480
|
-
export
|
|
490
|
+
export type VariantOptionAction<T> = {
|
|
481
491
|
tag: "Remove";
|
|
482
492
|
remove: {};
|
|
483
493
|
} | {
|
|
@@ -489,14 +499,14 @@ export declare type VariantOptionAction<T> = {
|
|
|
489
499
|
* get a skill specialization for. You can also specify a skill groups from
|
|
490
500
|
* which you can choose a skill.
|
|
491
501
|
*/
|
|
492
|
-
export
|
|
502
|
+
export type SkillSpecializationOptions = {
|
|
493
503
|
tag: "Single";
|
|
494
504
|
single: SingleSkillSpecializationOption;
|
|
495
505
|
} | {
|
|
496
506
|
tag: "Group";
|
|
497
507
|
group: SkillGroupSkillSpecializationOption;
|
|
498
508
|
};
|
|
499
|
-
export
|
|
509
|
+
export type SingleSkillSpecializationOption = {
|
|
500
510
|
/**
|
|
501
511
|
* Possible skills to get a skill specialization for.
|
|
502
512
|
* @minItems 1
|
|
@@ -504,11 +514,11 @@ export declare type SingleSkillSpecializationOption = {
|
|
|
504
514
|
*/
|
|
505
515
|
options: SkillReference[];
|
|
506
516
|
};
|
|
507
|
-
export
|
|
517
|
+
export type SkillGroupSkillSpecializationOption = SkillGroupReference;
|
|
508
518
|
/**
|
|
509
519
|
* Buy languages and scripts for a specific amount of AP.
|
|
510
520
|
*/
|
|
511
|
-
export
|
|
521
|
+
export type LanguagesScriptsOptions = {
|
|
512
522
|
/**
|
|
513
523
|
* The AP value you can buy languages and scripts for.
|
|
514
524
|
* @integer
|
|
@@ -520,7 +530,7 @@ export declare type LanguagesScriptsOptions = {
|
|
|
520
530
|
/**
|
|
521
531
|
* Select one or more combat techniques you get a CtR bonus for.
|
|
522
532
|
*/
|
|
523
|
-
export
|
|
533
|
+
export type CombatTechniquesOptions = {
|
|
524
534
|
/**
|
|
525
535
|
* Specify the number of combat techniques that can be selected so that they
|
|
526
536
|
* get increased to a specific CtR. There can be multiple selections with
|
|
@@ -542,7 +552,7 @@ export declare type CombatTechniquesOptions = {
|
|
|
542
552
|
*/
|
|
543
553
|
options: CombatTechniqueReference[];
|
|
544
554
|
};
|
|
545
|
-
export
|
|
555
|
+
export type RatingForCombatTechniquesNumber = {
|
|
546
556
|
/**
|
|
547
557
|
* The number of selectable combat techniques.
|
|
548
558
|
* @integer
|
|
@@ -563,7 +573,7 @@ export declare type RatingForCombatTechniquesNumber = {
|
|
|
563
573
|
/**
|
|
564
574
|
* Select one or more cantrips you receive.
|
|
565
575
|
*/
|
|
566
|
-
export
|
|
576
|
+
export type CantripsOptions = {
|
|
567
577
|
/**
|
|
568
578
|
* The number of selectable cantrips.
|
|
569
579
|
* @integer
|
|
@@ -579,7 +589,7 @@ export declare type CantripsOptions = {
|
|
|
579
589
|
/**
|
|
580
590
|
* Buy curses for a specific amount of AP.
|
|
581
591
|
*/
|
|
582
|
-
export
|
|
592
|
+
export type CursesOptions = {
|
|
583
593
|
/**
|
|
584
594
|
* The AP value you can buy curses for.
|
|
585
595
|
* @integer
|
|
@@ -591,14 +601,14 @@ export declare type CursesOptions = {
|
|
|
591
601
|
/**
|
|
592
602
|
* Select one of a list of possible terrain knowledges
|
|
593
603
|
*/
|
|
594
|
-
export
|
|
604
|
+
export type TerrainKnowledgeOptions = {
|
|
595
605
|
/**
|
|
596
606
|
* The list of possible terrain knowledges.
|
|
597
607
|
* @minItems 2
|
|
598
608
|
*/
|
|
599
609
|
options: TerrainKnowledgeOptionReference[];
|
|
600
610
|
};
|
|
601
|
-
export
|
|
611
|
+
export type TerrainKnowledgeOptionReference = {
|
|
602
612
|
/**
|
|
603
613
|
* The terrain knowledge option's identifier.
|
|
604
614
|
* @integer
|
|
@@ -610,7 +620,7 @@ export declare type TerrainKnowledgeOptionReference = {
|
|
|
610
620
|
/**
|
|
611
621
|
* Buy skills for a specific amount of AP.
|
|
612
622
|
*/
|
|
613
|
-
export
|
|
623
|
+
export type SkillsOptions = {
|
|
614
624
|
/**
|
|
615
625
|
* If specified, you may only choose from skills of the specified group.
|
|
616
626
|
*/
|
|
@@ -625,7 +635,7 @@ export declare type SkillsOptions = {
|
|
|
625
635
|
/**
|
|
626
636
|
* The name of the profession that may have sex-specific names.
|
|
627
637
|
*/
|
|
628
|
-
export
|
|
638
|
+
export type ProfessionName = NonEmptyString | {
|
|
629
639
|
/**
|
|
630
640
|
* The name from the source publication.
|
|
631
641
|
*/
|
package/lib/types/Property.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import { SkillCheck } from "./_SkillCheck.js";
|
|
|
7
7
|
/**
|
|
8
8
|
* @title Property
|
|
9
9
|
*/
|
|
10
|
-
export
|
|
10
|
+
export type Property = {
|
|
11
11
|
/**
|
|
12
12
|
* The property's identifier. An unique, increasing integer.
|
|
13
13
|
* @integer
|
|
@@ -24,7 +24,7 @@ export declare type Property = {
|
|
|
24
24
|
*/
|
|
25
25
|
translations: LocaleMap<PropertyTranslation>;
|
|
26
26
|
};
|
|
27
|
-
export
|
|
27
|
+
export type PropertyTranslation = {
|
|
28
28
|
/**
|
|
29
29
|
* The property's name.
|
|
30
30
|
*/
|
package/lib/types/Race.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ import { AdvantageReference, AttributeReference, CultureReference, EyeColorRefer
|
|
|
13
13
|
* A playable race with stats and skills.
|
|
14
14
|
* @title Race
|
|
15
15
|
*/
|
|
16
|
-
export
|
|
16
|
+
export type Race = {
|
|
17
17
|
/**
|
|
18
18
|
* The race's identifier. An unique, increasing integer.
|
|
19
19
|
* @integer
|
|
@@ -108,7 +108,7 @@ export declare type Race = {
|
|
|
108
108
|
/**
|
|
109
109
|
* The race’s base values.
|
|
110
110
|
*/
|
|
111
|
-
export
|
|
111
|
+
export type BaseValues = {
|
|
112
112
|
/**
|
|
113
113
|
* The race’s life point base value.
|
|
114
114
|
* @integer
|
|
@@ -135,14 +135,14 @@ export declare type BaseValues = {
|
|
|
135
135
|
* Describes how to raise or lower maximum attribute values during character
|
|
136
136
|
* creation.
|
|
137
137
|
*/
|
|
138
|
-
export
|
|
138
|
+
export type AttributeAdjustments = AttributeAdjustment[];
|
|
139
139
|
/**
|
|
140
140
|
* An array of attribute maximum modifiers. The value will be added to the
|
|
141
141
|
* current maximum of the selected attribute that has been chosen from the
|
|
142
142
|
* listed attributes (negative values will lower the maximum).
|
|
143
143
|
* @minItems 1
|
|
144
144
|
*/
|
|
145
|
-
export
|
|
145
|
+
export type AttributeAdjustment = {
|
|
146
146
|
/**
|
|
147
147
|
* The value by which the selected attribute's maximum is modified
|
|
148
148
|
* (negative values will lower the maximum).
|
|
@@ -159,7 +159,7 @@ export declare type AttributeAdjustment = {
|
|
|
159
159
|
/**
|
|
160
160
|
* Configuration for random weight generation.
|
|
161
161
|
*/
|
|
162
|
-
export
|
|
162
|
+
export type Weight = {
|
|
163
163
|
/**
|
|
164
164
|
* The base value used for random weight. The height subtrahend; in case of
|
|
165
165
|
* `Height - 110 + 2D6` it is `110`.
|
|
@@ -173,7 +173,7 @@ export declare type Weight = {
|
|
|
173
173
|
*/
|
|
174
174
|
random: WeightDice[];
|
|
175
175
|
};
|
|
176
|
-
export
|
|
176
|
+
export type WeightDice = Dice & {
|
|
177
177
|
/**
|
|
178
178
|
* The strategy how to offset the randomly generated values against the
|
|
179
179
|
* base value. Either they are all added or subtracted or even results are
|
|
@@ -191,7 +191,7 @@ export declare enum WeightDiceOffsetStrategy {
|
|
|
191
191
|
Subtract = "Subtract",
|
|
192
192
|
AddEvenSubtractOdd = "AddEvenSubtractOdd"
|
|
193
193
|
}
|
|
194
|
-
export
|
|
194
|
+
export type StartingAgeConfigForExperienceLevel = {
|
|
195
195
|
/**
|
|
196
196
|
* The selected experience level's identifier.
|
|
197
197
|
*/
|
|
@@ -215,7 +215,7 @@ export declare type StartingAgeConfigForExperienceLevel = {
|
|
|
215
215
|
* This excludes common and uncommon advantages and disadvantages, since they
|
|
216
216
|
* may be defined for the whole race even if variants exist.
|
|
217
217
|
*/
|
|
218
|
-
export
|
|
218
|
+
export type RaceVariantDependent = {
|
|
219
219
|
tag: "HasVariants";
|
|
220
220
|
has_variants: RaceVariants;
|
|
221
221
|
} | {
|
|
@@ -226,8 +226,8 @@ export declare type RaceVariantDependent = {
|
|
|
226
226
|
* A list of available race variants.
|
|
227
227
|
* @minItems 1
|
|
228
228
|
*/
|
|
229
|
-
export
|
|
230
|
-
export
|
|
229
|
+
export type RaceVariants = RaceVariant[];
|
|
230
|
+
export type ValuesForRaceWithoutVariants = {
|
|
231
231
|
/**
|
|
232
232
|
* The list of common cultures.
|
|
233
233
|
* @minItems 1
|
|
@@ -253,7 +253,7 @@ export declare type ValuesForRaceWithoutVariants = {
|
|
|
253
253
|
/**
|
|
254
254
|
* @title Race Variant
|
|
255
255
|
*/
|
|
256
|
-
export
|
|
256
|
+
export type RaceVariant = {
|
|
257
257
|
/**
|
|
258
258
|
* An unique, increasing integer.
|
|
259
259
|
* @integer
|
|
@@ -309,7 +309,7 @@ export declare type RaceVariant = {
|
|
|
309
309
|
/**
|
|
310
310
|
* Configuration for random height generation.
|
|
311
311
|
*/
|
|
312
|
-
export
|
|
312
|
+
export type Height = {
|
|
313
313
|
/**
|
|
314
314
|
* The base value used for random height.
|
|
315
315
|
* @integer
|
|
@@ -322,7 +322,7 @@ export declare type Height = {
|
|
|
322
322
|
*/
|
|
323
323
|
random: Dice[];
|
|
324
324
|
};
|
|
325
|
-
export
|
|
325
|
+
export type RaceVariantTranslation = {
|
|
326
326
|
/**
|
|
327
327
|
* The race variant's name.
|
|
328
328
|
*/
|
|
@@ -353,7 +353,7 @@ export declare type RaceVariantTranslation = {
|
|
|
353
353
|
*/
|
|
354
354
|
uncommon_disadvantages?: NonEmptyString;
|
|
355
355
|
};
|
|
356
|
-
export
|
|
356
|
+
export type RaceTranslation = {
|
|
357
357
|
/**
|
|
358
358
|
* The race's name.
|
|
359
359
|
*/
|
package/lib/types/Region.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { NonEmptyString } from "./_NonEmptyString.js";
|
|
|
6
6
|
/**
|
|
7
7
|
* @title Region
|
|
8
8
|
*/
|
|
9
|
-
export
|
|
9
|
+
export type Region = {
|
|
10
10
|
/**
|
|
11
11
|
* The region's identifier. An unique, increasing integer.
|
|
12
12
|
* @integer
|
|
@@ -18,7 +18,7 @@ export declare type Region = {
|
|
|
18
18
|
*/
|
|
19
19
|
translations: LocaleMap<RegionTranslation>;
|
|
20
20
|
};
|
|
21
|
-
export
|
|
21
|
+
export type RegionTranslation = {
|
|
22
22
|
/**
|
|
23
23
|
* The region name.
|
|
24
24
|
*/
|
package/lib/types/Ritual.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ import { Traditions } from "./_Spellwork.js";
|
|
|
16
16
|
/**
|
|
17
17
|
* @title Ritual
|
|
18
18
|
*/
|
|
19
|
-
export
|
|
19
|
+
export type Ritual = {
|
|
20
20
|
/**
|
|
21
21
|
* The ritual's identifier. An unique, increasing integer.
|
|
22
22
|
* @integer
|
|
@@ -61,7 +61,7 @@ export declare type Ritual = {
|
|
|
61
61
|
translations: LocaleMap<RitualTranslation>;
|
|
62
62
|
enhancements?: Enhancements;
|
|
63
63
|
};
|
|
64
|
-
export
|
|
64
|
+
export type RitualTranslation = {
|
|
65
65
|
/**
|
|
66
66
|
* The name of the ritual.
|
|
67
67
|
* @minLength 1
|
package/lib/types/Service.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import { NonEmptyMarkdown, NonEmptyString } from "./_NonEmptyString.js";
|
|
|
8
8
|
/**
|
|
9
9
|
* @title Service of Summoned Creatures and Monstrosities
|
|
10
10
|
*/
|
|
11
|
-
export
|
|
11
|
+
export type Service = {
|
|
12
12
|
/**
|
|
13
13
|
* The service's identifier. An unique, increasing integer.
|
|
14
14
|
* @integer
|
|
@@ -31,7 +31,7 @@ export declare enum ServiceAvailability {
|
|
|
31
31
|
SummonedCreatures = "SummonedCreatures",
|
|
32
32
|
Monstrosities = "Monstrosities"
|
|
33
33
|
}
|
|
34
|
-
export
|
|
34
|
+
export type ServiceTranslation = {
|
|
35
35
|
/**
|
|
36
36
|
* The name of the service.
|
|
37
37
|
*/
|