generated from your-land/yl_template
10 lines
415 B
Lua
10 lines
415 B
Lua
-- The functions and variables in this file are only for use in the mod itself.
|
|
-- Those that do real work should be local and wrapped in public functions
|
|
local function log(text)
|
|
local logmessage = yl_rulesets.t("log_prefix", yl_rulesets.modname, text)
|
|
if yl_rulesets.settings.debug then minetest.log("action", logmessage) end
|
|
return logmessage
|
|
end
|
|
|
|
function yl_rulesets.log(text) return log(text) end
|