world creation content menu

This commit is contained in:
MihailRis
2024-05-04 21:27:28 +03:00
parent 5402872c28
commit bab806c2f8
9 changed files with 82 additions and 23 deletions
+11
View File
@@ -263,6 +263,17 @@ function table.remove_value(t, x)
end
end
function table.tostring(t)
local s = '['
for i,v in ipairs(t) do
s = s..tostring(v)
if i < #t then
s = s..', '
end
end
return s..']'
end
-- Deprecated functions
block_index = block.index
block_name = block.name