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,162 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @main GeodeRitual
|
|
3
|
+
*/
|
|
4
|
+
import { Errata } from "../source/_Erratum";
|
|
5
|
+
import { PublicationRefs } from "../source/_PublicationRef";
|
|
6
|
+
import { CastingTime, Cost, Duration, Effect, TargetCategory } from "../_ActivatableSkill";
|
|
7
|
+
import { GroupCollection } from "../_Prerequisite";
|
|
8
|
+
import { SkillCheck } from "../_SkillCheck";
|
|
9
|
+
/**
|
|
10
|
+
* @title Geode Ritual
|
|
11
|
+
*/
|
|
12
|
+
export declare type GeodeRitual = {
|
|
13
|
+
/**
|
|
14
|
+
* The geode ritual's identifier. An unique, increasing integer.
|
|
15
|
+
* @integer
|
|
16
|
+
* @minimum 1
|
|
17
|
+
*/
|
|
18
|
+
id: number;
|
|
19
|
+
/**
|
|
20
|
+
* Lists the linked three attributes used to make a skill check.
|
|
21
|
+
*/
|
|
22
|
+
check: SkillCheck;
|
|
23
|
+
/**
|
|
24
|
+
* Measurable parameters of a geode ritual.
|
|
25
|
+
*/
|
|
26
|
+
parameters: PerformanceParameters;
|
|
27
|
+
/**
|
|
28
|
+
* The target category – the kind of creature or object – the skill affects.
|
|
29
|
+
*/
|
|
30
|
+
target: TargetCategory.T;
|
|
31
|
+
/**
|
|
32
|
+
* The property's identifier.
|
|
33
|
+
* @integer
|
|
34
|
+
* @minimum 1
|
|
35
|
+
*/
|
|
36
|
+
property_id: number;
|
|
37
|
+
prerequisites?: GroupCollection.GeodeRitual;
|
|
38
|
+
src: PublicationRefs;
|
|
39
|
+
/**
|
|
40
|
+
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
41
|
+
* @minProperties 1
|
|
42
|
+
*/
|
|
43
|
+
translations: {
|
|
44
|
+
/**
|
|
45
|
+
* @patternProperties ^[a-z]{2}-[A-Z]{2}$
|
|
46
|
+
*/
|
|
47
|
+
[localeId: string]: {
|
|
48
|
+
/**
|
|
49
|
+
* The name of the geode ritual.
|
|
50
|
+
* @minLength 1
|
|
51
|
+
*/
|
|
52
|
+
name: string;
|
|
53
|
+
/**
|
|
54
|
+
* The effect description may be either a plain text or a text that is
|
|
55
|
+
* divided by a list of effects for each quality level. It may also be a
|
|
56
|
+
* list for each two quality levels.
|
|
57
|
+
*/
|
|
58
|
+
effect: Effect.T;
|
|
59
|
+
/**
|
|
60
|
+
* @deprecated
|
|
61
|
+
*/
|
|
62
|
+
casting_time: {
|
|
63
|
+
full: string;
|
|
64
|
+
abbr: string;
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* @deprecated
|
|
68
|
+
*/
|
|
69
|
+
cost: {
|
|
70
|
+
full: string;
|
|
71
|
+
abbr: string;
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* @deprecated
|
|
75
|
+
*/
|
|
76
|
+
range: {
|
|
77
|
+
full: string;
|
|
78
|
+
abbr: string;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* @deprecated
|
|
82
|
+
*/
|
|
83
|
+
duration: {
|
|
84
|
+
full: string;
|
|
85
|
+
abbr: string;
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
* @deprecated
|
|
89
|
+
*/
|
|
90
|
+
target: string;
|
|
91
|
+
errata?: Errata;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
/**
|
|
96
|
+
* Measurable parameters of a geode ritual.
|
|
97
|
+
*/
|
|
98
|
+
declare type PerformanceParameters = {
|
|
99
|
+
/**
|
|
100
|
+
* The casting time.
|
|
101
|
+
*/
|
|
102
|
+
casting_time: {
|
|
103
|
+
/**
|
|
104
|
+
* The (unitless) casting time.
|
|
105
|
+
* @integer
|
|
106
|
+
* @minimum 1
|
|
107
|
+
*/
|
|
108
|
+
value: number;
|
|
109
|
+
/**
|
|
110
|
+
* The casting time unit.
|
|
111
|
+
*/
|
|
112
|
+
unit: CastingTime.SlowSkillCastingTimeUnit;
|
|
113
|
+
};
|
|
114
|
+
/**
|
|
115
|
+
* The AE cost.
|
|
116
|
+
*/
|
|
117
|
+
cost: {
|
|
118
|
+
tag: "Fixed";
|
|
119
|
+
/**
|
|
120
|
+
* The AE cost value.
|
|
121
|
+
* @integer
|
|
122
|
+
* @minimum 1
|
|
123
|
+
*/
|
|
124
|
+
value: number;
|
|
125
|
+
} | {
|
|
126
|
+
tag: "Map";
|
|
127
|
+
map: Cost.OneTime.Map;
|
|
128
|
+
};
|
|
129
|
+
/**
|
|
130
|
+
* The range.
|
|
131
|
+
*/
|
|
132
|
+
range: {
|
|
133
|
+
tag: "Self";
|
|
134
|
+
} | {
|
|
135
|
+
tag: "Fixed";
|
|
136
|
+
/**
|
|
137
|
+
* The range in steps/m.
|
|
138
|
+
* @integer
|
|
139
|
+
* @minimum 1
|
|
140
|
+
*/
|
|
141
|
+
value: number;
|
|
142
|
+
};
|
|
143
|
+
/**
|
|
144
|
+
* The duration.
|
|
145
|
+
*/
|
|
146
|
+
duration: {
|
|
147
|
+
tag: "Immediate";
|
|
148
|
+
} | {
|
|
149
|
+
tag: "Fixed";
|
|
150
|
+
/**
|
|
151
|
+
* The (unitless) duration.
|
|
152
|
+
* @integer
|
|
153
|
+
* @minimum 2
|
|
154
|
+
*/
|
|
155
|
+
value: number;
|
|
156
|
+
/**
|
|
157
|
+
* The duration unit.
|
|
158
|
+
*/
|
|
159
|
+
unit: Duration.Unit;
|
|
160
|
+
} | Duration.CheckResultBasedTagged;
|
|
161
|
+
};
|
|
162
|
+
export {};
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @main JesterTrick
|
|
3
|
+
*/
|
|
4
|
+
import { Errata } from "../source/_Erratum";
|
|
5
|
+
import { PublicationRefs } from "../source/_PublicationRef";
|
|
6
|
+
import { Duration, Effect, TargetCategory } from "../_ActivatableSkill";
|
|
7
|
+
import { ImprovementCost } from "../_ImprovementCost";
|
|
8
|
+
import { SkillCheck, SkillCheckPenalty } from "../_SkillCheck";
|
|
9
|
+
/**
|
|
10
|
+
* @title Jester Trick
|
|
11
|
+
*/
|
|
12
|
+
export declare type JesterTrick = {
|
|
13
|
+
/**
|
|
14
|
+
* The jester trick's identifier. An unique, increasing integer.
|
|
15
|
+
* @integer
|
|
16
|
+
* @minimum 1
|
|
17
|
+
*/
|
|
18
|
+
id: number;
|
|
19
|
+
/**
|
|
20
|
+
* Lists the linked three attributes used to make a skill check.
|
|
21
|
+
*/
|
|
22
|
+
check: SkillCheck;
|
|
23
|
+
/**
|
|
24
|
+
* In some cases, the target's Spirit or Toughness is applied as a penalty.
|
|
25
|
+
*/
|
|
26
|
+
check_penalty?: SkillCheckPenalty;
|
|
27
|
+
/**
|
|
28
|
+
* Measurable parameters of a jester trick.
|
|
29
|
+
*/
|
|
30
|
+
parameters: PerformanceParameters;
|
|
31
|
+
/**
|
|
32
|
+
* The target category – the kind of creature or object – the skill affects.
|
|
33
|
+
*/
|
|
34
|
+
target: TargetCategory.T;
|
|
35
|
+
/**
|
|
36
|
+
* The property's identifier.
|
|
37
|
+
* @integer
|
|
38
|
+
* @minimum 1
|
|
39
|
+
*/
|
|
40
|
+
property_id: number;
|
|
41
|
+
/**
|
|
42
|
+
* States which column is used to improve the skill.
|
|
43
|
+
*/
|
|
44
|
+
improvement_cost: ImprovementCost;
|
|
45
|
+
src: PublicationRefs;
|
|
46
|
+
/**
|
|
47
|
+
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
48
|
+
* @minProperties 1
|
|
49
|
+
*/
|
|
50
|
+
translations: {
|
|
51
|
+
/**
|
|
52
|
+
* @patternProperties ^[a-z]{2}-[A-Z]{2}$
|
|
53
|
+
*/
|
|
54
|
+
[localeId: string]: {
|
|
55
|
+
/**
|
|
56
|
+
* The name of the jester trick.
|
|
57
|
+
* @minLength 1
|
|
58
|
+
*/
|
|
59
|
+
name: string;
|
|
60
|
+
/**
|
|
61
|
+
* The effect description may be either a plain text or a text that is
|
|
62
|
+
* divided by a list of effects for each quality level. It may also be a
|
|
63
|
+
* list for each two quality levels.
|
|
64
|
+
*/
|
|
65
|
+
effect: Effect.T;
|
|
66
|
+
/**
|
|
67
|
+
* @deprecated
|
|
68
|
+
*/
|
|
69
|
+
casting_time: {
|
|
70
|
+
full: string;
|
|
71
|
+
abbr: string;
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* @deprecated
|
|
75
|
+
*/
|
|
76
|
+
cost: {
|
|
77
|
+
full: string;
|
|
78
|
+
abbr: string;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* @deprecated
|
|
82
|
+
*/
|
|
83
|
+
range: {
|
|
84
|
+
full: string;
|
|
85
|
+
abbr: string;
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
* @deprecated
|
|
89
|
+
*/
|
|
90
|
+
duration: {
|
|
91
|
+
full: string;
|
|
92
|
+
abbr: string;
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* @deprecated
|
|
96
|
+
*/
|
|
97
|
+
target: string;
|
|
98
|
+
errata?: Errata;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
/**
|
|
103
|
+
* Measurable parameters of a jester trick.
|
|
104
|
+
*/
|
|
105
|
+
declare type PerformanceParameters = {
|
|
106
|
+
/**
|
|
107
|
+
* The casting time.
|
|
108
|
+
* @integer
|
|
109
|
+
* @minimum 1
|
|
110
|
+
*/
|
|
111
|
+
casting_time: {
|
|
112
|
+
/**
|
|
113
|
+
* The casting time in actions.
|
|
114
|
+
* @integer
|
|
115
|
+
* @minimum 1
|
|
116
|
+
*/
|
|
117
|
+
value: number;
|
|
118
|
+
};
|
|
119
|
+
/**
|
|
120
|
+
* The AE cost.
|
|
121
|
+
* @integer
|
|
122
|
+
* @minimum 1
|
|
123
|
+
*/
|
|
124
|
+
cost: {
|
|
125
|
+
/**
|
|
126
|
+
* The AE cost value.
|
|
127
|
+
* @integer
|
|
128
|
+
* @minimum 1
|
|
129
|
+
*/
|
|
130
|
+
value: number;
|
|
131
|
+
};
|
|
132
|
+
/**
|
|
133
|
+
* The range.
|
|
134
|
+
*/
|
|
135
|
+
range: {
|
|
136
|
+
tag: "Touch";
|
|
137
|
+
} | {
|
|
138
|
+
tag: "Self";
|
|
139
|
+
} | {
|
|
140
|
+
tag: "Fixed";
|
|
141
|
+
/**
|
|
142
|
+
* The range in steps/m.
|
|
143
|
+
* @integer
|
|
144
|
+
* @minimum 2
|
|
145
|
+
*/
|
|
146
|
+
value: number;
|
|
147
|
+
};
|
|
148
|
+
/**
|
|
149
|
+
* The duration.
|
|
150
|
+
*/
|
|
151
|
+
duration: {
|
|
152
|
+
tag: "Immediate";
|
|
153
|
+
} | {
|
|
154
|
+
tag: "Fixed";
|
|
155
|
+
/**
|
|
156
|
+
* The (unitless) duration.
|
|
157
|
+
* @integer
|
|
158
|
+
* @minimum 2
|
|
159
|
+
*/
|
|
160
|
+
value: number;
|
|
161
|
+
/**
|
|
162
|
+
* The duration unit.
|
|
163
|
+
*/
|
|
164
|
+
unit: Duration.Unit;
|
|
165
|
+
} | Duration.CheckResultBasedTagged;
|
|
166
|
+
};
|
|
167
|
+
export {};
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @main MagicalDance
|
|
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 } from "../_SkillCheck";
|
|
9
|
+
import { MusicTraditionReference } from "./_MusicTradition";
|
|
10
|
+
/**
|
|
11
|
+
* @title Magical Dance
|
|
12
|
+
*/
|
|
13
|
+
export declare type MagicalDance = {
|
|
14
|
+
/**
|
|
15
|
+
* The magical dance'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
|
+
* Measurable parameters of a magical dance.
|
|
26
|
+
*/
|
|
27
|
+
parameters: PerformanceParameters;
|
|
28
|
+
/**
|
|
29
|
+
* The property's identifier.
|
|
30
|
+
* @integer
|
|
31
|
+
* @minimum 1
|
|
32
|
+
*/
|
|
33
|
+
property_id: number;
|
|
34
|
+
/**
|
|
35
|
+
* The music tradition(s) the magical dance is available for. This also
|
|
36
|
+
* defines the different names in each music tradition.
|
|
37
|
+
* @minItems 1
|
|
38
|
+
*/
|
|
39
|
+
music_tradition: MusicTraditionReference[];
|
|
40
|
+
/**
|
|
41
|
+
* States which column is used to improve the skill.
|
|
42
|
+
*/
|
|
43
|
+
improvement_cost: ImprovementCost;
|
|
44
|
+
src: PublicationRefs;
|
|
45
|
+
/**
|
|
46
|
+
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
47
|
+
* @minProperties 1
|
|
48
|
+
*/
|
|
49
|
+
translations: {
|
|
50
|
+
/**
|
|
51
|
+
* @patternProperties ^[a-z]{2}-[A-Z]{2}$
|
|
52
|
+
*/
|
|
53
|
+
[localeId: string]: {
|
|
54
|
+
/**
|
|
55
|
+
* The name of the magical dance.
|
|
56
|
+
* @minLength 1
|
|
57
|
+
*/
|
|
58
|
+
name: string;
|
|
59
|
+
/**
|
|
60
|
+
* The effect description may be either a plain text or a text that is
|
|
61
|
+
* divided by a list of effects for each quality level. It may also be a
|
|
62
|
+
* list for each two quality levels.
|
|
63
|
+
*/
|
|
64
|
+
effect: Effect.T;
|
|
65
|
+
/**
|
|
66
|
+
* @deprecated
|
|
67
|
+
*/
|
|
68
|
+
duration: {
|
|
69
|
+
full: string;
|
|
70
|
+
abbr: string;
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* @deprecated
|
|
74
|
+
*/
|
|
75
|
+
cost: {
|
|
76
|
+
full: string;
|
|
77
|
+
abbr: string;
|
|
78
|
+
};
|
|
79
|
+
errata?: Errata;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* Measurable parameters of a magical dance.
|
|
85
|
+
*/
|
|
86
|
+
declare type PerformanceParameters = {
|
|
87
|
+
duration: {
|
|
88
|
+
length: {
|
|
89
|
+
tag: "Long";
|
|
90
|
+
} | {
|
|
91
|
+
tag: "Short";
|
|
92
|
+
};
|
|
93
|
+
reusability: {
|
|
94
|
+
tag: "OneTime";
|
|
95
|
+
} | {
|
|
96
|
+
tag: "Sustainable";
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
cost: {
|
|
100
|
+
tag: "Fixed";
|
|
101
|
+
/**
|
|
102
|
+
* The (temporary) AE cost value.
|
|
103
|
+
* @integer
|
|
104
|
+
* @minimum 1
|
|
105
|
+
*/
|
|
106
|
+
value: number;
|
|
107
|
+
/**
|
|
108
|
+
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
109
|
+
* @minProperties 1
|
|
110
|
+
*/
|
|
111
|
+
translations?: {
|
|
112
|
+
/**
|
|
113
|
+
* @patternProperties ^[a-z]{2}-[A-Z]{2}$
|
|
114
|
+
* @minProperties 1
|
|
115
|
+
*/
|
|
116
|
+
[localeId: string]: {
|
|
117
|
+
/**
|
|
118
|
+
* The cost have to be per a specific countable entity, e.g. `8 AE per
|
|
119
|
+
* person`.
|
|
120
|
+
*/
|
|
121
|
+
per?: {
|
|
122
|
+
/**
|
|
123
|
+
* The full countable entity name.
|
|
124
|
+
* @minLength 1
|
|
125
|
+
*/
|
|
126
|
+
default: string;
|
|
127
|
+
/**
|
|
128
|
+
* The compressed countable entity name.
|
|
129
|
+
* @minLength 1
|
|
130
|
+
*/
|
|
131
|
+
compressed: string;
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
} | {
|
|
136
|
+
tag: "Indefinite";
|
|
137
|
+
/**
|
|
138
|
+
* Specified if the indefinite description's result value is to be
|
|
139
|
+
* modified by a certain number.
|
|
140
|
+
*/
|
|
141
|
+
modifier?: {
|
|
142
|
+
/**
|
|
143
|
+
* The arithmetic how to apply the `value` to the indefinite value.
|
|
144
|
+
*/
|
|
145
|
+
arithmetic: Duration.CheckResultArithmetic;
|
|
146
|
+
/**
|
|
147
|
+
* The value that is applied to the indefinite value using the defined
|
|
148
|
+
* `arithmetic`.
|
|
149
|
+
* @integer
|
|
150
|
+
* @minimum 2
|
|
151
|
+
*/
|
|
152
|
+
value: number;
|
|
153
|
+
};
|
|
154
|
+
/**
|
|
155
|
+
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
156
|
+
* @minProperties 1
|
|
157
|
+
*/
|
|
158
|
+
translations: {
|
|
159
|
+
/**
|
|
160
|
+
* @patternProperties ^[a-z]{2}-[A-Z]{2}$
|
|
161
|
+
*/
|
|
162
|
+
[localeId: string]: {
|
|
163
|
+
/**
|
|
164
|
+
* A description of the duration.
|
|
165
|
+
* @minLength 1
|
|
166
|
+
*/
|
|
167
|
+
description: {
|
|
168
|
+
/**
|
|
169
|
+
* The full description of the duration.
|
|
170
|
+
* @minLength 1
|
|
171
|
+
*/
|
|
172
|
+
default: string;
|
|
173
|
+
/**
|
|
174
|
+
* A compressed description of the duration for use in small areas
|
|
175
|
+
* (e.g. on character sheet).
|
|
176
|
+
* @minLength 1
|
|
177
|
+
*/
|
|
178
|
+
compressed: string;
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
};
|
|
184
|
+
export {};
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @main MagicalMelody
|
|
3
|
+
*/
|
|
4
|
+
import { Errata } from "../source/_Erratum";
|
|
5
|
+
import { PublicationRefs } from "../source/_PublicationRef";
|
|
6
|
+
import { Effect } from "../_ActivatableSkill";
|
|
7
|
+
import { ImprovementCost } from "../_ImprovementCost";
|
|
8
|
+
import { SkillCheck, SkillCheckPenalty } from "../_SkillCheck";
|
|
9
|
+
import { MusicTraditionReference } from "./_MusicTradition";
|
|
10
|
+
import { SkillReference } from "./_SkillReference";
|
|
11
|
+
/**
|
|
12
|
+
* @title Magical Melody
|
|
13
|
+
*/
|
|
14
|
+
export declare type MagicalMelody = {
|
|
15
|
+
/**
|
|
16
|
+
* The magical melody's identifier. An unique, increasing integer.
|
|
17
|
+
* @integer
|
|
18
|
+
* @minimum 1
|
|
19
|
+
*/
|
|
20
|
+
id: number;
|
|
21
|
+
/**
|
|
22
|
+
* Lists the linked three attributes used to make a skill check.
|
|
23
|
+
*/
|
|
24
|
+
check: SkillCheck;
|
|
25
|
+
/**
|
|
26
|
+
* In some cases, the target's Spirit or Toughness is applied as a penalty.
|
|
27
|
+
*/
|
|
28
|
+
check_penalty?: SkillCheckPenalty;
|
|
29
|
+
/**
|
|
30
|
+
* Arcane bards must make a *Singing (area of application)* or *Music (area of
|
|
31
|
+
* application)* check for each magical melody.
|
|
32
|
+
* @minItems 1
|
|
33
|
+
* @maxItems 2
|
|
34
|
+
* @uniqueItems
|
|
35
|
+
*/
|
|
36
|
+
skill: SkillReference[];
|
|
37
|
+
/**
|
|
38
|
+
* Measurable parameters of a magical melody.
|
|
39
|
+
*/
|
|
40
|
+
parameters: PerformanceParameters;
|
|
41
|
+
/**
|
|
42
|
+
* The property's identifier.
|
|
43
|
+
* @integer
|
|
44
|
+
* @minimum 1
|
|
45
|
+
*/
|
|
46
|
+
property_id: number;
|
|
47
|
+
/**
|
|
48
|
+
* The music tradition(s) the magical melody is available for. This also
|
|
49
|
+
* defines the different names in each music tradition.
|
|
50
|
+
* @minItems 1
|
|
51
|
+
*/
|
|
52
|
+
music_tradition: MusicTraditionReference[];
|
|
53
|
+
/**
|
|
54
|
+
* States which column is used to improve the skill.
|
|
55
|
+
*/
|
|
56
|
+
improvement_cost: ImprovementCost;
|
|
57
|
+
src: PublicationRefs;
|
|
58
|
+
/**
|
|
59
|
+
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
60
|
+
* @minProperties 1
|
|
61
|
+
*/
|
|
62
|
+
translations: {
|
|
63
|
+
/**
|
|
64
|
+
* @patternProperties ^[a-z]{2}-[A-Z]{2}$
|
|
65
|
+
*/
|
|
66
|
+
[localeId: string]: {
|
|
67
|
+
/**
|
|
68
|
+
* The name of the magical melody.
|
|
69
|
+
* @minLength 1
|
|
70
|
+
*/
|
|
71
|
+
name: string;
|
|
72
|
+
/**
|
|
73
|
+
* The effect description may be either a plain text or a text that is
|
|
74
|
+
* divided by a list of effects for each quality level. It may also be a
|
|
75
|
+
* list for each two quality levels.
|
|
76
|
+
*/
|
|
77
|
+
effect: Effect.T;
|
|
78
|
+
/**
|
|
79
|
+
* @deprecated
|
|
80
|
+
*/
|
|
81
|
+
duration: {
|
|
82
|
+
full: string;
|
|
83
|
+
abbr: string;
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* @deprecated
|
|
87
|
+
*/
|
|
88
|
+
cost: {
|
|
89
|
+
full: string;
|
|
90
|
+
abbr: string;
|
|
91
|
+
};
|
|
92
|
+
errata?: Errata;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* Measurable parameters of a magical melody.
|
|
98
|
+
*/
|
|
99
|
+
declare type PerformanceParameters = {
|
|
100
|
+
duration: {
|
|
101
|
+
length: {
|
|
102
|
+
tag: "Long";
|
|
103
|
+
} | {
|
|
104
|
+
tag: "Short";
|
|
105
|
+
};
|
|
106
|
+
reusability: {
|
|
107
|
+
tag: "OneTime";
|
|
108
|
+
} | {
|
|
109
|
+
tag: "Sustainable";
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
cost: {
|
|
113
|
+
tag: "Fixed";
|
|
114
|
+
/**
|
|
115
|
+
* The (temporary) AE cost value.
|
|
116
|
+
* @integer
|
|
117
|
+
* @minimum 1
|
|
118
|
+
*/
|
|
119
|
+
value: number;
|
|
120
|
+
} | {
|
|
121
|
+
tag: "FirstPerson";
|
|
122
|
+
/**
|
|
123
|
+
* The (temporary) AE cost value for the first targeted person. The AE
|
|
124
|
+
* cost for each additional person is half this value.
|
|
125
|
+
* @integer
|
|
126
|
+
* @minimum 1
|
|
127
|
+
* @multipleOf 2
|
|
128
|
+
*/
|
|
129
|
+
value: number;
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
export {};
|