Buckaroo Banzai 814ebd79e7
use mtt action for integration tests (#361)
Co-authored-by: BuckarooBanzay <BuckarooBanzay@users.noreply.github.com>
2024-04-26 16:59:56 +02:00

66 lines
1.3 KiB
Lua

technic = rawget(_G, "technic") or {}
technic.plus = true
technic.version = 1.2
if minetest.get_modpath("mcl_sounds") then
technic.sounds = mcl_sounds
else
technic.sounds = assert(default, "No suitable mod found for sounds")
end
technic.creative_mode = minetest.settings:get_bool("creative_mode")
local modpath = minetest.get_modpath("technic")
technic.modpath = modpath
local S = minetest.get_translator("technic")
technic.getter = S
-- Read materials file
dofile(modpath.."/materials.lua")
-- Read configuration file
dofile(modpath.."/config.lua")
-- Lag monitoring
dofile(modpath.."/max_lag.lua")
-- Helper functions
dofile(modpath.."/helpers.lua")
-- Register functions
dofile(modpath.."/register.lua")
-- Compatibility shims for tools
dofile(modpath.."/machines/compat/tools.lua")
-- Items
dofile(modpath.."/items.lua")
-- Craft recipes for items
dofile(modpath.."/crafts.lua")
-- Radiation
dofile(modpath.."/radiation.lua")
-- Machines
dofile(modpath.."/machines/init.lua")
-- Tools
dofile(modpath.."/tools/init.lua")
-- Aliases for legacy node/item names
dofile(modpath.."/legacy.lua")
-- Visual effects
dofile(modpath.."/effects.lua")
-- Chat commands
dofile(modpath.."/chatcommands.lua")
if minetest.get_modpath("mtt") and mtt.enabled then
dofile(modpath.."/mtt.lua")
end