summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2014-05-15 19:45:48 -0500
committercheapie <no-email-for-you@example.com>2014-05-15 19:45:48 -0500
commit1e4bc3dcf5934657e738bbfa74ca2b917268995a (patch)
tree458b9320a7b009c9ce7360443de976399618dbf5 /init.lua
parentbd5ee4576814a60e994ba19329f1e63a20db066d (diff)
downloadplasticbox-1e4bc3dcf5934657e738bbfa74ca2b917268995a.tar
plasticbox-1e4bc3dcf5934657e738bbfa74ca2b917268995a.tar.gz
plasticbox-1e4bc3dcf5934657e738bbfa74ca2b917268995a.tar.bz2
plasticbox-1e4bc3dcf5934657e738bbfa74ca2b917268995a.tar.xz
plasticbox-1e4bc3dcf5934657e738bbfa74ca2b917268995a.zip
Added the ability to craft buckets from plastic
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index 1e2fa51..87423bc 100644
--- a/init.lua
+++ b/init.lua
@@ -364,3 +364,14 @@ for i in ipairs(plasticbox.colorlist) do
end
end
+
+--Other mods' stuff that can be crafted with plastic
+if minetest.get_modpath("bucket") then
+minetest.register_craft( {
+ output = "bucket:bucket_empty",
+ recipe = {
+ { "homedecor:plastic_sheeting", "", "homedecor:plastic_sheeting" },
+ { "", "homedecor:plastic_sheeting", "" },
+ },
+})
+end