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")
|
|
|
|
|
2020-03-11 12:25:22 -03:00
|
|
|
dofile(modpath.."/payday.lua") -- <== Pay diary per playing in server.
|
2017-03-15 16:02:43 -03:00
|
|
|
dofile(modpath.."/commands.lua")
|
2020-03-11 12:25:22 -03:00
|
|
|
dofile(modpath.."/on_final.lua") -- <== Only after load all code!
|
2017-03-13 18:26:38 -03:00
|
|
|
|
2017-03-15 16:02:43 -03:00
|
|
|
minetest.log('action',"["..modname:upper().."] Loaded!")
|