@optolith/database-schema 0.47.0 → 0.47.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 CHANGED
@@ -2,6 +2,25 @@
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.47.2](https://github.com/Optolith/database-schema/compare/v0.47.1...v0.47.2) (2026-06-08)
6
+
7
+
8
+ ### Features
9
+
10
+ * optional target category for animist powers ([aa556a4](https://github.com/Optolith/database-schema/commit/aa556a48c842fabc80b2564c15743fc68b730668))
11
+
12
+ ## [0.47.1](https://github.com/Optolith/database-schema/compare/v0.47.0...v0.47.1) (2026-06-08)
13
+
14
+
15
+ ### Features
16
+
17
+ * skill check penalty for animist powers ([9ed6e70](https://github.com/Optolith/database-schema/commit/9ed6e7064587aaf3ac297c31f116b4eb64889b61))
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * personality trait effect supports markdown ([af43af8](https://github.com/Optolith/database-schema/commit/af43af87de963623527e5f0e6d0071d2cd09d7bc))
23
+
5
24
  ## [0.47.0](https://github.com/Optolith/database-schema/compare/v0.46.0...v0.47.0) (2026-06-07)
6
25
 
7
26
 
package/gen/types.d.ts CHANGED
@@ -18652,11 +18652,21 @@ export interface AnimistPower {
18652
18652
  */
18653
18653
  check: SkillCheck
18654
18654
 
18655
+ /**
18656
+ * In some cases, the target's Spirit or Toughness is applied as a penalty.
18657
+ */
18658
+ check_penalty?: SkillCheckPenalty
18659
+
18655
18660
  /**
18656
18661
  * Measurable parameters of an animist power.
18657
18662
  */
18658
18663
  parameters: AnimistPowerPerformanceParameters
18659
18664
 
18665
+ /**
18666
+ * The target category – the kind of creature or object – the skill affects.
18667
+ */
18668
+ target?: AffectedTargetCategories
18669
+
18660
18670
  /**
18661
18671
  * The associated property.
18662
18672
  */
@@ -52,7 +52,7 @@ const PersonalityTraitEffect = DB.TypeAlias(import.meta.url, {
52
52
  }),
53
53
  text: DB.Required({
54
54
  comment: "The effect text.",
55
- type: DB.String({ minLength: 1 }),
55
+ type: DB.String({ minLength: 1, markdown: "inline" }),
56
56
  }),
57
57
  }),
58
58
  });
@@ -1,6 +1,15 @@
1
1
  import * as DB from "tsondb/schema/dsl";
2
2
  export declare const AnimistPower: DB.Entity<"AnimistPower", {
3
3
  check: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"SkillCheck", DB.Array<DB.ReferenceIdentifier>, []>>, true>;
4
+ check_penalty: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SkillCheckPenalty", {
5
+ Spirit: DB.EnumCase<null>;
6
+ HalfOfSpirit: DB.EnumCase<null>;
7
+ Toughness: DB.EnumCase<null>;
8
+ HigherOfSpiritAndToughness: DB.EnumCase<null>;
9
+ SummoningDifficulty: DB.EnumCase<null>;
10
+ CreationDifficulty: DB.EnumCase<null>;
11
+ Object: DB.EnumCase<null>;
12
+ }, []>>, false>;
4
13
  parameters: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"AnimistPowerPerformanceParameters", {
5
14
  OneTime: DB.EnumCase<DB.IncludeIdentifier<[], DB.TypeAlias<"OneTimeAnimistPowerPerformanceParameters", DB.Object<{
6
15
  cost: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"OneTimeAnimistPowerCost", {
@@ -144,6 +153,19 @@ export declare const AnimistPower: DB.Entity<"AnimistPower", {
144
153
  }, []>>, true>;
145
154
  }>, []>>>;
146
155
  }, []>>, true>;
156
+ target: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"AffectedTargetCategories", DB.Array<DB.IncludeIdentifier<[], DB.TypeAlias<"SpecificAffectedTargetCategory", DB.Object<{
157
+ id: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"SpecificAffectedTargetCategoryIdentifier", {
158
+ Self: DB.EnumCase<null>;
159
+ Zone: DB.EnumCase<null>;
160
+ LiturgicalChantsAndCeremonies: DB.EnumCase<null>;
161
+ Cantrips: DB.EnumCase<null>;
162
+ Spellworks: DB.EnumCase<null>;
163
+ Predefined: DB.EnumCase<DB.ReferenceIdentifier>;
164
+ }, []>>, true>;
165
+ translations: DB.MemberDecl<DB.NestedEntityMap<"SpecificAffectedTargetCategoryTranslation", {
166
+ note: DB.MemberDecl<DB.String, true>;
167
+ }>, false>;
168
+ }>, []>>>, []>>, false>;
147
169
  property: DB.MemberDecl<DB.ReferenceIdentifier, true>;
148
170
  tribe_tradition: DB.MemberDecl<DB.Array<DB.ReferenceIdentifier>, true>;
149
171
  improvement_cost: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"AnimistPowerImprovementCost", {
@@ -3,11 +3,12 @@ import { name_in_library } from "../_Activatable.js";
3
3
  import { OldParameter } from "../_ActivatableSkill.js";
4
4
  import { CheckResultBasedDuration, DurationUnitValue } from "../_ActivatableSkillDuration.js";
5
5
  import { ActivatableSkillEffect } from "../_ActivatableSkillEffect.js";
6
+ import { AffectedTargetCategories } from "../_ActivatableSkillTargetCategory.js";
6
7
  import { PropertyIdentifier, TribeIdentifier } from "../_Identifier.js";
7
8
  import { ImprovementCost } from "../_ImprovementCost.js";
8
9
  import { AnimistPowerPrerequisites } from "../_Prerequisite.js";
9
10
  import { ResponsiveTextOptional } from "../_ResponsiveText.js";
10
- import { SkillCheck } from "../_SkillCheck.js";
11
+ import { SkillCheck, SkillCheckPenalty } from "../_SkillCheck.js";
11
12
  import { NestedTranslationMap } from "../Locale.js";
12
13
  import { Errata } from "../source/_Erratum.js";
13
14
  import { PublicationRefs, src } from "../source/_PublicationRef.js";
@@ -19,10 +20,18 @@ export const AnimistPower = DB.Entity(import.meta.url, {
19
20
  comment: "Lists the linked three attributes used to make a skill check.",
20
21
  type: DB.IncludeIdentifier(SkillCheck),
21
22
  }),
23
+ check_penalty: DB.Optional({
24
+ comment: "In some cases, the target's Spirit or Toughness is applied as a penalty.",
25
+ type: DB.IncludeIdentifier(SkillCheckPenalty),
26
+ }),
22
27
  parameters: DB.Required({
23
28
  comment: "Measurable parameters of an animist power.",
24
29
  type: DB.IncludeIdentifier(AnimistPowerPerformanceParameters),
25
30
  }),
31
+ target: DB.Optional({
32
+ comment: "The target category – the kind of creature or object – the skill affects.",
33
+ type: DB.IncludeIdentifier(AffectedTargetCategories),
34
+ }),
26
35
  property: DB.Required({
27
36
  comment: "The associated property.",
28
37
  type: PropertyIdentifier(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optolith/database-schema",
3
- "version": "0.47.0",
3
+ "version": "0.47.2",
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",