added some libraries

This commit is contained in:
Mihail 2024-07-31 16:12:49 +04:00 committed by GitHub
parent 3b8d2b2e8c
commit 4502a1206e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,7 +21,7 @@ function parse_path(path)
end
package = {
loaded={}
loaded = {}
}
local __cached_scripts = {}
@ -279,13 +279,19 @@ entities.get_all = function(uids)
for k,v in pairs(stdcomp.get_all()) do
values[k] = v
end
return values
return values
else
return stdcomp.get_all(uids)
end
end
math.randomseed(time.uptime()*1536227939)
------------------ sekta helpers
require("core:internal/math")
require("core:internal/string")
require("core:internal/table")
math.randomseed(time.uptime() * 1536227939)
-- --------- Deprecated functions ------ --
block_index = block.index