minertrade/init.lua
2022-05-12 11:32:28 -03:00

25 lines
929 B
Lua

modMinerTrade = {
modName = minetest.get_current_modname(),
modPath = minetest.get_modpath(minetest.get_current_modname()),
}
dofile(modMinerTrade.modPath.."/config.lua") -- <== Antes de carregar tudo!
dofile(modMinerTrade.modPath.."/translate.lua") -- <== Antes de 'api.lua'!
dofile(modMinerTrade.modPath.."/api.lua")
dofile(modMinerTrade.modPath.."/item_exchange_table.lua")
dofile(modMinerTrade.modPath.."/item_dispensing_machine.lua")
--dofile(modMinerTrade.modPath.."/item_atm.lua")
--dofile(modMinerTrade.modPath.."/item_strongbox.lua")
--dofile(modMinerTrade.modPath.."/item_strongbox_old.lua")
--dofile(modMinerTrade.modPath.."/item_miner_cash.lua")
-- --dofile(path.."/item_rent_door.lua")
--dofile(modMinerTrade.modPath.."/payday.lua")
--dofile(modMinerTrade.modPath.."/commands.lua")
if modMinerTrade.doAtmLoad ~= nil then
modMinerTrade.doAtmLoad()
end
minetest.log('action',"["..modname:upper().."] Loaded!")