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 end
package = { package = {
loaded={} loaded = {}
} }
local __cached_scripts = {} local __cached_scripts = {}
@ -279,13 +279,19 @@ entities.get_all = function(uids)
for k,v in pairs(stdcomp.get_all()) do for k,v in pairs(stdcomp.get_all()) do
values[k] = v values[k] = v
end end
return values return values
else else
return stdcomp.get_all(uids) return stdcomp.get_all(uids)
end end
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 ------ -- -- --------- Deprecated functions ------ --
block_index = block.index block_index = block.index