techpack/tubelib_addons2/init.lua

40 lines
1.4 KiB
Lua
Raw Normal View History

2018-03-10 22:14:57 +01:00
--[[
Tubelib Addons 2
================
Copyright (C) 2017-2020 Joachim Stolberg
2018-03-10 22:14:57 +01:00
AGPL v3
2018-03-10 22:14:57 +01:00
See LICENSE.txt for more information
]]--
tubelib_addons2 = {}
-- Load support for I18n
tubelib_addons2.S = minetest.get_translator("tubelib_addons2")
2018-03-24 18:32:28 +01:00
dofile(minetest.get_modpath("tubelib_addons2") .. "/timer.lua")
dofile(minetest.get_modpath("tubelib_addons2") .. "/sequencer.lua")
dofile(minetest.get_modpath("tubelib_addons2") .. "/gateblock.lua")
dofile(minetest.get_modpath("tubelib_addons2") .. "/doorblock.lua")
dofile(minetest.get_modpath("tubelib_addons2") .. "/repeater.lua")
dofile(minetest.get_modpath("tubelib_addons2") .. "/logic_not.lua")
2018-03-24 18:32:28 +01:00
dofile(minetest.get_modpath("tubelib_addons2") .. "/programmer.lua")
dofile(minetest.get_modpath("tubelib_addons2") .. "/accesscontrol.lua")
dofile(minetest.get_modpath("tubelib_addons2") .. "/streetlamp.lua")
dofile(minetest.get_modpath("tubelib_addons2") .. "/ceilinglamp.lua")
2018-08-16 21:16:34 +02:00
dofile(minetest.get_modpath("tubelib_addons2") .. "/invisiblelamp.lua")
2019-01-02 12:51:57 +01:00
dofile(minetest.get_modpath("tubelib_addons2") .. "/industriallamp.lua")
2018-08-16 21:16:34 +02:00
if minetest.get_modpath("mesecons") and mesecon then
2018-03-24 18:32:28 +01:00
dofile(minetest.get_modpath("tubelib_addons2") .. "/mesecons_converter.lua")
end
if minetest.get_modpath("unifieddyes") and unifieddyes then
dofile(minetest.get_modpath("tubelib_addons2") .. "/colorlamp_ud.lua")
else
dofile(minetest.get_modpath("tubelib_addons2") .. "/colorlamp.lua")
end