summaryrefslogtreecommitdiff
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
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
-rw-r--r--README.md2
-rw-r--r--depends.txt1
-rw-r--r--init.lua11
3 files changed, 14 insertions, 0 deletions
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