kpoppel
2013-06-19 37d9d94c44cbadc7e6550efc22612c7c605a9040
commit | author | age
e23f87 1 function get_item_meta (string)
R 2     if string.find(string, "return {") then
3         return minetest.deserialize(string)
4     else return nil
5     end
6 end
7
8 function set_item_meta (table)
9     return minetest.serialize(table)
10 end