optolith-database-schema 0.0.1
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/AUTHORS +1 -0
- package/CHANGELOG.md +27 -0
- package/CODEOWNERS +1 -0
- package/LICENSE +378 -0
- package/README.md +17 -0
- package/lib/main.d.ts +1 -0
- package/lib/main.js +1 -0
- package/lib/types/ArcaneBardTradition.d.ts +32 -0
- package/lib/types/ArcaneBardTradition.js +4 -0
- package/lib/types/ArcaneDancerTradition.d.ts +32 -0
- package/lib/types/ArcaneDancerTradition.js +4 -0
- package/lib/types/Aspect.d.ts +36 -0
- package/lib/types/Aspect.js +4 -0
- package/lib/types/Attribute.d.ts +42 -0
- package/lib/types/Attribute.js +5 -0
- package/lib/types/CombatTechnique_Close.d.ts +80 -0
- package/lib/types/CombatTechnique_Close.js +4 -0
- package/lib/types/CombatTechnique_Ranged.d.ts +62 -0
- package/lib/types/CombatTechnique_Ranged.js +4 -0
- package/lib/types/Condition.d.ts +51 -0
- package/lib/types/Condition.js +4 -0
- package/lib/types/Culture.d.ts +494 -0
- package/lib/types/Culture.js +4 -0
- package/lib/types/DerivedCharacteristic.d.ts +65 -0
- package/lib/types/DerivedCharacteristic.js +4 -0
- package/lib/types/Element.d.ts +30 -0
- package/lib/types/Element.js +4 -0
- package/lib/types/ExperienceLevel.d.ts +68 -0
- package/lib/types/ExperienceLevel.js +4 -0
- package/lib/types/EyeColor.d.ts +30 -0
- package/lib/types/EyeColor.js +4 -0
- package/lib/types/HairColor.d.ts +30 -0
- package/lib/types/HairColor.js +4 -0
- package/lib/types/Lessons_Curriculum.d.ts +297 -0
- package/lib/types/Lessons_Curriculum.js +4 -0
- package/lib/types/Lessons_Guideline.d.ts +36 -0
- package/lib/types/Lessons_Guideline.js +4 -0
- package/lib/types/Locale.d.ts +38 -0
- package/lib/types/Locale.js +4 -0
- package/lib/types/MetaCondition.d.ts +54 -0
- package/lib/types/MetaCondition.js +4 -0
- package/lib/types/Property.d.ts +36 -0
- package/lib/types/Property.js +4 -0
- package/lib/types/Race.d.ts +524 -0
- package/lib/types/Race.js +13 -0
- package/lib/types/Region.d.ts +30 -0
- package/lib/types/Region.js +4 -0
- package/lib/types/Service.d.ts +40 -0
- package/lib/types/Service.js +4 -0
- package/lib/types/SexPractice.d.ts +53 -0
- package/lib/types/SexPractice.js +4 -0
- package/lib/types/Skill.d.ts +169 -0
- package/lib/types/Skill.js +4 -0
- package/lib/types/SkillGroup.d.ts +40 -0
- package/lib/types/SkillGroup.js +4 -0
- package/lib/types/SkillModificationIncrement.d.ts +82 -0
- package/lib/types/SkillModificationIncrement.js +4 -0
- package/lib/types/SocialStatus.d.ts +30 -0
- package/lib/types/SocialStatus.js +4 -0
- package/lib/types/State.d.ts +40 -0
- package/lib/types/State.js +4 -0
- package/lib/types/TargetCategory.d.ts +36 -0
- package/lib/types/TargetCategory.js +4 -0
- package/lib/types/_ActivatableSkill.d.ts +919 -0
- package/lib/types/_ActivatableSkill.js +38 -0
- package/lib/types/_CommonnessRatedAdvantageDisadvantage.d.ts +12 -0
- package/lib/types/_CommonnessRatedAdvantageDisadvantage.js +1 -0
- package/lib/types/_ImprovementCost.d.ts +9 -0
- package/lib/types/_ImprovementCost.js +10 -0
- package/lib/types/_Prerequisite.d.ts +274 -0
- package/lib/types/_Prerequisite.js +4 -0
- package/lib/types/_Sex.d.ts +11 -0
- package/lib/types/_Sex.js +4 -0
- package/lib/types/_SkillCheck.d.ts +28 -0
- package/lib/types/_SkillCheck.js +1 -0
- package/lib/types/magicalActions/AnimistPower.d.ts +227 -0
- package/lib/types/magicalActions/AnimistPower.js +4 -0
- package/lib/types/magicalActions/AnimistPower_Tribe.d.ts +30 -0
- package/lib/types/magicalActions/AnimistPower_Tribe.js +4 -0
- package/lib/types/magicalActions/Curse.d.ts +228 -0
- package/lib/types/magicalActions/Curse.js +4 -0
- package/lib/types/magicalActions/DominationRitual.d.ts +181 -0
- package/lib/types/magicalActions/DominationRitual.js +4 -0
- package/lib/types/magicalActions/ElvenMagicalSong.d.ts +149 -0
- package/lib/types/magicalActions/ElvenMagicalSong.js +4 -0
- package/lib/types/magicalActions/GeodeRitual.d.ts +162 -0
- package/lib/types/magicalActions/GeodeRitual.js +4 -0
- package/lib/types/magicalActions/JesterTrick.d.ts +167 -0
- package/lib/types/magicalActions/JesterTrick.js +4 -0
- package/lib/types/magicalActions/MagicalDance.d.ts +184 -0
- package/lib/types/magicalActions/MagicalDance.js +4 -0
- package/lib/types/magicalActions/MagicalMelody.d.ts +132 -0
- package/lib/types/magicalActions/MagicalMelody.js +4 -0
- package/lib/types/magicalActions/MagicalRune.d.ts +241 -0
- package/lib/types/magicalActions/MagicalRune.js +4 -0
- package/lib/types/magicalActions/ZibiljaRitual.d.ts +101 -0
- package/lib/types/magicalActions/ZibiljaRitual.js +4 -0
- package/lib/types/magicalActions/_MusicTradition.d.ts +28 -0
- package/lib/types/magicalActions/_MusicTradition.js +1 -0
- package/lib/types/magicalActions/_SkillReference.d.ts +13 -0
- package/lib/types/magicalActions/_SkillReference.js +5 -0
- package/lib/types/rule/FocusRule.d.ts +53 -0
- package/lib/types/rule/FocusRule.js +4 -0
- package/lib/types/rule/FocusRule_Subject.d.ts +31 -0
- package/lib/types/rule/FocusRule_Subject.js +4 -0
- package/lib/types/rule/OptionalRule.d.ts +65 -0
- package/lib/types/rule/OptionalRule.js +4 -0
- package/lib/types/source/Publication.d.ts +4 -0
- package/lib/types/source/Publication.js +4 -0
- package/lib/types/source/_Erratum.d.ts +25 -0
- package/lib/types/source/_Erratum.js +4 -0
- package/lib/types/source/_PublicationRef.d.ts +146 -0
- package/lib/types/source/_PublicationRef.js +4 -0
- package/lib/validation/integrity.d.ts +16 -0
- package/lib/validation/integrity.js +3 -0
- package/package.json +37 -0
- package/schema/ArcaneBardTradition.schema.json +49 -0
- package/schema/ArcaneDancerTradition.schema.json +49 -0
- package/schema/Aspect.schema.json +50 -0
- package/schema/Attribute.schema.json +57 -0
- package/schema/CombatTechnique_Close.schema.json +127 -0
- package/schema/CombatTechnique_Ranged.schema.json +83 -0
- package/schema/Condition.schema.json +84 -0
- package/schema/Culture.schema.json +858 -0
- package/schema/DerivedCharacteristic.schema.json +90 -0
- package/schema/Element.schema.json +45 -0
- package/schema/ExperienceLevel.schema.json +84 -0
- package/schema/EyeColor.schema.json +45 -0
- package/schema/HairColor.schema.json +45 -0
- package/schema/Lessons_Curriculum.schema.json +500 -0
- package/schema/Lessons_Guideline.schema.json +51 -0
- package/schema/Locale.schema.json +45 -0
- package/schema/MetaCondition.schema.json +85 -0
- package/schema/Property.schema.json +49 -0
- package/schema/Race.schema.json +724 -0
- package/schema/Region.schema.json +45 -0
- package/schema/Service.schema.json +58 -0
- package/schema/SexPractice.schema.json +72 -0
- package/schema/Skill.schema.json +278 -0
- package/schema/SkillGroup.schema.json +56 -0
- package/schema/SkillModificationIncrement.schema.json +98 -0
- package/schema/SocialStatus.schema.json +45 -0
- package/schema/State.schema.json +58 -0
- package/schema/TargetCategory.schema.json +51 -0
- package/schema/_ActivatableSkill.schema.json +1534 -0
- package/schema/_CommonnessRatedAdvantageDisadvantage.schema.json +22 -0
- package/schema/_ImprovementCost.schema.json +15 -0
- package/schema/_Prerequisite.schema.json +519 -0
- package/schema/_Sex.schema.json +36 -0
- package/schema/_SkillCheck.schema.json +94 -0
- package/schema/magicalActions/AnimistPower.schema.json +411 -0
- package/schema/magicalActions/AnimistPower_Tribe.schema.json +45 -0
- package/schema/magicalActions/Curse.schema.json +378 -0
- package/schema/magicalActions/DominationRitual.schema.json +288 -0
- package/schema/magicalActions/ElvenMagicalSong.schema.json +194 -0
- package/schema/magicalActions/GeodeRitual.schema.json +303 -0
- package/schema/magicalActions/JesterTrick.schema.json +292 -0
- package/schema/magicalActions/MagicalDance.schema.json +328 -0
- package/schema/magicalActions/MagicalMelody.schema.json +254 -0
- package/schema/magicalActions/MagicalRune.schema.json +426 -0
- package/schema/magicalActions/ZibiljaRitual.schema.json +159 -0
- package/schema/magicalActions/_MusicTradition.schema.json +44 -0
- package/schema/magicalActions/_SkillReference.schema.json +26 -0
- package/schema/rule/FocusRule.schema.json +71 -0
- package/schema/rule/FocusRule_Subject.schema.json +46 -0
- package/schema/rule/OptionalRule.schema.json +96 -0
- package/schema/source/Publication.schema.json +165 -0
- package/schema/source/_Erratum.schema.json +37 -0
- package/schema/source/_PublicationRef.schema.json +242 -0
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @main Curse
|
|
3
|
+
*/
|
|
4
|
+
import { Errata } from "../source/_Erratum";
|
|
5
|
+
import { PublicationRefs } from "../source/_PublicationRef";
|
|
6
|
+
import { Duration, Effect } from "../_ActivatableSkill";
|
|
7
|
+
import { SkillCheck, SkillCheckPenalty } from "../_SkillCheck";
|
|
8
|
+
/**
|
|
9
|
+
* @title Curse
|
|
10
|
+
*/
|
|
11
|
+
export declare type Curse = {
|
|
12
|
+
/**
|
|
13
|
+
* The curse's identifier. An unique, increasing integer.
|
|
14
|
+
* @integer
|
|
15
|
+
* @minimum 1
|
|
16
|
+
*/
|
|
17
|
+
id: number;
|
|
18
|
+
/**
|
|
19
|
+
* Lists the linked three attributes used to make a skill check.
|
|
20
|
+
*/
|
|
21
|
+
check: SkillCheck;
|
|
22
|
+
/**
|
|
23
|
+
* In some cases, the target's Spirit or Toughness is applied as a penalty.
|
|
24
|
+
*/
|
|
25
|
+
check_penalty?: SkillCheckPenalty;
|
|
26
|
+
/**
|
|
27
|
+
* Measurable parameters of a curse.
|
|
28
|
+
*/
|
|
29
|
+
parameters: PerformanceParameters;
|
|
30
|
+
/**
|
|
31
|
+
* The property's identifier.
|
|
32
|
+
* @integer
|
|
33
|
+
* @minimum 1
|
|
34
|
+
*/
|
|
35
|
+
property_id: number;
|
|
36
|
+
src: PublicationRefs;
|
|
37
|
+
/**
|
|
38
|
+
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
39
|
+
* @minProperties 1
|
|
40
|
+
*/
|
|
41
|
+
translations: {
|
|
42
|
+
/**
|
|
43
|
+
* @patternProperties ^[a-z]{2}-[A-Z]{2}$
|
|
44
|
+
*/
|
|
45
|
+
[localeId: string]: {
|
|
46
|
+
/**
|
|
47
|
+
* The name of the curse.
|
|
48
|
+
* @minLength 1
|
|
49
|
+
*/
|
|
50
|
+
name: string;
|
|
51
|
+
/**
|
|
52
|
+
* The effect description may be either a plain text or a text that is
|
|
53
|
+
* divided by a list of effects for each quality level. It may also be a
|
|
54
|
+
* list for each two quality levels.
|
|
55
|
+
*/
|
|
56
|
+
effect: Effect.T;
|
|
57
|
+
/**
|
|
58
|
+
* @deprecated
|
|
59
|
+
*/
|
|
60
|
+
cost: {
|
|
61
|
+
full: string;
|
|
62
|
+
abbr: string;
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* @deprecated
|
|
66
|
+
*/
|
|
67
|
+
duration: {
|
|
68
|
+
full: string;
|
|
69
|
+
abbr: string;
|
|
70
|
+
};
|
|
71
|
+
errata?: Errata;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* Measurable parameters of a curse.
|
|
77
|
+
*/
|
|
78
|
+
declare type PerformanceParameters = {
|
|
79
|
+
/**
|
|
80
|
+
* The AE cost.
|
|
81
|
+
*/
|
|
82
|
+
cost: {
|
|
83
|
+
tag: "Fixed";
|
|
84
|
+
/**
|
|
85
|
+
* The (temporary) AE cost value.
|
|
86
|
+
* @integer
|
|
87
|
+
* @minimum 1
|
|
88
|
+
*/
|
|
89
|
+
value: number;
|
|
90
|
+
/**
|
|
91
|
+
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
92
|
+
* @minProperties 1
|
|
93
|
+
*/
|
|
94
|
+
translations?: {
|
|
95
|
+
/**
|
|
96
|
+
* @patternProperties ^[a-z]{2}-[A-Z]{2}$
|
|
97
|
+
* @minProperties 1
|
|
98
|
+
*/
|
|
99
|
+
[localeId: string]: {
|
|
100
|
+
/**
|
|
101
|
+
* The cost have to be per a specific countable entity, e.g. `8 KP
|
|
102
|
+
* per person`
|
|
103
|
+
*/
|
|
104
|
+
per?: {
|
|
105
|
+
/**
|
|
106
|
+
* The full countable entity name.
|
|
107
|
+
* @minLength 1
|
|
108
|
+
*/
|
|
109
|
+
default: string;
|
|
110
|
+
/**
|
|
111
|
+
* The compressed countable entity name.
|
|
112
|
+
* @minLength 1
|
|
113
|
+
*/
|
|
114
|
+
compressed: string;
|
|
115
|
+
};
|
|
116
|
+
/**
|
|
117
|
+
* A note, appended to the generated string in parenthesis.
|
|
118
|
+
*/
|
|
119
|
+
note?: {
|
|
120
|
+
/**
|
|
121
|
+
* The full note.
|
|
122
|
+
* @minLength 1
|
|
123
|
+
*/
|
|
124
|
+
default: string;
|
|
125
|
+
/**
|
|
126
|
+
* A compressed note, if applicable. If not specified it should not
|
|
127
|
+
* be displayed in small location.
|
|
128
|
+
* @minLength 1
|
|
129
|
+
*/
|
|
130
|
+
compressed?: string;
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
} | {
|
|
135
|
+
tag: "Indefinite";
|
|
136
|
+
/**
|
|
137
|
+
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
138
|
+
* @minProperties 1
|
|
139
|
+
*/
|
|
140
|
+
translations: {
|
|
141
|
+
/**
|
|
142
|
+
* @patternProperties ^[a-z]{2}-[A-Z]{2}$
|
|
143
|
+
*/
|
|
144
|
+
[localeId: string]: {
|
|
145
|
+
/**
|
|
146
|
+
* A description of where the cost come from.
|
|
147
|
+
*/
|
|
148
|
+
description: {
|
|
149
|
+
/**
|
|
150
|
+
* The full description of where the cost come from.
|
|
151
|
+
* @minLength 1
|
|
152
|
+
*/
|
|
153
|
+
default: string;
|
|
154
|
+
/**
|
|
155
|
+
* A compressed description of where the cost come from for use in
|
|
156
|
+
* small areas (e.g. on character sheet).
|
|
157
|
+
* @minLength 1
|
|
158
|
+
*/
|
|
159
|
+
compressed: string;
|
|
160
|
+
};
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
};
|
|
164
|
+
/**
|
|
165
|
+
* The duration.
|
|
166
|
+
*/
|
|
167
|
+
duration: {
|
|
168
|
+
tag: "Immediate";
|
|
169
|
+
} | {
|
|
170
|
+
tag: "Fixed";
|
|
171
|
+
/**
|
|
172
|
+
* The (unitless) duration value.
|
|
173
|
+
* @integer
|
|
174
|
+
* @minimum 1
|
|
175
|
+
*/
|
|
176
|
+
value: number;
|
|
177
|
+
/**
|
|
178
|
+
* The unit of the `value`.
|
|
179
|
+
*/
|
|
180
|
+
unit: Duration.Unit;
|
|
181
|
+
} | Duration.CheckResultBasedTagged | {
|
|
182
|
+
tag: "Indefinite";
|
|
183
|
+
/**
|
|
184
|
+
* Specified if the duration has a maximum time span.
|
|
185
|
+
*/
|
|
186
|
+
maximum?: {
|
|
187
|
+
tag: "Fixed";
|
|
188
|
+
/**
|
|
189
|
+
* The (unitless) maximum duration value.
|
|
190
|
+
* @integer
|
|
191
|
+
* @minimum 1
|
|
192
|
+
*/
|
|
193
|
+
value: number;
|
|
194
|
+
/**
|
|
195
|
+
* The unit of the `value`.
|
|
196
|
+
*/
|
|
197
|
+
unit: Duration.Unit;
|
|
198
|
+
} | Duration.CheckResultBasedTagged;
|
|
199
|
+
/**
|
|
200
|
+
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
201
|
+
* @minProperties 1
|
|
202
|
+
*/
|
|
203
|
+
translations: {
|
|
204
|
+
/**
|
|
205
|
+
* @patternProperties ^[a-z]{2}-[A-Z]{2}$
|
|
206
|
+
*/
|
|
207
|
+
[localeId: string]: {
|
|
208
|
+
/**
|
|
209
|
+
* A description of the duration.
|
|
210
|
+
*/
|
|
211
|
+
description: {
|
|
212
|
+
/**
|
|
213
|
+
* The full description of the duration.
|
|
214
|
+
* @minLength 1
|
|
215
|
+
*/
|
|
216
|
+
default: string;
|
|
217
|
+
/**
|
|
218
|
+
* A compressed description of the duration for use in small areas
|
|
219
|
+
* (e.g. on character sheet).
|
|
220
|
+
* @minLength 1
|
|
221
|
+
*/
|
|
222
|
+
compressed: string;
|
|
223
|
+
};
|
|
224
|
+
};
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
};
|
|
228
|
+
export {};
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @main DominationRitual
|
|
3
|
+
*/
|
|
4
|
+
import { Errata } from "../source/_Erratum";
|
|
5
|
+
import { PublicationRefs } from "../source/_PublicationRef";
|
|
6
|
+
import { Duration, Effect } from "../_ActivatableSkill";
|
|
7
|
+
import { SkillCheck, SkillCheckPenalty } from "../_SkillCheck";
|
|
8
|
+
/**
|
|
9
|
+
* @title Domination Ritual
|
|
10
|
+
*/
|
|
11
|
+
export declare type DominationRitual = {
|
|
12
|
+
/**
|
|
13
|
+
* The domination ritual's identifier. An unique, increasing integer.
|
|
14
|
+
* @integer
|
|
15
|
+
* @minimum 1
|
|
16
|
+
*/
|
|
17
|
+
id: number;
|
|
18
|
+
/**
|
|
19
|
+
* Lists the linked three attributes used to make a skill check.
|
|
20
|
+
*/
|
|
21
|
+
check: SkillCheck;
|
|
22
|
+
/**
|
|
23
|
+
* In some cases, the target's Spirit or Toughness is applied as a penalty.
|
|
24
|
+
*/
|
|
25
|
+
check_penalty?: SkillCheckPenalty;
|
|
26
|
+
/**
|
|
27
|
+
* Measurable parameters of a curse.
|
|
28
|
+
*/
|
|
29
|
+
parameters: PerformanceParameters;
|
|
30
|
+
/**
|
|
31
|
+
* The property's identifier.
|
|
32
|
+
* @integer
|
|
33
|
+
* @minimum 1
|
|
34
|
+
*/
|
|
35
|
+
property_id: number;
|
|
36
|
+
src: PublicationRefs;
|
|
37
|
+
/**
|
|
38
|
+
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
39
|
+
* @minProperties 1
|
|
40
|
+
*/
|
|
41
|
+
translations: {
|
|
42
|
+
/**
|
|
43
|
+
* @patternProperties ^[a-z]{2}-[A-Z]{2}$
|
|
44
|
+
*/
|
|
45
|
+
[localeId: string]: {
|
|
46
|
+
/**
|
|
47
|
+
* The name of the domination ritual.
|
|
48
|
+
* @minLength 1
|
|
49
|
+
*/
|
|
50
|
+
name: string;
|
|
51
|
+
/**
|
|
52
|
+
* The effect description may be either a plain text or a text that is
|
|
53
|
+
* divided by a list of effects for each quality level. It may also be a
|
|
54
|
+
* list for each two quality levels.
|
|
55
|
+
*/
|
|
56
|
+
effect: Effect.T;
|
|
57
|
+
/**
|
|
58
|
+
* @deprecated
|
|
59
|
+
*/
|
|
60
|
+
cost: {
|
|
61
|
+
full: string;
|
|
62
|
+
abbr: string;
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* @deprecated
|
|
66
|
+
*/
|
|
67
|
+
duration: {
|
|
68
|
+
full: string;
|
|
69
|
+
abbr: string;
|
|
70
|
+
};
|
|
71
|
+
errata?: Errata;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* Measurable parameters of a curse.
|
|
77
|
+
*/
|
|
78
|
+
declare type PerformanceParameters = {
|
|
79
|
+
/**
|
|
80
|
+
* The AE cost.
|
|
81
|
+
*/
|
|
82
|
+
cost: {
|
|
83
|
+
/**
|
|
84
|
+
* The initial skill modification identifier/level.
|
|
85
|
+
* @integer
|
|
86
|
+
* @minimum 1
|
|
87
|
+
* @maximum 6
|
|
88
|
+
*/
|
|
89
|
+
initial_modification_level: number;
|
|
90
|
+
/**
|
|
91
|
+
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
92
|
+
* @minProperties 1
|
|
93
|
+
*/
|
|
94
|
+
translations?: {
|
|
95
|
+
/**
|
|
96
|
+
* @patternProperties ^[a-z]{2}-[A-Z]{2}$
|
|
97
|
+
* @minProperties 1
|
|
98
|
+
*/
|
|
99
|
+
[localeId: string]: {
|
|
100
|
+
/**
|
|
101
|
+
* AE cost in addition to the normal AE cost.
|
|
102
|
+
*/
|
|
103
|
+
additional?: {
|
|
104
|
+
/**
|
|
105
|
+
* The full description of where the cost come from.
|
|
106
|
+
* @minLength 1
|
|
107
|
+
*/
|
|
108
|
+
default: string;
|
|
109
|
+
/**
|
|
110
|
+
* A compressed description of where the cost come from for use in
|
|
111
|
+
* small areas (e.g. on character sheet).
|
|
112
|
+
* @minLength 1
|
|
113
|
+
*/
|
|
114
|
+
compressed: string;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
/**
|
|
120
|
+
* The duration.
|
|
121
|
+
*/
|
|
122
|
+
duration: {
|
|
123
|
+
tag: "Fixed";
|
|
124
|
+
/**
|
|
125
|
+
* The (unitless) duration value.
|
|
126
|
+
* @integer
|
|
127
|
+
* @minimum 1
|
|
128
|
+
*/
|
|
129
|
+
value: number;
|
|
130
|
+
/**
|
|
131
|
+
* The unit of the `value`.
|
|
132
|
+
*/
|
|
133
|
+
unit: Duration.Unit;
|
|
134
|
+
} | Duration.CheckResultBasedTagged | {
|
|
135
|
+
tag: "Indefinite";
|
|
136
|
+
/**
|
|
137
|
+
* Specified if the duration has a maximum time span.
|
|
138
|
+
*/
|
|
139
|
+
maximum?: {
|
|
140
|
+
tag: "Fixed";
|
|
141
|
+
/**
|
|
142
|
+
* The (unitless) maximum duration value.
|
|
143
|
+
* @integer
|
|
144
|
+
* @minimum 1
|
|
145
|
+
*/
|
|
146
|
+
value: number;
|
|
147
|
+
/**
|
|
148
|
+
* The unit of the `value`.
|
|
149
|
+
*/
|
|
150
|
+
unit: Duration.Unit;
|
|
151
|
+
} | Duration.CheckResultBasedTagged;
|
|
152
|
+
/**
|
|
153
|
+
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
154
|
+
* @minProperties 1
|
|
155
|
+
*/
|
|
156
|
+
translations: {
|
|
157
|
+
/**
|
|
158
|
+
* @patternProperties ^[a-z]{2}-[A-Z]{2}$
|
|
159
|
+
*/
|
|
160
|
+
[localeId: string]: {
|
|
161
|
+
/**
|
|
162
|
+
* A description of the duration.
|
|
163
|
+
*/
|
|
164
|
+
description: {
|
|
165
|
+
/**
|
|
166
|
+
* The full description of the duration.
|
|
167
|
+
* @minLength 1
|
|
168
|
+
*/
|
|
169
|
+
default: string;
|
|
170
|
+
/**
|
|
171
|
+
* A compressed description of the duration for use in small areas
|
|
172
|
+
* (e.g. on character sheet).
|
|
173
|
+
* @minLength 1
|
|
174
|
+
*/
|
|
175
|
+
compressed: string;
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
};
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
export {};
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @main ElvenMagicalSong
|
|
3
|
+
*/
|
|
4
|
+
import { Errata } from "../source/_Erratum";
|
|
5
|
+
import { PublicationRefs } from "../source/_PublicationRef";
|
|
6
|
+
import { Duration, Effect } from "../_ActivatableSkill";
|
|
7
|
+
import { ImprovementCost } from "../_ImprovementCost";
|
|
8
|
+
import { SkillCheck, SkillCheckPenalty } from "../_SkillCheck";
|
|
9
|
+
import { SkillReference } from "./_SkillReference";
|
|
10
|
+
/**
|
|
11
|
+
* @title Elven Magical Song
|
|
12
|
+
*/
|
|
13
|
+
export declare type ElvenMagicalSong = {
|
|
14
|
+
/**
|
|
15
|
+
* The elven magical song's identifier. An unique, increasing integer.
|
|
16
|
+
* @integer
|
|
17
|
+
* @minimum 1
|
|
18
|
+
*/
|
|
19
|
+
id: number;
|
|
20
|
+
/**
|
|
21
|
+
* Lists the linked three attributes used to make a skill check.
|
|
22
|
+
*/
|
|
23
|
+
check: SkillCheck;
|
|
24
|
+
/**
|
|
25
|
+
* In some cases, the target's Spirit or Toughness is applied as a penalty.
|
|
26
|
+
*/
|
|
27
|
+
check_penalty?: SkillCheckPenalty;
|
|
28
|
+
/**
|
|
29
|
+
* To enhance their songs, elves can make a check on either *Singing
|
|
30
|
+
* (Two-Voiced Singing)* or *Music (appropriate application)* before making
|
|
31
|
+
* the check for the song.
|
|
32
|
+
* @minItems 1
|
|
33
|
+
* @maxItems 2
|
|
34
|
+
* @uniqueItems
|
|
35
|
+
*/
|
|
36
|
+
skill: SkillReference[];
|
|
37
|
+
/**
|
|
38
|
+
* Measurable parameters of an elven magical song.
|
|
39
|
+
*/
|
|
40
|
+
parameters: PerformanceParameters;
|
|
41
|
+
/**
|
|
42
|
+
* The property's identifier.
|
|
43
|
+
* @integer
|
|
44
|
+
* @minimum 1
|
|
45
|
+
*/
|
|
46
|
+
property_id: number;
|
|
47
|
+
/**
|
|
48
|
+
* States which column is used to improve the skill.
|
|
49
|
+
*/
|
|
50
|
+
improvement_cost: ImprovementCost;
|
|
51
|
+
src: PublicationRefs;
|
|
52
|
+
/**
|
|
53
|
+
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
54
|
+
* @minProperties 1
|
|
55
|
+
*/
|
|
56
|
+
translations: {
|
|
57
|
+
/**
|
|
58
|
+
* @patternProperties ^[a-z]{2}-[A-Z]{2}$
|
|
59
|
+
*/
|
|
60
|
+
[localeId: string]: {
|
|
61
|
+
/**
|
|
62
|
+
* The name of the elven magical song.
|
|
63
|
+
* @minLength 1
|
|
64
|
+
*/
|
|
65
|
+
name: string;
|
|
66
|
+
/**
|
|
67
|
+
* The effect description may be either a plain text or a text that is
|
|
68
|
+
* divided by a list of effects for each quality level. It may also be a
|
|
69
|
+
* list for each two quality levels.
|
|
70
|
+
*/
|
|
71
|
+
effect: Effect.T;
|
|
72
|
+
/**
|
|
73
|
+
* @deprecated
|
|
74
|
+
*/
|
|
75
|
+
cost: {
|
|
76
|
+
full: string;
|
|
77
|
+
abbr: string;
|
|
78
|
+
};
|
|
79
|
+
errata?: Errata;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* Measurable parameters of an elven magical song.
|
|
85
|
+
*/
|
|
86
|
+
declare type PerformanceParameters = {
|
|
87
|
+
/**
|
|
88
|
+
* The AE cost.
|
|
89
|
+
*/
|
|
90
|
+
cost: {
|
|
91
|
+
/**
|
|
92
|
+
* The (temporary) AE cost value.
|
|
93
|
+
* @integer
|
|
94
|
+
* @minimum 1
|
|
95
|
+
*/
|
|
96
|
+
value: number;
|
|
97
|
+
/**
|
|
98
|
+
* Specified if the AE cost `value` have to paid for each time interval.
|
|
99
|
+
*/
|
|
100
|
+
interval?: Duration.UnitValue;
|
|
101
|
+
/**
|
|
102
|
+
* A permanent AE cost, independent from a possible interval.
|
|
103
|
+
*/
|
|
104
|
+
permanent?: {
|
|
105
|
+
/**
|
|
106
|
+
* The permanent AE cost value.
|
|
107
|
+
* @integer
|
|
108
|
+
* @minimum 1
|
|
109
|
+
*/
|
|
110
|
+
value: number;
|
|
111
|
+
/**
|
|
112
|
+
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
113
|
+
* @minProperties 1
|
|
114
|
+
*/
|
|
115
|
+
translations?: {
|
|
116
|
+
/**
|
|
117
|
+
* @patternProperties ^[a-z]{2}-[A-Z]{2}$
|
|
118
|
+
*/
|
|
119
|
+
[localeId: string]: {
|
|
120
|
+
/**
|
|
121
|
+
* A replacement string for the permanent cost.
|
|
122
|
+
*/
|
|
123
|
+
replacement: {
|
|
124
|
+
/**
|
|
125
|
+
* The full replacement string. It must contain `$1`, which is
|
|
126
|
+
* going to be replaced with the generated AE cost string, so
|
|
127
|
+
* additional information can be provided without duplicating
|
|
128
|
+
* concrete numeric values.
|
|
129
|
+
* @minLength 1
|
|
130
|
+
* @pattern \$1
|
|
131
|
+
*/
|
|
132
|
+
default: string;
|
|
133
|
+
/**
|
|
134
|
+
* A compressed replacement string for use in small areas (e.g. on
|
|
135
|
+
* character sheet). It must contain `$1`, which is going to be
|
|
136
|
+
* replaced with the generated AE cost string, so additional
|
|
137
|
+
* information can be provided without duplicating concrete
|
|
138
|
+
* numeric values.
|
|
139
|
+
* @minLength 1
|
|
140
|
+
* @pattern \$1
|
|
141
|
+
*/
|
|
142
|
+
compressed: string;
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
export {};
|