1
0
mirror of https://github.com/mt-mods/pipeworks.git synced 2025-06-29 14:50:41 +02:00

MineClone containers support (#81)

* mcl_barrels compat

* open barrel is not in creative inv

* fix barrel drop content after dig

* fix barrel local var

* mcl_furnaces compat

* optional depends mcl_barrels and mcl_furnaces

* fixing luacheck

* .luacheckrc update

* renamed files to use _

* renamed files to init.lua

* format improvement
This commit is contained in:
Github is a non-free platform owned by Microsoft. Reasonable alternatives exist, such as Gitea, Sourcehut. We need a federated, mastodon-like forge based on ForgeFed. See: https://forgefed.org
2023-09-02 21:17:14 +02:00
committed by GitHub
parent cb3e7757fc
commit 500cce8668
5 changed files with 212 additions and 2 deletions

View File

@ -182,6 +182,12 @@ if pipeworks.enable_redefines and (minetest.get_modpath("default") or minetest.g
dofile(pipeworks.modpath.."/compat-chests.lua")
dofile(pipeworks.modpath.."/compat-furnaces.lua")
end
if pipeworks.enable_redefines and minetest.get_modpath("mcl_barrels") then
dofile(pipeworks.modpath.."/mcl_barrels.lua")
end
if pipeworks.enable_redefines and minetest.get_modpath("mcl_furnaces") then
dofile(pipeworks.modpath.."/mcl_furnaces.lua")
end
if pipeworks.enable_autocrafter then
dofile(pipeworks.modpath.."/autocrafter.lua")
end