Optimizes the Avatar nbt by saving scripts as a Compound Tag mimiking the file structure instead of repeating the path per script.
Additionally, it updates the /figura debug command to reflect these changes
This is the nbt pre-optimization
This is the nbt post-optimization
Additionally, all internals now expect the file separator to be /.
require and listFiles now accept relative file paths via . and ..
A path is relative to root if it starts with a ./a and a both point to the root a.lua while ./a points to a.lua in the same folder as the executing script
Optimizes the Avatar nbt by saving scripts as a Compound Tag mimiking the file structure instead of repeating the path per script. Additionally, it updates the
/figura debug
command to reflect these changesThis is the nbt pre-optimization
This is the nbt post-optimization
Additionally, all internals now expect the file separator to be
/
.require
andlistFiles
now accept relative file paths via.
and..
A path is relative to root if it starts with a.
/a
anda
both point to the roota.lua
while./a
points toa.lua
in the same folder as the executing scriptFor this folder structure...