Skip to content

Add support for list variables in the variables section. #5276

@Mwexim

Description

@Mwexim

Suggestion

The variables section (internally stored as StructVariables) should allow the use of list variables. Currently, this is not possible due to the use of Classes#parseSimple which only parses literal objects and not lists. This should be a very easy change, but I'm not experienced enough with the Skript coding environment to make the change myself.

Adding to that, parsing is all over the place in this project and should probably be refactored in some major way. In skript-parser, all parsing is done in one simple SyntaxParser class where one can find every method for parsing.

Why?

Just a convenient addition.

Other

No response

Agreement

  • I have read the guidelines above and affirm I am following them with this suggestion.

Metadata

Metadata

Assignees

Labels

enhancementFeature request, an issue about something that could be improved, or a PR improving something.priority: lowest"Nice to have" updates that are not required (tiny low impact bug fixes or QoL enhancements).variablesRelated to variables and/or storing them.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions