mirror of
https://github.com/mt-mods/basic_materials.git
synced 2025-07-03 00:20:26 +02:00
Compare commits
7 Commits
9d55f9916d
...
hades
Author | SHA1 | Date | |
---|---|---|---|
e4b766cd5c | |||
f7039e09f3 | |||
aa60caa261 | |||
0837b7d766 | |||
6e41b10e5f | |||
d14a1b4e52 | |||
29ade1253a |
@ -132,6 +132,6 @@ minetest.register_craftitem("basic_materials:padlock", {
|
|||||||
if minetest.get_modpath("hades_materials") then
|
if minetest.get_modpath("hades_materials") then
|
||||||
minetest.register_alias_force("basic_materials:plastic_sheet", "hades_materials:plastic_sheeting")
|
minetest.register_alias_force("basic_materials:plastic_sheet", "hades_materials:plastic_sheeting")
|
||||||
minetest.register_alias_force("basic_materials:paraffin", "hades_materials:plastic_base")
|
minetest.register_alias_force("basic_materials:paraffin", "hades_materials:plastic_base")
|
||||||
minetest.register_alias_force("basic_materials:silicon", "hades_materials:silicon")
|
minetest.register_alias_force("hades_extramaterials:silicon", "hades_materials:silicon")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
42
crafts.lua
42
crafts.lua
@ -16,10 +16,6 @@ local materials = {
|
|||||||
silicon = "mesecons_materials:silicon",
|
silicon = "mesecons_materials:silicon",
|
||||||
}
|
}
|
||||||
|
|
||||||
if minetest.get_modpath("moreores") then
|
|
||||||
materials.silver_ingot = "moreores:silver_ingot"
|
|
||||||
end
|
|
||||||
|
|
||||||
if minetest.get_modpath("mcl_core") then
|
if minetest.get_modpath("mcl_core") then
|
||||||
materials = {
|
materials = {
|
||||||
dirt = "mcl_core:dirt",
|
dirt = "mcl_core:dirt",
|
||||||
@ -380,24 +376,22 @@ minetest.register_craft( {
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
if materials.silver_ingot then
|
minetest.register_craft( {
|
||||||
minetest.register_craft( {
|
output = "basic_materials:silver_wire 2",
|
||||||
output = "basic_materials:silver_wire 2",
|
type = "shapeless",
|
||||||
type = "shapeless",
|
recipe = {
|
||||||
recipe = {
|
materials.silver_ingot,
|
||||||
materials.silver_ingot,
|
"basic_materials:empty_spool",
|
||||||
"basic_materials:empty_spool",
|
"basic_materials:empty_spool",
|
||||||
"basic_materials:empty_spool",
|
},
|
||||||
},
|
})
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
output = "basic_materials:brass_ingot 3",
|
output = "basic_materials:brass_ingot 3",
|
||||||
recipe = {
|
recipe = {
|
||||||
materials.copper_ingot,
|
materials.copper_ingot,
|
||||||
materials.copper_ingot,
|
materials.copper_ingot,
|
||||||
materials.silver_ingot,
|
materials.silver_ingot,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
end
|
|
||||||
|
Reference in New Issue
Block a user