optolith-database-schema 0.28.0 → 0.28.2
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 +16 -0
- package/gen/types.d.ts +5 -0
- package/lib/main.d.ts +1 -1
- package/lib/types/Advantage.d.ts +1055 -1053
- package/lib/types/Advantage.js +12 -12
- package/lib/types/AnimalDisease.d.ts +70 -69
- package/lib/types/AnimalDisease.js +8 -8
- package/lib/types/AnimalType.d.ts +4 -4
- package/lib/types/AnimalType.js +6 -6
- package/lib/types/ArcaneBardTradition.d.ts +23 -23
- package/lib/types/ArcaneBardTradition.js +2 -2
- package/lib/types/ArcaneDancerTradition.d.ts +23 -23
- package/lib/types/ArcaneDancerTradition.js +2 -2
- package/lib/types/Aspect.d.ts +5 -5
- package/lib/types/Aspect.js +8 -8
- package/lib/types/Attribute.d.ts +7 -7
- package/lib/types/Attribute.js +12 -12
- package/lib/types/Blessing.d.ts +79 -78
- package/lib/types/Blessing.js +43 -43
- package/lib/types/Cantrip.d.ts +98 -97
- package/lib/types/Cantrip.js +69 -69
- package/lib/types/Ceremony.d.ts +501 -499
- package/lib/types/Ceremony.js +38 -38
- package/lib/types/CombatTechnique.d.ts +113 -111
- package/lib/types/CombatTechnique.js +52 -50
- package/lib/types/Condition.d.ts +38 -37
- package/lib/types/Condition.js +12 -12
- package/lib/types/Continent.d.ts +4 -4
- package/lib/types/Continent.js +6 -6
- package/lib/types/Culture.d.ts +119 -118
- package/lib/types/Culture.js +157 -157
- package/lib/types/DerivedCharacteristic.d.ts +58 -57
- package/lib/types/DerivedCharacteristic.js +22 -22
- package/lib/types/Disadvantage.d.ts +989 -987
- package/lib/types/Disadvantage.js +14 -14
- package/lib/types/Disease.d.ts +84 -83
- package/lib/types/Disease.js +6 -6
- package/lib/types/Element.d.ts +4 -4
- package/lib/types/Element.js +6 -6
- package/lib/types/ExperienceLevel.d.ts +11 -11
- package/lib/types/ExperienceLevel.js +20 -20
- package/lib/types/EyeColor.d.ts +4 -4
- package/lib/types/EyeColor.js +6 -6
- package/lib/types/FamiliarsTrick.d.ts +141 -140
- package/lib/types/FamiliarsTrick.js +92 -88
- package/lib/types/HairColor.d.ts +4 -4
- package/lib/types/HairColor.js +6 -6
- package/lib/types/HomunculusType.d.ts +4 -4
- package/lib/types/HomunculusType.js +6 -6
- package/lib/types/Lessons.d.ts +129 -128
- package/lib/types/Lessons.js +98 -92
- package/lib/types/LiturgicalChant.d.ts +501 -499
- package/lib/types/LiturgicalChant.js +38 -38
- package/lib/types/Locale.d.ts +10 -10
- package/lib/types/Locale.js +16 -15
- package/lib/types/MetaCondition.d.ts +38 -37
- package/lib/types/MetaCondition.js +12 -12
- package/lib/types/PactCategory.d.ts +52 -51
- package/lib/types/PactCategory.js +24 -24
- package/lib/types/Patron.d.ts +74 -73
- package/lib/types/Patron.js +86 -83
- package/lib/types/PatronCategory.d.ts +5 -5
- package/lib/types/PatronCategory.js +8 -8
- package/lib/types/PersonalityTrait.d.ts +60 -59
- package/lib/types/PersonalityTrait.js +22 -22
- package/lib/types/Profession.d.ts +1835 -1833
- package/lib/types/Profession.js +259 -255
- package/lib/types/Property.d.ts +5 -5
- package/lib/types/Property.js +8 -8
- package/lib/types/Race.d.ts +156 -155
- package/lib/types/Race.js +130 -129
- package/lib/types/Region.d.ts +4 -4
- package/lib/types/Region.js +6 -6
- package/lib/types/Ritual.d.ts +503 -501
- package/lib/types/Ritual.js +37 -37
- package/lib/types/Service.d.ts +40 -39
- package/lib/types/Service.js +15 -15
- package/lib/types/SexPractice.d.ts +37 -36
- package/lib/types/SexPractice.js +14 -14
- package/lib/types/Skill.d.ts +84 -83
- package/lib/types/Skill.js +51 -51
- package/lib/types/SkillGroup.d.ts +7 -7
- package/lib/types/SkillGroup.js +12 -12
- package/lib/types/SkillModificationLevel.d.ts +22 -22
- package/lib/types/SkillModificationLevel.js +41 -41
- package/lib/types/SocialStatus.d.ts +5 -5
- package/lib/types/SocialStatus.js +8 -8
- package/lib/types/Spell.d.ts +503 -501
- package/lib/types/Spell.js +37 -37
- package/lib/types/State.d.ts +37 -36
- package/lib/types/State.js +10 -10
- package/lib/types/Talisman.d.ts +81 -80
- package/lib/types/Talisman.js +50 -48
- package/lib/types/TargetCategory.d.ts +5 -5
- package/lib/types/TargetCategory.js +7 -7
- package/lib/types/_Activatable.d.ts +9 -9
- package/lib/types/_Activatable.js +17 -17
- package/lib/types/_ActivatableAdvanced.d.ts +41 -41
- package/lib/types/_ActivatableAdvanced.js +48 -44
- package/lib/types/_ActivatableAdventurePointsValue.d.ts +146 -146
- package/lib/types/_ActivatableAdventurePointsValue.js +62 -62
- package/lib/types/_ActivatableAutomatic.d.ts +67 -67
- package/lib/types/_ActivatableAutomatic.js +30 -30
- package/lib/types/_ActivatableCombat.d.ts +94 -94
- package/lib/types/_ActivatableCombat.js +180 -174
- package/lib/types/_ActivatableNonMundane.d.ts +301 -301
- package/lib/types/_ActivatableNonMundane.js +204 -202
- package/lib/types/_ActivatableSelectOptionCategory.d.ts +1256 -1256
- package/lib/types/_ActivatableSelectOptionCategory.js +250 -226
- package/lib/types/_ActivatableSelectOptions.d.ts +960 -958
- package/lib/types/_ActivatableSelectOptions.js +34 -34
- package/lib/types/_ActivatableSkill.d.ts +880 -880
- package/lib/types/_ActivatableSkill.js +47 -43
- package/lib/types/_ActivatableSkillApplicationsAndUses.d.ts +97 -97
- package/lib/types/_ActivatableSkillApplicationsAndUses.js +27 -27
- package/lib/types/_ActivatableSkillCastingTime.d.ts +52 -52
- package/lib/types/_ActivatableSkillCastingTime.js +40 -40
- package/lib/types/_ActivatableSkillCheckResultBased.d.ts +18 -18
- package/lib/types/_ActivatableSkillCheckResultBased.js +19 -19
- package/lib/types/_ActivatableSkillCost.d.ts +208 -208
- package/lib/types/_ActivatableSkillCost.js +113 -113
- package/lib/types/_ActivatableSkillDuration.d.ts +159 -159
- package/lib/types/_ActivatableSkillDuration.js +69 -69
- package/lib/types/_ActivatableSkillEffect.d.ts +12 -12
- package/lib/types/_ActivatableSkillEffect.js +28 -28
- package/lib/types/_ActivatableSkillRange.d.ts +46 -46
- package/lib/types/_ActivatableSkillRange.js +50 -50
- package/lib/types/_ActivatableSkillTargetCategory.d.ts +11 -11
- package/lib/types/_ActivatableSkillTargetCategory.js +15 -15
- package/lib/types/_AlternativeNames.d.ts +4 -4
- package/lib/types/_AlternativeNames.js +7 -7
- package/lib/types/_ArcaneTradition.d.ts +23 -23
- package/lib/types/_ArcaneTradition.js +7 -7
- package/lib/types/_Blessed.d.ts +6 -6
- package/lib/types/_Blessed.js +9 -9
- package/lib/types/_CommonnessRatedAdvantageDisadvantage.d.ts +6 -6
- package/lib/types/_CommonnessRatedAdvantageDisadvantage.js +9 -9
- package/lib/types/_Dice.d.ts +5 -5
- package/lib/types/_Dice.js +9 -9
- package/lib/types/_DiseasePoison.d.ts +47 -47
- package/lib/types/_DiseasePoison.js +50 -50
- package/lib/types/_Enhancements.d.ts +125 -123
- package/lib/types/_Enhancements.js +22 -22
- package/lib/types/_Identifier.d.ts +1 -1
- package/lib/types/_Identifier.js +1 -1
- package/lib/types/_IdentifierGroup.d.ts +328 -328
- package/lib/types/_IdentifierGroup.js +328 -328
- package/lib/types/_ImprovementCost.d.ts +6 -6
- package/lib/types/_ImprovementCost.js +6 -6
- package/lib/types/_Influence.d.ts +58 -57
- package/lib/types/_Influence.js +18 -18
- package/lib/types/_MathExpression.d.ts +5 -5
- package/lib/types/_MathExpression.js +12 -12
- package/lib/types/_Prerequisite.d.ts +333 -333
- package/lib/types/_Prerequisite.js +89 -73
- package/lib/types/_ResponsiveText.d.ts +10 -10
- package/lib/types/_ResponsiveText.js +23 -17
- package/lib/types/_Sex.d.ts +4 -4
- package/lib/types/_Sex.js +4 -4
- package/lib/types/_SizeCategory.d.ts +14 -14
- package/lib/types/_SizeCategory.js +15 -15
- package/lib/types/_SkillCheck.d.ts +10 -10
- package/lib/types/_SkillCheck.js +11 -11
- package/lib/types/_Spellwork.d.ts +12 -12
- package/lib/types/_Spellwork.js +15 -15
- package/lib/types/equipment/EquipmentPackage.d.ts +68 -67
- package/lib/types/equipment/EquipmentPackage.js +14 -14
- package/lib/types/equipment/item/Ammunition.d.ts +52 -51
- package/lib/types/equipment/item/Ammunition.js +16 -16
- package/lib/types/equipment/item/Animal.d.ts +52 -51
- package/lib/types/equipment/item/Animal.js +5 -5
- package/lib/types/equipment/item/AnimalCare.d.ts +61 -60
- package/lib/types/equipment/item/AnimalCare.js +20 -20
- package/lib/types/equipment/item/Armor.d.ts +122 -121
- package/lib/types/equipment/item/Armor.js +79 -79
- package/lib/types/equipment/item/BandageOrRemedy.d.ts +143 -142
- package/lib/types/equipment/item/BandageOrRemedy.js +13 -13
- package/lib/types/equipment/item/Book.d.ts +103 -102
- package/lib/types/equipment/item/Book.js +65 -65
- package/lib/types/equipment/item/CeremonialItem.d.ts +144 -143
- package/lib/types/equipment/item/CeremonialItem.js +14 -14
- package/lib/types/equipment/item/Clothes.d.ts +143 -142
- package/lib/types/equipment/item/Clothes.js +13 -13
- package/lib/types/equipment/item/ClothingPackage.d.ts +45 -44
- package/lib/types/equipment/item/ClothingPackage.js +6 -6
- package/lib/types/equipment/item/Container.d.ts +143 -142
- package/lib/types/equipment/item/Container.js +13 -13
- package/lib/types/equipment/item/Elixir.d.ts +80 -79
- package/lib/types/equipment/item/Elixir.js +35 -32
- package/lib/types/equipment/item/EquipmentOfBlessedOnes.d.ts +152 -151
- package/lib/types/equipment/item/EquipmentOfBlessedOnes.js +11 -11
- package/lib/types/equipment/item/GemOrPreciousStone.d.ts +54 -53
- package/lib/types/equipment/item/GemOrPreciousStone.js +20 -20
- package/lib/types/equipment/item/IlluminationLightSource.d.ts +149 -148
- package/lib/types/equipment/item/IlluminationLightSource.js +26 -26
- package/lib/types/equipment/item/IlluminationRefillOrSupply.d.ts +143 -142
- package/lib/types/equipment/item/IlluminationRefillOrSupply.js +13 -13
- package/lib/types/equipment/item/Jewelry.d.ts +56 -55
- package/lib/types/equipment/item/Jewelry.js +17 -17
- package/lib/types/equipment/item/Laboratory.d.ts +59 -58
- package/lib/types/equipment/item/Laboratory.js +11 -11
- package/lib/types/equipment/item/Liebesspielzeug.d.ts +143 -142
- package/lib/types/equipment/item/Liebesspielzeug.js +13 -13
- package/lib/types/equipment/item/LuxuryGood.d.ts +143 -142
- package/lib/types/equipment/item/LuxuryGood.js +13 -13
- package/lib/types/equipment/item/MagicalArtifact.d.ts +146 -145
- package/lib/types/equipment/item/MagicalArtifact.js +30 -30
- package/lib/types/equipment/item/MusicalInstrument.d.ts +143 -142
- package/lib/types/equipment/item/MusicalInstrument.js +13 -13
- package/lib/types/equipment/item/Newspaper.d.ts +48 -47
- package/lib/types/equipment/item/Newspaper.js +12 -12
- package/lib/types/equipment/item/OrienteeringAid.d.ts +142 -141
- package/lib/types/equipment/item/Poison.d.ts +428 -427
- package/lib/types/equipment/item/Poison.js +215 -210
- package/lib/types/equipment/item/RopeOrChain.d.ts +142 -141
- package/lib/types/equipment/item/Stationery.d.ts +142 -141
- package/lib/types/equipment/item/ThievesTool.d.ts +142 -141
- package/lib/types/equipment/item/ToolOfTheTrade.d.ts +60 -59
- package/lib/types/equipment/item/ToolOfTheTrade.js +11 -11
- package/lib/types/equipment/item/TravelGearOrTool.d.ts +143 -142
- package/lib/types/equipment/item/TravelGearOrTool.js +13 -13
- package/lib/types/equipment/item/Vehicle.d.ts +58 -57
- package/lib/types/equipment/item/Vehicle.js +9 -9
- package/lib/types/equipment/item/Weapon.d.ts +160 -159
- package/lib/types/equipment/item/Weapon.js +53 -49
- package/lib/types/equipment/item/WeaponAccessory.d.ts +143 -142
- package/lib/types/equipment/item/WeaponAccessory.js +13 -13
- package/lib/types/equipment/item/_Herbary.d.ts +34 -34
- package/lib/types/equipment/item/_Herbary.js +19 -19
- package/lib/types/equipment/item/_Item.d.ts +294 -293
- package/lib/types/equipment/item/_Item.js +102 -102
- package/lib/types/equipment/item/_MeleeWeapon.d.ts +47 -47
- package/lib/types/equipment/item/_MeleeWeapon.js +43 -43
- package/lib/types/equipment/item/_RangedWeapon.d.ts +25 -25
- package/lib/types/equipment/item/_RangedWeapon.js +39 -39
- package/lib/types/equipment/item/_Weapon.d.ts +10 -9
- package/lib/types/equipment/item/_Weapon.js +19 -19
- package/lib/types/equipment/item/sub/ArmorType.d.ts +5 -5
- package/lib/types/equipment/item/sub/ArmorType.js +8 -8
- package/lib/types/equipment/item/sub/Reach.d.ts +4 -4
- package/lib/types/equipment/item/sub/Reach.js +6 -6
- package/lib/types/magicalActions/AnimistPower.d.ts +228 -226
- package/lib/types/magicalActions/AnimistPower.js +79 -77
- package/lib/types/magicalActions/AnimistPower_Tribe.d.ts +23 -23
- package/lib/types/magicalActions/AnimistPower_Tribe.js +8 -8
- package/lib/types/magicalActions/Curse.d.ts +163 -162
- package/lib/types/magicalActions/Curse.js +54 -54
- package/lib/types/magicalActions/DominationRitual.d.ts +153 -152
- package/lib/types/magicalActions/DominationRitual.js +53 -53
- package/lib/types/magicalActions/ElvenMagicalSong.d.ts +92 -91
- package/lib/types/magicalActions/ElvenMagicalSong.js +45 -45
- package/lib/types/magicalActions/GeodeRitual.d.ts +165 -164
- package/lib/types/magicalActions/GeodeRitual.js +57 -57
- package/lib/types/magicalActions/JesterTrick.d.ts +231 -230
- package/lib/types/magicalActions/JesterTrick.js +67 -67
- package/lib/types/magicalActions/MagicalDance.d.ts +89 -88
- package/lib/types/magicalActions/MagicalDance.js +46 -46
- package/lib/types/magicalActions/MagicalMelody.d.ts +86 -85
- package/lib/types/magicalActions/MagicalMelody.js +44 -44
- package/lib/types/magicalActions/MagicalRune.d.ts +213 -212
- package/lib/types/magicalActions/MagicalRune.js +122 -117
- package/lib/types/magicalActions/ZibiljaRitual.d.ts +301 -300
- package/lib/types/magicalActions/ZibiljaRitual.js +36 -34
- package/lib/types/magicalActions/_MusicTradition.d.ts +12 -12
- package/lib/types/magicalActions/_MusicTradition.js +19 -19
- package/lib/types/prerequisites/ConditionalPrerequisites.d.ts +16 -16
- package/lib/types/prerequisites/ConditionalPrerequisites.js +3 -3
- package/lib/types/prerequisites/DisplayOption.d.ts +9 -9
- package/lib/types/prerequisites/DisplayOption.js +11 -11
- package/lib/types/prerequisites/PrerequisiteGroups.d.ts +1099 -1099
- package/lib/types/prerequisites/PrerequisiteGroups.js +94 -86
- package/lib/types/prerequisites/single/ActivatablePrerequisite.d.ts +100 -100
- package/lib/types/prerequisites/single/ActivatablePrerequisite.js +15 -15
- package/lib/types/prerequisites/single/AnimistPowerPrerequisite.d.ts +13 -13
- package/lib/types/prerequisites/single/AnimistPowerPrerequisite.js +10 -10
- package/lib/types/prerequisites/single/CulturePrerequisite.d.ts +11 -11
- package/lib/types/prerequisites/single/CulturePrerequisite.js +6 -6
- package/lib/types/prerequisites/single/EnhancementPrerequisite.d.ts +3 -3
- package/lib/types/prerequisites/single/EnhancementPrerequisite.js +4 -4
- package/lib/types/prerequisites/single/InfluencePrerequisite.d.ts +12 -12
- package/lib/types/prerequisites/single/InfluencePrerequisite.js +8 -8
- package/lib/types/prerequisites/single/PactPrerequisite.d.ts +13 -13
- package/lib/types/prerequisites/single/PactPrerequisite.js +10 -10
- package/lib/types/prerequisites/single/PersonalityTraitPrerequisite.d.ts +12 -12
- package/lib/types/prerequisites/single/PersonalityTraitPrerequisite.js +8 -8
- package/lib/types/prerequisites/single/PrimaryAttributePrerequisite.d.ts +14 -14
- package/lib/types/prerequisites/single/PrimaryAttributePrerequisite.js +12 -12
- package/lib/types/prerequisites/single/PublicationPrerequisite.d.ts +11 -11
- package/lib/types/prerequisites/single/PublicationPrerequisite.js +6 -6
- package/lib/types/prerequisites/single/RacePrerequisite.d.ts +12 -12
- package/lib/types/prerequisites/single/RacePrerequisite.js +8 -8
- package/lib/types/prerequisites/single/RatedMinimumNumberPrerequisite.d.ts +35 -35
- package/lib/types/prerequisites/single/RatedMinimumNumberPrerequisite.js +38 -36
- package/lib/types/prerequisites/single/RatedPrerequisite.d.ts +20 -20
- package/lib/types/prerequisites/single/RatedPrerequisite.js +9 -9
- package/lib/types/prerequisites/single/RatedSumPrerequisite.d.ts +12 -12
- package/lib/types/prerequisites/single/RatedSumPrerequisite.js +9 -9
- package/lib/types/prerequisites/single/RulePrerequisite.d.ts +13 -13
- package/lib/types/prerequisites/single/RulePrerequisite.js +7 -7
- package/lib/types/prerequisites/single/SexPrerequisite.d.ts +13 -13
- package/lib/types/prerequisites/single/SexPrerequisite.js +7 -7
- package/lib/types/prerequisites/single/SexualCharacteristicPrerequisite.d.ts +5 -5
- package/lib/types/prerequisites/single/SexualCharacteristicPrerequisite.js +8 -8
- package/lib/types/prerequisites/single/SocialStatusPrerequisite.d.ts +11 -11
- package/lib/types/prerequisites/single/SocialStatusPrerequisite.js +6 -6
- package/lib/types/prerequisites/single/StatePrerequisite.d.ts +11 -11
- package/lib/types/prerequisites/single/StatePrerequisite.js +6 -6
- package/lib/types/prerequisites/single/TextPrerequisite.d.ts +14 -14
- package/lib/types/prerequisites/single/TextPrerequisite.js +18 -18
- package/lib/types/prerequisites/single/TraditionPrerequisite.d.ts +25 -25
- package/lib/types/prerequisites/single/TraditionPrerequisite.js +19 -19
- package/lib/types/rule/AlternativeRule.d.ts +39 -38
- package/lib/types/rule/AlternativeRule.js +14 -14
- package/lib/types/rule/AlternativeRule_PlayerType.d.ts +4 -4
- package/lib/types/rule/AlternativeRule_PlayerType.js +6 -6
- package/lib/types/rule/CoreRule.d.ts +117 -116
- package/lib/types/rule/CoreRule.js +108 -106
- package/lib/types/rule/FocusRule.d.ts +59 -58
- package/lib/types/rule/FocusRule.js +17 -17
- package/lib/types/rule/FocusRule_Subject.d.ts +4 -4
- package/lib/types/rule/FocusRule_Subject.js +6 -6
- package/lib/types/rule/OptionalRule.d.ts +58 -57
- package/lib/types/rule/OptionalRule.js +16 -16
- package/lib/types/source/Publication.d.ts +41 -41
- package/lib/types/source/Publication.js +28 -28
- package/lib/types/source/_Erratum.d.ts +7 -7
- package/lib/types/source/_Erratum.js +9 -9
- package/lib/types/source/_PublicationRef.d.ts +117 -113
- package/lib/types/source/_PublicationRef.js +62 -58
- package/lib/types/specialAbility/AdvancedCombatSpecialAbility.d.ts +1075 -1073
- package/lib/types/specialAbility/AdvancedCombatSpecialAbility.js +8 -8
- package/lib/types/specialAbility/AdvancedKarmaSpecialAbility.d.ts +985 -983
- package/lib/types/specialAbility/AdvancedKarmaSpecialAbility.js +8 -8
- package/lib/types/specialAbility/AdvancedMagicalSpecialAbility.d.ts +985 -983
- package/lib/types/specialAbility/AdvancedMagicalSpecialAbility.js +8 -8
- package/lib/types/specialAbility/AdvancedSkillSpecialAbility.d.ts +985 -983
- package/lib/types/specialAbility/AdvancedSkillSpecialAbility.js +8 -8
- package/lib/types/specialAbility/AncestorGlyph.d.ts +938 -936
- package/lib/types/specialAbility/AncestorGlyph.js +10 -10
- package/lib/types/specialAbility/BlessedTradition.d.ts +1008 -1006
- package/lib/types/specialAbility/BlessedTradition.js +52 -52
- package/lib/types/specialAbility/BrawlingSpecialAbility.d.ts +990 -988
- package/lib/types/specialAbility/BrawlingSpecialAbility.js +8 -8
- package/lib/types/specialAbility/CeremonialItemSpecialAbility.d.ts +986 -984
- package/lib/types/specialAbility/CeremonialItemSpecialAbility.js +8 -8
- package/lib/types/specialAbility/CombatSpecialAbility.d.ts +1076 -1074
- package/lib/types/specialAbility/CombatSpecialAbility.js +8 -8
- package/lib/types/specialAbility/CombatStyleSpecialAbility.d.ts +1117 -1115
- package/lib/types/specialAbility/CombatStyleSpecialAbility.js +8 -8
- package/lib/types/specialAbility/CommandSpecialAbility.d.ts +990 -988
- package/lib/types/specialAbility/CommandSpecialAbility.js +8 -8
- package/lib/types/specialAbility/FamiliarSpecialAbility.d.ts +937 -935
- package/lib/types/specialAbility/FamiliarSpecialAbility.js +8 -8
- package/lib/types/specialAbility/FatePointSexSpecialAbility.d.ts +937 -935
- package/lib/types/specialAbility/FatePointSexSpecialAbility.js +8 -8
- package/lib/types/specialAbility/FatePointSpecialAbility.d.ts +985 -983
- package/lib/types/specialAbility/FatePointSpecialAbility.js +8 -8
- package/lib/types/specialAbility/GeneralSpecialAbility.d.ts +986 -984
- package/lib/types/specialAbility/GeneralSpecialAbility.js +8 -8
- package/lib/types/specialAbility/KarmaSpecialAbility.d.ts +937 -935
- package/lib/types/specialAbility/KarmaSpecialAbility.js +8 -8
- package/lib/types/specialAbility/LiturgicalStyleSpecialAbility.d.ts +1025 -1023
- package/lib/types/specialAbility/LiturgicalStyleSpecialAbility.js +8 -8
- package/lib/types/specialAbility/LycantropicGift.d.ts +937 -935
- package/lib/types/specialAbility/LycantropicGift.js +8 -8
- package/lib/types/specialAbility/MagicStyleSpecialAbility.d.ts +1025 -1023
- package/lib/types/specialAbility/MagicStyleSpecialAbility.js +8 -8
- package/lib/types/specialAbility/MagicalSign.d.ts +91 -90
- package/lib/types/specialAbility/MagicalSign.js +21 -21
- package/lib/types/specialAbility/MagicalSpecialAbility.d.ts +986 -984
- package/lib/types/specialAbility/MagicalSpecialAbility.js +8 -8
- package/lib/types/specialAbility/MagicalTradition.d.ts +1004 -1002
- package/lib/types/specialAbility/MagicalTradition.js +40 -40
- package/lib/types/specialAbility/PactGift.d.ts +1008 -1006
- package/lib/types/specialAbility/PactGift.js +23 -21
- package/lib/types/specialAbility/ProtectiveWardingCircleSpecialAbility.d.ts +939 -937
- package/lib/types/specialAbility/ProtectiveWardingCircleSpecialAbility.js +14 -14
- package/lib/types/specialAbility/Sermon.d.ts +937 -935
- package/lib/types/specialAbility/Sermon.js +8 -8
- package/lib/types/specialAbility/SexSpecialAbility.d.ts +985 -983
- package/lib/types/specialAbility/SexSpecialAbility.js +8 -8
- package/lib/types/specialAbility/SikaryanDrainSpecialAbility.d.ts +937 -935
- package/lib/types/specialAbility/SikaryanDrainSpecialAbility.js +8 -8
- package/lib/types/specialAbility/SkillStyleSpecialAbility.d.ts +977 -975
- package/lib/types/specialAbility/SkillStyleSpecialAbility.js +8 -8
- package/lib/types/specialAbility/VampiricGift.d.ts +937 -935
- package/lib/types/specialAbility/VampiricGift.js +8 -8
- package/lib/types/specialAbility/Vision.d.ts +937 -935
- package/lib/types/specialAbility/Vision.js +8 -8
- package/lib/types/specialAbility/_Tradition.d.ts +4 -4
- package/lib/types/specialAbility/_Tradition.js +7 -7
- package/lib/types/specialAbility/sub/Language.d.ts +80 -79
- package/lib/types/specialAbility/sub/Language.js +37 -37
- package/lib/types/specialAbility/sub/Script.d.ts +45 -44
- package/lib/types/specialAbility/sub/Script.js +18 -18
- package/lib/types/specialAbility/sub/TradeSecret.d.ts +859 -857
- package/lib/types/specialAbility/sub/TradeSecret.js +26 -26
- package/lib/types/specialAbility/sub/_LanguageScript.d.ts +4 -4
- package/lib/types/specialAbility/sub/_LanguageScript.js +6 -6
- package/lib/types/traditionArtifacts/ArcaneOrbEnchantment.d.ts +1105 -1103
- package/lib/types/traditionArtifacts/ArcaneOrbEnchantment.js +8 -8
- package/lib/types/traditionArtifacts/AttireEnchantment.d.ts +1105 -1103
- package/lib/types/traditionArtifacts/AttireEnchantment.js +8 -8
- package/lib/types/traditionArtifacts/Beutelzauber.d.ts +1105 -1103
- package/lib/types/traditionArtifacts/Beutelzauber.js +8 -8
- package/lib/types/traditionArtifacts/BowlEnchantment.d.ts +1105 -1103
- package/lib/types/traditionArtifacts/BowlEnchantment.js +8 -8
- package/lib/types/traditionArtifacts/CauldronEnchantment.d.ts +1106 -1104
- package/lib/types/traditionArtifacts/CauldronEnchantment.js +9 -9
- package/lib/types/traditionArtifacts/ChronicleEnchantment.d.ts +1105 -1103
- package/lib/types/traditionArtifacts/ChronicleEnchantment.js +8 -8
- package/lib/types/traditionArtifacts/DaggerRitual.d.ts +1112 -1110
- package/lib/types/traditionArtifacts/DaggerRitual.js +25 -25
- package/lib/types/traditionArtifacts/FoolsHatEnchantment.d.ts +1105 -1103
- package/lib/types/traditionArtifacts/FoolsHatEnchantment.js +8 -8
- package/lib/types/traditionArtifacts/Haubenzauber.d.ts +1105 -1103
- package/lib/types/traditionArtifacts/Haubenzauber.js +8 -8
- package/lib/types/traditionArtifacts/InstrumentEnchantment.d.ts +1105 -1103
- package/lib/types/traditionArtifacts/InstrumentEnchantment.js +8 -8
- package/lib/types/traditionArtifacts/Krallenkettenzauber.d.ts +1105 -1103
- package/lib/types/traditionArtifacts/Krallenkettenzauber.js +8 -8
- package/lib/types/traditionArtifacts/Kristallkugelzauber.d.ts +1105 -1103
- package/lib/types/traditionArtifacts/Kristallkugelzauber.js +8 -8
- package/lib/types/traditionArtifacts/OrbEnchantment.d.ts +1105 -1103
- package/lib/types/traditionArtifacts/OrbEnchantment.js +8 -8
- package/lib/types/traditionArtifacts/RingEnchantment.d.ts +1105 -1103
- package/lib/types/traditionArtifacts/RingEnchantment.js +8 -8
- package/lib/types/traditionArtifacts/SickleRitual.d.ts +1105 -1103
- package/lib/types/traditionArtifacts/SickleRitual.js +8 -8
- package/lib/types/traditionArtifacts/SpellSwordEnchantment.d.ts +1105 -1103
- package/lib/types/traditionArtifacts/SpellSwordEnchantment.js +8 -8
- package/lib/types/traditionArtifacts/StaffEnchantment.d.ts +1108 -1106
- package/lib/types/traditionArtifacts/StaffEnchantment.js +10 -10
- package/lib/types/traditionArtifacts/ToyEnchantment.d.ts +1105 -1103
- package/lib/types/traditionArtifacts/ToyEnchantment.js +8 -8
- package/lib/types/traditionArtifacts/Trinkhornzauber.d.ts +1105 -1103
- package/lib/types/traditionArtifacts/Trinkhornzauber.js +8 -8
- package/lib/types/traditionArtifacts/WandEnchantment.d.ts +1071 -1069
- package/lib/types/traditionArtifacts/WandEnchantment.js +8 -8
- package/lib/types/traditionArtifacts/WeaponEnchantment.d.ts +1105 -1103
- package/lib/types/traditionArtifacts/WeaponEnchantment.js +8 -8
- package/lib/types/traditionArtifacts/sub/AnimalShape.d.ts +6 -6
- package/lib/types/traditionArtifacts/sub/AnimalShape.js +8 -8
- package/lib/types/traditionArtifacts/sub/AnimalShapePath.d.ts +4 -4
- package/lib/types/traditionArtifacts/sub/AnimalShapePath.js +6 -6
- package/lib/types/traditionArtifacts/sub/AnimalShapeSize.d.ts +6 -6
- package/lib/types/traditionArtifacts/sub/AnimalShapeSize.js +10 -10
- package/lib/types/traditionArtifacts/sub/Brew.d.ts +4 -4
- package/lib/types/traditionArtifacts/sub/Brew.js +6 -6
- package/package.json +2 -2
- package/lib/types/_I18n.d.ts +0 -14
- package/lib/types/_I18n.js +0 -55
|
@@ -1,360 +1,366 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as DB from "tsondb/schema/dsl";
|
|
2
2
|
import { CloseCombatTechniqueIdentifier, RaceIdentifier, RangedCombatTechniqueIdentifier, WeaponIdentifier, } from "./_Identifier.js";
|
|
3
3
|
import { CombatRelatedSpecialAbilityIdentifier, CombatTechniqueIdentifier, } from "./_IdentifierGroup.js";
|
|
4
|
-
const CombatSpecialAbilityUsageType = Enum(import.meta.url, {
|
|
4
|
+
const CombatSpecialAbilityUsageType = DB.Enum(import.meta.url, {
|
|
5
5
|
name: "CombatSpecialAbilityUsageType",
|
|
6
6
|
comment: "The definition of how the combat special ability can be used in combat.",
|
|
7
7
|
values: () => ({
|
|
8
|
-
Passive: EnumCase({ type: null }),
|
|
9
|
-
BasicManeuver: EnumCase({ type: null }),
|
|
10
|
-
SpecialManeuver: EnumCase({ type: null }),
|
|
8
|
+
Passive: DB.EnumCase({ type: null }),
|
|
9
|
+
BasicManeuver: DB.EnumCase({ type: null }),
|
|
10
|
+
SpecialManeuver: DB.EnumCase({ type: null }),
|
|
11
11
|
}),
|
|
12
12
|
});
|
|
13
|
-
export const usage_type = Required({
|
|
13
|
+
export const usage_type = DB.Required({
|
|
14
14
|
comment: "The definition of how the combat special ability can be used in combat.",
|
|
15
|
-
type: IncludeIdentifier(CombatSpecialAbilityUsageType),
|
|
15
|
+
type: DB.IncludeIdentifier(CombatSpecialAbilityUsageType),
|
|
16
16
|
});
|
|
17
|
-
const CombatSpecialAbilityType = Enum(import.meta.url, {
|
|
17
|
+
const CombatSpecialAbilityType = DB.Enum(import.meta.url, {
|
|
18
18
|
name: "CombatSpecialAbilityType",
|
|
19
19
|
comment: "The definition of if the combat special ability can be used when armed or when unarmed.",
|
|
20
20
|
values: () => ({
|
|
21
|
-
Armed: EnumCase({ type: null }),
|
|
22
|
-
Unarmed: EnumCase({ type: null }),
|
|
21
|
+
Armed: DB.EnumCase({ type: null }),
|
|
22
|
+
Unarmed: DB.EnumCase({ type: null }),
|
|
23
23
|
}),
|
|
24
24
|
});
|
|
25
|
-
export const type = Required({
|
|
25
|
+
export const type = DB.Required({
|
|
26
26
|
comment: "The definition of if the combat special ability can be used when armed or when unarmed.",
|
|
27
|
-
type: IncludeIdentifier(CombatSpecialAbilityType),
|
|
27
|
+
type: DB.IncludeIdentifier(CombatSpecialAbilityType),
|
|
28
28
|
});
|
|
29
|
-
const Penalty = Enum(import.meta.url, {
|
|
29
|
+
const Penalty = DB.Enum(import.meta.url, {
|
|
30
30
|
name: "Penalty",
|
|
31
31
|
comment: "The penalty the special ability gives when used.",
|
|
32
32
|
values: () => ({
|
|
33
|
-
Single: EnumCase({ type: IncludeIdentifier(SinglePenalty) }),
|
|
34
|
-
ByHandedness: EnumCase({ type: IncludeIdentifier(PenaltyByHandedness) }),
|
|
35
|
-
ByActivation: EnumCase({ type: IncludeIdentifier(PenaltyByActivation) }),
|
|
36
|
-
Selection: EnumCase({ type: IncludeIdentifier(PenaltySelection) }),
|
|
37
|
-
ByLevel: EnumCase({ type: IncludeIdentifier(PenaltyByLevel) }),
|
|
38
|
-
ByAttack: EnumCase({ type: IncludeIdentifier(PenaltyByAttack) }),
|
|
39
|
-
DependsOnHitZone: EnumCase({ type: null }),
|
|
33
|
+
Single: DB.EnumCase({ type: DB.IncludeIdentifier(SinglePenalty) }),
|
|
34
|
+
ByHandedness: DB.EnumCase({ type: DB.IncludeIdentifier(PenaltyByHandedness) }),
|
|
35
|
+
ByActivation: DB.EnumCase({ type: DB.IncludeIdentifier(PenaltyByActivation) }),
|
|
36
|
+
Selection: DB.EnumCase({ type: DB.IncludeIdentifier(PenaltySelection) }),
|
|
37
|
+
ByLevel: DB.EnumCase({ type: DB.IncludeIdentifier(PenaltyByLevel) }),
|
|
38
|
+
ByAttack: DB.EnumCase({ type: DB.IncludeIdentifier(PenaltyByAttack) }),
|
|
39
|
+
DependsOnHitZone: DB.EnumCase({ type: null }),
|
|
40
40
|
}),
|
|
41
41
|
});
|
|
42
|
-
export const penalty = Optional({
|
|
42
|
+
export const penalty = DB.Optional({
|
|
43
43
|
comment: "The penalty the special ability gives when used.",
|
|
44
|
-
type: IncludeIdentifier(Penalty),
|
|
44
|
+
type: DB.IncludeIdentifier(Penalty),
|
|
45
45
|
});
|
|
46
|
-
export const penalty_l10n = Optional({
|
|
46
|
+
export const penalty_l10n = DB.Optional({
|
|
47
47
|
comment: "The penalty the special ability gives when used.",
|
|
48
48
|
isDeprecated: true,
|
|
49
|
-
type: String({ minLength: 1 }),
|
|
49
|
+
type: DB.String({ minLength: 1 }),
|
|
50
50
|
});
|
|
51
|
-
const SinglePenalty = TypeAlias(import.meta.url, {
|
|
51
|
+
const SinglePenalty = DB.TypeAlias(import.meta.url, {
|
|
52
52
|
name: "SinglePenalty",
|
|
53
|
-
type: () => Object({
|
|
54
|
-
value: Required({
|
|
53
|
+
type: () => DB.Object({
|
|
54
|
+
value: DB.Required({
|
|
55
55
|
comment: "The penalty value.",
|
|
56
|
-
type: Integer(),
|
|
56
|
+
type: DB.Integer(),
|
|
57
57
|
}),
|
|
58
|
-
applies_to_parry: Optional({
|
|
58
|
+
applies_to_parry: DB.Optional({
|
|
59
59
|
comment: "Set to `true` if the penalty applies to the parry instead of the attack.",
|
|
60
|
-
type: Boolean(),
|
|
60
|
+
type: DB.Boolean(),
|
|
61
61
|
}),
|
|
62
62
|
}),
|
|
63
63
|
});
|
|
64
|
-
const PenaltyByHandedness = TypeAlias(import.meta.url, {
|
|
64
|
+
const PenaltyByHandedness = DB.TypeAlias(import.meta.url, {
|
|
65
65
|
name: "PenaltyByHandedness",
|
|
66
|
-
type: () => Object({
|
|
67
|
-
one_handed: Required({
|
|
66
|
+
type: () => DB.Object({
|
|
67
|
+
one_handed: DB.Required({
|
|
68
68
|
comment: "The penalty value for one-handed weapons.",
|
|
69
|
-
type: Integer(),
|
|
69
|
+
type: DB.Integer(),
|
|
70
70
|
}),
|
|
71
|
-
two_handed: Required({
|
|
71
|
+
two_handed: DB.Required({
|
|
72
72
|
comment: "The penalty value for two-handed weapons.",
|
|
73
|
-
type: Integer(),
|
|
73
|
+
type: DB.Integer(),
|
|
74
74
|
}),
|
|
75
|
-
applies_to_parry: Optional({
|
|
75
|
+
applies_to_parry: DB.Optional({
|
|
76
76
|
comment: "Set to `true` if the penalty applies to the parry instead of the attack.",
|
|
77
|
-
type: Boolean(),
|
|
77
|
+
type: DB.Boolean(),
|
|
78
78
|
}),
|
|
79
79
|
}),
|
|
80
80
|
});
|
|
81
|
-
const PenaltyByActivation = TypeAlias(import.meta.url, {
|
|
81
|
+
const PenaltyByActivation = DB.TypeAlias(import.meta.url, {
|
|
82
82
|
name: "PenaltyByActivation",
|
|
83
|
-
type: () => Object({
|
|
84
|
-
active: Required({
|
|
83
|
+
type: () => DB.Object({
|
|
84
|
+
active: DB.Required({
|
|
85
85
|
comment: "The penalty value if the entry has been bought by the character.",
|
|
86
|
-
type: Integer(),
|
|
86
|
+
type: DB.Integer(),
|
|
87
87
|
}),
|
|
88
|
-
inactive: Required({
|
|
88
|
+
inactive: DB.Required({
|
|
89
89
|
comment: "The penalty value if the entry has not been bought by the character.",
|
|
90
|
-
type: Integer(),
|
|
90
|
+
type: DB.Integer(),
|
|
91
91
|
}),
|
|
92
|
-
applies_to_parry: Optional({
|
|
92
|
+
applies_to_parry: DB.Optional({
|
|
93
93
|
comment: "Set to `true` if the penalty applies to the parry instead of the attack.",
|
|
94
|
-
type: Boolean(),
|
|
94
|
+
type: DB.Boolean(),
|
|
95
95
|
}),
|
|
96
96
|
}),
|
|
97
97
|
});
|
|
98
|
-
const PenaltySelection = TypeAlias(import.meta.url, {
|
|
98
|
+
const PenaltySelection = DB.TypeAlias(import.meta.url, {
|
|
99
99
|
name: "PenaltySelection",
|
|
100
|
-
type: () => Object({
|
|
101
|
-
options: Required({
|
|
102
|
-
type: IncludeIdentifier(PenaltySelectionOptions),
|
|
100
|
+
type: () => DB.Object({
|
|
101
|
+
options: DB.Required({
|
|
102
|
+
type: DB.IncludeIdentifier(PenaltySelectionOptions),
|
|
103
103
|
}),
|
|
104
104
|
}),
|
|
105
105
|
});
|
|
106
|
-
const PenaltySelectionOptions = Enum(import.meta.url, {
|
|
106
|
+
const PenaltySelectionOptions = DB.Enum(import.meta.url, {
|
|
107
107
|
name: "PenaltySelectionOptions",
|
|
108
108
|
values: () => ({
|
|
109
|
-
Specific: EnumCase({ type: IncludeIdentifier(SpecificPenaltySelectionOptions) }),
|
|
110
|
-
Range: EnumCase({ type: IncludeIdentifier(PenaltySelectionOptionsRange) }),
|
|
109
|
+
Specific: DB.EnumCase({ type: DB.IncludeIdentifier(SpecificPenaltySelectionOptions) }),
|
|
110
|
+
Range: DB.EnumCase({ type: DB.IncludeIdentifier(PenaltySelectionOptionsRange) }),
|
|
111
111
|
}),
|
|
112
112
|
});
|
|
113
|
-
const SpecificPenaltySelectionOptions = TypeAlias(import.meta.url, {
|
|
113
|
+
const SpecificPenaltySelectionOptions = DB.TypeAlias(import.meta.url, {
|
|
114
114
|
name: "SpecificPenaltySelectionOptions",
|
|
115
|
-
type: () => Object({
|
|
116
|
-
list: Required({
|
|
115
|
+
type: () => DB.Object({
|
|
116
|
+
list: DB.Required({
|
|
117
117
|
comment: "The list of specific penalty options.",
|
|
118
|
-
type: Array(IncludeIdentifier(SpecificPenaltySelectionOption), { minItems: 2 }),
|
|
118
|
+
type: DB.Array(DB.IncludeIdentifier(SpecificPenaltySelectionOption), { minItems: 2 }),
|
|
119
119
|
}),
|
|
120
120
|
}),
|
|
121
121
|
});
|
|
122
|
-
const SpecificPenaltySelectionOption = TypeAlias(import.meta.url, {
|
|
122
|
+
const SpecificPenaltySelectionOption = DB.TypeAlias(import.meta.url, {
|
|
123
123
|
name: "SpecificPenaltySelectionOption",
|
|
124
|
-
type: () => Object({
|
|
125
|
-
value: Required({
|
|
124
|
+
type: () => DB.Object({
|
|
125
|
+
value: DB.Required({
|
|
126
126
|
comment: "The penalty value.",
|
|
127
|
-
type: Integer(),
|
|
127
|
+
type: DB.Integer(),
|
|
128
128
|
}),
|
|
129
129
|
}),
|
|
130
130
|
});
|
|
131
|
-
const PenaltySelectionOptionsRange = TypeAlias(import.meta.url, {
|
|
131
|
+
const PenaltySelectionOptionsRange = DB.TypeAlias(import.meta.url, {
|
|
132
132
|
name: "PenaltySelectionOptionsRange",
|
|
133
|
-
type: () => Object({
|
|
134
|
-
minimum: Required({
|
|
133
|
+
type: () => DB.Object({
|
|
134
|
+
minimum: DB.Required({
|
|
135
135
|
comment: "The minimum penalty value.",
|
|
136
|
-
type: Integer(),
|
|
136
|
+
type: DB.Integer(),
|
|
137
137
|
}),
|
|
138
|
-
maximum: Required({
|
|
138
|
+
maximum: DB.Required({
|
|
139
139
|
comment: "The maximum penalty value.",
|
|
140
|
-
type: Integer(),
|
|
140
|
+
type: DB.Integer(),
|
|
141
141
|
}),
|
|
142
142
|
}),
|
|
143
143
|
});
|
|
144
|
-
const PenaltyByLevel = TypeAlias(import.meta.url, {
|
|
144
|
+
const PenaltyByLevel = DB.TypeAlias(import.meta.url, {
|
|
145
145
|
name: "PenaltyByLevel",
|
|
146
|
-
type: () => Object({
|
|
147
|
-
levels: Required({
|
|
146
|
+
type: () => DB.Object({
|
|
147
|
+
levels: DB.Required({
|
|
148
148
|
comment: "A continuous range of penalties for each level. The first element is the penalty for the first level, the second element is the penalty for the second level, and so on.",
|
|
149
|
-
type: Array(IncludeIdentifier(PenaltyByLevelLevel), { minItems: 2 }),
|
|
149
|
+
type: DB.Array(DB.IncludeIdentifier(PenaltyByLevelLevel), { minItems: 2 }),
|
|
150
150
|
}),
|
|
151
|
-
external: Optional({
|
|
151
|
+
external: DB.Optional({
|
|
152
152
|
comment: "The combat-related special ability of which the level defines the penalty instead.",
|
|
153
|
-
type: IncludeIdentifier(PenaltyByExternalLevel),
|
|
153
|
+
type: DB.IncludeIdentifier(PenaltyByExternalLevel),
|
|
154
154
|
}),
|
|
155
155
|
}),
|
|
156
156
|
});
|
|
157
|
-
const PenaltyByLevelLevel = TypeAlias(import.meta.url, {
|
|
157
|
+
const PenaltyByLevelLevel = DB.TypeAlias(import.meta.url, {
|
|
158
158
|
name: "PenaltyByLevelLevel",
|
|
159
|
-
type: () => Object({
|
|
160
|
-
value: Required({
|
|
159
|
+
type: () => DB.Object({
|
|
160
|
+
value: DB.Required({
|
|
161
161
|
comment: "The penalty value for this level.",
|
|
162
|
-
type: Integer(),
|
|
162
|
+
type: DB.Integer(),
|
|
163
163
|
}),
|
|
164
164
|
}),
|
|
165
165
|
});
|
|
166
|
-
const PenaltyByExternalLevel = TypeAlias(import.meta.url, {
|
|
166
|
+
const PenaltyByExternalLevel = DB.TypeAlias(import.meta.url, {
|
|
167
167
|
name: "PenaltyByExternalLevel",
|
|
168
168
|
comment: "The combat-related special ability of which the level defines the penalty instead.",
|
|
169
|
-
type: () => Object({
|
|
170
|
-
id: Required({
|
|
169
|
+
type: () => DB.Object({
|
|
170
|
+
id: DB.Required({
|
|
171
171
|
comment: "The identifier of the combat-related special ability of which the level defines the penalty instead.",
|
|
172
|
-
type: IncludeIdentifier(CombatRelatedSpecialAbilityIdentifier),
|
|
172
|
+
type: DB.IncludeIdentifier(CombatRelatedSpecialAbilityIdentifier),
|
|
173
173
|
}),
|
|
174
174
|
}),
|
|
175
175
|
});
|
|
176
|
-
const PenaltyByAttack = TypeAlias(import.meta.url, {
|
|
176
|
+
const PenaltyByAttack = DB.TypeAlias(import.meta.url, {
|
|
177
177
|
name: "PenaltyByAttack",
|
|
178
|
-
type: () => Object({
|
|
179
|
-
list: Required({
|
|
178
|
+
type: () => DB.Object({
|
|
179
|
+
list: DB.Required({
|
|
180
180
|
comment: "A list of penalties for subsequent attacks. The first element is the penalty for the first attack, the second element is the penalty for the second attack, and so on. The order of the first element may be changed using `initial_order`, so that e.g. if set to `2`, the first element is the penalty for the second attack, the second element is the penalty for the third attack, and so on.",
|
|
181
|
-
type: Array(IncludeIdentifier(PenaltyByAttackOrderItem), { minItems: 1 }),
|
|
181
|
+
type: DB.Array(DB.IncludeIdentifier(PenaltyByAttackOrderItem), { minItems: 1 }),
|
|
182
182
|
}),
|
|
183
|
-
initial_order: Optional({
|
|
183
|
+
initial_order: DB.Optional({
|
|
184
184
|
comment: "The order of the first element in the `list` of penalties.",
|
|
185
|
-
type: Integer(),
|
|
185
|
+
type: DB.Integer(),
|
|
186
186
|
}),
|
|
187
|
-
attack_replacement: Optional({
|
|
187
|
+
attack_replacement: DB.Optional({
|
|
188
188
|
comment: "Set if a predefined different word should be used instead of the word `attack` for display purposes.",
|
|
189
|
-
type: IncludeIdentifier(PenaltyByAttackReplacement),
|
|
189
|
+
type: DB.IncludeIdentifier(PenaltyByAttackReplacement),
|
|
190
190
|
}),
|
|
191
191
|
}),
|
|
192
192
|
});
|
|
193
|
-
const PenaltyByAttackOrderItem = TypeAlias(import.meta.url, {
|
|
193
|
+
const PenaltyByAttackOrderItem = DB.TypeAlias(import.meta.url, {
|
|
194
194
|
name: "PenaltyByAttackOrderItem",
|
|
195
|
-
type: () => Object({
|
|
196
|
-
value: Required({
|
|
195
|
+
type: () => DB.Object({
|
|
196
|
+
value: DB.Required({
|
|
197
197
|
comment: "The penalty value for this order.",
|
|
198
|
-
type: Integer(),
|
|
198
|
+
type: DB.Integer(),
|
|
199
199
|
}),
|
|
200
200
|
}),
|
|
201
201
|
});
|
|
202
|
-
const PenaltyByAttackReplacement = Enum(import.meta.url, {
|
|
202
|
+
const PenaltyByAttackReplacement = DB.Enum(import.meta.url, {
|
|
203
203
|
name: "PenaltyByAttackReplacement",
|
|
204
204
|
comment: "Set if a predefined different word should be used instead of the word `attack` for display purposes.",
|
|
205
205
|
values: () => ({
|
|
206
|
-
Throw: EnumCase({ type: null }),
|
|
206
|
+
Throw: DB.EnumCase({ type: null }),
|
|
207
207
|
}),
|
|
208
208
|
});
|
|
209
|
-
const ApplicableCombatTechniques = Enum(import.meta.url, {
|
|
209
|
+
const ApplicableCombatTechniques = DB.Enum(import.meta.url, {
|
|
210
210
|
name: "ApplicableCombatTechniques",
|
|
211
211
|
values: () => ({
|
|
212
|
-
None: EnumCase({ type: null }),
|
|
213
|
-
DependingOnCombatStyle: EnumCase({ type: null }),
|
|
214
|
-
All: EnumCase({ type: IncludeIdentifier(AllApplicableCombatTechniques) }),
|
|
215
|
-
AllClose: EnumCase({ type: IncludeIdentifier(AllApplicableCloseCombatTechniques) }),
|
|
216
|
-
AllRanged: EnumCase({ type: IncludeIdentifier(AllApplicableRangedCombatTechniques) }),
|
|
217
|
-
Specific: EnumCase({ type: IncludeIdentifier(SpecificApplicableCombatTechniques) }),
|
|
212
|
+
None: DB.EnumCase({ type: null }),
|
|
213
|
+
DependingOnCombatStyle: DB.EnumCase({ type: null }),
|
|
214
|
+
All: DB.EnumCase({ type: DB.IncludeIdentifier(AllApplicableCombatTechniques) }),
|
|
215
|
+
AllClose: DB.EnumCase({ type: DB.IncludeIdentifier(AllApplicableCloseCombatTechniques) }),
|
|
216
|
+
AllRanged: DB.EnumCase({ type: DB.IncludeIdentifier(AllApplicableRangedCombatTechniques) }),
|
|
217
|
+
Specific: DB.EnumCase({ type: DB.IncludeIdentifier(SpecificApplicableCombatTechniques) }),
|
|
218
218
|
}),
|
|
219
219
|
});
|
|
220
|
-
export const combat_techniques = Required({
|
|
220
|
+
export const combat_techniques = DB.Required({
|
|
221
221
|
comment: "The combat techniques the special ability is applicable to.",
|
|
222
|
-
type: IncludeIdentifier(ApplicableCombatTechniques),
|
|
222
|
+
type: DB.IncludeIdentifier(ApplicableCombatTechniques),
|
|
223
223
|
});
|
|
224
|
-
const AllApplicableCombatTechniques = TypeAlias(import.meta.url, {
|
|
224
|
+
const AllApplicableCombatTechniques = DB.TypeAlias(import.meta.url, {
|
|
225
225
|
name: "AllApplicableCombatTechniques",
|
|
226
|
-
type: () => Object({
|
|
227
|
-
restrictions: Optional({
|
|
228
|
-
type: Array(IncludeIdentifier(ApplicableAllCombatTechniquesRestriction), {
|
|
226
|
+
type: () => DB.Object({
|
|
227
|
+
restrictions: DB.Optional({
|
|
228
|
+
type: DB.Array(DB.IncludeIdentifier(ApplicableAllCombatTechniquesRestriction), {
|
|
229
|
+
minItems: 1,
|
|
230
|
+
}),
|
|
229
231
|
}),
|
|
230
232
|
}),
|
|
231
233
|
});
|
|
232
|
-
const AllApplicableCloseCombatTechniques = TypeAlias(import.meta.url, {
|
|
234
|
+
const AllApplicableCloseCombatTechniques = DB.TypeAlias(import.meta.url, {
|
|
233
235
|
name: "AllApplicableCloseCombatTechniques",
|
|
234
|
-
type: () => Object({
|
|
235
|
-
restrictions: Optional({
|
|
236
|
-
type: Array(IncludeIdentifier(ApplicableCloseCombatTechniquesRestriction), {
|
|
236
|
+
type: () => DB.Object({
|
|
237
|
+
restrictions: DB.Optional({
|
|
238
|
+
type: DB.Array(DB.IncludeIdentifier(ApplicableCloseCombatTechniquesRestriction), {
|
|
239
|
+
minItems: 1,
|
|
240
|
+
}),
|
|
237
241
|
}),
|
|
238
242
|
}),
|
|
239
243
|
});
|
|
240
|
-
const AllApplicableRangedCombatTechniques = TypeAlias(import.meta.url, {
|
|
244
|
+
const AllApplicableRangedCombatTechniques = DB.TypeAlias(import.meta.url, {
|
|
241
245
|
name: "AllApplicableRangedCombatTechniques",
|
|
242
|
-
type: () => Object({
|
|
243
|
-
restrictions: Optional({
|
|
244
|
-
type: Array(IncludeIdentifier(ApplicableRangedCombatTechniquesRestriction), {
|
|
246
|
+
type: () => DB.Object({
|
|
247
|
+
restrictions: DB.Optional({
|
|
248
|
+
type: DB.Array(DB.IncludeIdentifier(ApplicableRangedCombatTechniquesRestriction), {
|
|
245
249
|
minItems: 1,
|
|
246
250
|
}),
|
|
247
251
|
}),
|
|
248
252
|
}),
|
|
249
253
|
});
|
|
250
|
-
const SpecificApplicableCombatTechniques = TypeAlias(import.meta.url, {
|
|
254
|
+
const SpecificApplicableCombatTechniques = DB.TypeAlias(import.meta.url, {
|
|
251
255
|
name: "SpecificApplicableCombatTechniques",
|
|
252
|
-
type: () => Object({
|
|
253
|
-
list: Required({
|
|
254
|
-
type: Array(IncludeIdentifier(SpecificApplicableCombatTechnique), { minItems: 1 }),
|
|
256
|
+
type: () => DB.Object({
|
|
257
|
+
list: DB.Required({
|
|
258
|
+
type: DB.Array(DB.IncludeIdentifier(SpecificApplicableCombatTechnique), { minItems: 1 }),
|
|
255
259
|
}),
|
|
256
260
|
}),
|
|
257
261
|
});
|
|
258
|
-
const SpecificApplicableCombatTechnique = TypeAlias(import.meta.url, {
|
|
262
|
+
const SpecificApplicableCombatTechnique = DB.TypeAlias(import.meta.url, {
|
|
259
263
|
name: "SpecificApplicableCombatTechnique",
|
|
260
|
-
type: () => Object({
|
|
261
|
-
id: Required({
|
|
262
|
-
type: IncludeIdentifier(CombatTechniqueIdentifier),
|
|
264
|
+
type: () => DB.Object({
|
|
265
|
+
id: DB.Required({
|
|
266
|
+
type: DB.IncludeIdentifier(CombatTechniqueIdentifier),
|
|
263
267
|
}),
|
|
264
|
-
restrictions: Optional({
|
|
265
|
-
type: Array(IncludeIdentifier(ApplicableSpecificCombatTechniquesRestriction), {
|
|
268
|
+
restrictions: DB.Optional({
|
|
269
|
+
type: DB.Array(DB.IncludeIdentifier(ApplicableSpecificCombatTechniquesRestriction), {
|
|
266
270
|
minItems: 1,
|
|
267
271
|
}),
|
|
268
272
|
}),
|
|
269
273
|
}),
|
|
270
274
|
});
|
|
271
|
-
const ApplicableAllCombatTechniquesRestriction = Enum(import.meta.url, {
|
|
275
|
+
const ApplicableAllCombatTechniquesRestriction = DB.Enum(import.meta.url, {
|
|
272
276
|
name: "ApplicableAllCombatTechniquesRestriction",
|
|
273
277
|
values: () => ({
|
|
274
|
-
Improvised: EnumCase({ type: null }),
|
|
275
|
-
PointedBlade: EnumCase({ type: null }),
|
|
276
|
-
Mount: EnumCase({ type: null }),
|
|
277
|
-
Race: EnumCase({ type: IncludeIdentifier(ApplicableCombatTechniquesRaceRestriction) }),
|
|
278
|
-
ExcludeCombatTechniques: EnumCase({
|
|
279
|
-
type: GenIncludeIdentifier(ApplicableCombatTechniquesNegativeCombatTechniquesRestriction, [
|
|
280
|
-
IncludeIdentifier(CombatTechniqueIdentifier),
|
|
278
|
+
Improvised: DB.EnumCase({ type: null }),
|
|
279
|
+
PointedBlade: DB.EnumCase({ type: null }),
|
|
280
|
+
Mount: DB.EnumCase({ type: null }),
|
|
281
|
+
Race: DB.EnumCase({ type: DB.IncludeIdentifier(ApplicableCombatTechniquesRaceRestriction) }),
|
|
282
|
+
ExcludeCombatTechniques: DB.EnumCase({
|
|
283
|
+
type: DB.GenIncludeIdentifier(ApplicableCombatTechniquesNegativeCombatTechniquesRestriction, [
|
|
284
|
+
DB.IncludeIdentifier(CombatTechniqueIdentifier),
|
|
281
285
|
]),
|
|
282
286
|
}),
|
|
283
287
|
}),
|
|
284
288
|
});
|
|
285
|
-
const ApplicableCloseCombatTechniquesRestriction = Enum(import.meta.url, {
|
|
289
|
+
const ApplicableCloseCombatTechniquesRestriction = DB.Enum(import.meta.url, {
|
|
286
290
|
name: "ApplicableCloseCombatTechniquesRestriction",
|
|
287
291
|
values: () => ({
|
|
288
|
-
Improvised: EnumCase({ type: null }),
|
|
289
|
-
PointedBlade: EnumCase({ type: null }),
|
|
290
|
-
Mount: EnumCase({ type: null }),
|
|
291
|
-
HasParry: EnumCase({ type: null }),
|
|
292
|
-
OneHanded: EnumCase({ type: null }),
|
|
293
|
-
TwoHanded: EnumCase({ type: null }),
|
|
294
|
-
ParryingWeapon: EnumCase({ type: null }),
|
|
295
|
-
Race: EnumCase({ type: IncludeIdentifier(ApplicableCombatTechniquesRaceRestriction) }),
|
|
296
|
-
ExcludeCombatTechniques: EnumCase({
|
|
297
|
-
type: GenIncludeIdentifier(ApplicableCombatTechniquesNegativeCombatTechniquesRestriction, [
|
|
292
|
+
Improvised: DB.EnumCase({ type: null }),
|
|
293
|
+
PointedBlade: DB.EnumCase({ type: null }),
|
|
294
|
+
Mount: DB.EnumCase({ type: null }),
|
|
295
|
+
HasParry: DB.EnumCase({ type: null }),
|
|
296
|
+
OneHanded: DB.EnumCase({ type: null }),
|
|
297
|
+
TwoHanded: DB.EnumCase({ type: null }),
|
|
298
|
+
ParryingWeapon: DB.EnumCase({ type: null }),
|
|
299
|
+
Race: DB.EnumCase({ type: DB.IncludeIdentifier(ApplicableCombatTechniquesRaceRestriction) }),
|
|
300
|
+
ExcludeCombatTechniques: DB.EnumCase({
|
|
301
|
+
type: DB.GenIncludeIdentifier(ApplicableCombatTechniquesNegativeCombatTechniquesRestriction, [
|
|
298
302
|
CloseCombatTechniqueIdentifier(),
|
|
299
303
|
]),
|
|
300
304
|
}),
|
|
301
305
|
}),
|
|
302
306
|
});
|
|
303
|
-
const ApplicableRangedCombatTechniquesRestriction = Enum(import.meta.url, {
|
|
307
|
+
const ApplicableRangedCombatTechniquesRestriction = DB.Enum(import.meta.url, {
|
|
304
308
|
name: "ApplicableRangedCombatTechniquesRestriction",
|
|
305
309
|
values: () => ({
|
|
306
|
-
Improvised: EnumCase({ type: null }),
|
|
307
|
-
PointedBlade: EnumCase({ type: null }),
|
|
308
|
-
Mount: EnumCase({ type: null }),
|
|
309
|
-
Race: EnumCase({ type: IncludeIdentifier(ApplicableCombatTechniquesRaceRestriction) }),
|
|
310
|
-
ExcludeCombatTechniques: EnumCase({
|
|
311
|
-
type: GenIncludeIdentifier(ApplicableCombatTechniquesNegativeCombatTechniquesRestriction, [
|
|
310
|
+
Improvised: DB.EnumCase({ type: null }),
|
|
311
|
+
PointedBlade: DB.EnumCase({ type: null }),
|
|
312
|
+
Mount: DB.EnumCase({ type: null }),
|
|
313
|
+
Race: DB.EnumCase({ type: DB.IncludeIdentifier(ApplicableCombatTechniquesRaceRestriction) }),
|
|
314
|
+
ExcludeCombatTechniques: DB.EnumCase({
|
|
315
|
+
type: DB.GenIncludeIdentifier(ApplicableCombatTechniquesNegativeCombatTechniquesRestriction, [
|
|
312
316
|
RangedCombatTechniqueIdentifier(),
|
|
313
317
|
]),
|
|
314
318
|
}),
|
|
315
319
|
}),
|
|
316
320
|
});
|
|
317
|
-
const ApplicableSpecificCombatTechniquesRestriction = Enum(import.meta.url, {
|
|
321
|
+
const ApplicableSpecificCombatTechniquesRestriction = DB.Enum(import.meta.url, {
|
|
318
322
|
name: "ApplicableSpecificCombatTechniquesRestriction",
|
|
319
323
|
values: () => ({
|
|
320
|
-
Improvised: EnumCase({ type: null }),
|
|
321
|
-
PointedBlade: EnumCase({ type: null }),
|
|
322
|
-
Mount: EnumCase({ type: null }),
|
|
323
|
-
Race: EnumCase({ type: IncludeIdentifier(ApplicableCombatTechniquesRaceRestriction) }),
|
|
324
|
-
Level: EnumCase({ type: IncludeIdentifier(ApplicableCombatTechniquesLevelRestriction) }),
|
|
325
|
-
Weapons: EnumCase({
|
|
326
|
-
|
|
324
|
+
Improvised: DB.EnumCase({ type: null }),
|
|
325
|
+
PointedBlade: DB.EnumCase({ type: null }),
|
|
326
|
+
Mount: DB.EnumCase({ type: null }),
|
|
327
|
+
Race: DB.EnumCase({ type: DB.IncludeIdentifier(ApplicableCombatTechniquesRaceRestriction) }),
|
|
328
|
+
Level: DB.EnumCase({ type: DB.IncludeIdentifier(ApplicableCombatTechniquesLevelRestriction) }),
|
|
329
|
+
Weapons: DB.EnumCase({
|
|
330
|
+
type: DB.IncludeIdentifier(ApplicableCombatTechniquesWeaponRestriction),
|
|
331
|
+
}),
|
|
332
|
+
OneBluntSide: DB.EnumCase({ type: null }),
|
|
327
333
|
}),
|
|
328
334
|
});
|
|
329
|
-
const ApplicableCombatTechniquesNegativeCombatTechniquesRestriction = GenTypeAlias(import.meta.url, {
|
|
335
|
+
const ApplicableCombatTechniquesNegativeCombatTechniquesRestriction = DB.GenTypeAlias(import.meta.url, {
|
|
330
336
|
name: "ApplicableCombatTechniquesNegativeCombatTechniquesRestriction",
|
|
331
|
-
parameters: [Param("Ref")],
|
|
332
|
-
type: Ref => Object({
|
|
333
|
-
list: Required({
|
|
337
|
+
parameters: [DB.Param("Ref")],
|
|
338
|
+
type: Ref => DB.Object({
|
|
339
|
+
list: DB.Required({
|
|
334
340
|
comment: "The combat techniques this combat special ability is **not** applicable to.",
|
|
335
|
-
type: Array(TypeArgument(Ref), { minItems: 1 }),
|
|
341
|
+
type: DB.Array(DB.TypeArgument(Ref), { minItems: 1 }),
|
|
336
342
|
}),
|
|
337
343
|
}),
|
|
338
344
|
});
|
|
339
|
-
const ApplicableCombatTechniquesRaceRestriction = TypeAlias(import.meta.url, {
|
|
345
|
+
const ApplicableCombatTechniquesRaceRestriction = DB.TypeAlias(import.meta.url, {
|
|
340
346
|
name: "ApplicableCombatTechniquesRaceRestriction",
|
|
341
347
|
type: () => RaceIdentifier(),
|
|
342
348
|
});
|
|
343
|
-
const ApplicableCombatTechniquesLevelRestriction = TypeAlias(import.meta.url, {
|
|
349
|
+
const ApplicableCombatTechniquesLevelRestriction = DB.TypeAlias(import.meta.url, {
|
|
344
350
|
name: "ApplicableCombatTechniquesLevelRestriction",
|
|
345
|
-
type: () => Object({
|
|
346
|
-
level: Required({
|
|
351
|
+
type: () => DB.Object({
|
|
352
|
+
level: DB.Required({
|
|
347
353
|
comment: "The combat special ability is only applicable on a certain level.",
|
|
348
|
-
type: Integer({ minimum: 1 }),
|
|
354
|
+
type: DB.Integer({ minimum: 1 }),
|
|
349
355
|
}),
|
|
350
356
|
}),
|
|
351
357
|
});
|
|
352
|
-
const ApplicableCombatTechniquesWeaponRestriction = TypeAlias(import.meta.url, {
|
|
358
|
+
const ApplicableCombatTechniquesWeaponRestriction = DB.TypeAlias(import.meta.url, {
|
|
353
359
|
name: "ApplicableCombatTechniquesWeaponRestriction",
|
|
354
|
-
type: () => Object({
|
|
355
|
-
list: Required({
|
|
360
|
+
type: () => DB.Object({
|
|
361
|
+
list: DB.Required({
|
|
356
362
|
comment: "The specific weapons this combat special ability is only applicable to.",
|
|
357
|
-
type: Array(WeaponIdentifier(), { minItems: 1 }),
|
|
363
|
+
type: DB.Array(WeaponIdentifier(), { minItems: 1 }),
|
|
358
364
|
}),
|
|
359
365
|
}),
|
|
360
366
|
});
|