summaryrefslogtreecommitdiff
path: root/pipeworks
diff options
context:
space:
mode:
Diffstat (limited to 'pipeworks')
-rw-r--r--pipeworks/autocrafter.lua2
-rw-r--r--pipeworks/crafts.lua85
-rw-r--r--pipeworks/depends.txt1
-rw-r--r--pipeworks/filter-injector.lua18
-rw-r--r--pipeworks/routing_tubes.lua18
-rw-r--r--pipeworks/signal_tubes.lua8
-rw-r--r--pipeworks/sorting_tubes.lua4
-rw-r--r--pipeworks/teleport_tube.lua4
-rw-r--r--pipeworks/textures/pipeworks_gear.pngbin5845 -> 0 bytes
-rw-r--r--pipeworks/trashcan.lua2
-rw-r--r--pipeworks/vacuum_tubes.lua8
11 files changed, 33 insertions, 117 deletions
diff --git a/pipeworks/autocrafter.lua b/pipeworks/autocrafter.lua
index 7ddc312..5d554c1 100644
--- a/pipeworks/autocrafter.lua
+++ b/pipeworks/autocrafter.lua
@@ -407,7 +407,7 @@ minetest.register_craft( {
output = "pipeworks:autocrafter 2",
recipe = {
{ "default:steel_ingot", "default:mese_crystal", "default:steel_ingot" },
- { "homedecor:plastic_sheeting", "default:steel_ingot", "homedecor:plastic_sheeting" },
+ { "basic_materials:plastic_sheeting", "default:steel_ingot", "basic_materials:plastic_sheeting" },
{ "default:steel_ingot", "default:mese_crystal", "default:steel_ingot" }
},
})
diff --git a/pipeworks/crafts.lua b/pipeworks/crafts.lua
index 2ee5710..9c02da8 100644
--- a/pipeworks/crafts.lua
+++ b/pipeworks/crafts.lua
@@ -85,88 +85,3 @@ minetest.register_craft( {
{ "pipeworks:pipe_1_empty" }
},
})
-
-
--- Crafting recipes for pneumatic tubes
-
--- If homedecor is not installed, we need to register its crafting chain for
--- plastic sheeting so that pipeworks remains compatible with it.
-
-if minetest.get_modpath("homedecor") == nil then
-
- minetest.register_craftitem(":homedecor:oil_extract", {
- description = "Oil extract",
- inventory_image = "homedecor_oil_extract.png",
- })
-
- minetest.register_craftitem(":homedecor:paraffin", {
- description = "Unprocessed paraffin",
- inventory_image = "homedecor_paraffin.png",
- })
-
- minetest.register_alias("homedecor:plastic_base", "homedecor:paraffin")
-
- minetest.register_craftitem(":homedecor:plastic_sheeting", {
- description = "Plastic sheet",
- inventory_image = "homedecor_plastic_sheeting.png",
- })
-
- minetest.register_craft({
- type = "shapeless",
- output = "homedecor:oil_extract 4",
- recipe = {
- "group:leaves",
- "group:leaves",
- "group:leaves",
- "group:leaves",
- "group:leaves",
- "group:leaves"
- }
- })
-
- minetest.register_craft({
- type = "cooking",
- output = "homedecor:paraffin",
- recipe = "homedecor:oil_extract",
- })
-
- minetest.register_craft({
- type = "cooking",
- output = "homedecor:plastic_sheeting",
- recipe = "homedecor:paraffin",
- })
-
- minetest.register_craft({
- type = "fuel",
- recipe = "homedecor:oil_extract",
- burntime = 30,
- })
-
- minetest.register_craft({
- type = "fuel",
- recipe = "homedecor:paraffin",
- burntime = 30,
- })
-
- minetest.register_craft({
- type = "fuel",
- recipe = "homedecor:plastic_sheeting",
- burntime = 30,
- })
-end
-
--- crafting items for creating node breakers
-minetest.register_craftitem("pipeworks:gear", {
- description = "Gear",
- inventory_image = "pipeworks_gear.png",
-})
-
-minetest.register_craft( {
- output = "pipeworks:gear 6",
- recipe = {
- { "", "default:steel_ingot", "" },
- { "default:steel_ingot","default:stone", "default:steel_ingot" },
- { "", "default:steel_ingot", "" }
- },
-})
-
diff --git a/pipeworks/depends.txt b/pipeworks/depends.txt
index 0cb7406..97c9e30 100644
--- a/pipeworks/depends.txt
+++ b/pipeworks/depends.txt
@@ -1,4 +1,5 @@
default
+basic_materials
mesecons
mesecons_mvps
digilines?
diff --git a/pipeworks/filter-injector.lua b/pipeworks/filter-injector.lua
index cf1fc74..29fc1d3 100644
--- a/pipeworks/filter-injector.lua
+++ b/pipeworks/filter-injector.lua
@@ -473,18 +473,18 @@ end
minetest.register_craft( {
output = "pipeworks:filter 2",
recipe = {
- { "default:steel_ingot", "default:steel_ingot", "homedecor:plastic_sheeting" },
- { "group:stick", "default:mese_crystal", "homedecor:plastic_sheeting" },
- { "default:steel_ingot", "default:steel_ingot", "homedecor:plastic_sheeting" }
+ { "default:steel_ingot", "default:steel_ingot", "basic_materials:plastic_sheet" },
+ { "group:stick", "default:mese_crystal", "basic_materials:plastic_sheet" },
+ { "default:steel_ingot", "default:steel_ingot", "basic_materials:plastic_sheet" }
},
})
minetest.register_craft( {
output = "pipeworks:mese_filter 2",
recipe = {
- { "default:steel_ingot", "default:steel_ingot", "homedecor:plastic_sheeting" },
- { "group:stick", "default:mese", "homedecor:plastic_sheeting" },
- { "default:steel_ingot", "default:steel_ingot", "homedecor:plastic_sheeting" }
+ { "default:steel_ingot", "default:steel_ingot", "basic_materials:plastic_sheet" },
+ { "group:stick", "default:mese", "basic_materials:plastic_sheet" },
+ { "default:steel_ingot", "default:steel_ingot", "basic_materials:plastic_sheet" }
},
})
@@ -492,9 +492,9 @@ if minetest.get_modpath("digilines") then
minetest.register_craft( {
output = "pipeworks:digiline_filter 2",
recipe = {
- { "default:steel_ingot", "default:steel_ingot", "homedecor:plastic_sheeting" },
- { "group:stick", "digilines:wire_std_00000000", "homedecor:plastic_sheeting" },
- { "default:steel_ingot", "default:steel_ingot", "homedecor:plastic_sheeting" }
+ { "default:steel_ingot", "default:steel_ingot", "basic_materials:plastic_sheet" },
+ { "group:stick", "digilines:wire_std_00000000", "basic_materials:plastic_sheet" },
+ { "default:steel_ingot", "default:steel_ingot", "basic_materials:plastic_sheet" }
},
})
end
diff --git a/pipeworks/routing_tubes.lua b/pipeworks/routing_tubes.lua
index e2f1af4..45fcea8 100644
--- a/pipeworks/routing_tubes.lua
+++ b/pipeworks/routing_tubes.lua
@@ -4,9 +4,9 @@ pipeworks.register_tube("pipeworks:tube", "Pneumatic tube segment")
minetest.register_craft( {
output = "pipeworks:tube_1 6",
recipe = {
- { "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" },
+ { "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" },
{ "", "", "" },
- { "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" }
+ { "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" }
},
})
@@ -82,9 +82,9 @@ if pipeworks.enable_priority_tube then
minetest.register_craft( {
output = "pipeworks:priority_tube_1 6",
recipe = {
- { "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" },
+ { "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" },
{ "default:gold_ingot", "", "default:gold_ingot" },
- { "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" }
+ { "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" }
},
})
end
@@ -107,9 +107,9 @@ if pipeworks.enable_accelerator_tube then
minetest.register_craft( {
output = "pipeworks:accelerator_tube_1 2",
recipe = {
- { "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" },
+ { "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" },
{ "default:mese_crystal_fragment", "default:steel_ingot", "default:mese_crystal_fragment" },
- { "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" }
+ { "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" }
},
})
end
@@ -166,9 +166,9 @@ if pipeworks.enable_one_way_tube then
minetest.register_craft({
output = "pipeworks:one_way_tube 2",
recipe = {
- { "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" },
- { "group:stick", "default:mese_crystal", "homedecor:plastic_sheeting" },
- { "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" }
+ { "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" },
+ { "group:stick", "default:mese_crystal", "basic_materials:plastic_sheet" },
+ { "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" }
},
})
end
diff --git a/pipeworks/signal_tubes.lua b/pipeworks/signal_tubes.lua
index b955a16..7048ebb 100644
--- a/pipeworks/signal_tubes.lua
+++ b/pipeworks/signal_tubes.lua
@@ -60,9 +60,9 @@ if pipeworks.enable_detector_tube then
minetest.register_craft( {
output = "pipeworks:detector_tube_off_1 2",
recipe = {
- { "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" },
+ { "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" },
{ "mesecons:mesecon", "mesecons_materials:silicon", "mesecons:mesecon" },
- { "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" }
+ { "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" }
},
})
end
@@ -110,9 +110,9 @@ if digiline_enabled and pipeworks.enable_digiline_detector_tube then
minetest.register_craft( {
output = "pipeworks:digiline_detector_tube_1 2",
recipe = {
- { "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" },
+ { "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" },
{ "digilines:wire_std_00000000", "mesecons_materials:silicon", "digilines:wire_std_00000000" },
- { "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" }
+ { "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" }
},
})
end
diff --git a/pipeworks/sorting_tubes.lua b/pipeworks/sorting_tubes.lua
index e7e918d..76eec32 100644
--- a/pipeworks/sorting_tubes.lua
+++ b/pipeworks/sorting_tubes.lua
@@ -153,9 +153,9 @@ if pipeworks.enable_mese_tube then
minetest.register_craft( {
output = "pipeworks:mese_tube_000000 2",
recipe = {
- { "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" },
+ { "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" },
{ "", "default:mese_crystal", "" },
- { "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" }
+ { "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" }
},
})
diff --git a/pipeworks/teleport_tube.lua b/pipeworks/teleport_tube.lua
index d707717..f4bad74 100644
--- a/pipeworks/teleport_tube.lua
+++ b/pipeworks/teleport_tube.lua
@@ -242,9 +242,9 @@ pipeworks.register_tube("pipeworks:teleport_tube", {
minetest.register_craft( {
output = "pipeworks:teleport_tube_1 2",
recipe = {
- { "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" },
+ { "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" },
{ "default:desert_stone", "default:mese", "default:desert_stone" },
- { "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" }
+ { "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" }
},
})
diff --git a/pipeworks/textures/pipeworks_gear.png b/pipeworks/textures/pipeworks_gear.png
deleted file mode 100644
index 584f9a5..0000000
--- a/pipeworks/textures/pipeworks_gear.png
+++ /dev/null
Binary files differ
diff --git a/pipeworks/trashcan.lua b/pipeworks/trashcan.lua
index 8db9edf..f6dff50 100644
--- a/pipeworks/trashcan.lua
+++ b/pipeworks/trashcan.lua
@@ -43,7 +43,7 @@ minetest.register_node("pipeworks:trashcan", {
minetest.register_craft({
output = "pipeworks:trashcan",
recipe = {
- { "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" },
+ { "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" },
{ "default:steel_ingot", "", "default:steel_ingot" },
{ "default:steel_ingot", "default:steel_ingot", "default:steel_ingot" },
},
diff --git a/pipeworks/vacuum_tubes.lua b/pipeworks/vacuum_tubes.lua
index d616835..c1e9fe0 100644
--- a/pipeworks/vacuum_tubes.lua
+++ b/pipeworks/vacuum_tubes.lua
@@ -12,9 +12,9 @@ if pipeworks.enable_sand_tube then
minetest.register_craft( {
output = "pipeworks:sand_tube_1 2",
recipe = {
- {"homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting"},
+ {"basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet"},
{"group:sand", "group:sand", "group:sand"},
- {"homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting"}
+ {"basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet"}
},
})
@@ -63,9 +63,9 @@ if pipeworks.enable_mese_sand_tube then
minetest.register_craft( {
output = "pipeworks:mese_sand_tube_1 2",
recipe = {
- {"homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" },
+ {"basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" },
{"group:sand", "default:mese_crystal", "group:sand" },
- {"homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" }
+ {"basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" }
},
})