From 1e4bc3dcf5934657e738bbfa74ca2b917268995a Mon Sep 17 00:00:00 2001 From: cheapie Date: Thu, 15 May 2014 19:45:48 -0500 Subject: Added the ability to craft buckets from plastic --- README.md | 2 ++ depends.txt | 1 + init.lua | 11 +++++++++++ 3 files changed, 14 insertions(+) diff --git a/README.md b/README.md index bcd7d1d..8a5e911 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,8 @@ X is Plastic Sheets (from homedecor/pipeworks), - is nothing Plain plastic box and a dye. (shapeless) +Buckets can also be crafted from plastic sheets in place of steel ingots. + Recycling: There are two ways to recycle plastic boxes. If you have Technic installed, plastic boxes of any color can be ground to 2 "plastic powder" and sheets to one powder. Without Technic, craft 4 plastic boxes (plain only) in a square to get 7 powder. In either case, the powder can be cooked in a furnace to make plastic sheets, from which more boxes (or other plastic items) can be made. diff --git a/depends.txt b/depends.txt index 8793099..2234e67 100644 --- a/depends.txt +++ b/depends.txt @@ -1,2 +1,3 @@ homedecor technic? +bucket? 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 -- cgit v1.2.3