diff options
Diffstat (limited to 'homedecor')
-rw-r--r-- | homedecor/crafts.lua | 34 | ||||
-rw-r--r-- | homedecor/textures/homedecor_copper_wire.png | bin | 354 -> 295 bytes | |||
-rw-r--r-- | homedecor/textures/homedecor_empty_spool.png | bin | 0 -> 214 bytes | |||
-rw-r--r-- | homedecor/textures/homedecor_steel_wire.png | bin | 321 -> 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 Binary files differindex e33eb22..676e98f 100644 --- a/homedecor/textures/homedecor_copper_wire.png +++ b/homedecor/textures/homedecor_copper_wire.png diff --git a/homedecor/textures/homedecor_empty_spool.png b/homedecor/textures/homedecor_empty_spool.png Binary files differnew file mode 100644 index 0000000..017a94f --- /dev/null +++ b/homedecor/textures/homedecor_empty_spool.png diff --git a/homedecor/textures/homedecor_steel_wire.png b/homedecor/textures/homedecor_steel_wire.png Binary files differindex 6534de0..44f8240 100644 --- a/homedecor/textures/homedecor_steel_wire.png +++ b/homedecor/textures/homedecor_steel_wire.png |