luarocks b37c102c23 Rebranding | 3 周之前 | |
---|---|---|
LICENSE | 3 周之前 | |
README.md | 3 周之前 | |
init.lua | 3 周之前 | |
inspect.lua | 2 月之前 | |
mod.conf | 2 月之前 |
Dump any lua variables in human-readable format and log them.
It uses a fork of inspect.lua, adapted to Minetest (can dump userdata).
log()
accept a table, where keys are names and values are any variables to
dump/log. It also accept 2 optional arguments: depth and log level.
minetest.register_on_punchnode(function(_, node)
log {[node.name] = minetest.registered_nodes[node.name].groups}
end)
This mod was created in Rustroot Forge.
All my mods uses Lunati LSP-API annotations, StyLua and Luacheck.