Multiline function calling - #8117
Conversation
|
What do you think about opening up the section so that it's a normal section, and we just use |
# Conflicts: # src/main/java/org/skriptlang/skript/common/CommonModule.java
sounds good, would using variables here be ideal though? what do you think about using something like |
Problem
Due to Skript's nature of having one statement per line, calling functions with many arguments may lead to unreadable long lines when specifying function arguments.
Solution
Adds a new SectionExpression for calling a function while specifying one argument per line. Every line sets a specific argument and is separated by
set toto indicate that parameterxhas valuey.Testing Completed
Added ExprSecFunction.sk tests.
Supporting Information
This PR uses code from the function package rework PR (#8112), and thus can only be merged once that has been merged.
Completes: #7924
Related: none