more inbuilt

This commit is contained in:
2025-10-27 15:57:34 +11:00
parent 06de2bd52b
commit 29d2cf1970
2 changed files with 4 additions and 3 deletions

View File

@@ -100,6 +100,8 @@ class PluginLoader(Window):
sandbox.print = self.log #self.lua_runtime.globals().print
sandbox.math = self.lua_runtime.globals().math
sandbox.string = self.lua_runtime.globals().string
sandbox.tostring = self.lua_runtime.globals().tostring
sandbox.tonumber = self.lua_runtime.globals().tonumber
sandbox.berry = lua_runtime_stuff
setfenv(0, sandbox)