bau_coop/init.lua

33 lines
771 B
Lua
Raw Normal View History

2017-06-29 07:47:40 -07:00
--[[
Mod Bau_Coop para Minetest
2018-07-10 08:16:16 -07:00
Copyright (C) 2018 BrunoMine (https://github.com/BrunoMine)
2017-06-29 07:47:40 -07:00
Recebeste uma cópia da GNU Lesser General
Public License junto com esse software,
se não, veja em <http://www.gnu.org/licenses/>.
Inicializador de scripts
]]
-- Tabela global
bau_coop = {}
2018-07-10 08:16:16 -07:00
-- Limite de acessos em um bau compartilhado
bau_coop.lim_acess = tonumber(minetest.setting_get("bau_coop_limite_acessos") or 10)
2017-06-29 07:47:40 -07:00
-- Notificador de Inicializador
local notificar = function(msg)
if minetest.setting_get("log_mods") then
minetest.debug("[Bau_Coop]"..msg)
end
end
-- Modpath
local modpath = minetest.get_modpath("bau_coop")
-- Carregar scripts
notificar("Carregando...")
2018-07-10 08:16:16 -07:00
dofile(modpath.."/tradutor.lua")
2017-06-29 07:47:40 -07:00
dofile(modpath.."/nodes.lua")
notificar("[OK]!")