forked from mtcontrib/homedecor_modpack
add recipes for windowblinds via new craft item, plastic strips
This commit is contained in:
parent
7805035d21
commit
44b34cf3a3
@ -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" },
|
||||
},
|
||||
})
|
||||
|
BIN
homedecor/textures/homedecor_plastic_strips.png
Normal file
BIN
homedecor/textures/homedecor_plastic_strips.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 130 B |
Loading…
Reference in New Issue
Block a user