diff options
Diffstat (limited to 'worldedit/table serialize (WIP).lua')
-rw-r--r-- | worldedit/table serialize (WIP).lua | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/worldedit/table serialize (WIP).lua b/worldedit/table serialize (WIP).lua deleted file mode 100644 index 6947c0b..0000000 --- a/worldedit/table serialize (WIP).lua +++ /dev/null @@ -1,15 +0,0 @@ -serialize_meta = function(pos)
- local insert, format, concat = table.insert, string.format, table.concat
- --wip: do recursive serialize
-
- local meta = env:get_meta(pos):to_table()
- local fields = {}
- for key, value in pairs(meta.fields) do
- insert(fields, format("%q", key) .. format("%q", value))
- end
- return concat(meta.inventory, ",") .. concat(fields)
-end
-
-deserialize_meta = function(value)
- --wip
-end
\ No newline at end of file |