diff options
author | autocommitter <autocommitter@linux-forks.de> | 2024-04-22 14:54:28 +0200 |
---|---|---|
committer | autocommitter <autocommitter@linux-forks.de> | 2024-04-22 14:54:28 +0200 |
commit | e58879eef914266a2486d3e5ed154251f6a7ec88 (patch) | |
tree | c18c938198941ac1b21cacb300261d5ff439ba26 | |
parent | 50213cc26cb40c9b5c116f87a55cf73f65370ff7 (diff) | |
download | luaatc_envs-e58879eef914266a2486d3e5ed154251f6a7ec88.tar.gz luaatc_envs-e58879eef914266a2486d3e5ed154251f6a7ec88.tar.bz2 luaatc_envs-e58879eef914266a2486d3e5ed154251f6a7ec88.zip |
State at 2021-09-24
-rw-r--r-- | auto_yards/nodes/(-1897,10,-921).lua | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/auto_yards/nodes/(-1897,10,-921).lua b/auto_yards/nodes/(-1897,10,-921).lua new file mode 100644 index 0000000..98955fa --- /dev/null +++ b/auto_yards/nodes/(-1897,10,-921).lua @@ -0,0 +1,16 @@ +local 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 + +if event.punch then tprint(S) end
\ No newline at end of file |