Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added way to add creation code in rooms and instances #1901

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

luizzeroxis
Copy link
Contributor

Description

Made so the little + icon on creation code in rooms and instances can actually create the script instead of giving an error. Fixes issue #1900. Based on code from #1412.

Caveats

I tried to make it in a way that it could be expanded with other stuff. Maybe you could create derived classes from UndertaleObjectReference instead, so it doesn't clutter it up with a bunch of properties. Also the part that actually creates the code should probably be in the room model, and the part that creates arguments be separated and merged with the one that does that for object events already.

Notes

None

@luizzeroxis luizzeroxis marked this pull request as ready for review September 4, 2024 13:23
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