summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2024-04-27 14:36:37 -0500
committercheapie <no-email-for-you@example.com>2024-04-27 14:36:37 -0500
commit6f8ba2d5dbeb381aef3c814753d11e06347d0952 (patch)
tree9c5d4d0799f261d26749103117ffe730f7b3fb4c /init.lua
parent215af4ca8c3b2bc61cc282178e200e5774066c05 (diff)
downloadcelevator-6f8ba2d5dbeb381aef3c814753d11e06347d0952.tar
celevator-6f8ba2d5dbeb381aef3c814753d11e06347d0952.tar.gz
celevator-6f8ba2d5dbeb381aef3c814753d11e06347d0952.tar.bz2
celevator-6f8ba2d5dbeb381aef3c814753d11e06347d0952.tar.xz
celevator-6f8ba2d5dbeb381aef3c814753d11e06347d0952.zip
Add Mesecons output
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua9
1 files changed, 7 insertions, 2 deletions
diff --git a/init.lua b/init.lua
index fb96693..3a6cdcc 100644
--- a/init.lua
+++ b/init.lua
@@ -12,8 +12,13 @@ local components = {
"decorations",
}
-if minetest.get_modpath("laptop") then
- table.insert(components,"laptop")
+local integrations = {
+ "laptop",
+ "mesecons",
+}
+
+for _,i in ipairs(integrations) do
+ if minetest.get_modpath(i) then table.insert(components,i) end
end
for _,v in ipairs(components) do