25 lines
1 KiB
Lua
25 lines
1 KiB
Lua
--[[
|
|
Bank Accounts Mod - Initialization File
|
|
---------------------------------------
|
|
This file defines the global namespace and loads all other
|
|
mod files in the correct order.
|
|
--]]
|
|
|
|
-- Global namespace for the mod to organize functions and data.
|
|
bank_accounts = {}
|
|
|
|
-- Load helper scripts first.
|
|
dofile(minetest.get_modpath("bank_accounts") .. "/i18n.lua")
|
|
dofile(minetest.get_modpath("bank_accounts") .. "/functions.lua")
|
|
|
|
-- Load item and node definitions.
|
|
dofile(minetest.get_modpath("bank_accounts") .. "/cards.lua")
|
|
dofile(minetest.get_modpath("bank_accounts") .. "/atm.lua")
|
|
dofile(minetest.get_modpath("bank_accounts") .. "/computer.lua")
|
|
dofile(minetest.get_modpath("bank_accounts") .. "/card_swipe.lua")
|
|
dofile(minetest.get_modpath("bank_accounts") .. "/pin_terminal.lua")
|
|
dofile(minetest.get_modpath("bank_accounts") .. "/wtm.lua")
|
|
|
|
-- Load systems that run in the background or provide commands.
|
|
dofile(minetest.get_modpath("bank_accounts") .. "/chatcommands.lua")
|
|
dofile(minetest.get_modpath("bank_accounts") .. "/interest.lua")
|