ExchangeClone/exchangeclone/hopper_compat.lua

32 lines
976 B
Lua
Raw Normal View History

2023-11-13 02:30:16 +01:00
-- Runs only if the hopper mod is detected. This pretty much makes it so that anything that works with
-- MineClone hoppers will automatically work with other hoppers.
hopper:add_container({
{"top", "group:container=2", "main"},
{"bottom", "group:container=2", "main"},
{"side", "group:container=2", "main"},
})
2023-11-20 01:01:56 +01:00
hopper:add_container({
2024-02-28 16:46:47 +01:00
{"top", "exchangeclone:upgrader", "dst"},
{"side", "exchangeclone:upgrader", "fuel"},
{"bottom", "exchangeclone:upgrader", "src"},
2023-11-20 01:01:56 +01:00
})
2023-11-13 02:30:16 +01:00
hopper:add_container({
2024-02-28 16:46:47 +01:00
{"top", "group:exchangeclone_furnace", "dst"},
{"side", "group:exchangeclone_furnace", "fuel"},
{"bottom", "group:exchangeclone_furnace", "src"},
2023-11-13 02:30:16 +01:00
})
hopper:add_container({
2024-02-28 16:46:47 +01:00
{"top", "group:energy_collector", "main"},
{"bottom", "group:energy_collector", "main"},
{"side", "group:energy_collector", "main"},
2023-11-13 02:30:16 +01:00
})
2024-02-28 16:46:47 +01:00
2023-11-13 02:30:16 +01:00
hopper:add_container({
{"top", "exchangeclone:emc_link", "dst"},
{"bottom", "exchangeclone:emc_link", "src"},
{"side", "exchangeclone:emc_link", "fuel"},
2023-11-13 02:30:16 +01:00
})