mirror of
https://github.com/Lokrates/Biofuel.git
synced 2024-08-20 03:44:04 +02:00
Hopper compatibility
This commit is contained in:
parent
9de65a7133
commit
1790eea470
10
refinery.lua
10
refinery.lua
@ -12,6 +12,16 @@
|
|||||||
-- Load support for MT game translation.
|
-- Load support for MT game translation.
|
||||||
local S = minetest.get_translator("biofuel")
|
local S = minetest.get_translator("biofuel")
|
||||||
|
|
||||||
|
-- hopper compat
|
||||||
|
hopper:add_container({
|
||||||
|
{"top", "biofuel:refinery", "dst"},
|
||||||
|
{"bottom", "biofuel:refinery", "src"},
|
||||||
|
{"side", "biofuel:refinery", "src"},
|
||||||
|
{"top", "biofuel:refinery_active", "dst"},
|
||||||
|
{"bottom", "biofuel:refinery_active", "src"},
|
||||||
|
{"side", "biofuel:refinery_active", "src"},
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
-- pipeworks compat
|
-- pipeworks compat
|
||||||
local has_pipeworks = minetest.get_modpath("pipeworks")
|
local has_pipeworks = minetest.get_modpath("pipeworks")
|
||||||
|
Loading…
Reference in New Issue
Block a user