optolith-database-schema 0.24.2 → 0.24.3

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 CHANGED
@@ -2,6 +2,18 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
4
4
 
5
+ ## [0.24.3](https://github.com/elyukai/optolith-database-schema/compare/v0.24.2...v0.24.3) (2025-12-09)
6
+
7
+
8
+ ### Features
9
+
10
+ * add raw value option to elixirs ([f14ecf0](https://github.com/elyukai/optolith-database-schema/commit/f14ecf01b4eb6acbaee8b27abb95e9907a41aed4)), closes [#84](https://github.com/elyukai/optolith-database-schema/issues/84)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * profession variants could not be entered ([df21ff3](https://github.com/elyukai/optolith-database-schema/commit/df21ff3e992c9976a5111de1a46f644f26f8c122))
16
+
5
17
  ## [0.24.2](https://github.com/elyukai/optolith-database-schema/compare/v0.24.1...v0.24.2) (2025-12-09)
6
18
 
7
19
 
package/gen/types.d.ts CHANGED
@@ -7677,7 +7677,7 @@ export interface ProfessionPackage {
7677
7677
  /**
7678
7678
  * Provides examples of variants for the profession, which may include changes to AP values and additional or modified skill ratings, special abilities, or combat techniques, as compared to the basic profession. Usually picking a variant is optional, but there are some rare exceptions where picking a variant is required.
7679
7679
  */
7680
- variants?: ProfessionVariant_ID[]
7680
+ variants: ProfessionVariant_ID[]
7681
7681
  }
7682
7682
 
7683
7683
  /**
@@ -19895,6 +19895,11 @@ export interface Elixir {
19895
19895
  */
19896
19896
  effect_types?: EffectType[]
19897
19897
 
19898
+ /**
19899
+ * The raw (ingredients) value per level, in silverthalers.
19900
+ */
19901
+ value?: number
19902
+
19898
19903
  /**
19899
19904
  * The cost per ingredient level in silverthalers.
19900
19905
  */
@@ -546,7 +546,7 @@ export declare const Profession: Entity<"Profession", {
546
546
  full_text: import("tsondb/schema/def").MemberDecl<String, false>;
547
547
  concluding_text: import("tsondb/schema/def").MemberDecl<String, false>;
548
548
  }>, true>;
549
- }, "profession_package">>, false>;
549
+ }, "profession_package">>, true>;
550
550
  }, "profession_version">>, true>;
551
551
  suggested_advantages: import("tsondb/schema/def").MemberDecl<Array<IncludeIdentifier<import("tsondb/schema/def").TypeParameter<string, import("tsondb/schema/def").Type>[], TypeAlias<"CommonnessRatedAdvantageDisadvantage", ObjectType<{
552
552
  id: import("tsondb/schema/def").MemberDecl<TypeArgument<import("tsondb/schema/def").TypeParameter<"Identifier", import("tsondb/schema/def").Type>>, true>;
@@ -1162,7 +1162,7 @@ export declare const ProfessionVersion: Entity<"ProfessionVersion", {
1162
1162
  full_text: import("tsondb/schema/def").MemberDecl<String, false>;
1163
1163
  concluding_text: import("tsondb/schema/def").MemberDecl<String, false>;
1164
1164
  }>, true>;
1165
- }, "profession_package">>, false>;
1165
+ }, "profession_package">>, true>;
1166
1166
  }, "profession_version">>, true>;
1167
1167
  suggested_advantages: import("tsondb/schema/def").MemberDecl<Array<IncludeIdentifier<import("tsondb/schema/def").TypeParameter<string, import("tsondb/schema/def").Type>[], TypeAlias<"CommonnessRatedAdvantageDisadvantage", ObjectType<{
1168
1168
  id: import("tsondb/schema/def").MemberDecl<TypeArgument<import("tsondb/schema/def").TypeParameter<"Identifier", import("tsondb/schema/def").Type>>, true>;
@@ -1770,7 +1770,7 @@ export declare const ProfessionPackage: Entity<"ProfessionPackage", {
1770
1770
  full_text: import("tsondb/schema/def").MemberDecl<String, false>;
1771
1771
  concluding_text: import("tsondb/schema/def").MemberDecl<String, false>;
1772
1772
  }>, true>;
1773
- }, "profession_package">>, false>;
1773
+ }, "profession_package">>, true>;
1774
1774
  }, "profession_version">;
1775
1775
  export declare const ProfessionVariant: Entity<"ProfessionVariant", {
1776
1776
  profession_package: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").ReferenceIdentifierType, true>;
@@ -193,7 +193,7 @@ export const ProfessionPackage = Entity(import.meta.url, {
193
193
  comment: "If the selection of a profession variant is required.",
194
194
  type: Boolean(),
195
195
  }),
196
- variants: Optional({
196
+ variants: Required({
197
197
  comment: "Provides examples of variants for the profession, which may include changes to AP values and additional or modified skill ratings, special abilities, or combat techniques, as compared to the basic profession. Usually picking a variant is optional, but there are some rare exceptions where picking a variant is required.",
198
198
  type: ChildEntities(ProfessionVariant),
199
199
  }),
@@ -9,6 +9,7 @@ export declare const Elixir: Entity<"Elixir", {
9
9
  Defensive: import("tsondb/schema/def").EnumCaseDecl<null>;
10
10
  Supernatural: import("tsondb/schema/def").EnumCaseDecl<null>;
11
11
  }, []>>>, false>;
12
+ value: import("tsondb/schema/def").MemberDecl<Integer, false>;
12
13
  cost_per_ingredient_level: import("tsondb/schema/def").MemberDecl<Integer, true>;
13
14
  laboratory: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], import("tsondb/schema/def").EnumDecl<"LaboratoryLevel", {
14
15
  ArchaicLaboratory: import("tsondb/schema/def").EnumCaseDecl<null>;
@@ -12,6 +12,10 @@ export const Elixir = Entity(import.meta.url, {
12
12
  comment: "Effect type(s) of an alchemical poison.",
13
13
  type: Array(IncludeIdentifier(EffectType), { minItems: 1, uniqueItems: true }),
14
14
  }),
15
+ value: Optional({
16
+ comment: "The raw (ingredients) value per level, in silverthalers.",
17
+ type: Integer({ minimum: 1 }),
18
+ }),
15
19
  cost_per_ingredient_level: Required({
16
20
  comment: "The cost per ingredient level in silverthalers.",
17
21
  type: Integer({ minimum: 1 }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "optolith-database-schema",
3
- "version": "0.24.2",
3
+ "version": "0.24.3",
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",