minetest-mm/mods/bridger/crafts.lua

1044 lines
30 KiB
Lua
Raw Normal View History

2020-11-15 20:25:38 +01:00
minetest.register_craftitem("bridger:bridges_wooden_rod", {
description = "Wooden Rod",
inventory_image = "bridges_wooden_rod.png",
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "default:stick",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:bridges_wooden_rod"},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:bridges_wooden_rod 3",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"group:stick"},
{"group:stick"},
{"group:stick"},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:scaffolding 2",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:bridges_wooden_rod", "", "bridger:bridges_wooden_rod"},
{"", "group:stick", ""},
{"bridger:bridges_wooden_rod", "", "bridger:bridges_wooden_rod"},
2020-11-15 20:25:38 +01:00
}
})
2021-07-24 12:22:10 +02:00
if minetest.settings:get_bool("bridger_enable_trusses", true) then
2020-11-15 20:25:38 +01:00
minetest.register_craftitem("bridger:bridges_steel_rod", {
description = "Steel Rod",
inventory_image = "bridges_steel_rod.png",
})
minetest.register_craftitem("bridger:bridges_diagonal_steel_rod", {
description = "Steel Rod",
inventory_image = "bridges_diagonal_steel_rod.png",
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:bridges_steel_rod 3",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"default:steel_ingot"},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:bridges_diagonal_steel_rod 3",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"", "", "bridger:bridges_steel_rod"},
{"", "bridger:bridges_steel_rod", ""},
{"bridger:bridges_steel_rod", "", ""},
2020-11-15 20:25:38 +01:00
}
})
2021-06-12 20:20:04 +02:00
2020-11-15 20:25:38 +01:00
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:train_deck_white",
type = "shapeless",
recipe = {"bridger:bridges_diagonal_steel_rod", "bridger:bridges_diagonal_steel_rod"},
2020-11-15 20:25:38 +01:00
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:block_white",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:bridges_steel_rod", "bridger:bridges_steel_rod", "bridger:bridges_steel_rod"},
{"bridger:bridges_steel_rod", "bridger:bridges_steel_rod", "bridger:bridges_steel_rod"},
{"bridger:bridges_steel_rod", "bridger:bridges_steel_rod", "bridger:bridges_steel_rod"},
2020-11-15 20:25:38 +01:00
}
})
local bridge_colors = {
"green",
"red",
"steel",
"white",
2021-06-12 20:20:04 +02:00
"yellow"
2020-11-15 20:25:38 +01:00
}
for c in ipairs(bridge_colors) do
2021-06-12 20:20:04 +02:00
local bridge_color = bridge_colors[c]
2020-11-15 20:25:38 +01:00
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:deck_" .. bridge_color .. " 8",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:block_" .. bridge_color},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:deck_edge_" .. bridge_color .. " 14",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"", "bridger:block_" .. bridge_color},
{"bridger:block_" .. bridge_color, ""},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:step_" .. bridge_color .. " 12",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"", "bridger:block_" .. bridge_color},
{"bridger:block_" .. bridge_color, "bridger:block_" .. bridge_color},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:step_" .. bridge_color .. " 12",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:block_" .. bridge_color, ""},
{"bridger:block_" .. bridge_color, "bridger:block_" .. bridge_color},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:block_" .. bridge_color,
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:step_" .. bridge_color, "bridger:step_" .. bridge_color},
{"bridger:step_" .. bridge_color, "bridger:step_" .. bridge_color},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:suspension_cable_" .. bridge_color .. " 16",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:block_" .. bridge_color},
{"bridger:block_" .. bridge_color},
{"bridger:block_" .. bridge_color},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:suspension_top_" .. bridge_color .. " 8",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:block_" .. bridge_color, "bridger:block_" .. bridge_color, "bridger:block_" .. bridge_color},
{"", "bridger:block_" .. bridge_color, ""},
{"", "bridger:block_" .. bridge_color, ""},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:girder_mid_" .. bridge_color .. " 4",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:bridges_steel_rod", "bridger:bridges_steel_rod", "bridger:bridges_steel_rod"},
{"bridger:bridges_steel_rod", "bridger:block_" .. bridge_color, "bridger:bridges_steel_rod"},
{"bridger:bridges_steel_rod", "bridger:bridges_steel_rod", "bridger:bridges_steel_rod"},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:girder_left_end_" .. bridge_color .. " 4",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"", "", "bridger:bridges_steel_rod"},
{"", "bridger:block_" .. bridge_color, "bridger:bridges_steel_rod"},
{"bridger:bridges_steel_rod", "bridger:bridges_steel_rod", "bridger:bridges_steel_rod"},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:girder_right_" .. bridge_color .. " 4",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:bridges_steel_rod", "", ""},
{"bridger:bridges_steel_rod", "bridger:block_" .. bridge_color, ""},
{"bridger:bridges_steel_rod", "bridger:bridges_steel_rod", "bridger:bridges_steel_rod"},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:corrugated_steel_" .. bridge_color,
type = "shapeless",
recipe = {"bridger:deck_" .. bridge_color, "default:coal_lump"},
2020-11-15 20:25:38 +01:00
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:corrugated_steel_ceiling_" .. bridge_color .. " 3",
2020-11-15 20:25:38 +01:00
recipe = {
2021-07-24 12:22:10 +02:00
{
"bridger:corrugated_steel" .. bridge_color,
"bridger:corrugated_steel" .. bridge_color,
"bridger:corrugated_steel" .. bridge_color
},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:truss_superstructure_left_slant_white",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"", "bridger:bridges_steel_rod", "bridger:bridges_diagonal_steel_rod"},
{"bridger:bridges_steel_rod", "bridger:bridges_diagonal_steel_rod", "bridger:bridges_steel_rod"},
{"bridger:bridges_diagonal_steel_rod", "bridger:bridges_steel_rod", ""},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:truss_superstructure_right_slant_" .. bridge_color,
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:truss_superstructure_left_slant_" .. bridge_color},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:truss_superstructure_left_slant_" .. bridge_color,
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:truss_superstructure_right_slant_" .. bridge_color},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:corrugated_steel_ceiling_" .. bridge_color .. " 3",
2020-11-15 20:25:38 +01:00
recipe = {
2021-07-24 12:22:10 +02:00
{
"bridger:corrugated_steel" .. bridge_color,
"bridger:corrugated_steel" .. bridge_color,
"bridger:corrugated_steel" .. bridge_color
},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:truss_superstructure_tall_left_slant_" .. bridge_color,
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:bridges_steel_rod", "", "bridger:bridges_steel_rod"},
{"", "bridger:truss_superstructure_left_slant_" .. bridge_color, ""},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:truss_superstructure_tall_right_slant_" .. bridge_color,
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:bridges_steel_rod", "", "bridger:bridges_steel_rod"},
{"", "bridger:truss_superstructure_right_slant_" .. bridge_color, ""},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:truss_superstructure_tall_right_slant_" .. bridge_color,
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:truss_superstructure_tall_left_slant_" .. bridge_color},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:truss_superstructure_tall_left_slant_" .. bridge_color,
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:truss_superstructure_tall_right_slant_" .. bridge_color},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:truss_superstructure_up_left_slant_" .. bridge_color,
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"", "", "bridger:bridges_steel_rod"},
{"", "bridger:truss_superstructure_left_slant_" .. bridge_color, ""},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:truss_superstructure_up_right_slant_" .. bridge_color,
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"", "", "bridger:bridges_steel_rod"},
{"", "bridger:truss_superstructure_right_slant_" .. bridge_color, ""},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:truss_superstructure_down_left_slant_" .. bridge_color,
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:bridges_steel_rod", "", ""},
{"", "bridger:truss_superstructure_left_slant_" .. bridge_color, ""},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:truss_superstructure_down_right_slant_" .. bridge_color,
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:bridges_steel_rod", "", ""},
{"", "bridger:truss_superstructure_right_slant_" .. bridge_color, ""},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:truss_superstructure_up_right_slant_" .. bridge_color,
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:truss_superstructure_up_left_slant_" .. bridge_color},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:truss_superstructure_up_left_slant_" .. bridge_color,
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:truss_superstructure_up_right_slant_" .. bridge_color},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:truss_superstructure_down_right_slant_" .. bridge_color,
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:truss_superstructure_down_left_slant_" .. bridge_color},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:truss_superstructure_down_left_slant_" .. bridge_color,
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:truss_superstructure_down_right_slant_" .. bridge_color},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:truss_superstructure_end_left_slant_white",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"", "", "bridger:bridges_diagonal_steel_rod"},
{"", "bridger:bridges_diagonal_steel_rod", "bridger:bridges_steel_rod"},
{"bridger:bridges_diagonal_steel_rod", "bridger:bridges_steel_rod", ""},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:truss_superstructure_end_right_" .. bridge_color,
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:truss_superstructure_end_left_slant_" .. bridge_color},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:truss_superstructure_end_left_" .. bridge_color,
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:truss_superstructure_end_right_slant_" .. bridge_color},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:truss_superstructure_mid_" .. bridge_color,
type = "shapeless",
2021-07-24 12:22:10 +02:00
recipe = {
"bridger:truss_superstructure_left_slant_" .. bridge_color,
"bridger:truss_superstructure_right_slant_" .. bridge_color
},
2020-11-15 20:25:38 +01:00
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:truss_superstructure_tall_mid_" .. bridge_color,
type = "shapeless",
2021-07-24 12:22:10 +02:00
recipe = {
"bridger:truss_superstructure_tall_left_slant_" .. bridge_color,
"bridger:truss_superstructure_tall_right_slant_" .. bridge_color
},
2020-11-15 20:25:38 +01:00
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:truss_superstructure_tall_mid_" .. bridge_color,
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:bridges_steel_rod", "", "bridger:bridges_steel_rod"},
{"", "bridger:truss_superstructure_mid_" .. bridge_color, ""},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:truss_superstructure_up_mid_" .. bridge_color,
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"", "", "bridger:bridges_steel_rod"},
{"", "bridger:truss_superstructure_mid_" .. bridge_color, ""},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:truss_superstructure_down_mid_" .. bridge_color,
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:bridges_steel_rod", "", ""},
{"", "bridger:truss_superstructure_mid_" .. bridge_color, ""},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:truss_substructure_left_slant_white",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"", "bridger:bridges_steel_rod", ""},
{"bridger:bridges_steel_rod", "bridger:bridges_diagonal_steel_rod", "bridger:bridges_steel_rod"},
{"", "bridger:bridges_steel_rod", ""},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:truss_substructure_right_slant_" .. bridge_color,
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:truss_substructure_left_slant_" .. bridge_color},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:truss_substructure_left_slant_" .. bridge_color,
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:truss_substructure_right_slant_" .. bridge_color},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:truss_substructure_end_left_slant_white",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"", "bridger:bridges_steel_rod"},
{"bridger:bridges_steel_rod", "bridger:bridges_diagonal_steel_rod"},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:truss_substructure_end_right_" .. bridge_color,
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:truss_substructure_end_left_slant_" .. bridge_color},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:truss_substructure_end_left_" .. bridge_color,
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:truss_substructure_end_right_slant_" .. bridge_color},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:truss_substructure_mid_" .. bridge_color,
type = "shapeless",
2021-07-24 12:22:10 +02:00
recipe = {
"bridger:truss_substructure_left_slant_" .. bridge_color,
"bridger:truss_substructure_right_slant_" .. bridge_color
},
2020-11-15 20:25:38 +01:00
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:truss_substructure_simple_white",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"", "bridger:bridges_steel_rod", ""},
{"bridger:bridges_diagonal_steel_rod", "", "bridger:bridges_diagonal_steel_rod"},
{"", "bridger:bridges_steel_rod", ""},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:small_upper_chord_white",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"", "bridger:bridges_steel_rod", ""},
{"", "bridger:bridges_diagonal_steel_rod", ""},
{"", "bridger:bridges_steel_rod", ""},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:medium_upper_chord_white",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"", "bridger:bridges_steel_rod", ""},
{"", "bridger:bridges_diagonal_steel_rod", ""},
{"", "bridger:bridges_steel_rod", "bridger:bridges_diagonal_steel_rod"},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:medium_upper_chord_white",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:bridges_diagonal_steel_rod", "bridger:bridges_steel_rod", ""},
{"", "bridger:bridges_diagonal_steel_rod", ""},
{"", "bridger:bridges_steel_rod", ""},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:small_upper_chord_slanted_" .. bridge_color,
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:small_upper_chord_" .. bridge_color},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:medium_upper_chord_slanted_" .. bridge_color,
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:medium_upper_chord_" .. bridge_color},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:medium_upper_chord_slanted_" .. bridge_color,
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:medium_upper_chord_" .. bridge_color},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:small_upper_chord_" .. bridge_color,
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:small_upper_chord_slanted_" .. bridge_color},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:medium_upper_chord_" .. bridge_color,
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:medium_upper_chord_slanted_" .. bridge_color},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:medium_upper_chord_" .. bridge_color,
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:medium_upper_chord_slanted_" .. bridge_color},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:large_upper_chord_white",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:bridges_diagonal_steel_rod", "bridger:bridges_steel_rod", ""},
{"", "bridger:bridges_diagonal_steel_rod", ""},
{"", "bridger:bridges_steel_rod", "bridger:bridges_diagonal_steel_rod"},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:small_support_white",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:bridges_steel_rod", "bridger:bridges_diagonal_steel_rod", "bridger:bridges_steel_rod"},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:small_support_top_" .. bridge_color,
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:small_support_" .. bridge_color},
{"bridger:small_support_" .. bridge_color},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:medium_support_white",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:bridges_steel_rod", "bridger:bridges_diagonal_steel_rod", "bridger:bridges_steel_rod"},
{"", "", "bridger:bridges_diagonal_steel_rod"},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:medium_support_white",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:bridges_diagonal_steel_rod", "", ""},
{"bridger:bridges_steel_rod", "bridger:bridges_diagonal_steel_rod", "bridger:bridges_steel_rod"},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:medium_support_bot_white",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:bridges_steel_rod", "bridger:bridges_steel_rod"},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:large_support_white",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:bridges_diagonal_steel_rod", "", ""},
{"bridger:bridges_steel_rod", "bridger:bridges_diagonal_steel_rod", "bridger:bridges_steel_rod"},
{"", "", "bridger:bridges_diagonal_steel_rod"},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:large_support_bot_white",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:bridges_steel_rod", "", "bridger:bridges_steel_rod"},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:truss_superstructure_simple_end_right_white",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:bridges_steel_rod"},
{"bridger:bridges_steel_rod"},
{"bridger:bridges_steel_rod"},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:truss_superstructure_simple_end_left_white",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:bridges_diagonal_steel_rod"},
{"bridger:bridges_diagonal_steel_rod"},
{"bridger:bridges_diagonal_steel_rod"},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:truss_superstructure_simple_white",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:bridges_diagonal_steel_rod", "bridger:bridges_steel_rod", "bridger:bridges_diagonal_steel_rod"},
{"bridger:bridges_diagonal_steel_rod", "", "bridger:bridges_diagonal_steel_rod"},
{"bridger:bridges_diagonal_steel_rod", "bridger:bridges_steel_rod", "bridger:bridges_diagonal_steel_rod"},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:truss_superstructure_tall_simple_end_right_" .. bridge_color,
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:bridges_steel_rod"},
{"bridger:truss_superstructure_tall_simple_end_right_" .. bridge_color},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:truss_superstructure_tall_simple_end_left_" .. bridge_color,
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:bridges_diagonal_steel_rod"},
{"bridger:truss_superstructure_tall_simple_end_left_" .. bridge_color},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:truss_superstructure_tall_simple_" .. bridge_color,
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:bridges_diagonal_steel_rod", "", "bridger:bridges_diagonal_steel_rod"},
{"", "bridger:truss_superstructure_simple_" .. bridge_color, ""},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:truss_superstructure_tall_simple_" .. bridge_color,
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:bridges_steel_rod", "", "bridger:bridges_steel_rod"},
{"", "bridger:truss_superstructure_simple_" .. bridge_color, ""},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:truss_superstructure_up_simple_" .. bridge_color,
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"", "", "bridger:bridges_steel_rod"},
{"", "bridger:truss_superstructure_simple_" .. bridge_color, ""},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:truss_superstructure_down_mid_" .. bridge_color,
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:bridges_steel_rod", "", ""},
{"", "bridger:truss_superstructure_simple_" .. bridge_color, ""},
2020-11-15 20:25:38 +01:00
}
})
end
local bridge_nodes = {
"block_",
"step_",
"suspension_top_",
"suspension_cable_",
"deck_",
"deck_edge_",
"train_deck_",
"girder_mid_",
"girder_right_",
"girder_left_end_",
"truss_superstructure_right_slant_",
"truss_superstructure_left_slant_",
"truss_superstructure_end_right_slant_",
"truss_superstructure_end_left_slant_",
"truss_superstructure_mid_",
"truss_superstructure_simple_",
"truss_superstructure_simple_end_left_",
"truss_superstructure_simple_end_right_",
"truss_superstructure_tall_right_slant_",
"truss_superstructure_tall_left_slant_",
"truss_superstructure_tall_end_right_slant_",
"truss_superstructure_tall_end_left_slant_",
"truss_superstructure_tall_mid_",
"truss_superstructure_tall_simple_",
"truss_superstructure_tall_simple_end_left_",
"truss_superstructure_tall_simple_end_right_",
"truss_superstructure_up_right_slant_",
"truss_superstructure_up_left_slant_",
"truss_superstructure_up_mid_",
"truss_superstructure_up_simple_",
"truss_superstructure_down_right_slant_",
"truss_superstructure_down_left_slant_",
"truss_superstructure_down_mid_",
"truss_superstructure_down_simple_",
"truss_substructure_end_right_slant_",
"truss_substructure_end_left_slant_",
"truss_substructure_right_slant_",
"truss_substructure_left_slant_",
"truss_substructure_simple_",
"truss_substructure_mid_",
"truss_substructure_mid_simple_",
"small_upper_chord_",
"medium_upper_chord_",
"large_upper_chord_",
"small_upper_chord_slanted",
"medium_upper_chord_slanted",
"large_upper_chord_slanted",
"small_support_",
"small_support_top",
"medium_support_",
"large_support_",
"medium_support_bot",
"large_support_bot",
"corrugated_steel_",
"corrugated_steel_ceiling_",
}
for c in ipairs(bridge_nodes) do
2021-07-24 12:22:10 +02:00
local bridge_node = bridge_nodes[c]
2020-11-15 20:25:38 +01:00
minetest.register_craft({
2021-07-24 12:22:10 +02:00
output = "bridger:" .. bridge_node .. "white",
2021-06-12 20:20:04 +02:00
type = "shapeless",
2021-07-24 12:22:10 +02:00
recipe = {"bridger:" .. bridge_node .. "yellow", "dye:white"},
2020-11-15 20:25:38 +01:00
})
minetest.register_craft({
2021-07-24 12:22:10 +02:00
output = "bridger:" .. bridge_node .. "white",
2021-06-12 20:20:04 +02:00
type = "shapeless",
2021-07-24 12:22:10 +02:00
recipe = {"bridger:" .. bridge_node .. "steel", "dye:white"},
2020-11-15 20:25:38 +01:00
})
minetest.register_craft({
2021-07-24 12:22:10 +02:00
output = "bridger:" .. bridge_node .. "white",
2021-06-12 20:20:04 +02:00
type = "shapeless",
2021-07-24 12:22:10 +02:00
recipe = {"bridger:" .. bridge_node .. "green", "dye:white"},
2020-11-15 20:25:38 +01:00
})
minetest.register_craft({
2021-07-24 12:22:10 +02:00
output = "bridger:" .. bridge_node .. "white",
2021-06-12 20:20:04 +02:00
type = "shapeless",
2021-07-24 12:22:10 +02:00
recipe = {"bridger:" .. bridge_node .. "red", "dye:white"},
2020-11-15 20:25:38 +01:00
})
minetest.register_craft({
2021-07-24 12:22:10 +02:00
output = "bridger:" .. bridge_node .. "red",
2021-06-12 20:20:04 +02:00
type = "shapeless",
2021-07-24 12:22:10 +02:00
recipe = {"bridger:" .. bridge_node .. "white", "dye:red"},
2020-11-15 20:25:38 +01:00
})
minetest.register_craft({
2021-07-24 12:22:10 +02:00
output = "bridger:" .. bridge_node .. "red",
2021-06-12 20:20:04 +02:00
type = "shapeless",
2021-07-24 12:22:10 +02:00
recipe = {"bridger:" .. bridge_node .. "steel", "dye:red"},
2020-11-15 20:25:38 +01:00
})
minetest.register_craft({
2021-07-24 12:22:10 +02:00
output = "bridger:" .. bridge_node .. "red",
2021-06-12 20:20:04 +02:00
type = "shapeless",
2021-07-24 12:22:10 +02:00
recipe = {"bridger:" .. bridge_node .. "green", "dye:red"},
2020-11-15 20:25:38 +01:00
})
minetest.register_craft({
2021-07-24 12:22:10 +02:00
output = "bridger:" .. bridge_node .. "red",
2021-06-12 20:20:04 +02:00
type = "shapeless",
2021-07-24 12:22:10 +02:00
recipe = {"bridger:" .. bridge_node .. "yellow", "dye:red"},
2020-11-15 20:25:38 +01:00
})
minetest.register_craft({
2021-07-24 12:22:10 +02:00
output = "bridger:" .. bridge_node .. "green",
2021-06-12 20:20:04 +02:00
type = "shapeless",
2021-07-24 12:22:10 +02:00
recipe = {"bridger:" .. bridge_node .. "white", "dye:green"},
2020-11-15 20:25:38 +01:00
})
minetest.register_craft({
2021-07-24 12:22:10 +02:00
output = "bridger:" .. bridge_node .. "green",
2021-06-12 20:20:04 +02:00
type = "shapeless",
2021-07-24 12:22:10 +02:00
recipe = {"bridger:" .. bridge_node .. "steel", "dye:green"},
2020-11-15 20:25:38 +01:00
})
minetest.register_craft({
2021-07-24 12:22:10 +02:00
output = "bridger:" .. bridge_node .. "green",
2021-06-12 20:20:04 +02:00
type = "shapeless",
2021-07-24 12:22:10 +02:00
recipe = {"bridger:" .. bridge_node .. "yellow", "dye:green"},
2020-11-15 20:25:38 +01:00
})
minetest.register_craft({
2021-07-24 12:22:10 +02:00
output = "bridger:" .. bridge_node .. "green",
2021-06-12 20:20:04 +02:00
type = "shapeless",
2021-07-24 12:22:10 +02:00
recipe = {"bridger:" .. bridge_node .. "red", "dye:green"},
2020-11-15 20:25:38 +01:00
})
minetest.register_craft({
2021-07-24 12:22:10 +02:00
output = "bridger:" .. bridge_node .. "steel",
2021-06-12 20:20:04 +02:00
type = "shapeless",
2021-07-24 12:22:10 +02:00
recipe = {"bridger:" .. bridge_node .. "white", "dye:black"},
2020-11-15 20:25:38 +01:00
})
minetest.register_craft({
2021-07-24 12:22:10 +02:00
output = "bridger:" .. bridge_node .. "steel",
2021-06-12 20:20:04 +02:00
type = "shapeless",
2021-07-24 12:22:10 +02:00
recipe = {"bridger:" .. bridge_node .. "yellow", "dye:black"},
2020-11-15 20:25:38 +01:00
})
minetest.register_craft({
2021-07-24 12:22:10 +02:00
output = "bridger:" .. bridge_node .. "steel",
2021-06-12 20:20:04 +02:00
type = "shapeless",
2021-07-24 12:22:10 +02:00
recipe = {"bridger:" .. bridge_node .. "green", "dye:black"},
2020-11-15 20:25:38 +01:00
})
minetest.register_craft({
2021-07-24 12:22:10 +02:00
output = "bridger:" .. bridge_node .. "steel",
2021-06-12 20:20:04 +02:00
type = "shapeless",
2021-07-24 12:22:10 +02:00
recipe = {"bridger:" .. bridge_node .. "red", "dye:black"},
2020-11-15 20:25:38 +01:00
})
minetest.register_craft({
2021-07-24 12:22:10 +02:00
output = "bridger:" .. bridge_node .. "steel",
2021-06-12 20:20:04 +02:00
type = "shapeless",
2021-07-24 12:22:10 +02:00
recipe = {"bridger:" .. bridge_node .. "white", "dye:dark_grey"},
2020-11-15 20:25:38 +01:00
})
minetest.register_craft({
2021-07-24 12:22:10 +02:00
output = "bridger:" .. bridge_node .. "steel",
2021-06-12 20:20:04 +02:00
type = "shapeless",
2021-07-24 12:22:10 +02:00
recipe = {"bridger:" .. bridge_node .. "yellow", "dye:dark_grey"},
2020-11-15 20:25:38 +01:00
})
minetest.register_craft({
2021-07-24 12:22:10 +02:00
output = "bridger:" .. bridge_node .. "steel",
2021-06-12 20:20:04 +02:00
type = "shapeless",
2021-07-24 12:22:10 +02:00
recipe = {"bridger:" .. bridge_node .. "green", "dye:dark_grey"},
2020-11-15 20:25:38 +01:00
})
minetest.register_craft({
2021-07-24 12:22:10 +02:00
output = "bridger:" .. bridge_node .. "steel",
2021-06-12 20:20:04 +02:00
type = "shapeless",
2021-07-24 12:22:10 +02:00
recipe = {"bridger:" .. bridge_node .. "red", "dye:dark_grey"},
2020-11-15 20:25:38 +01:00
})
minetest.register_craft({
2021-07-24 12:22:10 +02:00
output = "bridger:" .. bridge_node .. "yellow",
2021-06-12 20:20:04 +02:00
type = "shapeless",
2021-07-24 12:22:10 +02:00
recipe = {"bridger:" .. bridge_node .. "white", "dye:yellow"},
2020-11-15 20:25:38 +01:00
})
minetest.register_craft({
2021-07-24 12:22:10 +02:00
output = "bridger:" .. bridge_node .. "yellow",
2021-06-12 20:20:04 +02:00
type = "shapeless",
2021-07-24 12:22:10 +02:00
recipe = {"bridger:" .. bridge_node .. "steel", "dye:yellow"},
2020-11-15 20:25:38 +01:00
})
minetest.register_craft({
2021-07-24 12:22:10 +02:00
output = "bridger:" .. bridge_node .. "yellow",
2021-06-12 20:20:04 +02:00
type = "shapeless",
2021-07-24 12:22:10 +02:00
recipe = {"bridger:" .. bridge_node .. "green", "dye:yellow"},
2020-11-15 20:25:38 +01:00
})
minetest.register_craft({
2021-07-24 12:22:10 +02:00
output = "bridger:" .. bridge_node .. "yellow",
2021-06-12 20:20:04 +02:00
type = "shapeless",
2021-07-24 12:22:10 +02:00
recipe = {"bridger:" .. bridge_node .. "red", "dye:yellow"},
2020-11-15 20:25:38 +01:00
})
minetest.register_craft({
2021-07-24 12:22:10 +02:00
output = "bridger:" .. bridge_node .. "red",
2021-06-12 20:20:04 +02:00
type = "shapeless",
2021-07-24 12:22:10 +02:00
recipe = {"bridger:" .. bridge_node .. "yellow", "dye:red"},
2020-11-15 20:25:38 +01:00
})
end
end
2021-07-24 12:22:10 +02:00
if minetest.settings:get_bool("bridger_enable_trestles", true) then
2020-11-15 20:25:38 +01:00
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:trestle_support_small",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:bridges_wooden_rod", "", "bridger:bridges_wooden_rod"},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:trestle_support_small",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:bridges_wooden_rod", "", "bridger:bridges_wooden_rod"},
{"bridger:bridges_wooden_rod", "group:stick", "bridger:bridges_wooden_rod"},
{"bridger:bridges_wooden_rod", "", "bridger:bridges_wooden_rod"},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:trestle_deck",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:bridges_wooden_rod"},
{"bridger:bridges_wooden_rod"},
{"bridger:bridges_wooden_rod"},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:trestle_side",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:bridges_wooden_rod", "bridger:bridges_wooden_rod", "bridger:bridges_wooden_rod"},
{"", "group:stick", ""},
{"bridger:bridges_wooden_rod", "bridger:bridges_wooden_rod", "bridger:bridges_wooden_rod"},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:trestle_substructure_small",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"group:stick", "bridger:bridges_wooden_rod", "bridger:bridges_wooden_rod"},
{"", "group:stick", "bridger:bridges_wooden_rod"},
{"", "", "group:stick"},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:trestle_substructure_large",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"group:stick", "", "bridger:bridges_wooden_rod"},
{"group:stick", "group:stick", "bridger:bridges_wooden_rod"},
{"", "group:stick", "group:stick"},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:lattice_truss",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"group:stick", "", "group:stick"},
{"", "bridger:bridges_wooden_rod", ""},
{"group:stick", "", "group:stick"},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:deck_wood",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:bridges_wooden_rod", "bridger:bridges_wooden_rod"},
2020-11-15 20:25:38 +01:00
}
})
end
2021-07-24 12:22:10 +02:00
if minetest.settings:get_bool("bridger_enable_wooden_bridges", true) then
2020-11-15 20:25:38 +01:00
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:small_beam",
recipe = {
{"bridger:bridges_wooden_rod", "bridger:bridges_wooden_rod", "bridger:bridges_wooden_rod"},
{"", "group:wood", ""},
}
})
minetest.register_craft({
output = "bridger:small_beam_mid",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"", "bridger:bridges_wooden_rod", ""},
{"", "group:wood", ""},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:small_beam_end",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:bridges_wooden_rod", "bridger:bridges_wooden_rod", "bridger:bridges_wooden_rod"},
{"bridger:bridges_wooden_rod", "", "bridger:bridges_wooden_rod"},
{"", "group:wood", ""},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:small_beam_corner",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:bridges_wooden_rod", "bridger:bridges_wooden_rod", "bridger:bridges_wooden_rod"},
{"bridger:bridges_wooden_rod", "", ""},
{"", "group:wood", ""},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:small_beam_3",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:bridges_wooden_rod", "", "bridger:bridges_wooden_rod"},
{"bridger:bridges_wooden_rod", "", "bridger:bridges_wooden_rod"},
{"", "group:wood", ""},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:small_beam_4",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:bridges_wooden_rod", "", "bridger:bridges_wooden_rod"},
{"", "", ""},
{"", "group:wood", ""},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:small_beam_stair",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"", "bridger:bridges_wooden_rod", "bridger:bridges_wooden_rod"},
{"bridger:bridges_wooden_rod", "", "group:wood"},
{"bridger:bridges_wooden_rod", "group:wood", ""},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:large_beam",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:bridges_wooden_rod", "bridger:bridges_wooden_rod", "bridger:bridges_wooden_rod"},
{"bridger:bridges_wooden_rod", "bridger:bridges_wooden_rod", "bridger:bridges_wooden_rod"},
{"bridger:bridges_wooden_rod", "group:wood", "bridger:bridges_wooden_rod"},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:large_fancy_beam",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:bridges_wooden_rod", "bridger:bridges_wooden_rod", "bridger:bridges_wooden_rod"},
{"bridger:bridges_wooden_rod", "group:wood", "bridger:bridges_wooden_rod"},
{"bridger:bridges_wooden_rod", "bridger:bridges_wooden_rod", "bridger:bridges_wooden_rod"},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:large_beam_swivel_normal",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:large_beam"},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:large_beam",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:large_beam_swivel_normal"},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:large_drawbridge_normal",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:small_beam", "bridger:small_beam"},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:small_beam 2",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"bridger:large_drawbridge_normal"},
2020-11-15 20:25:38 +01:00
}
})
minetest.register_craft({
2021-06-12 20:20:04 +02:00
output = "bridger:foundation 3",
2020-11-15 20:25:38 +01:00
recipe = {
2021-06-12 20:20:04 +02:00
{"", "default:clay", ""},
{"default:clay", "default:clay", "default:clay"},
2020-11-15 20:25:38 +01:00
}
})
2021-06-12 20:20:04 +02:00
end