summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extranodes/plastic_block.lua85
-rw-r--r--extranodes/textures/technic_plastic_block.png (renamed from extranodes/textures/technic_plastic_blocks.png)bin222 -> 222 bytes
-rw-r--r--extranodes/textures/technic_plastic_siding_1.png (renamed from extranodes/textures/technic_plastic_siding.png)bin193 -> 193 bytes
3 files changed, 79 insertions, 6 deletions
diff --git a/extranodes/plastic_block.lua b/extranodes/plastic_block.lua
index 332f0d5..6ab6a7f 100644
--- a/extranodes/plastic_block.lua
+++ b/extranodes/plastic_block.lua
@@ -2,11 +2,11 @@ local S = rawget(_G, "intllib") and intllib.Getter() or function(s) return s end
local plastic_nodes = {
{node = "plastic_clean", name = S("Plastic Clean"), tiles = {"technic_plastic_clean.png"}},
- {node = "plastic_siding", name = S("Plastic Siding"), tiles = {"technic_plastic_siding.png"}},
- {node = "plastic_siding_2", name = S("Plastic Siding 2"), tiles = {"technic_plastic_siding_2.png"}},
- {node = "plastic_siding_3", name = S("Plastic Siding 3"), tiles = {"technic_plastic_siding_3.png"}},
+ {node = "plastic_siding_1", name = S("Plastic Siding Block 1"), tiles = {"technic_plastic_siding_1.png"}},
+ {node = "plastic_siding_2", name = S("Plastic Siding Block 2"), tiles = {"technic_plastic_siding_2.png"}},
+ {node = "plastic_siding_3", name = S("Plastic Siding Block 3"), tiles = {"technic_plastic_siding_3.png"}},
{node = "plastic_bricks", name = S("Plastic Bricks"), tiles = {"technic_plastic_bricks.png"}},
- {node = "plastic_blocks", name = S("Plastic Blocks"), tiles = {"technic_plastic_blocks.png"}},
+ {node = "plastic_block", name = S("Plastic Block"), tiles = {"technic_plastic_block.png"}},
{node = "plastic_cross", name = S("Plastic Cross"), tiles = {"technic_plastic_cross.png"}},
{node = "plastic_waves", name = S("Plastic Waves"), tiles = {"technic_plastic_waves.png"}},
{node = "plastic_tiles", name = S("Plastic Tiles"), tiles = {"technic_plastic_tiles.png"}},
@@ -28,7 +28,7 @@ for _,n in pairs(plastic_nodes) do
end
local thin_nodes = {
- {node = "plastic_siding", name = S("Plastic Siding"), tiles = {"technic_plastic_siding.png"}},
+ {node = "plastic_siding_1", name = S("Plastic Siding 1"), tiles = {"technic_plastic_siding_1.png"}},
{node = "plastic_siding_2", name = S("Plastic Siding 2"), tiles = {"technic_plastic_siding_2.png"}},
{node = "plastic_siding_3", name = S("Plastic Siding 3"), tiles = {"technic_plastic_siding_3.png"}},
}
@@ -52,4 +52,77 @@ for _,n in pairs(thin_nodes) do
palette = "technic_paint_palette.png",
})
-end \ No newline at end of file
+end
+
+
+
+minetest.register_craft({
+ output = "technic:plastic_clean",
+ recipe = {
+ { "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting"},
+ { "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting"},
+ { "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting"}
+ },
+})
+
+minetest.register_craft({
+ output = "technic:plastic_siding_1_thin 2",
+ recipe = {
+ {"technic:plastic_clean"},
+ },
+})
+
+minetest.register_craft({
+ output = "technic:plastic_siding_1",
+ recipe = {
+ {"technic:plastic_siding_1_thin", "technic:plastic_siding_1_thin"},
+ },
+})
+
+minetest.register_craft({
+ output = "technic:plastic_siding_2_thin 4",
+ recipe = {
+ { "technic:plastic_clean", "", ""},
+ { "technic:plastic_clean", "", ""},
+ },
+})
+
+minetest.register_craft({
+ output = "technic:plastic_siding_2",
+ recipe = {
+ {"technic:plastic_siding_2_thin", "technic:plastic_siding_2_thin"},
+ },
+})
+
+minetest.register_craft({
+ output = "technic:plastic_siding_3_thin 6",
+ recipe = {
+ { "technic:plastic_clean", "", ""},
+ { "technic:plastic_clean", "", ""},
+ { "technic:plastic_clean", "", ""},
+ },
+})
+
+minetest.register_craft({
+ output = "technic:plastic_siding_3",
+ recipe = {
+ {"technic:plastic_siding_3_thin", "technic:plastic_siding_3_thin"},
+ },
+})
+
+minetest.register_craft({
+ output = "technic:plastic_bricks 4",
+ recipe = {
+ { "technic:plastic_clean", "technic:plastic_clean"},
+ { "technic:plastic_clean", "technic:plastic_clean"},
+ },
+})
+
+minetest.register_craft({
+ output = "technic:plastic_block 9",
+ recipe = {
+ { "technic:plastic_clean", "technic:plastic_clean", "technic:plastic_clean"},
+ { "technic:plastic_clean", "technic:plastic_clean", "technic:plastic_clean"},
+ { "technic:plastic_clean", "technic:plastic_clean", "technic:plastic_clean"},
+ },
+})
diff --git a/extranodes/textures/technic_plastic_blocks.png b/extranodes/textures/technic_plastic_block.png
index 7a7bc6c..7a7bc6c 100644
--- a/extranodes/textures/technic_plastic_blocks.png
+++ b/extranodes/textures/technic_plastic_block.png
Binary files differ
diff --git a/extranodes/textures/technic_plastic_siding.png b/extranodes/textures/technic_plastic_siding_1.png
index c1f451a..c1f451a 100644
--- a/extranodes/textures/technic_plastic_siding.png
+++ b/extranodes/textures/technic_plastic_siding_1.png
Binary files differ