summaryrefslogtreecommitdiff
path: root/homedecor
diff options
context:
space:
mode:
Diffstat (limited to 'homedecor')
-rw-r--r--homedecor/crafts.lua34
-rw-r--r--homedecor/textures/homedecor_copper_wire.pngbin354 -> 295 bytes
-rw-r--r--homedecor/textures/homedecor_empty_spool.pngbin0 -> 214 bytes
-rw-r--r--homedecor/textures/homedecor_steel_wire.pngbin321 -> 301 bytes
4 files changed, 25 insertions, 9 deletions
diff --git a/homedecor/crafts.lua b/homedecor/crafts.lua
index 72ccfd5..f924981 100644
--- a/homedecor/crafts.lua
+++ b/homedecor/crafts.lua
@@ -78,6 +78,11 @@ minetest.register_craftitem("homedecor:dvd_player", {
inventory_image = "homedecor_dvd_player.png"
})
+minetest.register_craftitem("homedecor:empty_spool", {
+ description = S("Empty wire spool"),
+ inventory_image = "homedecor_empty_spool.png"
+})
+
minetest.register_craftitem("homedecor:copper_wire", {
description = S("Spool of copper wire"),
inventory_image = "homedecor_copper_wire.png"
@@ -207,21 +212,32 @@ minetest.register_craft( {
})
minetest.register_craft( {
- output = "homedecor:steel_wire 4",
+ output = "homedecor:empty_spool 3",
recipe = {
+ { "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" },
{ "", "homedecor:plastic_sheeting", "" },
- { "default:steel_ingot", "homedecor:plastic_sheeting", "default:steel_ingot" },
- { "", "homedecor:plastic_sheeting", "" }
+ { "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" }
},
})
minetest.register_craft( {
- output = "homedecor:copper_wire 4",
- recipe = {
- { "", "homedecor:plastic_sheeting", "" },
- { "default:copper_ingot", "homedecor:plastic_sheeting", "default:copper_ingot" },
- { "", "homedecor:plastic_sheeting", "" }
- },
+ output = "homedecor:steel_wire 2",
+ type = "shapeless",
+ recipe = {
+ "default:steel_ingot",
+ "homedecor:empty_spool",
+ "homedecor:empty_spool",
+ },
+})
+
+minetest.register_craft( {
+ output = "homedecor:copper_wire 2",
+ type = "shapeless",
+ recipe = {
+ "default:copper_ingot",
+ "homedecor:empty_spool",
+ "homedecor:empty_spool",
+ },
})
minetest.register_craft( {
diff --git a/homedecor/textures/homedecor_copper_wire.png b/homedecor/textures/homedecor_copper_wire.png
index e33eb22..676e98f 100644
--- a/homedecor/textures/homedecor_copper_wire.png
+++ b/homedecor/textures/homedecor_copper_wire.png
Binary files differ
diff --git a/homedecor/textures/homedecor_empty_spool.png b/homedecor/textures/homedecor_empty_spool.png
new file mode 100644
index 0000000..017a94f
--- /dev/null
+++ b/homedecor/textures/homedecor_empty_spool.png
Binary files differ
diff --git a/homedecor/textures/homedecor_steel_wire.png b/homedecor/textures/homedecor_steel_wire.png
index 6534de0..44f8240 100644
--- a/homedecor/textures/homedecor_steel_wire.png
+++ b/homedecor/textures/homedecor_steel_wire.png
Binary files differ