@optolith/database-schema 0.67.0 → 0.68.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/gen/types.d.ts +17 -0
  3. package/lib/types/Disease.d.ts +41 -0
  4. package/lib/types/Locale.d.ts +1 -0
  5. package/lib/types/Locale.js +2 -0
  6. package/lib/types/equipment/item/Armor.d.ts +41 -0
  7. package/lib/types/equipment/item/BandageOrRemedy.d.ts +41 -0
  8. package/lib/types/equipment/item/Book.d.ts +41 -0
  9. package/lib/types/equipment/item/CeremonialItem.d.ts +41 -0
  10. package/lib/types/equipment/item/Clothes.d.ts +41 -0
  11. package/lib/types/equipment/item/Container.d.ts +41 -0
  12. package/lib/types/equipment/item/Elixir.d.ts +41 -0
  13. package/lib/types/equipment/item/HerbalAid.d.ts +41 -0
  14. package/lib/types/equipment/item/IlluminationLightSource.d.ts +41 -0
  15. package/lib/types/equipment/item/IlluminationRefillOrSupply.d.ts +41 -0
  16. package/lib/types/equipment/item/Jewelry.d.ts +41 -0
  17. package/lib/types/equipment/item/Laboratory.d.ts +41 -0
  18. package/lib/types/equipment/item/Liebesspielzeug.d.ts +41 -0
  19. package/lib/types/equipment/item/LuxuryGood.d.ts +41 -0
  20. package/lib/types/equipment/item/MagicalArtifact.d.ts +41 -0
  21. package/lib/types/equipment/item/MusicalInstrument.d.ts +41 -0
  22. package/lib/types/equipment/item/OrienteeringAid.d.ts +41 -0
  23. package/lib/types/equipment/item/Poison.d.ts +164 -0
  24. package/lib/types/equipment/item/RopeOrChain.d.ts +41 -0
  25. package/lib/types/equipment/item/Stationery.d.ts +41 -0
  26. package/lib/types/equipment/item/ThievesTool.d.ts +41 -0
  27. package/lib/types/equipment/item/ToolOfTheTrade.d.ts +41 -0
  28. package/lib/types/equipment/item/TravelGearOrTool.d.ts +41 -0
  29. package/lib/types/equipment/item/Vehicle.d.ts +41 -0
  30. package/lib/types/equipment/item/Weapon.d.ts +41 -0
  31. package/lib/types/equipment/item/WeaponAccessory.d.ts +41 -0
  32. package/lib/types/equipment/item/_Herbary.d.ts +82 -0
  33. package/lib/types/equipment/item/_Herbary.js +3 -0
  34. package/lib/types/equipment/item/_Item.d.ts +123 -0
  35. package/lib/types/equipment/item/_Item.js +3 -1
  36. package/package.json +1 -1
@@ -3,7 +3,7 @@ import { BlessedTraditionIdentifier, CultureIdentifier, MagicalTraditionIdentifi
3
3
  import { ResponsiveTextOptional, ResponsiveTextReplace } from "../../_ResponsiveText.js";
4
4
  import { NestedTranslationMap } from "../../Locale.js";
5
5
  import { Errata } from "../../source/_Erratum.js";
6
- import { src } from "../../source/_PublicationRef.js";
6
+ import { optionalSrc, src } from "../../source/_PublicationRef.js";
7
7
  import { checkWeaponCombatTechniqueIntegrity } from "./_Weapon.js";
8
8
  import { SecondaryArmor } from "./Armor.js";
9
9
  import { ImprovisedWeapon } from "./Weapon.js";
@@ -155,11 +155,13 @@ export const Complexity = DB.Enum(import.meta.url, {
155
155
  });
156
156
  export const ComplexComplexity = DB.TypeAlias(import.meta.url, {
157
157
  name: "ComplexComplexity",
158
+ comment: "A item’s trade secret inherits the source references from its item. Specifying source references here instead means none of the item’s source references are inherited.",
158
159
  type: () => DB.Object({
159
160
  ap_value: DB.Required({
160
161
  comment: "The AP value for the trade secret.",
161
162
  type: DB.Integer({ minimum: 1 }),
162
163
  }),
164
+ src: optionalSrc,
163
165
  }),
164
166
  });
165
167
  export const RestrictedTo = DB.TypeAlias(import.meta.url, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optolith/database-schema",
3
- "version": "0.67.0",
3
+ "version": "0.68.1",
4
4
  "description": "Definitions and utilities for the flat-file database of Optolith, a character creation tool for the Pen and Paper RPG “The Dark Eye 5”, and its external integrations into other software.",
5
5
  "keywords": [
6
6
  "tde",