mirror of
https://github.com/mt-mods/signs_lib.git
synced 2024-12-24 16:20:17 +01:00
Use minetest_game steel sign to craft the various colored metal signs
instead of using steel ingots. Reduced yield to one per craft. (the "sheet metal" recipes still exist for users of "steel" mod, yield there is unchanged)
This commit is contained in:
parent
fef163662a
commit
931a3e2b15
44
init.lua
44
init.lua
@ -141,6 +141,8 @@ else
|
||||
default_sign_image = "default_sign_wall.png"
|
||||
end
|
||||
|
||||
default_sign_metal = "default:sign_wall_steel"
|
||||
|
||||
--table copy
|
||||
|
||||
function signs_lib.table_copy(t)
|
||||
@ -958,7 +960,7 @@ minetest.register_craft({
|
||||
}
|
||||
})
|
||||
|
||||
--Alternate recipe.
|
||||
--Alternate recipes.
|
||||
|
||||
minetest.register_craft({
|
||||
output = "locked_sign:sign_wall_locked",
|
||||
@ -968,13 +970,21 @@ minetest.register_craft({
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "locked_sign:sign_wall_locked",
|
||||
recipe = {
|
||||
{default_sign_metal},
|
||||
{"default:steel_ingot"},
|
||||
},
|
||||
})
|
||||
|
||||
-- craft recipes for the metal signs
|
||||
|
||||
minetest.register_craft( {
|
||||
output = "signs:sign_wall_green 4",
|
||||
output = "signs:sign_wall_green",
|
||||
recipe = {
|
||||
{ "dye:dark_green", "dye:white", "dye:dark_green" },
|
||||
{ "default:steel_ingot", "default:steel_ingot", "default:steel_ingot" }
|
||||
{ "", default_sign_metal, "" }
|
||||
},
|
||||
})
|
||||
|
||||
@ -987,10 +997,10 @@ minetest.register_craft( {
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
output = "signs:sign_wall_yellow 4",
|
||||
output = "signs:sign_wall_yellow",
|
||||
recipe = {
|
||||
{ "dye:yellow", "dye:black", "dye:yellow" },
|
||||
{ "default:steel_ingot", "default:steel_ingot", "default:steel_ingot" }
|
||||
{ "", default_sign_metal, "" }
|
||||
},
|
||||
})
|
||||
|
||||
@ -1003,10 +1013,10 @@ minetest.register_craft( {
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
output = "signs:sign_wall_red 4",
|
||||
output = "signs:sign_wall_red",
|
||||
recipe = {
|
||||
{ "dye:red", "dye:white", "dye:red" },
|
||||
{ "default:steel_ingot", "default:steel_ingot", "default:steel_ingot" }
|
||||
{ "", default_sign_metal, "" }
|
||||
},
|
||||
})
|
||||
|
||||
@ -1019,10 +1029,10 @@ minetest.register_craft( {
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
output = "signs:sign_wall_white_red 4",
|
||||
output = "signs:sign_wall_white_red",
|
||||
recipe = {
|
||||
{ "dye:white", "dye:red", "dye:white" },
|
||||
{ "default:steel_ingot", "default:steel_ingot", "default:steel_ingot" }
|
||||
{ "", default_sign_metal, "" }
|
||||
},
|
||||
})
|
||||
|
||||
@ -1035,10 +1045,10 @@ minetest.register_craft( {
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
output = "signs:sign_wall_white_black 4",
|
||||
output = "signs:sign_wall_white_black",
|
||||
recipe = {
|
||||
{ "dye:white", "dye:black", "dye:white" },
|
||||
{ "default:steel_ingot", "default:steel_ingot", "default:steel_ingot" }
|
||||
{ "", default_sign_metal, "" }
|
||||
},
|
||||
})
|
||||
|
||||
@ -1051,10 +1061,10 @@ minetest.register_craft( {
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
output = "signs:sign_wall_orange 4",
|
||||
output = "signs:sign_wall_orange",
|
||||
recipe = {
|
||||
{ "dye:orange", "dye:black", "dye:orange" },
|
||||
{ "default:steel_ingot", "default:steel_ingot", "default:steel_ingot" }
|
||||
{ "", default_sign_metal, "" }
|
||||
},
|
||||
})
|
||||
|
||||
@ -1067,10 +1077,10 @@ minetest.register_craft( {
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
output = "signs:sign_wall_blue 4",
|
||||
output = "signs:sign_wall_blue",
|
||||
recipe = {
|
||||
{ "dye:blue", "dye:white", "dye:blue" },
|
||||
{ "default:steel_ingot", "default:steel_ingot", "default:steel_ingot" }
|
||||
{ "", default_sign_metal, "" }
|
||||
},
|
||||
})
|
||||
|
||||
@ -1083,10 +1093,10 @@ minetest.register_craft( {
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
output = "signs:sign_wall_brown 4",
|
||||
output = "signs:sign_wall_brown",
|
||||
recipe = {
|
||||
{ "dye:brown", "dye:white", "dye:brown" },
|
||||
{ "default:steel_ingot", "default:steel_ingot", "default:steel_ingot" }
|
||||
{ "", default_sign_metal, "" }
|
||||
},
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user