diff options
author | cheapie <no-email-for-you@example.com> | 2024-04-27 14:36:37 -0500 |
---|---|---|
committer | cheapie <no-email-for-you@example.com> | 2024-04-27 14:36:37 -0500 |
commit | 6f8ba2d5dbeb381aef3c814753d11e06347d0952 (patch) | |
tree | 9c5d4d0799f261d26749103117ffe730f7b3fb4c /init.lua | |
parent | 215af4ca8c3b2bc61cc282178e200e5774066c05 (diff) | |
download | celevator-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.lua | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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 |