forked from Rukan/Grimy-Skyrim-Papyrus-Source
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGAT_MenuMain.psc
382 lines (338 loc) · 15.3 KB
/
GAT_MenuMain.psc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
Scriptname GAT_MenuMain extends SKI_ConfigBase
QUEST PROPERTY UILib AUTO
IMPORT GrimyToolsPluginScript
INT FUNCTION GetVersion()
return 1
ENDFUNCTION
EVENT OnVersionUpdate(int a_version)
refreshPages()
ENDEVENT
EVENT OnConfigInit()
ModName = "Grimy: Spell Weaver"
PlayerRef.AddSpell(GUISE_AB_SpellMenu_Hotkey)
refreshPages()
ENDEVENT
FUNCTION refreshPages()
ENDFUNCTION
PERK PROPERTY GAT_Perk00_Spellcraft AUTO
PERK PROPERTY GAT_Perk20_Calibration AUTO
PERK PROPERTY GAT_Perk40_Protraction AUTO
PERK PROPERTY GAT_Perk60_Alacrity AUTO
PERK PROPERTY GAT_Perk80_Thuumcraft AUTO
SPELL PROPERTY GUISE_AB_SpellMenu_Hotkey AUTO
INT PROPERTY varSpellKey = 47 AUTO
EVENT OnPageReset(string page)
refreshPages()
SetCursorFillMode(TOP_TO_BOTTOM)
AddHeaderOption("Setup")
AddKeyMapOptionST("SPELL_MENU_KEY","Spell Menu Key",varSpellKey)
AddToggleOptionST("REGISTER_SPELL_HOTKEY","Register Spellcrafting",PlayerRef.HasSpell(GUISE_AB_SpellMenu_Hotkey))
SetCursorPosition(1)
AddHeaderOption("Perks")
AddToggleOptionST("SPELLCRAFT_01","Spellcraft",PlayerRef.HasPerk(GAT_Perk00_Spellcraft))
AddToggleOptionST("SPELLCRAFT_02","Calibration",PlayerRef.HasPerk(GAT_Perk20_Calibration))
AddToggleOptionST("SPELLCRAFT_03","Protraction",PlayerRef.HasPerk(GAT_Perk40_Protraction))
AddToggleOptionST("SPELLCRAFT_04","Alacrity",PlayerRef.HasPerk(GAT_Perk60_Alacrity))
AddToggleOptionST("SPELLCRAFT_05","Thu'umcraft",PlayerRef.HasPerk(GAT_Perk80_Thuumcraft))
ENDEVENT
STATE REGISTER_SPELL_HOTKEY
EVENT OnSelectST()
IF PlayerRef.hasSpell(GUISE_AB_SpellMenu_Hotkey)
PlayerRef.RemoveSpell(GUISE_AB_SpellMenu_Hotkey)
SetToggleOptionValueST(false)
ELSE
PlayerRef.AddSpell(GUISE_AB_SpellMenu_Hotkey,false)
SetToggleOptionValueST(true)
ENDIF
ENDEVENT
EVENT OnDefaultST()
PlayerRef.RemoveSpell(GUISE_AB_SpellMenu_Hotkey)
SetToggleOptionValueST(PlayerRef.HasPerk(GAT_Perk00_Spellcraft))
ENDEVENT
EVENT OnHighlightST()
SetInfoText("Activates Spellcrafting.\nToggle this off and on to refresh the spellcrafting script. You may need to do this on updates.")
ENDEVENT
ENDSTATE
STATE SPELL_MENU_KEY
EVENT OnKeyMapChangeST(int a_keyCode, string a_conflictControl, string a_conflictName)
varSpellKey = a_keyCode
IF PlayerRef.HasSpell(GUISE_AB_SpellMenu_Hotkey)
PlayerRef.RemoveSpell(GUISE_AB_SpellMenu_Hotkey)
PlayerRef.AddSpell(GUISE_AB_SpellMenu_Hotkey,false)
ENDIF
SetKeyMapOptionValueST(a_keyCode)
ENDEVENT
EVENT OnDefaultST()
varSpellKey = 46
SetKeyMapOptionValueST(46)
ENDEVENT
ENDSTATE
FUNCTION togglePerk(PERK akPerk)
IF PlayerRef.HasPerk(akPerk)
IF ShowMessage("Refund a perk point?",true,"Refund Perk","No Perk Point")
Game.ModPerkpoints(1)
ENDIF
PlayerRef.RemovePerk(akPerk)
SetToggleOptionValueST(false)
ELSE
IF ShowMessage("Deduct a perk point?",true,"Deduct Perk","Free Perk")
IF Game.GetPerkPoints() > 0
Game.ModPerkPoints(-1)
PlayerRef.AddPerk(akPerk)
SetToggleOptionValueST(true)
ELSE
ShowMessage("You don't have any perk points",false)
ENDIF
ELSE
PlayerRef.AddPerk(akPerk)
SetToggleOptionValueST(true)
ENDIF
ENDIF
ENDFUNCTION
STATE SPELLCRAFT_01
EVENT OnSelectST()
togglePerk(GAT_Perk00_Spellcraft)
ENDEVENT
EVENT OnDefaultST()
PlayerRef.RemovePerk(GAT_Perk00_Spellcraft)
SetToggleOptionValueST(false)
ENDEVENT
EVENT OnHighlightST()
SetInfoText("Gain the ability to craft a signature spell.")
ENDEVENT
ENDSTATE
STATE SPELLCRAFT_02
EVENT OnSelectST()
IF PlayerRef.HasPerk(GAT_Perk20_Calibration) || PlayerRef.HasPerk(GAT_Perk00_Spellcraft)
togglePerk(GAT_Perk20_Calibration)
ELSE
ShowMessage("You need the Spellcraft Perk",false)
ENDIF
ENDEVENT
EVENT OnDefaultST()
PlayerRef.RemovePerk(GAT_Perk20_Calibration)
SetToggleOptionValueST(false)
ENDEVENT
EVENT OnHighlightST()
SetInfoText("Gain the ability to adjust the magnitude of signature spell effects.+1 Signature Spell Slot.\nRequires Spellcraft and level 20 alteration.")
ENDEVENT
ENDSTATE
STATE SPELLCRAFT_03
EVENT OnSelectST()
IF PlayerRef.HasPerk(GAT_Perk40_Protraction) || PlayerRef.HasPerk(GAT_Perk20_Calibration)
togglePerk(GAT_Perk40_Protraction)
ELSE
ShowMessage("You need the Calibration Perk",false)
ENDIF
ENDEVENT
EVENT OnDefaultST()
PlayerRef.RemovePerk(GAT_Perk40_Protraction)
SetToggleOptionValueST(false)
ENDEVENT
EVENT OnHighlightST()
SetInfoText("Gain the ability to adjust the duration of signature spell effects.+1 Signature Spell Slot.\nRequires Calibration and level 40 alteration.")
ENDEVENT
ENDSTATE
STATE SPELLCRAFT_04
EVENT OnSelectST()
IF PlayerRef.HasPerk(GAT_Perk60_Alacrity) || PlayerRef.HasPerk(GAT_Perk40_Protraction)
togglePerk(GAT_Perk60_Alacrity)
ELSE
ShowMessage("You need the Protraction Perk",false)
ENDIF
ENDEVENT
EVENT OnDefaultST()
PlayerRef.RemovePerk(GAT_Perk60_Alacrity)
SetToggleOptionValueST(false)
ENDEVENT
EVENT OnHighlightST()
SetInfoText("Gain the ability to adjust the casting speed of signature spell effects. The magnitude and cost of non-buff spell effects will scale with casting speed. +1 Signature Spell Slot.\nRequires Protraction and level 60 alteration")
ENDEVENT
ENDSTATE
STATE SPELLCRAFT_05
EVENT OnSelectST()
IF PlayerRef.HasPerk(GAT_Perk80_Thuumcraft) || PlayerRef.HasPerk(GAT_Perk60_Alacrity)
togglePerk(GAT_Perk80_Thuumcraft)
ELSE
ShowMessage("You need the Alacrity Perk",false)
ENDIF
ENDEVENT
EVENT OnDefaultST()
PlayerRef.RemovePerk(GAT_Perk80_Thuumcraft)
SetToggleOptionValueST(false)
ENDEVENT
EVENT OnHighlightST()
SetInfoText("Gain the ability to build signature spells out of shouts. +1 Signature Spell Slot.\nRequires Alacrity and level 80 alteration.")
ENDEVENT
ENDSTATE
ACTOR PROPERTY PlayerRef AUTO
SPELL PROPERTY GAT_SignatureSpell01 AUTO
SPELL PROPERTY GAT_SignatureSpell02 AUTO
SPELL PROPERTY GAT_SignatureSpell03 AUTO
SPELL PROPERTY GAT_SignatureSpell04 AUTO
SPELL PROPERTY GAT_SignatureSpell05 AUTO
SPELL PROPERTY GAT_SignatureSpell11 AUTO
SPELL PROPERTY GAT_SignatureSpell12 AUTO
SPELL PROPERTY GAT_SignatureSpell13 AUTO
SPELL PROPERTY GAT_SignatureSpell14 AUTO
SPELL PROPERTY GAT_SignatureSpell15 AUTO
INT FUNCTION updateSpell(INT index)
IF index == 1
MergeSpells(GAT_SignatureSpell01,SigSpellList0,SigSpellMag0,SigSpellDur0,SigSpellCost0,0.5)
MergeSpells(GAT_SignatureSpell11,SigSpellList0,SigSpellMag0,SigSpellDur0,SigSpellCost0,0.5)
DisplayErrorMessage( MergeSpells(GAT_SignatureSpell01,SigSpellList1,SigSpellMag1,SigSpellDur1,SigSpellCost1,SigSpellTimes[-1+index]), GAT_SignatureSpell01 )
RETURN DisplayErrorMessage( MergeSpells(GAT_SignatureSpell11,SigSpellList1,SigSpellMag1,SigSpellDur1,SigSpellCost1,SigSpellTimes[-1+index]), GAT_SignatureSpell11 )
ELSEIF index == 2
MergeSpells(GAT_SignatureSpell02,SigSpellList0,SigSpellMag0,SigSpellDur0,SigSpellCost0,0.5)
MergeSpells(GAT_SignatureSpell11,SigSpellList0,SigSpellMag0,SigSpellDur0,SigSpellCost0,0.5)
DisplayErrorMessage( MergeSpells(GAT_SignatureSpell02,SigSpellList2,SigSpellMag2,SigSpellDur2,SigSpellCost2,SigSpellTimes[-1+index]), GAT_SignatureSpell02 )
RETURN DisplayErrorMessage( MergeSpells(GAT_SignatureSpell11,SigSpellList1,SigSpellMag1,SigSpellDur1,SigSpellCost1,SigSpellTimes[-1+index]), GAT_SignatureSpell12 )
ELSEIF index == 3
MergeSpells(GAT_SignatureSpell03,SigSpellList0,SigSpellMag0,SigSpellDur0,SigSpellCost0,0.5)
MergeSpells(GAT_SignatureSpell13,SigSpellList0,SigSpellMag0,SigSpellDur0,SigSpellCost0,0.5)
DisplayErrorMessage( MergeSpells(GAT_SignatureSpell03,SigSpellList3,SigSpellMag3,SigSpellDur3,SigSpellCost3,SigSpellTimes[-1+index]), GAT_SignatureSpell03 )
RETURN DisplayErrorMessage( MergeSpells(GAT_SignatureSpell13,SigSpellList3,SigSpellMag3,SigSpellDur3,SigSpellCost3,SigSpellTimes[-1+index]), GAT_SignatureSpell13 )
ELSEIF index == 4
MergeSpells(GAT_SignatureSpell04,SigSpellList0,SigSpellMag0,SigSpellDur0,SigSpellCost0,0.5)
MergeSpells(GAT_SignatureSpell14,SigSpellList0,SigSpellMag0,SigSpellDur0,SigSpellCost0,0.5)
DisplayErrorMessage( MergeSpells(GAT_SignatureSpell04,SigSpellList4,SigSpellMag4,SigSpellDur4,SigSpellCost4,SigSpellTimes[-1+index]), GAT_SignatureSpell04 )
RETURN DisplayErrorMessage( MergeSpells(GAT_SignatureSpell14,SigSpellList4,SigSpellMag4,SigSpellDur4,SigSpellCost4,SigSpellTimes[-1+index]), GAT_SignatureSpell14 )
ELSEIF index == 5
MergeSpells(GAT_SignatureSpell05,SigSpellList0,SigSpellMag0,SigSpellDur0,SigSpellCost0,0.5)
MergeSpells(GAT_SignatureSpell15,SigSpellList0,SigSpellMag0,SigSpellDur0,SigSpellCost0,0.5)
DisplayErrorMessage( MergeSpells(GAT_SignatureSpell05,SigSpellList5,SigSpellMag5,SigSpellDur5,SigSpellCost5,SigSpellTimes[-1+index]), GAT_SignatureSpell05 )
RETURN DisplayErrorMessage( MergeSpells(GAT_SignatureSpell15,SigSpellList5,SigSpellMag5,SigSpellDur5,SigSpellCost5,SigSpellTimes[-1+index]), GAT_SignatureSpell15 )
ENDIF
RETURN -10
ENDFUNCTION
FUNCTION UpdateNames(INT index)
IF index == 1
GAT_SignatureSpell01.SetName(SigSpellNames[-1+index])
GAT_SignatureSpell11.SetName(SigSpellNames[-1+index])
ELSEIF index == 2
GAT_SignatureSpell02.SetName(SigSpellNames[-1+index])
GAT_SignatureSpell12.SetName(SigSpellNames[-1+index])
ELSEIF index == 3
GAT_SignatureSpell03.SetName(SigSpellNames[-1+index])
GAT_SignatureSpell13.SetName(SigSpellNames[-1+index])
ELSEIF index == 4
GAT_SignatureSpell04.SetName(SigSpellNames[-1+index])
GAT_SignatureSpell14.SetName(SigSpellNames[-1+index])
ELSEIF index == 5
GAT_SignatureSpell05.SetName(SigSpellNames[-1+index])
GAT_SignatureSpell15.SetName(SigSpellNames[-1+index])
ENDIF
ENDFUNCTION
SPELL PROPERTY GAT_IsSpellLoaded AUTO
BOOL SpellFlip = true
FUNCTION updateAllSpells()
IF !GAT_IsSpellLoaded.GetName()
GAT_IsSpellLoaded.SetName("1")
SpellFlip = !SpellFlip
IF SpellFlip
PlayerRef.RemoveSpell(GAT_SignatureSpell01)
PlayerRef.RemoveSpell(GAT_SignatureSpell02)
PlayerRef.RemoveSpell(GAT_SignatureSpell03)
PlayerRef.RemoveSpell(GAT_SignatureSpell04)
PlayerRef.RemoveSpell(GAT_SignatureSpell05)
PlayerRef.AddSpell(GAT_SignatureSpell11,false)
PlayerRef.AddSpell(GAT_SignatureSpell12,false)
PlayerRef.AddSpell(GAT_SignatureSpell13,false)
PlayerRef.AddSpell(GAT_SignatureSpell14,false)
PlayerRef.AddSpell(GAT_SignatureSpell15,false)
ELSE
PlayerRef.RemoveSpell(GAT_SignatureSpell11)
PlayerRef.RemoveSpell(GAT_SignatureSpell12)
PlayerRef.RemoveSpell(GAT_SignatureSpell13)
PlayerRef.RemoveSpell(GAT_SignatureSpell14)
PlayerRef.RemoveSpell(GAT_SignatureSpell15)
PlayerRef.AddSpell(GAT_SignatureSpell01,false)
PlayerRef.AddSpell(GAT_SignatureSpell02,false)
PlayerRef.AddSpell(GAT_SignatureSpell03,false)
PlayerRef.AddSpell(GAT_SignatureSpell04,false)
PlayerRef.AddSpell(GAT_SignatureSpell05,false)
ENDIF
DisplayErrorMessage( MergeSpells(GAT_SignatureSpell01,SigSpellList1,SigSpellMag1,SigSpellDur1,SigSpellCost1,SigSpellTimes[0]), GAT_SignatureSpell01 )
DisplayErrorMessage( MergeSpells(GAT_SignatureSpell02,SigSpellList2,SigSpellMag2,SigSpellDur2,SigSpellCost2,SigSpellTimes[1]), GAT_SignatureSpell02 )
DisplayErrorMessage( MergeSpells(GAT_SignatureSpell03,SigSpellList3,SigSpellMag3,SigSpellDur3,SigSpellCost3,SigSpellTimes[2]), GAT_SignatureSpell03 )
DisplayErrorMessage( MergeSpells(GAT_SignatureSpell04,SigSpellList4,SigSpellMag4,SigSpellDur4,SigSpellCost4,SigSpellTimes[3]), GAT_SignatureSpell04 )
DisplayErrorMessage( MergeSpells(GAT_SignatureSpell05,SigSpellList5,SigSpellMag5,SigSpellDur5,SigSpellCost5,SigSpellTimes[4]), GAT_SignatureSpell05 )
DisplayErrorMessage( MergeSpells(GAT_SignatureSpell11,SigSpellList1,SigSpellMag1,SigSpellDur1,SigSpellCost1,SigSpellTimes[0]), GAT_SignatureSpell11 )
DisplayErrorMessage( MergeSpells(GAT_SignatureSpell12,SigSpellList2,SigSpellMag2,SigSpellDur2,SigSpellCost2,SigSpellTimes[1]), GAT_SignatureSpell12 )
DisplayErrorMessage( MergeSpells(GAT_SignatureSpell13,SigSpellList3,SigSpellMag3,SigSpellDur3,SigSpellCost3,SigSpellTimes[2]), GAT_SignatureSpell13 )
DisplayErrorMessage( MergeSpells(GAT_SignatureSpell14,SigSpellList4,SigSpellMag4,SigSpellDur4,SigSpellCost4,SigSpellTimes[3]), GAT_SignatureSpell14 )
DisplayErrorMessage( MergeSpells(GAT_SignatureSpell15,SigSpellList5,SigSpellMag5,SigSpellDur5,SigSpellCost5,SigSpellTimes[4]), GAT_SignatureSpell15 )
SetSpellDelivery(GAT_SignatureSpell01,SigSpellDeliveries[0])
SetSpellDelivery(GAT_SignatureSpell02,SigSpellDeliveries[1])
SetSpellDelivery(GAT_SignatureSpell03,SigSpellDeliveries[2])
SetSpellDelivery(GAT_SignatureSpell04,SigSpellDeliveries[3])
SetSpellDelivery(GAT_SignatureSpell05,SigSpellDeliveries[4])
SetSpellDelivery(GAT_SignatureSpell11,SigSpellDeliveries[0])
SetSpellDelivery(GAT_SignatureSpell12,SigSpellDeliveries[1])
SetSpellDelivery(GAT_SignatureSpell13,SigSpellDeliveries[2])
SetSpellDelivery(GAT_SignatureSpell14,SigSpellDeliveries[3])
SetSpellDelivery(GAT_SignatureSpell15,SigSpellDeliveries[4])
SetSpellCastType(GAT_SignatureSpell01,SigSpellCastTypes[0])
SetSpellCastType(GAT_SignatureSpell02,SigSpellCastTypes[1])
SetSpellCastType(GAT_SignatureSpell03,SigSpellCastTypes[2])
SetSpellCastType(GAT_SignatureSpell04,SigSpellCastTypes[3])
SetSpellCastType(GAT_SignatureSpell05,SigSpellCastTypes[4])
SetSpellCastType(GAT_SignatureSpell11,SigSpellCastTypes[0])
SetSpellCastType(GAT_SignatureSpell12,SigSpellCastTypes[1])
SetSpellCastType(GAT_SignatureSpell13,SigSpellCastTypes[2])
SetSpellCastType(GAT_SignatureSpell14,SigSpellCastTypes[3])
SetSpellCastType(GAT_SignatureSpell15,SigSpellCastTypes[4])
GAT_SignatureSpell01.SetName(SigSpellNames[0])
GAT_SignatureSpell02.SetName(SigSpellNames[1])
GAT_SignatureSpell03.SetName(SigSpellNames[2])
GAT_SignatureSpell04.SetName(SigSpellNames[3])
GAT_SignatureSpell05.SetName(SigSpellNames[4])
GAT_SignatureSpell11.SetName(SigSpellNames[0])
GAT_SignatureSpell12.SetName(SigSpellNames[1])
GAT_SignatureSpell13.SetName(SigSpellNames[2])
GAT_SignatureSpell14.SetName(SigSpellNames[3])
GAT_SignatureSpell15.SetName(SigSpellNames[4])
ENDIF
ENDFUNCTION
INT FUNCTION DisplayErrorMessage(INT Index, SPELL akSpell)
IF index == 1
SetSpellType(akSpell,3)
ELSEIF index == -1
Debug.Notification("Spellcrafting failed, Spell Cast Types (Concentration, Fire and Forget, Etc) need to match!")
ELSEIF index == -2
Debug.Notification("Spellcrafting failed, Spell Delivery (Aimed, Self, Etc) need to match!")
ELSEIF index == -3
Debug.Notification("Spellcrafting failed, You can't make a spell with more than 10 magic effects!")
ELSEIF index == -4
Debug.Notification("Spellcrafting failed, Data Structure has been corrupted")
ENDIF
RETURN index
ENDFUNCTION
SPELL[] PROPERTY SigSpellList0 AUTO
FLOAT[] PROPERTY SigSpellMag0 AUTO
FLOAT[] PROPERTY SigSpellDur0 AUTO
FLOAT[] PROPERTY SigSpellCost0 AUTO
SPELL[] PROPERTY SigSpellList1 AUTO
SPELL[] PROPERTY SigSpellList2 AUTO
SPELL[] PROPERTY SigSpellList3 AUTO
SPELL[] PROPERTY SigSpellList4 AUTO
SPELL[] PROPERTY SigSpellList5 AUTO
FLOAT[] PROPERTY SigSpellMag1 AUTO
FLOAT[] PROPERTY SigSpellMag2 AUTO
FLOAT[] PROPERTY SigSpellMag3 AUTO
FLOAT[] PROPERTY SigSpellMag4 AUTO
FLOAT[] PROPERTY SigSpellMag5 AUTO
FLOAT[] PROPERTY SigSpellDur1 AUTO
FLOAT[] PROPERTY SigSpellDur2 AUTO
FLOAT[] PROPERTY SigSpellDur3 AUTO
FLOAT[] PROPERTY SigSpellDur4 AUTO
FLOAT[] PROPERTY SigSpellDur5 AUTO
FLOAT[] PROPERTY SigSpellCost1 AUTO
FLOAT[] PROPERTY SigSpellCost2 AUTO
FLOAT[] PROPERTY SigSpellCost3 AUTO
FLOAT[] PROPERTY SigSpellCost4 AUTO
FLOAT[] PROPERTY SigSpellCost5 AUTO
FLOAT[] PROPERTY SigSpellTimes AUTO
INT[] PROPERTY SigSpellDeliveries AUTO
INT[] PROPERTY SigSpellCastTypes AUTO
STRING[] PROPERTY SigSpellNames AUTO