2018-03-10 22:14:57 +01:00
|
|
|
--[[
|
|
|
|
|
|
|
|
Tubelib Addons 2
|
|
|
|
================
|
|
|
|
|
2020-11-20 14:45:28 +01:00
|
|
|
Copyright (C) 2017-2020 Joachim Stolberg
|
2018-03-10 22:14:57 +01:00
|
|
|
|
2020-11-20 14:45:28 +01:00
|
|
|
AGPL v3
|
2018-03-10 22:14:57 +01:00
|
|
|
See LICENSE.txt for more information
|
|
|
|
|
|
|
|
]]--
|
|
|
|
|
2020-11-03 20:19:38 +01:00
|
|
|
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")
|
2019-01-28 21:51:38 +01:00
|
|
|
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")
|
2018-03-31 19:03:53 +02:00
|
|
|
dofile(minetest.get_modpath("tubelib_addons2") .. "/streetlamp.lua")
|
2018-05-27 12:07:32 +02:00
|
|
|
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
|
|
|
|
2020-11-20 14:45:28 +01: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
|
2018-03-31 17:09:16 +02:00
|
|
|
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
|