optolith-database-schema 0.31.2 → 0.31.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,13 @@
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.31.3](https://github.com/elyukai/optolith-database-schema/compare/v0.31.2...v0.31.3) (2026-02-16)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * interpretation and display of poisons/elixirs ([30a6a3c](https://github.com/elyukai/optolith-database-schema/commit/30a6a3c4262e2920f9100605faee8c426cd37491))
11
+
5
12
  ## [0.31.2](https://github.com/elyukai/optolith-database-schema/compare/v0.31.1...v0.31.2) (2026-02-15)
6
13
 
7
14
 
package/gen/types.d.ts CHANGED
@@ -2334,10 +2334,10 @@ export interface Locale {
2334
2334
  ".input {$value :number} {{{$value} Structure Points}}": string & { __params: { "value": number } }
2335
2335
  "{$value} Structure Points": string & { __params: { "value": StringableTranslationParameter } }
2336
2336
  "{$types} poison": string & { __params: { "types": StringableTranslationParameter } }
2337
- "Weapon": string
2338
- "Ingestion": string
2339
- "Inhalation": string
2340
- "Contact": string
2337
+ "Weapon (poison)": string
2338
+ "Ingestion (poison)": string
2339
+ "Inhalation (poison)": string
2340
+ "Contact (poison)": string
2341
2341
  "Level": string
2342
2342
  "Type": string
2343
2343
  "animal venom": string
@@ -2362,6 +2362,7 @@ export interface Locale {
2362
2362
  "The poison levels equals the QL.": string
2363
2363
  ".input {$value :number} {{{$value} applications every {$interval}}}": string & { __params: { "value": number; "interval": StringableTranslationParameter } }
2364
2364
  "{$valueRange} on {$dice}": string & { __params: { "valueRange": StringableTranslationParameter; "dice": StringableTranslationParameter } }
2365
+ "Ingestion": string
2365
2366
  "Side Effect": string
2366
2367
  "Overdose": string
2367
2368
  "Legality": string
@@ -2371,6 +2372,8 @@ export interface Locale {
2371
2372
  "Value/Cost": string
2372
2373
  "cannot be extracted": string
2373
2374
  ".input {$hiddenCount :number} {{Alternative Names}}": string & { __params: { "hiddenCount": number } }
2375
+ ".input {$count :number} {{check required every {$count}. application}}": string & { __params: { "count": number } }
2376
+ ".input {$count :number} {{check required every {$count}. application in the same month}}": string & { __params: { "count": number } }
2374
2377
  "Failed": string
2375
2378
  "Progress": string
2376
2379
  "Incubation Time": string
@@ -21985,7 +21988,7 @@ export interface IntoxicantAddiction {
21985
21988
  /**
21986
21989
  * The interval at which to check for addiction after an ingestion. If set to one, every ingestion has to be checked for addiction. If set to two, every second ingestion has to be checked, and so on.
21987
21990
  */
21988
- check: IntoxicantAddictionCheck
21991
+ check?: IntoxicantAddictionCheck
21989
21992
 
21990
21993
  /**
21991
21994
  * The maximum interval at which it, while addicted, must be ingested to not suffer from withdrawal symptoms.
@@ -1415,10 +1415,10 @@ export declare const Locale: DB.Entity<"Locale", {
1415
1415
  ".input {$value :number} {{{$value} Structure Points}}": null;
1416
1416
  "{$value} Structure Points": null;
1417
1417
  "{$types} poison": null;
1418
- Weapon: null;
1419
- Ingestion: null;
1420
- Inhalation: null;
1421
- Contact: null;
1418
+ "Weapon (poison)": null;
1419
+ "Ingestion (poison)": null;
1420
+ "Inhalation (poison)": null;
1421
+ "Contact (poison)": null;
1422
1422
  Level: null;
1423
1423
  Type: null;
1424
1424
  "animal venom": null;
@@ -1443,6 +1443,7 @@ export declare const Locale: DB.Entity<"Locale", {
1443
1443
  "The poison levels equals the QL.": null;
1444
1444
  ".input {$value :number} {{{$value} applications every {$interval}}}": null;
1445
1445
  "{$valueRange} on {$dice}": null;
1446
+ Ingestion: null;
1446
1447
  "Side Effect": null;
1447
1448
  Overdose: null;
1448
1449
  Legality: null;
@@ -1452,6 +1453,8 @@ export declare const Locale: DB.Entity<"Locale", {
1452
1453
  "Value/Cost": null;
1453
1454
  "cannot be extracted": null;
1454
1455
  ".input {$hiddenCount :number} {{Alternative Names}}": null;
1456
+ ".input {$count :number} {{check required every {$count}. application}}": null;
1457
+ ".input {$count :number} {{check required every {$count}. application in the same month}}": null;
1455
1458
  Failed: null;
1456
1459
  Progress: null;
1457
1460
  "Incubation Time": null;
@@ -1455,10 +1455,10 @@ export const Locale = DB.Entity(import.meta.url, {
1455
1455
  "{$value} Structure Points": null,
1456
1456
  // poisons/elixirs
1457
1457
  "{$types} poison": null,
1458
- "Weapon": null,
1459
- "Ingestion": null,
1460
- "Inhalation": null,
1461
- "Contact": null,
1458
+ "Weapon (poison)": null,
1459
+ "Ingestion (poison)": null,
1460
+ "Inhalation (poison)": null,
1461
+ "Contact (poison)": null,
1462
1462
  "Level": null,
1463
1463
  "Type": null,
1464
1464
  "animal venom": null,
@@ -1483,6 +1483,7 @@ export const Locale = DB.Entity(import.meta.url, {
1483
1483
  "The poison levels equals the QL.": null,
1484
1484
  ".input {$value :number} {{{$value} applications every {$interval}}}": null,
1485
1485
  "{$valueRange} on {$dice}": null,
1486
+ "Ingestion": null,
1486
1487
  "Side Effect": null,
1487
1488
  "Overdose": null,
1488
1489
  "Legality": null,
@@ -1492,6 +1493,8 @@ export const Locale = DB.Entity(import.meta.url, {
1492
1493
  "Value/Cost": null,
1493
1494
  "cannot be extracted": null,
1494
1495
  ".input {$hiddenCount :number} {{Alternative Names}}": null,
1496
+ ".input {$count :number} {{check required every {$count}. application}}": null,
1497
+ ".input {$count :number} {{check required every {$count}. application in the same month}}": null,
1495
1498
  // sex practices
1496
1499
  "Failed": null,
1497
1500
  // diseases
@@ -101,7 +101,7 @@ export declare const Poison: DB.Entity<"Poison", {
101
101
  check: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"IntoxicantAddictionCheck", DB.Object<{
102
102
  interval: DB.MemberDecl<DB.Integer, true>;
103
103
  onlySameMonth: DB.MemberDecl<DB.Boolean, false>;
104
- }>, []>>, true>;
104
+ }>, []>>, false>;
105
105
  withdrawalPrevention: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"IntoxicantAddictionWithdrawalPrevention", DB.Object<{
106
106
  amount: DB.MemberDecl<DB.Integer, true>;
107
107
  interval: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"IntoxicantAddictionWithdrawalPreventionInterval", {
@@ -155,7 +155,7 @@ export declare const Poison: DB.Entity<"Poison", {
155
155
  check: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"IntoxicantAddictionCheck", DB.Object<{
156
156
  interval: DB.MemberDecl<DB.Integer, true>;
157
157
  onlySameMonth: DB.MemberDecl<DB.Boolean, false>;
158
- }>, []>>, true>;
158
+ }>, []>>, false>;
159
159
  withdrawalPrevention: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"IntoxicantAddictionWithdrawalPrevention", DB.Object<{
160
160
  amount: DB.MemberDecl<DB.Integer, true>;
161
161
  interval: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"IntoxicantAddictionWithdrawalPreventionInterval", {
@@ -457,7 +457,7 @@ export declare const AlchemicalPoison: DB.TypeAlias<"AlchemicalPoison", DB.Objec
457
457
  check: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"IntoxicantAddictionCheck", DB.Object<{
458
458
  interval: DB.MemberDecl<DB.Integer, true>;
459
459
  onlySameMonth: DB.MemberDecl<DB.Boolean, false>;
460
- }>, []>>, true>;
460
+ }>, []>>, false>;
461
461
  withdrawalPrevention: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"IntoxicantAddictionWithdrawalPrevention", DB.Object<{
462
462
  amount: DB.MemberDecl<DB.Integer, true>;
463
463
  interval: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"IntoxicantAddictionWithdrawalPreventionInterval", {
@@ -511,7 +511,7 @@ export declare const PlantPoison: DB.TypeAlias<"PlantPoison", DB.Object<{
511
511
  check: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"IntoxicantAddictionCheck", DB.Object<{
512
512
  interval: DB.MemberDecl<DB.Integer, true>;
513
513
  onlySameMonth: DB.MemberDecl<DB.Boolean, false>;
514
- }>, []>>, true>;
514
+ }>, []>>, false>;
515
515
  withdrawalPrevention: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"IntoxicantAddictionWithdrawalPrevention", DB.Object<{
516
516
  amount: DB.MemberDecl<DB.Integer, true>;
517
517
  interval: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"IntoxicantAddictionWithdrawalPreventionInterval", {
@@ -570,7 +570,7 @@ export declare const Intoxicant: DB.TypeAlias<"Intoxicant", DB.Object<{
570
570
  check: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"IntoxicantAddictionCheck", DB.Object<{
571
571
  interval: DB.MemberDecl<DB.Integer, true>;
572
572
  onlySameMonth: DB.MemberDecl<DB.Boolean, false>;
573
- }>, []>>, true>;
573
+ }>, []>>, false>;
574
574
  withdrawalPrevention: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"IntoxicantAddictionWithdrawalPrevention", DB.Object<{
575
575
  amount: DB.MemberDecl<DB.Integer, true>;
576
576
  interval: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"IntoxicantAddictionWithdrawalPreventionInterval", {
@@ -604,7 +604,7 @@ export declare const IntoxicantAddiction: DB.TypeAlias<"IntoxicantAddiction", DB
604
604
  check: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"IntoxicantAddictionCheck", DB.Object<{
605
605
  interval: DB.MemberDecl<DB.Integer, true>;
606
606
  onlySameMonth: DB.MemberDecl<DB.Boolean, false>;
607
- }>, []>>, true>;
607
+ }>, []>>, false>;
608
608
  withdrawalPrevention: DB.MemberDecl<DB.IncludeIdentifier<[], DB.TypeAlias<"IntoxicantAddictionWithdrawalPrevention", DB.Object<{
609
609
  amount: DB.MemberDecl<DB.Integer, true>;
610
610
  interval: DB.MemberDecl<DB.IncludeIdentifier<[], DB.Enum<"IntoxicantAddictionWithdrawalPreventionInterval", {
@@ -412,7 +412,7 @@ export const IntoxicantAddiction = DB.TypeAlias(import.meta.url, {
412
412
  comment: "The chance of getting addicted after an ingestion in percent. Some intoxicants do not have a contant chance of addiction.",
413
413
  type: DB.Integer({ minimum: 0, maximum: 100, multipleOf: 5 }),
414
414
  }),
415
- check: DB.Required({
415
+ check: DB.Optional({
416
416
  comment: "The interval at which to check for addiction after an ingestion. If set to one, every ingestion has to be checked for addiction. If set to two, every second ingestion has to be checked, and so on.",
417
417
  type: DB.IncludeIdentifier(IntoxicantAddictionCheck),
418
418
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "optolith-database-schema",
3
- "version": "0.31.2",
3
+ "version": "0.31.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",