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,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as DB from "tsondb/schema/dsl";
|
|
2
2
|
import { name_in_library } from "../_Activatable.js";
|
|
3
3
|
import { OldParameter } from "../_ActivatableSkill.js";
|
|
4
4
|
import { CheckResultBasedDuration } from "../_ActivatableSkillDuration.js";
|
|
@@ -11,67 +11,67 @@ import { SkillCheck } from "../_SkillCheck.js";
|
|
|
11
11
|
import { NestedTranslationMap } from "../Locale.js";
|
|
12
12
|
import { Errata } from "../source/_Erratum.js";
|
|
13
13
|
import { src } from "../source/_PublicationRef.js";
|
|
14
|
-
export const MagicalRune = Entity(import.meta.url, {
|
|
14
|
+
export const MagicalRune = DB.Entity(import.meta.url, {
|
|
15
15
|
name: "MagicalRune",
|
|
16
16
|
namePlural: "MagicalRunes",
|
|
17
|
-
type: () => Object({
|
|
18
|
-
options: Required({
|
|
17
|
+
type: () => DB.Object({
|
|
18
|
+
options: DB.Required({
|
|
19
19
|
comment: `The options the magical rune has, if any.
|
|
20
20
|
|
|
21
21
|
If there are multiple options, the magical rune may be activated for each option, that is, multiple times.`,
|
|
22
|
-
type: ChildEntities(MagicalRuneOption),
|
|
22
|
+
type: DB.ChildEntities(MagicalRuneOption),
|
|
23
23
|
}),
|
|
24
|
-
check: Required({
|
|
24
|
+
check: DB.Required({
|
|
25
25
|
comment: "Lists the linked three attributes used to make a skill check.",
|
|
26
|
-
type: IncludeIdentifier(SkillCheck),
|
|
26
|
+
type: DB.IncludeIdentifier(SkillCheck),
|
|
27
27
|
}),
|
|
28
|
-
check_penalty: Optional({
|
|
28
|
+
check_penalty: DB.Optional({
|
|
29
29
|
comment: "In some cases, the target's Spirit or Toughness is applied as a penalty.",
|
|
30
|
-
type: IncludeIdentifier(MagicalRuneCheckPenalty),
|
|
30
|
+
type: DB.IncludeIdentifier(MagicalRuneCheckPenalty),
|
|
31
31
|
}),
|
|
32
|
-
parameters: Required({
|
|
32
|
+
parameters: DB.Required({
|
|
33
33
|
comment: "Measurable parameters of a magical rune.",
|
|
34
|
-
type: IncludeIdentifier(MagicalRunePerformanceParameters),
|
|
34
|
+
type: DB.IncludeIdentifier(MagicalRunePerformanceParameters),
|
|
35
35
|
}),
|
|
36
|
-
property: Required({
|
|
36
|
+
property: DB.Required({
|
|
37
37
|
comment: "The associated property.",
|
|
38
38
|
type: PropertyIdentifier(),
|
|
39
39
|
}),
|
|
40
|
-
improvement_cost: Required({
|
|
40
|
+
improvement_cost: DB.Required({
|
|
41
41
|
comment: "States which column is used to improve the skill.",
|
|
42
|
-
type: IncludeIdentifier(MagicalRuneImprovementCost),
|
|
42
|
+
type: DB.IncludeIdentifier(MagicalRuneImprovementCost),
|
|
43
43
|
}),
|
|
44
44
|
src,
|
|
45
|
-
translations: NestedTranslationMap(Required, "MagicalRune", Object({
|
|
46
|
-
name: Required({
|
|
45
|
+
translations: NestedTranslationMap(DB.Required, "MagicalRune", DB.Object({
|
|
46
|
+
name: DB.Required({
|
|
47
47
|
comment: `The magical rune’s name.
|
|
48
48
|
|
|
49
49
|
If the rune has an option, the option’s name will/should not be included in the name as well as its surrounding parenthesis. It will/should be combined on demand.`,
|
|
50
|
-
type: String({ minLength: 1 }),
|
|
50
|
+
type: DB.String({ minLength: 1 }),
|
|
51
51
|
}),
|
|
52
52
|
name_in_library,
|
|
53
|
-
native_name: Optional({
|
|
53
|
+
native_name: DB.Optional({
|
|
54
54
|
comment: "The native name of the magical rune. It has to be specified unless it is defined by an option.",
|
|
55
|
-
type: String({ minLength: 1 }),
|
|
55
|
+
type: DB.String({ minLength: 1 }),
|
|
56
56
|
}),
|
|
57
|
-
effect: Required({
|
|
57
|
+
effect: DB.Required({
|
|
58
58
|
comment: "The effect description may be either a plain text or a text that is divided by a list of effects for each quality level. It may also be a list for each two quality levels.",
|
|
59
|
-
type: IncludeIdentifier(ActivatableSkillEffect),
|
|
59
|
+
type: DB.IncludeIdentifier(ActivatableSkillEffect),
|
|
60
60
|
}),
|
|
61
|
-
cost: Optional({
|
|
61
|
+
cost: DB.Optional({
|
|
62
62
|
isDeprecated: true,
|
|
63
|
-
type: IncludeIdentifier(OldParameter),
|
|
63
|
+
type: DB.IncludeIdentifier(OldParameter),
|
|
64
64
|
}),
|
|
65
|
-
crafting_time: Optional({
|
|
65
|
+
crafting_time: DB.Optional({
|
|
66
66
|
isDeprecated: true,
|
|
67
|
-
type: IncludeIdentifier(OldParameterBySpeed),
|
|
67
|
+
type: DB.IncludeIdentifier(OldParameterBySpeed),
|
|
68
68
|
}),
|
|
69
|
-
duration: Optional({
|
|
69
|
+
duration: DB.Optional({
|
|
70
70
|
isDeprecated: true,
|
|
71
|
-
type: IncludeIdentifier(OldParameterBySpeed),
|
|
71
|
+
type: DB.IncludeIdentifier(OldParameterBySpeed),
|
|
72
72
|
}),
|
|
73
|
-
errata: Optional({
|
|
74
|
-
type: IncludeIdentifier(Errata),
|
|
73
|
+
errata: DB.Optional({
|
|
74
|
+
type: DB.IncludeIdentifier(Errata),
|
|
75
75
|
}),
|
|
76
76
|
})),
|
|
77
77
|
}),
|
|
@@ -83,202 +83,207 @@ If the rune has an option, the option’s name will/should not be included in th
|
|
|
83
83
|
},
|
|
84
84
|
],
|
|
85
85
|
});
|
|
86
|
-
const OldParameterBySpeed = TypeAlias(import.meta.url, {
|
|
86
|
+
const OldParameterBySpeed = DB.TypeAlias(import.meta.url, {
|
|
87
87
|
name: "OldParameterBySpeed",
|
|
88
|
-
type: () => Object({
|
|
89
|
-
slow: Required({
|
|
90
|
-
type: IncludeIdentifier(OldParameter),
|
|
88
|
+
type: () => DB.Object({
|
|
89
|
+
slow: DB.Required({
|
|
90
|
+
type: DB.IncludeIdentifier(OldParameter),
|
|
91
91
|
}),
|
|
92
|
-
fast: Required({
|
|
93
|
-
type: IncludeIdentifier(OldParameter),
|
|
92
|
+
fast: DB.Required({
|
|
93
|
+
type: DB.IncludeIdentifier(OldParameter),
|
|
94
94
|
}),
|
|
95
95
|
}),
|
|
96
96
|
});
|
|
97
|
-
const MagicalRuneCheckPenalty = Enum(import.meta.url, {
|
|
97
|
+
const MagicalRuneCheckPenalty = DB.Enum(import.meta.url, {
|
|
98
98
|
name: "MagicalRuneCheckPenalty",
|
|
99
99
|
values: () => ({
|
|
100
|
-
CombatTechnique: EnumCase({
|
|
100
|
+
CombatTechnique: DB.EnumCase({
|
|
101
|
+
type: DB.IncludeIdentifier(MagicalRuneCombatTechniqueCheckPenalty),
|
|
102
|
+
}),
|
|
101
103
|
}),
|
|
102
104
|
});
|
|
103
|
-
const MagicalRuneCombatTechniqueCheckPenalty = TypeAlias(import.meta.url, {
|
|
105
|
+
const MagicalRuneCombatTechniqueCheckPenalty = DB.TypeAlias(import.meta.url, {
|
|
104
106
|
name: "MagicalRuneCombatTechniqueCheckPenalty",
|
|
105
|
-
type: () => Object({
|
|
106
|
-
map: Required({
|
|
107
|
+
type: () => DB.Object({
|
|
108
|
+
map: DB.Required({
|
|
107
109
|
comment: "A map from combat techniques to their modifiers.",
|
|
108
|
-
type: Array(IncludeIdentifier(MagicalRuneCombatTechniqueCheckPenaltyMapping), {
|
|
110
|
+
type: DB.Array(DB.IncludeIdentifier(MagicalRuneCombatTechniqueCheckPenaltyMapping), {
|
|
109
111
|
minItems: 1,
|
|
110
112
|
}),
|
|
111
113
|
}),
|
|
112
|
-
rest: Required({
|
|
113
|
-
type: IncludeIdentifier(MagicalRuneCombatTechniqueCheckPenaltyRest),
|
|
114
|
+
rest: DB.Required({
|
|
115
|
+
type: DB.IncludeIdentifier(MagicalRuneCombatTechniqueCheckPenaltyRest),
|
|
114
116
|
}),
|
|
115
117
|
}),
|
|
116
118
|
});
|
|
117
|
-
const MagicalRuneCombatTechniqueCheckPenaltyMapping = TypeAlias(import.meta.url, {
|
|
119
|
+
const MagicalRuneCombatTechniqueCheckPenaltyMapping = DB.TypeAlias(import.meta.url, {
|
|
118
120
|
name: "MagicalRuneCombatTechniqueCheckPenaltyMapping",
|
|
119
|
-
type: () => Object({
|
|
120
|
-
id: Required({
|
|
121
|
+
type: () => DB.Object({
|
|
122
|
+
id: DB.Required({
|
|
121
123
|
comment: "The combat technique’s identifier.",
|
|
122
|
-
type: IncludeIdentifier(CombatTechniqueIdentifier),
|
|
124
|
+
type: DB.IncludeIdentifier(CombatTechniqueIdentifier),
|
|
123
125
|
}),
|
|
124
|
-
modifier: Required({
|
|
126
|
+
modifier: DB.Required({
|
|
125
127
|
comment: "The check modifier for the specified combat technique.",
|
|
126
|
-
type: Integer(),
|
|
128
|
+
type: DB.Integer(),
|
|
127
129
|
}),
|
|
128
130
|
}),
|
|
129
131
|
});
|
|
130
|
-
const MagicalRuneCombatTechniqueCheckPenaltyRest = TypeAlias(import.meta.url, {
|
|
132
|
+
const MagicalRuneCombatTechniqueCheckPenaltyRest = DB.TypeAlias(import.meta.url, {
|
|
131
133
|
name: "MagicalRuneCombatTechniqueCheckPenaltyRest",
|
|
132
|
-
type: () => Object({
|
|
133
|
-
modifier: Required({
|
|
134
|
+
type: () => DB.Object({
|
|
135
|
+
modifier: DB.Required({
|
|
134
136
|
comment: "The check modifier for combat techniques not specified in `map`.",
|
|
135
|
-
type: Integer(),
|
|
137
|
+
type: DB.Integer(),
|
|
136
138
|
}),
|
|
137
139
|
}),
|
|
138
140
|
});
|
|
139
|
-
const MagicalRunePerformanceParameters = TypeAlias(import.meta.url, {
|
|
141
|
+
const MagicalRunePerformanceParameters = DB.TypeAlias(import.meta.url, {
|
|
140
142
|
name: "MagicalRunePerformanceParameters",
|
|
141
143
|
comment: "Measurable parameters of a magical rune.",
|
|
142
|
-
type: () => Object({
|
|
143
|
-
cost: Required({
|
|
144
|
+
type: () => DB.Object({
|
|
145
|
+
cost: DB.Required({
|
|
144
146
|
comment: "The AE cost.",
|
|
145
|
-
type: IncludeIdentifier(MagicalRuneCost),
|
|
147
|
+
type: DB.IncludeIdentifier(MagicalRuneCost),
|
|
146
148
|
}),
|
|
147
|
-
crafting_time: Required({
|
|
149
|
+
crafting_time: DB.Required({
|
|
148
150
|
comment: "The crafting time.",
|
|
149
|
-
type: IncludeIdentifier(MagicalRuneCraftingTime),
|
|
151
|
+
type: DB.IncludeIdentifier(MagicalRuneCraftingTime),
|
|
150
152
|
}),
|
|
151
|
-
duration: Required({
|
|
153
|
+
duration: DB.Required({
|
|
152
154
|
comment: "The duration.",
|
|
153
|
-
type: IncludeIdentifier(MagicalRuneDuration),
|
|
155
|
+
type: DB.IncludeIdentifier(MagicalRuneDuration),
|
|
154
156
|
}),
|
|
155
157
|
}),
|
|
156
158
|
});
|
|
157
|
-
const MagicalRuneCost = Enum(import.meta.url, {
|
|
159
|
+
const MagicalRuneCost = DB.Enum(import.meta.url, {
|
|
158
160
|
name: "MagicalRuneCost",
|
|
159
161
|
values: () => ({
|
|
160
|
-
Single: EnumCase({ type: IncludeIdentifier(SingleMagicalRuneCost) }),
|
|
161
|
-
Disjunction: EnumCase({ type: IncludeIdentifier(MagicalRuneCostDisjunction) }),
|
|
162
|
-
DerivedFromOption: EnumCase({ type: null }),
|
|
162
|
+
Single: DB.EnumCase({ type: DB.IncludeIdentifier(SingleMagicalRuneCost) }),
|
|
163
|
+
Disjunction: DB.EnumCase({ type: DB.IncludeIdentifier(MagicalRuneCostDisjunction) }),
|
|
164
|
+
DerivedFromOption: DB.EnumCase({ type: null }),
|
|
163
165
|
}),
|
|
164
166
|
});
|
|
165
|
-
const MagicalRuneOptionCost = Enum(import.meta.url, {
|
|
167
|
+
const MagicalRuneOptionCost = DB.Enum(import.meta.url, {
|
|
166
168
|
name: "MagicalRuneOptionCost",
|
|
167
169
|
values: () => ({
|
|
168
|
-
Single: EnumCase({ type: IncludeIdentifier(SingleMagicalRuneCost) }),
|
|
169
|
-
Disjunction: EnumCase({ type: IncludeIdentifier(MagicalRuneCostDisjunction) }),
|
|
170
|
+
Single: DB.EnumCase({ type: DB.IncludeIdentifier(SingleMagicalRuneCost) }),
|
|
171
|
+
Disjunction: DB.EnumCase({ type: DB.IncludeIdentifier(MagicalRuneCostDisjunction) }),
|
|
170
172
|
}),
|
|
171
173
|
});
|
|
172
|
-
const SingleMagicalRuneCost = TypeAlias(import.meta.url, {
|
|
174
|
+
const SingleMagicalRuneCost = DB.TypeAlias(import.meta.url, {
|
|
173
175
|
name: "SingleMagicalRuneCost",
|
|
174
|
-
type: () => Object({
|
|
175
|
-
value: Required({
|
|
176
|
+
type: () => DB.Object({
|
|
177
|
+
value: DB.Required({
|
|
176
178
|
comment: "The AE cost value.",
|
|
177
|
-
type: Integer({ minimum: 1 }),
|
|
179
|
+
type: DB.Integer({ minimum: 1 }),
|
|
178
180
|
}),
|
|
179
|
-
translations: NestedTranslationMap(Optional, "SingleMagicalRuneCost", Object({
|
|
180
|
-
note: Required({
|
|
181
|
+
translations: NestedTranslationMap(DB.Optional, "SingleMagicalRuneCost", DB.Object({
|
|
182
|
+
note: DB.Required({
|
|
181
183
|
comment: "A note, appended to the generated string in parenthesis.",
|
|
182
|
-
type: IncludeIdentifier(ResponsiveTextOptional),
|
|
184
|
+
type: DB.IncludeIdentifier(ResponsiveTextOptional),
|
|
183
185
|
}),
|
|
184
186
|
})),
|
|
185
187
|
}),
|
|
186
188
|
});
|
|
187
|
-
const MagicalRuneCostDisjunction = TypeAlias(import.meta.url, {
|
|
189
|
+
const MagicalRuneCostDisjunction = DB.TypeAlias(import.meta.url, {
|
|
188
190
|
name: "MagicalRuneCostDisjunction",
|
|
189
|
-
type: () => Object({
|
|
190
|
-
list: Required({
|
|
191
|
+
type: () => DB.Object({
|
|
192
|
+
list: DB.Required({
|
|
191
193
|
comment: "A set of possible AE cost values.",
|
|
192
|
-
type: Array(IncludeIdentifier(SingleMagicalRuneCost), {
|
|
194
|
+
type: DB.Array(DB.IncludeIdentifier(SingleMagicalRuneCost), {
|
|
195
|
+
minItems: 2,
|
|
196
|
+
uniqueItems: true,
|
|
197
|
+
}),
|
|
193
198
|
}),
|
|
194
199
|
}),
|
|
195
200
|
});
|
|
196
|
-
const MagicalRuneCraftingTime = TypeAlias(import.meta.url, {
|
|
201
|
+
const MagicalRuneCraftingTime = DB.TypeAlias(import.meta.url, {
|
|
197
202
|
name: "MagicalRuneCraftingTime",
|
|
198
|
-
type: () => Object({
|
|
199
|
-
value: Required({
|
|
203
|
+
type: () => DB.Object({
|
|
204
|
+
value: DB.Required({
|
|
200
205
|
comment: "The crafting time in actions.",
|
|
201
|
-
type: Integer({ minimum: 1 }),
|
|
206
|
+
type: DB.Integer({ minimum: 1 }),
|
|
202
207
|
}),
|
|
203
|
-
translations: NestedTranslationMap(Optional, "MagicalRuneCraftingTime", Object({
|
|
204
|
-
per: Required({
|
|
208
|
+
translations: NestedTranslationMap(DB.Optional, "MagicalRuneCraftingTime", DB.Object({
|
|
209
|
+
per: DB.Required({
|
|
205
210
|
comment: "The crafting time has to be per a specific countable entity, e.g. `8 actions per person`.",
|
|
206
|
-
type: IncludeIdentifier(ResponsiveText),
|
|
211
|
+
type: DB.IncludeIdentifier(ResponsiveText),
|
|
207
212
|
}),
|
|
208
213
|
})),
|
|
209
214
|
}),
|
|
210
215
|
});
|
|
211
|
-
const MagicalRuneDuration = TypeAlias(import.meta.url, {
|
|
216
|
+
const MagicalRuneDuration = DB.TypeAlias(import.meta.url, {
|
|
212
217
|
name: "MagicalRuneDuration",
|
|
213
|
-
type: () => Object({
|
|
214
|
-
slow: Required({
|
|
218
|
+
type: () => DB.Object({
|
|
219
|
+
slow: DB.Required({
|
|
215
220
|
comment: "The duration on slow rune application.",
|
|
216
|
-
type: IncludeIdentifier(CheckResultBasedDuration),
|
|
221
|
+
type: DB.IncludeIdentifier(CheckResultBasedDuration),
|
|
217
222
|
}),
|
|
218
|
-
fast: Required({
|
|
223
|
+
fast: DB.Required({
|
|
219
224
|
comment: "The duration on fast rune application.",
|
|
220
|
-
type: IncludeIdentifier(CheckResultBasedDuration),
|
|
225
|
+
type: DB.IncludeIdentifier(CheckResultBasedDuration),
|
|
221
226
|
}),
|
|
222
227
|
}),
|
|
223
228
|
});
|
|
224
|
-
const MagicalRuneImprovementCost = Enum(import.meta.url, {
|
|
229
|
+
const MagicalRuneImprovementCost = DB.Enum(import.meta.url, {
|
|
225
230
|
name: "MagicalRuneImprovementCost",
|
|
226
231
|
values: () => ({
|
|
227
|
-
Constant: EnumCase({ type: IncludeIdentifier(ImprovementCost) }),
|
|
228
|
-
DerivedFromOption: EnumCase({ type: null }),
|
|
232
|
+
Constant: DB.EnumCase({ type: DB.IncludeIdentifier(ImprovementCost) }),
|
|
233
|
+
DerivedFromOption: DB.EnumCase({ type: null }),
|
|
229
234
|
}),
|
|
230
235
|
});
|
|
231
|
-
export const MagicalRuneOption = Entity(import.meta.url, {
|
|
236
|
+
export const MagicalRuneOption = DB.Entity(import.meta.url, {
|
|
232
237
|
name: "MagicalRuneOption",
|
|
233
238
|
namePlural: "MagicalRuneOptions",
|
|
234
|
-
type: () => Object({
|
|
235
|
-
parent: Required({
|
|
239
|
+
type: () => DB.Object({
|
|
240
|
+
parent: DB.Required({
|
|
236
241
|
comment: "The magical rune this option belongs to.",
|
|
237
242
|
type: MagicalRuneIdentifier(),
|
|
238
243
|
}),
|
|
239
|
-
cost: Optional({
|
|
244
|
+
cost: DB.Optional({
|
|
240
245
|
comment: "The option-specific AE cost.",
|
|
241
|
-
type: IncludeIdentifier(MagicalRuneOptionCost),
|
|
246
|
+
type: DB.IncludeIdentifier(MagicalRuneOptionCost),
|
|
242
247
|
}),
|
|
243
|
-
improvement_cost: Optional({
|
|
248
|
+
improvement_cost: DB.Optional({
|
|
244
249
|
comment: "The option-specific improvement cost.",
|
|
245
|
-
type: IncludeIdentifier(ImprovementCost),
|
|
250
|
+
type: DB.IncludeIdentifier(ImprovementCost),
|
|
246
251
|
}),
|
|
247
|
-
suboption: Optional({
|
|
248
|
-
type: IncludeIdentifier(MagicalRuneSuboption),
|
|
252
|
+
suboption: DB.Optional({
|
|
253
|
+
type: DB.IncludeIdentifier(MagicalRuneSuboption),
|
|
249
254
|
}),
|
|
250
|
-
translations: NestedTranslationMap(Required, "MagicalRuneOption", Object({
|
|
251
|
-
name: Required({
|
|
255
|
+
translations: NestedTranslationMap(DB.Required, "MagicalRuneOption", DB.Object({
|
|
256
|
+
name: DB.Required({
|
|
252
257
|
comment: `The magical rune option’s name.
|
|
253
258
|
|
|
254
259
|
The surrounding parenthesis will/should not be included, they will/should be generated.`,
|
|
255
|
-
type: String({ minLength: 1 }),
|
|
260
|
+
type: DB.String({ minLength: 1 }),
|
|
256
261
|
}),
|
|
257
|
-
native_name: Required({
|
|
262
|
+
native_name: DB.Required({
|
|
258
263
|
comment: "The native name of the magical rune option.",
|
|
259
|
-
type: String({ minLength: 1 }),
|
|
264
|
+
type: DB.String({ minLength: 1 }),
|
|
260
265
|
}),
|
|
261
266
|
})),
|
|
262
267
|
}),
|
|
263
268
|
parentReferenceKey: "parent",
|
|
264
269
|
instanceDisplayName: {},
|
|
265
270
|
});
|
|
266
|
-
const MagicalRuneSuboption = Enum(import.meta.url, {
|
|
271
|
+
const MagicalRuneSuboption = DB.Enum(import.meta.url, {
|
|
267
272
|
name: "MagicalRuneSuboption",
|
|
268
273
|
values: () => ({
|
|
269
|
-
Custom: EnumCase({
|
|
274
|
+
Custom: DB.EnumCase({
|
|
270
275
|
comment: "The sub-option may be defined by the user (as a arbitrary text).",
|
|
271
|
-
type: IncludeIdentifier(CustomMagicalRuneSuboption),
|
|
276
|
+
type: DB.IncludeIdentifier(CustomMagicalRuneSuboption),
|
|
272
277
|
}),
|
|
273
278
|
}),
|
|
274
279
|
});
|
|
275
|
-
const CustomMagicalRuneSuboption = TypeAlias(import.meta.url, {
|
|
280
|
+
const CustomMagicalRuneSuboption = DB.TypeAlias(import.meta.url, {
|
|
276
281
|
name: "CustomMagicalRuneSuboption",
|
|
277
|
-
type: () => Object({
|
|
278
|
-
translations: NestedTranslationMap(Required, "CustomMagicalRuneSuboption", Object({
|
|
279
|
-
examples: Optional({
|
|
282
|
+
type: () => DB.Object({
|
|
283
|
+
translations: NestedTranslationMap(DB.Required, "CustomMagicalRuneSuboption", DB.Object({
|
|
284
|
+
examples: DB.Optional({
|
|
280
285
|
comment: "One or more examples for the suboption.",
|
|
281
|
-
type: Array(String({ minLength: 1 }), { minItems: 1, uniqueItems: true }),
|
|
286
|
+
type: DB.Array(DB.String({ minLength: 1 }), { minItems: 1, uniqueItems: true }),
|
|
282
287
|
}),
|
|
283
288
|
}, { minProperties: 1 })),
|
|
284
289
|
}),
|