@optolith/database-schema 0.68.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.
- package/CHANGELOG.md +5 -0
- package/gen/types.d.ts +16 -0
- package/lib/types/Disease.d.ts +41 -0
- package/lib/types/equipment/item/Armor.d.ts +41 -0
- package/lib/types/equipment/item/BandageOrRemedy.d.ts +41 -0
- package/lib/types/equipment/item/Book.d.ts +41 -0
- package/lib/types/equipment/item/CeremonialItem.d.ts +41 -0
- package/lib/types/equipment/item/Clothes.d.ts +41 -0
- package/lib/types/equipment/item/Container.d.ts +41 -0
- package/lib/types/equipment/item/Elixir.d.ts +41 -0
- package/lib/types/equipment/item/HerbalAid.d.ts +41 -0
- package/lib/types/equipment/item/IlluminationLightSource.d.ts +41 -0
- package/lib/types/equipment/item/IlluminationRefillOrSupply.d.ts +41 -0
- package/lib/types/equipment/item/Jewelry.d.ts +41 -0
- package/lib/types/equipment/item/Laboratory.d.ts +41 -0
- package/lib/types/equipment/item/Liebesspielzeug.d.ts +41 -0
- package/lib/types/equipment/item/LuxuryGood.d.ts +41 -0
- package/lib/types/equipment/item/MagicalArtifact.d.ts +41 -0
- package/lib/types/equipment/item/MusicalInstrument.d.ts +41 -0
- package/lib/types/equipment/item/OrienteeringAid.d.ts +41 -0
- package/lib/types/equipment/item/Poison.d.ts +164 -0
- package/lib/types/equipment/item/RopeOrChain.d.ts +41 -0
- package/lib/types/equipment/item/Stationery.d.ts +41 -0
- package/lib/types/equipment/item/ThievesTool.d.ts +41 -0
- package/lib/types/equipment/item/ToolOfTheTrade.d.ts +41 -0
- package/lib/types/equipment/item/TravelGearOrTool.d.ts +41 -0
- package/lib/types/equipment/item/Vehicle.d.ts +41 -0
- package/lib/types/equipment/item/Weapon.d.ts +41 -0
- package/lib/types/equipment/item/WeaponAccessory.d.ts +41 -0
- package/lib/types/equipment/item/_Herbary.d.ts +82 -0
- package/lib/types/equipment/item/_Herbary.js +3 -0
- package/lib/types/equipment/item/_Item.d.ts +123 -0
- package/lib/types/equipment/item/_Item.js +3 -1
- 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.68.
|
|
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",
|