made easier but same material-size crafting for spears and shovels

This commit is contained in:
kaadmy 2015-10-17 14:14:13 -07:00
parent 3ba2eaea20
commit c0e429b624
1 changed files with 31 additions and 25 deletions

View File

@ -2,7 +2,7 @@
-- Crafting -- Crafting
-- --
-- Tools -- Pickaxes
minetest.register_craft( minetest.register_craft(
{ {
output = "default:pick_wood", output = "default:pick_wood",
@ -43,13 +43,15 @@ minetest.register_craft(
} }
}) })
-- Shovels
minetest.register_craft( minetest.register_craft(
{ {
output = "default:shovel_wood", output = "default:shovel_wood",
recipe = { recipe = {
{"", "group:planks", ""}, {"", "group:planks", "group:planks"},
{"group:planks", "default:fiber", "group:planks"}, {"", "default:fiber", "group:planks"},
{"", "default:stick", ""}, {"default:stick", "", ""},
} }
}) })
@ -59,9 +61,9 @@ minetest.register_craft(
output = "default:shovel_stone", output = "default:shovel_stone",
recipe = { recipe = {
{"", "group:stone", ""}, {"", "group:stone", "group:stone"},
{"group:stone", "default:fiber", "group:stone"}, {"", "default:fiber", "group:stone"},
{"", "default:stick", ""}, {"default:stick", "", ""},
} }
}) })
@ -69,9 +71,9 @@ minetest.register_craft(
{ {
output = "default:shovel_steel", output = "default:shovel_steel",
recipe = { recipe = {
{"", "default:ingot_steel", ""}, {"", "default:ingot_steel", "default:ingot_steel"},
{"default:ingot_steel", "default:fiber", "default:ingot_steel"}, {"", "default:fiber", "default:ingot_steel"},
{"", "default:stick", ""}, {"default:stick", "", ""},
} }
}) })
@ -79,12 +81,14 @@ minetest.register_craft(
{ {
output = "default:shovel_carbonsteel", output = "default:shovel_carbonsteel",
recipe = { recipe = {
{"", "default:ingot_carbonsteel", ""}, {"", "default:ingot_carbonsteel", "default:ingot_carbonsteel"},
{"default:ingot_carbonsteel", "default:fiber", "default:ingot_carbonsteel"}, {"", "default:fiber", "default:ingot_carbonsteel"},
{"", "default:stick", ""}, {"default:stick", "", ""},
} }
}) })
-- Axes
minetest.register_craft( minetest.register_craft(
{ {
output = "default:axe_wood", output = "default:axe_wood",
@ -125,13 +129,15 @@ minetest.register_craft(
} }
}) })
-- Spears
minetest.register_craft( minetest.register_craft(
{ {
output = "default:spear_wood", output = "default:spear_wood",
recipe = { recipe = {
{"group:planks"}, {"", "", "group:planks"},
{"default:fiber"}, {"", "default:fiber", ""},
{"default:stick"}, {"default:stick", "", ""},
} }
}) })
@ -139,9 +145,9 @@ minetest.register_craft(
{ {
output = "default:spear_stone", output = "default:spear_stone",
recipe = { recipe = {
{"group:stone"}, {"", "", "group:stone"},
{"default:fiber"}, {"", "default:fiber", ""},
{"default:stick"}, {"default:stick", "", ""},
} }
}) })
@ -149,9 +155,9 @@ minetest.register_craft(
{ {
output = "default:spear_steel", output = "default:spear_steel",
recipe = { recipe = {
{"default:ingot_steel"}, {"", "", "default:ingot_steel"},
{"default:fiber"}, {"", "default:fiber", ""},
{"default:stick"}, {"default:stick", "", ""},
} }
}) })
@ -159,9 +165,9 @@ minetest.register_craft(
{ {
output = "default:spear_carbonsteel", output = "default:spear_carbonsteel",
recipe = { recipe = {
{"default:ingot_carbonsteel"}, {"", "", "default:ingot_carbonsteel"},
{"default:fiber"}, {"", "default:fiber", ""},
{"default:stick"}, {"default:stick", "", ""},
} }
}) })