Skip to content

[ENHANCEMENT] Add scriptInit and listScriptClasses to every script class#349

Open
KoloInDaCrib wants to merge 1 commit intoFunkinCrew:experimentalfrom
KoloInDaCrib:patch-3
Open

[ENHANCEMENT] Add scriptInit and listScriptClasses to every script class#349
KoloInDaCrib wants to merge 1 commit intoFunkinCrew:experimentalfrom
KoloInDaCrib:patch-3

Conversation

@KoloInDaCrib
Copy link

Since scripted classes can extend each other now, it is a no-brainer to add functions from normal script class bases into scripted classes.
I initially wanted to add onto the staticFields array when initializing a class, however I couldn't figure out how to convert the functions into hscript.Expr blocks without using a different interpreter for them, as I would need some of Polymod's classes which are normally blacklisted.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant