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
|
@@ -4,7 +4,7 @@ import { NonEmptyMarkdown } from "./_NonEmptyString.js";
|
|
|
4
4
|
* by a list of effects for each quality level. It may also be a list for each
|
|
5
5
|
* two quality levels.
|
|
6
6
|
*/
|
|
7
|
-
export
|
|
7
|
+
export type Effect = {
|
|
8
8
|
tag: "Plain";
|
|
9
9
|
plain: PlainEffect;
|
|
10
10
|
} | {
|
|
@@ -14,13 +14,13 @@ export declare type Effect = {
|
|
|
14
14
|
tag: "ForEachTwoQualityLevels";
|
|
15
15
|
for_each_two_quality_levels: EffectForEachTwoQualityLevels;
|
|
16
16
|
};
|
|
17
|
-
export
|
|
17
|
+
export type PlainEffect = {
|
|
18
18
|
/**
|
|
19
19
|
* The effect description.
|
|
20
20
|
*/
|
|
21
21
|
text: NonEmptyMarkdown;
|
|
22
22
|
};
|
|
23
|
-
export
|
|
23
|
+
export type EffectForEachQualityLevel = {
|
|
24
24
|
/**
|
|
25
25
|
* The effect description before the list of effects for each quality
|
|
26
26
|
* level.
|
|
@@ -44,7 +44,7 @@ export declare type EffectForEachQualityLevel = {
|
|
|
44
44
|
*/
|
|
45
45
|
text_after?: NonEmptyMarkdown;
|
|
46
46
|
};
|
|
47
|
-
export
|
|
47
|
+
export type EffectForEachTwoQualityLevels = {
|
|
48
48
|
/**
|
|
49
49
|
* The effect description before the list of effects for each quality
|
|
50
50
|
* level.
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { CheckResultBased } from "./_ActivatableSkillCheckResultBased.js";
|
|
2
2
|
import { LocaleMap } from "./_LocaleMap.js";
|
|
3
3
|
import { ResponsiveTextOptional, ResponsiveTextReplace } from "./_ResponsiveText.js";
|
|
4
|
-
export
|
|
4
|
+
export type Range = {
|
|
5
5
|
value: RangeValue;
|
|
6
6
|
/**
|
|
7
7
|
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
8
8
|
*/
|
|
9
9
|
translations?: LocaleMap<RangeTranslation>;
|
|
10
10
|
};
|
|
11
|
-
export
|
|
11
|
+
export type RangeValue = {
|
|
12
12
|
tag: "Modifiable";
|
|
13
13
|
modifiable: ModifiableRange;
|
|
14
14
|
} | {
|
|
@@ -34,7 +34,7 @@ export declare type RangeValue = {
|
|
|
34
34
|
tag: "CheckResultBased";
|
|
35
35
|
check_result_based: CheckResultBasedRange;
|
|
36
36
|
};
|
|
37
|
-
export
|
|
37
|
+
export type ModifiableRange = {
|
|
38
38
|
/**
|
|
39
39
|
* If `true`, the range is a maximum range.
|
|
40
40
|
*/
|
|
@@ -51,7 +51,7 @@ export declare type ModifiableRange = {
|
|
|
51
51
|
*/
|
|
52
52
|
is_radius?: true;
|
|
53
53
|
};
|
|
54
|
-
export
|
|
54
|
+
export type FixedRange = {
|
|
55
55
|
/**
|
|
56
56
|
* If `true`, the range is a maximum range.
|
|
57
57
|
*/
|
|
@@ -74,7 +74,7 @@ export declare type FixedRange = {
|
|
|
74
74
|
/**
|
|
75
75
|
* Defines the range being based on a check result.
|
|
76
76
|
*/
|
|
77
|
-
export
|
|
77
|
+
export type CheckResultBasedRange = CheckResultBased & {
|
|
78
78
|
/**
|
|
79
79
|
* If the range is the maximum range.
|
|
80
80
|
*/
|
|
@@ -91,7 +91,7 @@ export declare type CheckResultBasedRange = CheckResultBased & {
|
|
|
91
91
|
/**
|
|
92
92
|
* @minProperties 1
|
|
93
93
|
*/
|
|
94
|
-
export
|
|
94
|
+
export type RangeTranslation = {
|
|
95
95
|
/**
|
|
96
96
|
* A note, appended to the generated string in parenthesis. If the
|
|
97
97
|
* generated is modified using `replacement`, the note is appended to
|
|
@@ -7,21 +7,21 @@ import { TargetCategoryReference } from "./_SimpleReferences.js";
|
|
|
7
7
|
* If no target categories are given, the skill applies to all target
|
|
8
8
|
* categories.
|
|
9
9
|
*/
|
|
10
|
-
export
|
|
11
|
-
export
|
|
10
|
+
export type TargetCategory = SpecificTargetCategory[];
|
|
11
|
+
export type SpecificTargetCategory = {
|
|
12
12
|
id: TargetCategoryIdentifier;
|
|
13
13
|
/**
|
|
14
14
|
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
15
15
|
*/
|
|
16
16
|
translations?: LocaleMap<SpecificTargetCategoryTranslation>;
|
|
17
17
|
};
|
|
18
|
-
export
|
|
18
|
+
export type SpecificTargetCategoryTranslation = {
|
|
19
19
|
/**
|
|
20
20
|
* A note, appended to the generated string in parenthesis.
|
|
21
21
|
*/
|
|
22
22
|
note: NonEmptyString;
|
|
23
23
|
};
|
|
24
|
-
export
|
|
24
|
+
export type TargetCategoryIdentifier = {
|
|
25
25
|
tag: "Self";
|
|
26
26
|
self: {};
|
|
27
27
|
} | {
|
|
@@ -7,7 +7,7 @@ import { ArcaneTraditionPrerequisites } from "./_Prerequisite.js";
|
|
|
7
7
|
/**
|
|
8
8
|
* @title Arcane Tradition
|
|
9
9
|
*/
|
|
10
|
-
export
|
|
10
|
+
export type ArcaneTradition = {
|
|
11
11
|
/**
|
|
12
12
|
* The arcane tradition's identifier. An unique, increasing integer.
|
|
13
13
|
* @integer
|
|
@@ -20,7 +20,7 @@ export declare type ArcaneTradition = {
|
|
|
20
20
|
*/
|
|
21
21
|
translations: LocaleMap<ArcaneTraditionTranslation>;
|
|
22
22
|
};
|
|
23
|
-
export
|
|
23
|
+
export type ArcaneTraditionTranslation = {
|
|
24
24
|
/**
|
|
25
25
|
* The arcane tradition's name.
|
|
26
26
|
*/
|
package/lib/types/_Blessed.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { AspectReference, BlessedTraditionReference } from "./_SimpleReferences.js";
|
|
2
|
-
export
|
|
2
|
+
export type SkillTradition = {
|
|
3
3
|
tag: "GeneralAspect";
|
|
4
4
|
general_aspect: AspectReference;
|
|
5
5
|
} | {
|
|
6
6
|
tag: "Tradition";
|
|
7
7
|
tradition: SkillTraditionWithAspects;
|
|
8
8
|
};
|
|
9
|
-
export
|
|
9
|
+
export type SkillTraditionWithAspects = {
|
|
10
10
|
/**
|
|
11
11
|
* The blessed tradition.
|
|
12
12
|
*/
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Reference to a commonness-rated advantage or disadvantage. Commonness-rating terms used in the source books are strongly recommended, common, uncommon, suggested and unsuitable.
|
|
3
3
|
* @title Commonness-rated Advantage/Disadvantage
|
|
4
4
|
*/
|
|
5
|
-
export
|
|
5
|
+
export type CommonnessRatedAdvantageDisadvantage<Identifier> = {
|
|
6
6
|
/**
|
|
7
7
|
* The advantage's or disadvantage's identifier.
|
|
8
8
|
*/
|
package/lib/types/_Dice.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ export declare enum Resistance {
|
|
|
21
21
|
* infected. If the infection check succeeds, the GM makes a disease check to
|
|
22
22
|
* determine the severity of the infection.
|
|
23
23
|
*/
|
|
24
|
-
export
|
|
24
|
+
export type Cause = {
|
|
25
25
|
/**
|
|
26
26
|
* The chance to get infected by this cause, in percent.
|
|
27
27
|
* @integer
|
|
@@ -35,7 +35,7 @@ export declare type Cause = {
|
|
|
35
35
|
*/
|
|
36
36
|
translations: LocaleMap<CauseTranslation>;
|
|
37
37
|
};
|
|
38
|
-
export
|
|
38
|
+
export type CauseTranslation = {
|
|
39
39
|
/**
|
|
40
40
|
* The name of the cause.
|
|
41
41
|
* @minLength 1
|
|
@@ -52,7 +52,7 @@ export declare type CauseTranslation = {
|
|
|
52
52
|
*/
|
|
53
53
|
note?: NonEmptyString;
|
|
54
54
|
};
|
|
55
|
-
export
|
|
55
|
+
export type DiseaseTranslation = {
|
|
56
56
|
/**
|
|
57
57
|
* The name of the disease.
|
|
58
58
|
*/
|
|
@@ -101,7 +101,7 @@ export declare type DiseaseTranslation = {
|
|
|
101
101
|
* This streamlines the wording for diseases and poison by using a unified
|
|
102
102
|
* wording for *lessened* (disease) and *degraded* (poison).
|
|
103
103
|
*/
|
|
104
|
-
export
|
|
104
|
+
export type Reduceable<Content = NonEmptyMarkdown> = {
|
|
105
105
|
/**
|
|
106
106
|
* The default value. In the source, it's the text before the slash.
|
|
107
107
|
*/
|
|
@@ -10,11 +10,11 @@ import { EnhancementPrerequisites } from "./_Prerequisite.js";
|
|
|
10
10
|
* @minItems 3
|
|
11
11
|
* @maxItems 5
|
|
12
12
|
*/
|
|
13
|
-
export
|
|
13
|
+
export type Enhancements = Enhancement[];
|
|
14
14
|
/**
|
|
15
15
|
* @title Enhancement
|
|
16
16
|
*/
|
|
17
|
-
export
|
|
17
|
+
export type Enhancement = {
|
|
18
18
|
/**
|
|
19
19
|
* The enhancement's identifier. An unique, increasing integer.
|
|
20
20
|
* @integer
|
|
@@ -46,7 +46,7 @@ export declare type Enhancement = {
|
|
|
46
46
|
*/
|
|
47
47
|
translations: LocaleMap<EnhancementTranslation>;
|
|
48
48
|
};
|
|
49
|
-
export
|
|
49
|
+
export type EnhancementTranslation = {
|
|
50
50
|
/**
|
|
51
51
|
* The name of the enhancement.
|
|
52
52
|
* @minLength 1
|
package/lib/types/_I18n.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ import { NonEmptyString } from "./_NonEmptyString.js";
|
|
|
24
24
|
* >
|
|
25
25
|
* > — You have 0 friends online.
|
|
26
26
|
*/
|
|
27
|
-
export
|
|
27
|
+
export type PluralizationCategories = {
|
|
28
28
|
zero?: NonEmptyString;
|
|
29
29
|
one?: NonEmptyString;
|
|
30
30
|
two?: NonEmptyString;
|