diff --git a/elepower_dynamics/compat/plastic.lua b/elepower_dynamics/compat/plastic.lua index 25f687e..a0f81f7 100644 --- a/elepower_dynamics/compat/plastic.lua +++ b/elepower_dynamics/compat/plastic.lua @@ -1,24 +1,24 @@ -if minetest.get_modpath("homedecor") == nil and minetest.get_modpath("pipeworks") == nil then - minetest.register_craftitem(":homedecor:oil_extract", { +if minetest.get_modpath("basic_materials") == nil then + minetest.register_craftitem(":basic_materials:oil_extract", { description = "Oil Extract", inventory_image = "elepower_oil_extract.png", }) - minetest.register_craftitem(":homedecor:paraffin", { + minetest.register_craftitem(":basic_materials:paraffin", { description = "Unprocessed Paraffin", inventory_image = "elepower_paraffin.png", }) - minetest.register_alias("homedecor:plastic_base", "homedecor:paraffin") + minetest.register_alias("basic_materials:plastic_base", "basic_materials:paraffin") - minetest.register_craftitem(":homedecor:plastic_sheeting", { + minetest.register_craftitem(":basic_materials:plastic_sheet", { description = "Plastic Sheet", - inventory_image = "elepower_plastic_sheeting.png", + inventory_image = "elepower_plastic_sheet.png", }) minetest.register_craft({ type = "shapeless", - output = "homedecor:oil_extract 4", + output = "basic_materials:oil_extract 4", recipe = { "group:leaves", "group:leaves", @@ -31,31 +31,31 @@ if minetest.get_modpath("homedecor") == nil and minetest.get_modpath("pipeworks" minetest.register_craft({ type = "cooking", - output = "homedecor:paraffin", - recipe = "homedecor:oil_extract", + output = "basic_materials:paraffin", + recipe = "basic_materials:oil_extract", }) minetest.register_craft({ type = "cooking", - output = "homedecor:plastic_sheeting", - recipe = "homedecor:paraffin", + output = "basic_materials:plastic_sheet", + recipe = "basic_materials:paraffin", }) minetest.register_craft({ type = "fuel", - recipe = "homedecor:oil_extract", + recipe = "basic_materials:oil_extract", burntime = 30, }) minetest.register_craft({ type = "fuel", - recipe = "homedecor:paraffin", + recipe = "basic_materials:paraffin", burntime = 30, }) minetest.register_craft({ type = "fuel", - recipe = "homedecor:plastic_sheeting", + recipe = "basic_materials:plastic_sheet", burntime = 30, }) end diff --git a/elepower_dynamics/crafting.lua b/elepower_dynamics/crafting.lua index c206b75..bebce30 100644 --- a/elepower_dynamics/crafting.lua +++ b/elepower_dynamics/crafting.lua @@ -195,7 +195,7 @@ minetest.register_craft({ minetest.register_craft({ output = "elepower_dynamics:chip 6", 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", "group:color_black", "default:mese_crystal"}, {"default:copper_ingot", "moreores:silver_ingot", "default:copper_ingot"}, } @@ -204,7 +204,7 @@ minetest.register_craft({ minetest.register_craft({ output = "elepower_dynamics:capacitor 6", recipe = { - {"homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting"}, + {"basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet"}, {"moreores:silver_ingot", "default:mese_crystal", "moreores:silver_ingot"}, {"default:copper_ingot", "group:color_violet", "default:copper_ingot"}, } diff --git a/elepower_dynamics/mod.conf b/elepower_dynamics/mod.conf index 4af6f48..be50925 100644 --- a/elepower_dynamics/mod.conf +++ b/elepower_dynamics/mod.conf @@ -1,4 +1,4 @@ name = elepower_dynamics description = Elepower Dynamics. Conduits and materials! depends = elepower_papi,elepower_fapi,default,fluid_tanks -optional_depends = moreores,pipeworks,homedecor,dye +optional_depends = moreores,basic_materials,dye diff --git a/elepower_farming/crafting.lua b/elepower_farming/crafting.lua index 627f22d..dbc0999 100644 --- a/elepower_farming/crafting.lua +++ b/elepower_farming/crafting.lua @@ -7,9 +7,9 @@ minetest.register_craft({ output = "elepower_farming:device_frame", recipe = { - {"homedecor:plastic_sheeting", "default:glass", "homedecor:plastic_sheeting"}, + {"basic_materials:plastic_sheet", "default:glass", "basic_materials:plastic_sheet"}, {"default:glass", "default:mese_crystal", "default:glass"}, - {"homedecor:plastic_sheeting", "default:glass", "homedecor:plastic_sheeting"}, + {"basic_materials:plastic_sheet", "default:glass", "basic_materials:plastic_sheet"}, } })