Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function tprint (tbl, indent)
- if not indent then indent = 0 end
- for k, v in pairs(tbl) do
- formatting = string.rep(" ", indent) .. k .. ": "
- if type(v) == "table" then
- print(formatting)
- tprint(v, indent+1)
- elseif type(v) == 'boolean' then
- print(formatting .. tostring(v))
- else
- print(formatting .. v)
- end
- end
- end
- local component = require("component")
- --local cpc1 = component.crystal
- --tprint (component.doc("87ef562a-6fc8-4019-a3d8-ffe44a92bab5"), "getItemsInNetwork")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement