fix and add crafting recipes

This commit is contained in:
Niklp09 2022-06-28 14:52:33 +02:00
parent eacbe80fae
commit 9cc46e02c3
5 changed files with 28 additions and 5 deletions

View File

@ -9,7 +9,7 @@ if minetest.get_modpath("default") then
},
})
end
if minetest.get_modpath("vessel") then
if minetest.get_modpath("vessels") then
minetest.register_craft({
output = "home_vending_machines:drink_machine",
recipe = {
@ -19,7 +19,7 @@ if minetest.get_modpath("default") then
},
})
end
if minetest.get_modpath("farming") then
if farming and farming.mod and farming.mod == "redo" then
minetest.register_craft({
output = "home_vending_machines:sweet_machine",
recipe = {

View File

@ -1 +1,2 @@
optional_depends = screwdriver
name = home_vending_machines
optional_depends = screwdriver, default, dye, vessels, farming

View File

@ -61,6 +61,28 @@ minetest.register_node("home_workshop_machines:3dprinter_corexy", {
on_rotate = unifieddyes.fix_after_screwdriver_nsew,
})
if minetest.get_modpath("basic_materials") then
minetest.register_craft({
output = "home_workshop_machines:3dprinter_bedflinger",
recipe = {
{"basic_materials:plastic_sheet", "dye:white", "basic_materials:plastic_sheet"},
{"basic_materials:motor", "basic_materials:heating_element", "basic_materials:motor"},
{"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
},
})
end
if minetest.get_modpath("basic_materials") then
minetest.register_craft({
output = "home_workshop_machines:3dprinter_corexy",
recipe = {
{"default:steel_ingot", "basic_materials:motor", "basic_materials:plastic_sheet"},
{"default:glass", "basic_materials:heating_element", "default:glass"},
{"default:steel_ingot", "basic_materials:motor", "default:steel_ingot"},
},
})
end
minetest.register_alias("computer:3dprinter_bedflinger", "home_workshop_machines:3dprinter_bedflinger")
minetest.register_alias("computers:3dprinter_bedflinger", "home_workshop_machines:3dprinter_bedflinger")
minetest.register_alias("computer:3dprinter_corexy", "home_workshop_machines:3dprinter_corexy")

View File

@ -1,4 +1,3 @@
name = home_workshop_machines
depends = unifieddyes
optional_depends = default
optional_depends = screwdriver
optional_depends = default, screwdriver, dye, basic_materials

View File

@ -0,0 +1 @@
name = home_workshop_modpack