This repository has been archived by the owner on Jul 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issues in codebase, multiple new features
* Added `Output.ScriptType`, which denotes the "type" of script that outputs in Studio. (LocalScript/Script/ModuleScript) * Added "Fast-Flags" to the project file (`Flags`); they're specifc options for Maui's codegen to check and respect at runtime. * Added `Flags.ContextualExecution`; which denotes if client/server context should be checked at runtime. (Only running `LocalScripts` on the client, only running `Scripts` on the server etc) It also decides the behavior of respecting `LuaSourceContainer.Disabled`, and will run scripts anyway if this option is set to false. * Added `Flags.ReturnMainModule`; (When applicable), return the contents of a "MainModule"-named `ModuleScript` from the root of the model. This behaves exactly like Roblox's "MainModule" system, like if you were requiring a module by its' ID. * Fixed a (very recent) issue with the `ScriptDocument:EditTextAsync` method of placing script output into the editor when it's over 200k characters; a recent Roblox API change broke how we handled the output. * Fixed the `script` global in the project file not being set to itself. (for literal instance returns) * Overall improvements around the codebase, fixed some issues when internally handling the project file format.
- Loading branch information
1 parent
a4fa451
commit b03e6c8
Showing
13 changed files
with
268 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.