2018-04-18 23:49:22 +01:00
|
|
|
local full_ores = {
|
2018-04-18 23:30:38 +01:00
|
|
|
{"diamond", "default:diamond"},
|
2019-01-11 16:44:31 +05:30
|
|
|
{"mese", "default:mese_crystal"},
|
|
|
|
{"bronze", "default:bronze_ingot"},
|
|
|
|
{"steel", "default:steel_ingot"},
|
|
|
|
{"stone", "default:cobble"},
|
2018-04-18 23:30:38 +01:00
|
|
|
}
|
|
|
|
|
2019-01-11 16:44:31 +05:30
|
|
|
-- Swords
|
2018-04-18 23:49:22 +01:00
|
|
|
for _, orex in pairs(full_ores) do
|
2018-04-18 23:30:38 +01:00
|
|
|
crafting.register_recipe({
|
|
|
|
type = "inv",
|
|
|
|
output = "default:sword_" .. orex[1],
|
|
|
|
items = { "default:stick", orex[2] .. " 2" },
|
|
|
|
always_known = true,
|
|
|
|
level = 1,
|
|
|
|
})
|
|
|
|
end
|
2018-04-18 23:49:22 +01:00
|
|
|
|
2019-01-11 16:44:31 +05:30
|
|
|
-- Pickaxes
|
2018-04-18 23:49:22 +01:00
|
|
|
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
|
2018-04-18 23:30:38 +01:00
|
|
|
|
2019-01-11 16:44:31 +05:30
|
|
|
-- Bronze ingot x9 <== Copper x9 + Tin x9
|
2018-04-20 03:02:19 +01:00
|
|
|
crafting.register_recipe({
|
|
|
|
type = "inv",
|
|
|
|
output = "default:bronze_ingot 9",
|
|
|
|
items = { "default:copper_ingot 8", "default:tin_ingot"},
|
|
|
|
always_known = true,
|
|
|
|
level = 1,
|
|
|
|
})
|
|
|
|
|
2019-01-11 16:44:31 +05:30
|
|
|
-- Mese crystal x9 <== Mese block
|
2018-04-19 00:45:21 +01:00
|
|
|
crafting.register_recipe({
|
|
|
|
type = "inv",
|
|
|
|
output = "default:mese_crystal 9",
|
|
|
|
items = { "default:mese"},
|
|
|
|
always_known = true,
|
|
|
|
level = 1,
|
|
|
|
})
|
|
|
|
|
2019-02-28 09:18:50 +05:30
|
|
|
-- Furnace <== group:stone x8
|
2018-04-18 23:30:38 +01:00
|
|
|
crafting.register_recipe({
|
|
|
|
type = "inv",
|
|
|
|
output = "default:furnace",
|
2019-02-28 09:18:50 +05:30
|
|
|
items = { "group:stone 8" },
|
2019-01-09 19:14:42 +05:30
|
|
|
always_known = true,
|
|
|
|
level = 1,
|
|
|
|
})
|
|
|
|
|
2019-01-11 16:44:31 +05:30
|
|
|
-- Team door
|
2018-04-18 23:30:38 +01:00
|
|
|
crafting.register_recipe({
|
|
|
|
type = "inv",
|
|
|
|
output = "doors:door_steel",
|
2018-04-22 16:35:05 +05:30
|
|
|
items = { "default:steel_ingot 6" },
|
2018-04-18 23:30:38 +01:00
|
|
|
always_known = true,
|
|
|
|
level = 1,
|
|
|
|
})
|
|
|
|
|
2019-01-11 16:44:31 +05:30
|
|
|
-- Wooden plank x4
|
2019-03-05 18:38:14 +05:30
|
|
|
crafting.register_recipe({
|
|
|
|
type = "inv",
|
2019-03-17 01:36:15 +00:00
|
|
|
output = "ctf_map:reinforced_cobble",
|
2019-03-17 02:27:54 +00:00
|
|
|
items = { "default:cobble 4", "default:steel_ingot" },
|
2019-03-05 18:38:14 +05:30
|
|
|
always_known = true,
|
|
|
|
level = 1,
|
|
|
|
})
|
|
|
|
|
2018-04-18 23:30:38 +01:00
|
|
|
crafting.register_recipe({
|
|
|
|
type = "inv",
|
|
|
|
output = "default:wood 4",
|
2018-04-18 23:49:22 +01:00
|
|
|
items = { "group:tree" },
|
2018-04-18 23:30:38 +01:00
|
|
|
always_known = true,
|
|
|
|
level = 1,
|
|
|
|
})
|
|
|
|
|
2019-01-11 16:44:31 +05:30
|
|
|
-- Stick x4
|
2018-04-18 23:30:38 +01:00
|
|
|
crafting.register_recipe({
|
|
|
|
type = "inv",
|
|
|
|
output = "default:stick 4",
|
2018-04-18 23:49:22 +01:00
|
|
|
items = { "default:wood" },
|
|
|
|
always_known = true,
|
|
|
|
level = 1,
|
|
|
|
})
|
|
|
|
|
2019-01-11 16:44:31 +05:30
|
|
|
-- Torch x5
|
2018-04-18 23:49:22 +01:00
|
|
|
crafting.register_recipe({
|
|
|
|
type = "inv",
|
|
|
|
output = "default:torch 5",
|
2018-08-03 18:55:09 +05:30
|
|
|
items = { "default:stick", "default:coal_lump" },
|
2018-04-18 23:49:22 +01:00
|
|
|
always_known = true,
|
|
|
|
level = 1,
|
|
|
|
})
|
|
|
|
|
2019-01-11 16:44:31 +05:30
|
|
|
-- Ammo <== Tin ingot x3 + Coal lump x2
|
2018-04-18 23:49:22 +01:00
|
|
|
crafting.register_recipe({
|
|
|
|
type = "inv",
|
2019-01-11 16:44:31 +05:30
|
|
|
output = "shooter:ammo",
|
|
|
|
items = { "default:tin_ingot 3", "default:coal_lump 2" },
|
2018-08-03 18:55:09 +05:30
|
|
|
always_known = true,
|
|
|
|
level = 1,
|
|
|
|
})
|
|
|
|
|
2019-01-11 16:44:31 +05:30
|
|
|
-- Ammo <== Steel ingot x3 + Coal lump x2
|
2018-08-03 18:55:09 +05:30
|
|
|
crafting.register_recipe({
|
|
|
|
type = "inv",
|
2019-01-11 16:44:31 +05:30
|
|
|
output = "shooter:ammo",
|
|
|
|
items = { "default:steel_ingot 3", "default:coal_lump 2" },
|
2018-08-03 18:55:09 +05:30
|
|
|
always_known = true,
|
|
|
|
level = 1,
|
|
|
|
})
|
|
|
|
|
2019-01-11 16:44:31 +05:30
|
|
|
-- Arrow x5
|
2018-08-03 18:55:09 +05:30
|
|
|
crafting.register_recipe({
|
|
|
|
type = "inv",
|
2019-01-11 16:44:31 +05:30
|
|
|
output = "shooter:arrow_white 5",
|
|
|
|
items = { "default:stick 5", "default:cobble" },
|
2018-08-03 18:55:09 +05:30
|
|
|
always_known = true,
|
|
|
|
level = 1,
|
|
|
|
})
|
|
|
|
|
2019-01-11 16:44:31 +05:30
|
|
|
-- Wooden ladder x4
|
2018-08-03 18:55:09 +05:30
|
|
|
crafting.register_recipe({
|
|
|
|
type = "inv",
|
2019-01-11 16:44:31 +05:30
|
|
|
output = "default:ladder 4",
|
|
|
|
items = { "default:stick 8" },
|
|
|
|
always_known = true,
|
|
|
|
level = 1,
|
|
|
|
})
|
|
|
|
|
|
|
|
-- Stick x2 <== Wooden ladder
|
|
|
|
crafting.register_recipe({
|
|
|
|
type = "inv",
|
|
|
|
output = "default:stick 2",
|
|
|
|
items = { "default:ladder" },
|
2018-08-03 18:55:09 +05:30
|
|
|
always_known = true,
|
|
|
|
level = 1,
|
|
|
|
})
|
|
|
|
|
2019-01-11 16:44:31 +05:30
|
|
|
-- Shovels
|
|
|
|
for _, orex in pairs(full_ores) do
|
|
|
|
crafting.register_recipe({
|
|
|
|
type = "inv",
|
|
|
|
output = "default:shovel_" .. orex[1],
|
|
|
|
items = { "default:stick 2", orex[2] },
|
|
|
|
always_known = true,
|
|
|
|
level = 1,
|
|
|
|
})
|
|
|
|
end
|
|
|
|
|
|
|
|
-- Axes
|
|
|
|
for _, orex in pairs(full_ores) do
|
|
|
|
crafting.register_recipe({
|
|
|
|
type = "inv",
|
|
|
|
output = "default:axe_" .. orex[1],
|
|
|
|
items = { "default:stick 2", orex[2] .. " 3" },
|
|
|
|
always_known = true,
|
|
|
|
level = 1,
|
|
|
|
})
|
|
|
|
end
|
|
|
|
|
|
|
|
-- Wooden plank x3 <== Wooden pickaxe
|
2018-08-03 18:55:09 +05:30
|
|
|
crafting.register_recipe({
|
|
|
|
type = "inv",
|
|
|
|
output = "default:wood 3",
|
2019-01-11 16:44:31 +05:30
|
|
|
items = { "default:pick_wood" },
|
2018-08-03 18:55:09 +05:30
|
|
|
always_known = true,
|
|
|
|
level = 1,
|
|
|
|
})
|
|
|
|
|
2019-01-11 16:44:31 +05:30
|
|
|
-- Wooden plank x2 <== Wooden sword
|
2018-08-03 18:55:09 +05:30
|
|
|
crafting.register_recipe({
|
|
|
|
type = "inv",
|
2019-01-11 16:44:31 +05:30
|
|
|
output = "default:wood 2",
|
|
|
|
items = { "default:sword_wood" },
|
2018-04-18 23:30:38 +01:00
|
|
|
always_known = true,
|
|
|
|
level = 1,
|
|
|
|
})
|
2018-10-13 20:03:45 -07:00
|
|
|
|
2019-01-11 16:44:31 +05:30
|
|
|
-- Wooden plank x3 <== Wooden axe
|
2018-10-13 20:03:45 -07:00
|
|
|
crafting.register_recipe({
|
|
|
|
type = "inv",
|
2019-01-11 16:44:31 +05:30
|
|
|
output = "default:wood 3",
|
|
|
|
items = { "default:axe_wood" },
|
2018-11-20 05:21:25 -08:00
|
|
|
always_known = true,
|
|
|
|
level = 1,
|
|
|
|
})
|
|
|
|
|
2019-01-11 16:44:31 +05:30
|
|
|
-- Wooden plank <== Wooden shovel
|
2018-11-20 05:21:25 -08:00
|
|
|
crafting.register_recipe({
|
|
|
|
type = "inv",
|
2019-01-11 16:44:31 +05:30
|
|
|
output = "default:wood 1",
|
|
|
|
items = { "default:shovel_wood" },
|
2018-10-13 20:03:45 -07:00
|
|
|
always_known = true,
|
|
|
|
level = 1,
|
|
|
|
})
|
2018-12-12 23:27:34 +05:30
|
|
|
|
|
|
|
crafting.register_recipe({
|
|
|
|
type = "inv",
|
|
|
|
output = "ctf_traps:spike 1",
|
|
|
|
items = { "default:steel_ingot 5" },
|
|
|
|
always_known = true,
|
|
|
|
level = 1,
|
|
|
|
})
|
|
|
|
|
|
|
|
crafting.register_recipe({
|
|
|
|
type = "inv",
|
|
|
|
output = "ctf_traps:dirt 1",
|
|
|
|
items = { "default:dirt 5", "default:coal_lump" },
|
|
|
|
always_known = true,
|
|
|
|
level = 1,
|
|
|
|
})
|
|
|
|
|
|
|
|
crafting.register_recipe({
|
|
|
|
type = "inv",
|
|
|
|
output = "ctf_traps:cobble 1",
|
|
|
|
items = { "default:cobble 5", "default:coal_lump" },
|
|
|
|
always_known = true,
|
|
|
|
level = 1,
|
|
|
|
})
|
|
|
|
|
|
|
|
crafting.register_recipe({
|
|
|
|
type = "inv",
|
|
|
|
output = "ctf_traps:stone 1",
|
|
|
|
items = { "default:stone 5", "default:coal_lump" },
|
|
|
|
always_known = true,
|
|
|
|
level = 1,
|
|
|
|
})
|
|
|
|
|
|
|
|
crafting.register_recipe({
|
|
|
|
type = "inv",
|
|
|
|
output = "ctf_traps:damage_cobble 1",
|
|
|
|
items = { "default:cobble", "default:coal_lump 4", "default:steel_ingot 4" },
|
|
|
|
always_known = true,
|
|
|
|
level = 1,
|
|
|
|
})
|