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.
Files changed (169) hide show
  1. package/AUTHORS +1 -0
  2. package/CHANGELOG.md +27 -0
  3. package/CODEOWNERS +1 -0
  4. package/LICENSE +378 -0
  5. package/README.md +17 -0
  6. package/lib/main.d.ts +1 -0
  7. package/lib/main.js +1 -0
  8. package/lib/types/ArcaneBardTradition.d.ts +32 -0
  9. package/lib/types/ArcaneBardTradition.js +4 -0
  10. package/lib/types/ArcaneDancerTradition.d.ts +32 -0
  11. package/lib/types/ArcaneDancerTradition.js +4 -0
  12. package/lib/types/Aspect.d.ts +36 -0
  13. package/lib/types/Aspect.js +4 -0
  14. package/lib/types/Attribute.d.ts +42 -0
  15. package/lib/types/Attribute.js +5 -0
  16. package/lib/types/CombatTechnique_Close.d.ts +80 -0
  17. package/lib/types/CombatTechnique_Close.js +4 -0
  18. package/lib/types/CombatTechnique_Ranged.d.ts +62 -0
  19. package/lib/types/CombatTechnique_Ranged.js +4 -0
  20. package/lib/types/Condition.d.ts +51 -0
  21. package/lib/types/Condition.js +4 -0
  22. package/lib/types/Culture.d.ts +494 -0
  23. package/lib/types/Culture.js +4 -0
  24. package/lib/types/DerivedCharacteristic.d.ts +65 -0
  25. package/lib/types/DerivedCharacteristic.js +4 -0
  26. package/lib/types/Element.d.ts +30 -0
  27. package/lib/types/Element.js +4 -0
  28. package/lib/types/ExperienceLevel.d.ts +68 -0
  29. package/lib/types/ExperienceLevel.js +4 -0
  30. package/lib/types/EyeColor.d.ts +30 -0
  31. package/lib/types/EyeColor.js +4 -0
  32. package/lib/types/HairColor.d.ts +30 -0
  33. package/lib/types/HairColor.js +4 -0
  34. package/lib/types/Lessons_Curriculum.d.ts +297 -0
  35. package/lib/types/Lessons_Curriculum.js +4 -0
  36. package/lib/types/Lessons_Guideline.d.ts +36 -0
  37. package/lib/types/Lessons_Guideline.js +4 -0
  38. package/lib/types/Locale.d.ts +38 -0
  39. package/lib/types/Locale.js +4 -0
  40. package/lib/types/MetaCondition.d.ts +54 -0
  41. package/lib/types/MetaCondition.js +4 -0
  42. package/lib/types/Property.d.ts +36 -0
  43. package/lib/types/Property.js +4 -0
  44. package/lib/types/Race.d.ts +524 -0
  45. package/lib/types/Race.js +13 -0
  46. package/lib/types/Region.d.ts +30 -0
  47. package/lib/types/Region.js +4 -0
  48. package/lib/types/Service.d.ts +40 -0
  49. package/lib/types/Service.js +4 -0
  50. package/lib/types/SexPractice.d.ts +53 -0
  51. package/lib/types/SexPractice.js +4 -0
  52. package/lib/types/Skill.d.ts +169 -0
  53. package/lib/types/Skill.js +4 -0
  54. package/lib/types/SkillGroup.d.ts +40 -0
  55. package/lib/types/SkillGroup.js +4 -0
  56. package/lib/types/SkillModificationIncrement.d.ts +82 -0
  57. package/lib/types/SkillModificationIncrement.js +4 -0
  58. package/lib/types/SocialStatus.d.ts +30 -0
  59. package/lib/types/SocialStatus.js +4 -0
  60. package/lib/types/State.d.ts +40 -0
  61. package/lib/types/State.js +4 -0
  62. package/lib/types/TargetCategory.d.ts +36 -0
  63. package/lib/types/TargetCategory.js +4 -0
  64. package/lib/types/_ActivatableSkill.d.ts +919 -0
  65. package/lib/types/_ActivatableSkill.js +38 -0
  66. package/lib/types/_CommonnessRatedAdvantageDisadvantage.d.ts +12 -0
  67. package/lib/types/_CommonnessRatedAdvantageDisadvantage.js +1 -0
  68. package/lib/types/_ImprovementCost.d.ts +9 -0
  69. package/lib/types/_ImprovementCost.js +10 -0
  70. package/lib/types/_Prerequisite.d.ts +274 -0
  71. package/lib/types/_Prerequisite.js +4 -0
  72. package/lib/types/_Sex.d.ts +11 -0
  73. package/lib/types/_Sex.js +4 -0
  74. package/lib/types/_SkillCheck.d.ts +28 -0
  75. package/lib/types/_SkillCheck.js +1 -0
  76. package/lib/types/magicalActions/AnimistPower.d.ts +227 -0
  77. package/lib/types/magicalActions/AnimistPower.js +4 -0
  78. package/lib/types/magicalActions/AnimistPower_Tribe.d.ts +30 -0
  79. package/lib/types/magicalActions/AnimistPower_Tribe.js +4 -0
  80. package/lib/types/magicalActions/Curse.d.ts +228 -0
  81. package/lib/types/magicalActions/Curse.js +4 -0
  82. package/lib/types/magicalActions/DominationRitual.d.ts +181 -0
  83. package/lib/types/magicalActions/DominationRitual.js +4 -0
  84. package/lib/types/magicalActions/ElvenMagicalSong.d.ts +149 -0
  85. package/lib/types/magicalActions/ElvenMagicalSong.js +4 -0
  86. package/lib/types/magicalActions/GeodeRitual.d.ts +162 -0
  87. package/lib/types/magicalActions/GeodeRitual.js +4 -0
  88. package/lib/types/magicalActions/JesterTrick.d.ts +167 -0
  89. package/lib/types/magicalActions/JesterTrick.js +4 -0
  90. package/lib/types/magicalActions/MagicalDance.d.ts +184 -0
  91. package/lib/types/magicalActions/MagicalDance.js +4 -0
  92. package/lib/types/magicalActions/MagicalMelody.d.ts +132 -0
  93. package/lib/types/magicalActions/MagicalMelody.js +4 -0
  94. package/lib/types/magicalActions/MagicalRune.d.ts +241 -0
  95. package/lib/types/magicalActions/MagicalRune.js +4 -0
  96. package/lib/types/magicalActions/ZibiljaRitual.d.ts +101 -0
  97. package/lib/types/magicalActions/ZibiljaRitual.js +4 -0
  98. package/lib/types/magicalActions/_MusicTradition.d.ts +28 -0
  99. package/lib/types/magicalActions/_MusicTradition.js +1 -0
  100. package/lib/types/magicalActions/_SkillReference.d.ts +13 -0
  101. package/lib/types/magicalActions/_SkillReference.js +5 -0
  102. package/lib/types/rule/FocusRule.d.ts +53 -0
  103. package/lib/types/rule/FocusRule.js +4 -0
  104. package/lib/types/rule/FocusRule_Subject.d.ts +31 -0
  105. package/lib/types/rule/FocusRule_Subject.js +4 -0
  106. package/lib/types/rule/OptionalRule.d.ts +65 -0
  107. package/lib/types/rule/OptionalRule.js +4 -0
  108. package/lib/types/source/Publication.d.ts +4 -0
  109. package/lib/types/source/Publication.js +4 -0
  110. package/lib/types/source/_Erratum.d.ts +25 -0
  111. package/lib/types/source/_Erratum.js +4 -0
  112. package/lib/types/source/_PublicationRef.d.ts +146 -0
  113. package/lib/types/source/_PublicationRef.js +4 -0
  114. package/lib/validation/integrity.d.ts +16 -0
  115. package/lib/validation/integrity.js +3 -0
  116. package/package.json +37 -0
  117. package/schema/ArcaneBardTradition.schema.json +49 -0
  118. package/schema/ArcaneDancerTradition.schema.json +49 -0
  119. package/schema/Aspect.schema.json +50 -0
  120. package/schema/Attribute.schema.json +57 -0
  121. package/schema/CombatTechnique_Close.schema.json +127 -0
  122. package/schema/CombatTechnique_Ranged.schema.json +83 -0
  123. package/schema/Condition.schema.json +84 -0
  124. package/schema/Culture.schema.json +858 -0
  125. package/schema/DerivedCharacteristic.schema.json +90 -0
  126. package/schema/Element.schema.json +45 -0
  127. package/schema/ExperienceLevel.schema.json +84 -0
  128. package/schema/EyeColor.schema.json +45 -0
  129. package/schema/HairColor.schema.json +45 -0
  130. package/schema/Lessons_Curriculum.schema.json +500 -0
  131. package/schema/Lessons_Guideline.schema.json +51 -0
  132. package/schema/Locale.schema.json +45 -0
  133. package/schema/MetaCondition.schema.json +85 -0
  134. package/schema/Property.schema.json +49 -0
  135. package/schema/Race.schema.json +724 -0
  136. package/schema/Region.schema.json +45 -0
  137. package/schema/Service.schema.json +58 -0
  138. package/schema/SexPractice.schema.json +72 -0
  139. package/schema/Skill.schema.json +278 -0
  140. package/schema/SkillGroup.schema.json +56 -0
  141. package/schema/SkillModificationIncrement.schema.json +98 -0
  142. package/schema/SocialStatus.schema.json +45 -0
  143. package/schema/State.schema.json +58 -0
  144. package/schema/TargetCategory.schema.json +51 -0
  145. package/schema/_ActivatableSkill.schema.json +1534 -0
  146. package/schema/_CommonnessRatedAdvantageDisadvantage.schema.json +22 -0
  147. package/schema/_ImprovementCost.schema.json +15 -0
  148. package/schema/_Prerequisite.schema.json +519 -0
  149. package/schema/_Sex.schema.json +36 -0
  150. package/schema/_SkillCheck.schema.json +94 -0
  151. package/schema/magicalActions/AnimistPower.schema.json +411 -0
  152. package/schema/magicalActions/AnimistPower_Tribe.schema.json +45 -0
  153. package/schema/magicalActions/Curse.schema.json +378 -0
  154. package/schema/magicalActions/DominationRitual.schema.json +288 -0
  155. package/schema/magicalActions/ElvenMagicalSong.schema.json +194 -0
  156. package/schema/magicalActions/GeodeRitual.schema.json +303 -0
  157. package/schema/magicalActions/JesterTrick.schema.json +292 -0
  158. package/schema/magicalActions/MagicalDance.schema.json +328 -0
  159. package/schema/magicalActions/MagicalMelody.schema.json +254 -0
  160. package/schema/magicalActions/MagicalRune.schema.json +426 -0
  161. package/schema/magicalActions/ZibiljaRitual.schema.json +159 -0
  162. package/schema/magicalActions/_MusicTradition.schema.json +44 -0
  163. package/schema/magicalActions/_SkillReference.schema.json +26 -0
  164. package/schema/rule/FocusRule.schema.json +71 -0
  165. package/schema/rule/FocusRule_Subject.schema.json +46 -0
  166. package/schema/rule/OptionalRule.schema.json +96 -0
  167. package/schema/source/Publication.schema.json +165 -0
  168. package/schema/source/_Erratum.schema.json +37 -0
  169. 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,4 @@
1
+ /**
2
+ * @main GeodeRitual
3
+ */
4
+ 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,4 @@
1
+ /**
2
+ * @main JesterTrick
3
+ */
4
+ 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,4 @@
1
+ /**
2
+ * @main MagicalDance
3
+ */
4
+ 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 {};
@@ -0,0 +1,4 @@
1
+ /**
2
+ * @main MagicalMelody
3
+ */
4
+ export {};