optolith-database-schema 0.11.3 → 0.11.4
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 +2 -0
- package/build/config.js +5 -3
- package/lib/build/config.d.ts +8 -0
- package/lib/build/config.js +16 -0
- package/package.json +2 -2
- package/build/config.d.ts +0 -11
- package/lib/config.d.ts +0 -463
- package/lib/config.js +0 -308
- package/lib/errors.d.ts +0 -20
- package/lib/errors.js +0 -33
- package/lib/helpers/array.d.ts +0 -14
- package/lib/helpers/array.js +0 -15
- package/lib/helpers/i18n.d.ts +0 -1
- package/lib/helpers/i18n.js +0 -1
- package/lib/helpers/io.d.ts +0 -29
- package/lib/helpers/io.js +0 -51
- package/lib/helpers/objectPath.d.ts +0 -13
- package/lib/helpers/objectPath.js +0 -3
- package/lib/helpers/pair.d.ts +0 -20
- package/lib/helpers/pair.js +0 -20
- package/lib/helpers/result.d.ts +0 -57
- package/lib/helpers/result.js +0 -45
- package/lib/helpers/typeSafety.d.ts +0 -6
- package/lib/helpers/typeSafety.js +0 -8
- package/lib/main.d.ts +0 -55
- package/lib/main.js +0 -55
- package/lib/typeConfig.d.ts +0 -10
- package/lib/typeConfig.js +0 -1
- package/lib/types/Advantage.d.ts +0 -63
- package/lib/types/Advantage.js +0 -12
- package/lib/types/AnimalDisease.d.ts +0 -59
- package/lib/types/AnimalDisease.js +0 -12
- package/lib/types/AnimalType.d.ts +0 -28
- package/lib/types/AnimalType.js +0 -12
- package/lib/types/ArcaneBardTradition.d.ts +0 -10
- package/lib/types/ArcaneBardTradition.js +0 -12
- package/lib/types/ArcaneDancerTradition.d.ts +0 -10
- package/lib/types/ArcaneDancerTradition.js +0 -12
- package/lib/types/Aspect.d.ts +0 -33
- package/lib/types/Aspect.js +0 -12
- package/lib/types/Attribute.d.ts +0 -36
- package/lib/types/Attribute.js +0 -12
- package/lib/types/Blessing.d.ts +0 -113
- package/lib/types/Blessing.js +0 -12
- package/lib/types/Cantrip.d.ts +0 -183
- package/lib/types/Cantrip.js +0 -12
- package/lib/types/Ceremony.d.ts +0 -113
- package/lib/types/Ceremony.js +0 -12
- package/lib/types/CombatTechnique_Close.d.ts +0 -73
- package/lib/types/CombatTechnique_Close.js +0 -12
- package/lib/types/CombatTechnique_Ranged.d.ts +0 -66
- package/lib/types/CombatTechnique_Ranged.js +0 -12
- package/lib/types/Condition.d.ts +0 -40
- package/lib/types/Condition.js +0 -12
- package/lib/types/Continent.d.ts +0 -30
- package/lib/types/Continent.js +0 -12
- package/lib/types/Culture.d.ts +0 -382
- package/lib/types/Culture.js +0 -50
- package/lib/types/DerivedCharacteristic.d.ts +0 -61
- package/lib/types/DerivedCharacteristic.js +0 -12
- package/lib/types/Disadvantage.d.ts +0 -58
- package/lib/types/Disadvantage.js +0 -12
- package/lib/types/Disease.d.ts +0 -43
- package/lib/types/Disease.js +0 -12
- package/lib/types/Element.d.ts +0 -28
- package/lib/types/Element.js +0 -12
- package/lib/types/ExperienceLevel.d.ts +0 -64
- package/lib/types/ExperienceLevel.js +0 -12
- package/lib/types/EyeColor.d.ts +0 -28
- package/lib/types/EyeColor.js +0 -12
- package/lib/types/FamiliarsTrick.d.ts +0 -266
- package/lib/types/FamiliarsTrick.js +0 -12
- package/lib/types/HairColor.d.ts +0 -28
- package/lib/types/HairColor.js +0 -12
- package/lib/types/Kirchenpraegung.d.ts +0 -10
- package/lib/types/Kirchenpraegung.js +0 -12
- package/lib/types/Lessons_Curriculum.d.ts +0 -236
- package/lib/types/Lessons_Curriculum.js +0 -12
- package/lib/types/Lessons_Guideline.d.ts +0 -34
- package/lib/types/Lessons_Guideline.js +0 -12
- package/lib/types/LiturgicalChant.d.ts +0 -113
- package/lib/types/LiturgicalChant.js +0 -12
- package/lib/types/Locale.d.ts +0 -36
- package/lib/types/Locale.js +0 -12
- package/lib/types/MetaCondition.d.ts +0 -43
- package/lib/types/MetaCondition.js +0 -12
- package/lib/types/PactCategory.d.ts +0 -78
- package/lib/types/PactCategory.js +0 -12
- package/lib/types/Patron.d.ts +0 -207
- package/lib/types/Patron.js +0 -32
- package/lib/types/PatronCategory.d.ts +0 -36
- package/lib/types/PatronCategory.js +0 -12
- package/lib/types/PersonalityTrait.d.ts +0 -67
- package/lib/types/PersonalityTrait.js +0 -12
- package/lib/types/Profession.d.ts +0 -653
- package/lib/types/Profession.js +0 -18
- package/lib/types/Property.d.ts +0 -34
- package/lib/types/Property.js +0 -12
- package/lib/types/Race.d.ts +0 -405
- package/lib/types/Race.js +0 -23
- package/lib/types/Region.d.ts +0 -28
- package/lib/types/Region.js +0 -12
- package/lib/types/Ritual.d.ts +0 -111
- package/lib/types/Ritual.js +0 -12
- package/lib/types/Service.d.ts +0 -46
- package/lib/types/Service.js +0 -17
- package/lib/types/SexPractice.d.ts +0 -47
- package/lib/types/SexPractice.js +0 -12
- package/lib/types/Skill.d.ts +0 -142
- package/lib/types/Skill.js +0 -31
- package/lib/types/SkillGroup.d.ts +0 -37
- package/lib/types/SkillGroup.js +0 -12
- package/lib/types/SkillModificationLevel.d.ts +0 -107
- package/lib/types/SkillModificationLevel.js +0 -17
- package/lib/types/SocialStatus.d.ts +0 -28
- package/lib/types/SocialStatus.js +0 -12
- package/lib/types/Spell.d.ts +0 -111
- package/lib/types/Spell.js +0 -12
- package/lib/types/State.d.ts +0 -36
- package/lib/types/State.js +0 -12
- package/lib/types/Talisman.d.ts +0 -76
- package/lib/types/Talisman.js +0 -20
- package/lib/types/TargetCategory.d.ts +0 -42
- package/lib/types/TargetCategory.js +0 -12
- package/lib/types/UI.d.ts +0 -1062
- package/lib/types/UI.js +0 -12
- package/lib/types/_Activatable.d.ts +0 -1383
- package/lib/types/_Activatable.js +0 -44
- package/lib/types/_ActivatableSelectOptionCategory.d.ts +0 -389
- package/lib/types/_ActivatableSelectOptionCategory.js +0 -8
- package/lib/types/_ActivatableSkill.d.ts +0 -37
- package/lib/types/_ActivatableSkill.js +0 -4
- package/lib/types/_ActivatableSkillCastingTime.d.ts +0 -77
- package/lib/types/_ActivatableSkillCastingTime.js +0 -5
- package/lib/types/_ActivatableSkillCheckResultBased.d.ts +0 -39
- package/lib/types/_ActivatableSkillCheckResultBased.js +0 -16
- package/lib/types/_ActivatableSkillCost.d.ts +0 -255
- package/lib/types/_ActivatableSkillCost.js +0 -1
- package/lib/types/_ActivatableSkillDuration.d.ts +0 -138
- package/lib/types/_ActivatableSkillDuration.js +0 -13
- package/lib/types/_ActivatableSkillEffect.d.ts +0 -68
- package/lib/types/_ActivatableSkillEffect.js +0 -1
- package/lib/types/_ActivatableSkillRange.d.ts +0 -110
- package/lib/types/_ActivatableSkillRange.js +0 -5
- package/lib/types/_ActivatableSkillTargetCategory.d.ts +0 -39
- package/lib/types/_ActivatableSkillTargetCategory.js +0 -1
- package/lib/types/_AlternativeNames.d.ts +0 -11
- package/lib/types/_AlternativeNames.js +0 -1
- package/lib/types/_ArcaneTradition.d.ts +0 -28
- package/lib/types/_ArcaneTradition.js +0 -4
- package/lib/types/_Blessed.d.ts +0 -22
- package/lib/types/_Blessed.js +0 -1
- package/lib/types/_CommonnessRatedAdvantageDisadvantage.d.ts +0 -10
- package/lib/types/_CommonnessRatedAdvantageDisadvantage.js +0 -1
- package/lib/types/_Dice.d.ts +0 -23
- package/lib/types/_Dice.js +0 -9
- package/lib/types/_DiseasePoison.d.ts +0 -114
- package/lib/types/_DiseasePoison.js +0 -15
- package/lib/types/_Enhancements.d.ts +0 -62
- package/lib/types/_Enhancements.js +0 -4
- package/lib/types/_I18n.d.ts +0 -34
- package/lib/types/_I18n.js +0 -1
- package/lib/types/_Identifier.d.ts +0 -1193
- package/lib/types/_Identifier.js +0 -1
- package/lib/types/_IdentifierGroup.d.ts +0 -28
- package/lib/types/_IdentifierGroup.js +0 -1
- package/lib/types/_ImprovementCost.d.ts +0 -9
- package/lib/types/_ImprovementCost.js +0 -10
- package/lib/types/_Influence.d.ts +0 -49
- package/lib/types/_Influence.js +0 -4
- package/lib/types/_LocaleMap.d.ts +0 -10
- package/lib/types/_LocaleMap.js +0 -1
- package/lib/types/_NonEmptyString.d.ts +0 -9
- package/lib/types/_NonEmptyString.js +0 -1
- package/lib/types/_Prerequisite.d.ts +0 -109
- package/lib/types/_Prerequisite.js +0 -4
- package/lib/types/_ResponsiveText.d.ts +0 -54
- package/lib/types/_ResponsiveText.js +0 -1
- package/lib/types/_Sex.d.ts +0 -10
- package/lib/types/_Sex.js +0 -11
- package/lib/types/_SimpleReferences.d.ts +0 -134
- package/lib/types/_SimpleReferences.js +0 -1
- package/lib/types/_SkillCheck.d.ts +0 -22
- package/lib/types/_SkillCheck.js +0 -13
- package/lib/types/_Spellwork.d.ts +0 -18
- package/lib/types/_Spellwork.js +0 -1
- package/lib/types/equipment/EquipmentPackage.d.ts +0 -51
- package/lib/types/equipment/EquipmentPackage.js +0 -12
- package/lib/types/equipment/item/Alchemicum.d.ts +0 -7
- package/lib/types/equipment/item/Alchemicum.js +0 -12
- package/lib/types/equipment/item/Ammunition.d.ts +0 -32
- package/lib/types/equipment/item/Ammunition.js +0 -12
- package/lib/types/equipment/item/Animal.d.ts +0 -19
- package/lib/types/equipment/item/Animal.js +0 -12
- package/lib/types/equipment/item/AnimalCare.d.ts +0 -49
- package/lib/types/equipment/item/AnimalCare.js +0 -12
- package/lib/types/equipment/item/Armor.d.ts +0 -186
- package/lib/types/equipment/item/Armor.js +0 -12
- package/lib/types/equipment/item/BandageOrRemedy.d.ts +0 -37
- package/lib/types/equipment/item/BandageOrRemedy.js +0 -12
- package/lib/types/equipment/item/Book.d.ts +0 -61
- package/lib/types/equipment/item/Book.js +0 -12
- package/lib/types/equipment/item/CeremonialItem.d.ts +0 -42
- package/lib/types/equipment/item/CeremonialItem.js +0 -12
- package/lib/types/equipment/item/Clothes.d.ts +0 -7
- package/lib/types/equipment/item/Clothes.js +0 -12
- package/lib/types/equipment/item/Container.d.ts +0 -7
- package/lib/types/equipment/item/Container.js +0 -12
- package/lib/types/equipment/item/Elixir.d.ts +0 -76
- package/lib/types/equipment/item/Elixir.js +0 -12
- package/lib/types/equipment/item/EquipmentOfBlessedOnes.d.ts +0 -29
- package/lib/types/equipment/item/EquipmentOfBlessedOnes.js +0 -12
- package/lib/types/equipment/item/GemOrPreciousStone.d.ts +0 -44
- package/lib/types/equipment/item/GemOrPreciousStone.js +0 -12
- package/lib/types/equipment/item/IlluminationLightSource.d.ts +0 -63
- package/lib/types/equipment/item/IlluminationLightSource.js +0 -16
- package/lib/types/equipment/item/IlluminationRefillsOrSupplies.d.ts +0 -7
- package/lib/types/equipment/item/IlluminationRefillsOrSupplies.js +0 -12
- package/lib/types/equipment/item/Jewelry.d.ts +0 -61
- package/lib/types/equipment/item/Jewelry.js +0 -12
- package/lib/types/equipment/item/Liebesspielzeug.d.ts +0 -7
- package/lib/types/equipment/item/Liebesspielzeug.js +0 -12
- package/lib/types/equipment/item/LuxuryGood.d.ts +0 -37
- package/lib/types/equipment/item/LuxuryGood.js +0 -12
- package/lib/types/equipment/item/MagicalArtifact.d.ts +0 -40
- package/lib/types/equipment/item/MagicalArtifact.js +0 -12
- package/lib/types/equipment/item/MusicalInstrument.d.ts +0 -23
- package/lib/types/equipment/item/MusicalInstrument.js +0 -12
- package/lib/types/equipment/item/OrienteeringAid.d.ts +0 -7
- package/lib/types/equipment/item/OrienteeringAid.js +0 -12
- package/lib/types/equipment/item/Poison.d.ts +0 -359
- package/lib/types/equipment/item/Poison.js +0 -30
- package/lib/types/equipment/item/RopeOrChain.d.ts +0 -7
- package/lib/types/equipment/item/RopeOrChain.js +0 -12
- package/lib/types/equipment/item/Stationary.d.ts +0 -7
- package/lib/types/equipment/item/Stationary.js +0 -12
- package/lib/types/equipment/item/ThievesTool.d.ts +0 -7
- package/lib/types/equipment/item/ThievesTool.js +0 -12
- package/lib/types/equipment/item/ToolOfTheTrade.d.ts +0 -61
- package/lib/types/equipment/item/ToolOfTheTrade.js +0 -12
- package/lib/types/equipment/item/TravelGearOrTool.d.ts +0 -7
- package/lib/types/equipment/item/TravelGearOrTool.js +0 -12
- package/lib/types/equipment/item/Vehicle.d.ts +0 -19
- package/lib/types/equipment/item/Vehicle.js +0 -12
- package/lib/types/equipment/item/Weapon.d.ts +0 -166
- package/lib/types/equipment/item/Weapon.js +0 -12
- package/lib/types/equipment/item/WeaponAccessory.d.ts +0 -7
- package/lib/types/equipment/item/WeaponAccessory.js +0 -12
- package/lib/types/equipment/item/_Herbary.d.ts +0 -31
- package/lib/types/equipment/item/_Herbary.js +0 -22
- package/lib/types/equipment/item/_Item.d.ts +0 -160
- package/lib/types/equipment/item/_Item.js +0 -1
- package/lib/types/equipment/item/_MeleeWeapon.d.ts +0 -108
- package/lib/types/equipment/item/_MeleeWeapon.js +0 -4
- package/lib/types/equipment/item/_RangedWeapon.d.ts +0 -109
- package/lib/types/equipment/item/_RangedWeapon.js +0 -4
- package/lib/types/equipment/item/_Weapon.d.ts +0 -57
- package/lib/types/equipment/item/_Weapon.js +0 -1
- package/lib/types/equipment/item/sub/ArmorType.d.ts +0 -37
- package/lib/types/equipment/item/sub/ArmorType.js +0 -12
- package/lib/types/equipment/item/sub/Reach.d.ts +0 -28
- package/lib/types/equipment/item/sub/Reach.js +0 -12
- package/lib/types/magicalActions/AnimistPower.d.ts +0 -238
- package/lib/types/magicalActions/AnimistPower.js +0 -12
- package/lib/types/magicalActions/AnimistPower_Tribe.d.ts +0 -28
- package/lib/types/magicalActions/AnimistPower_Tribe.js +0 -12
- package/lib/types/magicalActions/Curse.d.ts +0 -162
- package/lib/types/magicalActions/Curse.js +0 -12
- package/lib/types/magicalActions/DominationRitual.d.ts +0 -145
- package/lib/types/magicalActions/DominationRitual.js +0 -12
- package/lib/types/magicalActions/ElvenMagicalSong.d.ts +0 -135
- package/lib/types/magicalActions/ElvenMagicalSong.js +0 -12
- package/lib/types/magicalActions/GeodeRitual.d.ts +0 -180
- package/lib/types/magicalActions/GeodeRitual.js +0 -12
- package/lib/types/magicalActions/JesterTrick.d.ts +0 -177
- package/lib/types/magicalActions/JesterTrick.js +0 -12
- package/lib/types/magicalActions/MagicalDance.d.ts +0 -119
- package/lib/types/magicalActions/MagicalDance.js +0 -12
- package/lib/types/magicalActions/MagicalMelody.d.ts +0 -124
- package/lib/types/magicalActions/MagicalMelody.js +0 -12
- package/lib/types/magicalActions/MagicalRune.d.ts +0 -294
- package/lib/types/magicalActions/MagicalRune.js +0 -12
- package/lib/types/magicalActions/ZibiljaRitual.d.ts +0 -102
- package/lib/types/magicalActions/ZibiljaRitual.js +0 -12
- package/lib/types/magicalActions/_MusicTradition.d.ts +0 -36
- package/lib/types/magicalActions/_MusicTradition.js +0 -10
- package/lib/types/magicalActions/_SkillReference.d.ts +0 -14
- package/lib/types/magicalActions/_SkillReference.js +0 -5
- package/lib/types/prerequisites/ConditionalPrerequisites.d.ts +0 -10
- package/lib/types/prerequisites/ConditionalPrerequisites.js +0 -1
- package/lib/types/prerequisites/DisplayOption.d.ts +0 -32
- package/lib/types/prerequisites/DisplayOption.js +0 -1
- package/lib/types/prerequisites/PrerequisiteGroups.d.ts +0 -215
- package/lib/types/prerequisites/PrerequisiteGroups.js +0 -1
- package/lib/types/prerequisites/single/ActivatablePrerequisite.d.ts +0 -31
- package/lib/types/prerequisites/single/ActivatablePrerequisite.js +0 -1
- package/lib/types/prerequisites/single/AncestorBloodPrerequisite.d.ts +0 -5
- package/lib/types/prerequisites/single/AncestorBloodPrerequisite.js +0 -1
- package/lib/types/prerequisites/single/AnimistPowerPrerequisite.d.ts +0 -26
- package/lib/types/prerequisites/single/AnimistPowerPrerequisite.js +0 -1
- package/lib/types/prerequisites/single/CulturePrerequisite.d.ts +0 -13
- package/lib/types/prerequisites/single/CulturePrerequisite.js +0 -1
- package/lib/types/prerequisites/single/EnhancementPrerequisite.d.ts +0 -39
- package/lib/types/prerequisites/single/EnhancementPrerequisite.js +0 -1
- package/lib/types/prerequisites/single/InfluencePrerequisite.d.ts +0 -16
- package/lib/types/prerequisites/single/InfluencePrerequisite.js +0 -1
- package/lib/types/prerequisites/single/PactPrerequisite.d.ts +0 -23
- package/lib/types/prerequisites/single/PactPrerequisite.js +0 -1
- package/lib/types/prerequisites/single/PrimaryAttributePrerequisite.d.ts +0 -21
- package/lib/types/prerequisites/single/PrimaryAttributePrerequisite.js +0 -5
- package/lib/types/prerequisites/single/PublicationPrerequisite.d.ts +0 -12
- package/lib/types/prerequisites/single/PublicationPrerequisite.js +0 -1
- package/lib/types/prerequisites/single/RacePrerequisite.d.ts +0 -16
- package/lib/types/prerequisites/single/RacePrerequisite.js +0 -1
- package/lib/types/prerequisites/single/RatedMinimumNumberPrerequisite.d.ts +0 -67
- package/lib/types/prerequisites/single/RatedMinimumNumberPrerequisite.js +0 -6
- package/lib/types/prerequisites/single/RatedPrerequisite.d.ts +0 -18
- package/lib/types/prerequisites/single/RatedPrerequisite.js +0 -1
- package/lib/types/prerequisites/single/RatedSumPrerequisite.d.ts +0 -19
- package/lib/types/prerequisites/single/RatedSumPrerequisite.js +0 -1
- package/lib/types/prerequisites/single/RulePrerequisite.d.ts +0 -9
- package/lib/types/prerequisites/single/RulePrerequisite.js +0 -1
- package/lib/types/prerequisites/single/SexPrerequisite.d.ts +0 -10
- package/lib/types/prerequisites/single/SexPrerequisite.js +0 -1
- package/lib/types/prerequisites/single/SexualCharacteristicPrerequisite.d.ts +0 -11
- package/lib/types/prerequisites/single/SexualCharacteristicPrerequisite.js +0 -5
- package/lib/types/prerequisites/single/SocialStatusPrerequisite.d.ts +0 -13
- package/lib/types/prerequisites/single/SocialStatusPrerequisite.js +0 -1
- package/lib/types/prerequisites/single/StatePrerequisite.d.ts +0 -10
- package/lib/types/prerequisites/single/StatePrerequisite.js +0 -1
- package/lib/types/prerequisites/single/TextPrerequisite.d.ts +0 -55
- package/lib/types/prerequisites/single/TextPrerequisite.js +0 -10
- package/lib/types/prerequisites/single/TraditionPrerequisite.d.ts +0 -39
- package/lib/types/prerequisites/single/TraditionPrerequisite.js +0 -18
- package/lib/types/rule/CoreRule.d.ts +0 -312
- package/lib/types/rule/CoreRule.js +0 -17
- package/lib/types/rule/FocusRule.d.ts +0 -53
- package/lib/types/rule/FocusRule.js +0 -12
- package/lib/types/rule/FocusRule_Subject.d.ts +0 -29
- package/lib/types/rule/FocusRule_Subject.js +0 -12
- package/lib/types/rule/OptionalRule.d.ts +0 -41
- package/lib/types/rule/OptionalRule.js +0 -12
- package/lib/types/source/Publication.d.ts +0 -75
- package/lib/types/source/Publication.js +0 -22
- package/lib/types/source/_Erratum.d.ts +0 -26
- package/lib/types/source/_Erratum.js +0 -4
- package/lib/types/source/_PublicationRef.d.ts +0 -151
- package/lib/types/source/_PublicationRef.js +0 -4
- package/lib/types/specialAbility/AdvancedCombatSpecialAbility.d.ts +0 -52
- package/lib/types/specialAbility/AdvancedCombatSpecialAbility.js +0 -12
- package/lib/types/specialAbility/AdvancedKarmaSpecialAbility.d.ts +0 -34
- package/lib/types/specialAbility/AdvancedKarmaSpecialAbility.js +0 -12
- package/lib/types/specialAbility/AdvancedMagicalSpecialAbility.d.ts +0 -34
- package/lib/types/specialAbility/AdvancedMagicalSpecialAbility.js +0 -12
- package/lib/types/specialAbility/AdvancedSkillSpecialAbility.d.ts +0 -34
- package/lib/types/specialAbility/AdvancedSkillSpecialAbility.js +0 -12
- package/lib/types/specialAbility/AncestorGlyph.d.ts +0 -38
- package/lib/types/specialAbility/AncestorGlyph.js +0 -12
- package/lib/types/specialAbility/BlessedTradition.d.ts +0 -147
- package/lib/types/specialAbility/BlessedTradition.js +0 -12
- package/lib/types/specialAbility/BrawlingSpecialAbility.d.ts +0 -34
- package/lib/types/specialAbility/BrawlingSpecialAbility.js +0 -12
- package/lib/types/specialAbility/CeremonialItemSpecialAbility.d.ts +0 -40
- package/lib/types/specialAbility/CeremonialItemSpecialAbility.js +0 -12
- package/lib/types/specialAbility/CombatSpecialAbility.d.ts +0 -45
- package/lib/types/specialAbility/CombatSpecialAbility.js +0 -12
- package/lib/types/specialAbility/CombatStyleSpecialAbility.d.ts +0 -42
- package/lib/types/specialAbility/CombatStyleSpecialAbility.js +0 -12
- package/lib/types/specialAbility/CommandSpecialAbility.d.ts +0 -38
- package/lib/types/specialAbility/CommandSpecialAbility.js +0 -12
- package/lib/types/specialAbility/FamiliarSpecialAbility.d.ts +0 -32
- package/lib/types/specialAbility/FamiliarSpecialAbility.js +0 -12
- package/lib/types/specialAbility/FatePointSexSpecialAbility.d.ts +0 -32
- package/lib/types/specialAbility/FatePointSexSpecialAbility.js +0 -12
- package/lib/types/specialAbility/FatePointSpecialAbility.d.ts +0 -39
- package/lib/types/specialAbility/FatePointSpecialAbility.js +0 -12
- package/lib/types/specialAbility/GeneralSpecialAbility.d.ts +0 -44
- package/lib/types/specialAbility/GeneralSpecialAbility.js +0 -12
- package/lib/types/specialAbility/KarmaSpecialAbility.d.ts +0 -37
- package/lib/types/specialAbility/KarmaSpecialAbility.js +0 -12
- package/lib/types/specialAbility/LiturgicalStyleSpecialAbility.d.ts +0 -36
- package/lib/types/specialAbility/LiturgicalStyleSpecialAbility.js +0 -12
- package/lib/types/specialAbility/LycantropicGift.d.ts +0 -32
- package/lib/types/specialAbility/LycantropicGift.js +0 -12
- package/lib/types/specialAbility/MagicStyleSpecialAbility.d.ts +0 -36
- package/lib/types/specialAbility/MagicStyleSpecialAbility.js +0 -12
- package/lib/types/specialAbility/MagicalSign.d.ts +0 -39
- package/lib/types/specialAbility/MagicalSign.js +0 -12
- package/lib/types/specialAbility/MagicalSpecialAbility.d.ts +0 -43
- package/lib/types/specialAbility/MagicalSpecialAbility.js +0 -12
- package/lib/types/specialAbility/MagicalTradition.d.ts +0 -114
- package/lib/types/specialAbility/MagicalTradition.js +0 -12
- package/lib/types/specialAbility/PactGift.d.ts +0 -103
- package/lib/types/specialAbility/PactGift.js +0 -22
- package/lib/types/specialAbility/ProtectiveWardingCircleSpecialAbility.d.ts +0 -46
- package/lib/types/specialAbility/ProtectiveWardingCircleSpecialAbility.js +0 -12
- package/lib/types/specialAbility/Sermon.d.ts +0 -32
- package/lib/types/specialAbility/Sermon.js +0 -12
- package/lib/types/specialAbility/SexSpecialAbility.d.ts +0 -34
- package/lib/types/specialAbility/SexSpecialAbility.js +0 -12
- package/lib/types/specialAbility/SikaryanDrainSpecialAbility.d.ts +0 -37
- package/lib/types/specialAbility/SikaryanDrainSpecialAbility.js +0 -12
- package/lib/types/specialAbility/SkillStyleSpecialAbility.d.ts +0 -34
- package/lib/types/specialAbility/SkillStyleSpecialAbility.js +0 -12
- package/lib/types/specialAbility/VampiricGift.d.ts +0 -37
- package/lib/types/specialAbility/VampiricGift.js +0 -12
- package/lib/types/specialAbility/Vision.d.ts +0 -32
- package/lib/types/specialAbility/Vision.js +0 -12
- package/lib/types/specialAbility/_Tradition.d.ts +0 -12
- package/lib/types/specialAbility/_Tradition.js +0 -1
- package/lib/types/specialAbility/sub/Language.d.ts +0 -117
- package/lib/types/specialAbility/sub/Language.js +0 -12
- package/lib/types/specialAbility/sub/Script.d.ts +0 -60
- package/lib/types/specialAbility/sub/Script.js +0 -12
- package/lib/types/specialAbility/sub/TradeSecret.d.ts +0 -48
- package/lib/types/specialAbility/sub/TradeSecret.js +0 -12
- package/lib/types/specialAbility/sub/_LanguageScript.d.ts +0 -11
- package/lib/types/specialAbility/sub/_LanguageScript.js +0 -1
- package/lib/types/traditionArtifacts/ArcaneOrbEnchantment.d.ts +0 -47
- package/lib/types/traditionArtifacts/ArcaneOrbEnchantment.js +0 -12
- package/lib/types/traditionArtifacts/AttireEnchantment.d.ts +0 -47
- package/lib/types/traditionArtifacts/AttireEnchantment.js +0 -12
- package/lib/types/traditionArtifacts/BowlEnchantment.d.ts +0 -47
- package/lib/types/traditionArtifacts/BowlEnchantment.js +0 -12
- package/lib/types/traditionArtifacts/CauldronEnchantment.d.ts +0 -61
- package/lib/types/traditionArtifacts/CauldronEnchantment.js +0 -12
- package/lib/types/traditionArtifacts/ChronicleEnchantment.d.ts +0 -47
- package/lib/types/traditionArtifacts/ChronicleEnchantment.js +0 -12
- package/lib/types/traditionArtifacts/DaggerRitual.d.ts +0 -71
- package/lib/types/traditionArtifacts/DaggerRitual.js +0 -12
- package/lib/types/traditionArtifacts/FoolsHatEnchantment.d.ts +0 -47
- package/lib/types/traditionArtifacts/FoolsHatEnchantment.js +0 -12
- package/lib/types/traditionArtifacts/InstrumentEnchantment.d.ts +0 -47
- package/lib/types/traditionArtifacts/InstrumentEnchantment.js +0 -12
- package/lib/types/traditionArtifacts/Krallenkettenzauber.d.ts +0 -47
- package/lib/types/traditionArtifacts/Krallenkettenzauber.js +0 -12
- package/lib/types/traditionArtifacts/OrbEnchantment.d.ts +0 -47
- package/lib/types/traditionArtifacts/OrbEnchantment.js +0 -12
- package/lib/types/traditionArtifacts/RingEnchantment.d.ts +0 -47
- package/lib/types/traditionArtifacts/RingEnchantment.js +0 -12
- package/lib/types/traditionArtifacts/SickleRitual.d.ts +0 -47
- package/lib/types/traditionArtifacts/SickleRitual.js +0 -12
- package/lib/types/traditionArtifacts/SpellSwordEnchantment.d.ts +0 -52
- package/lib/types/traditionArtifacts/SpellSwordEnchantment.js +0 -12
- package/lib/types/traditionArtifacts/StaffEnchantment.d.ts +0 -57
- package/lib/types/traditionArtifacts/StaffEnchantment.js +0 -12
- package/lib/types/traditionArtifacts/ToyEnchantment.d.ts +0 -47
- package/lib/types/traditionArtifacts/ToyEnchantment.js +0 -12
- package/lib/types/traditionArtifacts/Trinkhornzauber.d.ts +0 -47
- package/lib/types/traditionArtifacts/Trinkhornzauber.js +0 -12
- package/lib/types/traditionArtifacts/WandEnchantment.d.ts +0 -42
- package/lib/types/traditionArtifacts/WandEnchantment.js +0 -12
- package/lib/types/traditionArtifacts/WeaponEnchantment.d.ts +0 -47
- package/lib/types/traditionArtifacts/WeaponEnchantment.js +0 -12
- package/lib/types/traditionArtifacts/sub/AnimalShape.d.ts +0 -52
- package/lib/types/traditionArtifacts/sub/AnimalShape.js +0 -12
- package/lib/types/traditionArtifacts/sub/AnimalShapePath.d.ts +0 -28
- package/lib/types/traditionArtifacts/sub/AnimalShapePath.js +0 -12
- package/lib/types/traditionArtifacts/sub/AnimalShapeSize.d.ts +0 -40
- package/lib/types/traditionArtifacts/sub/AnimalShapeSize.js +0 -12
- package/lib/types/traditionArtifacts/sub/Brew.d.ts +0 -28
- package/lib/types/traditionArtifacts/sub/Brew.js +0 -12
- package/lib/validation/builders/integrity.d.ts +0 -57
- package/lib/validation/builders/integrity.js +0 -44
- package/lib/validation/builders/naming.d.ts +0 -13
- package/lib/validation/builders/naming.js +0 -14
- package/lib/validation/builders/schema.d.ts +0 -31
- package/lib/validation/builders/schema.js +0 -32
- package/lib/validation/filename.d.ts +0 -9
- package/lib/validation/filename.js +0 -10
- package/lib/validation/raw.d.ts +0 -9
- package/lib/validation/raw.js +0 -55
- package/lib/validation/schema.d.ts +0 -6
- package/lib/validation/schema.js +0 -33
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { RatedIdentifier } from "../../_IdentifierGroup.js";
|
|
2
|
-
import { DisplayOption } from "../DisplayOption.js";
|
|
3
|
-
/**
|
|
4
|
-
* @title Rated Prerequisite
|
|
5
|
-
*/
|
|
6
|
-
export type RatedPrerequisite = {
|
|
7
|
-
/**
|
|
8
|
-
* The rated entry's identifier.
|
|
9
|
-
*/
|
|
10
|
-
id: RatedIdentifier;
|
|
11
|
-
/**
|
|
12
|
-
* The required minimum value.
|
|
13
|
-
* @integer
|
|
14
|
-
* @minimum 0
|
|
15
|
-
*/
|
|
16
|
-
value: number;
|
|
17
|
-
display_option?: DisplayOption;
|
|
18
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { SkillIdentifier } from "../../_IdentifierGroup.js";
|
|
2
|
-
import { DisplayOption } from "../DisplayOption.js";
|
|
3
|
-
/**
|
|
4
|
-
* @title Rated Sum Prerequisite
|
|
5
|
-
*/
|
|
6
|
-
export type RatedSumPrerequisite = {
|
|
7
|
-
/**
|
|
8
|
-
* The minimum required sum of the targets’ ratings.
|
|
9
|
-
* @integer
|
|
10
|
-
* @minimum 1
|
|
11
|
-
*/
|
|
12
|
-
sum: number;
|
|
13
|
-
/**
|
|
14
|
-
* The targets that are included in calculating the sum.
|
|
15
|
-
* @minItems 2
|
|
16
|
-
*/
|
|
17
|
-
targets: SkillIdentifier[];
|
|
18
|
-
display_option?: DisplayOption;
|
|
19
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ExtensionRuleIdentifier } from "../../_IdentifierGroup.js";
|
|
2
|
-
import { DisplayOption } from "../DisplayOption.js";
|
|
3
|
-
/**
|
|
4
|
-
* @title Rule Prerequisite
|
|
5
|
-
*/
|
|
6
|
-
export type RulePrerequisite = {
|
|
7
|
-
id: ExtensionRuleIdentifier;
|
|
8
|
-
display_option?: DisplayOption;
|
|
9
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Requires a specific sexual characteristic.
|
|
3
|
-
* @title Sexual Characteristic Prerequisite
|
|
4
|
-
*/
|
|
5
|
-
export type SexualCharacteristicPrerequisite = {
|
|
6
|
-
id: SexualCharacteristic;
|
|
7
|
-
};
|
|
8
|
-
export declare enum SexualCharacteristic {
|
|
9
|
-
Penis = "Penis",
|
|
10
|
-
Vagina = "Vagina"
|
|
11
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { SocialStatusIdentifier } from "../../_Identifier.js";
|
|
2
|
-
import { DisplayOption } from "../DisplayOption.js";
|
|
3
|
-
/**
|
|
4
|
-
* Requires a minimum social status.
|
|
5
|
-
* @title Social Status Prerequisite
|
|
6
|
-
*/
|
|
7
|
-
export type SocialStatusPrerequisite = {
|
|
8
|
-
/**
|
|
9
|
-
* The minimum social status' identifier.
|
|
10
|
-
*/
|
|
11
|
-
id: SocialStatusIdentifier;
|
|
12
|
-
display_option?: DisplayOption;
|
|
13
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { StateIdentifier } from "../../_Identifier.js";
|
|
2
|
-
import { DisplayOption } from "../DisplayOption.js";
|
|
3
|
-
/**
|
|
4
|
-
* Requires a specific state or one of a specific set of states.
|
|
5
|
-
* @title State Prerequisite
|
|
6
|
-
*/
|
|
7
|
-
export type StatePrerequisite = {
|
|
8
|
-
id: StateIdentifier;
|
|
9
|
-
display_option?: DisplayOption;
|
|
10
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { LocaleMap } from "../../_LocaleMap.js";
|
|
2
|
-
import { NonEmptyMarkdown } from "../../_NonEmptyString.js";
|
|
3
|
-
/**
|
|
4
|
-
* A prerequisite that is either not verifyable in general – e.g. roleplay or
|
|
5
|
-
* background information – or the referenced entities were not made available
|
|
6
|
-
* for use yet – e.g. races –, but which should be displayed, because it is part
|
|
7
|
-
* of the prerequisite string from the sources.
|
|
8
|
-
* @title Text Prerequisite
|
|
9
|
-
*/
|
|
10
|
-
export type TextPrerequisite = {
|
|
11
|
-
/**
|
|
12
|
-
* The method how the prerequisite should be verified. Either is passes all
|
|
13
|
-
* verification text or it denies all verification tests. The latter results
|
|
14
|
-
* in the associated entry to never be available for purchase.
|
|
15
|
-
*/
|
|
16
|
-
verification: TextVerificationRule;
|
|
17
|
-
/**
|
|
18
|
-
* If the text is a sentence or sentence-like fragment, this property ensures
|
|
19
|
-
* it is integrated into the prerequisite string correctly.
|
|
20
|
-
*
|
|
21
|
-
* A standalone sentence is connected to the previous prerequisite string with
|
|
22
|
-
* a period and a period is also added at the end of the sentence
|
|
23
|
-
* automatically, if it is not present. A connected sentence is connected to
|
|
24
|
-
* the previous prerequisite string with a semicolon and a period is not added
|
|
25
|
-
* to the end of the sentence. In this case, if there are prerequisites after
|
|
26
|
-
* this one, they will be connected using a semicolon again, unless a
|
|
27
|
-
* different punctuation mark is present at the end of the given text.
|
|
28
|
-
*/
|
|
29
|
-
sentence_type?: SentenceType;
|
|
30
|
-
/**
|
|
31
|
-
* If the text does not represent an actual prerequisite but a prerequisite
|
|
32
|
-
* for the use of certain aspects or the entry the prerequisite is associated
|
|
33
|
-
* with, or something like that, this property is set to `true`.
|
|
34
|
-
*
|
|
35
|
-
* If all prerequisites of an entry are marked as meta, the entry is
|
|
36
|
-
* considered to have no prerequisites and thus the string `none` must be
|
|
37
|
-
* rendered before the list of meta prerequisites.
|
|
38
|
-
*
|
|
39
|
-
* This is the only use case for this property.
|
|
40
|
-
*/
|
|
41
|
-
is_meta?: true;
|
|
42
|
-
/**
|
|
43
|
-
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
44
|
-
*/
|
|
45
|
-
translations: LocaleMap<TextPrerequisiteTranslation>;
|
|
46
|
-
};
|
|
47
|
-
export declare enum TextVerificationRule {
|
|
48
|
-
Pass = "Pass",
|
|
49
|
-
Deny = "Deny"
|
|
50
|
-
}
|
|
51
|
-
export declare enum SentenceType {
|
|
52
|
-
Standalone = "Standalone",
|
|
53
|
-
Connected = "Connected"
|
|
54
|
-
}
|
|
55
|
-
export type TextPrerequisiteTranslation = NonEmptyMarkdown;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export var TextVerificationRule;
|
|
2
|
-
(function (TextVerificationRule) {
|
|
3
|
-
TextVerificationRule["Pass"] = "Pass";
|
|
4
|
-
TextVerificationRule["Deny"] = "Deny";
|
|
5
|
-
})(TextVerificationRule = TextVerificationRule || (TextVerificationRule = {}));
|
|
6
|
-
export var SentenceType;
|
|
7
|
-
(function (SentenceType) {
|
|
8
|
-
SentenceType["Standalone"] = "Standalone";
|
|
9
|
-
SentenceType["Connected"] = "Connected";
|
|
10
|
-
})(SentenceType = SentenceType || (SentenceType = {}));
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { DisplayOption } from "../DisplayOption.js";
|
|
2
|
-
/**
|
|
3
|
-
* @title Blessed Tradition Prerequisite
|
|
4
|
-
*/
|
|
5
|
-
export type BlessedTraditionPrerequisite = {
|
|
6
|
-
/**
|
|
7
|
-
* The blessed tradition prerequisite may only be satified if the blessed
|
|
8
|
-
* tradition is either church or shamanistic.
|
|
9
|
-
*/
|
|
10
|
-
restriction?: BlessedTraditionPrerequisiteRestriction;
|
|
11
|
-
display_option?: DisplayOption;
|
|
12
|
-
};
|
|
13
|
-
/**
|
|
14
|
-
* The blessed tradition prerequisite may only be satified if the blessed
|
|
15
|
-
* tradition is either church or shamanistic.
|
|
16
|
-
*/
|
|
17
|
-
export declare enum BlessedTraditionPrerequisiteRestriction {
|
|
18
|
-
Church = "Church",
|
|
19
|
-
Shamanistic = "Shamanistic"
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* @title Magical Tradition Prerequisite
|
|
23
|
-
*/
|
|
24
|
-
export type MagicalTraditionPrerequisite = {
|
|
25
|
-
/**
|
|
26
|
-
* The magical tradition prerequisite may only be satified if the magical
|
|
27
|
-
* tradition can learn rituals or can bind familiars.
|
|
28
|
-
*/
|
|
29
|
-
restriction?: MagicalTraditionPrerequisiteRestriction;
|
|
30
|
-
display_option?: DisplayOption;
|
|
31
|
-
};
|
|
32
|
-
/**
|
|
33
|
-
* The magical tradition prerequisite may only be satified if the magical
|
|
34
|
-
* tradition can learn rituals or can bind familiars.
|
|
35
|
-
*/
|
|
36
|
-
export declare enum MagicalTraditionPrerequisiteRestriction {
|
|
37
|
-
CanLearnRituals = "CanLearnRituals",
|
|
38
|
-
CanBindFamiliars = "CanBindFamiliars"
|
|
39
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The blessed tradition prerequisite may only be satified if the blessed
|
|
3
|
-
* tradition is either church or shamanistic.
|
|
4
|
-
*/
|
|
5
|
-
export var BlessedTraditionPrerequisiteRestriction;
|
|
6
|
-
(function (BlessedTraditionPrerequisiteRestriction) {
|
|
7
|
-
BlessedTraditionPrerequisiteRestriction["Church"] = "Church";
|
|
8
|
-
BlessedTraditionPrerequisiteRestriction["Shamanistic"] = "Shamanistic";
|
|
9
|
-
})(BlessedTraditionPrerequisiteRestriction = BlessedTraditionPrerequisiteRestriction || (BlessedTraditionPrerequisiteRestriction = {}));
|
|
10
|
-
/**
|
|
11
|
-
* The magical tradition prerequisite may only be satified if the magical
|
|
12
|
-
* tradition can learn rituals or can bind familiars.
|
|
13
|
-
*/
|
|
14
|
-
export var MagicalTraditionPrerequisiteRestriction;
|
|
15
|
-
(function (MagicalTraditionPrerequisiteRestriction) {
|
|
16
|
-
MagicalTraditionPrerequisiteRestriction["CanLearnRituals"] = "CanLearnRituals";
|
|
17
|
-
MagicalTraditionPrerequisiteRestriction["CanBindFamiliars"] = "CanBindFamiliars";
|
|
18
|
-
})(MagicalTraditionPrerequisiteRestriction = MagicalTraditionPrerequisiteRestriction || (MagicalTraditionPrerequisiteRestriction = {}));
|
|
@@ -1,312 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @main CoreRule
|
|
3
|
-
*/
|
|
4
|
-
import { TypeConfig } from "../../typeConfig.js";
|
|
5
|
-
import { CoreRuleIdentifier } from "../_Identifier.js";
|
|
6
|
-
import { CoreRuleDerivableContentIdentifier } from "../_IdentifierGroup.js";
|
|
7
|
-
import { LocaleMap } from "../_LocaleMap.js";
|
|
8
|
-
import { NonEmptyMarkdown, NonEmptyString } from "../_NonEmptyString.js";
|
|
9
|
-
import { Errata } from "../source/_Erratum.js";
|
|
10
|
-
import { PublicationRefs } from "../source/_PublicationRef.js";
|
|
11
|
-
/**
|
|
12
|
-
* @title Core Rule
|
|
13
|
-
*/
|
|
14
|
-
export type CoreRule = {
|
|
15
|
-
/**
|
|
16
|
-
* The core rule's identifier. An unique, increasing integer.
|
|
17
|
-
*/
|
|
18
|
-
id: CoreRuleIdentifier;
|
|
19
|
-
/**
|
|
20
|
-
* @minItems 1
|
|
21
|
-
*/
|
|
22
|
-
content: ContentNode[];
|
|
23
|
-
src: PublicationRefs;
|
|
24
|
-
/**
|
|
25
|
-
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
26
|
-
*/
|
|
27
|
-
translations: LocaleMap<CoreRuleTranslation>;
|
|
28
|
-
};
|
|
29
|
-
export type CoreRuleTranslation = {
|
|
30
|
-
/**
|
|
31
|
-
* The name of the optional rule.
|
|
32
|
-
*/
|
|
33
|
-
name: NonEmptyString;
|
|
34
|
-
errata?: Errata;
|
|
35
|
-
};
|
|
36
|
-
export type ContentNode = {
|
|
37
|
-
tag: "Child";
|
|
38
|
-
child: ChildNode;
|
|
39
|
-
} | {
|
|
40
|
-
tag: "Text";
|
|
41
|
-
text: TextNode;
|
|
42
|
-
} | {
|
|
43
|
-
tag: "Reference";
|
|
44
|
-
reference: ReferenceNode;
|
|
45
|
-
} | {
|
|
46
|
-
tag: "ReferenceList";
|
|
47
|
-
reference_list: ReferenceListNode;
|
|
48
|
-
};
|
|
49
|
-
/**
|
|
50
|
-
* A core rule nested inside this core rule. It may be displayed as a separate
|
|
51
|
-
* page or its content may be included in this rule's text, which will
|
|
52
|
-
* automatically generate a proper heading. No content node of a type other than
|
|
53
|
-
* `Child` should follow a child node, since then it may look like the the text
|
|
54
|
-
* may be part of the child node.
|
|
55
|
-
*/
|
|
56
|
-
export type ChildNode = {
|
|
57
|
-
/**
|
|
58
|
-
* The nested core rule's identifier.
|
|
59
|
-
*/
|
|
60
|
-
id: CoreRuleIdentifier;
|
|
61
|
-
/**
|
|
62
|
-
* If the nested core rule's content should be integrated into this core rule
|
|
63
|
-
* and a proper heading should be added. Otherwise create a link to a separate
|
|
64
|
-
* view of that core rule.
|
|
65
|
-
*/
|
|
66
|
-
include: boolean;
|
|
67
|
-
};
|
|
68
|
-
/**
|
|
69
|
-
* A simple text block, containing one or multiple paragraphs. Headings are not
|
|
70
|
-
* allowed, they should be handled as nested core rules instead.
|
|
71
|
-
*/
|
|
72
|
-
export type TextNode = {
|
|
73
|
-
/**
|
|
74
|
-
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
75
|
-
*/
|
|
76
|
-
translations: LocaleMap<TextNodeTranslation>;
|
|
77
|
-
};
|
|
78
|
-
export type TextNodeTranslation = {
|
|
79
|
-
/**
|
|
80
|
-
* Markdown-formatted text.
|
|
81
|
-
*/
|
|
82
|
-
text: NonEmptyMarkdown;
|
|
83
|
-
};
|
|
84
|
-
/**
|
|
85
|
-
* Generate a list or table from a specific entity type.
|
|
86
|
-
*/
|
|
87
|
-
export type ReferenceListNode = {
|
|
88
|
-
source: ReferenceListNodeSource;
|
|
89
|
-
/**
|
|
90
|
-
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
91
|
-
*/
|
|
92
|
-
translations: LocaleMap<ReferenceListNodeTranslation>;
|
|
93
|
-
};
|
|
94
|
-
export type ReferenceListNodeSource = {
|
|
95
|
-
tag: "Attributes";
|
|
96
|
-
attributes: {};
|
|
97
|
-
} | {
|
|
98
|
-
tag: "QualityLevels";
|
|
99
|
-
quality_levels: {};
|
|
100
|
-
} | {
|
|
101
|
-
tag: "Conditions";
|
|
102
|
-
conditions: {};
|
|
103
|
-
} | {
|
|
104
|
-
tag: "States";
|
|
105
|
-
states: {};
|
|
106
|
-
} | {
|
|
107
|
-
tag: "ExperienceLevels";
|
|
108
|
-
experience_levels: {};
|
|
109
|
-
} | {
|
|
110
|
-
tag: "Races";
|
|
111
|
-
races: {};
|
|
112
|
-
} | {
|
|
113
|
-
tag: "Cultures";
|
|
114
|
-
cultures: {};
|
|
115
|
-
} | {
|
|
116
|
-
tag: "Professions";
|
|
117
|
-
professions: {};
|
|
118
|
-
} | {
|
|
119
|
-
tag: "Advantages";
|
|
120
|
-
advantages: {};
|
|
121
|
-
} | {
|
|
122
|
-
tag: "Disadvantages";
|
|
123
|
-
disadvantages: {};
|
|
124
|
-
} | {
|
|
125
|
-
tag: "CombatTechniques";
|
|
126
|
-
combat_techniques: {};
|
|
127
|
-
} | {
|
|
128
|
-
tag: "SpecialAbilities";
|
|
129
|
-
special_abilities: {};
|
|
130
|
-
} | {
|
|
131
|
-
tag: "PrimaryAttributes";
|
|
132
|
-
primary_attributes: {};
|
|
133
|
-
} | {
|
|
134
|
-
tag: "DerivedCharacteristics";
|
|
135
|
-
derived_characteristics: {};
|
|
136
|
-
} | {
|
|
137
|
-
tag: "StartingAge";
|
|
138
|
-
starting_age: {};
|
|
139
|
-
} | {
|
|
140
|
-
tag: "Archetypes";
|
|
141
|
-
archetypes: {};
|
|
142
|
-
} | {
|
|
143
|
-
tag: "RequirementsForRoutineChecks";
|
|
144
|
-
requirements_for_routine_checks: {};
|
|
145
|
-
} | {
|
|
146
|
-
tag: "GeneralSpecialAbilities";
|
|
147
|
-
general_special_abilities: {};
|
|
148
|
-
} | {
|
|
149
|
-
tag: "FatePointSpecialAbilities";
|
|
150
|
-
fate_point_special_abilities: {};
|
|
151
|
-
} | {
|
|
152
|
-
tag: "LanguagesAndScripts";
|
|
153
|
-
languages_and_scripts: {};
|
|
154
|
-
} | {
|
|
155
|
-
tag: "CloseCombatBotch";
|
|
156
|
-
close_combat_botch: {};
|
|
157
|
-
} | {
|
|
158
|
-
tag: "DefenseBotch";
|
|
159
|
-
defense_botch: {};
|
|
160
|
-
} | {
|
|
161
|
-
tag: "MeleeCombatTechniques";
|
|
162
|
-
melee_combat_techniques: {};
|
|
163
|
-
} | {
|
|
164
|
-
tag: "RangedCombatBotch";
|
|
165
|
-
ranged_combat_botch: {};
|
|
166
|
-
} | {
|
|
167
|
-
tag: "RangedCombatDefenseBotch";
|
|
168
|
-
ranged_combat_defense_botch: {};
|
|
169
|
-
} | {
|
|
170
|
-
tag: "RangedCombatTechniques";
|
|
171
|
-
ranged_combat_techniques: {};
|
|
172
|
-
} | {
|
|
173
|
-
tag: "CombatSpecialAbilities";
|
|
174
|
-
combat_special_abilities: {};
|
|
175
|
-
} | {
|
|
176
|
-
tag: "Properties";
|
|
177
|
-
properties: {};
|
|
178
|
-
} | {
|
|
179
|
-
tag: "SpellBotch";
|
|
180
|
-
spell_botch: {};
|
|
181
|
-
} | {
|
|
182
|
-
tag: "Services";
|
|
183
|
-
services: {};
|
|
184
|
-
} | {
|
|
185
|
-
tag: "ProtectiveAndWardingCircles";
|
|
186
|
-
protective_and_warding_circles: {};
|
|
187
|
-
} | {
|
|
188
|
-
tag: "Elixirs";
|
|
189
|
-
elixirs: {};
|
|
190
|
-
} | {
|
|
191
|
-
tag: "StaffEnchantments";
|
|
192
|
-
staff_enchantments: {};
|
|
193
|
-
} | {
|
|
194
|
-
tag: "FamiliarsTricks";
|
|
195
|
-
familiars_tricks: {};
|
|
196
|
-
} | {
|
|
197
|
-
tag: "Curses";
|
|
198
|
-
curses: {};
|
|
199
|
-
} | {
|
|
200
|
-
tag: "ElvenMagicalSongs";
|
|
201
|
-
elven_magical_songs: {};
|
|
202
|
-
} | {
|
|
203
|
-
tag: "MagicalSpecialAbilities";
|
|
204
|
-
magical_special_abilities: {};
|
|
205
|
-
} | {
|
|
206
|
-
tag: "Cantrips";
|
|
207
|
-
cantrips: {};
|
|
208
|
-
} | {
|
|
209
|
-
tag: "Spells";
|
|
210
|
-
spells: {};
|
|
211
|
-
} | {
|
|
212
|
-
tag: "Rituals";
|
|
213
|
-
rituals: {};
|
|
214
|
-
} | {
|
|
215
|
-
tag: "Aspects";
|
|
216
|
-
aspects: {};
|
|
217
|
-
} | {
|
|
218
|
-
tag: "LiturgyBotch";
|
|
219
|
-
liturgy_botch: {};
|
|
220
|
-
} | {
|
|
221
|
-
tag: "KarmaSpecialAbilities";
|
|
222
|
-
karma_special_abilities: {};
|
|
223
|
-
} | {
|
|
224
|
-
tag: "Blessings";
|
|
225
|
-
blessings: {};
|
|
226
|
-
} | {
|
|
227
|
-
tag: "LiturgicalChants";
|
|
228
|
-
liturgical_chants: {};
|
|
229
|
-
} | {
|
|
230
|
-
tag: "Ceremonies";
|
|
231
|
-
ceremonies: {};
|
|
232
|
-
} | {
|
|
233
|
-
tag: "SocialStatuses";
|
|
234
|
-
social_statuses: {};
|
|
235
|
-
} | {
|
|
236
|
-
tag: "Poisons";
|
|
237
|
-
poisons: {};
|
|
238
|
-
} | {
|
|
239
|
-
tag: "Diseases";
|
|
240
|
-
diseases: {};
|
|
241
|
-
} | {
|
|
242
|
-
tag: "HealingHerbs";
|
|
243
|
-
healing_herbs: {};
|
|
244
|
-
} | {
|
|
245
|
-
tag: "VisibilityModifier";
|
|
246
|
-
visibility_modifier: {};
|
|
247
|
-
} | {
|
|
248
|
-
tag: "Demons";
|
|
249
|
-
demons: {};
|
|
250
|
-
} | {
|
|
251
|
-
tag: "Elementals";
|
|
252
|
-
elementals: {};
|
|
253
|
-
} | {
|
|
254
|
-
tag: "Animals";
|
|
255
|
-
animals: {};
|
|
256
|
-
} | {
|
|
257
|
-
tag: "Familiars";
|
|
258
|
-
familiars: {};
|
|
259
|
-
} | {
|
|
260
|
-
tag: "AnimalSpecialAbilities";
|
|
261
|
-
animal_special_abilities: {};
|
|
262
|
-
} | {
|
|
263
|
-
tag: "EquipmentPackages";
|
|
264
|
-
equipment_packages: {};
|
|
265
|
-
} | {
|
|
266
|
-
tag: "Items";
|
|
267
|
-
items: {};
|
|
268
|
-
} | {
|
|
269
|
-
tag: "OptionalRules";
|
|
270
|
-
optional_rules: {};
|
|
271
|
-
} | {
|
|
272
|
-
tag: "ImprovementCost";
|
|
273
|
-
improvement_cost: ReferenceListNodeImprovementCostSource;
|
|
274
|
-
};
|
|
275
|
-
export type ReferenceListNodeImprovementCostSource = {
|
|
276
|
-
/**
|
|
277
|
-
* Define if the cost for attributes or skills should be defined. The
|
|
278
|
-
* cost for attributes start with value 9, while the cost for skills
|
|
279
|
-
* start with 1 in addition to possible activation cost.
|
|
280
|
-
*/
|
|
281
|
-
target: ReferenceListNodeImprovementCostSourceTarget;
|
|
282
|
-
/**
|
|
283
|
-
* The highest value the improvement cost are displayed for.
|
|
284
|
-
*
|
|
285
|
-
* The minimum maximum value should depend on what is the upper bound of
|
|
286
|
-
* the range of adventure point cost that are equal across multiple
|
|
287
|
-
* values (value increases for attributes are always 15 up to (and
|
|
288
|
-
* including) value 14, while value increases for skills are always 1 to
|
|
289
|
-
* 4, depending on the improvement cost, up to (and including) value
|
|
290
|
-
* 12), since those ranges should be combined into a single table row.
|
|
291
|
-
* @integer
|
|
292
|
-
* @minimum 12
|
|
293
|
-
*/
|
|
294
|
-
maximum_rating: number;
|
|
295
|
-
};
|
|
296
|
-
export declare enum ReferenceListNodeImprovementCostSourceTarget {
|
|
297
|
-
Attributes = "Attributes",
|
|
298
|
-
Skills = "Skills"
|
|
299
|
-
}
|
|
300
|
-
export type ReferenceListNodeTranslation = {
|
|
301
|
-
/**
|
|
302
|
-
* Markdown-formatted text.
|
|
303
|
-
*/
|
|
304
|
-
text: NonEmptyMarkdown;
|
|
305
|
-
};
|
|
306
|
-
/**
|
|
307
|
-
* Generate the full text for a single entry as part of this core rule's text.
|
|
308
|
-
*/
|
|
309
|
-
export type ReferenceNode = {
|
|
310
|
-
id: CoreRuleDerivableContentIdentifier;
|
|
311
|
-
};
|
|
312
|
-
export declare const config: TypeConfig<CoreRule>;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @main CoreRule
|
|
3
|
-
*/
|
|
4
|
-
import { todo } from "../../validation/builders/integrity.js";
|
|
5
|
-
import { createSchemaValidator } from "../../validation/builders/schema.js";
|
|
6
|
-
import { getFIlenamePrefixAsNumericId } from "../../validation/filename.js";
|
|
7
|
-
export var ReferenceListNodeImprovementCostSourceTarget;
|
|
8
|
-
(function (ReferenceListNodeImprovementCostSourceTarget) {
|
|
9
|
-
ReferenceListNodeImprovementCostSourceTarget["Attributes"] = "Attributes";
|
|
10
|
-
ReferenceListNodeImprovementCostSourceTarget["Skills"] = "Skills";
|
|
11
|
-
})(ReferenceListNodeImprovementCostSourceTarget = ReferenceListNodeImprovementCostSourceTarget || (ReferenceListNodeImprovementCostSourceTarget = {}));
|
|
12
|
-
export const config = {
|
|
13
|
-
name: "CoreRule",
|
|
14
|
-
id: getFIlenamePrefixAsNumericId,
|
|
15
|
-
integrityValidator: todo("CoreRule"),
|
|
16
|
-
schemaValidator: createSchemaValidator(import.meta.url),
|
|
17
|
-
};
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @main FocusRule
|
|
3
|
-
*/
|
|
4
|
-
import { TypeConfig } from "../../typeConfig.js";
|
|
5
|
-
import { LocaleMap } from "../_LocaleMap.js";
|
|
6
|
-
import { NonEmptyMarkdown, NonEmptyString } from "../_NonEmptyString.js";
|
|
7
|
-
import { FocusRuleSubjectReference } from "../_SimpleReferences.js";
|
|
8
|
-
import { Errata } from "../source/_Erratum.js";
|
|
9
|
-
import { PublicationRefs } from "../source/_PublicationRef.js";
|
|
10
|
-
/**
|
|
11
|
-
* @title Focus Rule
|
|
12
|
-
*/
|
|
13
|
-
export type FocusRule = {
|
|
14
|
-
/**
|
|
15
|
-
* The focus rule's identifier. An unique, increasing integer.
|
|
16
|
-
* @integer
|
|
17
|
-
* @minimum 1
|
|
18
|
-
*/
|
|
19
|
-
id: number;
|
|
20
|
-
/**
|
|
21
|
-
* The associated subject.
|
|
22
|
-
*/
|
|
23
|
-
subject: FocusRuleSubjectReference;
|
|
24
|
-
/**
|
|
25
|
-
* The focus rule's level.
|
|
26
|
-
* @integer
|
|
27
|
-
* @minimum 1
|
|
28
|
-
* @maximum 4
|
|
29
|
-
*/
|
|
30
|
-
level: number;
|
|
31
|
-
/**
|
|
32
|
-
* Has the focus rule not been implemented in Optolith yet? This is also true
|
|
33
|
-
* if the focus rule does not (currently) apply to any Optolith feature.
|
|
34
|
-
*/
|
|
35
|
-
is_missing_implementation: boolean;
|
|
36
|
-
src: PublicationRefs;
|
|
37
|
-
/**
|
|
38
|
-
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
39
|
-
*/
|
|
40
|
-
translations: LocaleMap<FocusRuleTranslation>;
|
|
41
|
-
};
|
|
42
|
-
export type FocusRuleTranslation = {
|
|
43
|
-
/**
|
|
44
|
-
* The name of the focus rule.
|
|
45
|
-
*/
|
|
46
|
-
name: NonEmptyString;
|
|
47
|
-
/**
|
|
48
|
-
* The description of the focus rule.
|
|
49
|
-
*/
|
|
50
|
-
description: NonEmptyMarkdown;
|
|
51
|
-
errata?: Errata;
|
|
52
|
-
};
|
|
53
|
-
export declare const config: TypeConfig<FocusRule>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @main FocusRule
|
|
3
|
-
*/
|
|
4
|
-
import { todo } from "../../validation/builders/integrity.js";
|
|
5
|
-
import { createSchemaValidator } from "../../validation/builders/schema.js";
|
|
6
|
-
import { getFIlenamePrefixAsNumericId } from "../../validation/filename.js";
|
|
7
|
-
export const config = {
|
|
8
|
-
name: "FocusRule",
|
|
9
|
-
id: getFIlenamePrefixAsNumericId,
|
|
10
|
-
integrityValidator: todo("FocusRule"),
|
|
11
|
-
schemaValidator: createSchemaValidator(import.meta.url),
|
|
12
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @main Subject
|
|
3
|
-
*/
|
|
4
|
-
import { TypeConfig } from "../../typeConfig.js";
|
|
5
|
-
import { LocaleMap } from "../_LocaleMap.js";
|
|
6
|
-
import { NonEmptyString } from "../_NonEmptyString.js";
|
|
7
|
-
/**
|
|
8
|
-
* Subjects or Subject Areas are the categories of Focus Rules.
|
|
9
|
-
* @title Subject
|
|
10
|
-
*/
|
|
11
|
-
export type Subject = {
|
|
12
|
-
/**
|
|
13
|
-
* The subject's identifier. An unique, increasing integer.
|
|
14
|
-
* @integer
|
|
15
|
-
* @minimum 1
|
|
16
|
-
*/
|
|
17
|
-
id: number;
|
|
18
|
-
/**
|
|
19
|
-
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
20
|
-
*/
|
|
21
|
-
translations: LocaleMap<SubjectTranslation>;
|
|
22
|
-
};
|
|
23
|
-
export type SubjectTranslation = {
|
|
24
|
-
/**
|
|
25
|
-
* The subject.
|
|
26
|
-
*/
|
|
27
|
-
name: NonEmptyString;
|
|
28
|
-
};
|
|
29
|
-
export declare const config: TypeConfig<Subject>;
|