Add copper nugget and make coppern lantern craftable
This commit is contained in:
parent
5f4eaa8e70
commit
9cce703968
|
@ -229,7 +229,7 @@ minetest.register_tool("mcl_copper_stuff:shears_copper", {
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Copper Lantern
|
-- Copper Lantern
|
||||||
mcl_lanterns.register_lantern("mcl_copper_stuff:copper_lantern", {
|
mcl_lanterns.register_lantern("copper_lantern", {
|
||||||
description = S("Copper Lantern"),
|
description = S("Copper Lantern"),
|
||||||
longdesc = S("Copper Lanterns are light sources which can be placed on the top or the bottom of most blocks."),
|
longdesc = S("Copper Lanterns are light sources which can be placed on the top or the bottom of most blocks."),
|
||||||
texture = "mcl_copper_stuff_copper_lantern.png",
|
texture = "mcl_copper_stuff_copper_lantern.png",
|
||||||
|
@ -237,6 +237,13 @@ mcl_lanterns.register_lantern("mcl_copper_stuff:copper_lantern", {
|
||||||
light_level = 10,
|
light_level = 10,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
--copper nugget
|
||||||
|
minetest.register_craftitem("mcl_copper_stuff:copper_nugget", {
|
||||||
|
description = S("Copper Nugget"),
|
||||||
|
_doc_items_longdesc = S("Small chunks of copper, mainly used for crafting copper lanterns"),
|
||||||
|
inventory_image = "mcl_copper_stuff_copper_nugget.png",
|
||||||
|
})
|
||||||
|
|
||||||
-- Registering crafts
|
-- Registering crafts
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "mcl_copper_stuff:pick_copper",
|
output = "mcl_copper_stuff:pick_copper",
|
||||||
|
@ -281,3 +288,28 @@ minetest.register_craft({
|
||||||
{ "mcl_copper:copper_ingot", "" },
|
{ "mcl_copper:copper_ingot", "" },
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
-- copper nugget crafting
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "mcl_copper_stuff:copper_nugget 9",
|
||||||
|
recipe = {
|
||||||
|
{"mcl_copper:copper_ingot"},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
-- copper ingot crafting (nuggets)
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "mcl_copper:copper_ingot",
|
||||||
|
recipe = {
|
||||||
|
{"mcl_copper_stuff:copper_nugget", "mcl_copper_stuff:copper_nugget", "mcl_copper_stuff:copper_nugget"},
|
||||||
|
{"mcl_copper_stuff:copper_nugget", "mcl_copper_stuff:copper_nugget", "mcl_copper_stuff:copper_nugget"},
|
||||||
|
{"mcl_copper_stuff:copper_nugget", "mcl_copper_stuff:copper_nugget", "mcl_copper_stuff:copper_nugget"},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
-- copper lantern recipe
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "mcl_lanterns:copper_lantern_floor",
|
||||||
|
recipe = {
|
||||||
|
{"mcl_copper_stuff:copper_nugget", "mcl_copper_stuff:copper_nugget", "mcl_copper_stuff:copper_nugget"},
|
||||||
|
{"mcl_copper_stuff:copper_nugget", "mcl_torches:torch" , "mcl_copper_stuff:copper_nugget"},
|
||||||
|
{"mcl_copper_stuff:copper_nugget", "mcl_copper_stuff:copper_nugget", "mcl_copper_stuff:copper_nugget"},
|
||||||
|
},
|
||||||
|
})
|
Loading…
Reference in New Issue