Add more crafts
This commit is contained in:
parent
52f2b617cc
commit
10988ab6d8
1 changed files with 39 additions and 7 deletions
|
@ -1,5 +1,4 @@
|
||||||
local sword_ores = {
|
local full_ores = {
|
||||||
{"wood", "default:wood"},
|
|
||||||
{"stone", "default:cobble"},
|
{"stone", "default:cobble"},
|
||||||
{"steel", "default:steel_ingot"},
|
{"steel", "default:steel_ingot"},
|
||||||
{"bronze", "default:bronze_ingot"},
|
{"bronze", "default:bronze_ingot"},
|
||||||
|
@ -7,12 +6,11 @@ local sword_ores = {
|
||||||
{"diamond", "default:diamond"},
|
{"diamond", "default:diamond"},
|
||||||
}
|
}
|
||||||
local lim_ores = {
|
local lim_ores = {
|
||||||
{"wood", "default:wood"},
|
|
||||||
{"stone", "default:cobble"},
|
{"stone", "default:cobble"},
|
||||||
{"steel", "default:steel_ingot"},
|
{"steel", "default:steel_ingot"},
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, orex in pairs(sword_ores) do
|
for _, orex in pairs(full_ores) do
|
||||||
crafting.register_recipe({
|
crafting.register_recipe({
|
||||||
type = "inv",
|
type = "inv",
|
||||||
output = "default:sword_" .. orex[1],
|
output = "default:sword_" .. orex[1],
|
||||||
|
@ -21,6 +19,24 @@ for _, orex in pairs(sword_ores) do
|
||||||
level = 1,
|
level = 1,
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
crafting.register_recipe({
|
||||||
|
type = "inv",
|
||||||
|
output = "shooter:arrow_white 5",
|
||||||
|
items = { "default:stick 5", "default:cobble" },
|
||||||
|
always_known = true,
|
||||||
|
level = 1,
|
||||||
|
})
|
||||||
|
|
||||||
|
for _, orex in pairs(full_ores) do
|
||||||
|
crafting.register_recipe({
|
||||||
|
type = "inv",
|
||||||
|
output = "default:pick_" .. orex[1],
|
||||||
|
items = { "default:stick 2", orex[2] .. " 3" },
|
||||||
|
always_known = true,
|
||||||
|
level = 1,
|
||||||
|
})
|
||||||
|
end
|
||||||
for _, orex in pairs(lim_ores) do
|
for _, orex in pairs(lim_ores) do
|
||||||
crafting.register_recipe({
|
crafting.register_recipe({
|
||||||
type = "inv",
|
type = "inv",
|
||||||
|
@ -51,7 +67,7 @@ crafting.register_recipe({
|
||||||
crafting.register_recipe({
|
crafting.register_recipe({
|
||||||
type = "inv",
|
type = "inv",
|
||||||
output = "doors:door_steel",
|
output = "doors:door_steel",
|
||||||
items = { "default:steel 6", },
|
items = { "default:steel 6" },
|
||||||
always_known = true,
|
always_known = true,
|
||||||
level = 1,
|
level = 1,
|
||||||
})
|
})
|
||||||
|
@ -59,7 +75,7 @@ crafting.register_recipe({
|
||||||
crafting.register_recipe({
|
crafting.register_recipe({
|
||||||
type = "inv",
|
type = "inv",
|
||||||
output = "default:wood 4",
|
output = "default:wood 4",
|
||||||
items = { "group:tree", },
|
items = { "group:tree" },
|
||||||
always_known = true,
|
always_known = true,
|
||||||
level = 1,
|
level = 1,
|
||||||
})
|
})
|
||||||
|
@ -67,7 +83,23 @@ crafting.register_recipe({
|
||||||
crafting.register_recipe({
|
crafting.register_recipe({
|
||||||
type = "inv",
|
type = "inv",
|
||||||
output = "default:stick 4",
|
output = "default:stick 4",
|
||||||
items = { "default:wood", },
|
items = { "default:wood" },
|
||||||
|
always_known = true,
|
||||||
|
level = 1,
|
||||||
|
})
|
||||||
|
|
||||||
|
crafting.register_recipe({
|
||||||
|
type = "inv",
|
||||||
|
output = "default:torch 5",
|
||||||
|
items = { "default:stick", "default:coal_lump"},
|
||||||
|
always_known = true,
|
||||||
|
level = 1,
|
||||||
|
})
|
||||||
|
|
||||||
|
crafting.register_recipe({
|
||||||
|
type = "inv",
|
||||||
|
output = "default:ladder 5",
|
||||||
|
items = { "group:wood 7"},
|
||||||
always_known = true,
|
always_known = true,
|
||||||
level = 1,
|
level = 1,
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue