@optolith/database-schema 0.42.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/AUTHORS +1 -0
- package/CHANGELOG.md +1789 -0
- package/LICENSE +378 -0
- package/README.md +34 -0
- package/gen/types.d.ts +24682 -0
- package/lib/cache/activatableSelectOptions.d.ts +18 -0
- package/lib/cache/activatableSelectOptions.js +762 -0
- package/lib/cache/ancestorBloodAdvantages.d.ts +4 -0
- package/lib/cache/ancestorBloodAdvantages.js +13 -0
- package/lib/cache/index.d.ts +31 -0
- package/lib/cache/index.js +22 -0
- package/lib/cache/internal.d.ts +4 -0
- package/lib/cache/internal.js +1 -0
- package/lib/cache/magicalAndBlessedAdvantagesAndDisadvantages.d.ts +3 -0
- package/lib/cache/magicalAndBlessedAdvantagesAndDisadvantages.js +103 -0
- package/lib/cache/newApplicationsAndUses.d.ts +22 -0
- package/lib/cache/newApplicationsAndUses.js +12 -0
- package/lib/main.d.ts +17 -0
- package/lib/main.js +226 -0
- package/lib/test.d.ts +1 -0
- package/lib/test.js +11 -0
- package/lib/types/Advantage.d.ts +1193 -0
- package/lib/types/Advantage.js +58 -0
- package/lib/types/AnimalDisease.d.ts +91 -0
- package/lib/types/AnimalDisease.js +35 -0
- package/lib/types/AnimalType.d.ts +6 -0
- package/lib/types/AnimalType.js +21 -0
- package/lib/types/ArcaneBardTradition.d.ts +30 -0
- package/lib/types/ArcaneBardTradition.js +14 -0
- package/lib/types/ArcaneDancerTradition.d.ts +30 -0
- package/lib/types/ArcaneDancerTradition.js +14 -0
- package/lib/types/Aspect.d.ts +7 -0
- package/lib/types/Aspect.js +27 -0
- package/lib/types/Attribute.d.ts +19 -0
- package/lib/types/Attribute.js +49 -0
- package/lib/types/Blessing.d.ts +106 -0
- package/lib/types/Blessing.js +102 -0
- package/lib/types/Cantrip.d.ts +134 -0
- package/lib/types/Cantrip.js +166 -0
- package/lib/types/Ceremony.d.ts +685 -0
- package/lib/types/Ceremony.js +94 -0
- package/lib/types/CombatTechnique.d.ts +153 -0
- package/lib/types/CombatTechnique.js +133 -0
- package/lib/types/Condition.d.ts +53 -0
- package/lib/types/Condition.js +38 -0
- package/lib/types/Continent.d.ts +6 -0
- package/lib/types/Continent.js +22 -0
- package/lib/types/Culture.d.ts +158 -0
- package/lib/types/Culture.js +374 -0
- package/lib/types/DerivedCharacteristic.d.ts +267 -0
- package/lib/types/DerivedCharacteristic.js +227 -0
- package/lib/types/Disadvantage.d.ts +1120 -0
- package/lib/types/Disadvantage.js +59 -0
- package/lib/types/Disease.d.ts +111 -0
- package/lib/types/Disease.js +35 -0
- package/lib/types/Element.d.ts +6 -0
- package/lib/types/Element.js +21 -0
- package/lib/types/ExperienceLevel.d.ts +13 -0
- package/lib/types/ExperienceLevel.js +56 -0
- package/lib/types/EyeColor.d.ts +6 -0
- package/lib/types/EyeColor.js +21 -0
- package/lib/types/FamiliarsTrick.d.ts +192 -0
- package/lib/types/FamiliarsTrick.js +202 -0
- package/lib/types/HairColor.d.ts +6 -0
- package/lib/types/HairColor.js +21 -0
- package/lib/types/HomunculusType.d.ts +6 -0
- package/lib/types/HomunculusType.js +15 -0
- package/lib/types/Influence.d.ts +80 -0
- package/lib/types/Influence.js +52 -0
- package/lib/types/Lessons.d.ts +181 -0
- package/lib/types/Lessons.js +230 -0
- package/lib/types/LiturgicalChant.d.ts +685 -0
- package/lib/types/LiturgicalChant.js +94 -0
- package/lib/types/Locale.d.ts +1607 -0
- package/lib/types/Locale.js +1747 -0
- package/lib/types/MetaCondition.d.ts +53 -0
- package/lib/types/MetaCondition.js +39 -0
- package/lib/types/PactCategory.d.ts +75 -0
- package/lib/types/PactCategory.js +102 -0
- package/lib/types/Patron.d.ts +101 -0
- package/lib/types/Patron.js +203 -0
- package/lib/types/PatronCategory.d.ts +7 -0
- package/lib/types/PatronCategory.js +26 -0
- package/lib/types/PersonalityTrait.d.ts +81 -0
- package/lib/types/PersonalityTrait.js +58 -0
- package/lib/types/Profession.d.ts +2120 -0
- package/lib/types/Profession.js +631 -0
- package/lib/types/Property.d.ts +7 -0
- package/lib/types/Property.js +26 -0
- package/lib/types/Race.d.ts +207 -0
- package/lib/types/Race.js +332 -0
- package/lib/types/Region.d.ts +6 -0
- package/lib/types/Region.js +21 -0
- package/lib/types/Ritual.d.ts +688 -0
- package/lib/types/Ritual.js +96 -0
- package/lib/types/Service.d.ts +56 -0
- package/lib/types/Service.js +45 -0
- package/lib/types/SexPractice.d.ts +51 -0
- package/lib/types/SexPractice.js +39 -0
- package/lib/types/Skill.d.ts +116 -0
- package/lib/types/Skill.js +139 -0
- package/lib/types/SkillGroup.d.ts +17 -0
- package/lib/types/SkillGroup.js +45 -0
- package/lib/types/SkillModificationLevel.d.ts +34 -0
- package/lib/types/SkillModificationLevel.js +116 -0
- package/lib/types/SocialStatus.d.ts +7 -0
- package/lib/types/SocialStatus.js +26 -0
- package/lib/types/Spell.d.ts +688 -0
- package/lib/types/Spell.js +96 -0
- package/lib/types/State.d.ts +52 -0
- package/lib/types/State.js +31 -0
- package/lib/types/Talisman.d.ts +135 -0
- package/lib/types/Talisman.js +168 -0
- package/lib/types/TargetCategory.d.ts +7 -0
- package/lib/types/TargetCategory.js +26 -0
- package/lib/types/_Activatable.d.ts +12 -0
- package/lib/types/_Activatable.js +43 -0
- package/lib/types/_ActivatableAdvanced.d.ts +50 -0
- package/lib/types/_ActivatableAdvanced.js +101 -0
- package/lib/types/_ActivatableAdventurePointsValue.d.ts +159 -0
- package/lib/types/_ActivatableAdventurePointsValue.js +148 -0
- package/lib/types/_ActivatableAutomatic.d.ts +74 -0
- package/lib/types/_ActivatableAutomatic.js +64 -0
- package/lib/types/_ActivatableCombat.d.ts +123 -0
- package/lib/types/_ActivatableCombat.js +350 -0
- package/lib/types/_ActivatableNames.d.ts +15 -0
- package/lib/types/_ActivatableNames.js +26 -0
- package/lib/types/_ActivatableNonMundane.d.ts +387 -0
- package/lib/types/_ActivatableNonMundane.js +536 -0
- package/lib/types/_ActivatableSelectOptionCategory.d.ts +1380 -0
- package/lib/types/_ActivatableSelectOptionCategory.js +478 -0
- package/lib/types/_ActivatableSelectOptions.d.ts +1077 -0
- package/lib/types/_ActivatableSelectOptions.js +218 -0
- package/lib/types/_ActivatableSkill.d.ts +1231 -0
- package/lib/types/_ActivatableSkill.js +89 -0
- package/lib/types/_ActivatableSkillApplicationsAndUses.d.ts +109 -0
- package/lib/types/_ActivatableSkillApplicationsAndUses.js +80 -0
- package/lib/types/_ActivatableSkillCastingTime.d.ts +66 -0
- package/lib/types/_ActivatableSkillCastingTime.js +92 -0
- package/lib/types/_ActivatableSkillCheckResultBased.d.ts +27 -0
- package/lib/types/_ActivatableSkillCheckResultBased.js +45 -0
- package/lib/types/_ActivatableSkillCost.d.ts +366 -0
- package/lib/types/_ActivatableSkillCost.js +280 -0
- package/lib/types/_ActivatableSkillDuration.d.ts +204 -0
- package/lib/types/_ActivatableSkillDuration.js +138 -0
- package/lib/types/_ActivatableSkillEffect.d.ts +16 -0
- package/lib/types/_ActivatableSkillEffect.js +65 -0
- package/lib/types/_ActivatableSkillRange.d.ts +62 -0
- package/lib/types/_ActivatableSkillRange.js +106 -0
- package/lib/types/_ActivatableSkillTargetCategory.d.ts +14 -0
- package/lib/types/_ActivatableSkillTargetCategory.js +30 -0
- package/lib/types/_AlternativeNames.d.ts +5 -0
- package/lib/types/_AlternativeNames.js +14 -0
- package/lib/types/_ArcaneTradition.d.ts +30 -0
- package/lib/types/_ArcaneTradition.js +14 -0
- package/lib/types/_Blessed.d.ts +8 -0
- package/lib/types/_Blessed.js +22 -0
- package/lib/types/_Color.d.ts +19 -0
- package/lib/types/_Color.js +27 -0
- package/lib/types/_CommonnessRatedAdvantageDisadvantage.d.ts +7 -0
- package/lib/types/_CommonnessRatedAdvantageDisadvantage.js +19 -0
- package/lib/types/_Dice.d.ts +6 -0
- package/lib/types/_Dice.js +23 -0
- package/lib/types/_DiseasePoison.d.ts +59 -0
- package/lib/types/_DiseasePoison.js +110 -0
- package/lib/types/_Enhancements.d.ts +170 -0
- package/lib/types/_Enhancements.js +80 -0
- package/lib/types/_Identifier.d.ts +170 -0
- package/lib/types/_Identifier.js +325 -0
- package/lib/types/_IdentifierGroup.d.ts +413 -0
- package/lib/types/_IdentifierGroup.js +333 -0
- package/lib/types/_ImprovementCost.d.ts +7 -0
- package/lib/types/_ImprovementCost.js +10 -0
- package/lib/types/_MathExpression.d.ts +12 -0
- package/lib/types/_MathExpression.js +36 -0
- package/lib/types/_Prerequisite.d.ts +421 -0
- package/lib/types/_Prerequisite.js +163 -0
- package/lib/types/_ResponsiveText.d.ts +13 -0
- package/lib/types/_ResponsiveText.js +43 -0
- package/lib/types/_Sex.d.ts +5 -0
- package/lib/types/_Sex.js +8 -0
- package/lib/types/_SizeCategory.d.ts +15 -0
- package/lib/types/_SizeCategory.js +24 -0
- package/lib/types/_SkillCheck.d.ts +11 -0
- package/lib/types/_SkillCheck.js +23 -0
- package/lib/types/_Spellwork.d.ts +17 -0
- package/lib/types/_Spellwork.js +39 -0
- package/lib/types/equipment/EquipmentPackage.d.ts +85 -0
- package/lib/types/equipment/EquipmentPackage.js +41 -0
- package/lib/types/equipment/item/Ammunition.d.ts +72 -0
- package/lib/types/equipment/item/Ammunition.js +44 -0
- package/lib/types/equipment/item/Animal.d.ts +72 -0
- package/lib/types/equipment/item/Animal.js +22 -0
- package/lib/types/equipment/item/AnimalCare.d.ts +87 -0
- package/lib/types/equipment/item/AnimalCare.js +58 -0
- package/lib/types/equipment/item/Armor.d.ts +166 -0
- package/lib/types/equipment/item/Armor.js +181 -0
- package/lib/types/equipment/item/BandageOrRemedy.d.ts +201 -0
- package/lib/types/equipment/item/BandageOrRemedy.js +48 -0
- package/lib/types/equipment/item/Book.d.ts +169 -0
- package/lib/types/equipment/item/Book.js +271 -0
- package/lib/types/equipment/item/CeremonialItem.d.ts +202 -0
- package/lib/types/equipment/item/CeremonialItem.js +53 -0
- package/lib/types/equipment/item/Clothes.d.ts +201 -0
- package/lib/types/equipment/item/Clothes.js +48 -0
- package/lib/types/equipment/item/ClothingPackage.d.ts +63 -0
- package/lib/types/equipment/item/ClothingPackage.js +21 -0
- package/lib/types/equipment/item/Container.d.ts +201 -0
- package/lib/types/equipment/item/Container.js +48 -0
- package/lib/types/equipment/item/Elixir.d.ts +119 -0
- package/lib/types/equipment/item/Elixir.js +110 -0
- package/lib/types/equipment/item/EquipmentOfBlessedOnes.d.ts +215 -0
- package/lib/types/equipment/item/EquipmentOfBlessedOnes.js +44 -0
- package/lib/types/equipment/item/GemOrPreciousStone.d.ts +74 -0
- package/lib/types/equipment/item/GemOrPreciousStone.js +52 -0
- package/lib/types/equipment/item/IlluminationLightSource.d.ts +210 -0
- package/lib/types/equipment/item/IlluminationLightSource.js +78 -0
- package/lib/types/equipment/item/IlluminationRefillOrSupply.d.ts +201 -0
- package/lib/types/equipment/item/IlluminationRefillOrSupply.js +48 -0
- package/lib/types/equipment/item/Jewelry.d.ts +74 -0
- package/lib/types/equipment/item/Jewelry.js +46 -0
- package/lib/types/equipment/item/Laboratory.d.ts +81 -0
- package/lib/types/equipment/item/Laboratory.js +34 -0
- package/lib/types/equipment/item/Liebesspielzeug.d.ts +201 -0
- package/lib/types/equipment/item/Liebesspielzeug.js +48 -0
- package/lib/types/equipment/item/LuxuryGood.d.ts +201 -0
- package/lib/types/equipment/item/LuxuryGood.js +48 -0
- package/lib/types/equipment/item/MagicalArtifact.d.ts +204 -0
- package/lib/types/equipment/item/MagicalArtifact.js +82 -0
- package/lib/types/equipment/item/MusicalInstrument.d.ts +201 -0
- package/lib/types/equipment/item/MusicalInstrument.js +48 -0
- package/lib/types/equipment/item/Newspaper.d.ts +67 -0
- package/lib/types/equipment/item/Newspaper.js +36 -0
- package/lib/types/equipment/item/OrienteeringAid.d.ts +200 -0
- package/lib/types/equipment/item/OrienteeringAid.js +2 -0
- package/lib/types/equipment/item/Poison.d.ts +621 -0
- package/lib/types/equipment/item/Poison.js +486 -0
- package/lib/types/equipment/item/RopeOrChain.d.ts +200 -0
- package/lib/types/equipment/item/RopeOrChain.js +2 -0
- package/lib/types/equipment/item/Stationery.d.ts +200 -0
- package/lib/types/equipment/item/Stationery.js +2 -0
- package/lib/types/equipment/item/ThievesTool.d.ts +200 -0
- package/lib/types/equipment/item/ThievesTool.js +2 -0
- package/lib/types/equipment/item/ToolOfTheTrade.d.ts +83 -0
- package/lib/types/equipment/item/ToolOfTheTrade.js +34 -0
- package/lib/types/equipment/item/TravelGearOrTool.d.ts +201 -0
- package/lib/types/equipment/item/TravelGearOrTool.js +48 -0
- package/lib/types/equipment/item/Vehicle.d.ts +80 -0
- package/lib/types/equipment/item/Vehicle.js +30 -0
- package/lib/types/equipment/item/Weapon.d.ts +225 -0
- package/lib/types/equipment/item/Weapon.js +132 -0
- package/lib/types/equipment/item/WeaponAccessory.d.ts +201 -0
- package/lib/types/equipment/item/WeaponAccessory.js +48 -0
- package/lib/types/equipment/item/WorkingSupernaturalCreature.d.ts +72 -0
- package/lib/types/equipment/item/WorkingSupernaturalCreature.js +44 -0
- package/lib/types/equipment/item/_Herbary.d.ts +76 -0
- package/lib/types/equipment/item/_Herbary.js +48 -0
- package/lib/types/equipment/item/_Item.d.ts +414 -0
- package/lib/types/equipment/item/_Item.js +254 -0
- package/lib/types/equipment/item/_MeleeWeapon.d.ts +62 -0
- package/lib/types/equipment/item/_MeleeWeapon.js +100 -0
- package/lib/types/equipment/item/_RangedWeapon.d.ts +38 -0
- package/lib/types/equipment/item/_RangedWeapon.js +93 -0
- package/lib/types/equipment/item/_Weapon.d.ts +25 -0
- package/lib/types/equipment/item/_Weapon.js +77 -0
- package/lib/types/equipment/item/sub/ArmorType.d.ts +7 -0
- package/lib/types/equipment/item/sub/ArmorType.js +25 -0
- package/lib/types/equipment/item/sub/Reach.d.ts +7 -0
- package/lib/types/equipment/item/sub/Reach.js +28 -0
- package/lib/types/index.d.ts +160 -0
- package/lib/types/index.js +160 -0
- package/lib/types/magicalActions/AnimistPower.d.ts +302 -0
- package/lib/types/magicalActions/AnimistPower.js +204 -0
- package/lib/types/magicalActions/AnimistPower_Tribe.d.ts +30 -0
- package/lib/types/magicalActions/AnimistPower_Tribe.js +26 -0
- package/lib/types/magicalActions/Bannzeichen.d.ts +244 -0
- package/lib/types/magicalActions/Bannzeichen.js +231 -0
- package/lib/types/magicalActions/Curse.d.ts +219 -0
- package/lib/types/magicalActions/Curse.js +133 -0
- package/lib/types/magicalActions/DominationRitual.d.ts +204 -0
- package/lib/types/magicalActions/DominationRitual.js +133 -0
- package/lib/types/magicalActions/ElvenMagicalSong.d.ts +126 -0
- package/lib/types/magicalActions/ElvenMagicalSong.js +117 -0
- package/lib/types/magicalActions/GeodeRitual.d.ts +227 -0
- package/lib/types/magicalActions/GeodeRitual.js +142 -0
- package/lib/types/magicalActions/GoblinRitual.d.ts +286 -0
- package/lib/types/magicalActions/GoblinRitual.js +196 -0
- package/lib/types/magicalActions/JesterTrick.d.ts +305 -0
- package/lib/types/magicalActions/JesterTrick.js +160 -0
- package/lib/types/magicalActions/MagicalDance.d.ts +129 -0
- package/lib/types/magicalActions/MagicalDance.js +119 -0
- package/lib/types/magicalActions/MagicalMelody.d.ts +133 -0
- package/lib/types/magicalActions/MagicalMelody.js +123 -0
- package/lib/types/magicalActions/MagicalRune.d.ts +279 -0
- package/lib/types/magicalActions/MagicalRune.js +292 -0
- package/lib/types/magicalActions/ZibiljaRitual.d.ts +420 -0
- package/lib/types/magicalActions/ZibiljaRitual.js +90 -0
- package/lib/types/magicalActions/_MusicTradition.d.ts +17 -0
- package/lib/types/magicalActions/_MusicTradition.js +43 -0
- package/lib/types/prerequisites/ConditionalPrerequisites.d.ts +42 -0
- package/lib/types/prerequisites/ConditionalPrerequisites.js +9 -0
- package/lib/types/prerequisites/DisplayOption.d.ts +13 -0
- package/lib/types/prerequisites/DisplayOption.js +27 -0
- package/lib/types/prerequisites/PrerequisiteGroups.d.ts +2053 -0
- package/lib/types/prerequisites/PrerequisiteGroups.js +180 -0
- package/lib/types/prerequisites/single/ActivatablePrerequisite.d.ts +133 -0
- package/lib/types/prerequisites/single/ActivatablePrerequisite.js +32 -0
- package/lib/types/prerequisites/single/AncestorBloodPrerequisite.d.ts +4 -0
- package/lib/types/prerequisites/single/AncestorBloodPrerequisite.js +4 -0
- package/lib/types/prerequisites/single/AnimistPowerPrerequisite.d.ts +18 -0
- package/lib/types/prerequisites/single/AnimistPowerPrerequisite.js +24 -0
- package/lib/types/prerequisites/single/CulturePrerequisite.d.ts +16 -0
- package/lib/types/prerequisites/single/CulturePrerequisite.js +16 -0
- package/lib/types/prerequisites/single/EnhancementPrerequisite.d.ts +4 -0
- package/lib/types/prerequisites/single/EnhancementPrerequisite.js +12 -0
- package/lib/types/prerequisites/single/InfluencePrerequisite.d.ts +17 -0
- package/lib/types/prerequisites/single/InfluencePrerequisite.js +19 -0
- package/lib/types/prerequisites/single/PactPrerequisite.d.ts +18 -0
- package/lib/types/prerequisites/single/PactPrerequisite.js +24 -0
- package/lib/types/prerequisites/single/PersonalityTraitPrerequisite.d.ts +17 -0
- package/lib/types/prerequisites/single/PersonalityTraitPrerequisite.js +19 -0
- package/lib/types/prerequisites/single/PrimaryAttributePrerequisite.d.ts +20 -0
- package/lib/types/prerequisites/single/PrimaryAttributePrerequisite.js +25 -0
- package/lib/types/prerequisites/single/ProfessionPrerequisite.d.ts +16 -0
- package/lib/types/prerequisites/single/ProfessionPrerequisite.js +16 -0
- package/lib/types/prerequisites/single/PublicationPrerequisite.d.ts +16 -0
- package/lib/types/prerequisites/single/PublicationPrerequisite.js +15 -0
- package/lib/types/prerequisites/single/RacePrerequisite.d.ts +17 -0
- package/lib/types/prerequisites/single/RacePrerequisite.js +19 -0
- package/lib/types/prerequisites/single/RatedMinimumNumberPrerequisite.d.ts +51 -0
- package/lib/types/prerequisites/single/RatedMinimumNumberPrerequisite.js +82 -0
- package/lib/types/prerequisites/single/RatedPrerequisite.d.ts +26 -0
- package/lib/types/prerequisites/single/RatedPrerequisite.js +19 -0
- package/lib/types/prerequisites/single/RatedSumPrerequisite.d.ts +17 -0
- package/lib/types/prerequisites/single/RatedSumPrerequisite.js +19 -0
- package/lib/types/prerequisites/single/RulePrerequisite.d.ts +19 -0
- package/lib/types/prerequisites/single/RulePrerequisite.js +15 -0
- package/lib/types/prerequisites/single/SexPrerequisite.d.ts +19 -0
- package/lib/types/prerequisites/single/SexPrerequisite.js +15 -0
- package/lib/types/prerequisites/single/SexualCharacteristicPrerequisite.d.ts +7 -0
- package/lib/types/prerequisites/single/SexualCharacteristicPrerequisite.js +17 -0
- package/lib/types/prerequisites/single/SocialStatusPrerequisite.d.ts +16 -0
- package/lib/types/prerequisites/single/SocialStatusPrerequisite.js +16 -0
- package/lib/types/prerequisites/single/StatePrerequisite.d.ts +16 -0
- package/lib/types/prerequisites/single/StatePrerequisite.js +15 -0
- package/lib/types/prerequisites/single/TextPrerequisite.d.ts +19 -0
- package/lib/types/prerequisites/single/TextPrerequisite.js +53 -0
- package/lib/types/prerequisites/single/TraditionPrerequisite.d.ts +37 -0
- package/lib/types/prerequisites/single/TraditionPrerequisite.js +42 -0
- package/lib/types/rule/AlternativeRule.d.ts +54 -0
- package/lib/types/rule/AlternativeRule.js +40 -0
- package/lib/types/rule/AlternativeRule_PlayerType.d.ts +6 -0
- package/lib/types/rule/AlternativeRule_PlayerType.js +16 -0
- package/lib/types/rule/CoreRule.d.ts +143 -0
- package/lib/types/rule/CoreRule.js +181 -0
- package/lib/types/rule/FocusRule.d.ts +79 -0
- package/lib/types/rule/FocusRule.js +48 -0
- package/lib/types/rule/FocusRule_Subject.d.ts +6 -0
- package/lib/types/rule/FocusRule_Subject.js +22 -0
- package/lib/types/rule/OptionalRule.d.ts +83 -0
- package/lib/types/rule/OptionalRule.js +59 -0
- package/lib/types/source/Publication.d.ts +50 -0
- package/lib/types/source/Publication.js +64 -0
- package/lib/types/source/_Erratum.d.ts +12 -0
- package/lib/types/source/_Erratum.js +22 -0
- package/lib/types/source/_PublicationRef.d.ts +168 -0
- package/lib/types/source/_PublicationRef.js +164 -0
- package/lib/types/specialAbility/AdvancedCombatSpecialAbility.d.ts +1234 -0
- package/lib/types/specialAbility/AdvancedCombatSpecialAbility.js +52 -0
- package/lib/types/specialAbility/AdvancedKarmaSpecialAbility.d.ts +1116 -0
- package/lib/types/specialAbility/AdvancedKarmaSpecialAbility.js +47 -0
- package/lib/types/specialAbility/AdvancedMagicalSpecialAbility.d.ts +1116 -0
- package/lib/types/specialAbility/AdvancedMagicalSpecialAbility.js +47 -0
- package/lib/types/specialAbility/AdvancedSkillSpecialAbility.d.ts +1116 -0
- package/lib/types/specialAbility/AdvancedSkillSpecialAbility.js +47 -0
- package/lib/types/specialAbility/AncestorGlyph.d.ts +1063 -0
- package/lib/types/specialAbility/AncestorGlyph.js +48 -0
- package/lib/types/specialAbility/BlessedTradition.d.ts +1141 -0
- package/lib/types/specialAbility/BlessedTradition.js +147 -0
- package/lib/types/specialAbility/BrawlingSpecialAbility.d.ts +1127 -0
- package/lib/types/specialAbility/BrawlingSpecialAbility.js +46 -0
- package/lib/types/specialAbility/CeremonialItemSpecialAbility.d.ts +1117 -0
- package/lib/types/specialAbility/CeremonialItemSpecialAbility.js +53 -0
- package/lib/types/specialAbility/CombatSpecialAbility.d.ts +1235 -0
- package/lib/types/specialAbility/CombatSpecialAbility.js +52 -0
- package/lib/types/specialAbility/CombatStyleSpecialAbility.d.ts +1286 -0
- package/lib/types/specialAbility/CombatStyleSpecialAbility.js +54 -0
- package/lib/types/specialAbility/CommandSpecialAbility.d.ts +1127 -0
- package/lib/types/specialAbility/CommandSpecialAbility.js +46 -0
- package/lib/types/specialAbility/FamiliarSpecialAbility.d.ts +1062 -0
- package/lib/types/specialAbility/FamiliarSpecialAbility.js +43 -0
- package/lib/types/specialAbility/FatePointSexSpecialAbility.d.ts +1062 -0
- package/lib/types/specialAbility/FatePointSexSpecialAbility.js +43 -0
- package/lib/types/specialAbility/FatePointSpecialAbility.d.ts +1116 -0
- package/lib/types/specialAbility/FatePointSpecialAbility.js +46 -0
- package/lib/types/specialAbility/GeneralSpecialAbility.d.ts +1117 -0
- package/lib/types/specialAbility/GeneralSpecialAbility.js +47 -0
- package/lib/types/specialAbility/KarmaSpecialAbility.d.ts +1062 -0
- package/lib/types/specialAbility/KarmaSpecialAbility.js +43 -0
- package/lib/types/specialAbility/LiturgicalStyleSpecialAbility.d.ts +1165 -0
- package/lib/types/specialAbility/LiturgicalStyleSpecialAbility.js +49 -0
- package/lib/types/specialAbility/LycantropicGift.d.ts +1062 -0
- package/lib/types/specialAbility/LycantropicGift.js +43 -0
- package/lib/types/specialAbility/MagicStyleSpecialAbility.d.ts +1165 -0
- package/lib/types/specialAbility/MagicStyleSpecialAbility.js +49 -0
- package/lib/types/specialAbility/MagicalSign.d.ts +127 -0
- package/lib/types/specialAbility/MagicalSign.js +66 -0
- package/lib/types/specialAbility/MagicalSpecialAbility.d.ts +1117 -0
- package/lib/types/specialAbility/MagicalSpecialAbility.js +47 -0
- package/lib/types/specialAbility/MagicalTradition.d.ts +1138 -0
- package/lib/types/specialAbility/MagicalTradition.js +115 -0
- package/lib/types/specialAbility/PactGift.d.ts +1143 -0
- package/lib/types/specialAbility/PactGift.js +76 -0
- package/lib/types/specialAbility/ProtectiveWardingCircleSpecialAbility.d.ts +1064 -0
- package/lib/types/specialAbility/ProtectiveWardingCircleSpecialAbility.js +54 -0
- package/lib/types/specialAbility/Sermon.d.ts +1062 -0
- package/lib/types/specialAbility/Sermon.js +43 -0
- package/lib/types/specialAbility/SexSpecialAbility.d.ts +1116 -0
- package/lib/types/specialAbility/SexSpecialAbility.js +46 -0
- package/lib/types/specialAbility/SikaryanDrainSpecialAbility.d.ts +1062 -0
- package/lib/types/specialAbility/SikaryanDrainSpecialAbility.js +43 -0
- package/lib/types/specialAbility/SkillStyleSpecialAbility.d.ts +1111 -0
- package/lib/types/specialAbility/SkillStyleSpecialAbility.js +46 -0
- package/lib/types/specialAbility/VampiricGift.d.ts +1062 -0
- package/lib/types/specialAbility/VampiricGift.js +43 -0
- package/lib/types/specialAbility/Vision.d.ts +1062 -0
- package/lib/types/specialAbility/Vision.js +43 -0
- package/lib/types/specialAbility/_Tradition.d.ts +5 -0
- package/lib/types/specialAbility/_Tradition.js +14 -0
- package/lib/types/specialAbility/sub/Language.d.ts +108 -0
- package/lib/types/specialAbility/sub/Language.js +98 -0
- package/lib/types/specialAbility/sub/Script.d.ts +62 -0
- package/lib/types/specialAbility/sub/Script.js +50 -0
- package/lib/types/specialAbility/sub/TradeSecret.d.ts +972 -0
- package/lib/types/specialAbility/sub/TradeSecret.js +76 -0
- package/lib/types/specialAbility/sub/_LanguageScript.d.ts +5 -0
- package/lib/types/specialAbility/sub/_LanguageScript.js +15 -0
- package/lib/types/traditionArtifacts/ArcaneOrbEnchantment.d.ts +1282 -0
- package/lib/types/traditionArtifacts/ArcaneOrbEnchantment.js +50 -0
- package/lib/types/traditionArtifacts/AttireEnchantment.d.ts +1282 -0
- package/lib/types/traditionArtifacts/AttireEnchantment.js +50 -0
- package/lib/types/traditionArtifacts/Beutelzauber.d.ts +1282 -0
- package/lib/types/traditionArtifacts/Beutelzauber.js +50 -0
- package/lib/types/traditionArtifacts/BowlEnchantment.d.ts +1282 -0
- package/lib/types/traditionArtifacts/BowlEnchantment.js +50 -0
- package/lib/types/traditionArtifacts/CauldronEnchantment.d.ts +1283 -0
- package/lib/types/traditionArtifacts/CauldronEnchantment.js +55 -0
- package/lib/types/traditionArtifacts/ChronicleEnchantment.d.ts +1282 -0
- package/lib/types/traditionArtifacts/ChronicleEnchantment.js +50 -0
- package/lib/types/traditionArtifacts/DaggerRitual.d.ts +1294 -0
- package/lib/types/traditionArtifacts/DaggerRitual.js +85 -0
- package/lib/types/traditionArtifacts/FoolsHatEnchantment.d.ts +1282 -0
- package/lib/types/traditionArtifacts/FoolsHatEnchantment.js +52 -0
- package/lib/types/traditionArtifacts/Haubenzauber.d.ts +1282 -0
- package/lib/types/traditionArtifacts/Haubenzauber.js +50 -0
- package/lib/types/traditionArtifacts/InstrumentEnchantment.d.ts +1282 -0
- package/lib/types/traditionArtifacts/InstrumentEnchantment.js +50 -0
- package/lib/types/traditionArtifacts/Krallenkettenzauber.d.ts +1282 -0
- package/lib/types/traditionArtifacts/Krallenkettenzauber.js +50 -0
- package/lib/types/traditionArtifacts/Kristallkugelzauber.d.ts +1282 -0
- package/lib/types/traditionArtifacts/Kristallkugelzauber.js +50 -0
- package/lib/types/traditionArtifacts/OrbEnchantment.d.ts +1282 -0
- package/lib/types/traditionArtifacts/OrbEnchantment.js +50 -0
- package/lib/types/traditionArtifacts/RingEnchantment.d.ts +1282 -0
- package/lib/types/traditionArtifacts/RingEnchantment.js +50 -0
- package/lib/types/traditionArtifacts/SickleRitual.d.ts +1282 -0
- package/lib/types/traditionArtifacts/SickleRitual.js +50 -0
- package/lib/types/traditionArtifacts/SpellSwordEnchantment.d.ts +1282 -0
- package/lib/types/traditionArtifacts/SpellSwordEnchantment.js +50 -0
- package/lib/types/traditionArtifacts/StaffEnchantment.d.ts +1286 -0
- package/lib/types/traditionArtifacts/StaffEnchantment.js +55 -0
- package/lib/types/traditionArtifacts/ToyEnchantment.d.ts +1282 -0
- package/lib/types/traditionArtifacts/ToyEnchantment.js +50 -0
- package/lib/types/traditionArtifacts/Trinkhornzauber.d.ts +1282 -0
- package/lib/types/traditionArtifacts/Trinkhornzauber.js +50 -0
- package/lib/types/traditionArtifacts/WandEnchantment.d.ts +1231 -0
- package/lib/types/traditionArtifacts/WandEnchantment.js +49 -0
- package/lib/types/traditionArtifacts/WeaponEnchantment.d.ts +1282 -0
- package/lib/types/traditionArtifacts/WeaponEnchantment.js +50 -0
- package/lib/types/traditionArtifacts/sub/AnimalShape.d.ts +8 -0
- package/lib/types/traditionArtifacts/sub/AnimalShape.js +24 -0
- package/lib/types/traditionArtifacts/sub/AnimalShapePath.d.ts +6 -0
- package/lib/types/traditionArtifacts/sub/AnimalShapePath.js +15 -0
- package/lib/types/traditionArtifacts/sub/AnimalShapeSize.d.ts +8 -0
- package/lib/types/traditionArtifacts/sub/AnimalShapeSize.js +23 -0
- package/lib/types/traditionArtifacts/sub/Brew.d.ts +6 -0
- package/lib/types/traditionArtifacts/sub/Brew.js +15 -0
- package/package.json +61 -0
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
import * as DB from "tsondb/schema/dsl";
|
|
2
|
+
import { ActivatablePrerequisite } from "./single/ActivatablePrerequisite.js";
|
|
3
|
+
import { AncestorBloodPrerequisite } from "./single/AncestorBloodPrerequisite.js";
|
|
4
|
+
import { AnimistPowerPrerequisite } from "./single/AnimistPowerPrerequisite.js";
|
|
5
|
+
import { CulturePrerequisite } from "./single/CulturePrerequisite.js";
|
|
6
|
+
import { EnhancementPrerequisite } from "./single/EnhancementPrerequisite.js";
|
|
7
|
+
import { InfluencePrerequisite } from "./single/InfluencePrerequisite.js";
|
|
8
|
+
import { PactPrerequisite } from "./single/PactPrerequisite.js";
|
|
9
|
+
import { PersonalityTraitPrerequisite } from "./single/PersonalityTraitPrerequisite.js";
|
|
10
|
+
import { PrimaryAttributePrerequisite } from "./single/PrimaryAttributePrerequisite.js";
|
|
11
|
+
import { ProfessionPrerequisite } from "./single/ProfessionPrerequisite.js";
|
|
12
|
+
import { PublicationPrerequisite } from "./single/PublicationPrerequisite.js";
|
|
13
|
+
import { RacePrerequisite } from "./single/RacePrerequisite.js";
|
|
14
|
+
import { RatedMinimumNumberPrerequisite } from "./single/RatedMinimumNumberPrerequisite.js";
|
|
15
|
+
import { RatedPrerequisite } from "./single/RatedPrerequisite.js";
|
|
16
|
+
import { RatedSumPrerequisite } from "./single/RatedSumPrerequisite.js";
|
|
17
|
+
import { RulePrerequisite } from "./single/RulePrerequisite.js";
|
|
18
|
+
import { SexPrerequisite } from "./single/SexPrerequisite.js";
|
|
19
|
+
import { SexualCharacteristicPrerequisite } from "./single/SexualCharacteristicPrerequisite.js";
|
|
20
|
+
import { SocialStatusPrerequisite } from "./single/SocialStatusPrerequisite.js";
|
|
21
|
+
import { StatePrerequisite } from "./single/StatePrerequisite.js";
|
|
22
|
+
import { TextPrerequisite } from "./single/TextPrerequisite.js";
|
|
23
|
+
import { BlessedTraditionPrerequisite, MagicalTraditionPrerequisite, } from "./single/TraditionPrerequisite.js";
|
|
24
|
+
export const RulePrerequisiteGroup = DB.Enum(import.meta.url, {
|
|
25
|
+
name: "RulePrerequisiteGroup",
|
|
26
|
+
values: () => ({
|
|
27
|
+
Rule: DB.EnumCase({ type: DB.IncludeIdentifier(RulePrerequisite) }),
|
|
28
|
+
}),
|
|
29
|
+
});
|
|
30
|
+
export const DerivedCharacteristicPrerequisiteGroup = DB.Enum(import.meta.url, {
|
|
31
|
+
name: "DerivedCharacteristicPrerequisiteGroup",
|
|
32
|
+
values: () => ({
|
|
33
|
+
Rule: DB.EnumCase({ type: DB.IncludeIdentifier(RulePrerequisite) }),
|
|
34
|
+
BlessedTradition: DB.EnumCase({ type: DB.IncludeIdentifier(BlessedTraditionPrerequisite) }),
|
|
35
|
+
MagicalTradition: DB.EnumCase({ type: DB.IncludeIdentifier(MagicalTraditionPrerequisite) }),
|
|
36
|
+
}),
|
|
37
|
+
});
|
|
38
|
+
export const DerivedCharacteristicModifierPrerequisiteGroup = DB.Enum(import.meta.url, {
|
|
39
|
+
name: "DerivedCharacteristicModifierPrerequisiteGroup",
|
|
40
|
+
values: () => ({
|
|
41
|
+
Rule: DB.EnumCase({ type: DB.IncludeIdentifier(RulePrerequisite) }),
|
|
42
|
+
Activatable: DB.EnumCase({ type: DB.IncludeIdentifier(ActivatablePrerequisite) }),
|
|
43
|
+
}),
|
|
44
|
+
});
|
|
45
|
+
export const PublicationPrerequisiteGroup = DB.Enum(import.meta.url, {
|
|
46
|
+
name: "PublicationPrerequisiteGroup",
|
|
47
|
+
values: () => ({
|
|
48
|
+
Publication: DB.EnumCase({ type: DB.IncludeIdentifier(PublicationPrerequisite) }),
|
|
49
|
+
}),
|
|
50
|
+
});
|
|
51
|
+
export const GeneralPrerequisiteGroup = DB.Enum(import.meta.url, {
|
|
52
|
+
name: "GeneralPrerequisiteGroup",
|
|
53
|
+
values: () => ({
|
|
54
|
+
Sex: DB.EnumCase({ type: DB.IncludeIdentifier(SexPrerequisite) }),
|
|
55
|
+
Race: DB.EnumCase({ type: DB.IncludeIdentifier(RacePrerequisite) }),
|
|
56
|
+
Culture: DB.EnumCase({ type: DB.IncludeIdentifier(CulturePrerequisite) }),
|
|
57
|
+
Pact: DB.EnumCase({ type: DB.IncludeIdentifier(PactPrerequisite) }),
|
|
58
|
+
SocialStatus: DB.EnumCase({ type: DB.IncludeIdentifier(SocialStatusPrerequisite) }),
|
|
59
|
+
State: DB.EnumCase({ type: DB.IncludeIdentifier(StatePrerequisite) }),
|
|
60
|
+
Rule: DB.EnumCase({ type: DB.IncludeIdentifier(RulePrerequisite) }),
|
|
61
|
+
PrimaryAttribute: DB.EnumCase({ type: DB.IncludeIdentifier(PrimaryAttributePrerequisite) }),
|
|
62
|
+
Activatable: DB.EnumCase({ type: DB.IncludeIdentifier(ActivatablePrerequisite) }),
|
|
63
|
+
BlessedTradition: DB.EnumCase({ type: DB.IncludeIdentifier(BlessedTraditionPrerequisite) }),
|
|
64
|
+
MagicalTradition: DB.EnumCase({ type: DB.IncludeIdentifier(MagicalTraditionPrerequisite) }),
|
|
65
|
+
Rated: DB.EnumCase({ type: DB.IncludeIdentifier(RatedPrerequisite) }),
|
|
66
|
+
RatedMinimumNumber: DB.EnumCase({ type: DB.IncludeIdentifier(RatedMinimumNumberPrerequisite) }),
|
|
67
|
+
RatedSum: DB.EnumCase({ type: DB.IncludeIdentifier(RatedSumPrerequisite) }),
|
|
68
|
+
Enhancement: DB.EnumCase({ type: DB.IncludeIdentifier(EnhancementPrerequisite) }),
|
|
69
|
+
Text: DB.EnumCase({ type: DB.IncludeIdentifier(TextPrerequisite) }),
|
|
70
|
+
SexualCharacteristic: DB.EnumCase({
|
|
71
|
+
type: DB.IncludeIdentifier(SexualCharacteristicPrerequisite),
|
|
72
|
+
}),
|
|
73
|
+
}),
|
|
74
|
+
});
|
|
75
|
+
export const ProfessionPrerequisiteGroup = DB.Enum(import.meta.url, {
|
|
76
|
+
name: "ProfessionPrerequisiteGroup",
|
|
77
|
+
values: () => ({
|
|
78
|
+
Sex: DB.EnumCase({ type: DB.IncludeIdentifier(SexPrerequisite) }),
|
|
79
|
+
Race: DB.EnumCase({ type: DB.IncludeIdentifier(RacePrerequisite) }),
|
|
80
|
+
Culture: DB.EnumCase({ type: DB.IncludeIdentifier(CulturePrerequisite) }),
|
|
81
|
+
Activatable: DB.EnumCase({ type: DB.IncludeIdentifier(ActivatablePrerequisite) }),
|
|
82
|
+
Rated: DB.EnumCase({ type: DB.IncludeIdentifier(RatedPrerequisite) }),
|
|
83
|
+
}),
|
|
84
|
+
});
|
|
85
|
+
export const AdvantageDisadvantagePrerequisiteGroup = DB.Enum(import.meta.url, {
|
|
86
|
+
name: "AdvantageDisadvantagePrerequisiteGroup",
|
|
87
|
+
values: () => {
|
|
88
|
+
return {
|
|
89
|
+
CommonSuggestedByRCP: DB.EnumCase({ type: null }),
|
|
90
|
+
NoOtherAncestorBloodAdvantage: DB.EnumCase({
|
|
91
|
+
type: AncestorBloodPrerequisite,
|
|
92
|
+
}),
|
|
93
|
+
...GeneralPrerequisiteGroup.type.value.values,
|
|
94
|
+
};
|
|
95
|
+
},
|
|
96
|
+
});
|
|
97
|
+
export const ArcaneTraditionPrerequisiteGroup = DB.Enum(import.meta.url, {
|
|
98
|
+
name: "ArcaneTraditionPrerequisiteGroup",
|
|
99
|
+
values: () => ({
|
|
100
|
+
Sex: DB.EnumCase({ type: DB.IncludeIdentifier(SexPrerequisite) }),
|
|
101
|
+
Culture: DB.EnumCase({ type: DB.IncludeIdentifier(CulturePrerequisite) }),
|
|
102
|
+
}),
|
|
103
|
+
});
|
|
104
|
+
export const PersonalityTraitPrerequisiteGroup = DB.Enum(import.meta.url, {
|
|
105
|
+
name: "PersonalityTraitPrerequisiteGroup",
|
|
106
|
+
values: () => ({
|
|
107
|
+
Race: DB.EnumCase({ type: DB.IncludeIdentifier(RacePrerequisite) }),
|
|
108
|
+
Culture: DB.EnumCase({ type: DB.IncludeIdentifier(CulturePrerequisite) }),
|
|
109
|
+
PersonalityTrait: DB.EnumCase({ type: DB.IncludeIdentifier(PersonalityTraitPrerequisite) }),
|
|
110
|
+
Text: DB.EnumCase({ type: DB.IncludeIdentifier(TextPrerequisite) }),
|
|
111
|
+
}),
|
|
112
|
+
});
|
|
113
|
+
export const SpellworkPrerequisiteGroup = DB.Enum(import.meta.url, {
|
|
114
|
+
name: "SpellworkPrerequisiteGroup",
|
|
115
|
+
values: () => ({
|
|
116
|
+
Rule: DB.EnumCase({ type: DB.IncludeIdentifier(RulePrerequisite) }),
|
|
117
|
+
Rated: DB.EnumCase({ type: DB.IncludeIdentifier(RatedPrerequisite) }),
|
|
118
|
+
}),
|
|
119
|
+
});
|
|
120
|
+
export const LiturgyPrerequisiteGroup = DB.Enum(import.meta.url, {
|
|
121
|
+
name: "LiturgyPrerequisiteGroup",
|
|
122
|
+
values: () => ({
|
|
123
|
+
Rule: DB.EnumCase({ type: DB.IncludeIdentifier(RulePrerequisite) }),
|
|
124
|
+
}),
|
|
125
|
+
});
|
|
126
|
+
export const InfluencePrerequisiteGroup = DB.Enum(import.meta.url, {
|
|
127
|
+
name: "InfluencePrerequisiteGroup",
|
|
128
|
+
values: () => ({
|
|
129
|
+
Influence: DB.EnumCase({ type: DB.IncludeIdentifier(InfluencePrerequisite) }),
|
|
130
|
+
Race: DB.EnumCase({ type: DB.IncludeIdentifier(RacePrerequisite) }),
|
|
131
|
+
Profession: DB.EnumCase({ type: DB.IncludeIdentifier(ProfessionPrerequisite) }),
|
|
132
|
+
Activatable: DB.EnumCase({ type: DB.IncludeIdentifier(ActivatablePrerequisite) }),
|
|
133
|
+
Text: DB.EnumCase({ type: DB.IncludeIdentifier(TextPrerequisite) }),
|
|
134
|
+
}),
|
|
135
|
+
});
|
|
136
|
+
export const LanguagePrerequisiteGroup = DB.Enum(import.meta.url, {
|
|
137
|
+
name: "LanguagePrerequisiteGroup",
|
|
138
|
+
values: () => ({
|
|
139
|
+
Race: DB.EnumCase({ type: DB.IncludeIdentifier(RacePrerequisite) }),
|
|
140
|
+
Activatable: DB.EnumCase({ type: DB.IncludeIdentifier(ActivatablePrerequisite) }),
|
|
141
|
+
Text: DB.EnumCase({ type: DB.IncludeIdentifier(TextPrerequisite) }),
|
|
142
|
+
}),
|
|
143
|
+
});
|
|
144
|
+
export const AnimistPowerPrerequisiteGroup = DB.Enum(import.meta.url, {
|
|
145
|
+
name: "AnimistPowerPrerequisiteGroup",
|
|
146
|
+
values: () => ({
|
|
147
|
+
AnimistPower: DB.EnumCase({ type: DB.IncludeIdentifier(AnimistPowerPrerequisite) }),
|
|
148
|
+
}),
|
|
149
|
+
});
|
|
150
|
+
export const TribePrerequisiteGroup = DB.Enum(import.meta.url, {
|
|
151
|
+
name: "TribePrerequisiteGroup",
|
|
152
|
+
values: () => ({
|
|
153
|
+
Race: DB.EnumCase({ type: DB.IncludeIdentifier(RacePrerequisite) }),
|
|
154
|
+
Culture: DB.EnumCase({ type: DB.IncludeIdentifier(CulturePrerequisite) }),
|
|
155
|
+
}),
|
|
156
|
+
});
|
|
157
|
+
export const GeodeRitualPrerequisiteGroup = DB.Enum(import.meta.url, {
|
|
158
|
+
name: "GeodeRitualPrerequisiteGroup",
|
|
159
|
+
values: () => ({
|
|
160
|
+
Activatable: DB.EnumCase({ type: DB.IncludeIdentifier(ActivatablePrerequisite) }),
|
|
161
|
+
Influence: DB.EnumCase({ type: DB.IncludeIdentifier(InfluencePrerequisite) }),
|
|
162
|
+
}),
|
|
163
|
+
});
|
|
164
|
+
export const EnhancementPrerequisiteGroup = DB.Enum(import.meta.url, {
|
|
165
|
+
name: "EnhancementPrerequisiteGroup",
|
|
166
|
+
values: () => ({
|
|
167
|
+
Enhancement: DB.EnumCase({ type: DB.IncludeIdentifier(EnhancementPrerequisite) }),
|
|
168
|
+
Rated: DB.EnumCase({ type: DB.IncludeIdentifier(RatedPrerequisite) }),
|
|
169
|
+
}),
|
|
170
|
+
});
|
|
171
|
+
export const PreconditionGroup = DB.Enum(import.meta.url, {
|
|
172
|
+
name: "PreconditionGroup",
|
|
173
|
+
values: () => ({
|
|
174
|
+
Publication: DB.EnumCase({ type: DB.IncludeIdentifier(PublicationPrerequisite) }),
|
|
175
|
+
Rule: DB.EnumCase({ type: DB.IncludeIdentifier(RulePrerequisite) }),
|
|
176
|
+
SexualCharacteristic: DB.EnumCase({
|
|
177
|
+
type: DB.IncludeIdentifier(SexualCharacteristicPrerequisite),
|
|
178
|
+
}),
|
|
179
|
+
}),
|
|
180
|
+
});
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import * as DB from "tsondb/schema/dsl";
|
|
2
|
+
export declare const ActivatablePrerequisite: DB.TypeAlias<"ActivatablePrerequisite", DB.Object<{
|
|
3
|
+
id: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"ActivatableIdentifier", {
|
|
4
|
+
AdvancedCombatSpecialAbility: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
5
|
+
AdvancedKarmaSpecialAbility: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
6
|
+
AdvancedMagicalSpecialAbility: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
7
|
+
AdvancedSkillSpecialAbility: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
8
|
+
AncestorGlyph: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
9
|
+
ArcaneOrbEnchantment: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
10
|
+
AttireEnchantment: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
11
|
+
Beutelzauber: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
12
|
+
BlessedTradition: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
13
|
+
BowlEnchantment: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
14
|
+
BrawlingSpecialAbility: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
15
|
+
CauldronEnchantment: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
16
|
+
CeremonialItemSpecialAbility: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
17
|
+
ChronicleEnchantment: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
18
|
+
CombatSpecialAbility: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
19
|
+
CombatStyleSpecialAbility: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
20
|
+
CommandSpecialAbility: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
21
|
+
DaggerRitual: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
22
|
+
FamiliarSpecialAbility: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
23
|
+
FatePointSexSpecialAbility: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
24
|
+
FatePointSpecialAbility: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
25
|
+
FoolsHatEnchantment: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
26
|
+
GeneralSpecialAbility: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
27
|
+
Haubenzauber: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
28
|
+
InstrumentEnchantment: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
29
|
+
KarmaSpecialAbility: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
30
|
+
Krallenkettenzauber: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
31
|
+
Kristallkugelzauber: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
32
|
+
LiturgicalStyleSpecialAbility: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
33
|
+
LycantropicGift: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
34
|
+
MagicalSign: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
35
|
+
MagicalSpecialAbility: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
36
|
+
MagicalTradition: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
37
|
+
MagicStyleSpecialAbility: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
38
|
+
OrbEnchantment: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
39
|
+
PactGift: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
40
|
+
ProtectiveWardingCircleSpecialAbility: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
41
|
+
RingEnchantment: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
42
|
+
Sermon: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
43
|
+
SexSpecialAbility: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
44
|
+
SickleRitual: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
45
|
+
SikaryanDrainSpecialAbility: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
46
|
+
SkillStyleSpecialAbility: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
47
|
+
SpellSwordEnchantment: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
48
|
+
StaffEnchantment: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
49
|
+
ToyEnchantment: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
50
|
+
Trinkhornzauber: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
51
|
+
VampiricGift: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
52
|
+
Vision: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
53
|
+
WandEnchantment: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
54
|
+
WeaponEnchantment: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
55
|
+
Advantage: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
56
|
+
Disadvantage: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
57
|
+
}, []>>, true>;
|
|
58
|
+
active: DB.MemberDecl<DB.Boolean, true>;
|
|
59
|
+
level: DB.MemberDecl<DB.Integer, false>;
|
|
60
|
+
options: DB.MemberDecl<DB.Array<DB.IncludeIdentifier<[], DB.Enum<"RequirableSelectOptionIdentifier", {
|
|
61
|
+
General: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
62
|
+
Race: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
63
|
+
Skill: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
64
|
+
SkillApplication: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
65
|
+
CloseCombatTechnique: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
66
|
+
RangedCombatTechnique: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
67
|
+
Property: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
68
|
+
Aspect: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
69
|
+
Language: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
70
|
+
AnimalShape: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
71
|
+
LiturgicalChant: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
72
|
+
Ceremony: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
73
|
+
Spell: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
74
|
+
Ritual: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
75
|
+
TradeSecret: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
76
|
+
ArcaneBardTradition: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
77
|
+
ArcaneDancerTradition: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
78
|
+
Element: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
79
|
+
}, []>>>, false>;
|
|
80
|
+
display_option: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DisplayOption", {
|
|
81
|
+
Hide: DB.EnumCase<null>;
|
|
82
|
+
ReplaceWith: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ReplacementDisplayOption", DB.Object<{
|
|
83
|
+
sentence_type: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SentenceType", {
|
|
84
|
+
Standalone: DB.EnumCase<null>;
|
|
85
|
+
Connected: DB.EnumCase<null>;
|
|
86
|
+
}, []>>, false>;
|
|
87
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ReplacementDisplayOptionTranslation", {
|
|
88
|
+
replacement: DB.MemberDecl<DB.String, true>;
|
|
89
|
+
}>, true>;
|
|
90
|
+
}>, []>>>;
|
|
91
|
+
}, []>>, false>;
|
|
92
|
+
when: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"Preconditions", DB.Array<DB.IncludeIdentifier<[], DB.Enum<"PreconditionGroup", {
|
|
93
|
+
Publication: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"PublicationPrerequisite", DB.Object<{
|
|
94
|
+
id: DB.MemberDecl<DB.ReferenceIdentifier, true>;
|
|
95
|
+
display_option: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DisplayOption", {
|
|
96
|
+
Hide: DB.EnumCase<null>;
|
|
97
|
+
ReplaceWith: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ReplacementDisplayOption", DB.Object<{
|
|
98
|
+
sentence_type: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SentenceType", {
|
|
99
|
+
Standalone: DB.EnumCase<null>;
|
|
100
|
+
Connected: DB.EnumCase<null>;
|
|
101
|
+
}, []>>, false>;
|
|
102
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ReplacementDisplayOptionTranslation", {
|
|
103
|
+
replacement: DB.MemberDecl<DB.String, true>;
|
|
104
|
+
}>, true>;
|
|
105
|
+
}>, []>>>;
|
|
106
|
+
}, []>>, false>;
|
|
107
|
+
}>, []>>>;
|
|
108
|
+
Rule: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"RulePrerequisite", DB.Object<{
|
|
109
|
+
id: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"ExtensionRuleIdentifier", {
|
|
110
|
+
FocusRule: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
111
|
+
OptionalRule: DB.EnumCase<DB.ReferenceIdentifier>;
|
|
112
|
+
}, []>>, true>;
|
|
113
|
+
display_option: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DisplayOption", {
|
|
114
|
+
Hide: DB.EnumCase<null>;
|
|
115
|
+
ReplaceWith: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ReplacementDisplayOption", DB.Object<{
|
|
116
|
+
sentence_type: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SentenceType", {
|
|
117
|
+
Standalone: DB.EnumCase<null>;
|
|
118
|
+
Connected: DB.EnumCase<null>;
|
|
119
|
+
}, []>>, false>;
|
|
120
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ReplacementDisplayOptionTranslation", {
|
|
121
|
+
replacement: DB.MemberDecl<DB.String, true>;
|
|
122
|
+
}>, true>;
|
|
123
|
+
}>, []>>>;
|
|
124
|
+
}, []>>, false>;
|
|
125
|
+
}>, []>>>;
|
|
126
|
+
SexualCharacteristic: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"SexualCharacteristicPrerequisite", DB.Object<{
|
|
127
|
+
id: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SexualCharacteristic", {
|
|
128
|
+
Penis: DB.EnumCase<null>;
|
|
129
|
+
Vagina: DB.EnumCase<null>;
|
|
130
|
+
}, []>>, true>;
|
|
131
|
+
}>, []>>>;
|
|
132
|
+
}, []>>>, []>>, false>;
|
|
133
|
+
}>, []>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import * as DB from "tsondb/schema/dsl";
|
|
2
|
+
import { ActivatableIdentifier, RequirableSelectOptionIdentifier } from "../../_IdentifierGroup.js";
|
|
3
|
+
import { Preconditions } from "../ConditionalPrerequisites.js";
|
|
4
|
+
import { DisplayOption } from "../DisplayOption.js";
|
|
5
|
+
export const ActivatablePrerequisite = DB.TypeAlias(import.meta.url, {
|
|
6
|
+
name: "ActivatablePrerequisite",
|
|
7
|
+
comment: "Requires a specific advantage, disadvantage or special ability.",
|
|
8
|
+
type: () => DB.Object({
|
|
9
|
+
id: DB.Required({
|
|
10
|
+
comment: "The activatable entry’s identifier.",
|
|
11
|
+
type: DB.IncludeIdentifier(ActivatableIdentifier),
|
|
12
|
+
}),
|
|
13
|
+
active: DB.Required({
|
|
14
|
+
comment: "If the required entry should be required to be active or inactive.",
|
|
15
|
+
type: DB.Boolean(),
|
|
16
|
+
}),
|
|
17
|
+
level: DB.Optional({
|
|
18
|
+
comment: "The required minimum level of the entry.",
|
|
19
|
+
type: DB.Integer({ minimum: 1 }),
|
|
20
|
+
}),
|
|
21
|
+
options: DB.Optional({
|
|
22
|
+
comment: "Required select options. Order is important. Typically, you only need the first array index, though.",
|
|
23
|
+
type: DB.Array(DB.IncludeIdentifier(RequirableSelectOptionIdentifier), { minItems: 1 }),
|
|
24
|
+
}),
|
|
25
|
+
display_option: DB.Optional({
|
|
26
|
+
type: DB.IncludeIdentifier(DisplayOption),
|
|
27
|
+
}),
|
|
28
|
+
when: DB.Optional({
|
|
29
|
+
type: DB.IncludeIdentifier(Preconditions),
|
|
30
|
+
}),
|
|
31
|
+
}),
|
|
32
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as DB from "tsondb/schema/dsl";
|
|
2
|
+
export declare const AnimistPowerPrerequisite: DB.TypeAlias<"AnimistPowerPrerequisite", DB.Object<{
|
|
3
|
+
id: DB.MemberDecl<DB.ReferenceIdentifier, true>;
|
|
4
|
+
level: DB.MemberDecl<DB.Integer, false>;
|
|
5
|
+
value: DB.MemberDecl<DB.Integer, true>;
|
|
6
|
+
display_option: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DisplayOption", {
|
|
7
|
+
Hide: DB.EnumCase<null>;
|
|
8
|
+
ReplaceWith: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ReplacementDisplayOption", DB.Object<{
|
|
9
|
+
sentence_type: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SentenceType", {
|
|
10
|
+
Standalone: DB.EnumCase<null>;
|
|
11
|
+
Connected: DB.EnumCase<null>;
|
|
12
|
+
}, []>>, false>;
|
|
13
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ReplacementDisplayOptionTranslation", {
|
|
14
|
+
replacement: DB.MemberDecl<DB.String, true>;
|
|
15
|
+
}>, true>;
|
|
16
|
+
}>, []>>>;
|
|
17
|
+
}, []>>, false>;
|
|
18
|
+
}>, []>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as DB from "tsondb/schema/dsl";
|
|
2
|
+
import { AnimistPowerIdentifier } from "../../_Identifier.js";
|
|
3
|
+
import { DisplayOption } from "../DisplayOption.js";
|
|
4
|
+
export const AnimistPowerPrerequisite = DB.TypeAlias(import.meta.url, {
|
|
5
|
+
name: "AnimistPowerPrerequisite",
|
|
6
|
+
comment: "Requires a specific animist power to be on a minimum value.",
|
|
7
|
+
type: () => DB.Object({
|
|
8
|
+
id: DB.Required({
|
|
9
|
+
comment: "The animist power’s identifier.",
|
|
10
|
+
type: AnimistPowerIdentifier(),
|
|
11
|
+
}),
|
|
12
|
+
level: DB.Optional({
|
|
13
|
+
comment: "The level to which the minimum value applies.",
|
|
14
|
+
type: DB.Integer({ minimum: 2 }),
|
|
15
|
+
}),
|
|
16
|
+
value: DB.Required({
|
|
17
|
+
comment: "The required minimum value.",
|
|
18
|
+
type: DB.Integer({ minimum: 0 }),
|
|
19
|
+
}),
|
|
20
|
+
display_option: DB.Optional({
|
|
21
|
+
type: DB.IncludeIdentifier(DisplayOption),
|
|
22
|
+
}),
|
|
23
|
+
}),
|
|
24
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as DB from "tsondb/schema/dsl";
|
|
2
|
+
export declare const CulturePrerequisite: DB.TypeAlias<"CulturePrerequisite", DB.Object<{
|
|
3
|
+
id: DB.MemberDecl<DB.ReferenceIdentifier, true>;
|
|
4
|
+
display_option: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DisplayOption", {
|
|
5
|
+
Hide: DB.EnumCase<null>;
|
|
6
|
+
ReplaceWith: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ReplacementDisplayOption", DB.Object<{
|
|
7
|
+
sentence_type: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SentenceType", {
|
|
8
|
+
Standalone: DB.EnumCase<null>;
|
|
9
|
+
Connected: DB.EnumCase<null>;
|
|
10
|
+
}, []>>, false>;
|
|
11
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ReplacementDisplayOptionTranslation", {
|
|
12
|
+
replacement: DB.MemberDecl<DB.String, true>;
|
|
13
|
+
}>, true>;
|
|
14
|
+
}>, []>>>;
|
|
15
|
+
}, []>>, false>;
|
|
16
|
+
}>, []>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as DB from "tsondb/schema/dsl";
|
|
2
|
+
import { CultureIdentifier } from "../../_Identifier.js";
|
|
3
|
+
import { DisplayOption } from "../DisplayOption.js";
|
|
4
|
+
export const CulturePrerequisite = DB.TypeAlias(import.meta.url, {
|
|
5
|
+
name: "CulturePrerequisite",
|
|
6
|
+
comment: "Requires a specific culture or one of a specific set of cultures.",
|
|
7
|
+
type: () => DB.Object({
|
|
8
|
+
id: DB.Required({
|
|
9
|
+
comment: "The culture’s identifier.",
|
|
10
|
+
type: CultureIdentifier(),
|
|
11
|
+
}),
|
|
12
|
+
display_option: DB.Optional({
|
|
13
|
+
type: DB.IncludeIdentifier(DisplayOption),
|
|
14
|
+
}),
|
|
15
|
+
}),
|
|
16
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as DB from "tsondb/schema/dsl";
|
|
2
|
+
import { EnhancementIdentifier } from "../../_Identifier.js";
|
|
3
|
+
export const EnhancementPrerequisite = DB.TypeAlias(import.meta.url, {
|
|
4
|
+
name: "EnhancementPrerequisite",
|
|
5
|
+
comment: "Requires a specific enhancement from a skill.",
|
|
6
|
+
type: () => DB.Object({
|
|
7
|
+
id: DB.Required({
|
|
8
|
+
comment: "The required enhancement.",
|
|
9
|
+
type: EnhancementIdentifier(),
|
|
10
|
+
}),
|
|
11
|
+
}),
|
|
12
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as DB from "tsondb/schema/dsl";
|
|
2
|
+
export declare const InfluencePrerequisite: DB.TypeAlias<"InfluencePrerequisite", DB.Object<{
|
|
3
|
+
id: DB.MemberDecl<DB.ReferenceIdentifier, true>;
|
|
4
|
+
active: DB.MemberDecl<DB.Boolean, true>;
|
|
5
|
+
display_option: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DisplayOption", {
|
|
6
|
+
Hide: DB.EnumCase<null>;
|
|
7
|
+
ReplaceWith: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ReplacementDisplayOption", DB.Object<{
|
|
8
|
+
sentence_type: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SentenceType", {
|
|
9
|
+
Standalone: DB.EnumCase<null>;
|
|
10
|
+
Connected: DB.EnumCase<null>;
|
|
11
|
+
}, []>>, false>;
|
|
12
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ReplacementDisplayOptionTranslation", {
|
|
13
|
+
replacement: DB.MemberDecl<DB.String, true>;
|
|
14
|
+
}>, true>;
|
|
15
|
+
}>, []>>>;
|
|
16
|
+
}, []>>, false>;
|
|
17
|
+
}>, []>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as DB from "tsondb/schema/dsl";
|
|
2
|
+
import { InfluenceIdentifier } from "../../_Identifier.js";
|
|
3
|
+
import { DisplayOption } from "../DisplayOption.js";
|
|
4
|
+
export const InfluencePrerequisite = DB.TypeAlias(import.meta.url, {
|
|
5
|
+
name: "InfluencePrerequisite",
|
|
6
|
+
type: () => DB.Object({
|
|
7
|
+
id: DB.Required({
|
|
8
|
+
comment: "The influence’s identifier.",
|
|
9
|
+
type: InfluenceIdentifier(),
|
|
10
|
+
}),
|
|
11
|
+
active: DB.Required({
|
|
12
|
+
comment: "If the referenced influence must or must not be chosen.",
|
|
13
|
+
type: DB.Boolean(),
|
|
14
|
+
}),
|
|
15
|
+
display_option: DB.Optional({
|
|
16
|
+
type: DB.IncludeIdentifier(DisplayOption),
|
|
17
|
+
}),
|
|
18
|
+
}),
|
|
19
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as DB from "tsondb/schema/dsl";
|
|
2
|
+
export declare const PactPrerequisite: DB.TypeAlias<"PactPrerequisite", DB.Object<{
|
|
3
|
+
category: DB.MemberDecl<DB.ReferenceIdentifier, true>;
|
|
4
|
+
domain: DB.MemberDecl<DB.Array<DB.ReferenceIdentifier>, false>;
|
|
5
|
+
level: DB.MemberDecl<DB.Integer, false>;
|
|
6
|
+
display_option: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DisplayOption", {
|
|
7
|
+
Hide: DB.EnumCase<null>;
|
|
8
|
+
ReplaceWith: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ReplacementDisplayOption", DB.Object<{
|
|
9
|
+
sentence_type: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SentenceType", {
|
|
10
|
+
Standalone: DB.EnumCase<null>;
|
|
11
|
+
Connected: DB.EnumCase<null>;
|
|
12
|
+
}, []>>, false>;
|
|
13
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ReplacementDisplayOptionTranslation", {
|
|
14
|
+
replacement: DB.MemberDecl<DB.String, true>;
|
|
15
|
+
}>, true>;
|
|
16
|
+
}>, []>>>;
|
|
17
|
+
}, []>>, false>;
|
|
18
|
+
}>, []>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as DB from "tsondb/schema/dsl";
|
|
2
|
+
import { PactCategoryIdentifier, PactDomainIdentifier } from "../../_Identifier.js";
|
|
3
|
+
import { DisplayOption } from "../DisplayOption.js";
|
|
4
|
+
export const PactPrerequisite = DB.TypeAlias(import.meta.url, {
|
|
5
|
+
name: "PactPrerequisite",
|
|
6
|
+
comment: "Requires a specific pact.",
|
|
7
|
+
type: () => DB.Object({
|
|
8
|
+
category: DB.Required({
|
|
9
|
+
comment: "The required pact category.",
|
|
10
|
+
type: PactCategoryIdentifier(),
|
|
11
|
+
}),
|
|
12
|
+
domain: DB.Optional({
|
|
13
|
+
comment: "The required domain(s).",
|
|
14
|
+
type: DB.Array(PactDomainIdentifier(), { minItems: 1 }),
|
|
15
|
+
}),
|
|
16
|
+
level: DB.Optional({
|
|
17
|
+
comment: "The level to which the minimum value applies.",
|
|
18
|
+
type: DB.Integer({ minimum: 1 }),
|
|
19
|
+
}),
|
|
20
|
+
display_option: DB.Optional({
|
|
21
|
+
type: DB.IncludeIdentifier(DisplayOption),
|
|
22
|
+
}),
|
|
23
|
+
}),
|
|
24
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as DB from "tsondb/schema/dsl";
|
|
2
|
+
export declare const PersonalityTraitPrerequisite: DB.TypeAlias<"PersonalityTraitPrerequisite", DB.Object<{
|
|
3
|
+
id: DB.MemberDecl<DB.ReferenceIdentifier, true>;
|
|
4
|
+
active: DB.MemberDecl<DB.Boolean, true>;
|
|
5
|
+
display_option: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DisplayOption", {
|
|
6
|
+
Hide: DB.EnumCase<null>;
|
|
7
|
+
ReplaceWith: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ReplacementDisplayOption", DB.Object<{
|
|
8
|
+
sentence_type: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SentenceType", {
|
|
9
|
+
Standalone: DB.EnumCase<null>;
|
|
10
|
+
Connected: DB.EnumCase<null>;
|
|
11
|
+
}, []>>, false>;
|
|
12
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ReplacementDisplayOptionTranslation", {
|
|
13
|
+
replacement: DB.MemberDecl<DB.String, true>;
|
|
14
|
+
}>, true>;
|
|
15
|
+
}>, []>>>;
|
|
16
|
+
}, []>>, false>;
|
|
17
|
+
}>, []>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as DB from "tsondb/schema/dsl";
|
|
2
|
+
import { PersonalityTraitIdentifier } from "../../_Identifier.js";
|
|
3
|
+
import { DisplayOption } from "../DisplayOption.js";
|
|
4
|
+
export const PersonalityTraitPrerequisite = DB.TypeAlias(import.meta.url, {
|
|
5
|
+
name: "PersonalityTraitPrerequisite",
|
|
6
|
+
type: () => DB.Object({
|
|
7
|
+
id: DB.Required({
|
|
8
|
+
comment: "The personality trait’s identifier.",
|
|
9
|
+
type: PersonalityTraitIdentifier(),
|
|
10
|
+
}),
|
|
11
|
+
active: DB.Required({
|
|
12
|
+
comment: "If checked, the prerequisite **must** be present. If not checked, prerequisite **must not** be present.",
|
|
13
|
+
type: DB.Boolean(),
|
|
14
|
+
}),
|
|
15
|
+
display_option: DB.Optional({
|
|
16
|
+
type: DB.IncludeIdentifier(DisplayOption),
|
|
17
|
+
}),
|
|
18
|
+
}),
|
|
19
|
+
});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as DB from "tsondb/schema/dsl";
|
|
2
|
+
export declare const PrimaryAttributePrerequisite: DB.TypeAlias<"PrimaryAttributePrerequisite", DB.Object<{
|
|
3
|
+
category: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"PrimaryAttributeCategory", {
|
|
4
|
+
Blessed: DB.EnumCase<null>;
|
|
5
|
+
Magical: DB.EnumCase<null>;
|
|
6
|
+
}, []>>, true>;
|
|
7
|
+
value: DB.MemberDecl<DB.Integer, true>;
|
|
8
|
+
display_option: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DisplayOption", {
|
|
9
|
+
Hide: DB.EnumCase<null>;
|
|
10
|
+
ReplaceWith: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ReplacementDisplayOption", DB.Object<{
|
|
11
|
+
sentence_type: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SentenceType", {
|
|
12
|
+
Standalone: DB.EnumCase<null>;
|
|
13
|
+
Connected: DB.EnumCase<null>;
|
|
14
|
+
}, []>>, false>;
|
|
15
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ReplacementDisplayOptionTranslation", {
|
|
16
|
+
replacement: DB.MemberDecl<DB.String, true>;
|
|
17
|
+
}>, true>;
|
|
18
|
+
}>, []>>>;
|
|
19
|
+
}, []>>, false>;
|
|
20
|
+
}>, []>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as DB from "tsondb/schema/dsl";
|
|
2
|
+
import { DisplayOption } from "../DisplayOption.js";
|
|
3
|
+
export const PrimaryAttributePrerequisite = DB.TypeAlias(import.meta.url, {
|
|
4
|
+
name: "PrimaryAttributePrerequisite",
|
|
5
|
+
type: () => DB.Object({
|
|
6
|
+
category: DB.Required({
|
|
7
|
+
comment: "Is the required primary attribute for spellcasters or blessed ones?",
|
|
8
|
+
type: DB.IncludeIdentifier(PrimaryAttributeCategory),
|
|
9
|
+
}),
|
|
10
|
+
value: DB.Required({
|
|
11
|
+
comment: "Required value of the attribute.",
|
|
12
|
+
type: DB.Integer({ minimum: 9 }),
|
|
13
|
+
}),
|
|
14
|
+
display_option: DB.Optional({
|
|
15
|
+
type: DB.IncludeIdentifier(DisplayOption),
|
|
16
|
+
}),
|
|
17
|
+
}),
|
|
18
|
+
});
|
|
19
|
+
const PrimaryAttributeCategory = DB.Enum(import.meta.url, {
|
|
20
|
+
name: "PrimaryAttributeCategory",
|
|
21
|
+
values: () => ({
|
|
22
|
+
Blessed: DB.EnumCase({ type: null }),
|
|
23
|
+
Magical: DB.EnumCase({ type: null }),
|
|
24
|
+
}),
|
|
25
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as DB from "tsondb/schema/dsl";
|
|
2
|
+
export declare const ProfessionPrerequisite: DB.TypeAlias<"ProfessionPrerequisite", DB.Object<{
|
|
3
|
+
id: DB.MemberDecl<DB.ReferenceIdentifier, true>;
|
|
4
|
+
displayOption: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"DisplayOption", {
|
|
5
|
+
Hide: DB.EnumCase<null>;
|
|
6
|
+
ReplaceWith: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"ReplacementDisplayOption", DB.Object<{
|
|
7
|
+
sentence_type: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SentenceType", {
|
|
8
|
+
Standalone: DB.EnumCase<null>;
|
|
9
|
+
Connected: DB.EnumCase<null>;
|
|
10
|
+
}, []>>, false>;
|
|
11
|
+
translations: DB.MemberDecl<DB.NestedEntityMap<"ReplacementDisplayOptionTranslation", {
|
|
12
|
+
replacement: DB.MemberDecl<DB.String, true>;
|
|
13
|
+
}>, true>;
|
|
14
|
+
}>, []>>>;
|
|
15
|
+
}, []>>, false>;
|
|
16
|
+
}>, []>;
|