7d29907ab2
- Clean up utils into multiple files. - Standardize limited ABM. - Standardize debug trace handling. Instead of using chat_send_all to debug, and then having to remember to remove before release, allow privileged players to receive all server debug messages.
30 lines
899 B
Lua
30 lines
899 B
Lua
-- LUALOCALS < ---------------------------------------------------------
|
|
local dofile, minetest, nodecore, rawset
|
|
= dofile, minetest, nodecore, rawset
|
|
-- LUALOCALS > ---------------------------------------------------------
|
|
|
|
local modname = minetest.get_current_modname()
|
|
|
|
nodecore = nodecore or {}
|
|
rawset(_G, "nodecore", nodecore)
|
|
|
|
local path = minetest.get_modpath(modname)
|
|
|
|
dofile(path .. "/util_misc.lua")
|
|
dofile(path .. "/util_scan_flood.lua")
|
|
dofile(path .. "/util_logtrace.lua")
|
|
|
|
dofile(path .. "/register_craft.lua")
|
|
dofile(path .. "/register_limited_abm.lua")
|
|
|
|
dofile(path .. "/node_is.lua")
|
|
dofile(path .. "/node_on_register.lua")
|
|
dofile(path .. "/node_drop_in_place.lua")
|
|
dofile(path .. "/node_falling_repose.lua")
|
|
dofile(path .. "/node_alternate_loose.lua")
|
|
dofile(path .. "/node_group_visinv.lua")
|
|
|
|
dofile(path .. "/action_node_pummel.lua")
|
|
|
|
dofile(path .. "/player_knowledge.lua")
|