add recipes for windowblinds via new craft item, plastic strips

This commit is contained in:
Vanessa Ezekowitz 2014-07-08 04:03:39 -04:00
parent 7805035d21
commit 44b34cf3a3
2 changed files with 29 additions and 0 deletions

View File

@ -21,6 +21,11 @@ minetest.register_craftitem("homedecor:plastic_sheeting", {
inventory_image = "homedecor_plastic_sheeting.png",
})
minetest.register_craftitem("homedecor:plastic_strips", {
description = S("Plastic strips"),
inventory_image = "homedecor_plastic_strips.png",
})
minetest.register_craftitem("homedecor:plastic_base", {
description = S("Unprocessed Plastic base"),
wield_image = "homedecor_plastic_base.png",
@ -94,6 +99,13 @@ end
-- the actual crafts
minetest.register_craft( {
output = "homedecor:plastic_strips 3",
recipe = {
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" }
},
})
minetest.register_craft( {
output = "homedecor:heating_element 2",
recipe = {
@ -1928,3 +1940,20 @@ minetest.register_craft({
},
})
minetest.register_craft({
output = "homedecor:blinds_thin",
recipe = {
{ "default:stick", "homedecor:plastic_sheeting", "default:stick" },
{ "farming:string", "homedecor:plastic_strips", "" },
{ "", "homedecor:plastic_strips", "" },
},
})
minetest.register_craft({
output = "homedecor:blinds_thick",
recipe = {
{ "default:stick", "homedecor:plastic_sheeting", "default:stick" },
{ "farming:string", "homedecor:plastic_strips", "homedecor:plastic_strips" },
{ "", "homedecor:plastic_strips", "homedecor:plastic_strips" },
},
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 B