summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2019-09-13 14:09:25 -0500
committercheapie <no-email-for-you@example.com>2019-09-13 14:09:25 -0500
commitc92659a11ad77093b8a66a43a8fe362590774d48 (patch)
tree2de1579ccb36394e9fd9ba14d313df025cf25eb2 /init.lua
parent6062d9b08e2b66b6b3ab4b5059bc992e1edc4150 (diff)
downloaddigistuff-c92659a11ad77093b8a66a43a8fe362590774d48.tar
digistuff-c92659a11ad77093b8a66a43a8fe362590774d48.tar.gz
digistuff-c92659a11ad77093b8a66a43a8fe362590774d48.tar.bz2
digistuff-c92659a11ad77093b8a66a43a8fe362590774d48.tar.xz
digistuff-c92659a11ad77093b8a66a43a8fe362590774d48.zip
Add I/O expander
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index 4f336b4..4df2e65 100644
--- a/init.lua
+++ b/init.lua
@@ -14,6 +14,9 @@ local components = {
"piston",
"timer",
}
+
+if minetest.get_modpath("mesecons_luacontroller") then table.insert(components,"ioexpander") end
+
for _,name in ipairs(components) do
dofile(string.format("%s%s%s.lua",minetest.get_modpath(minetest.get_current_modname()),DIR_DELIM,name))
end