optolith-database-schema 0.4.1 → 0.5.0
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 +18 -0
- package/lib/config.d.ts +2 -0
- package/lib/config.js +2 -0
- package/lib/main.d.ts +1 -1
- package/lib/main.js +28 -19
- package/lib/types/Cantrip.d.ts +2 -3
- package/lib/types/Culture.d.ts +8 -11
- package/lib/types/Lessons_Curriculum.d.ts +5 -4
- package/lib/types/Lessons_Guideline.d.ts +1 -1
- package/lib/types/Patron.d.ts +28 -4
- package/lib/types/Profession.d.ts +7 -6
- package/lib/types/Race.d.ts +12 -14
- package/lib/types/TargetCategory.d.ts +2 -3
- package/lib/types/_Activatable.d.ts +21 -22
- package/lib/types/_ActivatableSelectOptionCategory.d.ts +1 -1
- package/lib/types/_ActivatableSkillCost.d.ts +28 -1
- package/lib/types/_ActivatableSkillDuration.d.ts +1 -1
- package/lib/types/_ActivatableSkillRange.d.ts +3 -0
- package/lib/types/_CommonnessRatedAdvantageDisadvantage.d.ts +2 -4
- package/lib/types/_DiseasePoison.d.ts +3 -3
- package/lib/types/_Identifier.d.ts +1175 -247
- package/lib/types/_Identifier.js +0 -228
- package/lib/types/_IdentifierGroup.d.ts +27 -0
- package/lib/types/_IdentifierGroup.js +1 -0
- package/lib/types/_Prerequisite.d.ts +38 -36
- package/lib/types/_ResponsiveText.d.ts +1 -1
- package/lib/types/_SimpleReferences.d.ts +50 -253
- package/lib/types/equipment/EquipmentPackage.d.ts +1 -1
- package/lib/types/equipment/item/Elixir.d.ts +75 -0
- package/lib/types/equipment/item/Elixir.js +5 -0
- package/lib/types/equipment/item/EquipmentOfBlessedOnes.d.ts +1 -1
- package/lib/types/equipment/item/Poison.d.ts +220 -47
- package/lib/types/equipment/item/Poison.js +10 -0
- package/lib/types/equipment/item/ToolOfTheTrade.d.ts +6 -2
- package/lib/types/equipment/item/_Herbary.d.ts +31 -0
- package/lib/types/equipment/item/_Herbary.js +22 -0
- package/lib/types/equipment/item/_MeleeWeapon.d.ts +2 -9
- package/lib/types/equipment/item/_RangedWeapon.d.ts +2 -3
- package/lib/types/magicalActions/AnimistPower.d.ts +0 -1
- package/lib/types/magicalActions/MagicalRune.d.ts +22 -3
- package/lib/types/magicalActions/_SkillReference.d.ts +3 -2
- package/lib/types/magicalActions/_SkillReference.js +5 -5
- package/lib/types/prerequisites/PrerequisiteGroups.d.ts +2 -20
- package/lib/types/prerequisites/single/ActivatablePrerequisite.d.ts +1 -62
- package/lib/types/prerequisites/single/AnimistPowerPrerequisite.d.ts +2 -3
- package/lib/types/prerequisites/single/CulturePrerequisite.d.ts +5 -2
- package/lib/types/prerequisites/single/EnhancementPrerequisite.d.ts +1 -1
- package/lib/types/prerequisites/single/InfluencePrerequisite.d.ts +2 -3
- package/lib/types/prerequisites/single/RacePrerequisite.d.ts +5 -2
- package/lib/types/prerequisites/single/RatedPrerequisite.d.ts +1 -18
- package/lib/types/prerequisites/single/RulePrerequisite.d.ts +1 -1
- package/lib/types/prerequisites/single/SocialStatusPrerequisite.d.ts +2 -4
- package/lib/types/prerequisites/single/StatePrerequisite.d.ts +2 -2
- package/lib/types/rule/CoreRule.d.ts +4 -7
- package/lib/types/source/_PublicationRef.d.ts +2 -3
- package/lib/types/specialAbility/BlessedTradition.d.ts +1 -1
- package/lib/types/specialAbility/CombatStyleSpecialAbility.d.ts +2 -1
- package/lib/types/specialAbility/LiturgicalStyleSpecialAbility.d.ts +2 -1
- package/lib/types/specialAbility/MagicStyleSpecialAbility.d.ts +2 -1
- package/lib/types/specialAbility/MagicalTradition.d.ts +2 -3
- package/lib/types/specialAbility/PactGift.d.ts +1 -1
- package/lib/types/specialAbility/SkillStyleSpecialAbility.d.ts +2 -1
- package/lib/types/specialAbility/sub/_LanguageScript.d.ts +2 -4
- package/lib/validation/schema.js +1 -1
- package/package.json +2 -2
- package/schema/Cantrip.schema.json +1 -2
- package/schema/Culture.schema.json +51 -10
- package/schema/Lessons_Curriculum.schema.json +8 -12
- package/schema/Lessons_Guideline.schema.json +1 -1
- package/schema/Patron.schema.json +24 -6
- package/schema/Profession.schema.json +57 -15
- package/schema/Race.schema.json +121 -13
- package/schema/TargetCategory.schema.json +1 -2
- package/schema/_Activatable.schema.json +5 -181
- package/schema/_ActivatableSelectOptionCategory.schema.json +4 -4
- package/schema/_ActivatableSkillCost.schema.json +61 -0
- package/schema/_ActivatableSkillDuration.schema.json +1 -3
- package/schema/_ActivatableSkillRange.schema.json +19 -0
- package/schema/_DiseasePoison.schema.json +0 -2
- package/schema/_Identifier.schema.json +2099 -347
- package/schema/_IdentifierGroup.schema.json +601 -0
- package/schema/_Prerequisite.schema.json +1284 -1049
- package/schema/_ResponsiveText.schema.json +2 -2
- package/schema/_SimpleReferences.schema.json +54 -130
- package/schema/equipment/EquipmentPackage.schema.json +1 -1
- package/schema/equipment/item/Elixir.schema.json +123 -0
- package/schema/equipment/item/EquipmentOfBlessedOnes.schema.json +4 -1
- package/schema/equipment/item/Poison.schema.json +431 -68
- package/schema/equipment/item/ToolOfTheTrade.schema.json +15 -4
- package/schema/equipment/item/_Herbary.schema.json +42 -0
- package/schema/equipment/item/_MeleeWeapon.schema.json +1 -13
- package/schema/equipment/item/_RangedWeapon.schema.json +1 -2
- package/schema/magicalActions/AnimistPower.schema.json +0 -1
- package/schema/magicalActions/MagicalRune.schema.json +38 -3
- package/schema/magicalActions/_SkillReference.schema.json +15 -3
- package/schema/prerequisites/PrerequisiteGroups.schema.json +0 -96
- package/schema/prerequisites/single/ActivatablePrerequisite.schema.json +2 -87
- package/schema/prerequisites/single/AnimistPowerPrerequisite.schema.json +1 -2
- package/schema/prerequisites/single/CulturePrerequisite.schema.json +2 -1
- package/schema/prerequisites/single/EnhancementPrerequisite.schema.json +1 -1
- package/schema/prerequisites/single/InfluencePrerequisite.schema.json +1 -2
- package/schema/prerequisites/single/RacePrerequisite.schema.json +2 -1
- package/schema/prerequisites/single/RatedPrerequisite.schema.json +1 -28
- package/schema/prerequisites/single/RulePrerequisite.schema.json +1 -1
- package/schema/prerequisites/single/SocialStatusPrerequisite.schema.json +1 -3
- package/schema/prerequisites/single/StatePrerequisite.schema.json +1 -1
- package/schema/rule/CoreRule.schema.json +3 -5
- package/schema/source/_PublicationRef.schema.json +1 -2
- package/schema/specialAbility/BlessedTradition.schema.json +2 -2
- package/schema/specialAbility/CombatStyleSpecialAbility.schema.json +511 -1
- package/schema/specialAbility/LiturgicalStyleSpecialAbility.schema.json +511 -1
- package/schema/specialAbility/MagicStyleSpecialAbility.schema.json +511 -1
- package/schema/specialAbility/MagicalTradition.schema.json +1 -2
- package/schema/specialAbility/PactGift.schema.json +1 -1
- package/schema/specialAbility/SkillStyleSpecialAbility.schema.json +511 -1
- package/schema/specialAbility/sub/_LanguageScript.schema.json +1 -3
- package/schema/_CommonnessRatedAdvantageDisadvantage.schema.json +0 -22
|
@@ -12,10 +12,6 @@
|
|
|
12
12
|
"type": "integer",
|
|
13
13
|
"minimum": 1
|
|
14
14
|
},
|
|
15
|
-
"level": {
|
|
16
|
-
"description": "The poison's level.",
|
|
17
|
-
"$ref": "#/$defs/PoisonLevel"
|
|
18
|
-
},
|
|
19
15
|
"application_type": {
|
|
20
16
|
"description": "The poison's application type(s).",
|
|
21
17
|
"type": "array",
|
|
@@ -33,6 +29,26 @@
|
|
|
33
29
|
"description": "Use Spirit or Toughness as a modifier for the poison.",
|
|
34
30
|
"$ref": "../../_DiseasePoison.schema.json#/$defs/Resistance"
|
|
35
31
|
},
|
|
32
|
+
"start": {
|
|
33
|
+
"description": "When the poison takes effect.",
|
|
34
|
+
"$ref": "#/$defs/PoisonStart"
|
|
35
|
+
},
|
|
36
|
+
"duration": {
|
|
37
|
+
"description": "An effect or other parameter that may be reduced by a failed disease check\nfor lessening or a degraded poison.\n\nThis streamlines the wording for diseases and poison by using a unified\nwording for *lessened* (disease) and *degraded* (poison).",
|
|
38
|
+
"type": "object",
|
|
39
|
+
"properties": {
|
|
40
|
+
"default": {
|
|
41
|
+
"$ref": "#/$defs/PoisonDuration"
|
|
42
|
+
},
|
|
43
|
+
"reduced": {
|
|
44
|
+
"$ref": "#/$defs/PoisonDuration"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"required": [
|
|
48
|
+
"default"
|
|
49
|
+
],
|
|
50
|
+
"additionalProperties": false
|
|
51
|
+
},
|
|
36
52
|
"value": {
|
|
37
53
|
"description": "The raw (ingredients) value, in silverthalers.",
|
|
38
54
|
"type": "integer",
|
|
@@ -60,10 +76,11 @@
|
|
|
60
76
|
},
|
|
61
77
|
"required": [
|
|
62
78
|
"id",
|
|
63
|
-
"level",
|
|
64
79
|
"application_type",
|
|
65
80
|
"source_type",
|
|
66
81
|
"resistance",
|
|
82
|
+
"start",
|
|
83
|
+
"duration",
|
|
67
84
|
"value",
|
|
68
85
|
"cost",
|
|
69
86
|
"src",
|
|
@@ -71,15 +88,23 @@
|
|
|
71
88
|
],
|
|
72
89
|
"additionalProperties": false
|
|
73
90
|
},
|
|
74
|
-
"
|
|
91
|
+
"PoisonApplicationType": {
|
|
92
|
+
"enum": [
|
|
93
|
+
"Weapon",
|
|
94
|
+
"Ingestion",
|
|
95
|
+
"Inhalation",
|
|
96
|
+
"Contact"
|
|
97
|
+
]
|
|
98
|
+
},
|
|
99
|
+
"PoisonStart": {
|
|
75
100
|
"oneOf": [
|
|
76
101
|
{
|
|
77
102
|
"type": "object",
|
|
78
103
|
"properties": {
|
|
79
104
|
"tag": {
|
|
80
|
-
"const": "
|
|
105
|
+
"const": "Immediate"
|
|
81
106
|
},
|
|
82
|
-
"
|
|
107
|
+
"immediate": {
|
|
83
108
|
"type": "object",
|
|
84
109
|
"properties": {},
|
|
85
110
|
"required": [],
|
|
@@ -88,7 +113,23 @@
|
|
|
88
113
|
},
|
|
89
114
|
"required": [
|
|
90
115
|
"tag",
|
|
91
|
-
"
|
|
116
|
+
"immediate"
|
|
117
|
+
],
|
|
118
|
+
"additionalProperties": false
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"type": "object",
|
|
122
|
+
"properties": {
|
|
123
|
+
"tag": {
|
|
124
|
+
"const": "Constant"
|
|
125
|
+
},
|
|
126
|
+
"constant": {
|
|
127
|
+
"$ref": "#/$defs/ConstantPoisonTime"
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"required": [
|
|
131
|
+
"tag",
|
|
132
|
+
"constant"
|
|
92
133
|
],
|
|
93
134
|
"additionalProperties": false
|
|
94
135
|
},
|
|
@@ -96,39 +137,93 @@
|
|
|
96
137
|
"type": "object",
|
|
97
138
|
"properties": {
|
|
98
139
|
"tag": {
|
|
99
|
-
"const": "
|
|
140
|
+
"const": "DiceBased"
|
|
100
141
|
},
|
|
101
|
-
"
|
|
102
|
-
"$ref": "#/$defs/
|
|
142
|
+
"dice_based": {
|
|
143
|
+
"$ref": "#/$defs/DiceBasedPoisonTime"
|
|
103
144
|
}
|
|
104
145
|
},
|
|
105
146
|
"required": [
|
|
106
147
|
"tag",
|
|
107
|
-
"
|
|
148
|
+
"dice_based"
|
|
108
149
|
],
|
|
109
150
|
"additionalProperties": false
|
|
110
151
|
}
|
|
111
152
|
]
|
|
112
153
|
},
|
|
113
|
-
"
|
|
154
|
+
"PoisonDuration": {
|
|
155
|
+
"oneOf": [
|
|
156
|
+
{
|
|
157
|
+
"type": "object",
|
|
158
|
+
"properties": {
|
|
159
|
+
"tag": {
|
|
160
|
+
"const": "Constant"
|
|
161
|
+
},
|
|
162
|
+
"constant": {
|
|
163
|
+
"$ref": "#/$defs/ConstantPoisonTime"
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
"required": [
|
|
167
|
+
"tag",
|
|
168
|
+
"constant"
|
|
169
|
+
],
|
|
170
|
+
"additionalProperties": false
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"type": "object",
|
|
174
|
+
"properties": {
|
|
175
|
+
"tag": {
|
|
176
|
+
"const": "DiceBased"
|
|
177
|
+
},
|
|
178
|
+
"dice_based": {
|
|
179
|
+
"$ref": "#/$defs/DiceBasedPoisonTime"
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
"required": [
|
|
183
|
+
"tag",
|
|
184
|
+
"dice_based"
|
|
185
|
+
],
|
|
186
|
+
"additionalProperties": false
|
|
187
|
+
}
|
|
188
|
+
]
|
|
189
|
+
},
|
|
190
|
+
"ConstantPoisonTime": {
|
|
114
191
|
"type": "object",
|
|
115
192
|
"properties": {
|
|
116
193
|
"value": {
|
|
117
|
-
"type": "
|
|
118
|
-
|
|
194
|
+
"type": "number"
|
|
195
|
+
},
|
|
196
|
+
"unit": {
|
|
197
|
+
"$ref": "#/$defs/PoisonTimeUnit"
|
|
119
198
|
}
|
|
120
199
|
},
|
|
121
200
|
"required": [
|
|
122
|
-
"value"
|
|
201
|
+
"value",
|
|
202
|
+
"unit"
|
|
123
203
|
],
|
|
124
204
|
"additionalProperties": false
|
|
125
205
|
},
|
|
126
|
-
"
|
|
206
|
+
"DiceBasedPoisonTime": {
|
|
207
|
+
"type": "object",
|
|
208
|
+
"properties": {
|
|
209
|
+
"dice": {
|
|
210
|
+
"$ref": "../../_Dice.schema.json#/$defs/Dice"
|
|
211
|
+
},
|
|
212
|
+
"unit": {
|
|
213
|
+
"$ref": "#/$defs/PoisonTimeUnit"
|
|
214
|
+
}
|
|
215
|
+
},
|
|
216
|
+
"required": [
|
|
217
|
+
"dice",
|
|
218
|
+
"unit"
|
|
219
|
+
],
|
|
220
|
+
"additionalProperties": false
|
|
221
|
+
},
|
|
222
|
+
"PoisonTimeUnit": {
|
|
127
223
|
"enum": [
|
|
128
|
-
"
|
|
129
|
-
"
|
|
130
|
-
"
|
|
131
|
-
"Contact"
|
|
224
|
+
"CombatRounds",
|
|
225
|
+
"Minutes",
|
|
226
|
+
"Hours"
|
|
132
227
|
]
|
|
133
228
|
},
|
|
134
229
|
"PoisonSourceType": {
|
|
@@ -140,10 +235,7 @@
|
|
|
140
235
|
"const": "AnimalVenom"
|
|
141
236
|
},
|
|
142
237
|
"animal_venom": {
|
|
143
|
-
"
|
|
144
|
-
"properties": {},
|
|
145
|
-
"required": [],
|
|
146
|
-
"additionalProperties": false
|
|
238
|
+
"$ref": "#/$defs/AnimalVenom"
|
|
147
239
|
}
|
|
148
240
|
},
|
|
149
241
|
"required": [
|
|
@@ -159,10 +251,7 @@
|
|
|
159
251
|
"const": "AlchemicalPoison"
|
|
160
252
|
},
|
|
161
253
|
"alchemical_poison": {
|
|
162
|
-
"
|
|
163
|
-
"properties": {},
|
|
164
|
-
"required": [],
|
|
165
|
-
"additionalProperties": false
|
|
254
|
+
"$ref": "#/$defs/AlchemicalPoison"
|
|
166
255
|
}
|
|
167
256
|
},
|
|
168
257
|
"required": [
|
|
@@ -178,10 +267,7 @@
|
|
|
178
267
|
"const": "MineralPoison"
|
|
179
268
|
},
|
|
180
269
|
"mineral_poison": {
|
|
181
|
-
"
|
|
182
|
-
"properties": {},
|
|
183
|
-
"required": [],
|
|
184
|
-
"additionalProperties": false
|
|
270
|
+
"$ref": "#/$defs/MineralPoison"
|
|
185
271
|
}
|
|
186
272
|
},
|
|
187
273
|
"required": [
|
|
@@ -205,40 +291,199 @@
|
|
|
205
291
|
"plant_poison"
|
|
206
292
|
],
|
|
207
293
|
"additionalProperties": false
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"type": "object",
|
|
297
|
+
"properties": {
|
|
298
|
+
"tag": {
|
|
299
|
+
"const": "DemonicPoison"
|
|
300
|
+
},
|
|
301
|
+
"demonic_poison": {
|
|
302
|
+
"$ref": "#/$defs/DemonicPoison"
|
|
303
|
+
}
|
|
304
|
+
},
|
|
305
|
+
"required": [
|
|
306
|
+
"tag",
|
|
307
|
+
"demonic_poison"
|
|
308
|
+
],
|
|
309
|
+
"additionalProperties": false
|
|
208
310
|
}
|
|
209
311
|
]
|
|
210
312
|
},
|
|
313
|
+
"AnimalVenom": {
|
|
314
|
+
"type": "object",
|
|
315
|
+
"properties": {
|
|
316
|
+
"level": {
|
|
317
|
+
"description": "The poison’s level.",
|
|
318
|
+
"type": "integer",
|
|
319
|
+
"maximum": 6,
|
|
320
|
+
"minimum": 1
|
|
321
|
+
}
|
|
322
|
+
},
|
|
323
|
+
"required": [
|
|
324
|
+
"level"
|
|
325
|
+
],
|
|
326
|
+
"additionalProperties": false
|
|
327
|
+
},
|
|
328
|
+
"AlchemicalPoison": {
|
|
329
|
+
"type": "object",
|
|
330
|
+
"properties": {
|
|
331
|
+
"effect_types": {
|
|
332
|
+
"description": "Effect type(s) of an alchemical poison.",
|
|
333
|
+
"type": "array",
|
|
334
|
+
"items": {
|
|
335
|
+
"$ref": "./_Herbary.schema.json#/$defs/EffectType"
|
|
336
|
+
},
|
|
337
|
+
"minItems": 1,
|
|
338
|
+
"uniqueItems": true
|
|
339
|
+
},
|
|
340
|
+
"cost_per_ingredient_level": {
|
|
341
|
+
"description": "The cost per ingredient level in silverthalers.",
|
|
342
|
+
"type": "number"
|
|
343
|
+
},
|
|
344
|
+
"laboratory": {
|
|
345
|
+
"description": "The laboratory level needed to brew the elixir.",
|
|
346
|
+
"$ref": "./_Herbary.schema.json#/$defs/LaboratoryLevel"
|
|
347
|
+
},
|
|
348
|
+
"brewing_difficulty": {
|
|
349
|
+
"description": "The brewing difficulty, which represents the challenge of creating an\nelixir.",
|
|
350
|
+
"type": "integer"
|
|
351
|
+
},
|
|
352
|
+
"trade_secret": {
|
|
353
|
+
"description": "AP value and prerequisites of the elixir recipe’s trade secret.",
|
|
354
|
+
"$ref": "./_Herbary.schema.json#/$defs/RecipeTradeSecret"
|
|
355
|
+
},
|
|
356
|
+
"intoxicant": {
|
|
357
|
+
"description": "Additional information if the poison is an intoxicant.",
|
|
358
|
+
"$ref": "#/$defs/Intoxicant"
|
|
359
|
+
},
|
|
360
|
+
"translations": {
|
|
361
|
+
"description": "All translations for the entry, identified by IETF language tag (BCP47).",
|
|
362
|
+
"type": "object",
|
|
363
|
+
"patternProperties": {
|
|
364
|
+
"^[a-z]{2}-[A-Z]{2}$": {
|
|
365
|
+
"$ref": "#/$defs/AlchemicalPoisonTranslation"
|
|
366
|
+
}
|
|
367
|
+
},
|
|
368
|
+
"minProperties": 1,
|
|
369
|
+
"additionalProperties": false
|
|
370
|
+
}
|
|
371
|
+
},
|
|
372
|
+
"required": [
|
|
373
|
+
"effect_types",
|
|
374
|
+
"cost_per_ingredient_level",
|
|
375
|
+
"laboratory",
|
|
376
|
+
"brewing_difficulty",
|
|
377
|
+
"trade_secret",
|
|
378
|
+
"translations"
|
|
379
|
+
],
|
|
380
|
+
"additionalProperties": false
|
|
381
|
+
},
|
|
382
|
+
"AlchemicalPoisonTranslation": {
|
|
383
|
+
"type": "object",
|
|
384
|
+
"properties": {
|
|
385
|
+
"common_ingredients": {
|
|
386
|
+
"description": "A list of common ingredients.",
|
|
387
|
+
"type": "array",
|
|
388
|
+
"items": {
|
|
389
|
+
"$ref": "../../_NonEmptyString.schema.json#/$defs/NonEmptyString"
|
|
390
|
+
},
|
|
391
|
+
"minItems": 1,
|
|
392
|
+
"uniqueItems": true
|
|
393
|
+
},
|
|
394
|
+
"brewing_process_prerequisites": {
|
|
395
|
+
"description": "Prerequsites for the brewing process, if any.",
|
|
396
|
+
"$ref": "../../_NonEmptyString.schema.json#/$defs/NonEmptyMarkdown"
|
|
397
|
+
}
|
|
398
|
+
},
|
|
399
|
+
"required": [
|
|
400
|
+
"common_ingredients"
|
|
401
|
+
],
|
|
402
|
+
"additionalProperties": false
|
|
403
|
+
},
|
|
404
|
+
"MineralPoison": {
|
|
405
|
+
"type": "object",
|
|
406
|
+
"properties": {
|
|
407
|
+
"level": {
|
|
408
|
+
"description": "The poison’s level.",
|
|
409
|
+
"type": "integer",
|
|
410
|
+
"maximum": 6,
|
|
411
|
+
"minimum": 1
|
|
412
|
+
}
|
|
413
|
+
},
|
|
414
|
+
"required": [
|
|
415
|
+
"level"
|
|
416
|
+
],
|
|
417
|
+
"additionalProperties": false
|
|
418
|
+
},
|
|
211
419
|
"PlantPoison": {
|
|
212
420
|
"type": "object",
|
|
213
421
|
"properties": {
|
|
214
|
-
"
|
|
215
|
-
"description": "
|
|
216
|
-
"
|
|
422
|
+
"effect_types": {
|
|
423
|
+
"description": "Effect type(s) of a plant poison.",
|
|
424
|
+
"type": "array",
|
|
425
|
+
"items": {
|
|
426
|
+
"$ref": "./_Herbary.schema.json#/$defs/EffectType"
|
|
427
|
+
},
|
|
428
|
+
"minItems": 1,
|
|
429
|
+
"uniqueItems": true
|
|
430
|
+
},
|
|
431
|
+
"level": {
|
|
432
|
+
"description": "The poison’s level.",
|
|
433
|
+
"type": "integer",
|
|
434
|
+
"maximum": 6,
|
|
435
|
+
"minimum": 1
|
|
436
|
+
},
|
|
437
|
+
"intoxicant": {
|
|
438
|
+
"description": "Additional information if the poison is an intoxicant.",
|
|
439
|
+
"$ref": "#/$defs/Intoxicant"
|
|
440
|
+
}
|
|
441
|
+
},
|
|
442
|
+
"required": [
|
|
443
|
+
"effect_types",
|
|
444
|
+
"level"
|
|
445
|
+
],
|
|
446
|
+
"additionalProperties": false
|
|
447
|
+
},
|
|
448
|
+
"DemonicPoison": {
|
|
449
|
+
"type": "object",
|
|
450
|
+
"properties": {
|
|
451
|
+
"level": {
|
|
452
|
+
"description": "The poison’s level.",
|
|
453
|
+
"$ref": "#/$defs/DemonicPoisonLevel"
|
|
454
|
+
},
|
|
455
|
+
"translations": {
|
|
456
|
+
"description": "All translations for the entry, identified by IETF language tag (BCP47).",
|
|
457
|
+
"type": "object",
|
|
458
|
+
"patternProperties": {
|
|
459
|
+
"^[a-z]{2}-[A-Z]{2}$": {
|
|
460
|
+
"$ref": "#/$defs/DemonicPoisonTranslation"
|
|
461
|
+
}
|
|
462
|
+
},
|
|
463
|
+
"minProperties": 1,
|
|
464
|
+
"additionalProperties": false
|
|
217
465
|
}
|
|
218
466
|
},
|
|
219
467
|
"required": [
|
|
220
|
-
"
|
|
468
|
+
"level"
|
|
221
469
|
],
|
|
222
470
|
"additionalProperties": false
|
|
223
471
|
},
|
|
224
|
-
"
|
|
472
|
+
"DemonicPoisonLevel": {
|
|
225
473
|
"oneOf": [
|
|
226
474
|
{
|
|
227
475
|
"type": "object",
|
|
228
476
|
"properties": {
|
|
229
477
|
"tag": {
|
|
230
|
-
"const": "
|
|
478
|
+
"const": "QualityLevel"
|
|
231
479
|
},
|
|
232
|
-
"
|
|
233
|
-
"
|
|
234
|
-
"properties": {},
|
|
235
|
-
"required": [],
|
|
236
|
-
"additionalProperties": false
|
|
480
|
+
"quality_level": {
|
|
481
|
+
"$ref": "#/$defs/QualityLevelDemonicPoisonLevel"
|
|
237
482
|
}
|
|
238
483
|
},
|
|
239
484
|
"required": [
|
|
240
485
|
"tag",
|
|
241
|
-
"
|
|
486
|
+
"quality_level"
|
|
242
487
|
],
|
|
243
488
|
"additionalProperties": false
|
|
244
489
|
},
|
|
@@ -246,27 +491,75 @@
|
|
|
246
491
|
"type": "object",
|
|
247
492
|
"properties": {
|
|
248
493
|
"tag": {
|
|
249
|
-
"const": "
|
|
494
|
+
"const": "Constant"
|
|
250
495
|
},
|
|
251
|
-
"
|
|
252
|
-
"$ref": "#/$defs/
|
|
496
|
+
"constant": {
|
|
497
|
+
"$ref": "#/$defs/ConstantDemonicPoisonLevel"
|
|
253
498
|
}
|
|
254
499
|
},
|
|
255
500
|
"required": [
|
|
256
501
|
"tag",
|
|
257
|
-
"
|
|
502
|
+
"constant"
|
|
258
503
|
],
|
|
259
504
|
"additionalProperties": false
|
|
260
505
|
}
|
|
261
506
|
]
|
|
262
507
|
},
|
|
508
|
+
"QualityLevelDemonicPoisonLevel": {
|
|
509
|
+
"type": "object",
|
|
510
|
+
"properties": {
|
|
511
|
+
"source": {
|
|
512
|
+
"$ref": "#/$defs/QualityLevelDemonicPoisonLevelSource"
|
|
513
|
+
}
|
|
514
|
+
},
|
|
515
|
+
"required": [
|
|
516
|
+
"source"
|
|
517
|
+
],
|
|
518
|
+
"additionalProperties": false
|
|
519
|
+
},
|
|
520
|
+
"QualityLevelDemonicPoisonLevelSource": {
|
|
521
|
+
"enum": [
|
|
522
|
+
"Spellwork"
|
|
523
|
+
]
|
|
524
|
+
},
|
|
525
|
+
"ConstantDemonicPoisonLevel": {
|
|
526
|
+
"type": "object",
|
|
527
|
+
"properties": {
|
|
528
|
+
"value": {
|
|
529
|
+
"description": "The poison’s level.",
|
|
530
|
+
"type": "integer",
|
|
531
|
+
"maximum": 6,
|
|
532
|
+
"minimum": 1
|
|
533
|
+
}
|
|
534
|
+
},
|
|
535
|
+
"required": [
|
|
536
|
+
"value"
|
|
537
|
+
],
|
|
538
|
+
"additionalProperties": false
|
|
539
|
+
},
|
|
540
|
+
"DemonicPoisonTranslation": {
|
|
541
|
+
"type": "object",
|
|
542
|
+
"properties": {
|
|
543
|
+
"note": {
|
|
544
|
+
"description": "A note, if any.",
|
|
545
|
+
"$ref": "../../_NonEmptyString.schema.json#/$defs/NonEmptyMarkdown"
|
|
546
|
+
}
|
|
547
|
+
},
|
|
548
|
+
"required": [],
|
|
549
|
+
"minProperties": 1,
|
|
550
|
+
"additionalProperties": false
|
|
551
|
+
},
|
|
263
552
|
"Intoxicant": {
|
|
264
553
|
"type": "object",
|
|
265
554
|
"properties": {
|
|
266
555
|
"legality": {
|
|
267
|
-
"description": "Whether the use of the intoxicant is legal or not.",
|
|
556
|
+
"description": "Whether the use of the intoxicant is legal or not, usually from the\nperspective of most middle-Aventurian an northern-Aventurian nations.",
|
|
268
557
|
"$ref": "#/$defs/IntoxicantLegality"
|
|
269
558
|
},
|
|
559
|
+
"addiction": {
|
|
560
|
+
"description": "The chance of getting addicted after an ingestion in addition to the\nmaximum interval at which it, while addicted, must be ingested to not\nsuffer from withdrawal symptoms.",
|
|
561
|
+
"$ref": "#/$defs/IntoxicantAddiction"
|
|
562
|
+
},
|
|
270
563
|
"translations": {
|
|
271
564
|
"description": "All translations for the entry, identified by IETF language tag (BCP47).",
|
|
272
565
|
"type": "object",
|
|
@@ -286,6 +579,7 @@
|
|
|
286
579
|
"additionalProperties": false
|
|
287
580
|
},
|
|
288
581
|
"IntoxicantLegality": {
|
|
582
|
+
"description": "Whether the use of the intoxicant is legal or not, usually from the\nperspective of most middle-Aventurian an northern-Aventurian nations.",
|
|
289
583
|
"type": "object",
|
|
290
584
|
"properties": {
|
|
291
585
|
"is_legal": {
|
|
@@ -297,6 +591,88 @@
|
|
|
297
591
|
],
|
|
298
592
|
"additionalProperties": false
|
|
299
593
|
},
|
|
594
|
+
"IntoxicantAddiction": {
|
|
595
|
+
"description": "The chance of getting addicted after an ingestion in addition to the maximum\ninterval at which it, while addicted, must be ingested to not suffer from\nwithdrawal symptoms.",
|
|
596
|
+
"type": "object",
|
|
597
|
+
"properties": {
|
|
598
|
+
"chance": {
|
|
599
|
+
"description": "The chance of getting addicted after an ingestion.",
|
|
600
|
+
"type": "number"
|
|
601
|
+
},
|
|
602
|
+
"interval": {
|
|
603
|
+
"description": "The maximum interval at which it, while addicted, must be ingested to not\nsuffer from withdrawal symptoms.",
|
|
604
|
+
"$ref": "#/$defs/IntoxicantAddictionInterval"
|
|
605
|
+
}
|
|
606
|
+
},
|
|
607
|
+
"required": [
|
|
608
|
+
"chance",
|
|
609
|
+
"interval"
|
|
610
|
+
],
|
|
611
|
+
"additionalProperties": false
|
|
612
|
+
},
|
|
613
|
+
"IntoxicantAddictionInterval": {
|
|
614
|
+
"description": "The maximum interval at which it, while addicted, must be ingested to not\nsuffer from withdrawal symptoms.",
|
|
615
|
+
"oneOf": [
|
|
616
|
+
{
|
|
617
|
+
"type": "object",
|
|
618
|
+
"properties": {
|
|
619
|
+
"tag": {
|
|
620
|
+
"const": "Constant"
|
|
621
|
+
},
|
|
622
|
+
"constant": {
|
|
623
|
+
"$ref": "#/$defs/ConstantIntoxicantAddictionInterval"
|
|
624
|
+
}
|
|
625
|
+
},
|
|
626
|
+
"required": [
|
|
627
|
+
"tag",
|
|
628
|
+
"constant"
|
|
629
|
+
],
|
|
630
|
+
"additionalProperties": false
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
"type": "object",
|
|
634
|
+
"properties": {
|
|
635
|
+
"tag": {
|
|
636
|
+
"const": "DiceBased"
|
|
637
|
+
},
|
|
638
|
+
"dice_based": {
|
|
639
|
+
"$ref": "#/$defs/DiceBasedIntoxicantAddictionInterval"
|
|
640
|
+
}
|
|
641
|
+
},
|
|
642
|
+
"required": [
|
|
643
|
+
"tag",
|
|
644
|
+
"dice_based"
|
|
645
|
+
],
|
|
646
|
+
"additionalProperties": false
|
|
647
|
+
}
|
|
648
|
+
]
|
|
649
|
+
},
|
|
650
|
+
"ConstantIntoxicantAddictionInterval": {
|
|
651
|
+
"type": "object",
|
|
652
|
+
"properties": {
|
|
653
|
+
"value": {
|
|
654
|
+
"description": "The interval value in days.",
|
|
655
|
+
"type": "number"
|
|
656
|
+
}
|
|
657
|
+
},
|
|
658
|
+
"required": [
|
|
659
|
+
"value"
|
|
660
|
+
],
|
|
661
|
+
"additionalProperties": false
|
|
662
|
+
},
|
|
663
|
+
"DiceBasedIntoxicantAddictionInterval": {
|
|
664
|
+
"type": "object",
|
|
665
|
+
"properties": {
|
|
666
|
+
"dice": {
|
|
667
|
+
"description": "The dice that define the interval value in days.",
|
|
668
|
+
"$ref": "../../_Dice.schema.json#/$defs/Dice"
|
|
669
|
+
}
|
|
670
|
+
},
|
|
671
|
+
"required": [
|
|
672
|
+
"dice"
|
|
673
|
+
],
|
|
674
|
+
"additionalProperties": false
|
|
675
|
+
},
|
|
300
676
|
"IntoxicantTranslation": {
|
|
301
677
|
"type": "object",
|
|
302
678
|
"properties": {
|
|
@@ -305,17 +681,15 @@
|
|
|
305
681
|
"$ref": "../../_NonEmptyString.schema.json#/$defs/NonEmptyString"
|
|
306
682
|
},
|
|
307
683
|
"side_effect": {
|
|
308
|
-
"description": "The intoxicants side effects,
|
|
684
|
+
"description": "The intoxicants side effects that always happen, no matter whether the\nintoxicant has the default or the reduced effect.",
|
|
309
685
|
"$ref": "../../_NonEmptyString.schema.json#/$defs/NonEmptyMarkdown"
|
|
310
686
|
},
|
|
311
687
|
"overdose": {
|
|
312
|
-
"description": "What happens if the intoxicant has been overdosed.",
|
|
688
|
+
"description": "What happens if the intoxicant has been overdosed, that is, it has been\ningested another time within the duration.",
|
|
313
689
|
"$ref": "../../_NonEmptyString.schema.json#/$defs/NonEmptyMarkdown"
|
|
314
690
|
},
|
|
315
691
|
"special": {
|
|
316
|
-
"
|
|
317
|
-
},
|
|
318
|
-
"addiction": {
|
|
692
|
+
"description": "Special information about the intoxicant.",
|
|
319
693
|
"$ref": "../../_NonEmptyString.schema.json#/$defs/NonEmptyMarkdown"
|
|
320
694
|
}
|
|
321
695
|
},
|
|
@@ -344,24 +718,13 @@
|
|
|
344
718
|
"description": "The normal and degraded poison's effects.",
|
|
345
719
|
"$ref": "../../_DiseasePoison.schema.json#/$defs/Reduceable"
|
|
346
720
|
},
|
|
347
|
-
"start": {
|
|
348
|
-
"description": "When the poison takes effect.",
|
|
349
|
-
"type": "string",
|
|
350
|
-
"minLength": 1
|
|
351
|
-
},
|
|
352
|
-
"duration": {
|
|
353
|
-
"description": "The normal and degraded poison's duration.",
|
|
354
|
-
"$ref": "../../_DiseasePoison.schema.json#/$defs/Reduceable"
|
|
355
|
-
},
|
|
356
721
|
"errata": {
|
|
357
722
|
"$ref": "../../source/_Erratum.schema.json#/$defs/Errata"
|
|
358
723
|
}
|
|
359
724
|
},
|
|
360
725
|
"required": [
|
|
361
726
|
"name",
|
|
362
|
-
"effect"
|
|
363
|
-
"start",
|
|
364
|
-
"duration"
|
|
727
|
+
"effect"
|
|
365
728
|
],
|
|
366
729
|
"additionalProperties": false
|
|
367
730
|
}
|