basic_materials for plastics

This commit is contained in:
Evert Prants 2018-12-12 15:20:22 +02:00
parent 5c2a6f6f2a
commit 9d0283d264
Signed by: evert
GPG Key ID: 1688DA83D222D0B5
4 changed files with 19 additions and 19 deletions

View File

@ -1,24 +1,24 @@
if minetest.get_modpath("homedecor") == nil and minetest.get_modpath("pipeworks") == nil then if minetest.get_modpath("basic_materials") == nil then
minetest.register_craftitem(":homedecor:oil_extract", { minetest.register_craftitem(":basic_materials:oil_extract", {
description = "Oil Extract", description = "Oil Extract",
inventory_image = "elepower_oil_extract.png", inventory_image = "elepower_oil_extract.png",
}) })
minetest.register_craftitem(":homedecor:paraffin", { minetest.register_craftitem(":basic_materials:paraffin", {
description = "Unprocessed Paraffin", description = "Unprocessed Paraffin",
inventory_image = "elepower_paraffin.png", 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", description = "Plastic Sheet",
inventory_image = "elepower_plastic_sheeting.png", inventory_image = "elepower_plastic_sheet.png",
}) })
minetest.register_craft({ minetest.register_craft({
type = "shapeless", type = "shapeless",
output = "homedecor:oil_extract 4", output = "basic_materials:oil_extract 4",
recipe = { recipe = {
"group:leaves", "group:leaves",
"group:leaves", "group:leaves",
@ -31,31 +31,31 @@ if minetest.get_modpath("homedecor") == nil and minetest.get_modpath("pipeworks"
minetest.register_craft({ minetest.register_craft({
type = "cooking", type = "cooking",
output = "homedecor:paraffin", output = "basic_materials:paraffin",
recipe = "homedecor:oil_extract", recipe = "basic_materials:oil_extract",
}) })
minetest.register_craft({ minetest.register_craft({
type = "cooking", type = "cooking",
output = "homedecor:plastic_sheeting", output = "basic_materials:plastic_sheet",
recipe = "homedecor:paraffin", recipe = "basic_materials:paraffin",
}) })
minetest.register_craft({ minetest.register_craft({
type = "fuel", type = "fuel",
recipe = "homedecor:oil_extract", recipe = "basic_materials:oil_extract",
burntime = 30, burntime = 30,
}) })
minetest.register_craft({ minetest.register_craft({
type = "fuel", type = "fuel",
recipe = "homedecor:paraffin", recipe = "basic_materials:paraffin",
burntime = 30, burntime = 30,
}) })
minetest.register_craft({ minetest.register_craft({
type = "fuel", type = "fuel",
recipe = "homedecor:plastic_sheeting", recipe = "basic_materials:plastic_sheet",
burntime = 30, burntime = 30,
}) })
end end

View File

@ -195,7 +195,7 @@ minetest.register_craft({
minetest.register_craft({ minetest.register_craft({
output = "elepower_dynamics:chip 6", output = "elepower_dynamics:chip 6",
recipe = { 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:mese_crystal", "group:color_black", "default:mese_crystal"},
{"default:copper_ingot", "moreores:silver_ingot", "default:copper_ingot"}, {"default:copper_ingot", "moreores:silver_ingot", "default:copper_ingot"},
} }
@ -204,7 +204,7 @@ minetest.register_craft({
minetest.register_craft({ minetest.register_craft({
output = "elepower_dynamics:capacitor 6", output = "elepower_dynamics:capacitor 6",
recipe = { 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"}, {"moreores:silver_ingot", "default:mese_crystal", "moreores:silver_ingot"},
{"default:copper_ingot", "group:color_violet", "default:copper_ingot"}, {"default:copper_ingot", "group:color_violet", "default:copper_ingot"},
} }

View File

@ -1,4 +1,4 @@
name = elepower_dynamics name = elepower_dynamics
description = Elepower Dynamics. Conduits and materials! description = Elepower Dynamics. Conduits and materials!
depends = elepower_papi,elepower_fapi,default,fluid_tanks depends = elepower_papi,elepower_fapi,default,fluid_tanks
optional_depends = moreores,pipeworks,homedecor,dye optional_depends = moreores,basic_materials,dye

View File

@ -7,9 +7,9 @@
minetest.register_craft({ minetest.register_craft({
output = "elepower_farming:device_frame", output = "elepower_farming:device_frame",
recipe = { 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"}, {"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"},
} }
}) })