minertrade/init.lua

21 lines
695 B
Lua
Raw Normal View History

2017-03-13 18:26:38 -03:00
local modname = minetest.get_current_modname()
local modpath = minetest.get_modpath(modname)
2017-03-15 16:02:43 -03:00
dofile(modpath.."/config.lua") -- <== Antes de carregar tudo!
dofile(modpath.."/translate.lua") -- <== Antes de 'api.lua'!
2017-03-13 18:26:38 -03:00
dofile(modpath.."/api.lua")
dofile(modpath.."/item_atm.lua")
dofile(modpath.."/item_strongbox.lua")
--dofile(modpath.."/item_strongbox_old.lua")
dofile(modpath.."/item_miner_cash.lua")
2017-03-15 16:02:43 -03:00
dofile(modpath.."/item_exchange_table.lua")
2017-03-13 18:26:38 -03:00
dofile(modpath.."/item_dispensing_machine.lua")
-- --dofile(path.."/item_rent_door.lua")
2017-03-15 16:02:43 -03:00
dofile(modpath.."/commands.lua")
dofile(modpath.."/on_final.lua") -- <== Depois que carregou tudo!
2017-03-13 18:26:38 -03:00
2017-03-15 16:02:43 -03:00
minetest.log('action',"["..modname:upper().."] Loaded!")