UndertaleModTool icon indicating copy to clipboard operation
UndertaleModTool copied to clipboard

Added way to add creation code in rooms and instances

Open luizzeroxis opened this issue 1 year ago • 1 comments
trafficstars

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 avatar Sep 04 '24 03:09 luizzeroxis