optolith-database-schema 0.18.1 → 0.18.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 +14 -0
- package/lib/main.js +3 -0
- package/lib/types/AnimalDisease.d.ts +2 -2
- package/lib/types/Ceremony.d.ts +20 -5
- package/lib/types/Disease.d.ts +1 -1
- package/lib/types/LiturgicalChant.d.ts +20 -5
- package/lib/types/Profession.d.ts +34 -4
- package/lib/types/Profession.js +19 -2
- package/lib/types/Ritual.d.ts +20 -5
- package/lib/types/Spell.d.ts +20 -5
- package/lib/types/_Activatable.d.ts +38 -26
- package/lib/types/_Activatable.js +10 -10
- package/lib/types/_ActivatableSkill.d.ts +60 -15
- package/lib/types/_ActivatableSkillCost.d.ts +69 -39
- package/lib/types/_ActivatableSkillCost.js +6 -6
- package/lib/types/_DiseasePoison.d.ts +2 -2
- package/lib/types/_DiseasePoison.js +2 -2
- package/lib/types/_Identifier.d.ts +2 -0
- package/lib/types/_Identifier.js +4 -0
- package/lib/types/_IdentifierGroup.d.ts +3 -0
- package/lib/types/_IdentifierGroup.js +4 -1
- package/lib/types/equipment/EquipmentPackage.d.ts +2 -0
- package/lib/types/equipment/item/Ammunition.d.ts +2 -0
- package/lib/types/equipment/item/Ammunition.js +8 -0
- package/lib/types/equipment/item/BandageOrRemedy.d.ts +54 -53
- package/lib/types/equipment/item/BandageOrRemedy.js +32 -2
- package/lib/types/equipment/item/Book.d.ts +2 -2
- package/lib/types/equipment/item/Book.js +2 -2
- package/lib/types/equipment/item/CeremonialItem.d.ts +3 -3
- package/lib/types/equipment/item/Clothes.d.ts +54 -53
- package/lib/types/equipment/item/Clothes.js +32 -2
- package/lib/types/equipment/item/ClothingPackage.d.ts +62 -0
- package/lib/types/equipment/item/ClothingPackage.js +21 -0
- package/lib/types/equipment/item/Container.d.ts +54 -53
- package/lib/types/equipment/item/Container.js +32 -2
- package/lib/types/equipment/item/Elixir.d.ts +11 -0
- package/lib/types/equipment/item/Elixir.js +13 -1
- package/lib/types/equipment/item/EquipmentOfBlessedOnes.d.ts +3 -3
- package/lib/types/equipment/item/IlluminationLightSource.d.ts +3 -3
- package/lib/types/equipment/item/IlluminationRefillOrSupply.d.ts +54 -53
- package/lib/types/equipment/item/IlluminationRefillOrSupply.js +32 -2
- package/lib/types/equipment/item/Laboratory.d.ts +80 -0
- package/lib/types/equipment/item/Laboratory.js +28 -0
- package/lib/types/equipment/item/Liebesspielzeug.d.ts +54 -53
- package/lib/types/equipment/item/Liebesspielzeug.js +32 -2
- package/lib/types/equipment/item/LuxuryGood.d.ts +54 -53
- package/lib/types/equipment/item/LuxuryGood.js +32 -2
- package/lib/types/equipment/item/MagicalArtifact.d.ts +1 -0
- package/lib/types/equipment/item/MagicalArtifact.js +6 -2
- package/lib/types/equipment/item/MusicalInstrument.d.ts +3 -3
- package/lib/types/equipment/item/OrienteeringAid.d.ts +3 -3
- package/lib/types/equipment/item/OrienteeringAid.js +1 -1
- package/lib/types/equipment/item/Poison.d.ts +12 -6
- package/lib/types/equipment/item/Poison.js +5 -3
- package/lib/types/equipment/item/RopeOrChain.d.ts +3 -3
- package/lib/types/equipment/item/RopeOrChain.js +1 -1
- package/lib/types/equipment/item/Stationery.d.ts +3 -3
- package/lib/types/equipment/item/Stationery.js +1 -1
- package/lib/types/equipment/item/ThievesTool.d.ts +3 -3
- package/lib/types/equipment/item/ThievesTool.js +1 -1
- package/lib/types/equipment/item/ToolOfTheTrade.d.ts +13 -20
- package/lib/types/equipment/item/ToolOfTheTrade.js +1 -14
- package/lib/types/equipment/item/TravelGearOrTool.d.ts +54 -53
- package/lib/types/equipment/item/TravelGearOrTool.js +32 -2
- package/lib/types/equipment/item/Weapon.d.ts +6 -6
- package/lib/types/equipment/item/WeaponAccessory.d.ts +54 -53
- package/lib/types/equipment/item/WeaponAccessory.js +32 -2
- package/lib/types/equipment/item/_Item.d.ts +7 -7
- package/lib/types/equipment/item/_Item.js +1 -1
- package/lib/types/equipment/item/_MeleeWeapon.d.ts +2 -2
- package/lib/types/equipment/item/_MeleeWeapon.js +2 -2
- package/lib/types/equipment/item/_RangedWeapon.d.ts +1 -1
- package/lib/types/equipment/item/_RangedWeapon.js +1 -1
- package/lib/types/index.d.ts +2 -0
- package/lib/types/index.js +2 -0
- package/lib/types/magicalActions/GeodeRitual.d.ts +20 -5
- package/lib/types/magicalActions/ZibiljaRitual.d.ts +20 -5
- package/lib/types/prerequisites/PrerequisiteGroups.d.ts +4 -0
- package/lib/types/prerequisites/single/ActivatablePrerequisite.d.ts +1 -0
- package/lib/types/traditionArtifacts/ArcaneOrbEnchantment.d.ts +24 -18
- package/lib/types/traditionArtifacts/AttireEnchantment.d.ts +24 -18
- package/lib/types/traditionArtifacts/BowlEnchantment.d.ts +24 -18
- package/lib/types/traditionArtifacts/CauldronEnchantment.d.ts +24 -18
- package/lib/types/traditionArtifacts/ChronicleEnchantment.d.ts +24 -18
- package/lib/types/traditionArtifacts/DaggerRitual.d.ts +24 -18
- package/lib/types/traditionArtifacts/FoolsHatEnchantment.d.ts +24 -18
- package/lib/types/traditionArtifacts/InstrumentEnchantment.d.ts +24 -18
- package/lib/types/traditionArtifacts/Krallenkettenzauber.d.ts +24 -18
- package/lib/types/traditionArtifacts/OrbEnchantment.d.ts +24 -18
- package/lib/types/traditionArtifacts/RingEnchantment.d.ts +24 -18
- package/lib/types/traditionArtifacts/SickleRitual.d.ts +24 -18
- package/lib/types/traditionArtifacts/SpellSwordEnchantment.d.ts +24 -18
- package/lib/types/traditionArtifacts/StaffEnchantment.d.ts +24 -18
- package/lib/types/traditionArtifacts/ToyEnchantment.d.ts +24 -18
- package/lib/types/traditionArtifacts/Trinkhornzauber.d.ts +24 -18
- package/lib/types/traditionArtifacts/WandEnchantment.d.ts +14 -8
- package/lib/types/traditionArtifacts/WeaponEnchantment.d.ts +24 -18
- package/package.json +1 -1
|
@@ -18,6 +18,7 @@ export declare const MagicalArtifact: Entity<"MagicalArtifact", {
|
|
|
18
18
|
}>, false>;
|
|
19
19
|
}>, []>>>;
|
|
20
20
|
}, []>>, true>;
|
|
21
|
+
weight: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"Weight", import("tsondb/schema/def").FloatType, []>>, false>;
|
|
21
22
|
src: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"PublicationRefs", import("tsondb/schema/def").ArrayType<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"PublicationRef", Object<{
|
|
22
23
|
id: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").ReferenceIdentifierType, true>;
|
|
23
24
|
occurrences: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<"Occurrence", {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Entity, IncludeIdentifier, Object, Required } from "tsondb/schema/def";
|
|
1
|
+
import { Entity, IncludeIdentifier, Object, Optional, Required } from "tsondb/schema/def";
|
|
2
2
|
import { src } from "../../source/_PublicationRef.js";
|
|
3
|
-
import { Cost, DefaultItemTranslations } from "./_Item.js";
|
|
3
|
+
import { Cost, DefaultItemTranslations, Weight } from "./_Item.js";
|
|
4
4
|
export const MagicalArtifact = Entity(import.meta.url, {
|
|
5
5
|
name: "MagicalArtifact",
|
|
6
6
|
namePlural: "MagicalArtifacts",
|
|
@@ -9,6 +9,10 @@ export const MagicalArtifact = Entity(import.meta.url, {
|
|
|
9
9
|
comment: "The cost in silverthalers.",
|
|
10
10
|
type: IncludeIdentifier(Cost),
|
|
11
11
|
}),
|
|
12
|
+
weight: Optional({
|
|
13
|
+
comment: "The weight in kg.",
|
|
14
|
+
type: IncludeIdentifier(Weight),
|
|
15
|
+
}),
|
|
12
16
|
src,
|
|
13
17
|
translations: DefaultItemTranslations("MagicalArtifact"),
|
|
14
18
|
}),
|
|
@@ -46,8 +46,8 @@ export declare const MusicalInstrument: Entity<"MusicalInstrument", {
|
|
|
46
46
|
threshold: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
|
|
47
47
|
}>, []>>>, true>;
|
|
48
48
|
}>, []>>>;
|
|
49
|
-
}, []>>,
|
|
50
|
-
attackModifier: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"AttackModifier", import("tsondb/schema/def").IntegerType, []>>,
|
|
49
|
+
}, []>>, false>;
|
|
50
|
+
attackModifier: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"AttackModifier", import("tsondb/schema/def").IntegerType, []>>, false>;
|
|
51
51
|
parryModifier: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"ParryModifier", import("tsondb/schema/def").IntegerType, []>>, false>;
|
|
52
52
|
reach: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").ReferenceIdentifierType, false>;
|
|
53
53
|
length: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"Length", import("tsondb/schema/def").IntegerType, []>>, false>;
|
|
@@ -83,7 +83,7 @@ export declare const MusicalInstrument: Entity<"MusicalInstrument", {
|
|
|
83
83
|
far: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
|
|
84
84
|
}>, []>>, true>;
|
|
85
85
|
ammunition: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").ReferenceIdentifierType, false>;
|
|
86
|
-
length: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"Length", import("tsondb/schema/def").IntegerType, []>>,
|
|
86
|
+
length: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"Length", import("tsondb/schema/def").IntegerType, []>>, false>;
|
|
87
87
|
is_improvised_weapon: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").BooleanType, true>;
|
|
88
88
|
}>, false>;
|
|
89
89
|
sanctified_by: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"SanctifiedBy", import("tsondb/schema/def").ArrayType<import("tsondb/schema/def").ReferenceIdentifierType>, []>>, false>;
|
|
@@ -48,8 +48,8 @@ export declare const OrienteeringAid: import("tsondb/schema/def").EntityDecl<str
|
|
|
48
48
|
threshold: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
|
|
49
49
|
}>, []>>>, true>;
|
|
50
50
|
}>, []>>>;
|
|
51
|
-
}, []>>,
|
|
52
|
-
attackModifier: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IncludeIdentifierType<[], import("tsondb/schema/def").TypeAliasDecl<"AttackModifier", import("tsondb/schema/def").IntegerType, []>>,
|
|
51
|
+
}, []>>, false>;
|
|
52
|
+
attackModifier: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IncludeIdentifierType<[], import("tsondb/schema/def").TypeAliasDecl<"AttackModifier", import("tsondb/schema/def").IntegerType, []>>, false>;
|
|
53
53
|
parryModifier: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IncludeIdentifierType<[], import("tsondb/schema/def").TypeAliasDecl<"ParryModifier", import("tsondb/schema/def").IntegerType, []>>, false>;
|
|
54
54
|
reach: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").ReferenceIdentifierType, false>;
|
|
55
55
|
length: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IncludeIdentifierType<[], import("tsondb/schema/def").TypeAliasDecl<"Length", import("tsondb/schema/def").IntegerType, []>>, false>;
|
|
@@ -85,7 +85,7 @@ export declare const OrienteeringAid: import("tsondb/schema/def").EntityDecl<str
|
|
|
85
85
|
far: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
|
|
86
86
|
}>, []>>, true>;
|
|
87
87
|
ammunition: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").ReferenceIdentifierType, false>;
|
|
88
|
-
length: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IncludeIdentifierType<[], import("tsondb/schema/def").TypeAliasDecl<"Length", import("tsondb/schema/def").IntegerType, []>>,
|
|
88
|
+
length: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IncludeIdentifierType<[], import("tsondb/schema/def").TypeAliasDecl<"Length", import("tsondb/schema/def").IntegerType, []>>, false>;
|
|
89
89
|
is_improvised_weapon: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").BooleanType, true>;
|
|
90
90
|
}>, false>;
|
|
91
91
|
sanctified_by: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IncludeIdentifierType<[], import("tsondb/schema/def").TypeAliasDecl<"SanctifiedBy", import("tsondb/schema/def").ArrayType<import("tsondb/schema/def").ReferenceIdentifierType>, []>>, false>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { DefaultItem } from "./_Item.js";
|
|
2
|
-
export const OrienteeringAid = DefaultItem("OrienteeringAid");
|
|
2
|
+
export const OrienteeringAid = DefaultItem(import.meta.url, "OrienteeringAid");
|
|
@@ -63,7 +63,7 @@ export declare const Poison: Entity<"Poison", {
|
|
|
63
63
|
is_legal: import("tsondb/schema/def").MemberDecl<Boolean, true>;
|
|
64
64
|
}>, []>>, true>;
|
|
65
65
|
addiction: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"IntoxicantAddiction", Object<{
|
|
66
|
-
chance: import("tsondb/schema/def").MemberDecl<Integer,
|
|
66
|
+
chance: import("tsondb/schema/def").MemberDecl<Integer, false>;
|
|
67
67
|
interval: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"IntoxicantAddictionInterval", {
|
|
68
68
|
Constant: EnumCase<IncludeIdentifier<[], TypeAlias<"ConstantIntoxicantAddictionInterval", Object<{
|
|
69
69
|
value: import("tsondb/schema/def").MemberDecl<Integer, true>;
|
|
@@ -107,7 +107,7 @@ export declare const Poison: Entity<"Poison", {
|
|
|
107
107
|
is_legal: import("tsondb/schema/def").MemberDecl<Boolean, true>;
|
|
108
108
|
}>, []>>, true>;
|
|
109
109
|
addiction: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"IntoxicantAddiction", Object<{
|
|
110
|
-
chance: import("tsondb/schema/def").MemberDecl<Integer,
|
|
110
|
+
chance: import("tsondb/schema/def").MemberDecl<Integer, false>;
|
|
111
111
|
interval: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"IntoxicantAddictionInterval", {
|
|
112
112
|
Constant: EnumCase<IncludeIdentifier<[], TypeAlias<"ConstantIntoxicantAddictionInterval", Object<{
|
|
113
113
|
value: import("tsondb/schema/def").MemberDecl<Integer, true>;
|
|
@@ -173,6 +173,11 @@ export declare const Poison: Entity<"Poison", {
|
|
|
173
173
|
Days: EnumCase<null>;
|
|
174
174
|
}, []>>, true>;
|
|
175
175
|
}>, []>>>;
|
|
176
|
+
Indefinite: EnumCase<IncludeIdentifier<[], TypeAlias<"IndefinitePoisonTime", Object<{
|
|
177
|
+
translations: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<"IndefinitePoisonTimeTranslation", {
|
|
178
|
+
description: import("tsondb/schema/def").MemberDecl<String, false>;
|
|
179
|
+
}>, false>;
|
|
180
|
+
}>, []>>>;
|
|
176
181
|
}, []>>, true>;
|
|
177
182
|
duration: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<import("tsondb/schema/def").TypeParameter<string, import("tsondb/schema/def").Type>[], TypeAlias<"Reduceable", Object<{
|
|
178
183
|
default: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").TypeArgumentType<import("tsondb/schema/def").TypeParameter<"Content", import("tsondb/schema/def").Type>>, true>;
|
|
@@ -180,6 +185,7 @@ export declare const Poison: Entity<"Poison", {
|
|
|
180
185
|
}>, [Content: import("tsondb/schema/def").TypeParameter<"Content", import("tsondb/schema/def").Type>]>>, true>;
|
|
181
186
|
value: import("tsondb/schema/def").MemberDecl<Integer, false>;
|
|
182
187
|
cost: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"PoisonCost", {
|
|
188
|
+
CannotBeExtracted: EnumCase<null>;
|
|
183
189
|
None: EnumCase<IncludeIdentifier<[], TypeAlias<"NoPoisonCost", Object<{
|
|
184
190
|
translations: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<"NoPoisonCostTranslation", {
|
|
185
191
|
description: import("tsondb/schema/def").MemberDecl<String, true>;
|
|
@@ -342,7 +348,7 @@ export declare const AlchemicalPoison: TypeAlias<"AlchemicalPoison", Object<{
|
|
|
342
348
|
is_legal: import("tsondb/schema/def").MemberDecl<Boolean, true>;
|
|
343
349
|
}>, []>>, true>;
|
|
344
350
|
addiction: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"IntoxicantAddiction", Object<{
|
|
345
|
-
chance: import("tsondb/schema/def").MemberDecl<Integer,
|
|
351
|
+
chance: import("tsondb/schema/def").MemberDecl<Integer, false>;
|
|
346
352
|
interval: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"IntoxicantAddictionInterval", {
|
|
347
353
|
Constant: EnumCase<IncludeIdentifier<[], TypeAlias<"ConstantIntoxicantAddictionInterval", Object<{
|
|
348
354
|
value: import("tsondb/schema/def").MemberDecl<Integer, true>;
|
|
@@ -386,7 +392,7 @@ export declare const PlantPoison: TypeAlias<"PlantPoison", Object<{
|
|
|
386
392
|
is_legal: import("tsondb/schema/def").MemberDecl<Boolean, true>;
|
|
387
393
|
}>, []>>, true>;
|
|
388
394
|
addiction: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"IntoxicantAddiction", Object<{
|
|
389
|
-
chance: import("tsondb/schema/def").MemberDecl<Integer,
|
|
395
|
+
chance: import("tsondb/schema/def").MemberDecl<Integer, false>;
|
|
390
396
|
interval: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"IntoxicantAddictionInterval", {
|
|
391
397
|
Constant: EnumCase<IncludeIdentifier<[], TypeAlias<"ConstantIntoxicantAddictionInterval", Object<{
|
|
392
398
|
value: import("tsondb/schema/def").MemberDecl<Integer, true>;
|
|
@@ -435,7 +441,7 @@ export declare const Intoxicant: TypeAlias<"Intoxicant", Object<{
|
|
|
435
441
|
is_legal: import("tsondb/schema/def").MemberDecl<Boolean, true>;
|
|
436
442
|
}>, []>>, true>;
|
|
437
443
|
addiction: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"IntoxicantAddiction", Object<{
|
|
438
|
-
chance: import("tsondb/schema/def").MemberDecl<Integer,
|
|
444
|
+
chance: import("tsondb/schema/def").MemberDecl<Integer, false>;
|
|
439
445
|
interval: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"IntoxicantAddictionInterval", {
|
|
440
446
|
Constant: EnumCase<IncludeIdentifier<[], TypeAlias<"ConstantIntoxicantAddictionInterval", Object<{
|
|
441
447
|
value: import("tsondb/schema/def").MemberDecl<Integer, true>;
|
|
@@ -459,7 +465,7 @@ export declare const IntoxicantLegality: TypeAlias<"IntoxicantLegality", Object<
|
|
|
459
465
|
is_legal: import("tsondb/schema/def").MemberDecl<Boolean, true>;
|
|
460
466
|
}>, []>;
|
|
461
467
|
export declare const IntoxicantAddiction: TypeAlias<"IntoxicantAddiction", Object<{
|
|
462
|
-
chance: import("tsondb/schema/def").MemberDecl<Integer,
|
|
468
|
+
chance: import("tsondb/schema/def").MemberDecl<Integer, false>;
|
|
463
469
|
interval: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], Enum<"IntoxicantAddictionInterval", {
|
|
464
470
|
Constant: EnumCase<IncludeIdentifier<[], TypeAlias<"ConstantIntoxicantAddictionInterval", Object<{
|
|
465
471
|
value: import("tsondb/schema/def").MemberDecl<Integer, true>;
|
|
@@ -31,7 +31,7 @@ export const Poison = Entity(import.meta.url, {
|
|
|
31
31
|
type: GenIncludeIdentifier(Reduceable, [IncludeIdentifier(PoisonDuration)]),
|
|
32
32
|
}),
|
|
33
33
|
value: Optional({
|
|
34
|
-
comment: "The raw (ingredients) value, in silverthalers.",
|
|
34
|
+
comment: "The raw (ingredients) value per level, in silverthalers.",
|
|
35
35
|
type: Integer({ minimum: 1 }),
|
|
36
36
|
}),
|
|
37
37
|
cost: Required({
|
|
@@ -78,6 +78,7 @@ const PoisonStart = Enum(import.meta.url, {
|
|
|
78
78
|
Immediate: EnumCase({ type: null }),
|
|
79
79
|
Constant: EnumCase({ type: IncludeIdentifier(ConstantPoisonTime) }),
|
|
80
80
|
DiceBased: EnumCase({ type: IncludeIdentifier(DiceBasedPoisonTime) }),
|
|
81
|
+
Indefinite: EnumCase({ type: IncludeIdentifier(IndefinitePoisonTime) }),
|
|
81
82
|
}),
|
|
82
83
|
});
|
|
83
84
|
const PoisonDuration = Enum(import.meta.url, {
|
|
@@ -92,6 +93,7 @@ const PoisonDuration = Enum(import.meta.url, {
|
|
|
92
93
|
const PoisonCost = Enum(import.meta.url, {
|
|
93
94
|
name: "PoisonCost",
|
|
94
95
|
values: () => ({
|
|
96
|
+
CannotBeExtracted: EnumCase({ type: null }),
|
|
95
97
|
None: EnumCase({ type: IncludeIdentifier(NoPoisonCost) }),
|
|
96
98
|
Constant: EnumCase({ type: Float({ minimum: { value: 0, isExclusive: true } }) }),
|
|
97
99
|
Indefinite: EnumCase({ type: IncludeIdentifier(IndefinitePoisonCost) }),
|
|
@@ -349,8 +351,8 @@ export const IntoxicantAddiction = TypeAlias(import.meta.url, {
|
|
|
349
351
|
name: "IntoxicantAddiction",
|
|
350
352
|
comment: "The chance of getting addicted after an ingestion in addition to the maximum interval at which it, while addicted, must be ingested to not suffer from withdrawal symptoms.",
|
|
351
353
|
type: () => Object({
|
|
352
|
-
chance:
|
|
353
|
-
comment: "The chance of getting addicted after an ingestion in percent.",
|
|
354
|
+
chance: Optional({
|
|
355
|
+
comment: "The chance of getting addicted after an ingestion in percent. Some intoxicants do not have a contant chance of addiction.",
|
|
354
356
|
type: Integer({ minimum: 0, maximum: 100, multipleOf: 5 }),
|
|
355
357
|
}),
|
|
356
358
|
interval: Required({
|
|
@@ -48,8 +48,8 @@ export declare const RopeOrChain: import("tsondb/schema/def").EntityDecl<string,
|
|
|
48
48
|
threshold: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
|
|
49
49
|
}>, []>>>, true>;
|
|
50
50
|
}>, []>>>;
|
|
51
|
-
}, []>>,
|
|
52
|
-
attackModifier: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IncludeIdentifierType<[], import("tsondb/schema/def").TypeAliasDecl<"AttackModifier", import("tsondb/schema/def").IntegerType, []>>,
|
|
51
|
+
}, []>>, false>;
|
|
52
|
+
attackModifier: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IncludeIdentifierType<[], import("tsondb/schema/def").TypeAliasDecl<"AttackModifier", import("tsondb/schema/def").IntegerType, []>>, false>;
|
|
53
53
|
parryModifier: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IncludeIdentifierType<[], import("tsondb/schema/def").TypeAliasDecl<"ParryModifier", import("tsondb/schema/def").IntegerType, []>>, false>;
|
|
54
54
|
reach: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").ReferenceIdentifierType, false>;
|
|
55
55
|
length: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IncludeIdentifierType<[], import("tsondb/schema/def").TypeAliasDecl<"Length", import("tsondb/schema/def").IntegerType, []>>, false>;
|
|
@@ -85,7 +85,7 @@ export declare const RopeOrChain: import("tsondb/schema/def").EntityDecl<string,
|
|
|
85
85
|
far: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
|
|
86
86
|
}>, []>>, true>;
|
|
87
87
|
ammunition: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").ReferenceIdentifierType, false>;
|
|
88
|
-
length: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IncludeIdentifierType<[], import("tsondb/schema/def").TypeAliasDecl<"Length", import("tsondb/schema/def").IntegerType, []>>,
|
|
88
|
+
length: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IncludeIdentifierType<[], import("tsondb/schema/def").TypeAliasDecl<"Length", import("tsondb/schema/def").IntegerType, []>>, false>;
|
|
89
89
|
is_improvised_weapon: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").BooleanType, true>;
|
|
90
90
|
}>, false>;
|
|
91
91
|
sanctified_by: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IncludeIdentifierType<[], import("tsondb/schema/def").TypeAliasDecl<"SanctifiedBy", import("tsondb/schema/def").ArrayType<import("tsondb/schema/def").ReferenceIdentifierType>, []>>, false>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { DefaultItem } from "./_Item.js";
|
|
2
|
-
export const RopeOrChain = DefaultItem("RopeOrChain", "RopesAndChains");
|
|
2
|
+
export const RopeOrChain = DefaultItem(import.meta.url, "RopeOrChain", "RopesAndChains");
|
|
@@ -48,8 +48,8 @@ export declare const Stationery: import("tsondb/schema/def").EntityDecl<string,
|
|
|
48
48
|
threshold: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
|
|
49
49
|
}>, []>>>, true>;
|
|
50
50
|
}>, []>>>;
|
|
51
|
-
}, []>>,
|
|
52
|
-
attackModifier: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IncludeIdentifierType<[], import("tsondb/schema/def").TypeAliasDecl<"AttackModifier", import("tsondb/schema/def").IntegerType, []>>,
|
|
51
|
+
}, []>>, false>;
|
|
52
|
+
attackModifier: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IncludeIdentifierType<[], import("tsondb/schema/def").TypeAliasDecl<"AttackModifier", import("tsondb/schema/def").IntegerType, []>>, false>;
|
|
53
53
|
parryModifier: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IncludeIdentifierType<[], import("tsondb/schema/def").TypeAliasDecl<"ParryModifier", import("tsondb/schema/def").IntegerType, []>>, false>;
|
|
54
54
|
reach: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").ReferenceIdentifierType, false>;
|
|
55
55
|
length: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IncludeIdentifierType<[], import("tsondb/schema/def").TypeAliasDecl<"Length", import("tsondb/schema/def").IntegerType, []>>, false>;
|
|
@@ -85,7 +85,7 @@ export declare const Stationery: import("tsondb/schema/def").EntityDecl<string,
|
|
|
85
85
|
far: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
|
|
86
86
|
}>, []>>, true>;
|
|
87
87
|
ammunition: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").ReferenceIdentifierType, false>;
|
|
88
|
-
length: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IncludeIdentifierType<[], import("tsondb/schema/def").TypeAliasDecl<"Length", import("tsondb/schema/def").IntegerType, []>>,
|
|
88
|
+
length: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IncludeIdentifierType<[], import("tsondb/schema/def").TypeAliasDecl<"Length", import("tsondb/schema/def").IntegerType, []>>, false>;
|
|
89
89
|
is_improvised_weapon: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").BooleanType, true>;
|
|
90
90
|
}>, false>;
|
|
91
91
|
sanctified_by: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IncludeIdentifierType<[], import("tsondb/schema/def").TypeAliasDecl<"SanctifiedBy", import("tsondb/schema/def").ArrayType<import("tsondb/schema/def").ReferenceIdentifierType>, []>>, false>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { DefaultItem } from "./_Item.js";
|
|
2
|
-
export const Stationery = DefaultItem("Stationery", "Stationery");
|
|
2
|
+
export const Stationery = DefaultItem(import.meta.url, "Stationery", "Stationery");
|
|
@@ -48,8 +48,8 @@ export declare const ThievesTool: import("tsondb/schema/def").EntityDecl<string,
|
|
|
48
48
|
threshold: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
|
|
49
49
|
}>, []>>>, true>;
|
|
50
50
|
}>, []>>>;
|
|
51
|
-
}, []>>,
|
|
52
|
-
attackModifier: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IncludeIdentifierType<[], import("tsondb/schema/def").TypeAliasDecl<"AttackModifier", import("tsondb/schema/def").IntegerType, []>>,
|
|
51
|
+
}, []>>, false>;
|
|
52
|
+
attackModifier: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IncludeIdentifierType<[], import("tsondb/schema/def").TypeAliasDecl<"AttackModifier", import("tsondb/schema/def").IntegerType, []>>, false>;
|
|
53
53
|
parryModifier: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IncludeIdentifierType<[], import("tsondb/schema/def").TypeAliasDecl<"ParryModifier", import("tsondb/schema/def").IntegerType, []>>, false>;
|
|
54
54
|
reach: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").ReferenceIdentifierType, false>;
|
|
55
55
|
length: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IncludeIdentifierType<[], import("tsondb/schema/def").TypeAliasDecl<"Length", import("tsondb/schema/def").IntegerType, []>>, false>;
|
|
@@ -85,7 +85,7 @@ export declare const ThievesTool: import("tsondb/schema/def").EntityDecl<string,
|
|
|
85
85
|
far: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
|
|
86
86
|
}>, []>>, true>;
|
|
87
87
|
ammunition: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").ReferenceIdentifierType, false>;
|
|
88
|
-
length: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IncludeIdentifierType<[], import("tsondb/schema/def").TypeAliasDecl<"Length", import("tsondb/schema/def").IntegerType, []>>,
|
|
88
|
+
length: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IncludeIdentifierType<[], import("tsondb/schema/def").TypeAliasDecl<"Length", import("tsondb/schema/def").IntegerType, []>>, false>;
|
|
89
89
|
is_improvised_weapon: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").BooleanType, true>;
|
|
90
90
|
}>, false>;
|
|
91
91
|
sanctified_by: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IncludeIdentifierType<[], import("tsondb/schema/def").TypeAliasDecl<"SanctifiedBy", import("tsondb/schema/def").ArrayType<import("tsondb/schema/def").ReferenceIdentifierType>, []>>, false>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { DefaultItem } from "./_Item.js";
|
|
2
|
-
export const ThievesTool = DefaultItem("ThievesTool");
|
|
2
|
+
export const ThievesTool = DefaultItem(import.meta.url, "ThievesTool");
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { Entity, IncludeIdentifier, Object
|
|
1
|
+
import { Entity, IncludeIdentifier, Object } from "tsondb/schema/def";
|
|
2
2
|
export declare const ToolOfTheTrade: Entity<"ToolOfTheTrade", {
|
|
3
3
|
cost: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], import("tsondb/schema/def").EnumDecl<"Cost", {
|
|
4
4
|
Free: import("tsondb/schema/def").EnumCaseDecl<null>;
|
|
5
5
|
Various: import("tsondb/schema/def").EnumCaseDecl<null>;
|
|
6
6
|
Invaluable: import("tsondb/schema/def").EnumCaseDecl<null>;
|
|
7
|
-
Fixed: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[],
|
|
7
|
+
Fixed: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"FixedCost", Object<{
|
|
8
8
|
value: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").FloatType, true>;
|
|
9
9
|
translations: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<"FixedCostTranslation", {
|
|
10
10
|
wrap_in_text: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").StringType, true>;
|
|
11
11
|
}>, false>;
|
|
12
12
|
}>, []>>>;
|
|
13
|
-
Range: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[],
|
|
13
|
+
Range: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"CostRange", Object<{
|
|
14
14
|
from: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").FloatType, true>;
|
|
15
15
|
to: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").FloatType, true>;
|
|
16
16
|
translations: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<"CostRangeTranslation", {
|
|
@@ -18,30 +18,23 @@ export declare const ToolOfTheTrade: Entity<"ToolOfTheTrade", {
|
|
|
18
18
|
}>, false>;
|
|
19
19
|
}>, []>>>;
|
|
20
20
|
}, []>>, true>;
|
|
21
|
-
weight: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[],
|
|
21
|
+
weight: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"Weight", import("tsondb/schema/def").FloatType, []>>, true>;
|
|
22
22
|
complexity: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], import("tsondb/schema/def").EnumDecl<"Complexity", {
|
|
23
23
|
Primitive: import("tsondb/schema/def").EnumCaseDecl<null>;
|
|
24
24
|
Simple: import("tsondb/schema/def").EnumCaseDecl<null>;
|
|
25
|
-
Complex: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[],
|
|
25
|
+
Complex: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"ComplexComplexity", Object<{
|
|
26
26
|
ap_value: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
|
|
27
27
|
}>, []>>>;
|
|
28
28
|
}, []>>, false>;
|
|
29
|
-
structure_points: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[],
|
|
29
|
+
structure_points: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"StructurePoints", import("tsondb/schema/def").ArrayType<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"StructurePointsComponent", Object<{
|
|
30
30
|
points: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
|
|
31
31
|
}>, []>>>, []>>, true>;
|
|
32
|
-
|
|
33
|
-
level: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], import("tsondb/schema/def").EnumDecl<"LaboratoryLevel", {
|
|
34
|
-
ArchaicLaboratory: import("tsondb/schema/def").EnumCaseDecl<null>;
|
|
35
|
-
WitchKitchen: import("tsondb/schema/def").EnumCaseDecl<null>;
|
|
36
|
-
AlchemistsLaboratory: import("tsondb/schema/def").EnumCaseDecl<null>;
|
|
37
|
-
}, []>>, true>;
|
|
38
|
-
}>, []>>, false>;
|
|
39
|
-
src: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], TypeAlias<"PublicationRefs", import("tsondb/schema/def").ArrayType<IncludeIdentifier<[], TypeAlias<"PublicationRef", Object<{
|
|
32
|
+
src: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"PublicationRefs", import("tsondb/schema/def").ArrayType<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"PublicationRef", Object<{
|
|
40
33
|
id: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").ReferenceIdentifierType, true>;
|
|
41
34
|
occurrences: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").NestedEntityMapType<"Occurrence", {
|
|
42
|
-
initial: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[],
|
|
35
|
+
initial: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"InitialOccurrence", Object<{
|
|
43
36
|
printing: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, false>;
|
|
44
|
-
pages: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").ArrayType<IncludeIdentifier<[],
|
|
37
|
+
pages: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").ArrayType<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"PageRange", Object<{
|
|
45
38
|
first_page: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], import("tsondb/schema/def").EnumDecl<"Page", {
|
|
46
39
|
InsideCoverFront: import("tsondb/schema/def").EnumCaseDecl<null>;
|
|
47
40
|
InsideCoverBack: import("tsondb/schema/def").EnumCaseDecl<null>;
|
|
@@ -55,9 +48,9 @@ export declare const ToolOfTheTrade: Entity<"ToolOfTheTrade", {
|
|
|
55
48
|
}>, []>>>, true>;
|
|
56
49
|
}>, []>>, true>;
|
|
57
50
|
revisions: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").ArrayType<IncludeIdentifier<[], import("tsondb/schema/def").EnumDecl<"Revision", {
|
|
58
|
-
Since: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[],
|
|
51
|
+
Since: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"Since", Object<{
|
|
59
52
|
printing: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
|
|
60
|
-
pages: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").ArrayType<IncludeIdentifier<[],
|
|
53
|
+
pages: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").ArrayType<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"PageRange", Object<{
|
|
61
54
|
first_page: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], import("tsondb/schema/def").EnumDecl<"Page", {
|
|
62
55
|
InsideCoverFront: import("tsondb/schema/def").EnumCaseDecl<null>;
|
|
63
56
|
InsideCoverBack: import("tsondb/schema/def").EnumCaseDecl<null>;
|
|
@@ -70,7 +63,7 @@ export declare const ToolOfTheTrade: Entity<"ToolOfTheTrade", {
|
|
|
70
63
|
}, []>>, false>;
|
|
71
64
|
}>, []>>>, true>;
|
|
72
65
|
}>, []>>>;
|
|
73
|
-
Deprecated: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[],
|
|
66
|
+
Deprecated: import("tsondb/schema/def").EnumCaseDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"Deprecation", Object<{
|
|
74
67
|
printing: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").IntegerType, true>;
|
|
75
68
|
}>, []>>>;
|
|
76
69
|
}, []>>>, false>;
|
|
@@ -81,7 +74,7 @@ export declare const ToolOfTheTrade: Entity<"ToolOfTheTrade", {
|
|
|
81
74
|
secondary_name: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").StringType, false>;
|
|
82
75
|
note: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").StringType, false>;
|
|
83
76
|
rules: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").StringType, false>;
|
|
84
|
-
errata: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[],
|
|
77
|
+
errata: import("tsondb/schema/def").MemberDecl<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"Errata", import("tsondb/schema/def").ArrayType<IncludeIdentifier<[], import("tsondb/schema/def").TypeAliasDecl<"Erratum", Object<{
|
|
85
78
|
date: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").DateType, true>;
|
|
86
79
|
description: import("tsondb/schema/def").MemberDecl<import("tsondb/schema/def").StringType, true>;
|
|
87
80
|
}>, []>>>, []>>, false>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { Entity, IncludeIdentifier, Object, Optional, Required
|
|
1
|
+
import { Entity, IncludeIdentifier, Object, Optional, Required } from "tsondb/schema/def";
|
|
2
2
|
import { src } from "../../source/_PublicationRef.js";
|
|
3
|
-
import { LaboratoryLevel } from "./_Herbary.js";
|
|
4
3
|
import { Complexity, Cost, DefaultItemTranslations, StructurePoints, Weight } from "./_Item.js";
|
|
5
4
|
export const ToolOfTheTrade = Entity(import.meta.url, {
|
|
6
5
|
name: "ToolOfTheTrade",
|
|
@@ -22,20 +21,8 @@ export const ToolOfTheTrade = Entity(import.meta.url, {
|
|
|
22
21
|
comment: "The structure points of the item. Use an array if the item consists of multiple components that have individual structure points.",
|
|
23
22
|
type: IncludeIdentifier(StructurePoints),
|
|
24
23
|
}),
|
|
25
|
-
laboratory: Optional({
|
|
26
|
-
comment: "Additional information if the item is a laboratory.",
|
|
27
|
-
type: IncludeIdentifier(Laboratory),
|
|
28
|
-
}),
|
|
29
24
|
src,
|
|
30
25
|
translations: DefaultItemTranslations("ToolOfTheTrade"),
|
|
31
26
|
}),
|
|
32
27
|
displayName: {},
|
|
33
28
|
});
|
|
34
|
-
const Laboratory = TypeAlias(import.meta.url, {
|
|
35
|
-
name: "Laboratory",
|
|
36
|
-
type: () => Object({
|
|
37
|
-
level: Required({
|
|
38
|
-
type: IncludeIdentifier(LaboratoryLevel),
|
|
39
|
-
}),
|
|
40
|
-
}),
|
|
41
|
-
});
|