Brak opisu

luarocks b37c102c23 Rebranding 2 tygodni temu
LICENSE d082476c8a Rebranding 2 tygodni temu
README.md d082476c8a Rebranding 2 tygodni temu
init.lua b37c102c23 Rebranding 2 tygodni temu
inspect.lua 4a519b45b8 Reformat 1 miesiąc temu
mod.conf 442f6a6b24 Update mod.conf 1 miesiąc temu

README.md

Log

Dump any lua variables in human-readable format and log them.

It uses a fork of inspect.lua, adapted to Minetest (can dump userdata).

Usage

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.

Example

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.