I'm making a resource which has a list of enumerated elements as an export variable.
export (Array, int, "Fire", "Water", "Grass") var elements:Array
Attempting to split this up into multiple lines for readability (like shown below) gives the error "Expected a string constant in enumeration hint".
export (Array, int,
"Fire",
"Water",
"Grass") var elements:Array
I simplified my element list here to 3 elements for brevity. The actual element list in my script contains 43 items. Cramming all 43 of these onto the same line creates a readability issue.
Is there a better way to do what I'm doing which would also allow for readability in the script? For the time being, I have all elements on the same line because this is the only thing I've found that works. I have considered other approaches to this, like using an array of strings, but my priority is making something artist/designer-friendly. (i.e. human readable and looks nice in the editor)