diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2016-09-09 03:45:25 -0400 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2016-09-09 03:45:25 -0400 |
commit | 931a3e2b15ea4cd699c5b593898ecc66275469c6 (patch) | |
tree | e82a09130a8174f7ea7ef3ff9be3496c55d190ee | |
parent | fef163662a802a2cf2f65716ef6ce0d378ecf860 (diff) |
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)
-rw-r--r-- | init.lua | 44 |
1 files changed, 27 insertions, 17 deletions
@@ -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, "" } }, }) |