Skip to content

Commit

Permalink
Was I high when formatting these?
Browse files Browse the repository at this point in the history
  • Loading branch information
regginator committed Dec 17, 2023
1 parent d546797 commit 48b7da2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,18 +172,22 @@ SUBCOMMANDS:
## Runtime Spec Details

* If there's only 1 instance directly under the model root and it's a `ModuleScript`, that module will automatically run at init and pass its return through the **real** script, just as expected with normal module behavior. Additionally, like a model on Roblox's [Developer Marketplace](https://create.roblox.com/marketplace/models), a `ModuleScript` under the model root named (exactly) "MainModule" will also have the same functionality, even if there is more than 1 instance directly under the model root

* The real `getfenv`/`setfenv` functions are not overriden by global flattening whatsoever, so by using for example `getfenv(0)` it will return the actual root function environment of the complete, bundled script. *Just know that its behavior isn't modified whatsoever for virtual closures!*

* Instance `ClassName`s that will bundle:
* `Folder`
* `Script`
* `LocalScript`
* `ModuleScript`
* `StringValue`

* Implemented Instance 'properties' :
* `Instance.ClassName: string`
* `Instance.Name: string`
* `Instance.Parent: Instance?`
* `StringValue.Value: string`

* Implemented Instance 'methods':
* `Instance:GetFullName(): string`
* `Instance:GetChildren(): {Instance}`
Expand Down

0 comments on commit 48b7da2

Please sign in to comment.