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
|
@@ -38,38 +38,7 @@ export var FixedArcaneEnergyCostPerLevel;
|
|
|
38
38
|
FixedArcaneEnergyCostPerLevel["Compressed"] = "Compressed";
|
|
39
39
|
FixedArcaneEnergyCostPerLevel["Verbose"] = "Verbose";
|
|
40
40
|
})(FixedArcaneEnergyCostPerLevel || (FixedArcaneEnergyCostPerLevel = {}));
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
// },
|
|
46
|
-
// "AdvancedSpecialAbilitiesAppend": {
|
|
47
|
-
// "description": "An addition to the default advanced special abilities text. Markdown is available.",
|
|
48
|
-
// "type": "string",
|
|
49
|
-
// "minLength": 1
|
|
50
|
-
// },
|
|
51
|
-
// "ApValueReplacement": {
|
|
52
|
-
// "description": "The AP value. Only use this if the text provides different information than `X adventure points`, e.g. for Special Ability Property Knowledge it is \"10 adventure points for the first *Property Knowledge*, 20 adventure points for the second, 40 adventure points for the third\". Markdown is available.",
|
|
53
|
-
// "type": "string",
|
|
54
|
-
// "minLength": 1
|
|
55
|
-
// },
|
|
56
|
-
// "ApValueAppend": {
|
|
57
|
-
// "description": "An addition to the default AP value schema. Only use this if the text provides information appended to `X adventure points` and if `apValue` is not used. Markdown is available.",
|
|
58
|
-
// "type": "string",
|
|
59
|
-
// "minLength": 1
|
|
60
|
-
// },
|
|
61
|
-
// "PrerequisitesReplacement": {
|
|
62
|
-
// "description": "Use if text cannot be generated by the app. Markdown is available.",
|
|
63
|
-
// "type": "string",
|
|
64
|
-
// "minLength": 1
|
|
65
|
-
// },
|
|
66
|
-
// "PrerequisitesStart": {
|
|
67
|
-
// "description": "Prepends the provided string to the main prerequisites string. No effect if `prerequisites` field is used in l10n file. Markdown is available.",
|
|
68
|
-
// "type": "string",
|
|
69
|
-
// "minLength": 1
|
|
70
|
-
// },
|
|
71
|
-
// "PrerequisitesEnd": {
|
|
72
|
-
// "description": "Appends the provided string to the main prerequisites string. No effect if `prerequisites` field is used in l10n table. Markdown is available.",
|
|
73
|
-
// "type": "string",
|
|
74
|
-
// "minLength": 1
|
|
75
|
-
// }
|
|
41
|
+
export var IndefiniteArcaneEnergyCostModifierArithmetic;
|
|
42
|
+
(function (IndefiniteArcaneEnergyCostModifierArithmetic) {
|
|
43
|
+
IndefiniteArcaneEnergyCostModifierArithmetic["Add"] = "Add";
|
|
44
|
+
})(IndefiniteArcaneEnergyCostModifierArithmetic || (IndefiniteArcaneEnergyCostModifierArithmetic = {}));
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { TargetCategoryIdentifier } from "./_Identifier.js";
|
|
1
2
|
import { ActivatableIdentifier, CombatTechniqueIdentifier, SkillIdentifier } from "./_IdentifierGroup.js";
|
|
2
3
|
import { LocaleMap } from "./_LocaleMap.js";
|
|
3
4
|
import { CeremonyReference, CloseCombatTechniqueReference, ElementReference, LiturgicalChantReference, RangedCombatTechniqueReference, RitualReference, SkillGroupReference, SpellReference } from "./_SimpleReferences.js";
|
|
4
|
-
export
|
|
5
|
+
export type SelectOptionCategory = {
|
|
5
6
|
tag: "Blessings";
|
|
6
7
|
blessings: {};
|
|
7
8
|
} | {
|
|
@@ -31,6 +32,9 @@ export declare type SelectOptionCategory = {
|
|
|
31
32
|
} | {
|
|
32
33
|
tag: "Cultures";
|
|
33
34
|
cultures: {};
|
|
35
|
+
} | {
|
|
36
|
+
tag: "RacesAndCultures";
|
|
37
|
+
races_and_cultures: {};
|
|
34
38
|
} | {
|
|
35
39
|
tag: "BlessedTraditions";
|
|
36
40
|
blessed_traditions: BlessedTraditionsSelectOptionCategory;
|
|
@@ -58,15 +62,18 @@ export declare type SelectOptionCategory = {
|
|
|
58
62
|
} | {
|
|
59
63
|
tag: "CombatTechniques";
|
|
60
64
|
combat_techniques: CombatTechniquesSelectOptionCategory;
|
|
65
|
+
} | {
|
|
66
|
+
tag: "TargetCategories";
|
|
67
|
+
target_categories: TargetCategoriesSelectOptionCategory;
|
|
61
68
|
};
|
|
62
|
-
export
|
|
69
|
+
export type BlessedTraditionsSelectOptionCategory = {
|
|
63
70
|
/**
|
|
64
71
|
* Should the principles (code) of the tradition be required to select the
|
|
65
72
|
* respective tradition?
|
|
66
73
|
*/
|
|
67
74
|
require_principles?: true;
|
|
68
75
|
};
|
|
69
|
-
export
|
|
76
|
+
export type ElementsSelectOptionCategory = {
|
|
70
77
|
/**
|
|
71
78
|
* Only include entries with the listed identifiers.
|
|
72
79
|
* @minItems 1
|
|
@@ -74,7 +81,7 @@ export declare type ElementsSelectOptionCategory = {
|
|
|
74
81
|
*/
|
|
75
82
|
specific?: ElementReference[];
|
|
76
83
|
};
|
|
77
|
-
export
|
|
84
|
+
export type PropertiesSelectOptionCategory = {
|
|
78
85
|
/**
|
|
79
86
|
* Does each property require it's corresponding property knowledge?
|
|
80
87
|
*/
|
|
@@ -85,7 +92,7 @@ export declare type PropertiesSelectOptionCategory = {
|
|
|
85
92
|
*/
|
|
86
93
|
require_minimum_spellworks_on?: RequiredMinimumSkillsToBeOnSkillRating;
|
|
87
94
|
};
|
|
88
|
-
export
|
|
95
|
+
export type AspectSelectOptionCategory = {
|
|
89
96
|
/**
|
|
90
97
|
* Does each aspect require it's corresponding aspect knowledge?
|
|
91
98
|
*/
|
|
@@ -107,7 +114,7 @@ export declare type AspectSelectOptionCategory = {
|
|
|
107
114
|
* Require a minimum number of spellworks/liturgies of the respective
|
|
108
115
|
* property/aspect to be on a minimum skill rating.
|
|
109
116
|
*/
|
|
110
|
-
export
|
|
117
|
+
export type RequiredMinimumSkillsToBeOnSkillRating = {
|
|
111
118
|
/**
|
|
112
119
|
* The minimum number of liturgies that need to be on the defined minimum
|
|
113
120
|
* skill rating.
|
|
@@ -123,24 +130,24 @@ export declare type RequiredMinimumSkillsToBeOnSkillRating = {
|
|
|
123
130
|
*/
|
|
124
131
|
rating: number;
|
|
125
132
|
};
|
|
126
|
-
export
|
|
133
|
+
export type DiseasesPoisonsSelectOptionCategory = {
|
|
127
134
|
/**
|
|
128
135
|
* Only convert half the disease/poison level into the AP value.
|
|
129
136
|
*/
|
|
130
137
|
use_half_level_as_ap_value?: true;
|
|
131
138
|
};
|
|
132
|
-
export
|
|
139
|
+
export type LanguagesSelectOptionCategory = {
|
|
133
140
|
/**
|
|
134
141
|
* Generate prerequisites for each entry of the category.
|
|
135
142
|
* @minItems 1
|
|
136
143
|
*/
|
|
137
144
|
prerequisites?: LanguagesSelectOptionCategoryPrerequisite[];
|
|
138
145
|
};
|
|
139
|
-
export
|
|
146
|
+
export type LanguagesSelectOptionCategoryPrerequisite = {
|
|
140
147
|
tag: "SelectOption";
|
|
141
148
|
select_option: OptionPrerequisite;
|
|
142
149
|
};
|
|
143
|
-
export
|
|
150
|
+
export type SkillsSelectOptionCategory = {
|
|
144
151
|
/**
|
|
145
152
|
* A list of skill categories.
|
|
146
153
|
* @minItems 1
|
|
@@ -151,7 +158,7 @@ export declare type SkillsSelectOptionCategory = {
|
|
|
151
158
|
*/
|
|
152
159
|
ap_value?: AdventurePointsValue<SkillIdentifier>;
|
|
153
160
|
};
|
|
154
|
-
export
|
|
161
|
+
export type SkillsSelectOptionCategoryCategory = {
|
|
155
162
|
tag: "Skills";
|
|
156
163
|
skills: SkillSelectOptionCategoryCategory;
|
|
157
164
|
} | {
|
|
@@ -167,7 +174,7 @@ export declare type SkillsSelectOptionCategoryCategory = {
|
|
|
167
174
|
tag: "Ceremonies";
|
|
168
175
|
ceremonies: GenericSkillsSelectOptionCategoryCategory<CeremonyReference>;
|
|
169
176
|
};
|
|
170
|
-
export
|
|
177
|
+
export type SkillSelectOptionCategoryCategory = {
|
|
171
178
|
/**
|
|
172
179
|
* Only include entries of the specified groups.
|
|
173
180
|
* @minItems 1
|
|
@@ -201,8 +208,12 @@ export declare type SkillSelectOptionCategoryCategory = {
|
|
|
201
208
|
* @minItems 1
|
|
202
209
|
*/
|
|
203
210
|
prerequisites?: SkillSelectOptionCategoryPrerequisite[];
|
|
211
|
+
/**
|
|
212
|
+
* Generate AP values for each entry.
|
|
213
|
+
*/
|
|
214
|
+
ap_value?: AdventurePointsValue<CombatTechniqueIdentifier>;
|
|
204
215
|
};
|
|
205
|
-
export
|
|
216
|
+
export type CombatTechniquesSelectOptionCategory = {
|
|
206
217
|
/**
|
|
207
218
|
* A list of combat technique categories.
|
|
208
219
|
* @minItems 1
|
|
@@ -213,14 +224,14 @@ export declare type CombatTechniquesSelectOptionCategory = {
|
|
|
213
224
|
*/
|
|
214
225
|
ap_value?: AdventurePointsValue<CombatTechniqueIdentifier>;
|
|
215
226
|
};
|
|
216
|
-
export
|
|
227
|
+
export type CombatTechniquesSelectOptionCategoryCategory = {
|
|
217
228
|
tag: "CloseCombatTechniques";
|
|
218
229
|
close_combat_techniques: GenericSkillsSelectOptionCategoryCategory<CloseCombatTechniqueReference>;
|
|
219
230
|
} | {
|
|
220
231
|
tag: "RangedCombatTechniques";
|
|
221
232
|
ranged_combat_techniques: GenericSkillsSelectOptionCategoryCategory<RangedCombatTechniqueReference>;
|
|
222
233
|
};
|
|
223
|
-
export
|
|
234
|
+
export type SkillApplicationOrUse = {
|
|
224
235
|
/**
|
|
225
236
|
* The application's or use's identifier. An entry-unique, increasing integer.
|
|
226
237
|
* @integer
|
|
@@ -232,7 +243,7 @@ export declare type SkillApplicationOrUse = {
|
|
|
232
243
|
*/
|
|
233
244
|
translations?: LocaleMap<SkillApplicationOrUseTranslation>;
|
|
234
245
|
};
|
|
235
|
-
export
|
|
246
|
+
export type SkillApplicationOrUseTranslation = {
|
|
236
247
|
/**
|
|
237
248
|
* The name of the application or use if different from the activatable
|
|
238
249
|
* entry's name.
|
|
@@ -240,7 +251,7 @@ export declare type SkillApplicationOrUseTranslation = {
|
|
|
240
251
|
*/
|
|
241
252
|
name: string;
|
|
242
253
|
};
|
|
243
|
-
export
|
|
254
|
+
export type GenericSkillsSelectOptionCategoryCategory<Ref> = {
|
|
244
255
|
/**
|
|
245
256
|
* Only include (`Intersection`) or exclude (`Difference`) specific entries.
|
|
246
257
|
*/
|
|
@@ -251,7 +262,7 @@ export declare type GenericSkillsSelectOptionCategoryCategory<Ref> = {
|
|
|
251
262
|
*/
|
|
252
263
|
prerequisites?: SkillSelectOptionCategoryPrerequisite[];
|
|
253
264
|
};
|
|
254
|
-
export
|
|
265
|
+
export type SpecificFromSkillSelectOptionCategoryCategory<Ref> = {
|
|
255
266
|
operation: SpecificFromSkillSelectOptionCategoryCategoryOperation;
|
|
256
267
|
/**
|
|
257
268
|
* The list of specific entries.
|
|
@@ -267,14 +278,14 @@ export declare enum SpecificFromSkillSelectOptionCategoryCategoryOperation {
|
|
|
267
278
|
Intersection = "Intersection",
|
|
268
279
|
Difference = "Difference"
|
|
269
280
|
}
|
|
270
|
-
export
|
|
281
|
+
export type SkillSelectOptionCategoryPrerequisite = {
|
|
271
282
|
tag: "Self";
|
|
272
283
|
self: SelfPrerequisite;
|
|
273
284
|
} | {
|
|
274
285
|
tag: "SelectOption";
|
|
275
286
|
select_option: OptionPrerequisite;
|
|
276
287
|
};
|
|
277
|
-
export
|
|
288
|
+
export type SelfPrerequisite = {
|
|
278
289
|
/**
|
|
279
290
|
* The entry requires itself on a certain Skill Rating.
|
|
280
291
|
* @integer
|
|
@@ -285,7 +296,7 @@ export declare type SelfPrerequisite = {
|
|
|
285
296
|
/**
|
|
286
297
|
* The entry requires or prohibits itself as a select option of another entry.
|
|
287
298
|
*/
|
|
288
|
-
export
|
|
299
|
+
export type OptionPrerequisite = {
|
|
289
300
|
/**
|
|
290
301
|
* The target entry's identifier.
|
|
291
302
|
*/
|
|
@@ -304,7 +315,7 @@ export declare type OptionPrerequisite = {
|
|
|
304
315
|
/**
|
|
305
316
|
* Generate AP values for each entry.
|
|
306
317
|
*/
|
|
307
|
-
export
|
|
318
|
+
export type AdventurePointsValue<Identifier> = {
|
|
308
319
|
tag: "DerivedFromImprovementCost";
|
|
309
320
|
derived_from_improvement_cost: DeriveAdventurePointsValueFromImprovementCost;
|
|
310
321
|
} | {
|
|
@@ -316,7 +327,7 @@ export declare type AdventurePointsValue<Identifier> = {
|
|
|
316
327
|
*
|
|
317
328
|
* **Calculation:** AP Value = Improvement Cost × `multiplier` + `offset`
|
|
318
329
|
*/
|
|
319
|
-
export
|
|
330
|
+
export type DeriveAdventurePointsValueFromImprovementCost = {
|
|
320
331
|
/**
|
|
321
332
|
* This number is multiplied with the improvement cost of the entry
|
|
322
333
|
* (A = 1 to D = 4).
|
|
@@ -332,7 +343,7 @@ export declare type DeriveAdventurePointsValueFromImprovementCost = {
|
|
|
332
343
|
*/
|
|
333
344
|
offset?: number;
|
|
334
345
|
};
|
|
335
|
-
export
|
|
346
|
+
export type FixedAdventurePointsValue<Identifier> = {
|
|
336
347
|
/**
|
|
337
348
|
* A mapping of skill identifiers to their specific AP values.
|
|
338
349
|
*/
|
|
@@ -345,7 +356,7 @@ export declare type FixedAdventurePointsValue<Identifier> = {
|
|
|
345
356
|
*/
|
|
346
357
|
default: number;
|
|
347
358
|
};
|
|
348
|
-
export
|
|
359
|
+
export type FixedAdventurePointsValueMapping<Identifier> = {
|
|
349
360
|
/**
|
|
350
361
|
* The entry's identifier.
|
|
351
362
|
*/
|
|
@@ -357,3 +368,22 @@ export declare type FixedAdventurePointsValueMapping<Identifier> = {
|
|
|
357
368
|
*/
|
|
358
369
|
ap_value: number;
|
|
359
370
|
};
|
|
371
|
+
export type TargetCategoriesSelectOptionCategory = {
|
|
372
|
+
/**
|
|
373
|
+
* A list of combat technique categories.
|
|
374
|
+
* @minItems 1
|
|
375
|
+
*/
|
|
376
|
+
list: SpecificTargetCategory[];
|
|
377
|
+
};
|
|
378
|
+
export type SpecificTargetCategory = {
|
|
379
|
+
/**
|
|
380
|
+
* The target category’s identifier.
|
|
381
|
+
*/
|
|
382
|
+
id: TargetCategoryIdentifier;
|
|
383
|
+
/**
|
|
384
|
+
* The volume for this specific selection.
|
|
385
|
+
* @integer
|
|
386
|
+
* @minimum 0
|
|
387
|
+
*/
|
|
388
|
+
volume?: number;
|
|
389
|
+
};
|
|
@@ -5,33 +5,33 @@ import { FastCastingTime, SlowCastingTime } from "./_ActivatableSkillCastingTime
|
|
|
5
5
|
import { OneTimeCost, SustainedCost } from "./_ActivatableSkillCost.js";
|
|
6
6
|
import { DurationForOneTime, DurationForSustained } from "./_ActivatableSkillDuration.js";
|
|
7
7
|
import { Range } from "./_ActivatableSkillRange.js";
|
|
8
|
-
export
|
|
8
|
+
export type OneTimePerformanceParameters<CastingTime> = {
|
|
9
9
|
casting_time: CastingTime;
|
|
10
10
|
cost: OneTimeCost;
|
|
11
11
|
range: Range;
|
|
12
12
|
duration: DurationForOneTime;
|
|
13
13
|
};
|
|
14
|
-
export
|
|
14
|
+
export type SustainedPerformanceParameters<CastingTime> = {
|
|
15
15
|
casting_time: CastingTime;
|
|
16
16
|
cost: SustainedCost;
|
|
17
17
|
range: Range;
|
|
18
18
|
duration?: DurationForSustained;
|
|
19
19
|
};
|
|
20
|
-
export
|
|
20
|
+
export type FastPerformanceParameters = {
|
|
21
21
|
tag: "OneTime";
|
|
22
22
|
one_time: FastOneTimePerformanceParameters;
|
|
23
23
|
} | {
|
|
24
24
|
tag: "Sustained";
|
|
25
25
|
sustained: FastSustainedPerformanceParameters;
|
|
26
26
|
};
|
|
27
|
-
export
|
|
28
|
-
export
|
|
29
|
-
export
|
|
27
|
+
export type FastOneTimePerformanceParameters = OneTimePerformanceParameters<FastCastingTime>;
|
|
28
|
+
export type FastSustainedPerformanceParameters = SustainedPerformanceParameters<FastCastingTime>;
|
|
29
|
+
export type SlowPerformanceParameters = {
|
|
30
30
|
tag: "OneTime";
|
|
31
31
|
one_time: SlowOneTimePerformanceParameters;
|
|
32
32
|
} | {
|
|
33
33
|
tag: "Sustained";
|
|
34
34
|
sustained: SlowSustainedPerformanceParameters;
|
|
35
35
|
};
|
|
36
|
-
export
|
|
37
|
-
export
|
|
36
|
+
export type SlowOneTimePerformanceParameters = OneTimePerformanceParameters<SlowCastingTime>;
|
|
37
|
+
export type SlowSustainedPerformanceParameters = SustainedPerformanceParameters<SlowCastingTime>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { SlowSkillCastingTimeUnit } from "./SkillModificationLevel.js";
|
|
2
|
-
export
|
|
2
|
+
export type CastingTime<NonModifiable extends Object> = {
|
|
3
3
|
tag: "Modifiable";
|
|
4
4
|
modifiable: ModifiableCastingTime;
|
|
5
5
|
} | {
|
|
6
6
|
tag: "NonModifiable";
|
|
7
7
|
non_modifiable: NonModifiable;
|
|
8
8
|
};
|
|
9
|
-
export
|
|
9
|
+
export type ModifiableCastingTime = {
|
|
10
10
|
/**
|
|
11
11
|
* The initial skill modification identifier/level.
|
|
12
12
|
* @integer
|
|
@@ -23,7 +23,7 @@ export declare type ModifiableCastingTime = {
|
|
|
23
23
|
* There must always be at least one casting time value.
|
|
24
24
|
* @minProperties 1
|
|
25
25
|
*/
|
|
26
|
-
export
|
|
26
|
+
export type CastingTimeIncludingLovemaking<NonModifiable extends Object> = {
|
|
27
27
|
/**
|
|
28
28
|
* The default casting time definition.
|
|
29
29
|
*/
|
|
@@ -40,7 +40,7 @@ export declare type CastingTimeIncludingLovemaking<NonModifiable extends Object>
|
|
|
40
40
|
* an activatable skill during lovemaking if it has a casting time used during
|
|
41
41
|
* lovemaking.
|
|
42
42
|
*/
|
|
43
|
-
export
|
|
43
|
+
export type CastingTimeDuringLovemaking = {
|
|
44
44
|
/**
|
|
45
45
|
* The (unitless) casting time value.
|
|
46
46
|
* @integer
|
|
@@ -56,7 +56,7 @@ export declare enum CastingTimeDuringLovemakingUnit {
|
|
|
56
56
|
SeductionActions = "SeductionActions",
|
|
57
57
|
Rounds = "Rounds"
|
|
58
58
|
}
|
|
59
|
-
export
|
|
59
|
+
export type FastSkillNonModifiableCastingTime = {
|
|
60
60
|
/**
|
|
61
61
|
* The casting time value in actions.
|
|
62
62
|
* @integer
|
|
@@ -64,7 +64,7 @@ export declare type FastSkillNonModifiableCastingTime = {
|
|
|
64
64
|
*/
|
|
65
65
|
actions: number;
|
|
66
66
|
};
|
|
67
|
-
export
|
|
67
|
+
export type SlowSkillNonModifiableCastingTime = {
|
|
68
68
|
/**
|
|
69
69
|
* The (unitless) casting time value.
|
|
70
70
|
* @integer
|
|
@@ -73,5 +73,5 @@ export declare type SlowSkillNonModifiableCastingTime = {
|
|
|
73
73
|
value: number;
|
|
74
74
|
unit: SlowSkillCastingTimeUnit;
|
|
75
75
|
};
|
|
76
|
-
export
|
|
77
|
-
export
|
|
76
|
+
export type FastCastingTime = CastingTimeIncludingLovemaking<FastSkillNonModifiableCastingTime>;
|
|
77
|
+
export type SlowCastingTime = CastingTimeIncludingLovemaking<SlowSkillNonModifiableCastingTime>;
|
|
@@ -12,7 +12,7 @@ export declare enum CheckResultArithmetic {
|
|
|
12
12
|
Multiply = "Multiply",
|
|
13
13
|
Divide = "Divide"
|
|
14
14
|
}
|
|
15
|
-
export
|
|
15
|
+
export type CheckResultBasedModifier = {
|
|
16
16
|
/**
|
|
17
17
|
* The arithmetic how to apply the `value` to the `base`.
|
|
18
18
|
*/
|
|
@@ -27,7 +27,7 @@ export declare type CheckResultBasedModifier = {
|
|
|
27
27
|
/**
|
|
28
28
|
* Defines a parameter being based on a check result.
|
|
29
29
|
*/
|
|
30
|
-
export
|
|
30
|
+
export type CheckResultBased = {
|
|
31
31
|
/**
|
|
32
32
|
* The base value that is derived from the check result.
|
|
33
33
|
*/
|
|
@@ -2,7 +2,7 @@ import { DurationUnitValue } from "./_ActivatableSkillDuration.js";
|
|
|
2
2
|
import { LocaleMap } from "./_LocaleMap.js";
|
|
3
3
|
import { NonEmptyString } from "./_NonEmptyString.js";
|
|
4
4
|
import { ResponsiveText, ResponsiveTextOptional, ResponsiveTextReplace } from "./_ResponsiveText.js";
|
|
5
|
-
export
|
|
5
|
+
export type OneTimeCost = {
|
|
6
6
|
tag: "Single";
|
|
7
7
|
single: SingleOneTimeCost;
|
|
8
8
|
} | {
|
|
@@ -15,7 +15,7 @@ export declare type OneTimeCost = {
|
|
|
15
15
|
tag: "Map";
|
|
16
16
|
map: CostMap;
|
|
17
17
|
};
|
|
18
|
-
export
|
|
18
|
+
export type SingleOneTimeCost = {
|
|
19
19
|
tag: "Modifiable";
|
|
20
20
|
modifiable: ModifiableOneTimeCost;
|
|
21
21
|
} | {
|
|
@@ -28,8 +28,8 @@ export declare type SingleOneTimeCost = {
|
|
|
28
28
|
/**
|
|
29
29
|
* @minItems 2
|
|
30
30
|
*/
|
|
31
|
-
export
|
|
32
|
-
export
|
|
31
|
+
export type MultipleOneTimeCosts = SingleOneTimeCost[];
|
|
32
|
+
export type ModifiableOneTimeCost = {
|
|
33
33
|
/**
|
|
34
34
|
* The initial skill modification identifier/level.
|
|
35
35
|
* @integer
|
|
@@ -48,13 +48,13 @@ export declare type ModifiableOneTimeCost = {
|
|
|
48
48
|
*/
|
|
49
49
|
translations?: LocaleMap<ModifiableOneTimeCostTranslation>;
|
|
50
50
|
};
|
|
51
|
-
export
|
|
51
|
+
export type ModifiableOneTimeCostTranslation = {
|
|
52
52
|
/**
|
|
53
53
|
* A replacement string.
|
|
54
54
|
*/
|
|
55
55
|
replacement: ResponsiveTextReplace;
|
|
56
56
|
};
|
|
57
|
-
export
|
|
57
|
+
export type NonModifiableOneTimeCost = {
|
|
58
58
|
/**
|
|
59
59
|
* If `true`, the non-modifiable value is a minimum value.
|
|
60
60
|
*/
|
|
@@ -82,7 +82,7 @@ export declare type NonModifiableOneTimeCost = {
|
|
|
82
82
|
*/
|
|
83
83
|
translations?: LocaleMap<NonModifiableOneTimeCostTranslation>;
|
|
84
84
|
};
|
|
85
|
-
export
|
|
85
|
+
export type NonModifiableOneTimeCostPerCountable = {
|
|
86
86
|
/**
|
|
87
87
|
* If defined, the minimum total AE that have to be spent casting the
|
|
88
88
|
* skill.
|
|
@@ -94,25 +94,25 @@ export declare type NonModifiableOneTimeCostPerCountable = {
|
|
|
94
94
|
*/
|
|
95
95
|
translations: LocaleMap<NonModifiableOneTimeCostPerCountableTranslation>;
|
|
96
96
|
};
|
|
97
|
-
export
|
|
97
|
+
export type NonModifiableOneTimeCostPerCountableTranslation = {
|
|
98
98
|
/**
|
|
99
99
|
* The countable entity name.
|
|
100
100
|
*/
|
|
101
101
|
countable: ResponsiveText;
|
|
102
102
|
};
|
|
103
|
-
export
|
|
103
|
+
export type NonModifiableOneTimeCostTranslation = {
|
|
104
104
|
/**
|
|
105
105
|
* A note, appended to the generated string in parenthesis.
|
|
106
106
|
*/
|
|
107
107
|
note: ResponsiveTextOptional;
|
|
108
108
|
};
|
|
109
|
-
export
|
|
109
|
+
export type IndefiniteOneTimeCost = {
|
|
110
110
|
/**
|
|
111
111
|
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
112
112
|
*/
|
|
113
113
|
translations: LocaleMap<IndefiniteOneTimeCostTranslation>;
|
|
114
114
|
};
|
|
115
|
-
export
|
|
115
|
+
export type IndefiniteOneTimeCostTranslation = {
|
|
116
116
|
/**
|
|
117
117
|
* A description of where the cost come from.
|
|
118
118
|
*/
|
|
@@ -138,7 +138,7 @@ export declare type IndefiniteOneTimeCostTranslation = {
|
|
|
138
138
|
* This will generate the exact same string as seen above – given it is set
|
|
139
139
|
* for a spellwork and thus `AE` is used.
|
|
140
140
|
*/
|
|
141
|
-
export
|
|
141
|
+
export type CostMap = {
|
|
142
142
|
/**
|
|
143
143
|
* The possible costs and associated labels.
|
|
144
144
|
* @minItems 2
|
|
@@ -149,7 +149,7 @@ export declare type CostMap = {
|
|
|
149
149
|
*/
|
|
150
150
|
translations?: LocaleMap<CostMapTranslation>;
|
|
151
151
|
};
|
|
152
|
-
export
|
|
152
|
+
export type CostMapOption = {
|
|
153
153
|
/**
|
|
154
154
|
* The full cost value for this option.
|
|
155
155
|
* @integer
|
|
@@ -167,7 +167,7 @@ export declare type CostMapOption = {
|
|
|
167
167
|
*/
|
|
168
168
|
translations?: LocaleMap<CostMapOptionTranslation>;
|
|
169
169
|
};
|
|
170
|
-
export
|
|
170
|
+
export type CostMapOptionTranslation = {
|
|
171
171
|
/**
|
|
172
172
|
* The description of the option for cost string generation.
|
|
173
173
|
*/
|
|
@@ -178,7 +178,7 @@ export declare type CostMapOptionTranslation = {
|
|
|
178
178
|
*/
|
|
179
179
|
label_standalone?: NonEmptyString;
|
|
180
180
|
};
|
|
181
|
-
export
|
|
181
|
+
export type CostMapTranslation = {
|
|
182
182
|
/**
|
|
183
183
|
* Place a string between the `for` and the grouped map option labels.
|
|
184
184
|
*/
|
|
@@ -195,14 +195,14 @@ export declare type CostMapTranslation = {
|
|
|
195
195
|
*/
|
|
196
196
|
replacement?: NonEmptyString;
|
|
197
197
|
};
|
|
198
|
-
export
|
|
198
|
+
export type SustainedCost = {
|
|
199
199
|
tag: "Modifiable";
|
|
200
200
|
modifiable: ModifiableSustainedCost;
|
|
201
201
|
} | {
|
|
202
202
|
tag: "NonModifiable";
|
|
203
203
|
non_modifiable: NonModifiableSustainedCost;
|
|
204
204
|
};
|
|
205
|
-
export
|
|
205
|
+
export type ModifiableSustainedCost = {
|
|
206
206
|
/**
|
|
207
207
|
* The initial skill modification identifier/level.
|
|
208
208
|
* @integer
|
|
@@ -215,7 +215,7 @@ export declare type ModifiableSustainedCost = {
|
|
|
215
215
|
*/
|
|
216
216
|
interval: DurationUnitValue;
|
|
217
217
|
};
|
|
218
|
-
export
|
|
218
|
+
export type NonModifiableSustainedCost = {
|
|
219
219
|
/**
|
|
220
220
|
* If `true`, the non-modifiable value is a minimum value.
|
|
221
221
|
*/
|
|
@@ -236,7 +236,7 @@ export declare type NonModifiableSustainedCost = {
|
|
|
236
236
|
*/
|
|
237
237
|
interval: DurationUnitValue;
|
|
238
238
|
};
|
|
239
|
-
export
|
|
239
|
+
export type NonModifiableSustainedCostPerCountable = {
|
|
240
240
|
/**
|
|
241
241
|
* If defined, the minimum total AE that have to be spent casting the
|
|
242
242
|
* skill.
|
|
@@ -247,7 +247,7 @@ export declare type NonModifiableSustainedCostPerCountable = {
|
|
|
247
247
|
*/
|
|
248
248
|
translations: LocaleMap<NonModifiableSustainedCostPerCountableTranslation>;
|
|
249
249
|
};
|
|
250
|
-
export
|
|
250
|
+
export type NonModifiableSustainedCostPerCountableTranslation = {
|
|
251
251
|
/**
|
|
252
252
|
* The countable entity name.
|
|
253
253
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CheckResultBased } from "./_ActivatableSkillCheckResultBased.js";
|
|
2
2
|
import { LocaleMap } from "./_LocaleMap.js";
|
|
3
3
|
import { ResponsiveText, ResponsiveTextReplace } from "./_ResponsiveText.js";
|
|
4
|
-
export
|
|
4
|
+
export type DurationForOneTime = {
|
|
5
5
|
tag: "Immediate";
|
|
6
6
|
immediate: Immediate;
|
|
7
7
|
} | {
|
|
@@ -17,7 +17,7 @@ export declare type DurationForOneTime = {
|
|
|
17
17
|
tag: "Indefinite";
|
|
18
18
|
indefinite: IndefiniteDuration;
|
|
19
19
|
};
|
|
20
|
-
export
|
|
20
|
+
export type Immediate = {
|
|
21
21
|
/**
|
|
22
22
|
* Specified if the duration has a maximum time span.
|
|
23
23
|
*/
|
|
@@ -27,25 +27,25 @@ export declare type Immediate = {
|
|
|
27
27
|
*/
|
|
28
28
|
translations?: LocaleMap<ImmediateTranslation>;
|
|
29
29
|
};
|
|
30
|
-
export
|
|
30
|
+
export type ImmediateTranslation = {
|
|
31
31
|
/**
|
|
32
32
|
* A replacement string.
|
|
33
33
|
*/
|
|
34
34
|
replacement: ResponsiveTextReplace;
|
|
35
35
|
};
|
|
36
|
-
export
|
|
36
|
+
export type PermanentDuration = {
|
|
37
37
|
/**
|
|
38
38
|
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
39
39
|
*/
|
|
40
40
|
translations?: LocaleMap<PermanentDurationTranslation>;
|
|
41
41
|
};
|
|
42
|
-
export
|
|
42
|
+
export type PermanentDurationTranslation = {
|
|
43
43
|
/**
|
|
44
44
|
* A replacement string.
|
|
45
45
|
*/
|
|
46
46
|
replacement: ResponsiveTextReplace;
|
|
47
47
|
};
|
|
48
|
-
export
|
|
48
|
+
export type FixedDuration = {
|
|
49
49
|
/**
|
|
50
50
|
* If the duration is the maximum duration, so it may end earlier.
|
|
51
51
|
*/
|
|
@@ -65,7 +65,7 @@ export declare type FixedDuration = {
|
|
|
65
65
|
*/
|
|
66
66
|
translations?: LocaleMap<FixedDurationTranslation>;
|
|
67
67
|
};
|
|
68
|
-
export
|
|
68
|
+
export type FixedDurationTranslation = {
|
|
69
69
|
/**
|
|
70
70
|
* A replacement string.
|
|
71
71
|
*/
|
|
@@ -74,7 +74,7 @@ export declare type FixedDurationTranslation = {
|
|
|
74
74
|
/**
|
|
75
75
|
* Defines the duration being based on a check result.
|
|
76
76
|
*/
|
|
77
|
-
export
|
|
77
|
+
export type CheckResultBasedDuration = CheckResultBased & {
|
|
78
78
|
/**
|
|
79
79
|
* If the duration is the maximum duration, so it may end earlier.
|
|
80
80
|
*/
|
|
@@ -88,25 +88,25 @@ export declare type CheckResultBasedDuration = CheckResultBased & {
|
|
|
88
88
|
*/
|
|
89
89
|
translations?: LocaleMap<CheckResultBasedDurationTranslation>;
|
|
90
90
|
};
|
|
91
|
-
export
|
|
91
|
+
export type CheckResultBasedDurationTranslation = {
|
|
92
92
|
/**
|
|
93
93
|
* A replacement string.
|
|
94
94
|
*/
|
|
95
95
|
replacement: ResponsiveTextReplace;
|
|
96
96
|
};
|
|
97
|
-
export
|
|
97
|
+
export type IndefiniteDuration = {
|
|
98
98
|
/**
|
|
99
99
|
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
100
100
|
*/
|
|
101
101
|
translations: LocaleMap<IndefiniteDurationTranslation>;
|
|
102
102
|
};
|
|
103
|
-
export
|
|
103
|
+
export type IndefiniteDurationTranslation = {
|
|
104
104
|
/**
|
|
105
105
|
* A description of the duration.
|
|
106
106
|
*/
|
|
107
107
|
description: ResponsiveText;
|
|
108
108
|
};
|
|
109
|
-
export
|
|
109
|
+
export type DurationForSustained = {
|
|
110
110
|
/**
|
|
111
111
|
* The sustained skill can be active a maximum amount of time.
|
|
112
112
|
*/
|
|
@@ -124,7 +124,7 @@ export declare enum DurationUnit {
|
|
|
124
124
|
Actions = "Actions",
|
|
125
125
|
CombatRounds = "CombatRounds"
|
|
126
126
|
}
|
|
127
|
-
export
|
|
127
|
+
export type DurationUnitValue = {
|
|
128
128
|
/**
|
|
129
129
|
* The (unitless) duration value.
|
|
130
130
|
* @integer
|