From 2f788be2e36529fdf4948a907516348524804f54 Mon Sep 17 00:00:00 2001 From: yunomavori Date: Wed, 9 Apr 2025 11:33:07 +0200 Subject: [PATCH] Upload basic --- crafts.lua | 1043 ++++++++++++ init.lua | 3 + mod.conf | 4 + nodes.lua | 4722 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 5772 insertions(+) create mode 100644 crafts.lua create mode 100644 init.lua create mode 100644 mod.conf create mode 100644 nodes.lua diff --git a/crafts.lua b/crafts.lua new file mode 100644 index 0000000..e0360dd --- /dev/null +++ b/crafts.lua @@ -0,0 +1,1043 @@ +minetest.register_craftitem("vlbridger:bridges_wooden_rod", { + description = "Wooden Rod", + inventory_image = "bridges_wooden_rod.png", +}) + +minetest.register_craft({ + output = "default:stick", + recipe = { + {"vlbridger:bridges_wooden_rod"}, + } +}) + +minetest.register_craft({ + output = "vlbridger:bridges_wooden_rod 3", + recipe = { + {"group:stick"}, + {"group:stick"}, + {"group:stick"}, + } +}) + +minetest.register_craft({ + output = "vlbridger:scaffolding 2", + recipe = { + {"vlbridger:bridges_wooden_rod", "", "vlbridger:bridges_wooden_rod"}, + {"", "group:stick", ""}, + {"vlbridger:bridges_wooden_rod", "", "vlbridger:bridges_wooden_rod"}, + } +}) + +if minetest.settings:get_bool("vlbridger_enable_trusses", true) then + minetest.register_craftitem("vlbridger:bridges_steel_rod", { + description = "Steel Rod", + inventory_image = "bridges_steel_rod.png", + }) + + minetest.register_craftitem("vlbridger:bridges_diagonal_steel_rod", { + description = "Steel Rod", + inventory_image = "bridges_diagonal_steel_rod.png", + }) + + minetest.register_craft({ + output = "vlbridger:bridges_steel_rod 3", + recipe = { + {"mcl_core:iron_ingot"}, + } + }) + + minetest.register_craft({ + output = "vlbridger:bridges_diagonal_steel_rod 3", + recipe = { + {"", "", "vlbridger:bridges_steel_rod"}, + {"", "vlbridger:bridges_steel_rod", ""}, + {"vlbridger:bridges_steel_rod", "", ""}, + } + }) + + minetest.register_craft({ + output = "vlbridger:train_deck_white", + type = "shapeless", + recipe = {"vlbridger:bridges_diagonal_steel_rod", "vlbridger:bridges_diagonal_steel_rod"}, + }) + + minetest.register_craft({ + output = "vlbridger:block_white", + recipe = { + {"vlbridger:bridges_steel_rod", "vlbridger:bridges_steel_rod", "vlbridger:bridges_steel_rod"}, + {"vlbridger:bridges_steel_rod", "vlbridger:bridges_steel_rod", "vlbridger:bridges_steel_rod"}, + {"vlbridger:bridges_steel_rod", "vlbridger:bridges_steel_rod", "vlbridger:bridges_steel_rod"}, + } + }) + + local bridge_colors = { + "green", + "red", + "steel", + "white", + "yellow" + } + + for c in ipairs(bridge_colors) do + local bridge_color = bridge_colors[c] + + minetest.register_craft({ + output = "vlbridger:deck_" .. bridge_color .. " 8", + recipe = { + {"vlbridger:block_" .. bridge_color}, + } + }) + + minetest.register_craft({ + output = "vlbridger:deck_edge_" .. bridge_color .. " 14", + recipe = { + {"", "vlbridger:block_" .. bridge_color}, + {"vlbridger:block_" .. bridge_color, ""}, + } + }) + + minetest.register_craft({ + output = "vlbridger:step_" .. bridge_color .. " 12", + recipe = { + {"", "vlbridger:block_" .. bridge_color}, + {"vlbridger:block_" .. bridge_color, "vlbridger:block_" .. bridge_color}, + } + }) + + minetest.register_craft({ + output = "vlbridger:step_" .. bridge_color .. " 12", + recipe = { + {"vlbridger:block_" .. bridge_color, ""}, + {"vlbridger:block_" .. bridge_color, "vlbridger:block_" .. bridge_color}, + } + }) + + minetest.register_craft({ + output = "vlbridger:block_" .. bridge_color, + recipe = { + {"vlbridger:step_" .. bridge_color, "vlbridger:step_" .. bridge_color}, + {"vlbridger:step_" .. bridge_color, "vlbridger:step_" .. bridge_color}, + } + }) + + minetest.register_craft({ + output = "vlbridger:suspension_cable_" .. bridge_color .. " 16", + recipe = { + {"vlbridger:block_" .. bridge_color}, + {"vlbridger:block_" .. bridge_color}, + {"vlbridger:block_" .. bridge_color}, + } + }) + + minetest.register_craft({ + output = "vlbridger:suspension_top_" .. bridge_color .. " 8", + recipe = { + {"vlbridger:block_" .. bridge_color, "vlbridger:block_" .. bridge_color, "vlbridger:block_" .. bridge_color}, + {"", "vlbridger:block_" .. bridge_color, ""}, + {"", "vlbridger:block_" .. bridge_color, ""}, + } + }) + + minetest.register_craft({ + output = "vlbridger:girder_mid_" .. bridge_color .. " 4", + recipe = { + {"vlbridger:bridges_steel_rod", "vlbridger:bridges_steel_rod", "vlbridger:bridges_steel_rod"}, + {"vlbridger:bridges_steel_rod", "vlbridger:block_" .. bridge_color, "vlbridger:bridges_steel_rod"}, + {"vlbridger:bridges_steel_rod", "vlbridger:bridges_steel_rod", "vlbridger:bridges_steel_rod"}, + } + }) + + minetest.register_craft({ + output = "vlbridger:girder_left_end_" .. bridge_color .. " 4", + recipe = { + {"", "", "vlbridger:bridges_steel_rod"}, + {"", "vlbridger:block_" .. bridge_color, "vlbridger:bridges_steel_rod"}, + {"vlbridger:bridges_steel_rod", "vlbridger:bridges_steel_rod", "vlbridger:bridges_steel_rod"}, + } + }) + + minetest.register_craft({ + output = "vlbridger:girder_right_" .. bridge_color .. " 4", + recipe = { + {"vlbridger:bridges_steel_rod", "", ""}, + {"vlbridger:bridges_steel_rod", "vlbridger:block_" .. bridge_color, ""}, + {"vlbridger:bridges_steel_rod", "vlbridger:bridges_steel_rod", "vlbridger:bridges_steel_rod"}, + } + }) + + minetest.register_craft({ + output = "vlbridger:corrugated_steel_" .. bridge_color, + type = "shapeless", + recipe = {"vlbridger:deck_" .. bridge_color, "default:coal_lump"}, + }) + + minetest.register_craft({ + output = "vlbridger:corrugated_steel_ceiling_" .. bridge_color .. " 3", + recipe = { + { + "vlbridger:corrugated_steel" .. bridge_color, + "vlbridger:corrugated_steel" .. bridge_color, + "vlbridger:corrugated_steel" .. bridge_color + }, + } + }) + + minetest.register_craft({ + output = "vlbridger:truss_superstructure_left_slant_white", + recipe = { + {"", "vlbridger:bridges_steel_rod", "vlbridger:bridges_diagonal_steel_rod"}, + {"vlbridger:bridges_steel_rod", "vlbridger:bridges_diagonal_steel_rod", "vlbridger:bridges_steel_rod"}, + {"vlbridger:bridges_diagonal_steel_rod", "vlbridger:bridges_steel_rod", ""}, + } + }) + + minetest.register_craft({ + output = "vlbridger:truss_superstructure_right_slant_" .. bridge_color, + recipe = { + {"vlbridger:truss_superstructure_left_slant_" .. bridge_color}, + } + }) + + minetest.register_craft({ + output = "vlbridger:truss_superstructure_left_slant_" .. bridge_color, + recipe = { + {"vlbridger:truss_superstructure_right_slant_" .. bridge_color}, + } + }) + + minetest.register_craft({ + output = "vlbridger:corrugated_steel_ceiling_" .. bridge_color .. " 3", + recipe = { + { + "vlbridger:corrugated_steel" .. bridge_color, + "vlbridger:corrugated_steel" .. bridge_color, + "vlbridger:corrugated_steel" .. bridge_color + }, + } + }) + + minetest.register_craft({ + output = "vlbridger:truss_superstructure_tall_left_slant_" .. bridge_color, + recipe = { + {"vlbridger:bridges_steel_rod", "", "vlbridger:bridges_steel_rod"}, + {"", "vlbridger:truss_superstructure_left_slant_" .. bridge_color, ""}, + } + }) + + minetest.register_craft({ + output = "vlbridger:truss_superstructure_tall_right_slant_" .. bridge_color, + recipe = { + {"vlbridger:bridges_steel_rod", "", "vlbridger:bridges_steel_rod"}, + {"", "vlbridger:truss_superstructure_right_slant_" .. bridge_color, ""}, + } + }) + + minetest.register_craft({ + output = "vlbridger:truss_superstructure_tall_right_slant_" .. bridge_color, + recipe = { + {"vlbridger:truss_superstructure_tall_left_slant_" .. bridge_color}, + } + }) + + minetest.register_craft({ + output = "vlbridger:truss_superstructure_tall_left_slant_" .. bridge_color, + recipe = { + {"vlbridger:truss_superstructure_tall_right_slant_" .. bridge_color}, + } + }) + + minetest.register_craft({ + output = "vlbridger:truss_superstructure_up_left_slant_" .. bridge_color, + recipe = { + {"", "", "vlbridger:bridges_steel_rod"}, + {"", "vlbridger:truss_superstructure_left_slant_" .. bridge_color, ""}, + } + }) + + minetest.register_craft({ + output = "vlbridger:truss_superstructure_up_right_slant_" .. bridge_color, + recipe = { + {"", "", "vlbridger:bridges_steel_rod"}, + {"", "vlbridger:truss_superstructure_right_slant_" .. bridge_color, ""}, + } + }) + + minetest.register_craft({ + output = "vlbridger:truss_superstructure_down_left_slant_" .. bridge_color, + recipe = { + {"vlbridger:bridges_steel_rod", "", ""}, + {"", "vlbridger:truss_superstructure_left_slant_" .. bridge_color, ""}, + } + }) + + minetest.register_craft({ + output = "vlbridger:truss_superstructure_down_right_slant_" .. bridge_color, + recipe = { + {"vlbridger:bridges_steel_rod", "", ""}, + {"", "vlbridger:truss_superstructure_right_slant_" .. bridge_color, ""}, + } + }) + + minetest.register_craft({ + output = "vlbridger:truss_superstructure_up_right_slant_" .. bridge_color, + recipe = { + {"vlbridger:truss_superstructure_up_left_slant_" .. bridge_color}, + } + }) + + minetest.register_craft({ + output = "vlbridger:truss_superstructure_up_left_slant_" .. bridge_color, + recipe = { + {"vlbridger:truss_superstructure_up_right_slant_" .. bridge_color}, + } + }) + + minetest.register_craft({ + output = "vlbridger:truss_superstructure_down_right_slant_" .. bridge_color, + recipe = { + {"vlbridger:truss_superstructure_down_left_slant_" .. bridge_color}, + } + }) + + minetest.register_craft({ + output = "vlbridger:truss_superstructure_down_left_slant_" .. bridge_color, + recipe = { + {"vlbridger:truss_superstructure_down_right_slant_" .. bridge_color}, + } + }) + + minetest.register_craft({ + output = "vlbridger:truss_superstructure_end_left_slant_white", + recipe = { + {"", "", "vlbridger:bridges_diagonal_steel_rod"}, + {"", "vlbridger:bridges_diagonal_steel_rod", "vlbridger:bridges_steel_rod"}, + {"vlbridger:bridges_diagonal_steel_rod", "vlbridger:bridges_steel_rod", ""}, + } + }) + + minetest.register_craft({ + output = "vlbridger:truss_superstructure_end_right_" .. bridge_color, + recipe = { + {"vlbridger:truss_superstructure_end_left_slant_" .. bridge_color}, + } + }) + + minetest.register_craft({ + output = "vlbridger:truss_superstructure_end_left_" .. bridge_color, + recipe = { + {"vlbridger:truss_superstructure_end_right_slant_" .. bridge_color}, + } + }) + + minetest.register_craft({ + output = "vlbridger:truss_superstructure_mid_" .. bridge_color, + type = "shapeless", + recipe = { + "vlbridger:truss_superstructure_left_slant_" .. bridge_color, + "vlbridger:truss_superstructure_right_slant_" .. bridge_color + }, + }) + + minetest.register_craft({ + output = "vlbridger:truss_superstructure_tall_mid_" .. bridge_color, + type = "shapeless", + recipe = { + "vlbridger:truss_superstructure_tall_left_slant_" .. bridge_color, + "vlbridger:truss_superstructure_tall_right_slant_" .. bridge_color + }, + }) + + minetest.register_craft({ + output = "vlbridger:truss_superstructure_tall_mid_" .. bridge_color, + recipe = { + {"vlbridger:bridges_steel_rod", "", "vlbridger:bridges_steel_rod"}, + {"", "vlbridger:truss_superstructure_mid_" .. bridge_color, ""}, + } + }) + + minetest.register_craft({ + output = "vlbridger:truss_superstructure_up_mid_" .. bridge_color, + recipe = { + {"", "", "vlbridger:bridges_steel_rod"}, + {"", "vlbridger:truss_superstructure_mid_" .. bridge_color, ""}, + } + }) + + minetest.register_craft({ + output = "vlbridger:truss_superstructure_down_mid_" .. bridge_color, + recipe = { + {"vlbridger:bridges_steel_rod", "", ""}, + {"", "vlbridger:truss_superstructure_mid_" .. bridge_color, ""}, + } + }) + + minetest.register_craft({ + output = "vlbridger:truss_substructure_left_slant_white", + recipe = { + {"", "vlbridger:bridges_steel_rod", ""}, + {"vlbridger:bridges_steel_rod", "vlbridger:bridges_diagonal_steel_rod", "vlbridger:bridges_steel_rod"}, + {"", "vlbridger:bridges_steel_rod", ""}, + } + }) + + minetest.register_craft({ + output = "vlbridger:truss_substructure_right_slant_" .. bridge_color, + recipe = { + {"vlbridger:truss_substructure_left_slant_" .. bridge_color}, + } + }) + + minetest.register_craft({ + output = "vlbridger:truss_substructure_left_slant_" .. bridge_color, + recipe = { + {"vlbridger:truss_substructure_right_slant_" .. bridge_color}, + } + }) + + minetest.register_craft({ + output = "vlbridger:truss_substructure_end_left_slant_white", + recipe = { + {"", "vlbridger:bridges_steel_rod"}, + {"vlbridger:bridges_steel_rod", "vlbridger:bridges_diagonal_steel_rod"}, + } + }) + + minetest.register_craft({ + output = "vlbridger:truss_substructure_end_right_" .. bridge_color, + recipe = { + {"vlbridger:truss_substructure_end_left_slant_" .. bridge_color}, + } + }) + + minetest.register_craft({ + output = "vlbridger:truss_substructure_end_left_" .. bridge_color, + recipe = { + {"vlbridger:truss_substructure_end_right_slant_" .. bridge_color}, + } + }) + + minetest.register_craft({ + output = "vlbridger:truss_substructure_mid_" .. bridge_color, + type = "shapeless", + recipe = { + "vlbridger:truss_substructure_left_slant_" .. bridge_color, + "vlbridger:truss_substructure_right_slant_" .. bridge_color + }, + }) + + minetest.register_craft({ + output = "vlbridger:truss_substructure_simple_white", + recipe = { + {"", "vlbridger:bridges_steel_rod", ""}, + {"vlbridger:bridges_diagonal_steel_rod", "", "vlbridger:bridges_diagonal_steel_rod"}, + {"", "vlbridger:bridges_steel_rod", ""}, + } + }) + + minetest.register_craft({ + output = "vlbridger:small_upper_chord_white", + recipe = { + {"", "vlbridger:bridges_steel_rod", ""}, + {"", "vlbridger:bridges_diagonal_steel_rod", ""}, + {"", "vlbridger:bridges_steel_rod", ""}, + } + }) + + minetest.register_craft({ + output = "vlbridger:medium_upper_chord_white", + recipe = { + {"", "vlbridger:bridges_steel_rod", ""}, + {"", "vlbridger:bridges_diagonal_steel_rod", ""}, + {"", "vlbridger:bridges_steel_rod", "vlbridger:bridges_diagonal_steel_rod"}, + } + }) + + minetest.register_craft({ + output = "vlbridger:medium_upper_chord_white", + recipe = { + {"vlbridger:bridges_diagonal_steel_rod", "vlbridger:bridges_steel_rod", ""}, + {"", "vlbridger:bridges_diagonal_steel_rod", ""}, + {"", "vlbridger:bridges_steel_rod", ""}, + } + }) + + minetest.register_craft({ + output = "vlbridger:small_upper_chord_slanted_" .. bridge_color, + recipe = { + {"vlbridger:small_upper_chord_" .. bridge_color}, + } + }) + + minetest.register_craft({ + output = "vlbridger:medium_upper_chord_slanted_" .. bridge_color, + recipe = { + {"vlbridger:medium_upper_chord_" .. bridge_color}, + } + }) + + minetest.register_craft({ + output = "vlbridger:medium_upper_chord_slanted_" .. bridge_color, + recipe = { + {"vlbridger:medium_upper_chord_" .. bridge_color}, + } + }) + + minetest.register_craft({ + output = "vlbridger:small_upper_chord_" .. bridge_color, + recipe = { + {"vlbridger:small_upper_chord_slanted_" .. bridge_color}, + } + }) + + minetest.register_craft({ + output = "vlbridger:medium_upper_chord_" .. bridge_color, + recipe = { + {"vlbridger:medium_upper_chord_slanted_" .. bridge_color}, + } + }) + + minetest.register_craft({ + output = "vlbridger:medium_upper_chord_" .. bridge_color, + recipe = { + {"vlbridger:medium_upper_chord_slanted_" .. bridge_color}, + } + }) + + minetest.register_craft({ + output = "vlbridger:large_upper_chord_white", + recipe = { + {"vlbridger:bridges_diagonal_steel_rod", "vlbridger:bridges_steel_rod", ""}, + {"", "vlbridger:bridges_diagonal_steel_rod", ""}, + {"", "vlbridger:bridges_steel_rod", "vlbridger:bridges_diagonal_steel_rod"}, + } + }) + + minetest.register_craft({ + output = "vlbridger:small_support_white", + recipe = { + {"vlbridger:bridges_steel_rod", "vlbridger:bridges_diagonal_steel_rod", "vlbridger:bridges_steel_rod"}, + } + }) + + minetest.register_craft({ + output = "vlbridger:small_support_top_" .. bridge_color, + recipe = { + {"vlbridger:small_support_" .. bridge_color}, + {"vlbridger:small_support_" .. bridge_color}, + } + }) + + minetest.register_craft({ + output = "vlbridger:medium_support_white", + recipe = { + {"vlbridger:bridges_steel_rod", "vlbridger:bridges_diagonal_steel_rod", "vlbridger:bridges_steel_rod"}, + {"", "", "vlbridger:bridges_diagonal_steel_rod"}, + } + }) + + minetest.register_craft({ + output = "vlbridger:medium_support_white", + recipe = { + {"vlbridger:bridges_diagonal_steel_rod", "", ""}, + {"vlbridger:bridges_steel_rod", "vlbridger:bridges_diagonal_steel_rod", "vlbridger:bridges_steel_rod"}, + } + }) + + minetest.register_craft({ + output = "vlbridger:medium_support_bot_white", + recipe = { + {"vlbridger:bridges_steel_rod", "vlbridger:bridges_steel_rod"}, + } + }) + + minetest.register_craft({ + output = "vlbridger:large_support_white", + recipe = { + {"vlbridger:bridges_diagonal_steel_rod", "", ""}, + {"vlbridger:bridges_steel_rod", "vlbridger:bridges_diagonal_steel_rod", "vlbridger:bridges_steel_rod"}, + {"", "", "vlbridger:bridges_diagonal_steel_rod"}, + } + }) + + minetest.register_craft({ + output = "vlbridger:large_support_bot_white", + recipe = { + {"vlbridger:bridges_steel_rod", "", "vlbridger:bridges_steel_rod"}, + } + }) + + minetest.register_craft({ + output = "vlbridger:truss_superstructure_simple_end_right_white", + recipe = { + {"vlbridger:bridges_steel_rod"}, + {"vlbridger:bridges_steel_rod"}, + {"vlbridger:bridges_steel_rod"}, + } + }) + + minetest.register_craft({ + output = "vlbridger:truss_superstructure_simple_end_left_white", + recipe = { + {"vlbridger:bridges_diagonal_steel_rod"}, + {"vlbridger:bridges_diagonal_steel_rod"}, + {"vlbridger:bridges_diagonal_steel_rod"}, + } + }) + + minetest.register_craft({ + output = "vlbridger:truss_superstructure_simple_white", + recipe = { + {"vlbridger:bridges_diagonal_steel_rod", "vlbridger:bridges_steel_rod", "vlbridger:bridges_diagonal_steel_rod"}, + {"vlbridger:bridges_diagonal_steel_rod", "", "vlbridger:bridges_diagonal_steel_rod"}, + {"vlbridger:bridges_diagonal_steel_rod", "vlbridger:bridges_steel_rod", "vlbridger:bridges_diagonal_steel_rod"}, + } + }) + + minetest.register_craft({ + output = "vlbridger:truss_superstructure_tall_simple_end_right_" .. bridge_color, + recipe = { + {"vlbridger:bridges_steel_rod"}, + {"vlbridger:truss_superstructure_tall_simple_end_right_" .. bridge_color}, + } + }) + + minetest.register_craft({ + output = "vlbridger:truss_superstructure_tall_simple_end_left_" .. bridge_color, + recipe = { + {"vlbridger:bridges_diagonal_steel_rod"}, + {"vlbridger:truss_superstructure_tall_simple_end_left_" .. bridge_color}, + } + }) + + minetest.register_craft({ + output = "vlbridger:truss_superstructure_tall_simple_" .. bridge_color, + recipe = { + {"vlbridger:bridges_diagonal_steel_rod", "", "vlbridger:bridges_diagonal_steel_rod"}, + {"", "vlbridger:truss_superstructure_simple_" .. bridge_color, ""}, + } + }) + + minetest.register_craft({ + output = "vlbridger:truss_superstructure_tall_simple_" .. bridge_color, + recipe = { + {"vlbridger:bridges_steel_rod", "", "vlbridger:bridges_steel_rod"}, + {"", "vlbridger:truss_superstructure_simple_" .. bridge_color, ""}, + } + }) + + minetest.register_craft({ + output = "vlbridger:truss_superstructure_up_simple_" .. bridge_color, + recipe = { + {"", "", "vlbridger:bridges_steel_rod"}, + {"", "vlbridger:truss_superstructure_simple_" .. bridge_color, ""}, + } + }) + + minetest.register_craft({ + output = "vlbridger:truss_superstructure_down_mid_" .. bridge_color, + recipe = { + {"vlbridger:bridges_steel_rod", "", ""}, + {"", "vlbridger:truss_superstructure_simple_" .. bridge_color, ""}, + } + }) + 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 + local bridge_node = bridge_nodes[c] + + minetest.register_craft({ + output = "vlbridger:" .. bridge_node .. "white", + type = "shapeless", + recipe = {"vlbridger:" .. bridge_node .. "yellow", "dye:white"}, + }) + + minetest.register_craft({ + output = "vlbridger:" .. bridge_node .. "white", + type = "shapeless", + recipe = {"vlbridger:" .. bridge_node .. "steel", "dye:white"}, + }) + + minetest.register_craft({ + output = "vlbridger:" .. bridge_node .. "white", + type = "shapeless", + recipe = {"vlbridger:" .. bridge_node .. "green", "dye:white"}, + }) + + minetest.register_craft({ + output = "vlbridger:" .. bridge_node .. "white", + type = "shapeless", + recipe = {"vlbridger:" .. bridge_node .. "red", "dye:white"}, + }) + + minetest.register_craft({ + output = "vlbridger:" .. bridge_node .. "red", + type = "shapeless", + recipe = {"vlbridger:" .. bridge_node .. "white", "dye:red"}, + }) + + minetest.register_craft({ + output = "vlbridger:" .. bridge_node .. "red", + type = "shapeless", + recipe = {"vlbridger:" .. bridge_node .. "steel", "dye:red"}, + }) + + minetest.register_craft({ + output = "vlbridger:" .. bridge_node .. "red", + type = "shapeless", + recipe = {"vlbridger:" .. bridge_node .. "green", "dye:red"}, + }) + + minetest.register_craft({ + output = "vlbridger:" .. bridge_node .. "red", + type = "shapeless", + recipe = {"vlbridger:" .. bridge_node .. "yellow", "dye:red"}, + }) + + minetest.register_craft({ + output = "vlbridger:" .. bridge_node .. "green", + type = "shapeless", + recipe = {"vlbridger:" .. bridge_node .. "white", "dye:green"}, + }) + + minetest.register_craft({ + output = "vlbridger:" .. bridge_node .. "green", + type = "shapeless", + recipe = {"vlbridger:" .. bridge_node .. "steel", "dye:green"}, + }) + + minetest.register_craft({ + output = "vlbridger:" .. bridge_node .. "green", + type = "shapeless", + recipe = {"vlbridger:" .. bridge_node .. "yellow", "dye:green"}, + }) + + minetest.register_craft({ + output = "vlbridger:" .. bridge_node .. "green", + type = "shapeless", + recipe = {"vlbridger:" .. bridge_node .. "red", "dye:green"}, + }) + + minetest.register_craft({ + output = "vlbridger:" .. bridge_node .. "steel", + type = "shapeless", + recipe = {"vlbridger:" .. bridge_node .. "white", "dye:black"}, + }) + + minetest.register_craft({ + output = "vlbridger:" .. bridge_node .. "steel", + type = "shapeless", + recipe = {"vlbridger:" .. bridge_node .. "yellow", "dye:black"}, + }) + + minetest.register_craft({ + output = "vlbridger:" .. bridge_node .. "steel", + type = "shapeless", + recipe = {"vlbridger:" .. bridge_node .. "green", "dye:black"}, + }) + + minetest.register_craft({ + output = "vlbridger:" .. bridge_node .. "steel", + type = "shapeless", + recipe = {"vlbridger:" .. bridge_node .. "red", "dye:black"}, + }) + + minetest.register_craft({ + output = "vlbridger:" .. bridge_node .. "steel", + type = "shapeless", + recipe = {"vlbridger:" .. bridge_node .. "white", "dye:dark_grey"}, + }) + + minetest.register_craft({ + output = "vlbridger:" .. bridge_node .. "steel", + type = "shapeless", + recipe = {"vlbridger:" .. bridge_node .. "yellow", "dye:dark_grey"}, + }) + + minetest.register_craft({ + output = "vlbridger:" .. bridge_node .. "steel", + type = "shapeless", + recipe = {"vlbridger:" .. bridge_node .. "green", "dye:dark_grey"}, + }) + + minetest.register_craft({ + output = "vlbridger:" .. bridge_node .. "steel", + type = "shapeless", + recipe = {"vlbridger:" .. bridge_node .. "red", "dye:dark_grey"}, + }) + + minetest.register_craft({ + output = "vlbridger:" .. bridge_node .. "yellow", + type = "shapeless", + recipe = {"vlbridger:" .. bridge_node .. "white", "dye:yellow"}, + }) + + minetest.register_craft({ + output = "vlbridger:" .. bridge_node .. "yellow", + type = "shapeless", + recipe = {"vlbridger:" .. bridge_node .. "steel", "dye:yellow"}, + }) + + minetest.register_craft({ + output = "vlbridger:" .. bridge_node .. "yellow", + type = "shapeless", + recipe = {"vlbridger:" .. bridge_node .. "green", "dye:yellow"}, + }) + + minetest.register_craft({ + output = "vlbridger:" .. bridge_node .. "yellow", + type = "shapeless", + recipe = {"vlbridger:" .. bridge_node .. "red", "dye:yellow"}, + }) + + minetest.register_craft({ + output = "vlbridger:" .. bridge_node .. "red", + type = "shapeless", + recipe = {"vlbridger:" .. bridge_node .. "yellow", "dye:red"}, + }) + end +end + +if minetest.settings:get_bool("vlbridger_enable_trestles", true) then + minetest.register_craft({ + output = "vlbridger:trestle_support_small", + recipe = { + {"vlbridger:bridges_wooden_rod", "", "vlbridger:bridges_wooden_rod"}, + } + }) + + minetest.register_craft({ + output = "vlbridger:trestle_support_small", + recipe = { + {"vlbridger:bridges_wooden_rod", "", "vlbridger:bridges_wooden_rod"}, + {"vlbridger:bridges_wooden_rod", "group:stick", "vlbridger:bridges_wooden_rod"}, + {"vlbridger:bridges_wooden_rod", "", "vlbridger:bridges_wooden_rod"}, + } + }) + + minetest.register_craft({ + output = "vlbridger:trestle_deck", + recipe = { + {"vlbridger:bridges_wooden_rod"}, + {"vlbridger:bridges_wooden_rod"}, + {"vlbridger:bridges_wooden_rod"}, + } + }) + + minetest.register_craft({ + output = "vlbridger:trestle_side", + recipe = { + {"vlbridger:bridges_wooden_rod", "vlbridger:bridges_wooden_rod", "vlbridger:bridges_wooden_rod"}, + {"", "group:stick", ""}, + {"vlbridger:bridges_wooden_rod", "vlbridger:bridges_wooden_rod", "vlbridger:bridges_wooden_rod"}, + } + }) + + minetest.register_craft({ + output = "vlbridger:trestle_substructure_small", + recipe = { + {"group:stick", "vlbridger:bridges_wooden_rod", "vlbridger:bridges_wooden_rod"}, + {"", "group:stick", "vlbridger:bridges_wooden_rod"}, + {"", "", "group:stick"}, + } + }) + + minetest.register_craft({ + output = "vlbridger:trestle_substructure_large", + recipe = { + {"group:stick", "", "vlbridger:bridges_wooden_rod"}, + {"group:stick", "group:stick", "vlbridger:bridges_wooden_rod"}, + {"", "group:stick", "group:stick"}, + } + }) + + minetest.register_craft({ + output = "vlbridger:lattice_truss", + recipe = { + {"group:stick", "", "group:stick"}, + {"", "vlbridger:bridges_wooden_rod", ""}, + {"group:stick", "", "group:stick"}, + } + }) + + minetest.register_craft({ + output = "vlbridger:deck_wood", + recipe = { + {"vlbridger:bridges_wooden_rod", "vlbridger:bridges_wooden_rod"}, + } + }) +end + +if minetest.settings:get_bool("vlbridger_enable_wooden_bridges", true) then + minetest.register_craft({ + output = "vlbridger:small_beam", + recipe = { + {"vlbridger:bridges_wooden_rod", "vlbridger:bridges_wooden_rod", "vlbridger:bridges_wooden_rod"}, + {"", "group:wood", ""}, + } + }) + + minetest.register_craft({ + output = "vlbridger:small_beam_mid", + recipe = { + {"", "vlbridger:bridges_wooden_rod", ""}, + {"", "group:wood", ""}, + } + }) + + minetest.register_craft({ + output = "vlbridger:small_beam_end", + recipe = { + {"vlbridger:bridges_wooden_rod", "vlbridger:bridges_wooden_rod", "vlbridger:bridges_wooden_rod"}, + {"vlbridger:bridges_wooden_rod", "", "vlbridger:bridges_wooden_rod"}, + {"", "group:wood", ""}, + } + }) + + minetest.register_craft({ + output = "vlbridger:small_beam_corner", + recipe = { + {"vlbridger:bridges_wooden_rod", "vlbridger:bridges_wooden_rod", "vlbridger:bridges_wooden_rod"}, + {"vlbridger:bridges_wooden_rod", "", ""}, + {"", "group:wood", ""}, + } + }) + + minetest.register_craft({ + output = "vlbridger:small_beam_3", + recipe = { + {"vlbridger:bridges_wooden_rod", "", "vlbridger:bridges_wooden_rod"}, + {"vlbridger:bridges_wooden_rod", "", "vlbridger:bridges_wooden_rod"}, + {"", "group:wood", ""}, + } + }) + + minetest.register_craft({ + output = "vlbridger:small_beam_4", + recipe = { + {"vlbridger:bridges_wooden_rod", "", "vlbridger:bridges_wooden_rod"}, + {"", "", ""}, + {"", "group:wood", ""}, + } + }) + + minetest.register_craft({ + output = "vlbridger:small_beam_stair", + recipe = { + {"", "vlbridger:bridges_wooden_rod", "vlbridger:bridges_wooden_rod"}, + {"vlbridger:bridges_wooden_rod", "", "group:wood"}, + {"vlbridger:bridges_wooden_rod", "group:wood", ""}, + } + }) + + minetest.register_craft({ + output = "vlbridger:large_beam", + recipe = { + {"vlbridger:bridges_wooden_rod", "vlbridger:bridges_wooden_rod", "vlbridger:bridges_wooden_rod"}, + {"vlbridger:bridges_wooden_rod", "vlbridger:bridges_wooden_rod", "vlbridger:bridges_wooden_rod"}, + {"vlbridger:bridges_wooden_rod", "group:wood", "vlbridger:bridges_wooden_rod"}, + } + }) + + minetest.register_craft({ + output = "vlbridger:large_fancy_beam", + recipe = { + {"vlbridger:bridges_wooden_rod", "vlbridger:bridges_wooden_rod", "vlbridger:bridges_wooden_rod"}, + {"vlbridger:bridges_wooden_rod", "group:wood", "vlbridger:bridges_wooden_rod"}, + {"vlbridger:bridges_wooden_rod", "vlbridger:bridges_wooden_rod", "vlbridger:bridges_wooden_rod"}, + } + }) + + minetest.register_craft({ + output = "vlbridger:large_beam_swivel_normal", + recipe = { + {"vlbridger:large_beam"}, + } + }) + + minetest.register_craft({ + output = "vlbridger:large_beam", + recipe = { + {"vlbridger:large_beam_swivel_normal"}, + } + }) + + minetest.register_craft({ + output = "vlbridger:large_drawbridge_normal", + recipe = { + {"vlbridger:small_beam", "vlbridger:small_beam"}, + } + }) + + minetest.register_craft({ + output = "vlbridger:small_beam 2", + recipe = { + {"vlbridger:large_drawbridge_normal"}, + } + }) + + minetest.register_craft({ + output = "vlbridger:foundation 6", + recipe = { + {"", "mcl_core:clay", ""}, + {"mcl_core:clay", "mcl_core:clay", "mcl_core:clay"}, + } + }) +end diff --git a/init.lua b/init.lua new file mode 100644 index 0000000..6f3473b --- /dev/null +++ b/init.lua @@ -0,0 +1,3 @@ +dofile(core.get_modpath("vlbridger") .. "/nodes.lua") +dofile(core.get_modpath("vlbridger") .. "/crafts.lua") + diff --git a/mod.conf b/mod.conf new file mode 100644 index 0000000..0ffbeb8 --- /dev/null +++ b/mod.conf @@ -0,0 +1,4 @@ +name = vlbridger +author = cyberonkel +description = Build impressive bridges. Fork of bridger for minetest_game to be used in VoxeLibre +depends = mcl_core \ No newline at end of file diff --git a/nodes.lua b/nodes.lua new file mode 100644 index 0000000..0fca495 --- /dev/null +++ b/nodes.lua @@ -0,0 +1,4722 @@ +local function rotate_and_place(itemstack, placer, pointed_thing) + local p0 = pointed_thing.under + local p1 = pointed_thing.above + local param2 = 0 + + local placer_pos = placer:getpos() + if placer_pos then + param2 = core.dir_to_facedir(vector.subtract(p1, placer_pos)) + end + + local finepos = core.pointed_thing_to_face_pos(placer, pointed_thing) + local fpos = finepos.y % 1 + + if p0.y - 1 == p1.y or (fpos > 0 and fpos < 0.5) + or (fpos < -0.5 and fpos > -0.999999999) then + param2 = param2 + 20 + if param2 == 21 then + param2 = 23 + elseif param2 == 23 then + param2 = 21 + end + end + return core.item_place(itemstack, placer, pointed_thing, param2) +end + +if core.settings:get_bool("vlbridger_enable_trusses", true) then + local bridge_colors = { + {"Green", "green"}, + {"Red", "red"}, + {"Steel", "steel"}, + {"White", "white"}, + {"Yellow", "yellow"}, + } + + for _, row in ipairs(bridge_colors) do + local bridge_desc = row[1] + local bridge_color = row[2] + + core.register_node("vlbridger:foundation", { + description = "Bridge Foundation", + drawtype = "nodebox", + tiles = {"default_clay.png"}, + paramtype = "light", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.75, 0.5, 0.501, 0.75}, + {-0.501, -0.5, -0.501, 0.501, 0.6876, 0.501}, + {-0.75, -0.5, -0.5, 0.75, 0.501, 0.5}, + {-0.75, -0.5, -0.75, 0.75, 0.499, 0.75}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_stone_defaults(), + }) + + core.register_node("vlbridger:block_" .. bridge_color, { + description = bridge_desc .. " Block", + drawtype = "normal", + tiles = {"bridges_" .. bridge_color .. ".png"}, + paramtype = "light", + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + if core.get_modpath("moreblocks") then + stairsplus:register_all("vlbridger", "block_" .. bridge_color, "vlbridger:block_" .. bridge_color, { + description = bridge_desc, + tiles = {"bridges_" .. bridge_color .. ".png"}, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + core.register_alias("vlbridger:step_" .. bridge_color, "vlbridger:panel_block_" .. bridge_color) + elseif core.get_modpath("stairs") then + stairs.register_stair_and_slab( + "block_" .. bridge_color, + "vlbridger:block_" .. bridge_color, + {cracky=3}, + {"bridges_" .. bridge_color .. ".png"}, + bridge_desc .. " Stair", + bridge_desc .. " Slab", + default.node_sound_metal_defaults() + ) + + core.register_node("vlbridger:step_" .. bridge_color, { + description = bridge_desc .. " Step", + drawtype = "nodebox", + tiles = {"bridges_" .. bridge_color .. ".png"}, + paramtype = "light", + paramtype2 = "facedir", + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0, 0.5, 0, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + on_place = function(itemstack, placer, pointed_thing) + if pointed_thing.type ~= "node" then + return itemstack + end + return rotate_and_place(itemstack, placer, pointed_thing) + end, + }) + end + + core.register_node("vlbridger:suspension_top_" .. bridge_color, { + description = bridge_desc .. " Cable Top", + drawtype = "nodebox", + tiles = {"bridges_" .. bridge_color .. ".png"}, + paramtype = "light", + paramtype2 = "facedir", + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0, 0.5}, + {-0.125, -0.5, -0.125, 0.125, 0.5, 0.125}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + on_place = function(itemstack, placer, pointed_thing) + if pointed_thing.type ~= "node" then + return itemstack + end + return rotate_and_place(itemstack, placer, pointed_thing) + end, + }) + + core.register_node("vlbridger:suspension_cable_" .. bridge_color, { + description = bridge_desc .. " Cable", + drawtype = "nodebox", + tiles = {"bridges_" .. bridge_color .. ".png"}, + paramtype = "light", + node_box = { + type = "fixed", + fixed = { + {-0.125, -0.5, -0.125, 0.125, 0.5, 0.125}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + core.register_node("vlbridger:deck_" .. bridge_color, { + description = bridge_desc .. " Deck", + drawtype = "nodebox", + tiles = {"bridges_" .. bridge_color .. ".png"}, + paramtype = "light", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, 0.375, -0.5, 0.5, 0.501, 0.5}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, 0, -0.5, 0.5, 0.5, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + core.register_node("vlbridger:deck_edge_" .. bridge_color, { + description = bridge_desc .. " Deck Edge", + drawtype = "nodebox", + tiles = {"bridges_" .. bridge_color .. ".png"}, + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, 0.375, -0.5, 0.5, 0.501, 0.5}, + {-0.5, 0.375, -0.5, 0.5, 1.0625, -0.625}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, 0, -0.5, 0.5, 0.5, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + core.register_node("vlbridger:train_deck_" .. bridge_color, { + description = bridge_desc .. " Train Deck", + drawtype = "nodebox", + tiles = {"bridges_" .. bridge_color .. ".png"}, + paramtype = "light", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {0.375, 0.375, 0.375, 0.5, 0.501, 0.5}, + {0.3125, 0.375, 0.3125, 0.4375, 0.501, 0.4375}, + {0.25, 0.375, 0.25, 0.375, 0.501, 0.375}, + {0.1875, 0.375, 0.1875, 0.3125, 0.501, 0.3125}, + {0.125, 0.375, 0.125, 0.25, 0.501, 0.25}, + {0.0625, 0.375, 0.0625, 0.1875, 0.501, 0.1875}, + {0, 0.375, 0, 0.125, 0.501, 0.125}, + {-0.0625, 0.375, -0.0625, 0.0625, 0.501, 0.0625}, + {-0.125, 0.375, -0.125, 0, 0.501, 0}, + {-0.1875, 0.375, -0.1875, -0.0625, 0.501, -0.0625}, + {-0.25, 0.375, -0.25, -0.125, 0.501, -0.125}, + {-0.3125, 0.375, -0.3125, -0.1875, 0.501, -0.1875}, + {-0.4375, 0.375, -0.4375, -0.3125, 0.501, -0.3125}, + {-0.375, 0.375, -0.375, -0.25, 0.501, -0.25}, + {-0.5, 0.375, -0.5, -0.375, 0.501, -0.375}, + {-0.5, 0.375, 0.375, -0.375, 0.501, 0.5}, + {-0.4375, 0.375, 0.3125, -0.3125, 0.501, 0.4375}, + {-0.375, 0.375, 0.25, -0.25, 0.501, 0.375}, + {-0.3125, 0.375, 0.1875, -0.1875, 0.501, 0.3125}, + {-0.25, 0.375, 0.125, -0.125, 0.501, 0.25}, + {-0.1875, 0.375, 0.0625, -0.0625, 0.501, 0.1875}, + {-0.125, 0.375, 0, 0, 0.501, 0.125}, + {0, 0.375, -0.125, 0.125, 0.501, 0}, + {0.0625, 0.375, -0.1875, 0.1875, 0.501, -0.0625}, + {0.125, 0.375, -0.25, 0.25, 0.501, -0.125}, + {0.1875, 0.375, -0.3125, 0.3125, 0.501, -0.1875}, + {0.25, 0.375, -0.375, 0.375, 0.501, -0.25}, + {0.3125, 0.375, -0.4375, 0.4375, 0.501, -0.3125}, + {0.375, 0.375, -0.5, 0.5, 0.501, -0.375}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, 0, -0.5, 0.5, 0.5, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + core.register_node("vlbridger:girder_mid_" .. bridge_color, { + description = bridge_desc .. " Girder Middle", + drawtype = "nodebox", + tiles = {"bridges_" .. bridge_color .. ".png"}, + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.4375, 0.5, 0.5, 0.5}, + {-0.5, 0.4375, 0.375, 0.5, 0.5, 0.5}, + {0.46875, -0.5, 0.375, 0.5, 0.5, 0.5}, + {-0.5, -0.5, 0.375, -0.46875, 0.5, 0.5}, + {-0.5, -0.5, 0.375, 0.5, -0.4375, 0.5}, + {-0.5, -0.625, 0.4375, 0.5, -0.5, 0.5}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0, 0.5, 0.5, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + core.register_node("vlbridger:girder_right_" .. bridge_color, { + description = bridge_desc .. " Girder Right End", + drawtype = "nodebox", + tiles = {"bridges_" .. bridge_color .. ".png"}, + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, 0.4375, 0.375, -0.25, 0.5, 0.5}, + {-0.5, -0.5, 0.375, -0.46875, 0.5, 0.5}, + {-0.5, -0.5, 0.375, 0.5, -0.4375, 0.5}, + {-0.3125, 0.375, 0.375, -0.0625, 0.4375, 0.5}, + {-0.125, 0.3125, 0.375, 0.0625, 0.375, 0.5}, + {0, 0.25, 0.375, 0.125, 0.3125, 0.5}, + {0.4375, -0.5, 0.375, 0.5, -0.25, 0.5}, + {0.375, -0.3125, 0.375, 0.4375, -0.0625, 0.5}, + {0.3125, -0.125, 0.375, 0.375, 0.0625, 0.5}, + {0.25, 0, 0.375, 0.3125, 0.125, 0.5}, + {0.1875, 0.0625, 0.375, 0.25, 0.1875, 0.5}, + {0.125, 0.125, 0.375, 0.1875, 0.25, 0.5}, + {0.0625, 0.1875, 0.375, 0.1875, 0.25, 0.5}, + {-0.5, -0.5, 0.4375, -0.0625, 0.4375, 0.5}, + {-0.5, -0.5, 0.4375, 0.4375, -0.0625, 0.5}, + {-0.5, -0.5, 0.4375, 0.125, 0.3125, 0.5}, + {-0.5, -0.5, 0.4375, 0.3125, 0.125, 0.5}, + {-0.5, -0.625, 0.4375, 0.5, -0.5, 0.5}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0, 0.5, 0.5, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + core.register_node("vlbridger:girder_left_" .. bridge_color, { + description = bridge_desc .. " Girder Left End", + drawtype = "nodebox", + tiles = {"bridges_" .. bridge_color .. ".png"}, + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {0.25, 0.4375, 0.375, 0.5, 0.5, 0.5}, + {0.46875, -0.5, 0.375, 0.5, 0.5, 0.5}, + {-0.5, -0.5, 0.375, 0.5, -0.4375, 0.5}, + {0.0625, 0.375, 0.375, 0.3125, 0.4375, 0.5}, + {-0.0625, 0.3125, 0.375, 0.125, 0.375, 0.5}, + {-0.125, 0.25, 0.375, -0, 0.3125, 0.5}, + {-0.5, -0.5, 0.375, -0.4375, -0.25, 0.5}, + {-0.4375, -0.3125, 0.375, -0.375, -0.0625, 0.5}, + {-0.375, -0.125, 0.375, -0.3125, 0.0625, 0.5}, + {-0.3125, 0, 0.375, -0.25, 0.125, 0.5}, + {-0.25, 0.0625, 0.375, -0.1875, 0.1875, 0.5}, + {-0.1875, 0.125, 0.375, -0.125, 0.25, 0.5}, + {-0.1875, 0.1875, 0.375, -0.0625, 0.25, 0.5}, + {0.0625, -0.5, 0.4375, 0.5, 0.4375, 0.5}, + {-0.4375, -0.5, 0.4375, 0.5, -0.0625, 0.5}, + {-0.125, -0.5, 0.4375, 0.5, 0.3125, 0.5}, + {-0.3125, -0.5, 0.4375, 0.5, 0.125, 0.5}, + {-0.5, -0.625, 0.4375, 0.5, -0.5, 0.5}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0, 0.5, 0.5, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + core.register_node("vlbridger:truss_superstructure_right_slant_" .. bridge_color, { + description = bridge_desc .. " Truss Superstructure Right Slant", + drawtype = "nodebox", + tiles = {"bridges_" .. bridge_color .. ".png"}, + inventory_image = "bridges_" .. bridge_color .. + ".png^bridges_superstructure_right_slant.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_color .. + ".png^bridges_superstructure_right_slant.png^[makealpha:255,126,126", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 0.0625, 0.5}, + {-0.5, -0.5, 0.375, -0.4375, 2.5, 0.5}, + {1.4375, -0.5, 0.375, 1.5, 2.5, 0.5}, + {-0.5, 2.375, 0.375, 1.5, 2.5, 0.5}, + {-0.4375, 2.25, 0.375, -0.3125, 2.375, 0.5}, + {-0.375, 2.1875, 0.375, -0.25, 2.3125, 0.5}, + {-0.3125, 2.0625, 0.375, -0.1875, 2.25, 0.5}, + {-0.25, 2, 0.375, -0.125, 2.125, 0.5}, + {-0.1875, 1.9375, 0.375, -0.0625, 2.0625, 0.5}, + {-0.125, 1.875, 0.375, 0, 2, 0.5}, + {-0.0625, 1.75, 0.375, 0.0625, 1.9375, 0.5}, + {0, 1.6875, 0.375, 0.125, 1.8125, 0.5}, + {0.0625, 1.625, 0.375, 0.1875, 1.75, 0.5}, + {0.125, 1.5625, 0.375, 0.25, 1.6875, 0.5}, + {0.1875, 1.4375, 0.375, 0.3125, 1.625, 0.5}, + {0.25, 1.375, 0.375, 0.375, 1.5, 0.5}, + {0.3125, 1.3125, 0.375, 0.4375, 1.4375, 0.5}, + {0.375, 1.25, 0.375, 0.5, 1.375, 0.5}, + {0.4375, 1.125, 0.375, 0.5625, 1.3125, 0.5}, + {0.5, 1.0625, 0.375, 0.625, 1.1875, 0.5}, + {0.5625, 1, 0.375, 0.6875, 1.125, 0.5}, + {0.625, 0.9375, 0.375, 0.75, 1.0625, 0.5}, + {0.6875, 0.8125, 0.375, 0.8125, 1, 0.5}, + {0.75, 0.75, 0.375, 0.875, 0.875, 0.5}, + {0.8125, 0.6875, 0.375, 0.9375, 0.8125, 0.5}, + {0.875, 0.625, 0.375, 1, 0.75, 0.5}, + {0.9375, 0.5, 0.375, 1.0625, 0.6875, 0.5}, + {1, 0.4375, 0.375, 1.125, 0.5625, 0.5}, + {1.0625, 0.375, 0.375, 1.1875, 0.5, 0.5}, + {1.125, 0.3125, 0.375, 1.25, 0.4375, 0.5}, + {1.1875, 0.1875, 0.375, 1.3125, 0.375, 0.5}, + {1.25, 0.125, 0.375, 1.375, 0.25, 0.5}, + {1.3125, 0.0625, 0.375, 1.4375, 0.1875, 0.5}, + {1.375, 0, 0.375, 1.5, 0.125, 0.5}, + {-0.4375, 2.3125, 0.375, -0.3125, 2.4375, 0.5}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 2.5, 0.5}, + }, + }, + collision_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 2.5, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + core.register_node("vlbridger:truss_superstructure_left_slant_" .. bridge_color, { + description = bridge_desc .. " Truss Superstructure Left Slant", + drawtype = "nodebox", + tiles = {"bridges_" .. bridge_color .. ".png"}, + inventory_image = "bridges_" .. bridge_color .. + ".png^bridges_superstructure_left_slant.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_color .. + ".png^bridges_superstructure_left_slant.png^[makealpha:255,126,126", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 0.0625, 0.5}, + {-0.5, -0.5, 0.375, -0.4375, 2.5, 0.5}, + {1.4375, -0.5, 0.375, 1.5, 2.5, 0.5}, + {-0.5, 2.375, 0.375, 1.5, 2.5, 0.5}, + {1.3125, 2.25, 0.375, 1.4375, 2.375, 0.5}, + {1.25, 2.1875, 0.375, 1.375, 2.3125, 0.5}, + {1.1875, 2.0625, 0.375, 1.3125, 2.25, 0.5}, + {1.125, 2, 0.375, 1.25, 2.125, 0.5}, + {1.0625, 1.9375, 0.375, 1.1875, 2.0625, 0.5}, + {1, 1.875, 0.375, 1.125, 2, 0.5}, + {0.9375, 1.75, 0.375, 1.0625, 1.9375, 0.5}, + {0.875, 1.6875, 0.375, 1, 1.8125, 0.5}, + {0.8125, 1.625, 0.375, 0.9375, 1.75, 0.5}, + {0.75, 1.5625, 0.375, 0.875, 1.6875, 0.5}, + {0.6875, 1.4375, 0.375, 0.8125, 1.625, 0.5}, + {0.625, 1.375, 0.375, 0.75, 1.5, 0.5}, + {0.5625, 1.3125, 0.375, 0.6875, 1.4375, 0.5}, + {0.5, 1.25, 0.375, 0.625, 1.375, 0.5}, + {0.4375, 1.125, 0.375, 0.5625, 1.3125, 0.5}, + {0.375, 1.0625, 0.375, 0.5, 1.1875, 0.5}, + {0.3125, 1, 0.375, 0.4375, 1.125, 0.5}, + {0.25, 0.9375, 0.375, 0.375, 1.0625, 0.5}, + {0.1875, 0.8125, 0.375, 0.3125, 1, 0.5}, + {0.125, 0.75, 0.375, 0.25, 0.875, 0.5}, + {0.0625, 0.6875, 0.375, 0.1875, 0.8125, 0.5}, + {0, 0.625, 0.375, 0.125, 0.75, 0.5}, + {-0.0625, 0.5, 0.375, 0.0625, 0.6875, 0.5}, + {-0.125, 0.4375, 0.375, 0, 0.5625, 0.5}, + {-0.1875, 0.375, 0.375, -0.0625, 0.5, 0.5}, + {-0.25, 0.3125, 0.375, -0.125, 0.4375, 0.5}, + {-0.3125, 0.1875, 0.375, -0.1875, 0.375, 0.5}, + {-0.375, 0.125, 0.375, -0.25, 0.25, 0.5}, + {-0.4375, 0.0625, 0.375, -0.3125, 0.1875, 0.5}, + {-0.5, 0, 0.375, -0.375, 0.125, 0.5}, + {1.375, 2.3125, 0.375, 1.5, 2.4375, 0.5}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 2.5, 0.5}, + }, + }, + collision_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 2.5, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + core.register_node("vlbridger:truss_superstructure_end_right_slant_" .. bridge_color, { + description = bridge_desc .. " Truss Superstructure End Right Slant", + drawtype = "nodebox", + tiles = {"bridges_" .. bridge_color .. ".png"}, + inventory_image = "bridges_" .. bridge_color .. + ".png^bridges_superstructure_end_right_slant.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_color .. + ".png^bridges_superstructure_end_right_slant.png^[makealpha:255,126,126", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 0.0625, 0.5}, + {-0.5, -0.5, 0.375, -0.4375, 2.5, 0.5}, + {-0.4375, 2.25, 0.375, -0.3125, 2.375, 0.5}, + {-0.375, 2.1875, 0.375, -0.25, 2.3125, 0.5}, + {-0.3125, 2.0625, 0.375, -0.1875, 2.25, 0.5}, + {-0.25, 2, 0.375, -0.125, 2.125, 0.5}, + {-0.1875, 1.9375, 0.375, -0.0625, 2.0625, 0.5}, + {-0.125, 1.875, 0.375, 0, 2, 0.5}, + {-0.0625, 1.75, 0.375, 0.0625, 1.9375, 0.5}, + {0, 1.6875, 0.375, 0.125, 1.8125, 0.5}, + {0.0625, 1.625, 0.375, 0.1875, 1.75, 0.5}, + {0.125, 1.5625, 0.375, 0.25, 1.6875, 0.5}, + {0.1875, 1.4375, 0.375, 0.3125, 1.625, 0.5}, + {0.25, 1.375, 0.375, 0.375, 1.5, 0.5}, + {0.3125, 1.3125, 0.375, 0.4375, 1.4375, 0.5}, + {0.375, 1.25, 0.375, 0.5, 1.375, 0.5}, + {0.4375, 1.125, 0.375, 0.5625, 1.3125, 0.5}, + {0.5, 1.0625, 0.375, 0.625, 1.1875, 0.5}, + {0.5625, 1, 0.375, 0.6875, 1.125, 0.5}, + {0.625, 0.9375, 0.375, 0.75, 1.0625, 0.5}, + {0.6875, 0.8125, 0.375, 0.8125, 1, 0.5}, + {0.75, 0.75, 0.375, 0.875, 0.875, 0.5}, + {0.8125, 0.6875, 0.375, 0.9375, 0.8125, 0.5}, + {0.875, 0.625, 0.375, 1, 0.75, 0.5}, + {0.9375, 0.5, 0.375, 1.0625, 0.6875, 0.5}, + {1, 0.4375, 0.375, 1.125, 0.5625, 0.5}, + {1.0625, 0.375, 0.375, 1.1875, 0.5, 0.5}, + {1.125, 0.3125, 0.375, 1.25, 0.4375, 0.5}, + {1.1875, 0.1875, 0.375, 1.3125, 0.375, 0.5}, + {1.25, 0.125, 0.375, 1.375, 0.25, 0.5}, + {1.3125, 0.0625, 0.375, 1.4375, 0.1875, 0.5}, + {1.375, 0, 0.375, 1.5, 0.125, 0.5}, + {-0.4375, 2.3125, 0.375, -0.3125, 2.4375, 0.5}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 2.5, 0.5}, + }, + }, + collision_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 2.5, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + core.register_node("vlbridger:truss_superstructure_end_left_slant_" .. bridge_color, { + description = bridge_desc .. " Truss Superstructure End Left Slant", + drawtype = "nodebox", + tiles = {"bridges_" .. bridge_color .. ".png"}, + inventory_image = "bridges_" .. bridge_color .. + ".png^bridges_superstructure_end_left_slant.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_color .. + ".png^bridges_superstructure_end_left_slant.png^[makealpha:255,126,126", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 0.0625, 0.5}, + {1.4375, -0.5, 0.375, 1.5, 2.5, 0.5}, + {1.3125, 2.25, 0.375, 1.4375, 2.375, 0.5}, + {1.25, 2.1875, 0.375, 1.375, 2.3125, 0.5}, + {1.1875, 2.0625, 0.375, 1.3125, 2.25, 0.5}, + {1.125, 2, 0.375, 1.25, 2.125, 0.5}, + {1.0625, 1.9375, 0.375, 1.1875, 2.0625, 0.5}, + {1, 1.875, 0.375, 1.125, 2, 0.5}, + {0.9375, 1.75, 0.375, 1.0625, 1.9375, 0.5}, + {0.875, 1.6875, 0.375, 1, 1.8125, 0.5}, + {0.8125, 1.625, 0.375, 0.9375, 1.75, 0.5}, + {0.75, 1.5625, 0.375, 0.875, 1.6875, 0.5}, + {0.6875, 1.4375, 0.375, 0.8125, 1.625, 0.5}, + {0.625, 1.375, 0.375, 0.75, 1.5, 0.5}, + {0.5625, 1.3125, 0.375, 0.6875, 1.4375, 0.5}, + {0.5, 1.25, 0.375, 0.625, 1.375, 0.5}, + {0.4375, 1.125, 0.375, 0.5625, 1.3125, 0.5}, + {0.375, 1.0625, 0.375, 0.5, 1.1875, 0.5}, + {0.3125, 1, 0.375, 0.4375, 1.125, 0.5}, + {0.25, 0.9375, 0.375, 0.375, 1.0625, 0.5}, + {0.1875, 0.8125, 0.375, 0.3125, 1, 0.5}, + {0.125, 0.75, 0.375, 0.25, 0.875, 0.5}, + {0.0625, 0.6875, 0.375, 0.1875, 0.8125, 0.5}, + {0, 0.625, 0.375, 0.125, 0.75, 0.5}, + {-0.0625, 0.5, 0.375, 0.0625, 0.6875, 0.5}, + {-0.125, 0.4375, 0.375, 0, 0.5625, 0.5}, + {-0.1875, 0.375, 0.375, -0.0625, 0.5, 0.5}, + {-0.25, 0.3125, 0.375, -0.125, 0.4375, 0.5}, + {-0.3125, 0.1875, 0.375, -0.1875, 0.375, 0.5}, + {-0.375, 0.125, 0.375, -0.25, 0.25, 0.5}, + {-0.4375, 0.0625, 0.375, -0.3125, 0.1875, 0.5}, + {-0.5, 0, 0.375, -0.375, 0.125, 0.5}, + {1.375, 2.3125, 0.375, 1.5, 2.4375, 0.5}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 2.5, 0.5}, + }, + }, + collision_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 2.5, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + core.register_node("vlbridger:truss_superstructure_mid_" .. bridge_color, { + description = bridge_desc .. " Truss Superstructure Middle", + drawtype = "nodebox", + tiles = {"bridges_" .. bridge_color .. ".png"}, + inventory_image = "bridges_" .. bridge_color .. + ".png^bridges_superstructure_mid.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_color .. + ".png^bridges_superstructure_mid.png^[makealpha:255,126,126", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 0.0625, 0.5}, + {-0.5, -0.5, 0.375, -0.4375, 2.5, 0.5}, + {1.4375, -0.5, 0.375, 1.5, 2.5, 0.5}, + {-0.5, 2.375, 0.375, 1.5, 2.5, 0.5}, + {-0.4375, 2.25, 0.375, -0.3125, 2.375, 0.5}, + {-0.375, 2.1875, 0.375, -0.25, 2.3125, 0.5}, + {-0.3125, 2.0625, 0.375, -0.1875, 2.25, 0.5}, + {-0.25, 2, 0.375, -0.125, 2.125, 0.5}, + {-0.1875, 1.9375, 0.375, -0.0625, 2.0625, 0.5}, + {-0.125, 1.875, 0.375, 0, 2, 0.5}, + {-0.0625, 1.75, 0.375, 0.0625, 1.9375, 0.5}, + {0, 1.6875, 0.375, 0.125, 1.8125, 0.5}, + {0.0625, 1.625, 0.375, 0.1875, 1.75, 0.5}, + {0.125, 1.5625, 0.375, 0.25, 1.6875, 0.5}, + {0.1875, 1.4375, 0.375, 0.3125, 1.625, 0.5}, + {0.25, 1.375, 0.375, 0.375, 1.5, 0.5}, + {0.3125, 1.3125, 0.375, 0.4375, 1.4375, 0.5}, + {0.375, 1.25, 0.375, 0.5, 1.375, 0.5}, + {0.4375, 1.125, 0.375, 0.5625, 1.3125, 0.5}, + {0.5, 1.0625, 0.375, 0.625, 1.1875, 0.5}, + {0.5625, 1, 0.375, 0.6875, 1.125, 0.5}, + {0.625, 0.9375, 0.375, 0.75, 1.0625, 0.5}, + {0.6875, 0.8125, 0.375, 0.8125, 1, 0.5}, + {0.75, 0.75, 0.375, 0.875, 0.875, 0.5}, + {0.8125, 0.6875, 0.375, 0.9375, 0.8125, 0.5}, + {0.875, 0.625, 0.375, 1, 0.75, 0.5}, + {0.9375, 0.5, 0.375, 1.0625, 0.6875, 0.5}, + {1, 0.4375, 0.375, 1.125, 0.5625, 0.5}, + {1.0625, 0.375, 0.375, 1.1875, 0.5, 0.5}, + {1.125, 0.3125, 0.375, 1.25, 0.4375, 0.5}, + {1.1875, 0.1875, 0.375, 1.3125, 0.375, 0.5}, + {1.25, 0.125, 0.375, 1.375, 0.25, 0.5}, + {1.3125, 0.0625, 0.375, 1.4375, 0.1875, 0.5}, + {1.375, 0, 0.375, 1.5, 0.125, 0.5}, + {-0.4375, 2.3125, 0.375, -0.3125, 2.4375, 0.5}, + {1.3125, 2.25, 0.375, 1.4375, 2.375, 0.5}, + {1.25, 2.1875, 0.375, 1.375, 2.3125, 0.5}, + {1.1875, 2.0625, 0.375, 1.3125, 2.25, 0.5}, + {1.125, 2, 0.375, 1.25, 2.125, 0.5}, + {1.0625, 1.9375, 0.375, 1.1875, 2.0625, 0.5}, + {1, 1.875, 0.375, 1.125, 2, 0.5}, + {0.9375, 1.75, 0.375, 1.0625, 1.9375, 0.5}, + {0.875, 1.6875, 0.375, 1, 1.8125, 0.5}, + {0.8125, 1.625, 0.375, 0.9375, 1.75, 0.5}, + {0.75, 1.5625, 0.375, 0.875, 1.6875, 0.5}, + {0.6875, 1.4375, 0.375, 0.8125, 1.625, 0.5}, + {0.625, 1.375, 0.375, 0.75, 1.5, 0.5}, + {0.5625, 1.3125, 0.375, 0.6875, 1.4375, 0.5}, + {0.5, 1.25, 0.375, 0.625, 1.375, 0.5}, + {0.4375, 1.125, 0.375, 0.5625, 1.3125, 0.5}, + {0.375, 1.0625, 0.375, 0.5, 1.1875, 0.5}, + {0.3125, 1, 0.375, 0.4375, 1.125, 0.5}, + {0.25, 0.9375, 0.375, 0.375, 1.0625, 0.5}, + {0.1875, 0.8125, 0.375, 0.3125, 1, 0.5}, + {0.125, 0.75, 0.375, 0.25, 0.875, 0.5}, + {0.0625, 0.6875, 0.375, 0.1875, 0.8125, 0.5}, + {0, 0.625, 0.375, 0.125, 0.75, 0.5}, + {-0.0625, 0.5, 0.375, 0.0625, 0.6875, 0.5}, + {-0.125, 0.4375, 0.375, 0, 0.5625, 0.5}, + {-0.1875, 0.375, 0.375, -0.0625, 0.5, 0.5}, + {-0.25, 0.3125, 0.375, -0.125, 0.4375, 0.5}, + {-0.3125, 0.1875, 0.375, -0.1875, 0.375, 0.5}, + {-0.375, 0.125, 0.375, -0.25, 0.25, 0.5}, + {-0.4375, 0.0625, 0.375, -0.3125, 0.1875, 0.5}, + {-0.5, 0, 0.375, -0.375, 0.125, 0.5}, + {1.375, 2.3125, 0.375, 1.5, 2.4375, 0.5}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 2.5, 0.5}, + }, + }, + collision_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 2.5, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + core.register_node("vlbridger:truss_superstructure_tall_right_slant_" .. bridge_color, { + description = bridge_desc .. " Tall Truss Superstructure Right Slant", + drawtype = "nodebox", + tiles = {"bridges_" .. bridge_color .. ".png"}, + inventory_image = "bridges_" .. bridge_color .. + ".png^bridges_superstructure_tall_right_slant.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_color .. + ".png^bridges_superstructure_tall_right_slant.png^[makealpha:255,126,126", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 0.0625, 0.5}, + {-0.5, 3.375, 0.375, 1.5, 3.5, 0.5}, + {-0.5, -0.5, 0.375, -0.4375, 3.5, 0.5}, + {1.4375, -0.5, 0.375, 1.5, 3.5, 0.5}, + {-0.4375, 3.25, 0.375, -0.3125, 3.375, 0.5}, + {-0.375, 3.125, 0.375, -0.25, 3.3125, 0.5}, + {-0.3125, 3, 0.375, -0.1875, 3.1875, 0.5}, + {-0.25, 2.875, 0.375, -0.125, 3.0625, 0.5}, + {-0.1875, 2.75, 0.375, -0.0625, 2.9375, 0.5}, + {-0.125, 2.625, 0.375, 1.11759e-008, 2.8125, 0.5}, + {-0.0625, 2.5625, 0.375, 0.0625, 2.6875, 0.5}, + {0, 2.4375, 0.375, 0.125, 2.625, 0.5}, + {0.0625, 2.3125, 0.375, 0.1875, 2.5, 0.5}, + {0.125, 2.1875, 0.375, 0.25, 2.375, 0.5}, + {0.1875, 2.0625, 0.375, 0.3125, 2.25, 0.5}, + {0.25, 2, 0.375, 0.375, 2.125, 0.5}, + {0.3125, 1.875, 0.375, 0.4375, 2.0625, 0.5}, + {0.375, 1.75, 0.375, 0.5, 1.9375, 0.5}, + {0.4375, 1.625, 0.375, 0.5625, 1.8125, 0.5}, + {0.5, 1.5, 0.375, 0.625, 1.6875, 0.5}, + {0.5625, 1.375, 0.375, 0.6875, 1.5625, 0.5}, + {0.625, 1.3125, 0.375, 0.75, 1.4375, 0.5}, + {0.6875, 1.1875, 0.375, 0.8125, 1.375, 0.5}, + {0.75, 1.0625, 0.375, 0.875, 1.25, 0.5}, + {0.8125, 0.9375, 0.375, 0.9375, 1.125, 0.5}, + {0.875, 0.8125, 0.375, 1, 1, 0.5}, + {0.9375, 0.75, 0.375, 1.0625, 0.875, 0.5}, + {1, 0.625, 0.375, 1.125, 0.8125, 0.5}, + {1.0625, 0.5, 0.375, 1.1875, 0.6875, 0.5}, + {1.125, 0.375, 0.375, 1.25, 0.5625, 0.5}, + {1.1875, 0.25, 0.375, 1.3125, 0.4375, 0.5}, + {1.25, 0.125, 0.375, 1.375, 0.3125, 0.5}, + {1.3125, 0.0625, 0.375, 1.4375, 0.1875, 0.5}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 3.5, 0.5}, + }, + }, + collision_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 3.5, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + core.register_node("vlbridger:truss_superstructure_tall_left_slant_" .. bridge_color, { + description = bridge_desc .. " Tall Truss Superstructure Left Slant", + drawtype = "nodebox", + tiles = {"bridges_" .. bridge_color .. ".png"}, + inventory_image = "bridges_" .. bridge_color .. + ".png^bridges_superstructure_tall_left_slant.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_color .. + ".png^bridges_superstructure_tall_left_slant.png^[makealpha:255,126,126", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 0.0625, 0.5}, + {-0.5, 3.375, 0.375, 1.5, 3.5, 0.5}, + {-0.5, -0.5, 0.375, -0.4375, 3.5, 0.5}, + {1.4375, -0.5, 0.375, 1.5, 3.5, 0.5}, + {1.3125, 3.25, 0.375, 1.4375, 3.375, 0.5}, + {1.25, 3.125, 0.375, 1.375, 3.3125, 0.5}, + {1.1875, 3, 0.375, 1.3125, 3.1875, 0.5}, + {1.125, 2.875, 0.375, 1.25, 3.0625, 0.5}, + {1.0625, 2.75, 0.375, 1.1875, 2.9375, 0.5}, + {1, 2.625, 0.375, 1.125, 2.8125, 0.5}, + {0.9375, 2.5625, 0.375, 1.0625, 2.6875, 0.5}, + {0.875, 2.4375, 0.375, 1, 2.625, 0.5}, + {0.8125, 2.3125, 0.375, 0.9375, 2.5, 0.5}, + {0.75, 2.1875, 0.375, 0.875, 2.375, 0.5}, + {0.6875, 2.0625, 0.375, 0.8125, 2.25, 0.5}, + {0.625, 2, 0.375, 0.75, 2.125, 0.5}, + {0.5625, 1.875, 0.375, 0.6875, 2.0625, 0.5}, + {0.5, 1.75, 0.375, 0.625, 1.9375, 0.5}, + {0.4375, 1.625, 0.375, 0.5625, 1.8125, 0.5}, + {0.375, 1.5, 0.375, 0.5, 1.6875, 0.5}, + {0.3125, 1.375, 0.375, 0.4375, 1.5625, 0.5}, + {0.25, 1.3125, 0.375, 0.375, 1.4375, 0.5}, + {0.1875, 1.1875, 0.375, 0.3125, 1.375, 0.5}, + {0.125, 1.0625, 0.375, 0.25, 1.25, 0.5}, + {0.0625, 0.9375, 0.375, 0.1875, 1.125, 0.5}, + {0, 0.8125, 0.375, 0.125, 1, 0.5}, + {-0.0625, 0.75, 0.375, 0.0625, 0.875, 0.5}, + {-0.125, 0.625, 0.375, -3.35276e-008, 0.8125, 0.5}, + {-0.1875, 0.5, 0.375, -0.0625, 0.6875, 0.5}, + {-0.25, 0.375, 0.375, -0.125, 0.5625, 0.5}, + {-0.3125, 0.25, 0.375, -0.1875, 0.4375, 0.5}, + {-0.375, 0.125, 0.375, -0.25, 0.3125, 0.5}, + {-0.4375, 0.0625, 0.375, -0.3125, 0.1875, 0.5}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 3.5, 0.5}, + }, + }, + collision_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 3.5, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + core.register_node("vlbridger:truss_superstructure_tall_mid_" .. bridge_color, { + description = bridge_desc .. " Tall Truss Superstructure Middle", + drawtype = "nodebox", + tiles = {"bridges_" .. bridge_color .. ".png"}, + inventory_image = "bridges_" .. bridge_color .. + ".png^bridges_superstructure_tall_mid.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_color .. + ".png^bridges_superstructure_tall_mid.png^[makealpha:255,126,126", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 0.0625, 0.5}, + {-0.5, 3.375, 0.375, 1.5, 3.5, 0.5}, + {-0.5, -0.5, 0.375, -0.4375, 3.5, 0.5}, + {1.4375, -0.5, 0.375, 1.5, 3.5, 0.5}, + {1.3125, 3.25, 0.375, 1.4375, 3.375, 0.5}, + {1.25, 3.125, 0.375, 1.375, 3.3125, 0.5}, + {1.1875, 3, 0.375, 1.3125, 3.1875, 0.5}, + {1.125, 2.875, 0.375, 1.25, 3.0625, 0.5}, + {1.0625, 2.75, 0.375, 1.1875, 2.9375, 0.5}, + {1, 2.625, 0.375, 1.125, 2.8125, 0.5}, + {0.9375, 2.5625, 0.375, 1.0625, 2.6875, 0.5}, + {0.875, 2.4375, 0.375, 1, 2.625, 0.5}, + {0.8125, 2.3125, 0.375, 0.9375, 2.5, 0.5}, + {0.75, 2.1875, 0.375, 0.875, 2.375, 0.5}, + {0.6875, 2.0625, 0.375, 0.8125, 2.25, 0.5}, + {0.625, 2, 0.375, 0.75, 2.125, 0.5}, + {0.5625, 1.875, 0.375, 0.6875, 2.0625, 0.5}, + {0.5, 1.75, 0.375, 0.625, 1.9375, 0.5}, + {0.4375, 1.625, 0.375, 0.5625, 1.8125, 0.5}, + {0.375, 1.5, 0.375, 0.5, 1.6875, 0.5}, + {0.3125, 1.375, 0.375, 0.4375, 1.5625, 0.5}, + {0.25, 1.3125, 0.375, 0.375, 1.4375, 0.5}, + {0.1875, 1.1875, 0.375, 0.3125, 1.375, 0.5}, + {0.125, 1.0625, 0.375, 0.25, 1.25, 0.5}, + {0.0625, 0.9375, 0.375, 0.1875, 1.125, 0.5}, + {0, 0.8125, 0.375, 0.125, 1, 0.5}, + {-0.0625, 0.75, 0.375, 0.0625, 0.875, 0.5}, + {-0.125, 0.625, 0.375, -3.35276e-008, 0.8125, 0.5}, + {-0.1875, 0.5, 0.375, -0.0625, 0.6875, 0.5}, + {-0.25, 0.375, 0.375, -0.125, 0.5625, 0.5}, + {-0.3125, 0.25, 0.375, -0.1875, 0.4375, 0.5}, + {-0.375, 0.125, 0.375, -0.25, 0.3125, 0.5}, + {-0.4375, 0.0625, 0.375, -0.3125, 0.1875, 0.5}, + {-0.4375, 3.25, 0.375, -0.3125, 3.375, 0.5}, + {-0.375, 3.125, 0.375, -0.25, 3.3125, 0.5}, + {-0.3125, 3, 0.375, -0.1875, 3.1875, 0.5}, + {-0.25, 2.875, 0.375, -0.125, 3.0625, 0.5}, + {-0.1875, 2.75, 0.375, -0.0625, 2.9375, 0.5}, + {-0.125, 2.625, 0.375, 1.11759e-008, 2.8125, 0.5}, + {-0.0625, 2.5625, 0.375, 0.0625, 2.6875, 0.5}, + {0, 2.4375, 0.375, 0.125, 2.625, 0.5}, + {0.0625, 2.3125, 0.375, 0.1875, 2.5, 0.5}, + {0.125, 2.1875, 0.375, 0.25, 2.375, 0.5}, + {0.1875, 2.0625, 0.375, 0.3125, 2.25, 0.5}, + {0.25, 2, 0.375, 0.375, 2.125, 0.5}, + {0.3125, 1.875, 0.375, 0.4375, 2.0625, 0.5}, + {0.375, 1.75, 0.375, 0.5, 1.9375, 0.5}, + {0.4375, 1.625, 0.375, 0.5625, 1.8125, 0.5}, + {0.5, 1.5, 0.375, 0.625, 1.6875, 0.5}, + {0.5625, 1.375, 0.375, 0.6875, 1.5625, 0.5}, + {0.625, 1.3125, 0.375, 0.75, 1.4375, 0.5}, + {0.6875, 1.1875, 0.375, 0.8125, 1.375, 0.5}, + {0.75, 1.0625, 0.375, 0.875, 1.25, 0.5}, + {0.8125, 0.9375, 0.375, 0.9375, 1.125, 0.5}, + {0.875, 0.8125, 0.375, 1, 1, 0.5}, + {0.9375, 0.75, 0.375, 1.0625, 0.875, 0.5}, + {1, 0.625, 0.375, 1.125, 0.8125, 0.5}, + {1.0625, 0.5, 0.375, 1.1875, 0.6875, 0.5}, + {1.125, 0.375, 0.375, 1.25, 0.5625, 0.5}, + {1.1875, 0.25, 0.375, 1.3125, 0.4375, 0.5}, + {1.25, 0.125, 0.375, 1.375, 0.3125, 0.5}, + {1.3125, 0.0625, 0.375, 1.4375, 0.1875, 0.5}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 3.5, 0.5}, + }, + }, + collision_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 3.5, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + core.register_node("vlbridger:truss_superstructure_tall_simple_" .. bridge_color, { + description = bridge_desc .. " Tall Truss Superstructure Middle Simple", + drawtype = "nodebox", + tiles = {"bridges_" .. bridge_color .. ".png"}, + inventory_image = "bridges_" .. bridge_color .. + ".png^bridges_superstructure_tall_simple.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_color .. + ".png^bridges_superstructure_tall_simple.png^[makealpha:255,126,126", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 0.0625, 0.5}, + {-0.5, 3.375, 0.375, 1.5, 3.5, 0.5}, + {1.3125, 3.25, 0.375, 1.4375, 3.375, 0.5}, + {1.25, 3.125, 0.375, 1.375, 3.3125, 0.5}, + {1.1875, 3, 0.375, 1.3125, 3.1875, 0.5}, + {1.125, 2.875, 0.375, 1.25, 3.0625, 0.5}, + {1.0625, 2.75, 0.375, 1.1875, 2.9375, 0.5}, + {1, 2.625, 0.375, 1.125, 2.8125, 0.5}, + {0.9375, 2.5625, 0.375, 1.0625, 2.6875, 0.5}, + {0.875, 2.4375, 0.375, 1, 2.625, 0.5}, + {0.8125, 2.3125, 0.375, 0.9375, 2.5, 0.5}, + {0.75, 2.1875, 0.375, 0.875, 2.375, 0.5}, + {0.6875, 2.0625, 0.375, 0.8125, 2.25, 0.5}, + {0.625, 2, 0.375, 0.75, 2.125, 0.5}, + {0.5625, 1.875, 0.375, 0.6875, 2.0625, 0.5}, + {0.5, 1.75, 0.375, 0.625, 1.9375, 0.5}, + {0.4375, 1.625, 0.375, 0.5625, 1.8125, 0.5}, + {0.375, 1.5, 0.375, 0.5, 1.6875, 0.5}, + {0.3125, 1.375, 0.375, 0.4375, 1.5625, 0.5}, + {0.25, 1.3125, 0.375, 0.375, 1.4375, 0.5}, + {0.1875, 1.1875, 0.375, 0.3125, 1.375, 0.5}, + {0.125, 1.0625, 0.375, 0.25, 1.25, 0.5}, + {0.0625, 0.9375, 0.375, 0.1875, 1.125, 0.5}, + {0, 0.8125, 0.375, 0.125, 1, 0.5}, + {-0.0625, 0.75, 0.375, 0.0625, 0.875, 0.5}, + {-0.125, 0.625, 0.375, -3.35276e-008, 0.8125, 0.5}, + {-0.1875, 0.5, 0.375, -0.0625, 0.6875, 0.5}, + {-0.25, 0.375, 0.375, -0.125, 0.5625, 0.5}, + {-0.3125, 0.25, 0.375, -0.1875, 0.4375, 0.5}, + {-0.375, 0.125, 0.375, -0.25, 0.3125, 0.5}, + {-0.4375, 0.0625, 0.375, -0.3125, 0.1875, 0.5}, + {-0.4375, 3.25, 0.375, -0.3125, 3.375, 0.5}, + {-0.375, 3.125, 0.375, -0.25, 3.3125, 0.5}, + {-0.3125, 3, 0.375, -0.1875, 3.1875, 0.5}, + {-0.25, 2.875, 0.375, -0.125, 3.0625, 0.5}, + {-0.1875, 2.75, 0.375, -0.0625, 2.9375, 0.5}, + {-0.125, 2.625, 0.375, 1.11759e-008, 2.8125, 0.5}, + {-0.0625, 2.5625, 0.375, 0.0625, 2.6875, 0.5}, + {0, 2.4375, 0.375, 0.125, 2.625, 0.5}, + {0.0625, 2.3125, 0.375, 0.1875, 2.5, 0.5}, + {0.125, 2.1875, 0.375, 0.25, 2.375, 0.5}, + {0.1875, 2.0625, 0.375, 0.3125, 2.25, 0.5}, + {0.25, 2, 0.375, 0.375, 2.125, 0.5}, + {0.3125, 1.875, 0.375, 0.4375, 2.0625, 0.5}, + {0.375, 1.75, 0.375, 0.5, 1.9375, 0.5}, + {0.4375, 1.625, 0.375, 0.5625, 1.8125, 0.5}, + {0.5, 1.5, 0.375, 0.625, 1.6875, 0.5}, + {0.5625, 1.375, 0.375, 0.6875, 1.5625, 0.5}, + {0.625, 1.3125, 0.375, 0.75, 1.4375, 0.5}, + {0.6875, 1.1875, 0.375, 0.8125, 1.375, 0.5}, + {0.75, 1.0625, 0.375, 0.875, 1.25, 0.5}, + {0.8125, 0.9375, 0.375, 0.9375, 1.125, 0.5}, + {0.875, 0.8125, 0.375, 1, 1, 0.5}, + {0.9375, 0.75, 0.375, 1.0625, 0.875, 0.5}, + {1, 0.625, 0.375, 1.125, 0.8125, 0.5}, + {1.0625, 0.5, 0.375, 1.1875, 0.6875, 0.5}, + {1.125, 0.375, 0.375, 1.25, 0.5625, 0.5}, + {1.1875, 0.25, 0.375, 1.3125, 0.4375, 0.5}, + {1.25, 0.125, 0.375, 1.375, 0.3125, 0.5}, + {1.3125, 0.0625, 0.375, 1.4375, 0.1875, 0.5}, + + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 3.5, 0.5}, + }, + }, + collision_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 3.5, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + core.register_node("vlbridger:truss_superstructure_tall_simple_end_left_" .. bridge_color, { + description = bridge_desc .. " Tall Truss Superstructure Simple Left End", + drawtype = "nodebox", + tiles = {"bridges_" .. bridge_color .. ".png"}, + inventory_image = "bridges_" .. bridge_color .. + ".png^bridges_superstructure_tall_simple_end_left.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_color .. + ".png^bridges_superstructure_tall_simple_end_left.png^[makealpha:255,126,126", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {0.375, -0.5, 0.375, 0.5, 3.5, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + core.register_node("vlbridger:truss_superstructure_tall_simple_end_right_" .. bridge_color, { + description = bridge_desc .. " Tall Truss Superstructure Simple Right End", + drawtype = "nodebox", + tiles = {"bridges_" .. bridge_color .. ".png"}, + inventory_image = "bridges_" .. bridge_color .. + ".png^bridges_superstructure_tall_simple_end_right.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_color .. + ".png^bridges_superstructure_tall_simple_end_right.png^[makealpha:255,126,126", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, -0.375, 3.5, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + core.register_node("vlbridger:truss_superstructure_simple_" .. bridge_color, { + description = bridge_desc .. " Truss Superstructure Middle Simple", + drawtype = "nodebox", + tiles = {"bridges_" .. bridge_color .. ".png"}, + inventory_image = "bridges_" .. bridge_color .. + ".png^bridges_superstructure_simple.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_color .. + ".png^bridges_superstructure_simple.png^[makealpha:255,126,126", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 0.0625, 0.5}, + {-0.5, 2.375, 0.375, 1.5, 2.5, 0.5}, + {-0.4375, 2.25, 0.375, -0.3125, 2.375, 0.5}, + {-0.375, 2.1875, 0.375, -0.25, 2.3125, 0.5}, + {-0.3125, 2.0625, 0.375, -0.1875, 2.25, 0.5}, + {-0.25, 2, 0.375, -0.125, 2.125, 0.5}, + {-0.1875, 1.9375, 0.375, -0.0625, 2.0625, 0.5}, + {-0.125, 1.875, 0.375, 0, 2, 0.5}, + {-0.0625, 1.75, 0.375, 0.0625, 1.9375, 0.5}, + {0, 1.6875, 0.375, 0.125, 1.8125, 0.5}, + {0.0625, 1.625, 0.375, 0.1875, 1.75, 0.5}, + {0.125, 1.5625, 0.375, 0.25, 1.6875, 0.5}, + {0.1875, 1.4375, 0.375, 0.3125, 1.625, 0.5}, + {0.25, 1.375, 0.375, 0.375, 1.5, 0.5}, + {0.3125, 1.3125, 0.375, 0.4375, 1.4375, 0.5}, + {0.375, 1.25, 0.375, 0.5, 1.375, 0.5}, + {0.4375, 1.125, 0.375, 0.5625, 1.3125, 0.5}, + {0.5, 1.0625, 0.375, 0.625, 1.1875, 0.5}, + {0.5625, 1, 0.375, 0.6875, 1.125, 0.5}, + {0.625, 0.9375, 0.375, 0.75, 1.0625, 0.5}, + {0.6875, 0.8125, 0.375, 0.8125, 1, 0.5}, + {0.75, 0.75, 0.375, 0.875, 0.875, 0.5}, + {0.8125, 0.6875, 0.375, 0.9375, 0.8125, 0.5}, + {0.875, 0.625, 0.375, 1, 0.75, 0.5}, + {0.9375, 0.5, 0.375, 1.0625, 0.6875, 0.5}, + {1, 0.4375, 0.375, 1.125, 0.5625, 0.5}, + {1.0625, 0.375, 0.375, 1.1875, 0.5, 0.5}, + {1.125, 0.3125, 0.375, 1.25, 0.4375, 0.5}, + {1.1875, 0.1875, 0.375, 1.3125, 0.375, 0.5}, + {1.25, 0.125, 0.375, 1.375, 0.25, 0.5}, + {1.3125, 0.0625, 0.375, 1.4375, 0.1875, 0.5}, + {1.375, 0, 0.375, 1.5, 0.125, 0.5}, + {-0.4375, 2.3125, 0.375, -0.3125, 2.4375, 0.5}, + {1.3125, 2.25, 0.375, 1.4375, 2.375, 0.5}, + {1.25, 2.1875, 0.375, 1.375, 2.3125, 0.5}, + {1.1875, 2.0625, 0.375, 1.3125, 2.25, 0.5}, + {1.125, 2, 0.375, 1.25, 2.125, 0.5}, + {1.0625, 1.9375, 0.375, 1.1875, 2.0625, 0.5}, + {1, 1.875, 0.375, 1.125, 2, 0.5}, + {0.9375, 1.75, 0.375, 1.0625, 1.9375, 0.5}, + {0.875, 1.6875, 0.375, 1, 1.8125, 0.5}, + {0.8125, 1.625, 0.375, 0.9375, 1.75, 0.5}, + {0.75, 1.5625, 0.375, 0.875, 1.6875, 0.5}, + {0.6875, 1.4375, 0.375, 0.8125, 1.625, 0.5}, + {0.625, 1.375, 0.375, 0.75, 1.5, 0.5}, + {0.5625, 1.3125, 0.375, 0.6875, 1.4375, 0.5}, + {0.5, 1.25, 0.375, 0.625, 1.375, 0.5}, + {0.4375, 1.125, 0.375, 0.5625, 1.3125, 0.5}, + {0.375, 1.0625, 0.375, 0.5, 1.1875, 0.5}, + {0.3125, 1, 0.375, 0.4375, 1.125, 0.5}, + {0.25, 0.9375, 0.375, 0.375, 1.0625, 0.5}, + {0.1875, 0.8125, 0.375, 0.3125, 1, 0.5}, + {0.125, 0.75, 0.375, 0.25, 0.875, 0.5}, + {0.0625, 0.6875, 0.375, 0.1875, 0.8125, 0.5}, + {0, 0.625, 0.375, 0.125, 0.75, 0.5}, + {-0.0625, 0.5, 0.375, 0.0625, 0.6875, 0.5}, + {-0.125, 0.4375, 0.375, 0, 0.5625, 0.5}, + {-0.1875, 0.375, 0.375, -0.0625, 0.5, 0.5}, + {-0.25, 0.3125, 0.375, -0.125, 0.4375, 0.5}, + {-0.3125, 0.1875, 0.375, -0.1875, 0.375, 0.5}, + {-0.375, 0.125, 0.375, -0.25, 0.25, 0.5}, + {-0.4375, 0.0625, 0.375, -0.3125, 0.1875, 0.5}, + {-0.5, 0, 0.375, -0.375, 0.125, 0.5}, + {1.375, 2.3125, 0.375, 1.5, 2.4375, 0.5}, + {-0.5, 2.3125, 0.375, -0.375, 2.4375, 0.5}, + + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 2.5, 0.5}, + }, + }, + collision_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 2.5, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + core.register_node("vlbridger:truss_superstructure_simple_end_left_" .. bridge_color, { + description = bridge_desc .. " Truss Superstructure Simple Left End", + drawtype = "nodebox", + tiles = {"bridges_" .. bridge_color .. ".png"}, + inventory_image = "bridges_" .. bridge_color .. + ".png^bridges_superstructure_simple_end_left.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_color .. + ".png^bridges_superstructure_simple_end_left.png^[makealpha:255,126,126", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {0.375, -0.5, 0.375, 0.5, 2.5, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + core.register_node("vlbridger:truss_superstructure_simple_end_right_" .. bridge_color, { + description = bridge_desc .. " Truss Superstructure Simple Right End", + drawtype = "nodebox", + tiles = {"bridges_" .. bridge_color .. ".png"}, + inventory_image = "bridges_" .. bridge_color .. + ".png^bridges_superstructure_simple_end_right.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_color .. + ".png^bridges_superstructure_simple_end_right.png^[makealpha:255,126,126", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, -0.375, 2.5, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + core.register_node("vlbridger:truss_superstructure_up_right_slant_" .. bridge_color, { + description = bridge_desc .. " Truss Superstructure Up Right Slant", + drawtype = "nodebox", + tiles = {"bridges_" .. bridge_color .. ".png"}, + inventory_image = "bridges_" .. bridge_color .. + ".png^bridges_superstructure_up_right_slant.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_color .. + ".png^bridges_superstructure_up_right_slant.png^[makealpha:255,126,126", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 0.0625, 0.5}, + {1.375, 3.375, 0.375, 1.5, 3.5, 0.5}, + {-0.5, -0.5, 0.375, -0.4375, 2.5, 0.5}, + {1.4375, -0.5, 0.375, 1.5, 3.5, 0.5}, + {1.25, 3.3125, 0.375, 1.375, 3.4375, 0.5}, + {1.125, 3.25, 0.375, 1.25, 3.375, 0.5}, + {1, 3.1875, 0.375, 1.125, 3.3125, 0.5}, + {0.875, 3.125, 0.375, 1, 3.25, 0.5}, + {0.75, 3.0625, 0.375, 0.875, 3.1875, 0.5}, + {0.625, 3, 0.375, 0.75, 3.125, 0.5}, + {0.5, 2.9375, 0.375, 0.625, 3.0625, 0.5}, + {0.375, 2.875, 0.375, 0.5, 3, 0.5}, + {0.25, 2.8125, 0.375, 0.375, 2.9375, 0.5}, + {0.125, 2.75, 0.375, 0.25, 2.875, 0.5}, + {0, 2.6875, 0.375, 0.125, 2.8125, 0.5}, + {-0.125, 2.625, 0.375, -1.2666e-007, 2.75, 0.5}, + {-0.25, 2.5625, 0.375, -0.125, 2.6875, 0.5}, + {-0.375, 2.5, 0.375, -0.25, 2.625, 0.5}, + {-0.5, 2.4375, 0.375, -0.375, 2.5625, 0.5}, + {-0.4375, 2.25, 0.375, -0.3125, 2.375, 0.5}, + {-0.375, 2.1875, 0.375, -0.25, 2.3125, 0.5}, + {-0.3125, 2.0625, 0.375, -0.1875, 2.25, 0.5}, + {-0.25, 2, 0.375, -0.125, 2.125, 0.5}, + {-0.1875, 1.9375, 0.375, -0.0625, 2.0625, 0.5}, + {-0.125, 1.875, 0.375, 0, 2, 0.5}, + {-0.0625, 1.75, 0.375, 0.0625, 1.9375, 0.5}, + {0, 1.6875, 0.375, 0.125, 1.8125, 0.5}, + {0.0625, 1.625, 0.375, 0.1875, 1.75, 0.5}, + {0.125, 1.5625, 0.375, 0.25, 1.6875, 0.5}, + {0.1875, 1.4375, 0.375, 0.3125, 1.625, 0.5}, + {0.25, 1.375, 0.375, 0.375, 1.5, 0.5}, + {0.3125, 1.3125, 0.375, 0.4375, 1.4375, 0.5}, + {0.375, 1.25, 0.375, 0.5, 1.375, 0.5}, + {0.4375, 1.125, 0.375, 0.5625, 1.3125, 0.5}, + {0.5, 1.0625, 0.375, 0.625, 1.1875, 0.5}, + {0.5625, 1, 0.375, 0.6875, 1.125, 0.5}, + {0.625, 0.9375, 0.375, 0.75, 1.0625, 0.5}, + {0.6875, 0.8125, 0.375, 0.8125, 1, 0.5}, + {0.75, 0.75, 0.375, 0.875, 0.875, 0.5}, + {0.8125, 0.6875, 0.375, 0.9375, 0.8125, 0.5}, + {0.875, 0.625, 0.375, 1, 0.75, 0.5}, + {0.9375, 0.5, 0.375, 1.0625, 0.6875, 0.5}, + {1, 0.4375, 0.375, 1.125, 0.5625, 0.5}, + {1.0625, 0.375, 0.375, 1.1875, 0.5, 0.5}, + {1.125, 0.3125, 0.375, 1.25, 0.4375, 0.5}, + {1.1875, 0.1875, 0.375, 1.3125, 0.375, 0.5}, + {1.25, 0.125, 0.375, 1.375, 0.25, 0.5}, + {1.3125, 0.0625, 0.375, 1.4375, 0.1875, 0.5}, + {1.375, 0, 0.375, 1.5, 0.125, 0.5}, + {-0.4375, 2.3125, 0.375, -0.3125, 2.4375, 0.5}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 3.5, 0.5}, + }, + }, + collision_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 3.5, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + core.register_node("vlbridger:truss_superstructure_up_left_slant_" .. bridge_color, { + description = bridge_desc .. " Truss Superstructure Up Left Slant", + drawtype = "nodebox", + tiles = {"bridges_" .. bridge_color .. ".png"}, + inventory_image = "bridges_" .. bridge_color .. + ".png^bridges_superstructure_up_left_slant.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_color .. + ".png^bridges_superstructure_up_left_slant.png^[makealpha:255,126,126", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 0.0625, 0.5}, + {1.375, 3.375, 0.375, 1.5, 3.5, 0.5}, + {-0.5, -0.5, 0.375, -0.4375, 2.5, 0.5}, + {1.4375, -0.5, 0.375, 1.5, 3.5, 0.5}, + {1.25, 3.3125, 0.375, 1.375, 3.4375, 0.5}, + {1.125, 3.25, 0.375, 1.25, 3.375, 0.5}, + {1, 3.1875, 0.375, 1.125, 3.3125, 0.5}, + {0.875, 3.125, 0.375, 1, 3.25, 0.5}, + {0.75, 3.0625, 0.375, 0.875, 3.1875, 0.5}, + {0.625, 3, 0.375, 0.75, 3.125, 0.5}, + {0.5, 2.9375, 0.375, 0.625, 3.0625, 0.5}, + {0.375, 2.875, 0.375, 0.5, 3, 0.5}, + {0.25, 2.8125, 0.375, 0.375, 2.9375, 0.5}, + {0.125, 2.75, 0.375, 0.25, 2.875, 0.5}, + {0, 2.6875, 0.375, 0.125, 2.8125, 0.5}, + {-0.125, 2.625, 0.375, -1.2666e-007, 2.75, 0.5}, + {-0.25, 2.5625, 0.375, -0.125, 2.6875, 0.5}, + {-0.375, 2.5, 0.375, -0.25, 2.625, 0.5}, + {-0.5, 2.4375, 0.375, -0.375, 2.5625, 0.5}, + {1.3125, 3.25, 0.375, 1.4375, 3.375, 0.5}, + {1.25, 3.125, 0.375, 1.375, 3.3125, 0.5}, + {1.1875, 3, 0.375, 1.3125, 3.1875, 0.5}, + {1.125, 2.875, 0.375, 1.25, 3.0625, 0.5}, + {1.0625, 2.75, 0.375, 1.1875, 2.9375, 0.5}, + {1, 2.625, 0.375, 1.125, 2.8125, 0.5}, + {0.9375, 2.5625, 0.375, 1.0625, 2.6875, 0.5}, + {0.875, 2.4375, 0.375, 1, 2.625, 0.5}, + {0.8125, 2.3125, 0.375, 0.9375, 2.5, 0.5}, + {0.75, 2.1875, 0.375, 0.875, 2.375, 0.5}, + {0.6875, 2.0625, 0.375, 0.8125, 2.25, 0.5}, + {0.625, 2, 0.375, 0.75, 2.125, 0.5}, + {0.5625, 1.875, 0.375, 0.6875, 2.0625, 0.5}, + {0.5, 1.75, 0.375, 0.625, 1.9375, 0.5}, + {0.4375, 1.625, 0.375, 0.5625, 1.8125, 0.5}, + {0.375, 1.5, 0.375, 0.5, 1.6875, 0.5}, + {0.3125, 1.375, 0.375, 0.4375, 1.5625, 0.5}, + {0.25, 1.3125, 0.375, 0.375, 1.4375, 0.5}, + {0.1875, 1.1875, 0.375, 0.3125, 1.375, 0.5}, + {0.125, 1.0625, 0.375, 0.25, 1.25, 0.5}, + {0.0625, 0.9375, 0.375, 0.1875, 1.125, 0.5}, + {0, 0.8125, 0.375, 0.125, 1, 0.5}, + {-0.0625, 0.75, 0.375, 0.0625, 0.875, 0.5}, + {-0.125, 0.625, 0.375, -3.35276e-008, 0.8125, 0.5}, + {-0.1875, 0.5, 0.375, -0.0625, 0.6875, 0.5}, + {-0.25, 0.375, 0.375, -0.125, 0.5625, 0.5}, + {-0.3125, 0.25, 0.375, -0.1875, 0.4375, 0.5}, + {-0.375, 0.125, 0.375, -0.25, 0.3125, 0.5}, + {-0.4375, 0.0625, 0.375, -0.3125, 0.1875, 0.5}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 3.5, 0.5}, + }, + }, + collision_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 3.5, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + core.register_node("vlbridger:truss_superstructure_up_mid_" .. bridge_color, { + description = bridge_desc .. " Truss Superstructure Up Middle", + drawtype = "nodebox", + tiles = {"bridges_" .. bridge_color .. ".png"}, + inventory_image = "bridges_" .. bridge_color .. + ".png^bridges_superstructure_up_mid.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_color .. + ".png^bridges_superstructure_up_mid.png^[makealpha:255,126,126", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 0.0625, 0.5}, + {1.375, 3.375, 0.375, 1.5, 3.5, 0.5}, + {-0.5, -0.5, 0.375, -0.4375, 2.5, 0.5}, + {1.4375, -0.5, 0.375, 1.5, 3.5, 0.5}, + {1.25, 3.3125, 0.375, 1.375, 3.4375, 0.5}, + {1.125, 3.25, 0.375, 1.25, 3.375, 0.5}, + {1, 3.1875, 0.375, 1.125, 3.3125, 0.5}, + {0.875, 3.125, 0.375, 1, 3.25, 0.5}, + {0.75, 3.0625, 0.375, 0.875, 3.1875, 0.5}, + {0.625, 3, 0.375, 0.75, 3.125, 0.5}, + {0.5, 2.9375, 0.375, 0.625, 3.0625, 0.5}, + {0.375, 2.875, 0.375, 0.5, 3, 0.5}, + {0.25, 2.8125, 0.375, 0.375, 2.9375, 0.5}, + {0.125, 2.75, 0.375, 0.25, 2.875, 0.5}, + {0, 2.6875, 0.375, 0.125, 2.8125, 0.5}, + {-0.125, 2.625, 0.375, -1.2666e-007, 2.75, 0.5}, + {-0.25, 2.5625, 0.375, -0.125, 2.6875, 0.5}, + {-0.375, 2.5, 0.375, -0.25, 2.625, 0.5}, + {-0.5, 2.4375, 0.375, -0.375, 2.5625, 0.5}, + {1.3125, 3.25, 0.375, 1.4375, 3.375, 0.5}, + {1.25, 3.125, 0.375, 1.375, 3.3125, 0.5}, + {1.1875, 3, 0.375, 1.3125, 3.1875, 0.5}, + {1.125, 2.875, 0.375, 1.25, 3.0625, 0.5}, + {1.0625, 2.75, 0.375, 1.1875, 2.9375, 0.5}, + {1, 2.625, 0.375, 1.125, 2.8125, 0.5}, + {0.9375, 2.5625, 0.375, 1.0625, 2.6875, 0.5}, + {0.875, 2.4375, 0.375, 1, 2.625, 0.5}, + {0.8125, 2.3125, 0.375, 0.9375, 2.5, 0.5}, + {0.75, 2.1875, 0.375, 0.875, 2.375, 0.5}, + {0.6875, 2.0625, 0.375, 0.8125, 2.25, 0.5}, + {0.625, 2, 0.375, 0.75, 2.125, 0.5}, + {0.5625, 1.875, 0.375, 0.6875, 2.0625, 0.5}, + {0.5, 1.75, 0.375, 0.625, 1.9375, 0.5}, + {0.4375, 1.625, 0.375, 0.5625, 1.8125, 0.5}, + {0.375, 1.5, 0.375, 0.5, 1.6875, 0.5}, + {0.3125, 1.375, 0.375, 0.4375, 1.5625, 0.5}, + {0.25, 1.3125, 0.375, 0.375, 1.4375, 0.5}, + {0.1875, 1.1875, 0.375, 0.3125, 1.375, 0.5}, + {0.125, 1.0625, 0.375, 0.25, 1.25, 0.5}, + {0.0625, 0.9375, 0.375, 0.1875, 1.125, 0.5}, + {0, 0.8125, 0.375, 0.125, 1, 0.5}, + {-0.0625, 0.75, 0.375, 0.0625, 0.875, 0.5}, + {-0.125, 0.625, 0.375, -3.35276e-008, 0.8125, 0.5}, + {-0.1875, 0.5, 0.375, -0.0625, 0.6875, 0.5}, + {-0.25, 0.375, 0.375, -0.125, 0.5625, 0.5}, + {-0.3125, 0.25, 0.375, -0.1875, 0.4375, 0.5}, + {-0.375, 0.125, 0.375, -0.25, 0.3125, 0.5}, + {-0.4375, 0.0625, 0.375, -0.3125, 0.1875, 0.5}, + {-0.4375, 2.25, 0.375, -0.3125, 2.375, 0.5}, + {-0.375, 2.1875, 0.375, -0.25, 2.3125, 0.5}, + {-0.3125, 2.0625, 0.375, -0.1875, 2.25, 0.5}, + {-0.25, 2, 0.375, -0.125, 2.125, 0.5}, + {-0.1875, 1.9375, 0.375, -0.0625, 2.0625, 0.5}, + {-0.125, 1.875, 0.375, 0, 2, 0.5}, + {-0.0625, 1.75, 0.375, 0.0625, 1.9375, 0.5}, + {0, 1.6875, 0.375, 0.125, 1.8125, 0.5}, + {0.0625, 1.625, 0.375, 0.1875, 1.75, 0.5}, + {0.125, 1.5625, 0.375, 0.25, 1.6875, 0.5}, + {0.1875, 1.4375, 0.375, 0.3125, 1.625, 0.5}, + {0.25, 1.375, 0.375, 0.375, 1.5, 0.5}, + {0.3125, 1.3125, 0.375, 0.4375, 1.4375, 0.5}, + {0.375, 1.25, 0.375, 0.5, 1.375, 0.5}, + {0.4375, 1.125, 0.375, 0.5625, 1.3125, 0.5}, + {0.5, 1.0625, 0.375, 0.625, 1.1875, 0.5}, + {0.5625, 1, 0.375, 0.6875, 1.125, 0.5}, + {0.625, 0.9375, 0.375, 0.75, 1.0625, 0.5}, + {0.6875, 0.8125, 0.375, 0.8125, 1, 0.5}, + {0.75, 0.75, 0.375, 0.875, 0.875, 0.5}, + {0.8125, 0.6875, 0.375, 0.9375, 0.8125, 0.5}, + {0.875, 0.625, 0.375, 1, 0.75, 0.5}, + {0.9375, 0.5, 0.375, 1.0625, 0.6875, 0.5}, + {1, 0.4375, 0.375, 1.125, 0.5625, 0.5}, + {1.0625, 0.375, 0.375, 1.1875, 0.5, 0.5}, + {1.125, 0.3125, 0.375, 1.25, 0.4375, 0.5}, + {1.1875, 0.1875, 0.375, 1.3125, 0.375, 0.5}, + {1.25, 0.125, 0.375, 1.375, 0.25, 0.5}, + {1.3125, 0.0625, 0.375, 1.4375, 0.1875, 0.5}, + {1.375, 0, 0.375, 1.5, 0.125, 0.5}, + {-0.4375, 2.3125, 0.375, -0.3125, 2.4375, 0.5}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 3.5, 0.5}, + }, + }, + collision_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 3.5, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + core.register_node("vlbridger:truss_superstructure_up_simple_" .. bridge_color, { + description = bridge_desc .. " Truss Superstructure Up Simple", + drawtype = "nodebox", + tiles = {"bridges_" .. bridge_color .. ".png"}, + inventory_image = "bridges_" .. bridge_color .. + ".png^bridges_superstructure_up_simple.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_color .. + ".png^bridges_superstructure_up_simple.png^[makealpha:255,126,126", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 0.0625, 0.5}, + {1.375, 3.375, 0.375, 1.5, 3.5, 0.5}, + {1.25, 3.3125, 0.375, 1.375, 3.4375, 0.5}, + {1.125, 3.25, 0.375, 1.25, 3.375, 0.5}, + {1, 3.1875, 0.375, 1.125, 3.3125, 0.5}, + {0.875, 3.125, 0.375, 1, 3.25, 0.5}, + {0.75, 3.0625, 0.375, 0.875, 3.1875, 0.5}, + {0.625, 3, 0.375, 0.75, 3.125, 0.5}, + {0.5, 2.9375, 0.375, 0.625, 3.0625, 0.5}, + {0.375, 2.875, 0.375, 0.5, 3, 0.5}, + {0.25, 2.8125, 0.375, 0.375, 2.9375, 0.5}, + {0.125, 2.75, 0.375, 0.25, 2.875, 0.5}, + {0, 2.6875, 0.375, 0.125, 2.8125, 0.5}, + {-0.125, 2.625, 0.375, -1.2666e-007, 2.75, 0.5}, + {-0.25, 2.5625, 0.375, -0.125, 2.6875, 0.5}, + {-0.375, 2.5, 0.375, -0.25, 2.625, 0.5}, + {-0.5, 2.4375, 0.375, -0.375, 2.5625, 0.5}, + {1.3125, 3.25, 0.375, 1.4375, 3.375, 0.5}, + {1.25, 3.125, 0.375, 1.375, 3.3125, 0.5}, + {1.1875, 3, 0.375, 1.3125, 3.1875, 0.5}, + {1.125, 2.875, 0.375, 1.25, 3.0625, 0.5}, + {1.0625, 2.75, 0.375, 1.1875, 2.9375, 0.5}, + {1, 2.625, 0.375, 1.125, 2.8125, 0.5}, + {0.9375, 2.5625, 0.375, 1.0625, 2.6875, 0.5}, + {0.875, 2.4375, 0.375, 1, 2.625, 0.5}, + {0.8125, 2.3125, 0.375, 0.9375, 2.5, 0.5}, + {0.75, 2.1875, 0.375, 0.875, 2.375, 0.5}, + {0.6875, 2.0625, 0.375, 0.8125, 2.25, 0.5}, + {0.625, 2, 0.375, 0.75, 2.125, 0.5}, + {0.5625, 1.875, 0.375, 0.6875, 2.0625, 0.5}, + {0.5, 1.75, 0.375, 0.625, 1.9375, 0.5}, + {0.4375, 1.625, 0.375, 0.5625, 1.8125, 0.5}, + {0.375, 1.5, 0.375, 0.5, 1.6875, 0.5}, + {0.3125, 1.375, 0.375, 0.4375, 1.5625, 0.5}, + {0.25, 1.3125, 0.375, 0.375, 1.4375, 0.5}, + {0.1875, 1.1875, 0.375, 0.3125, 1.375, 0.5}, + {0.125, 1.0625, 0.375, 0.25, 1.25, 0.5}, + {0.0625, 0.9375, 0.375, 0.1875, 1.125, 0.5}, + {0, 0.8125, 0.375, 0.125, 1, 0.5}, + {-0.0625, 0.75, 0.375, 0.0625, 0.875, 0.5}, + {-0.125, 0.625, 0.375, -3.35276e-008, 0.8125, 0.5}, + {-0.1875, 0.5, 0.375, -0.0625, 0.6875, 0.5}, + {-0.25, 0.375, 0.375, -0.125, 0.5625, 0.5}, + {-0.3125, 0.25, 0.375, -0.1875, 0.4375, 0.5}, + {-0.375, 0.125, 0.375, -0.25, 0.3125, 0.5}, + {-0.4375, 0.0625, 0.375, -0.3125, 0.1875, 0.5}, + {-0.4375, 2.25, 0.375, -0.3125, 2.375, 0.5}, + {-0.375, 2.1875, 0.375, -0.25, 2.3125, 0.5}, + {-0.3125, 2.0625, 0.375, -0.1875, 2.25, 0.5}, + {-0.25, 2, 0.375, -0.125, 2.125, 0.5}, + {-0.1875, 1.9375, 0.375, -0.0625, 2.0625, 0.5}, + {-0.125, 1.875, 0.375, 0, 2, 0.5}, + {-0.0625, 1.75, 0.375, 0.0625, 1.9375, 0.5}, + {0, 1.6875, 0.375, 0.125, 1.8125, 0.5}, + {0.0625, 1.625, 0.375, 0.1875, 1.75, 0.5}, + {0.125, 1.5625, 0.375, 0.25, 1.6875, 0.5}, + {0.1875, 1.4375, 0.375, 0.3125, 1.625, 0.5}, + {0.25, 1.375, 0.375, 0.375, 1.5, 0.5}, + {0.3125, 1.3125, 0.375, 0.4375, 1.4375, 0.5}, + {0.375, 1.25, 0.375, 0.5, 1.375, 0.5}, + {0.4375, 1.125, 0.375, 0.5625, 1.3125, 0.5}, + {0.5, 1.0625, 0.375, 0.625, 1.1875, 0.5}, + {0.5625, 1, 0.375, 0.6875, 1.125, 0.5}, + {0.625, 0.9375, 0.375, 0.75, 1.0625, 0.5}, + {0.6875, 0.8125, 0.375, 0.8125, 1, 0.5}, + {0.75, 0.75, 0.375, 0.875, 0.875, 0.5}, + {0.8125, 0.6875, 0.375, 0.9375, 0.8125, 0.5}, + {0.875, 0.625, 0.375, 1, 0.75, 0.5}, + {0.9375, 0.5, 0.375, 1.0625, 0.6875, 0.5}, + {1, 0.4375, 0.375, 1.125, 0.5625, 0.5}, + {1.0625, 0.375, 0.375, 1.1875, 0.5, 0.5}, + {1.125, 0.3125, 0.375, 1.25, 0.4375, 0.5}, + {1.1875, 0.1875, 0.375, 1.3125, 0.375, 0.5}, + {1.25, 0.125, 0.375, 1.375, 0.25, 0.5}, + {1.3125, 0.0625, 0.375, 1.4375, 0.1875, 0.5}, + {1.375, 0, 0.375, 1.5, 0.125, 0.5}, + {-0.4375, 2.3125, 0.375, -0.3125, 2.4375, 0.5}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 3.5, 0.5}, + }, + }, + collision_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 3.5, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + core.register_node("vlbridger:truss_superstructure_down_right_slant_" .. bridge_color, { + description = bridge_desc .. " Truss Superstructure Down Right Slant", + drawtype = "nodebox", + tiles = {"bridges_" .. bridge_color .. ".png"}, + inventory_image = "bridges_" .. bridge_color .. + ".png^bridges_superstructure_down_right_slant.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_color .. + ".png^bridges_superstructure_down_right_slant.png^[makealpha:255,126,126", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 0.0625, 0.5}, + {1.375, 2.4375, 0.375, 1.5, 2.5625, 0.5}, + {-0.5, -0.5, 0.375, -0.4375, 3.5, 0.5}, + {1.4375, -0.5, 0.375, 1.5, 2.5, 0.5}, + {1.25, 2.5, 0.375, 1.375, 2.625, 0.5}, + {1.125, 2.5625, 0.375, 1.25, 2.6875, 0.5}, + {1, 2.625, 0.375, 1.125, 2.75, 0.5}, + {0.875, 2.6875, 0.375, 1, 2.8125, 0.5}, + {0.75, 2.75, 0.375, 0.875, 2.875, 0.5}, + {0.625, 2.8125, 0.375, 0.75, 2.9375, 0.5}, + {0.5, 2.875, 0.375, 0.625, 3, 0.5}, + {0.375, 2.9375, 0.375, 0.5, 3.0625, 0.5}, + {0.25, 3, 0.375, 0.375, 3.125, 0.5}, + {0.125, 3.0625, 0.375, 0.25, 3.1875, 0.5}, + {0, 3.125, 0.375, 0.125, 3.25, 0.5}, + {-0.125, 3.1875, 0.375, -1.2666e-007, 3.3125, 0.5}, + {-0.25, 3.25, 0.375, -0.125, 3.375, 0.5}, + {-0.375, 3.3125, 0.375, -0.25, 3.4375, 0.5}, + {-0.5, 3.375, 0.375, -0.375, 3.5, 0.5}, + {-0.4375, 3.25, 0.375, -0.3125, 3.375, 0.5}, + {-0.375, 3.125, 0.375, -0.25, 3.3125, 0.5}, + {-0.3125, 3, 0.375, -0.1875, 3.1875, 0.5}, + {-0.25, 2.875, 0.375, -0.125, 3.0625, 0.5}, + {-0.1875, 2.75, 0.375, -0.0625, 2.9375, 0.5}, + {-0.125, 2.625, 0.375, 1.11759e-008, 2.8125, 0.5}, + {-0.0625, 2.5625, 0.375, 0.0625, 2.6875, 0.5}, + {0, 2.4375, 0.375, 0.125, 2.625, 0.5}, + {0.0625, 2.3125, 0.375, 0.1875, 2.5, 0.5}, + {0.125, 2.1875, 0.375, 0.25, 2.375, 0.5}, + {0.1875, 2.0625, 0.375, 0.3125, 2.25, 0.5}, + {0.25, 2, 0.375, 0.375, 2.125, 0.5}, + {0.3125, 1.875, 0.375, 0.4375, 2.0625, 0.5}, + {0.375, 1.75, 0.375, 0.5, 1.9375, 0.5}, + {0.4375, 1.625, 0.375, 0.5625, 1.8125, 0.5}, + {0.5, 1.5, 0.375, 0.625, 1.6875, 0.5}, + {0.5625, 1.375, 0.375, 0.6875, 1.5625, 0.5}, + {0.625, 1.3125, 0.375, 0.75, 1.4375, 0.5}, + {0.6875, 1.1875, 0.375, 0.8125, 1.375, 0.5}, + {0.75, 1.0625, 0.375, 0.875, 1.25, 0.5}, + {0.8125, 0.9375, 0.375, 0.9375, 1.125, 0.5}, + {0.875, 0.8125, 0.375, 1, 1, 0.5}, + {0.9375, 0.75, 0.375, 1.0625, 0.875, 0.5}, + {1, 0.625, 0.375, 1.125, 0.8125, 0.5}, + {1.0625, 0.5, 0.375, 1.1875, 0.6875, 0.5}, + {1.125, 0.375, 0.375, 1.25, 0.5625, 0.5}, + {1.1875, 0.25, 0.375, 1.3125, 0.4375, 0.5}, + {1.25, 0.125, 0.375, 1.375, 0.3125, 0.5}, + {1.3125, 0.0625, 0.375, 1.4375, 0.1875, 0.5}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 3.5, 0.5}, + }, + }, + collision_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 3.5, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + core.register_node("vlbridger:truss_superstructure_down_left_slant_" .. bridge_color, { + description = bridge_desc .. " Truss Superstructure Down Left Slant", + drawtype = "nodebox", + tiles = {"bridges_" .. bridge_color .. ".png"}, + inventory_image = "bridges_" .. bridge_color .. + ".png^bridges_superstructure_down_left_slant.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_color .. + ".png^bridges_superstructure_down_left_slant.png^[makealpha:255,126,126", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 0.0625, 0.5}, + {1.375, 2.4375, 0.375, 1.5, 2.5625, 0.5}, + {-0.5, -0.5, 0.375, -0.4375, 3.5, 0.5}, + {1.4375, -0.5, 0.375, 1.5, 2.5, 0.5}, + {1.25, 2.5, 0.375, 1.375, 2.625, 0.5}, + {1.125, 2.5625, 0.375, 1.25, 2.6875, 0.5}, + {1, 2.625, 0.375, 1.125, 2.75, 0.5}, + {0.875, 2.6875, 0.375, 1, 2.8125, 0.5}, + {0.75, 2.75, 0.375, 0.875, 2.875, 0.5}, + {0.625, 2.8125, 0.375, 0.75, 2.9375, 0.5}, + {0.5, 2.875, 0.375, 0.625, 3, 0.5}, + {0.375, 2.9375, 0.375, 0.5, 3.0625, 0.5}, + {0.25, 3, 0.375, 0.375, 3.125, 0.5}, + {0.125, 3.0625, 0.375, 0.25, 3.1875, 0.5}, + {0, 3.125, 0.375, 0.125, 3.25, 0.5}, + {-0.125, 3.1875, 0.375, -1.2666e-007, 3.3125, 0.5}, + {-0.25, 3.25, 0.375, -0.125, 3.375, 0.5}, + {-0.375, 3.3125, 0.375, -0.25, 3.4375, 0.5}, + {-0.5, 3.375, 0.375, -0.375, 3.5, 0.5}, + {1.3125, 2.25, 0.375, 1.4375, 2.375, 0.5}, + {1.25, 2.1875, 0.375, 1.375, 2.3125, 0.5}, + {1.1875, 2.0625, 0.375, 1.3125, 2.25, 0.5}, + {1.125, 2, 0.375, 1.25, 2.125, 0.5}, + {1.0625, 1.9375, 0.375, 1.1875, 2.0625, 0.5}, + {1, 1.875, 0.375, 1.125, 2, 0.5}, + {0.9375, 1.75, 0.375, 1.0625, 1.9375, 0.5}, + {0.875, 1.6875, 0.375, 1, 1.8125, 0.5}, + {0.8125, 1.625, 0.375, 0.9375, 1.75, 0.5}, + {0.75, 1.5625, 0.375, 0.875, 1.6875, 0.5}, + {0.6875, 1.4375, 0.375, 0.8125, 1.625, 0.5}, + {0.625, 1.375, 0.375, 0.75, 1.5, 0.5}, + {0.5625, 1.3125, 0.375, 0.6875, 1.4375, 0.5}, + {0.5, 1.25, 0.375, 0.625, 1.375, 0.5}, + {0.4375, 1.125, 0.375, 0.5625, 1.3125, 0.5}, + {0.375, 1.0625, 0.375, 0.5, 1.1875, 0.5}, + {0.3125, 1, 0.375, 0.4375, 1.125, 0.5}, + {0.25, 0.9375, 0.375, 0.375, 1.0625, 0.5}, + {0.1875, 0.8125, 0.375, 0.3125, 1, 0.5}, + {0.125, 0.75, 0.375, 0.25, 0.875, 0.5}, + {0.0625, 0.6875, 0.375, 0.1875, 0.8125, 0.5}, + {0, 0.625, 0.375, 0.125, 0.75, 0.5}, + {-0.0625, 0.5, 0.375, 0.0625, 0.6875, 0.5}, + {-0.125, 0.4375, 0.375, 0, 0.5625, 0.5}, + {-0.1875, 0.375, 0.375, -0.0625, 0.5, 0.5}, + {-0.25, 0.3125, 0.375, -0.125, 0.4375, 0.5}, + {-0.3125, 0.1875, 0.375, -0.1875, 0.375, 0.5}, + {-0.375, 0.125, 0.375, -0.25, 0.25, 0.5}, + {-0.4375, 0.0625, 0.375, -0.3125, 0.1875, 0.5}, + {-0.5, 0, 0.375, -0.375, 0.125, 0.5}, + {1.375, 2.3125, 0.375, 1.5, 2.4375, 0.5}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 3.5, 0.5}, + }, + }, + collision_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 3.5, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + core.register_node("vlbridger:truss_superstructure_down_mid_" .. bridge_color, { + description = bridge_desc .. " Truss Superstructure Down Middle", + drawtype = "nodebox", + tiles = {"bridges_" .. bridge_color .. ".png"}, + inventory_image = "bridges_" .. bridge_color .. + ".png^bridges_superstructure_down_mid.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_color .. + ".png^bridges_superstructure_down_mid.png^[makealpha:255,126,126", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 0.0625, 0.5}, + {1.375, 2.4375, 0.375, 1.5, 2.5625, 0.5}, + {-0.5, -0.5, 0.375, -0.4375, 3.5, 0.5}, + {1.4375, -0.5, 0.375, 1.5, 2.5, 0.5}, + {1.25, 2.5, 0.375, 1.375, 2.625, 0.5}, + {1.125, 2.5625, 0.375, 1.25, 2.6875, 0.5}, + {1, 2.625, 0.375, 1.125, 2.75, 0.5}, + {0.875, 2.6875, 0.375, 1, 2.8125, 0.5}, + {0.75, 2.75, 0.375, 0.875, 2.875, 0.5}, + {0.625, 2.8125, 0.375, 0.75, 2.9375, 0.5}, + {0.5, 2.875, 0.375, 0.625, 3, 0.5}, + {0.375, 2.9375, 0.375, 0.5, 3.0625, 0.5}, + {0.25, 3, 0.375, 0.375, 3.125, 0.5}, + {0.125, 3.0625, 0.375, 0.25, 3.1875, 0.5}, + {0, 3.125, 0.375, 0.125, 3.25, 0.5}, + {-0.125, 3.1875, 0.375, -1.2666e-007, 3.3125, 0.5}, + {-0.25, 3.25, 0.375, -0.125, 3.375, 0.5}, + {-0.375, 3.3125, 0.375, -0.25, 3.4375, 0.5}, + {-0.5, 3.375, 0.375, -0.375, 3.5, 0.5}, + {1.3125, 2.25, 0.375, 1.4375, 2.375, 0.5}, + {1.25, 2.1875, 0.375, 1.375, 2.3125, 0.5}, + {1.1875, 2.0625, 0.375, 1.3125, 2.25, 0.5}, + {1.125, 2, 0.375, 1.25, 2.125, 0.5}, + {1.0625, 1.9375, 0.375, 1.1875, 2.0625, 0.5}, + {1, 1.875, 0.375, 1.125, 2, 0.5}, + {0.9375, 1.75, 0.375, 1.0625, 1.9375, 0.5}, + {0.875, 1.6875, 0.375, 1, 1.8125, 0.5}, + {0.8125, 1.625, 0.375, 0.9375, 1.75, 0.5}, + {0.75, 1.5625, 0.375, 0.875, 1.6875, 0.5}, + {0.6875, 1.4375, 0.375, 0.8125, 1.625, 0.5}, + {0.625, 1.375, 0.375, 0.75, 1.5, 0.5}, + {0.5625, 1.3125, 0.375, 0.6875, 1.4375, 0.5}, + {0.5, 1.25, 0.375, 0.625, 1.375, 0.5}, + {0.4375, 1.125, 0.375, 0.5625, 1.3125, 0.5}, + {0.375, 1.0625, 0.375, 0.5, 1.1875, 0.5}, + {0.3125, 1, 0.375, 0.4375, 1.125, 0.5}, + {0.25, 0.9375, 0.375, 0.375, 1.0625, 0.5}, + {0.1875, 0.8125, 0.375, 0.3125, 1, 0.5}, + {0.125, 0.75, 0.375, 0.25, 0.875, 0.5}, + {0.0625, 0.6875, 0.375, 0.1875, 0.8125, 0.5}, + {0, 0.625, 0.375, 0.125, 0.75, 0.5}, + {-0.0625, 0.5, 0.375, 0.0625, 0.6875, 0.5}, + {-0.125, 0.4375, 0.375, 0, 0.5625, 0.5}, + {-0.1875, 0.375, 0.375, -0.0625, 0.5, 0.5}, + {-0.25, 0.3125, 0.375, -0.125, 0.4375, 0.5}, + {-0.3125, 0.1875, 0.375, -0.1875, 0.375, 0.5}, + {-0.375, 0.125, 0.375, -0.25, 0.25, 0.5}, + {-0.4375, 0.0625, 0.375, -0.3125, 0.1875, 0.5}, + {-0.5, 0, 0.375, -0.375, 0.125, 0.5}, + {1.375, 2.3125, 0.375, 1.5, 2.4375, 0.5}, + {-0.4375, 3.25, 0.375, -0.3125, 3.375, 0.5}, + {-0.375, 3.125, 0.375, -0.25, 3.3125, 0.5}, + {-0.3125, 3, 0.375, -0.1875, 3.1875, 0.5}, + {-0.25, 2.875, 0.375, -0.125, 3.0625, 0.5}, + {-0.1875, 2.75, 0.375, -0.0625, 2.9375, 0.5}, + {-0.125, 2.625, 0.375, 1.11759e-008, 2.8125, 0.5}, + {-0.0625, 2.5625, 0.375, 0.0625, 2.6875, 0.5}, + {0, 2.4375, 0.375, 0.125, 2.625, 0.5}, + {0.0625, 2.3125, 0.375, 0.1875, 2.5, 0.5}, + {0.125, 2.1875, 0.375, 0.25, 2.375, 0.5}, + {0.1875, 2.0625, 0.375, 0.3125, 2.25, 0.5}, + {0.25, 2, 0.375, 0.375, 2.125, 0.5}, + {0.3125, 1.875, 0.375, 0.4375, 2.0625, 0.5}, + {0.375, 1.75, 0.375, 0.5, 1.9375, 0.5}, + {0.4375, 1.625, 0.375, 0.5625, 1.8125, 0.5}, + {0.5, 1.5, 0.375, 0.625, 1.6875, 0.5}, + {0.5625, 1.375, 0.375, 0.6875, 1.5625, 0.5}, + {0.625, 1.3125, 0.375, 0.75, 1.4375, 0.5}, + {0.6875, 1.1875, 0.375, 0.8125, 1.375, 0.5}, + {0.75, 1.0625, 0.375, 0.875, 1.25, 0.5}, + {0.8125, 0.9375, 0.375, 0.9375, 1.125, 0.5}, + {0.875, 0.8125, 0.375, 1, 1, 0.5}, + {0.9375, 0.75, 0.375, 1.0625, 0.875, 0.5}, + {1, 0.625, 0.375, 1.125, 0.8125, 0.5}, + {1.0625, 0.5, 0.375, 1.1875, 0.6875, 0.5}, + {1.125, 0.375, 0.375, 1.25, 0.5625, 0.5}, + {1.1875, 0.25, 0.375, 1.3125, 0.4375, 0.5}, + {1.25, 0.125, 0.375, 1.375, 0.3125, 0.5}, + {1.3125, 0.0625, 0.375, 1.4375, 0.1875, 0.5}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 3.5, 0.5}, + }, + }, + collision_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 3.5, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + core.register_node("vlbridger:truss_superstructure_down_simple_" .. bridge_color, { + description = bridge_desc .. " Truss Superstructure Down Simple", + drawtype = "nodebox", + tiles = {"bridges_" .. bridge_color .. ".png"}, + inventory_image = "bridges_" .. bridge_color .. + ".png^bridges_superstructure_down_simple.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_color .. + ".png^bridges_superstructure_down_simple.png^[makealpha:255,126,126", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 0.0625, 0.5}, + {1.375, 2.4375, 0.375, 1.5, 2.5625, 0.5}, + {1.25, 2.5, 0.375, 1.375, 2.625, 0.5}, + {1.125, 2.5625, 0.375, 1.25, 2.6875, 0.5}, + {1, 2.625, 0.375, 1.125, 2.75, 0.5}, + {0.875, 2.6875, 0.375, 1, 2.8125, 0.5}, + {0.75, 2.75, 0.375, 0.875, 2.875, 0.5}, + {0.625, 2.8125, 0.375, 0.75, 2.9375, 0.5}, + {0.5, 2.875, 0.375, 0.625, 3, 0.5}, + {0.375, 2.9375, 0.375, 0.5, 3.0625, 0.5}, + {0.25, 3, 0.375, 0.375, 3.125, 0.5}, + {0.125, 3.0625, 0.375, 0.25, 3.1875, 0.5}, + {0, 3.125, 0.375, 0.125, 3.25, 0.5}, + {-0.125, 3.1875, 0.375, -1.2666e-007, 3.3125, 0.5}, + {-0.25, 3.25, 0.375, -0.125, 3.375, 0.5}, + {-0.375, 3.3125, 0.375, -0.25, 3.4375, 0.5}, + {-0.5, 3.375, 0.375, -0.375, 3.5, 0.5}, + {1.3125, 2.25, 0.375, 1.4375, 2.375, 0.5}, + {1.25, 2.1875, 0.375, 1.375, 2.3125, 0.5}, + {1.1875, 2.0625, 0.375, 1.3125, 2.25, 0.5}, + {1.125, 2, 0.375, 1.25, 2.125, 0.5}, + {1.0625, 1.9375, 0.375, 1.1875, 2.0625, 0.5}, + {1, 1.875, 0.375, 1.125, 2, 0.5}, + {0.9375, 1.75, 0.375, 1.0625, 1.9375, 0.5}, + {0.875, 1.6875, 0.375, 1, 1.8125, 0.5}, + {0.8125, 1.625, 0.375, 0.9375, 1.75, 0.5}, + {0.75, 1.5625, 0.375, 0.875, 1.6875, 0.5}, + {0.6875, 1.4375, 0.375, 0.8125, 1.625, 0.5}, + {0.625, 1.375, 0.375, 0.75, 1.5, 0.5}, + {0.5625, 1.3125, 0.375, 0.6875, 1.4375, 0.5}, + {0.5, 1.25, 0.375, 0.625, 1.375, 0.5}, + {0.4375, 1.125, 0.375, 0.5625, 1.3125, 0.5}, + {0.375, 1.0625, 0.375, 0.5, 1.1875, 0.5}, + {0.3125, 1, 0.375, 0.4375, 1.125, 0.5}, + {0.25, 0.9375, 0.375, 0.375, 1.0625, 0.5}, + {0.1875, 0.8125, 0.375, 0.3125, 1, 0.5}, + {0.125, 0.75, 0.375, 0.25, 0.875, 0.5}, + {0.0625, 0.6875, 0.375, 0.1875, 0.8125, 0.5}, + {0, 0.625, 0.375, 0.125, 0.75, 0.5}, + {-0.0625, 0.5, 0.375, 0.0625, 0.6875, 0.5}, + {-0.125, 0.4375, 0.375, 0, 0.5625, 0.5}, + {-0.1875, 0.375, 0.375, -0.0625, 0.5, 0.5}, + {-0.25, 0.3125, 0.375, -0.125, 0.4375, 0.5}, + {-0.3125, 0.1875, 0.375, -0.1875, 0.375, 0.5}, + {-0.375, 0.125, 0.375, -0.25, 0.25, 0.5}, + {-0.4375, 0.0625, 0.375, -0.3125, 0.1875, 0.5}, + {-0.5, 0, 0.375, -0.375, 0.125, 0.5}, + {1.375, 2.3125, 0.375, 1.5, 2.4375, 0.5}, + {-0.4375, 3.25, 0.375, -0.3125, 3.375, 0.5}, + {-0.375, 3.125, 0.375, -0.25, 3.3125, 0.5}, + {-0.3125, 3, 0.375, -0.1875, 3.1875, 0.5}, + {-0.25, 2.875, 0.375, -0.125, 3.0625, 0.5}, + {-0.1875, 2.75, 0.375, -0.0625, 2.9375, 0.5}, + {-0.125, 2.625, 0.375, 1.11759e-008, 2.8125, 0.5}, + {-0.0625, 2.5625, 0.375, 0.0625, 2.6875, 0.5}, + {0, 2.4375, 0.375, 0.125, 2.625, 0.5}, + {0.0625, 2.3125, 0.375, 0.1875, 2.5, 0.5}, + {0.125, 2.1875, 0.375, 0.25, 2.375, 0.5}, + {0.1875, 2.0625, 0.375, 0.3125, 2.25, 0.5}, + {0.25, 2, 0.375, 0.375, 2.125, 0.5}, + {0.3125, 1.875, 0.375, 0.4375, 2.0625, 0.5}, + {0.375, 1.75, 0.375, 0.5, 1.9375, 0.5}, + {0.4375, 1.625, 0.375, 0.5625, 1.8125, 0.5}, + {0.5, 1.5, 0.375, 0.625, 1.6875, 0.5}, + {0.5625, 1.375, 0.375, 0.6875, 1.5625, 0.5}, + {0.625, 1.3125, 0.375, 0.75, 1.4375, 0.5}, + {0.6875, 1.1875, 0.375, 0.8125, 1.375, 0.5}, + {0.75, 1.0625, 0.375, 0.875, 1.25, 0.5}, + {0.8125, 0.9375, 0.375, 0.9375, 1.125, 0.5}, + {0.875, 0.8125, 0.375, 1, 1, 0.5}, + {0.9375, 0.75, 0.375, 1.0625, 0.875, 0.5}, + {1, 0.625, 0.375, 1.125, 0.8125, 0.5}, + {1.0625, 0.5, 0.375, 1.1875, 0.6875, 0.5}, + {1.125, 0.375, 0.375, 1.25, 0.5625, 0.5}, + {1.1875, 0.25, 0.375, 1.3125, 0.4375, 0.5}, + {1.25, 0.125, 0.375, 1.375, 0.3125, 0.5}, + {1.3125, 0.0625, 0.375, 1.4375, 0.1875, 0.5}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 3.5, 0.5}, + }, + }, + collision_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 3.5, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + core.register_node("vlbridger:truss_substructure_end_right_slant_" .. bridge_color, { + description = bridge_desc .. " Truss Substructure End Right Slant", + drawtype = "nodebox", + tiles = {"bridges_" .. bridge_color .. ".png"}, + inventory_image = "bridges_" .. bridge_color .. + ".png^bridges_substructure_end_right_slant.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_color .. + ".png^bridges_substructure_end_right_slant.png^[makealpha:255,126,126", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, 1.375, 0.375, 1.5, 1.5, 0.5}, + {-0.4375, 1.3125, 0.375, -0.3125, 1.4375, 0.5}, + {-0.375, 1.25, 0.375, -0.25, 1.375, 0.5}, + {-0.3125, 1.1875, 0.375, -0.1875, 1.3125, 0.5}, + {-0.25, 1.125, 0.375, -0.125, 1.25, 0.5}, + {-0.1875, 1.0625, 0.375, -0.0625, 1.1875, 0.5}, + {-0.125, 1, 0.375, 0, 1.125, 0.5}, + {-0.0625, 0.9375, 0.375, 0.0625, 1.0625, 0.5}, + {0, 0.875, 0.375, 0.125, 1, 0.5}, + {0.0625, 0.8125, 0.375, 0.1875, 0.9375, 0.5}, + {0.125, 0.75, 0.375, 0.25, 0.875, 0.5}, + {0.1875, 0.6875, 0.375, 0.3125, 0.8125, 0.5}, + {0.25, 0.625, 0.375, 0.375, 0.75, 0.5}, + {0.3125, 0.5625, 0.375, 0.4375, 0.6875, 0.5}, + {0.375, 0.5, 0.375, 0.5, 0.625, 0.5}, + {0.4375, 0.4375, 0.375, 0.5625, 0.5625, 0.5}, + {0.5, 0.375, 0.375, 0.625, 0.5, 0.5}, + {0.5625, 0.3125, 0.375, 0.6875, 0.4375, 0.5}, + {0.625, 0.25, 0.375, 0.75, 0.375, 0.5}, + {0.6875, 0.1875, 0.375, 0.8125, 0.3125, 0.5}, + {0.75, 0.125, 0.375, 0.875, 0.25, 0.5}, + {0.8125, 0.0625, 0.375, 0.9375, 0.1875, 0.5}, + {0.875, 0, 0.375, 1, 0.125, 0.5}, + {0.9375, -0.0625, 0.375, 1.0625, 0.0625, 0.5}, + {1, -0.125, 0.375, 1.125, 0, 0.5}, + {1.0625, -0.1875, 0.375, 1.1875, -0.0625, 0.5}, + {1.125, -0.25, 0.375, 1.25, -0.125, 0.5}, + {1.1875, -0.3125, 0.375, 1.3125, -0.1875, 0.5}, + {1.25, -0.375, 0.375, 1.375, -0.25, 0.5}, + {1.3125, -0.4375, 0.375, 1.4375, -0.3125, 0.5}, + {1.375, -0.5, 0.375, 1.5, -0.375, 0.5}, + {1.4375, -0.5, 0.375, 1.5, 1.5, 0.5}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 1.5, 0.5}, + }, + }, + collision_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 1.5, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + core.register_node("vlbridger:truss_substructure_end_left_slant_" .. bridge_color, { + description = bridge_desc .. " Truss Substructure End Left Slant", + drawtype = "nodebox", + tiles = {"bridges_" .. bridge_color .. ".png"}, + inventory_image = "bridges_" .. bridge_color .. + ".png^bridges_substructure_end_left_slant.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_color .. + ".png^bridges_substructure_end_left_slant.png^[makealpha:255,126,126", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, 1.375, 0.375, 1.5, 1.5, 0.5}, + {1.3125, 1.3125, 0.375, 1.4375, 1.4375, 0.5}, + {1.25, 1.25, 0.375, 1.375, 1.375, 0.5}, + {1.1875, 1.1875, 0.375, 1.3125, 1.3125, 0.5}, + {1.125, 1.125, 0.375, 1.25, 1.25, 0.5}, + {1.0625, 1.0625, 0.375, 1.1875, 1.1875, 0.5}, + {1, 1, 0.375, 1.125, 1.125, 0.5}, + {0.9375, 0.9375, 0.375, 1.0625, 1.0625, 0.5}, + {0.875, 0.875, 0.375, 1, 1, 0.5}, + {0.8125, 0.8125, 0.375, 0.9375, 0.9375, 0.5}, + {0.75, 0.75, 0.375, 0.875, 0.875, 0.5}, + {0.6875, 0.6875, 0.375, 0.8125, 0.8125, 0.5}, + {0.625, 0.625, 0.375, 0.75, 0.75, 0.5}, + {0.5625, 0.5625, 0.375, 0.6875, 0.6875, 0.5}, + {0.5, 0.5, 0.375, 0.625, 0.625, 0.5}, + {0.4375, 0.4375, 0.375, 0.5625, 0.5625, 0.5}, + {0.375, 0.375, 0.375, 0.5, 0.5, 0.5}, + {0.3125, 0.3125, 0.375, 0.4375, 0.4375, 0.5}, + {0.25, 0.25, 0.375, 0.375, 0.375, 0.5}, + {0.1875, 0.1875, 0.375, 0.3125, 0.3125, 0.5}, + {0.125, 0.125, 0.375, 0.25, 0.25, 0.5}, + {0.0625, 0.0625, 0.375, 0.1875, 0.1875, 0.5}, + {0, 0, 0.375, 0.125, 0.125, 0.5}, + {-0.0625, -0.0625, 0.375, 0.0625, 0.0625, 0.5}, + {-0.125, -0.125, 0.375, 0, 0, 0.5}, + {-0.1875, -0.1875, 0.375, -0.0625, -0.0625, 0.5}, + {-0.25, -0.25, 0.375, -0.125, -0.125, 0.5}, + {-0.3125, -0.3125, 0.375, -0.1875, -0.1875, 0.5}, + {-0.375, -0.375, 0.375, -0.25, -0.25, 0.5}, + {-0.4375, -0.4375, 0.375, -0.3125, -0.3125, 0.5}, + {-0.5, -0.5, 0.375, -0.4375, 1.5, 0.5}, + {-0.5, -0.5, 0.375, -0.375, -0.375, 0.5}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 1.5, 0.5}, + }, + }, + collision_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 1.5, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + core.register_node("vlbridger:truss_substructure_right_slant_" .. bridge_color, { + description = bridge_desc .. " Truss Substructure Right Slant", + drawtype = "nodebox", + tiles = {"bridges_" .. bridge_color .. ".png"}, + inventory_image = "bridges_" .. bridge_color .. ".png^bridges_substructure_right_slant.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_color .. ".png^bridges_substructure_right_slant.png^[makealpha:255,126,126", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, 1.375, 0.375, 1.5, 1.5, 0.5}, + {-0.4375, 1.3125, 0.375, -0.3125, 1.4375, 0.5}, + {-0.375, 1.25, 0.375, -0.25, 1.375, 0.5}, + {-0.3125, 1.1875, 0.375, -0.1875, 1.3125, 0.5}, + {-0.25, 1.125, 0.375, -0.125, 1.25, 0.5}, + {-0.1875, 1.0625, 0.375, -0.0625, 1.1875, 0.5}, + {-0.125, 1, 0.375, 0, 1.125, 0.5}, + {-0.0625, 0.9375, 0.375, 0.0625, 1.0625, 0.5}, + {0, 0.875, 0.375, 0.125, 1, 0.5}, + {0.0625, 0.8125, 0.375, 0.1875, 0.9375, 0.5}, + {0.125, 0.75, 0.375, 0.25, 0.875, 0.5}, + {0.1875, 0.6875, 0.375, 0.3125, 0.8125, 0.5}, + {0.25, 0.625, 0.375, 0.375, 0.75, 0.5}, + {0.3125, 0.5625, 0.375, 0.4375, 0.6875, 0.5}, + {0.375, 0.5, 0.375, 0.5, 0.625, 0.5}, + {0.4375, 0.4375, 0.375, 0.5625, 0.5625, 0.5}, + {0.5, 0.375, 0.375, 0.625, 0.5, 0.5}, + {0.5625, 0.3125, 0.375, 0.6875, 0.4375, 0.5}, + {0.625, 0.25, 0.375, 0.75, 0.375, 0.5}, + {0.6875, 0.1875, 0.375, 0.8125, 0.3125, 0.5}, + {0.75, 0.125, 0.375, 0.875, 0.25, 0.5}, + {0.8125, 0.0625, 0.375, 0.9375, 0.1875, 0.5}, + {0.875, 0, 0.375, 1, 0.125, 0.5}, + {0.9375, -0.0625, 0.375, 1.0625, 0.0625, 0.5}, + {1, -0.125, 0.375, 1.125, 0, 0.5}, + {1.0625, -0.1875, 0.375, 1.1875, -0.0625, 0.5}, + {1.125, -0.25, 0.375, 1.25, -0.125, 0.5}, + {1.1875, -0.3125, 0.375, 1.3125, -0.1875, 0.5}, + {1.25, -0.375, 0.375, 1.375, -0.25, 0.5}, + {1.3125, -0.4375, 0.375, 1.4375, -0.3125, 0.5}, + {-0.5, -0.5, 0.375, -0.4375, 1.5, 0.5}, + {-0.5, -0.5, 0.375, 1.5, -0.375, 0.5}, + {1.4375, -0.5, 0.375, 1.5, 1.5, 0.5}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 1.5, 0.5}, + }, + }, + collision_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 1.5, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + core.register_node("vlbridger:truss_substructure_left_slant_" .. bridge_color, { + description = bridge_desc .. " Truss Substructure Left Slant", + drawtype = "nodebox", + tiles = {"bridges_" .. bridge_color .. ".png"}, + inventory_image = "bridges_" .. bridge_color .. ".png^bridges_substructure_left_slant.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_color .. ".png^bridges_substructure_left_slant.png^[makealpha:255,126,126", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, 1.375, 0.375, 1.5, 1.5, 0.5}, + {1.3125, 1.3125, 0.375, 1.4375, 1.4375, 0.5}, + {1.25, 1.25, 0.375, 1.375, 1.375, 0.5}, + {1.1875, 1.1875, 0.375, 1.3125, 1.3125, 0.5}, + {1.125, 1.125, 0.375, 1.25, 1.25, 0.5}, + {1.0625, 1.0625, 0.375, 1.1875, 1.1875, 0.5}, + {1, 1, 0.375, 1.125, 1.125, 0.5}, + {0.9375, 0.9375, 0.375, 1.0625, 1.0625, 0.5}, + {0.875, 0.875, 0.375, 1, 1, 0.5}, + {0.8125, 0.8125, 0.375, 0.9375, 0.9375, 0.5}, + {0.75, 0.75, 0.375, 0.875, 0.875, 0.5}, + {0.6875, 0.6875, 0.375, 0.8125, 0.8125, 0.5}, + {0.625, 0.625, 0.375, 0.75, 0.75, 0.5}, + {0.5625, 0.5625, 0.375, 0.6875, 0.6875, 0.5}, + {0.5, 0.5, 0.375, 0.625, 0.625, 0.5}, + {0.4375, 0.4375, 0.375, 0.5625, 0.5625, 0.5}, + {0.375, 0.375, 0.375, 0.5, 0.5, 0.5}, + {0.3125, 0.3125, 0.375, 0.4375, 0.4375, 0.5}, + {0.25, 0.25, 0.375, 0.375, 0.375, 0.5}, + {0.1875, 0.1875, 0.375, 0.3125, 0.3125, 0.5}, + {0.125, 0.125, 0.375, 0.25, 0.25, 0.5}, + {0.0625, 0.0625, 0.375, 0.1875, 0.1875, 0.5}, + {0, 0, 0.375, 0.125, 0.125, 0.5}, + {-0.0625, -0.0625, 0.375, 0.0625, 0.0625, 0.5}, + {-0.125, -0.125, 0.375, 0, 0, 0.5}, + {-0.1875, -0.1875, 0.375, -0.0625, -0.0625, 0.5}, + {-0.25, -0.25, 0.375, -0.125, -0.125, 0.5}, + {-0.3125, -0.3125, 0.375, -0.1875, -0.1875, 0.5}, + {-0.375, -0.375, 0.375, -0.25, -0.25, 0.5}, + {-0.4375, -0.4375, 0.375, -0.3125, -0.3125, 0.5}, + {-0.5, -0.5, 0.375, -0.4375, 1.5, 0.5}, + {-0.5, -0.5, 0.375, 1.5, -0.375, 0.5}, + {1.4375, -0.5, 0.375, 1.5, 1.5, 0.5}, + {-0.5, -0.5, 0.375, -0.375, -0.375, 0.5}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 1.5, 0.5}, + }, + }, + collision_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 1.5, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + core.register_node("vlbridger:truss_substructure_simple_" .. bridge_color, { + description = bridge_desc .. " Truss Substructure Simple", + drawtype = "nodebox", + tiles = {"bridges_" .. bridge_color .. ".png"}, + inventory_image = "bridges_" .. bridge_color .. ".png^bridges_substructure_simple.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_color .. ".png^bridges_substructure_simple.png^[makealpha:255,126,126", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, -0.375, 0.5}, + {-0.5, 1.375, 0.375, 1.5, 1.5, 0.5}, + {-0.4375, 1.3125, 0.375, -0.3125, 1.4375, 0.5}, + {-0.375, 1.25, 0.375, -0.25, 1.375, 0.5}, + {-0.3125, 1.1875, 0.375, -0.1875, 1.3125, 0.5}, + {-0.25, 1.125, 0.375, -0.125, 1.25, 0.5}, + {-0.1875, 1.0625, 0.375, -0.0625, 1.1875, 0.5}, + {-0.125, 1, 0.375, 0, 1.125, 0.5}, + {-0.0625, 0.9375, 0.375, 0.0625, 1.0625, 0.5}, + {0, 0.875, 0.375, 0.125, 1, 0.5}, + {0.0625, 0.8125, 0.375, 0.1875, 0.9375, 0.5}, + {0.125, 0.75, 0.375, 0.25, 0.875, 0.5}, + {0.1875, 0.6875, 0.375, 0.3125, 0.8125, 0.5}, + {0.25, 0.625, 0.375, 0.375, 0.75, 0.5}, + {0.3125, 0.5625, 0.375, 0.4375, 0.6875, 0.5}, + {0.375, 0.5, 0.375, 0.5, 0.625, 0.5}, + {0.4375, 0.4375, 0.375, 0.5625, 0.5625, 0.5}, + {0.5, 0.375, 0.375, 0.625, 0.5, 0.5}, + {0.5625, 0.3125, 0.375, 0.6875, 0.4375, 0.5}, + {0.625, 0.25, 0.375, 0.75, 0.375, 0.5}, + {0.6875, 0.1875, 0.375, 0.8125, 0.3125, 0.5}, + {0.75, 0.125, 0.375, 0.875, 0.25, 0.5}, + {0.8125, 0.0625, 0.375, 0.9375, 0.1875, 0.5}, + {0.875, 0, 0.375, 1, 0.125, 0.5}, + {0.9375, -0.0625, 0.375, 1.0625, 0.0625, 0.5}, + {1, -0.125, 0.375, 1.125, 0, 0.5}, + {1.0625, -0.1875, 0.375, 1.1875, -0.0625, 0.5}, + {1.125, -0.25, 0.375, 1.25, -0.125, 0.5}, + {1.1875, -0.3125, 0.375, 1.3125, -0.1875, 0.5}, + {1.25, -0.375, 0.375, 1.375, -0.25, 0.5}, + {1.3125, -0.4375, 0.375, 1.4375, -0.3125, 0.5}, + {1.3125, 1.3125, 0.375, 1.4375, 1.4375, 0.5}, + {1.25, 1.25, 0.375, 1.375, 1.375, 0.5}, + {1.1875, 1.1875, 0.375, 1.3125, 1.3125, 0.5}, + {1.125, 1.125, 0.375, 1.25, 1.25, 0.5}, + {1.0625, 1.0625, 0.375, 1.1875, 1.1875, 0.5}, + {1, 1, 0.375, 1.125, 1.125, 0.5}, + {0.9375, 0.9375, 0.375, 1.0625, 1.0625, 0.5}, + {0.875, 0.875, 0.375, 1, 1, 0.5}, + {0.8125, 0.8125, 0.375, 0.9375, 0.9375, 0.5}, + {0.75, 0.75, 0.375, 0.875, 0.875, 0.5}, + {0.6875, 0.6875, 0.375, 0.8125, 0.8125, 0.5}, + {0.625, 0.625, 0.375, 0.75, 0.75, 0.5}, + {0.5625, 0.5625, 0.375, 0.6875, 0.6875, 0.5}, + {0.375, 0.375, 0.375, 0.625, 0.625, 0.5}, + {0.3125, 0.3125, 0.375, 0.4375, 0.4375, 0.5}, + {0.25, 0.25, 0.375, 0.375, 0.375, 0.5}, + {0.1875, 0.1875, 0.375, 0.3125, 0.3125, 0.5}, + {0.125, 0.125, 0.375, 0.25, 0.25, 0.5}, + {0.0625, 0.0625, 0.375, 0.1875, 0.1875, 0.5}, + {0, 0, 0.375, 0.125, 0.125, 0.5}, + {-0.0625, -0.0625, 0.375, 0.0625, 0.0625, 0.5}, + {-0.125, -0.125, 0.375, 0, 0, 0.5}, + {-0.1875, -0.1875, 0.375, -0.0625, -0.0625, 0.5}, + {-0.25, -0.25, 0.375, -0.125, -0.125, 0.5}, + {-0.3125, -0.3125, 0.375, -0.1875, -0.1875, 0.5}, + {-0.375, -0.375, 0.375, -0.25, -0.25, 0.5}, + {-0.4375, -0.4375, 0.375, -0.3125, -0.3125, 0.5}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 1.5, 0.5}, + }, + }, + collision_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 1.5, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + core.register_node("vlbridger:truss_substructure_mid_" .. bridge_color, { + description = bridge_desc .. " Truss Substructure Middle", + drawtype = "nodebox", + tiles = {"bridges_" .. bridge_color .. ".png"}, + inventory_image = "bridges_" .. bridge_color .. ".png^bridges_substructure_mid.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_color .. ".png^bridges_substructure_mid.png^[makealpha:255,126,126", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, -0.375, 0.5}, + {-0.5, 1.375, 0.375, 1.5, 1.5, 0.5}, + {-0.4375, 1.3125, 0.375, -0.3125, 1.4375, 0.5}, + {-0.375, 1.25, 0.375, -0.25, 1.375, 0.5}, + {-0.3125, 1.1875, 0.375, -0.1875, 1.3125, 0.5}, + {-0.25, 1.125, 0.375, -0.125, 1.25, 0.5}, + {-0.1875, 1.0625, 0.375, -0.0625, 1.1875, 0.5}, + {-0.125, 1, 0.375, 0, 1.125, 0.5}, + {-0.0625, 0.9375, 0.375, 0.0625, 1.0625, 0.5}, + {0, 0.875, 0.375, 0.125, 1, 0.5}, + {0.0625, 0.8125, 0.375, 0.1875, 0.9375, 0.5}, + {0.125, 0.75, 0.375, 0.25, 0.875, 0.5}, + {0.1875, 0.6875, 0.375, 0.3125, 0.8125, 0.5}, + {0.25, 0.625, 0.375, 0.375, 0.75, 0.5}, + {0.3125, 0.5625, 0.375, 0.4375, 0.6875, 0.5}, + {0.375, 0.5, 0.375, 0.5, 0.625, 0.5}, + {0.4375, 0.4375, 0.375, 0.5625, 0.5625, 0.5}, + {0.5, 0.375, 0.375, 0.625, 0.5, 0.5}, + {0.5625, 0.3125, 0.375, 0.6875, 0.4375, 0.5}, + {0.625, 0.25, 0.375, 0.75, 0.375, 0.5}, + {0.6875, 0.1875, 0.375, 0.8125, 0.3125, 0.5}, + {0.75, 0.125, 0.375, 0.875, 0.25, 0.5}, + {0.8125, 0.0625, 0.375, 0.9375, 0.1875, 0.5}, + {0.875, 0, 0.375, 1, 0.125, 0.5}, + {0.9375, -0.0625, 0.375, 1.0625, 0.0625, 0.5}, + {1, -0.125, 0.375, 1.125, 0, 0.5}, + {1.0625, -0.1875, 0.375, 1.1875, -0.0625, 0.5}, + {1.125, -0.25, 0.375, 1.25, -0.125, 0.5}, + {1.1875, -0.3125, 0.375, 1.3125, -0.1875, 0.5}, + {1.25, -0.375, 0.375, 1.375, -0.25, 0.5}, + {1.3125, -0.4375, 0.375, 1.4375, -0.3125, 0.5}, + {1.3125, 1.3125, 0.375, 1.4375, 1.4375, 0.5}, + {1.25, 1.25, 0.375, 1.375, 1.375, 0.5}, + {1.1875, 1.1875, 0.375, 1.3125, 1.3125, 0.5}, + {1.125, 1.125, 0.375, 1.25, 1.25, 0.5}, + {1.0625, 1.0625, 0.375, 1.1875, 1.1875, 0.5}, + {1, 1, 0.375, 1.125, 1.125, 0.5}, + {0.9375, 0.9375, 0.375, 1.0625, 1.0625, 0.5}, + {0.875, 0.875, 0.375, 1, 1, 0.5}, + {0.8125, 0.8125, 0.375, 0.9375, 0.9375, 0.5}, + {0.75, 0.75, 0.375, 0.875, 0.875, 0.5}, + {0.6875, 0.6875, 0.375, 0.8125, 0.8125, 0.5}, + {0.625, 0.625, 0.375, 0.75, 0.75, 0.5}, + {0.5625, 0.5625, 0.375, 0.6875, 0.6875, 0.5}, + {0.375, 0.375, 0.375, 0.625, 0.625, 0.5}, + {0.3125, 0.3125, 0.375, 0.4375, 0.4375, 0.5}, + {0.25, 0.25, 0.375, 0.375, 0.375, 0.5}, + {0.1875, 0.1875, 0.375, 0.3125, 0.3125, 0.5}, + {0.125, 0.125, 0.375, 0.25, 0.25, 0.5}, + {0.0625, 0.0625, 0.375, 0.1875, 0.1875, 0.5}, + {0, 0, 0.375, 0.125, 0.125, 0.5}, + {-0.0625, -0.0625, 0.375, 0.0625, 0.0625, 0.5}, + {-0.125, -0.125, 0.375, 0, 0, 0.5}, + {-0.1875, -0.1875, 0.375, -0.0625, -0.0625, 0.5}, + {-0.25, -0.25, 0.375, -0.125, -0.125, 0.5}, + {-0.3125, -0.3125, 0.375, -0.1875, -0.1875, 0.5}, + {-0.375, -0.375, 0.375, -0.25, -0.25, 0.5}, + {-0.4375, -0.4375, 0.375, -0.3125, -0.3125, 0.5}, + {1.4375, -0.5, 0.375, 1.5, 1.5, 0.5}, + {-0.5, -0.5, 0.375, -0.4375, 1.5, 0.5}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 1.5, 0.5}, + }, + }, + collision_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 1.5, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + core.register_node("vlbridger:small_upper_chord_" .. bridge_color, { + description = bridge_desc .. " Small Upper Chord", + drawtype = "nodebox", + tiles = {"bridges_" .. bridge_color .. ".png"}, + inventory_image = "bridges_" .. bridge_color .. ".png^bridges_small_upper_chord.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_color .. ".png^bridges_small_upper_chord.png^[makealpha:255,126,126", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, 0.375, 0.4375, 0.5, 0.5, 0.5}, + {0.4375, 0.375, -1.5, 0.5, 0.5, 0.5}, + {-0.5, 0.375, -1.5, 0.5, 0.5, -1.4375}, + {-0.5, 0.375, -1.5, -0.4375, 0.5, 0.5}, + {-0.4375, 0.375, 0.25, -0.3125, 0.5, 0.4375}, + {-0.375, 0.375, 0.125, -0.25, 0.5, 0.3125}, + {-0.3125, 0.375, 0, -0.1875, 0.5, 0.1875}, + {-0.25, 0.375, -0.125, -0.125, 0.5, 0.0625}, + {-0.1875, 0.375, -0.25, -0.0625, 0.5, -0.0625}, + {-0.4375, 0.375, -1.4375, -0.3125, 0.5, -1.25}, + {-0.375, 0.375, -1.3125, -0.25, 0.5, -1.125}, + {-0.3125, 0.375, -1.1875, -0.1875, 0.5, -1}, + {-0.25, 0.375, -1.0625, -0.125, 0.5, -0.875}, + {-0.1875, 0.375, -0.9375, -0.0625, 0.5, -0.75}, + {-0.125, 0.375, -0.8125, 0, 0.5, -0.625}, + {-0.125, 0.375, -0.375, 0, 0.5, -0.1875}, + {0.3125, 0.375, 0.25, 0.4375, 0.5, 0.4375}, + {0.25, 0.375, 0.125, 0.375, 0.5, 0.3125}, + {0.1875, 0.375, 0, 0.3125, 0.5, 0.1875}, + {0.125, 0.375, -0.125, 0.25, 0.5, 0.0625}, + {0.0625, 0.375, -0.25, 0.1875, 0.5, -0.0625}, + {0, 0.375, -0.375, 0.125, 0.5, -0.1875}, + {-0.0625, 0.375, -0.625, 0.0625, 0.5, -0.375}, + {0.3125, 0.375, -1.4375, 0.4375, 0.5, -1.25}, + {0.25, 0.375, -1.3125, 0.375, 0.5, -1.125}, + {0.1875, 0.375, -1.1875, 0.3125, 0.5, -1}, + {0.125, 0.375, -1.0625, 0.25, 0.5, -0.875}, + {0.0625, 0.375, -0.9375, 0.1875, 0.5, -0.75}, + {0, 0.375, -0.8125, 0.125, 0.5, -0.625}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, 0, -1.5, 0.5, 0.5, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + core.register_node("vlbridger:small_upper_chord_slanted_" .. bridge_color, { + description = bridge_desc .. " Small Slanted Upper Chord", + drawtype = "nodebox", + tiles = {"bridges_" .. bridge_color .. ".png"}, + inventory_image = "bridges_" .. bridge_color .. ".png^bridges_small_upper_chord_slanted.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_color .. ".png^bridges_small_upper_chord_slanted.png^[makealpha:255,126,126", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5625, -1.5, -0.4375, -0.4375, -1.375}, + {-0.5, -0.5625, -1.5, 0.5, -0.4375, -1.4375}, + {0.4375, -0.5625, -1.5, 0.5, -0.4375, -1.375}, + {0.4375, -0.5, -1.375, 0.5, -0.375, -1.25}, + {0.4375, -0.4375, -1.25, 0.5, -0.3125, -1.125}, + {0.4375, -0.375, -1.125, 0.5, -0.25, -1}, + {0.4375, -0.3125, -1, 0.5, -0.1875, -0.875}, + {0.4375, -0.25, -0.875, 0.5, -0.125, -0.75}, + {0.4375, -0.1875, -0.75, 0.5, -0.0625, -0.625}, + {0.4375, -0.125, -0.625, 0.5, -2.23517e-008, -0.5}, + {0.4375, -0.0625, -0.5, 0.5, 0.0625, -0.375}, + {0.4375, 0, -0.375, 0.5, 0.125, -0.25}, + {0.4375, 0.0625, -0.25, 0.5, 0.1875, -0.125}, + {0.4375, 0.125, -0.125, 0.5, 0.25, -1.04308e-007}, + {0.4375, 0.1875, 0, 0.5, 0.3125, 0.125}, + {0.4375, 0.25, 0.125, 0.5, 0.375, 0.25}, + {0.4375, 0.3125, 0.25, 0.5, 0.4375, 0.375}, + {0.4375, 0.375, 0.375, 0.5, 0.5, 0.5}, + {-0.5, 0.375, 0.4375, 0.5, 0.5, 0.5}, + {-0.5, -0.5, -1.375, -0.4375, -0.375, -1.25}, + {-0.5, -0.4375, -1.25, -0.4375, -0.3125, -1.125}, + {-0.5, -0.375, -1.125, -0.4375, -0.25, -1}, + {-0.5, -0.3125, -1, -0.4375, -0.1875, -0.875}, + {-0.5, -0.25, -0.875, -0.4375, -0.125, -0.75}, + {-0.5, -0.1875, -0.75, -0.4375, -0.0625, -0.625}, + {-0.5, -0.125, -0.625, -0.4375, 1.11759e-008, -0.5}, + {-0.5, -0.0625, -0.5, -0.4375, 0.0625, -0.375}, + {-0.5, 0, -0.375, -0.4375, 0.125, -0.25}, + {-0.5, 0.0625, -0.25, -0.4375, 0.1875, -0.125}, + {-0.5, 0.125, -0.125, -0.4375, 0.25, 1.41561e-007}, + {-0.5, 0.1875, 0, -0.4375, 0.3125, 0.125}, + {-0.5, 0.25, 0.125, -0.4375, 0.375, 0.25}, + {-0.5, 0.3125, 0.25, -0.4375, 0.4375, 0.375}, + {-0.5, 0.375, 0.375, -0.4375, 0.5, 0.5}, + {-0.4375, -0.5625, -1.5, -0.3125, -0.4375, -1.375}, + {-0.4375, -0.5, -1.375, -0.3125, -0.375, -1.25}, + {-0.375, -0.5, -1.3125, -0.25, -0.375, -1.25}, + {-0.375, -0.4375, -1.25, -0.25, -0.3125, -1.125}, + {-0.3125, -0.4375, -1.1875, -0.1875, -0.3125, -1.125}, + {-0.3125, -0.375, -1.125, -0.1875, -0.25, -1}, + {-0.25, -0.375, -1.0625, -0.125, -0.25, -1}, + {-0.25, -0.3125, -1, -0.125, -0.1875, -0.875}, + {-0.1875, -0.3125, -0.9375, -0.0625, -0.1875, -0.875}, + {-0.1875, -0.25, -0.875, -0.0624999, -0.125, -0.75}, + {-0.125, -0.25, -0.8125, 0.125, -0.125, -0.75}, + {-0.125, -0.1875, -0.75, 0.125, -0.0624999, -0.625}, + {-0.0625, -0.125, -0.625, 0.0625, 9.31323e-008, -0.5}, + {-0.0625, -0.0625, -0.5, 0.0625, 0.0625001, -0.375}, + {-0.125, 0, -0.375, 0.125, 0.125, -0.25}, + {-0.4375, 0.375, 0.375, -0.3125, 0.5, 0.4375}, + {-0.4375, 0.3125, 0.25, -0.3125, 0.4375, 0.375}, + {-0.375, 0.25, 0.125, -0.25, 0.375, 0.25}, + {-0.375, 0.3125, 0.25, -0.25, 0.4375, 0.3125}, + {-0.3125, 0.25, 0.125, -0.1875, 0.375, 0.1875}, + {-0.3125, 0.1875, 0, -0.1875, 0.3125, 0.125}, + {-0.25, 0.1875, 0, -0.125, 0.3125, 0.0625}, + {-0.25, 0.125, -0.125, -0.125, 0.25, 1.30385e-008}, + {-0.1875, 0.125, -0.125, -0.0625, 0.25, -0.0625}, + {-0.1875, 0.0625, -0.25, -0.0625, 0.1875, -0.125}, + {-0.125, 0.0625, -0.25, 0.125, 0.1875, -0.1875}, + {0.0625, 0.0625, -0.25, 0.1875, 0.1875, -0.125}, + {0.0625, 0.125, -0.125, 0.1875, 0.25, -0.0625}, + {0.125, 0.125, -0.125, 0.25, 0.25, 0}, + {0.125, 0.1875, 0, 0.25, 0.3125, 0.0625}, + {0.1875, 0.1875, 0, 0.3125, 0.3125, 0.125}, + {0.1875, 0.25, 0.125, 0.3125, 0.375, 0.1875}, + {0.25, 0.25, 0.125, 0.375, 0.375, 0.25}, + {0.25, 0.3125, 0.25, 0.375, 0.4375, 0.3125}, + {0.3125, 0.3125, 0.3125, 0.4375, 0.4375, 0.375}, + {0.3125, 0.375, 0.375, 0.4375, 0.5, 0.4375}, + {0.3125, -0.5625, -1.4375, 0.4375, -0.4375, -1.375}, + {0.3125, -0.5, -1.375, 0.4375, -0.375, -1.25}, + {0.25, -0.5, -1.3125, 0.375, -0.375, -1.25}, + {0.25, -0.4375, -1.25, 0.375, -0.3125, -1.125}, + {0.1875, -0.4375, -1.1875, 0.3125, -0.3125, -1.125}, + {0.1875, -0.375, -1.125, 0.3125, -0.25, -1}, + {0.125, -0.375, -1.0625, 0.25, -0.25, -1}, + {0.125, -0.3125, -1, 0.25, -0.1875, -0.875}, + {0.0625, -0.3125, -0.9375, 0.1875, -0.1875, -0.875}, + {0.0625, -0.25, -0.875, 0.1875, -0.125, -0.75}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -1.5, 0.5, 0.5, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + core.register_node("vlbridger:medium_upper_chord_" .. bridge_color, { + description = bridge_desc .. " Medium Upper Chord", + drawtype = "nodebox", + tiles = {"bridges_" .. bridge_color .. ".png"}, + inventory_image = "bridges_" .. bridge_color .. ".png^bridges_medium_upper_chord.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_color .. ".png^bridges_medium_upper_chord.png^[makealpha:255,126,126", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-1.5, 0.375, 0.4375, 1.5, 0.5, 0.5}, + {1.4375, 0.375, -1.5, 1.5, 0.5, 0.5}, + {-1.5, 0.375, -1.5, 1.5, 0.5, -1.4375}, + {-1.5, 0.375, -1.5, -1.4375, 0.5, 0.5}, + {-1.4375, 0.375, 0.3125, -1.3125, 0.5, 0.4375}, + {-1.375, 0.375, 0.25, -1.1875, 0.5, 0.375}, + {-1.25, 0.375, 0.1875, -1.125, 0.5, 0.3125}, + {-1.1875, 0.375, 0.125, -1, 0.5, 0.25}, + {-1.0625, 0.375, 0.0625, -0.9375, 0.5, 0.1875}, + {-1, 0.375, 0, -0.8125, 0.5, 0.125}, + {-0.875, 0.375, -0.0625, -0.75, 0.5, 0.0625}, + {-0.8125, 0.375, -0.125, -0.625, 0.5, 0}, + {-0.6875, 0.375, -0.1875, -0.5625, 0.5, -0.0625}, + {-0.625, 0.375, -0.25, -0.4375, 0.5, -0.125}, + {-0.5, 0.375, -0.3125, -0.375, 0.5, -0.1875}, + {-0.4375, 0.375, -0.375, -0.25, 0.5, -0.25}, + {-0.3125, 0.375, -0.4375, -0.1875, 0.5, -0.3125}, + {-0.25, 0.375, -0.5, -0.0625, 0.5, -0.375}, + {-0.125, 0.375, -0.5625, 0.125, 0.5, -0.4375}, + {1.3125, 0.375, -1.4375, 1.4375, 0.5, -1.3125}, + {1.1875, 0.375, -1.375, 1.375, 0.5, -1.25}, + {1.125, 0.375, -1.3125, 1.25, 0.5, -1.1875}, + {1, 0.375, -1.25, 1.1875, 0.5, -1.125}, + {0.9375, 0.375, -1.1875, 1.0625, 0.5, -1.0625}, + {0.8125, 0.375, -1.125, 1, 0.5, -1}, + {0.75, 0.375, -1.0625, 0.875, 0.5, -0.9375}, + {0.625, 0.375, -1, 0.8125, 0.5, -0.875}, + {0.5625, 0.375, -0.9375, 0.6875, 0.5, -0.8125}, + {0.4375, 0.375, -0.875, 0.625, 0.5, -0.75}, + {0.375, 0.375, -0.8125, 0.5, 0.5, -0.6875}, + {0.25, 0.375, -0.75, 0.4375, 0.5, -0.625}, + {0.1875, 0.375, -0.6875, 0.3125, 0.5, -0.5625}, + {0.0625, 0.375, -0.625, 0.25, 0.5, -0.5}, + {1.3125, 0.375, 0.3125, 1.4375, 0.5, 0.4375}, + {1.1875, 0.375, 0.25, 1.375, 0.5, 0.375}, + {1.125, 0.375, 0.1875, 1.25, 0.5, 0.3125}, + {1, 0.375, 0.125, 1.1875, 0.5, 0.25}, + {0.9375, 0.375, 0.0625, 1.0625, 0.5, 0.1875}, + {0.8125, 0.375, 0, 1, 0.5, 0.125}, + {0.75, 0.375, -0.0625, 0.875, 0.5, 0.0625}, + {0.625, 0.375, -0.125, 0.8125, 0.5, 0}, + {0.5625, 0.375, -0.1875, 0.6875, 0.5, -0.0625}, + {0.4375, 0.375, -0.25, 0.625, 0.5, -0.125}, + {0.375, 0.375, -0.3125, 0.5, 0.5, -0.1875}, + {0.25, 0.375, -0.375, 0.4375, 0.5, -0.25}, + {0.1875, 0.375, -0.4375, 0.3125, 0.5, -0.3125}, + {0.0625, 0.375, -0.5, 0.25, 0.5, -0.375}, + {-1.4375, 0.375, -1.4375, -1.3125, 0.5, -1.3125}, + {-1.375, 0.375, -1.375, -1.1875, 0.5, -1.25}, + {-1.25, 0.375, -1.3125, -1.125, 0.5, -1.1875}, + {-1.1875, 0.375, -1.25, -1, 0.5, -1.125}, + {-1.0625, 0.375, -1.1875, -0.9375, 0.5, -1.0625}, + {-1, 0.375, -1.125, -0.8125, 0.5, -1}, + {-0.875, 0.375, -1.0625, -0.75, 0.5, -0.9375}, + {-0.8125, 0.375, -1, -0.625, 0.5, -0.875}, + {-0.6875, 0.375, -0.9375, -0.5625, 0.5, -0.8125}, + {-0.625, 0.375, -0.875, -0.4375, 0.5, -0.75}, + {-0.5, 0.375, -0.8125, -0.375, 0.5, -0.6875}, + {-0.4375, 0.375, -0.75, -0.25, 0.5, -0.625}, + {-0.3125, 0.375, -0.6875, -0.1875, 0.5, -0.5625}, + {-0.25, 0.375, -0.625, -0.0625, 0.5, -0.5}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-1.5, 0, -1.5, 1.5, 0.5, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + core.register_node("vlbridger:medium_upper_chord_slanted_" .. bridge_color, { + description = bridge_desc .. " Medium Slanted Upper Chord", + drawtype = "nodebox", + tiles = {"bridges_" .. bridge_color .. ".png"}, + inventory_image = "bridges_" .. bridge_color .. ".png^bridges_medium_upper_chord_slanted.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_color .. ".png^bridges_medium_upper_chord_slanted.png^[makealpha:255,126,126", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-1.5, -0.5625, -1.5, -1.4375, -0.4375, -1.375}, + {-1.5, -0.5625, -1.5, 1.5, -0.4375, -1.4375}, + {1.4375, -0.5625, -1.5, 1.5, -0.4375, -1.375}, + {1.4375, -0.5, -1.375, 1.5, -0.375, -1.25}, + {1.4375, -0.4375, -1.25, 1.5, -0.3125, -1.125}, + {1.4375, -0.375, -1.125, 1.5, -0.25, -1}, + {1.4375, -0.3125, -1, 1.5, -0.1875, -0.875}, + {1.4375, -0.25, -0.875, 1.5, -0.125, -0.75}, + {1.4375, -0.1875, -0.75, 1.5, -0.0625, -0.625}, + {1.4375, -0.125, -0.625, 1.5, -2.23517e-008, -0.5}, + {1.4375, -0.0625, -0.5, 1.5, 0.0625, -0.375}, + {1.4375, 0, -0.375, 1.5, 0.125, -0.25}, + {1.4375, 0.0625, -0.25, 1.5, 0.1875, -0.125}, + {1.4375, 0.125, -0.125, 1.5, 0.25, -9.68575e-008}, + {1.4375, 0.1875, 0, 1.5, 0.3125, 0.125}, + {1.4375, 0.25, 0.125, 1.5, 0.375, 0.25}, + {1.4375, 0.3125, 0.25, 1.5, 0.4375, 0.375}, + {1.4375, 0.375, 0.375, 1.5, 0.5, 0.5}, + {-1.5, 0.375, 0.4375, 1.5, 0.5, 0.5}, + {-1.5, -0.5, -1.375, -1.4375, -0.375, -1.25}, + {-1.5, -0.4375, -1.25, -1.4375, -0.3125, -1.125}, + {-1.5, -0.375, -1.125, -1.4375, -0.25, -1}, + {-1.5, -0.3125, -1, -1.4375, -0.1875, -0.875}, + {-1.5, -0.25, -0.875, -1.4375, -0.125, -0.75}, + {-1.5, -0.1875, -0.75, -1.4375, -0.0625, -0.625}, + {-1.5, -0.125, -0.625, -1.4375, 1.11759e-008, -0.5}, + {-1.5, -0.0625, -0.5, -1.4375, 0.0625, -0.375}, + {-1.5, 0, -0.375, -1.4375, 0.125, -0.25}, + {-1.5, 0.0625, -0.25, -1.4375, 0.1875, -0.125}, + {-1.5, 0.125, -0.125, -1.4375, 0.25, 1.49012e-007}, + {-1.5, 0.1875, 0, -1.4375, 0.3125, 0.125}, + {-1.5, 0.25, 0.125, -1.4375, 0.375, 0.25}, + {-1.5, 0.3125, 0.25, -1.4375, 0.4375, 0.375}, + {-1.5, 0.375, 0.375, -1.4375, 0.5, 0.5}, + {-1.4375, -0.5625, -1.4375, -1.3125, -0.4375, -1.375}, + {-1.4375, -0.5, -1.375, -1.1875, -0.375, -1.3125}, + {-1.375, -0.5, -1.3125, -1.125, -0.375, -1.25}, + {-1.25, -0.4375, -1.25, -1, -0.3125, -1.1875}, + {-1.1875, -0.4375, -1.1875, -0.9375, -0.3125, -1.125}, + {-1.0625, -0.375, -1.125, -0.8125, -0.25, -1.0625}, + {-1, -0.375, -1.0625, -0.75, -0.25, -1}, + {-0.875, -0.3125, -1, -0.625, -0.1875, -0.9375}, + {-0.8125, -0.3125, -0.9375, -0.5625, -0.1875, -0.875}, + {-0.6875, -0.25, -0.875, -0.4375, -0.125, -0.8125}, + {-0.625, -0.25, -0.8125, -0.375, -0.125, -0.75}, + {-0.5, -0.1875, -0.75, -0.25, -0.0625, -0.6875}, + {-0.4375, -0.1875, -0.6875, -0.1875, -0.0625, -0.625}, + {-0.3125, -0.125, -0.625, -0.0625, 3.35276e-008, -0.5625}, + {-0.25, -0.125, -0.5625, 0.25, 3.35276e-008, -0.5}, + {-0.25, -0.0625, -0.5, 0.25, 0.0625, -0.4375}, + {-0.3125, -0.0625, -0.4375, -0.0625, 0.0625, -0.375}, + {-0.4375, 0, -0.375, -0.1875, 0.125, -0.3125}, + {-0.5, 0, -0.3125, -0.25, 0.125, -0.25}, + {-0.625, 0.0625, -0.25, -0.375, 0.1875, -0.1875}, + {-0.6875, 0.0625, -0.1875, -0.4375, 0.1875, -0.125}, + {-0.8125, 0.125, -0.125, -0.5625, 0.25, -0.0625001}, + {-0.875, 0.125, -0.0625, -0.625, 0.25, -9.87202e-008}, + {-1, 0.1875, 0, -0.75, 0.3125, 0.0624999}, + {-1.0625, 0.1875, 0.0625, -0.8125, 0.3125, 0.125}, + {-1.1875, 0.25, 0.125, -0.9375, 0.375, 0.1875}, + {-1.25, 0.25, 0.1875, -1, 0.375, 0.25}, + {-1.375, 0.3125, 0.25, -1.125, 0.4375, 0.3125}, + {-1.4375, 0.3125, 0.3125, -1.1875, 0.4375, 0.375}, + {-1.4375, 0.375, 0.375, -1.3125, 0.5, 0.4375}, + {1.3125, 0.375, 0.375, 1.4375, 0.5, 0.4375}, + {1.1875, 0.3125, 0.3125, 1.4375, 0.4375, 0.375}, + {1.125, 0.3125, 0.25, 1.375, 0.4375, 0.3125}, + {1, 0.25, 0.1875, 1.25, 0.375, 0.25}, + {0.9375, 0.25, 0.125, 1.1875, 0.375, 0.1875}, + {0.8125, 0.1875, 0.0625, 1.0625, 0.3125, 0.125}, + {0.75, 0.1875, 0, 1, 0.3125, 0.0624999}, + {0.625, 0.125, -0.0625, 0.875, 0.25, -1.2666e-007}, + {0.5625, 0.125, -0.125, 0.8125, 0.25, -0.0625001}, + {0.4375, 0.0625, -0.1875, 0.6875, 0.1875, -0.125}, + {0.375, 0.0625, -0.25, 0.625, 0.1875, -0.1875}, + {0.25, 0, -0.3125, 0.5, 0.125, -0.25}, + {0.1875, 0, -0.375, 0.4375, 0.125, -0.3125}, + {0.0625, -0.0625, -0.4375, 0.3125, 0.0625, -0.375}, + {0.0625, -0.125, -0.625, 0.3125, 3.72529e-009, -0.5625}, + {0.1875, -0.1875, -0.6875, 0.4375, -0.0625, -0.625}, + {0.25, -0.1875, -0.75, 0.5, -0.0625, -0.6875}, + {0.375, -0.25, -0.8125, 0.625, -0.125, -0.75}, + {0.4375, -0.25, -0.875, 0.6875, -0.125, -0.8125}, + {0.5625, -0.3125, -0.9375, 0.8125, -0.1875, -0.875}, + {0.625, -0.3125, -1, 0.875, -0.1875, -0.9375}, + {0.75, -0.375, -1.0625, 1, -0.25, -1}, + {0.8125, -0.375, -1.125, 1.0625, -0.25, -1.0625}, + {0.9375, -0.4375, -1.1875, 1.1875, -0.3125, -1.125}, + {1, -0.4375, -1.25, 1.25, -0.3125, -1.1875}, + {1.125, -0.5, -1.3125, 1.375, -0.375, -1.25}, + {1.1875, -0.5, -1.375, 1.4375, -0.375, -1.3125}, + {1.3125, -0.5625, -1.4375, 1.4375, -0.4375, -1.375}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-1.5, -0.5, -1.5, 1.5, 0.5, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + core.register_node("vlbridger:large_upper_chord_" .. bridge_color, { + description = bridge_desc .. " Large Upper Chord", + drawtype = "nodebox", + tiles = {"bridges_" .. bridge_color .. ".png"}, + inventory_image = "bridges_" .. bridge_color .. ".png^bridges_large_upper_chord.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_color .. ".png^bridges_large_upper_chord.png^[makealpha:255,126,126", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-2.5, 0.375, 0.4375, 2.5, 0.5, 0.5}, + {2.4375, 0.375, -1.5, 2.5, 0.5, 0.5}, + {-2.5, 0.375, -1.5, 2.5, 0.5, -1.4375}, + {-2.5, 0.375, -1.5, -2.4375, 0.5, 0.5}, + {-2.4375, 0.375, 0.3125, -2.1875, 0.5, 0.4375}, + {-2.3125, 0.375, 0.25, -2, 0.5, 0.375}, + {-2.125, 0.375, 0.1875, -1.875, 0.5, 0.3125}, + {-2, 0.375, 0.125, -1.6875, 0.5, 0.25}, + {-1.875, 0.375, 0.0625, -1.5, 0.5, 0.1875}, + {-1.625, 0.375, 0, -1.375, 0.5, 0.125}, + {-1.5, 0.375, -0.0625, -1.1875, 0.5, 0.0625}, + {-1.3125, 0.375, -0.125, -1, 0.5, 0}, + {-1.125, 0.375, -0.1875, -0.875, 0.5, -0.0625}, + {-1, 0.375, -0.25, -0.6875, 0.5, -0.125}, + {-0.8125, 0.375, -0.3125, -0.5, 0.5, -0.1875}, + {-0.625, 0.375, -0.375, -0.375, 0.5, -0.25}, + {-0.5, 0.375, -0.4375, -0.1875, 0.5, -0.3125}, + {2.1875, 0.375, 0.3125, 2.4375, 0.5, 0.4375}, + {2, 0.375, 0.25, 2.3125, 0.5, 0.375}, + {1.875, 0.375, 0.1875, 2.125, 0.5, 0.3125}, + {1.6875, 0.375, 0.125, 2, 0.5, 0.25}, + {1.5, 0.375, 0.0625, 1.8125, 0.5, 0.1875}, + {1.1875, 0.375, -0.0625, 1.5, 0.5, 0.0625}, + {1.375, 0.375, 0, 1.625, 0.5, 0.125}, + {1, 0.375, -0.125, 1.3125, 0.5, 0}, + {0.875, 0.375, -0.1875, 1.125, 0.5, -0.0625}, + {0.6875, 0.375, -0.25, 1, 0.5, -0.125}, + {0.5, 0.375, -0.3125, 0.8125, 0.5, -0.1875}, + {0.375, 0.375, -0.375, 0.625, 0.5, -0.25}, + {0.1875, 0.375, -0.4375, 0.5, 0.5, -0.3125}, + {-0.375, 0.375, -0.625, 0.3125, 0.5, -0.375}, + {2.1875, 0.375, -1.4375, 2.4375, 0.5, -1.3125}, + {2, 0.375, -1.375, 2.3125, 0.5, -1.25}, + {1.875, 0.375, -1.3125, 2.125, 0.5, -1.1875}, + {1.6875, 0.375, -1.25, 2, 0.5, -1.125}, + {1.5, 0.375, -1.1875, 1.8125, 0.5, -1.0625}, + {1.375, 0.375, -1.125, 1.625, 0.5, -1}, + {1.1875, 0.375, -1.0625, 1.5, 0.5, -0.9375}, + {1, 0.375, -1, 1.3125, 0.5, -0.875}, + {0.875, 0.375, -0.9375, 1.125, 0.5, -0.8125}, + {0.6875, 0.375, -0.875, 1, 0.5, -0.75}, + {0.5, 0.375, -0.8125, 0.8125, 0.5, -0.6875}, + {0.375, 0.375, -0.75, 0.625, 0.5, -0.625}, + {0.1875, 0.375, -0.6875, 0.5, 0.5, -0.5625}, + {-2.4375, 0.375, -1.4375, -2.1875, 0.5, -1.3125}, + {-2.3125, 0.375, -1.375, -2, 0.5, -1.25}, + {-2.125, 0.375, -1.3125, -1.875, 0.5, -1.1875}, + {-2, 0.375, -1.25, -1.6875, 0.5, -1.125}, + {-1.8125, 0.375, -1.1875, -1.5, 0.5, -1.0625}, + {-1.625, 0.375, -1.125, -1.375, 0.5, -1}, + {-1.5, 0.375, -1.0625, -1.1875, 0.5, -0.9375}, + {-1.3125, 0.375, -1, -1, 0.5, -0.875}, + {-1.125, 0.375, -0.9375, -0.875, 0.5, -0.8125}, + {-1, 0.375, -0.875, -0.6875, 0.5, -0.75}, + {-0.8125, 0.375, -0.8125, -0.5, 0.5, -0.6875}, + {-0.625, 0.375, -0.75, -0.375, 0.5, -0.625}, + {-0.5, 0.375, -0.6875, -0.1875, 0.5, -0.5625}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-2.5, 0, -1.5, 2.5, 0.5, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + core.register_node("vlbridger:large_upper_chord_slanted_" .. bridge_color, { + description = bridge_desc .. " Large Slanted Upper Chord", + drawtype = "nodebox", + tiles = {"bridges_" .. bridge_color .. ".png"}, + inventory_image = "bridges_" .. bridge_color .. ".png^bridges_large_upper_chord_slanted.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_color .. ".png^bridges_large_upper_chord_slanted.png^[makealpha:255,126,126", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-2.5, -0.5625, -1.5, -2.4375, -0.4375, -1.375}, + {-2.5, -0.5625, -1.5, 2.5, -0.4375, -1.4375}, + {2.4375, -0.5625, -1.5, 2.5, -0.4375, -1.375}, + {2.4375, -0.5, -1.375, 2.5, -0.375, -1.25}, + {2.4375, -0.4375, -1.25, 2.5, -0.3125, -1.125}, + {2.4375, -0.375, -1.125, 2.5, -0.25, -1}, + {2.4375, -0.3125, -1, 2.5, -0.1875, -0.875}, + {2.4375, -0.25, -0.875, 2.5, -0.125, -0.75}, + {2.4375, -0.1875, -0.75, 2.5, -0.0625, -0.625}, + {2.4375, -0.125, -0.625, 2.5, -2.23517e-008, -0.5}, + {2.4375, -0.0625, -0.5, 2.5, 0.0625, -0.375}, + {2.4375, 0, -0.375, 2.5, 0.125, -0.25}, + {2.4375, 0.0625, -0.25, 2.5, 0.1875, -0.125}, + {2.4375, 0.125, -0.125, 2.5, 0.25, -9.68575e-008}, + {2.4375, 0.1875, 0, 2.5, 0.3125, 0.125}, + {2.4375, 0.25, 0.125, 2.5, 0.375, 0.25}, + {2.4375, 0.3125, 0.25, 2.5, 0.4375, 0.375}, + {2.4375, 0.375, 0.375, 2.5, 0.5, 0.5}, + {-2.5, 0.375, 0.4375, 2.5, 0.5, 0.5}, + {-2.5, -0.5, -1.375, -2.4375, -0.375, -1.25}, + {-2.5, -0.4375, -1.25, -2.4375, -0.3125, -1.125}, + {-2.5, -0.375, -1.125, -2.4375, -0.25, -1}, + {-2.5, -0.3125, -1, -2.4375, -0.1875, -0.875}, + {-2.5, -0.25, -0.875, -2.4375, -0.125, -0.75}, + {-2.5, -0.1875, -0.75, -2.4375, -0.0625, -0.625}, + {-2.5, -0.125, -0.625, -2.4375, 1.11759e-008, -0.5}, + {-2.5, -0.0625, -0.5, -2.4375, 0.0625, -0.375}, + {-2.5, 0, -0.375, -2.4375, 0.125, -0.25}, + {-2.5, 0.0625, -0.25, -2.4375, 0.1875, -0.125}, + {-2.5, 0.125, -0.125, -2.4375, 0.25, 1.67638e-007}, + {-2.5, 0.1875, 0, -2.4375, 0.3125, 0.125}, + {-2.5, 0.25, 0.125, -2.4375, 0.375, 0.25}, + {-2.5, 0.3125, 0.25, -2.4375, 0.4375, 0.375}, + {-2.5, 0.375, 0.375, -2.4375, 0.5, 0.5}, + {-2.4375, -0.5625, -1.4375, -2.1875, -0.4375, -1.375}, + {-2.4375, -0.5625, -1.375, -2, -0.4375, -1.3125}, + {-2.3125, -0.5625, -1.3125, -1.875, -0.4375, -1.25}, + {-2.125, -0.4375, -1.25, -1.6875, -0.3125, -1.1875}, + {-2, -0.4375, -1.1875, -1.5625, -0.3125, -1.125}, + {-1.8125, -0.375, -1.125, -1.375, -0.25, -1.0625}, + {-1.6875, -0.375, -1.0625, -1.25, -0.25, -1}, + {-1.5, -0.3125, -1, -1.0625, -0.1875, -0.9375}, + {-1.375, -0.3125, -0.9375, -0.937501, -0.1875, -0.875}, + {-1.1875, -0.25, -0.875, -0.750001, -0.125, -0.8125}, + {-1.0625, -0.25, -0.8125, -0.625001, -0.125, -0.75}, + {-0.875, -0.1875, -0.75, -0.437501, -0.0624999, -0.6875}, + {-0.75, -0.1875, -0.6875, -0.312501, -0.0624999, -0.625}, + {-0.5625, -0.125, -0.625, -0.125001, 1.60187e-007, -0.5625}, + {-0.4375, -0.125, -0.5625, 0.4375, 1.56462e-007, -0.5}, + {-0.4375, -0.0625, -0.5, 0.4375, 0.0625001, -0.4375}, + {-0.5625, -0.0625, -0.4375, -0.125, 0.0625001, -0.375}, + {-0.75, 0, -0.375, -0.3125, 0.125, -0.3125}, + {-0.875, 0, -0.3125, -0.4375, 0.125, -0.25}, + {-1.0625, 0.0625, -0.25, -0.625, 0.1875, -0.1875}, + {-1.1875, 0.0625, -0.1875, -0.75, 0.1875, -0.125}, + {-1.375, 0.125, -0.125, -0.9375, 0.25, -0.0625001}, + {-1.5, 0.125, -0.0625, -1.0625, 0.25, -7.07805e-008}, + {-1.6875, 0.1875, 0, -1.25, 0.3125, 0.0624999}, + {-1.8125, 0.1875, 0.0625, -1.375, 0.3125, 0.125}, + {-2, 0.25, 0.125, -1.5625, 0.375, 0.1875}, + {-2.125, 0.25, 0.1875, -1.6875, 0.375, 0.25}, + {-2.3125, 0.3125, 0.25, -1.875, 0.4375, 0.3125}, + {-2.4375, 0.3125, 0.3125, -2, 0.4375, 0.375}, + {-2.4375, 0.375, 0.375, -2.1875, 0.5, 0.4375}, + {2.1875, 0.375, 0.375, 2.4375, 0.5, 0.4375}, + {2, 0.3125, 0.3125, 2.4375, 0.4375, 0.375}, + {1.875, 0.3125, 0.25, 2.3125, 0.4375, 0.3125}, + {1.6875, 0.25, 0.1875, 2.125, 0.375, 0.25}, + {1.5625, 0.25, 0.125, 2, 0.375, 0.1875}, + {1.375, 0.1875, 0.0625, 1.8125, 0.3125, 0.125}, + {1.25, 0.1875, 0, 1.6875, 0.3125, 0.0624999}, + {1.0625, 0.125, -0.0625, 1.5, 0.25, -6.70552e-008}, + {0.9375, 0.125, -0.125, 1.375, 0.25, -0.0625001}, + {0.75, 0.0625, -0.1875, 1.1875, 0.1875, -0.125}, + {0.625, 0.0625, -0.25, 1.0625, 0.1875, -0.1875}, + {0.4375, 0, -0.3125, 0.875, 0.125, -0.25}, + {0.3125, 0, -0.375, 0.75, 0.125, -0.3125}, + {0.125, 0, -0.4375, 0.5625, 0.125, -0.375}, + {0.125, -0.125, -0.625, 0.5625, 1.22935e-007, -0.5625}, + {0.3125, -0.1875, -0.6875, 0.75, -0.0624999, -0.625}, + {0.4375, -0.1875, -0.75, 0.875, -0.0624999, -0.6875}, + {0.625, -0.25, -0.8125, 1.0625, -0.125, -0.75}, + {0.75, -0.25, -0.875, 1.1875, -0.125, -0.8125}, + {0.9375, -0.3125, -0.9375, 1.375, -0.1875, -0.875}, + {1.0625, -0.3125, -1, 1.5, -0.1875, -0.9375}, + {1.25, -0.375, -1.0625, 1.6875, -0.25, -1}, + {1.375, -0.375, -1.125, 1.8125, -0.25, -1.0625}, + {1.5625, -0.4375, -1.1875, 2, -0.3125, -1.125}, + {1.6875, -0.4375, -1.25, 2.125, -0.3125, -1.1875}, + {1.875, -0.5, -1.3125, 2.3125, -0.375, -1.25}, + {2, -0.5, -1.375, 2.4375, -0.375, -1.3125}, + {2.1875, -0.5625, -1.4375, 2.4375, -0.4375, -1.375}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-2.5, -0.5, -1.5, 2.5, 0.5, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + core.register_node("vlbridger:small_support_" .. bridge_color, { + description = bridge_desc .. " Small Support", + drawtype = "nodebox", + tiles = {"bridges_" .. bridge_color .. ".png"}, + inventory_image = "bridges_" .. bridge_color .. ".png^bridges_small_support.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_color .. ".png^bridges_small_support.png^[makealpha:255,126,126", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {0.375, -0.5, -0.5, 0.5, 0.5, -0.375}, + {-0.5, -0.5, -0.5, -0.375, 0.5, -0.375}, + {-0.4375, -0.4375, -0.5, -0.3125, -0.3125, -0.375}, + {-0.375, -0.375, -0.5, -0.25, -0.25, -0.375}, + {-0.3125, -0.3125, -0.5, -0.1875, -0.1875, -0.375}, + {-0.25, -0.25, -0.5, -0.125, -0.125, -0.375}, + {-0.1875, -0.1875, -0.5, -0.0625, -0.0625, -0.375}, + {-0.125, -0.125, -0.5, 0.125, 0.125, -0.375}, + {0.0625, 0.0625, -0.5, 0.1875, 0.1875, -0.375}, + {0.125, 0.125, -0.5, 0.25, 0.25, -0.375}, + {0.1875, 0.1875, -0.5, 0.3125, 0.3125, -0.375}, + {0.25, 0.25, -0.5, 0.375, 0.375, -0.375}, + {0.3125, 0.3125, -0.5, 0.4375, 0.4375, -0.375}, + {-0.4375, 0.3125, -0.5, -0.3125, 0.4375, -0.375}, + {-0.375, 0.25, -0.5, -0.25, 0.375, -0.375}, + {-0.3125, 0.1875, -0.5, -0.1875, 0.3125, -0.375}, + {-0.25, 0.125, -0.5, -0.125, 0.25, -0.375}, + {-0.1875, 0.0625, -0.5, -0.0625, 0.1875, -0.375}, + {0.0625, -0.1875, -0.5, 0.1875, -0.0625, -0.375}, + {0.125, -0.25, -0.5, 0.25, -0.125, -0.375}, + {0.1875, -0.3125, -0.5, 0.3125, -0.1875, -0.375}, + {0.25, -0.375, -0.5, 0.375, -0.25, -0.375}, + {0.3125, -0.4375, -0.5, 0.4375, -0.3125, -0.375}, + {-0.5, -0.4375, 0.3125, -0.375, -0.3125, 0.4375}, + {-0.5, -0.375, 0.25, -0.375, -0.25, 0.375}, + {-0.5, -0.3125, 0.1875, -0.375, -0.1875, 0.3125}, + {-0.5, -0.25, 0.125, -0.375, -0.125, 0.25}, + {-0.5, -0.1875, 0.0625, -0.375, -0.0625, 0.1875}, + {-0.5, -0.125, -0.125, -0.375, 0.125, 0.125}, + {-0.5, 0.0625, -0.1875, -0.375, 0.1875, -0.0625}, + {-0.5, 0.125, -0.25, -0.375, 0.25, -0.125}, + {-0.5, 0.1875, -0.3125, -0.375, 0.3125, -0.1875}, + {-0.5, 0.25, -0.375, -0.375, 0.375, -0.25}, + {-0.5, 0.3125, -0.4375, -0.375, 0.4375, -0.3125}, + {-0.5, 0.3125, 0.3125, -0.375, 0.4375, 0.4375}, + {-0.5, 0.25, 0.25, -0.375, 0.375, 0.375}, + {-0.5, 0.1875, 0.1875, -0.375, 0.3125, 0.3125}, + {-0.5, 0.125, 0.125, -0.375, 0.25, 0.25}, + {-0.5, 0.0625, 0.0625, -0.375, 0.1875, 0.1875}, + {-0.5, -0.1875, -0.1875, -0.375, -0.0625, -0.0625}, + {-0.5, -0.25, -0.25, -0.375, -0.125, -0.125}, + {-0.5, -0.3125, -0.3125, -0.375, -0.1875, -0.1875}, + {-0.5, -0.375, -0.375, -0.375, -0.25, -0.25}, + {-0.5, -0.4375, -0.4375, -0.375, -0.3125, -0.3125}, + {0.3125, -0.4375, 0.375, 0.4375, -0.3125, 0.5}, + {0.25, -0.375, 0.375, 0.375, -0.25, 0.5}, + {0.1875, -0.3125, 0.375, 0.3125, -0.1875, 0.5}, + {0.125, -0.25, 0.375, 0.25, -0.125, 0.5}, + {0.0625, -0.1875, 0.375, 0.1875, -0.0625, 0.5}, + {-0.125, -0.125, 0.375, 0.125, 0.125, 0.5}, + {-0.1875, 0.0625, 0.375, -0.0625, 0.1875, 0.5}, + {-0.25, 0.125, 0.375, -0.125, 0.25, 0.5}, + {-0.3125, 0.1875, 0.375, -0.1875, 0.3125, 0.5}, + {-0.375, 0.25, 0.375, -0.25, 0.375, 0.5}, + {-0.4375, 0.3125, 0.375, -0.3125, 0.4375, 0.5}, + {0.3125, 0.3125, 0.375, 0.4375, 0.4375, 0.5}, + {0.25, 0.25, 0.375, 0.375, 0.375, 0.5}, + {0.1875, 0.1875, 0.375, 0.3125, 0.3125, 0.5}, + {0.125, 0.125, 0.375, 0.25, 0.25, 0.5}, + {0.0625, 0.0625, 0.375, 0.1875, 0.1875, 0.5}, + {-0.1875, -0.1875, 0.375, -0.0625, -0.0625, 0.5}, + {-0.25, -0.25, 0.375, -0.125, -0.125, 0.5}, + {-0.3125, -0.3125, 0.375, -0.1875, -0.1875, 0.5}, + {-0.375, -0.375, 0.375, -0.25, -0.25, 0.5}, + {-0.4375, -0.4375, 0.375, -0.3125, -0.3125, 0.5}, + {0.375, -0.4375, -0.4375, 0.5, -0.3125, -0.3125}, + {0.375, -0.375, -0.375, 0.5, -0.25, -0.25}, + {0.375, -0.3125, -0.3125, 0.5, -0.1875, -0.1875}, + {0.375, -0.25, -0.25, 0.5, -0.125, -0.125}, + {0.375, -0.1875, -0.1875, 0.5, -0.0625, -0.0625}, + {0.375, -0.125, -0.125, 0.5, 0.125, 0.125}, + {0.375, 0.0625, 0.0625, 0.5, 0.1875, 0.1875}, + {0.375, 0.125, 0.125, 0.5, 0.25, 0.25}, + {0.375, 0.1875, 0.1875, 0.5, 0.3125, 0.3125}, + {0.375, 0.25, 0.25, 0.5, 0.375, 0.375}, + {0.375, 0.3125, 0.3125, 0.5, 0.4375, 0.4375}, + {0.375, 0.3125, -0.4375, 0.5, 0.4375, -0.3125}, + {0.375, 0.25, -0.375, 0.5, 0.375, -0.25}, + {0.375, 0.1875, -0.3125, 0.5, 0.3125, -0.1875}, + {0.375, 0.125, -0.25, 0.5, 0.25, -0.125}, + {0.375, 0.0625, -0.1875, 0.5, 0.1875, -0.0625}, + {0.375, -0.1875, 0.0625, 0.5, -0.0625, 0.1875}, + {0.375, -0.25, 0.125, 0.5, -0.125, 0.25}, + {0.375, -0.3125, 0.1875, 0.5, -0.1875, 0.3125}, + {0.375, -0.375, 0.25, 0.5, -0.25, 0.375}, + {0.375, -0.4375, 0.3125, 0.5, -0.3125, 0.4375}, + {-0.5, -0.5, 0.375, -0.375, 0.5, 0.5}, + {0.375, -0.5, 0.375, 0.5, 0.5, 0.5}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + core.register_node("vlbridger:small_support_top_" .. bridge_color, { + description = bridge_desc .. " Small Support Top", + drawtype = "nodebox", + tiles = {"bridges_" .. bridge_color .. ".png"}, + inventory_image = "bridges_" .. bridge_color .. ".png^bridges_small_support_top.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_color .. ".png^bridges_small_support_top.png^[makealpha:255,126,126", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {0.375, -0.5, -0.5, 0.5, 1.5, -0.375}, + {-0.5, -0.5, -0.5, -0.375, 1.5, -0.375}, + {0.3125, -0.4375, -0.5, 0.4375, -0.3125, -0.375}, + {0.25, -0.375, -0.5, 0.375, -0.25, -0.375}, + {0.1875, -0.3125, -0.5, 0.3125, -0.1875, -0.375}, + {0.125, -0.25, -0.5, 0.25, -0.125, -0.375}, + {0.0625, -0.1875, -0.5, 0.1875, -0.0625, -0.375}, + {-0.125, -0.125, -0.5, 0.125, 0.125, -0.375}, + {-0.1875, -0.1875, -0.5, -0.0625, -0.0625, -0.375}, + {-0.25, -0.25, -0.5, -0.125, -0.125, -0.375}, + {-0.3125, -0.3125, -0.5, -0.1875, -0.1875, -0.375}, + {-0.375, -0.375, -0.5, -0.25, -0.25, -0.375}, + {-0.4375, -0.4375, -0.5, -0.3125, -0.3125, -0.375}, + {0.0625, 0.0625, -0.5, 0.1875, 0.1875, -0.375}, + {0.125, 0.125, -0.5, 0.25, 0.25, -0.375}, + {0.1875, 0.1875, -0.5, 0.3125, 0.3125, -0.375}, + {0.25, 0.25, -0.5, 0.375, 0.375, -0.375}, + {0.3125, 0.3125, -0.5, 0.4375, 0.4375, -0.375}, + {-0.1875, 0.0625, -0.5, -0.0625, 0.1875, -0.375}, + {-0.25, 0.125, -0.5, -0.125, 0.25, -0.375}, + {-0.3125, 0.1875, -0.5, -0.1875, 0.3125, -0.375}, + {-0.375, 0.25, -0.5, -0.25, 0.375, -0.375}, + {-0.4375, 0.3125, -0.5, -0.3125, 0.4375, -0.375}, + {-0.4375, 0.5625, -0.5, -0.3125, 0.6875, -0.375}, + {-0.375, 0.625, -0.5, -0.25, 0.75, -0.375}, + {-0.3125, 0.6875, -0.5, -0.1875, 0.8125, -0.375}, + {-0.25, 0.75, -0.5, -0.125, 0.875, -0.375}, + {-0.1875, 0.8125, -0.5, -0.0625001, 0.9375, -0.375}, + {0.3125, 0.5625, -0.5, 0.4375, 0.6875, -0.375}, + {0.25, 0.625, -0.5, 0.375, 0.75, -0.375}, + {0.1875, 0.6875, -0.5, 0.3125, 0.8125, -0.375}, + {0.125, 0.75, -0.5, 0.25, 0.875, -0.375}, + {0.0625, 0.8125, -0.5, 0.1875, 0.9375, -0.375}, + {-0.125, 0.875, -0.5, 0.125, 1.125, -0.375}, + {0.0625, 1.0625, -0.5, 0.1875, 1.1875, -0.375}, + {0.125, 1.125, -0.5, 0.25, 1.25, -0.375}, + {0.1875, 1.1875, -0.5, 0.3125, 1.3125, -0.375}, + {0.25, 1.25, -0.5, 0.375, 1.375, -0.375}, + {0.3125, 1.3125, -0.5, 0.4375, 1.4375, -0.375}, + {-0.1875, 1.0625, -0.5, -0.0625, 1.1875, -0.375}, + {-0.25, 1.125, -0.5, -0.125, 1.25, -0.375}, + {-0.3125, 1.1875, -0.5, -0.1875, 1.3125, -0.375}, + {-0.375, 1.25, -0.5, -0.25, 1.375, -0.375}, + {-0.4375, 1.3125, -0.5, -0.3125, 1.4375, -0.375}, + {-0.5, -0.5, 0.375, -0.375, 1.5, 0.5}, + {0.375, -0.5, 0.375, 0.5, 1.5, 0.5}, + {-0.4375, -0.4375, 0.375, -0.3125, -0.3125, 0.5}, + {-0.375, -0.375, 0.375, -0.25, -0.25, 0.5}, + {-0.3125, -0.3125, 0.375, -0.1875, -0.1875, 0.5}, + {-0.25, -0.25, 0.375, -0.125, -0.125, 0.5}, + {-0.1875, -0.1875, 0.375, -0.0625, -0.0625, 0.5}, + {-0.125, -0.125, 0.375, 0.125, 0.125, 0.5}, + {0.0625, -0.1875, 0.375, 0.1875, -0.0625, 0.5}, + {0.125, -0.25, 0.375, 0.25, -0.125, 0.5}, + {0.1875, -0.3125, 0.375, 0.3125, -0.1875, 0.5}, + {0.25, -0.375, 0.375, 0.375, -0.25, 0.5}, + {0.3125, -0.4375, 0.375, 0.4375, -0.3125, 0.5}, + {-0.1875, 0.0625, 0.375, -0.0625, 0.1875, 0.5}, + {-0.25, 0.125, 0.375, -0.125, 0.25, 0.5}, + {-0.3125, 0.1875, 0.375, -0.1875, 0.3125, 0.5}, + {-0.375, 0.25, 0.375, -0.25, 0.375, 0.5}, + {-0.4375, 0.3125, 0.375, -0.3125, 0.4375, 0.5}, + {0.0625, 0.0625, 0.375, 0.1875, 0.1875, 0.5}, + {0.125, 0.125, 0.375, 0.25, 0.25, 0.5}, + {0.1875, 0.1875, 0.375, 0.3125, 0.3125, 0.5}, + {0.25, 0.25, 0.375, 0.375, 0.375, 0.5}, + {0.3125, 0.3125, 0.375, 0.4375, 0.4375, 0.5}, + {0.3125, 0.5625, 0.375, 0.4375, 0.6875, 0.5}, + {0.25, 0.625, 0.375, 0.375, 0.75, 0.5}, + {0.1875, 0.6875, 0.375, 0.3125, 0.8125, 0.5}, + {0.125, 0.75, 0.375, 0.25, 0.875, 0.5}, + {0.0625001, 0.8125, 0.375, 0.1875, 0.9375, 0.5}, + {-0.4375, 0.5625, 0.375, -0.3125, 0.6875, 0.5}, + {-0.375, 0.625, 0.375, -0.25, 0.75, 0.5}, + {-0.3125, 0.6875, 0.375, -0.1875, 0.8125, 0.5}, + {-0.25, 0.75, 0.375, -0.125, 0.875, 0.5}, + {-0.1875, 0.8125, 0.375, -0.0625, 0.9375, 0.5}, + {-0.125, 0.875, 0.375, 0.125, 1.125, 0.5}, + {-0.1875, 1.0625, 0.375, -0.0625, 1.1875, 0.5}, + {-0.25, 1.125, 0.375, -0.125, 1.25, 0.5}, + {-0.3125, 1.1875, 0.375, -0.1875, 1.3125, 0.5}, + {-0.375, 1.25, 0.375, -0.25, 1.375, 0.5}, + {-0.4375, 1.3125, 0.375, -0.3125, 1.4375, 0.5}, + {0.0625, 1.0625, 0.375, 0.1875, 1.1875, 0.5}, + {0.125, 1.125, 0.375, 0.25, 1.25, 0.5}, + {0.1875, 1.1875, 0.375, 0.3125, 1.3125, 0.5}, + {0.25, 1.25, 0.375, 0.375, 1.375, 0.5}, + {0.3125, 1.3125, 0.375, 0.4375, 1.4375, 0.5}, + {0.375, -0.4375, 0.3125, 0.5, -0.3125, 0.4375}, + {0.375, -0.375, 0.25, 0.5, -0.25, 0.375}, + {0.375, -0.3125, 0.1875, 0.5, -0.1875, 0.3125}, + {0.375, -0.25, 0.125, 0.5, -0.125, 0.25}, + {0.375, -0.1875, 0.0625, 0.5, -0.0625, 0.1875}, + {0.375, -0.125, -0.125, 0.5, 0.125, 0.125}, + {0.375, -0.1875, -0.1875, 0.5, -0.0625, -0.0625}, + {0.375, -0.25, -0.25, 0.5, -0.125, -0.125}, + {0.375, -0.3125, -0.3125, 0.5, -0.1875, -0.1875}, + {0.375, -0.375, -0.375, 0.5, -0.25, -0.25}, + {0.375, -0.4375, -0.4375, 0.5, -0.3125, -0.3125}, + {0.375, 0.0625, 0.0625, 0.5, 0.1875, 0.1875}, + {0.375, 0.125, 0.125, 0.5, 0.25, 0.25}, + {0.375, 0.1875, 0.1875, 0.5, 0.3125, 0.3125}, + {0.375, 0.25, 0.25, 0.5, 0.375, 0.375}, + {0.375, 0.3125, 0.3125, 0.5, 0.4375, 0.4375}, + {0.375, 0.0625, -0.1875, 0.5, 0.1875, -0.0625}, + {0.375, 0.125, -0.25, 0.5, 0.25, -0.125}, + {0.375, 0.1875, -0.3125, 0.5, 0.3125, -0.1875}, + {0.375, 0.25, -0.375, 0.5, 0.375, -0.25}, + {0.375, 0.3125, -0.4375, 0.5, 0.4375, -0.3125}, + {0.375, 0.5625, -0.4375, 0.5, 0.6875, -0.3125}, + {0.375, 0.625, -0.375, 0.5, 0.75, -0.25}, + {0.375, 0.6875, -0.3125, 0.5, 0.8125, -0.1875}, + {0.375, 0.75, -0.25, 0.5, 0.875, -0.125}, + {0.375, 0.8125, -0.1875, 0.5, 0.9375, -0.0625001}, + {0.375, 0.5625, 0.3125, 0.5, 0.6875, 0.4375}, + {0.375, 0.625, 0.25, 0.5, 0.75, 0.375}, + {0.375, 0.6875, 0.1875, 0.5, 0.8125, 0.3125}, + {0.375, 0.75, 0.125, 0.5, 0.875, 0.25}, + {0.375, 0.8125, 0.0625, 0.5, 0.9375, 0.1875}, + {0.375, 0.875, -0.125, 0.5, 1.125, 0.125}, + {0.375, 1.0625, 0.0625, 0.5, 1.1875, 0.1875}, + {0.375, 1.125, 0.125, 0.5, 1.25, 0.25}, + {0.375, 1.1875, 0.1875, 0.5, 1.3125, 0.3125}, + {0.375, 1.25, 0.25, 0.5, 1.375, 0.375}, + {0.375, 1.3125, 0.3125, 0.5, 1.4375, 0.4375}, + {0.375, 1.0625, -0.1875, 0.5, 1.1875, -0.0625}, + {0.375, 1.125, -0.25, 0.5, 1.25, -0.125}, + {0.375, 1.1875, -0.3125, 0.5, 1.3125, -0.1875}, + {0.375, 1.25, -0.375, 0.5, 1.375, -0.25}, + {0.375, 1.3125, -0.4375, 0.5, 1.4375, -0.3125}, + {-0.5, -0.4375, -0.4375, -0.375, -0.3125, -0.3125}, + {-0.5, -0.375, -0.375, -0.375, -0.25, -0.25}, + {-0.5, -0.3125, -0.3125, -0.375, -0.1875, -0.1875}, + {-0.5, -0.25, -0.25, -0.375, -0.125, -0.125}, + {-0.5, -0.1875, -0.1875, -0.375, -0.0625, -0.0625}, + {-0.5, -0.125, -0.125, -0.375, 0.125, 0.125}, + {-0.5, -0.1875, 0.0625, -0.375, -0.0625, 0.1875}, + {-0.5, -0.25, 0.125, -0.375, -0.125, 0.25}, + {-0.5, -0.3125, 0.1875, -0.375, -0.1875, 0.3125}, + {-0.5, -0.375, 0.25, -0.375, -0.25, 0.375}, + {-0.5, -0.4375, 0.3125, -0.375, -0.3125, 0.4375}, + {-0.5, 0.0625, -0.1875, -0.375, 0.1875, -0.0625}, + {-0.5, 0.125, -0.25, -0.375, 0.25, -0.125}, + {-0.5, 0.1875, -0.3125, -0.375, 0.3125, -0.1875}, + {-0.5, 0.25, -0.375, -0.375, 0.375, -0.25}, + {-0.5, 0.3125, -0.4375, -0.375, 0.4375, -0.3125}, + {-0.5, 0.0625, 0.0625, -0.375, 0.1875, 0.1875}, + {-0.5, 0.125, 0.125, -0.375, 0.25, 0.25}, + {-0.5, 0.1875, 0.1875, -0.375, 0.3125, 0.3125}, + {-0.5, 0.25, 0.25, -0.375, 0.375, 0.375}, + {-0.5, 0.3125, 0.3125, -0.375, 0.4375, 0.4375}, + {-0.5, 0.5625, 0.3125, -0.375, 0.6875, 0.4375}, + {-0.5, 0.625, 0.25, -0.375, 0.75, 0.375}, + {-0.5, 0.6875, 0.1875, -0.375, 0.8125, 0.3125}, + {-0.5, 0.75, 0.125, -0.375, 0.875, 0.25}, + {-0.5, 0.8125, 0.0625001, -0.375, 0.9375, 0.1875}, + {-0.5, 0.5625, -0.4375, -0.375, 0.6875, -0.3125}, + {-0.5, 0.625, -0.375, -0.375, 0.75, -0.25}, + {-0.5, 0.6875, -0.3125, -0.375, 0.8125, -0.1875}, + {-0.5, 0.75, -0.25, -0.375, 0.875, -0.125}, + {-0.5, 0.8125, -0.1875, -0.375, 0.9375, -0.0625}, + {-0.5, 0.875, -0.125, -0.375, 1.125, 0.125}, + {-0.5, 1.0625, -0.1875, -0.375, 1.1875, -0.0625}, + {-0.5, 1.125, -0.25, -0.375, 1.25, -0.125}, + {-0.5, 1.1875, -0.3125, -0.375, 1.3125, -0.1875}, + {-0.5, 1.25, -0.375, -0.375, 1.375, -0.25}, + {-0.5, 1.3125, -0.4375, -0.375, 1.4375, -0.3125}, + {-0.5, 1.0625, 0.0625, -0.375, 1.1875, 0.1875}, + {-0.5, 1.125, 0.125, -0.375, 1.25, 0.25}, + {-0.5, 1.1875, 0.1875, -0.375, 1.3125, 0.3125}, + {-0.5, 1.25, 0.25, -0.375, 1.375, 0.375}, + {-0.5, 1.3125, 0.3125, -0.375, 1.4375, 0.4375}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 1.5, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + core.register_node("vlbridger:medium_support_" .. bridge_color, { + description = bridge_desc .. " Medium Support", + drawtype = "nodebox", + tiles = {"bridges_" .. bridge_color .. ".png"}, + inventory_image = "bridges_" .. bridge_color .. ".png^bridges_medium_support.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_color .. ".png^bridges_medium_support.png^[makealpha:255,126,126", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-1.5, -0.5, 0.3125, -1.25, 2.5, 0.5625}, + {1.25, -0.5, 0.3125, 1.5, 2.5, 0.5625}, + {-1.4375, 2.3125, 0.375, -1.3125, 2.4375, 0.5}, + {-1.375, 2.25, 0.375, -1.25, 2.375, 0.5}, + {-1.3125, 2.1875, 0.375, -1.1875, 2.3125, 0.5}, + {-1.25, 2.125, 0.375, -1.125, 2.25, 0.5}, + {-1.1875, 2.0625, 0.375, -1.0625, 2.1875, 0.5}, + {-1.125, 2, 0.375, -1, 2.125, 0.5}, + {-1.0625, 1.9375, 0.375, -0.9375, 2.0625, 0.5}, + {-1, 1.875, 0.375, -0.875, 2, 0.5}, + {-0.9375, 1.8125, 0.375, -0.8125, 1.9375, 0.5}, + {-0.875, 1.75, 0.375, -0.75, 1.875, 0.5}, + {-0.8125, 1.6875, 0.375, -0.6875, 1.8125, 0.5}, + {-0.75, 1.625, 0.375, -0.625, 1.75, 0.5}, + {-0.6875, 1.5625, 0.375, -0.5625, 1.6875, 0.5}, + {-0.625, 1.5, 0.375, -0.5, 1.625, 0.5}, + {-0.5625, 1.4375, 0.375, -0.4375, 1.5625, 0.5}, + {-0.5, 1.375, 0.375, -0.375, 1.5, 0.5}, + {-0.4375, 1.3125, 0.375, -0.3125, 1.4375, 0.5}, + {-0.375, 1.25, 0.375, -0.25, 1.375, 0.5}, + {-0.3125, 1.1875, 0.375, -0.1875, 1.3125, 0.5}, + {-0.25, 1.125, 0.375, -0.125, 1.25, 0.5}, + {-0.1875, 1.0625, 0.375, -0.0625, 1.1875, 0.5}, + {-0.125, 0.875, 0.375, 0.125, 1.125, 0.5}, + {0.0625, 0.8125, 0.375, 0.1875, 0.9375, 0.5}, + {0.125, 0.75, 0.375, 0.25, 0.875, 0.5}, + {0.1875, 0.6875, 0.375, 0.3125, 0.8125, 0.5}, + {0.25, 0.625, 0.375, 0.375, 0.75, 0.5}, + {0.3125, 0.5625, 0.375, 0.4375, 0.6875, 0.5}, + {0.375, 0.5, 0.375, 0.5, 0.625, 0.5}, + {0.4375, 0.4375, 0.375, 0.5625, 0.5625, 0.5}, + {0.5, 0.375, 0.375, 0.625, 0.5, 0.5}, + {0.5625, 0.3125, 0.375, 0.6875, 0.4375, 0.5}, + {0.625, 0.25, 0.375, 0.75, 0.375, 0.5}, + {0.6875, 0.1875, 0.375, 0.8125, 0.3125, 0.5}, + {0.75, 0.125, 0.375, 0.875, 0.25, 0.5}, + {0.8125, 0.0625, 0.375, 0.9375, 0.1875, 0.5}, + {0.875, 0, 0.375, 1, 0.125, 0.5}, + {0.9375, -0.0625, 0.375, 1.0625, 0.0625, 0.5}, + {1, -0.125, 0.375, 1.125, 0, 0.5}, + {1.0625, -0.1875, 0.375, 1.1875, -0.0625, 0.5}, + {1.125, -0.25, 0.375, 1.25, -0.125, 0.5}, + {1.1875, -0.3125, 0.375, 1.3125, -0.1875, 0.5}, + {1.25, -0.375, 0.375, 1.375, -0.25, 0.5}, + {1.3125, -0.4375, 0.375, 1.4375, -0.3125, 0.5}, + {1.3125, 2.3125, 0.375, 1.4375, 2.4375, 0.5}, + {1.25, 2.25, 0.375, 1.375, 2.375, 0.5}, + {1.1875, 2.1875, 0.375, 1.3125, 2.3125, 0.5}, + {1.125, 2.125, 0.375, 1.25, 2.25, 0.5}, + {1.0625, 2.0625, 0.375, 1.1875, 2.1875, 0.5}, + {1, 2, 0.375, 1.125, 2.125, 0.5}, + {0.9375, 1.9375, 0.375, 1.0625, 2.0625, 0.5}, + {0.875, 1.875, 0.375, 1, 2, 0.5}, + {0.8125, 1.8125, 0.375, 0.9375, 1.9375, 0.5}, + {0.75, 1.75, 0.375, 0.875, 1.875, 0.5}, + {0.6875, 1.6875, 0.375, 0.8125, 1.8125, 0.5}, + {0.625, 1.625, 0.375, 0.75, 1.75, 0.5}, + {0.5625, 1.5625, 0.375, 0.6875, 1.6875, 0.5}, + {0.5, 1.5, 0.375, 0.625, 1.625, 0.5}, + {0.4375, 1.4375, 0.375, 0.5625, 1.5625, 0.5}, + {0.375, 1.375, 0.375, 0.5, 1.5, 0.5}, + {0.3125, 1.3125, 0.375, 0.4375, 1.4375, 0.5}, + {0.25, 1.25, 0.375, 0.375, 1.375, 0.5}, + {0.1875, 1.1875, 0.375, 0.3125, 1.3125, 0.5}, + {0.125, 1.125, 0.375, 0.25, 1.25, 0.5}, + {0.0625, 1.0625, 0.375, 0.1875, 1.1875, 0.5}, + {-0.1875, 0.8125, 0.375, -0.0625, 0.9375, 0.5}, + {-0.25, 0.75, 0.375, -0.125, 0.875, 0.5}, + {-0.3125, 0.6875, 0.375, -0.1875, 0.8125, 0.5}, + {-0.375, 0.625, 0.375, -0.25, 0.75, 0.5}, + {-0.4375, 0.5625, 0.375, -0.3125, 0.6875, 0.5}, + {-0.5, 0.5, 0.375, -0.375, 0.625, 0.5}, + {-0.5625, 0.4375, 0.375, -0.4375, 0.5625, 0.5}, + {-0.625, 0.375, 0.375, -0.5, 0.5, 0.5}, + {-0.6875, 0.3125, 0.375, -0.5625, 0.4375, 0.5}, + {-0.75, 0.25, 0.375, -0.625, 0.375, 0.5}, + {-0.8125, 0.1875, 0.375, -0.6875, 0.3125, 0.5}, + {-0.875, 0.125, 0.375, -0.75, 0.25, 0.5}, + {-0.9375, 0.0625, 0.375, -0.8125, 0.1875, 0.5}, + {-1, 0, 0.375, -0.875, 0.125, 0.5}, + {-1.0625, -0.0625, 0.375, -0.9375, 0.0625, 0.5}, + {-1.125, -0.125, 0.375, -1, 0, 0.5}, + {-1.1875, -0.1875, 0.375, -1.0625, -0.0625, 0.5}, + {-1.25, -0.25, 0.375, -1.125, -0.125, 0.5}, + {-1.3125, -0.3125, 0.375, -1.1875, -0.1875, 0.5}, + {-1.375, -0.375, 0.375, -1.25, -0.25, 0.5}, + {-1.4375, -0.4375, 0.375, -1.3125, -0.3125, 0.5}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-1.5, -0.5, 0, 1.5, 2.5, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + core.register_node("vlbridger:medium_support_bot_" .. bridge_color, { + description = bridge_desc .. " Bottom Medium Support", + drawtype = "nodebox", + tiles = {"bridges_" .. bridge_color .. ".png"}, + inventory_image = "bridges_" .. bridge_color .. ".png^bridges_medium_support_bot.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_color .. ".png^bridges_medium_support_bot.png^[makealpha:255,126,126", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-1.5625, -0.5, 0.25, -1.1875, 0.5, 0.625}, + {1.1875, -0.5, 0.25, 1.5625, 0.5, 0.625}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-1.5, -0.5, 0, 1.5, 0.5, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + core.register_node("vlbridger:large_support_" .. bridge_color, { + description = bridge_desc .. " Large Support", + drawtype = "nodebox", + tiles = {"bridges_" .. bridge_color .. ".png"}, + inventory_image = "bridges_" .. bridge_color .. ".png^bridges_large_support.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_color .. ".png^bridges_large_support.png^[makealpha:255,126,126", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-2.5, -0.5, 0.3125, -2.25, 2.5, 0.5625}, + {2.25, -0.5, 0.3125, 2.5, 2.5, 0.5625}, + {2.25, 2.375, 0.375, 2.375, 2.5, 0.5}, + {2.125, 2.3125, 0.375, 2.3125, 2.4375, 0.5}, + {2, 2.25, 0.375, 2.1875, 2.375, 0.5}, + {1.9375, 2.1875, 0.375, 2.0625, 2.3125, 0.5}, + {1.8125, 2.125, 0.375, 2, 2.25, 0.5}, + {1.75, 2.0625, 0.375, 1.875, 2.1875, 0.5}, + {1.625, 2, 0.375, 1.8125, 2.125, 0.5}, + {1.5, 1.9375, 0.375, 1.6875, 2.0625, 0.5}, + {1.4375, 1.875, 0.375, 1.5625, 2, 0.5}, + {1.3125, 1.8125, 0.375, 1.5, 1.9375, 0.5}, + {1.25, 1.75, 0.375, 1.375, 1.875, 0.5}, + {1.125, 1.6875, 0.375, 1.3125, 1.8125, 0.5}, + {1, 1.625, 0.375, 1.1875, 1.75, 0.5}, + {0.9375, 1.5625, 0.375, 1.0625, 1.6875, 0.5}, + {0.8125, 1.5, 0.375, 1, 1.625, 0.5}, + {0.75, 1.4375, 0.375, 0.875, 1.5625, 0.5}, + {0.625, 1.375, 0.375, 0.8125, 1.5, 0.5}, + {0.5, 1.3125, 0.375, 0.6875, 1.4375, 0.5}, + {0.4375, 1.25, 0.375, 0.5625, 1.375, 0.5}, + {0.3125, 1.1875, 0.375, 0.5, 1.3125, 0.5}, + {0.25, 1.125, 0.375, 0.375, 1.25, 0.5}, + {0.125, 1.0625, 0.375, 0.3125, 1.1875, 0.5}, + {0, 1, 0.375, 0.1875, 1.125, 0.5}, + {-2.375, -0.5, 0.375, -2.25, -0.375, 0.5}, + {-2.3125, -0.4375, 0.375, -2.125, -0.3125, 0.5}, + {-2.1875, -0.375, 0.375, -2, -0.25, 0.5}, + {-2.0625, -0.3125, 0.375, -1.9375, -0.1875, 0.5}, + {-2, -0.25, 0.375, -1.8125, -0.125, 0.5}, + {-1.875, -0.1875, 0.375, -1.75, -0.0625, 0.5}, + {-1.8125, -0.125, 0.375, -1.625, 0, 0.5}, + {-1.6875, -0.0625, 0.375, -1.5, 0.0625, 0.5}, + {-1.5625, 0, 0.375, -1.4375, 0.125, 0.5}, + {-1.5, 0.0625, 0.375, -1.3125, 0.1875, 0.5}, + {-1.375, 0.125, 0.375, -1.25, 0.25, 0.5}, + {-1.3125, 0.1875, 0.375, -1.125, 0.3125, 0.5}, + {-1.1875, 0.25, 0.375, -1, 0.375, 0.5}, + {-1.0625, 0.3125, 0.375, -0.9375, 0.4375, 0.5}, + {-1, 0.375, 0.375, -0.8125, 0.5, 0.5}, + {-0.875, 0.4375, 0.375, -0.75, 0.5625, 0.5}, + {-0.8125, 0.5, 0.375, -0.625, 0.625, 0.5}, + {-0.6875, 0.5625, 0.375, -0.5, 0.6875, 0.5}, + {-0.5625, 0.625, 0.375, -0.4375, 0.75, 0.5}, + {-0.5, 0.6875, 0.375, -0.3125, 0.8125, 0.5}, + {-0.375, 0.75, 0.375, -0.25, 0.875, 0.5}, + {-0.3125, 0.8125, 0.375, -0.125, 0.9375, 0.5}, + {-0.1875, 0.875, 0.375, 0, 1, 0.5}, + {-2.375, 2.375, 0.375, -2.25, 2.5, 0.5}, + {-2.3125, 2.3125, 0.375, -2.125, 2.4375, 0.5}, + {-2.1875, 2.25, 0.375, -2, 2.375, 0.5}, + {-2.0625, 2.1875, 0.375, -1.9375, 2.3125, 0.5}, + {-2, 2.125, 0.375, -1.8125, 2.25, 0.5}, + {-1.875, 2.0625, 0.375, -1.75, 2.1875, 0.5}, + {-1.8125, 2, 0.375, -1.625, 2.125, 0.5}, + {-1.6875, 1.9375, 0.375, -1.5, 2.0625, 0.5}, + {-1.5625, 1.875, 0.375, -1.4375, 2, 0.5}, + {-1.5, 1.8125, 0.375, -1.3125, 1.9375, 0.5}, + {-1.375, 1.75, 0.375, -1.25, 1.875, 0.5}, + {-1.3125, 1.6875, 0.375, -1.125, 1.8125, 0.5}, + {-1.1875, 1.625, 0.375, -1, 1.75, 0.5}, + {-1.0625, 1.5625, 0.375, -0.9375, 1.6875, 0.5}, + {-1, 1.5, 0.375, -0.8125, 1.625, 0.5}, + {-0.875, 1.4375, 0.375, -0.75, 1.5625, 0.5}, + {-0.8125, 1.375, 0.375, -0.625, 1.5, 0.5}, + {-0.6875, 1.3125, 0.375, -0.5, 1.4375, 0.5}, + {-0.5625, 1.25, 0.375, -0.4375, 1.375, 0.5}, + {-0.5, 1.1875, 0.375, -0.3125, 1.3125, 0.5}, + {-0.375, 1.125, 0.375, -0.25, 1.25, 0.5}, + {-0.3125, 1.0625, 0.375, -0.125, 1.1875, 0.5}, + {-0.1875, 1, 0.375, -0, 1.125, 0.5}, + {2.25, -0.5, 0.375, 2.375, -0.375, 0.5}, + {2.125, -0.4375, 0.375, 2.3125, -0.3125, 0.5}, + {2, -0.375, 0.375, 2.1875, -0.25, 0.5}, + {1.9375, -0.3125, 0.375, 2.0625, -0.1875, 0.5}, + {1.8125, -0.25, 0.375, 2, -0.125, 0.5}, + {1.75, -0.1875, 0.375, 1.875, -0.0625, 0.5}, + {1.625, -0.125, 0.375, 1.8125, 0, 0.5}, + {1.5, -0.0625, 0.375, 1.6875, 0.0625, 0.5}, + {1.4375, 0, 0.375, 1.5625, 0.125, 0.5}, + {1.3125, 0.0625, 0.375, 1.5, 0.1875, 0.5}, + {1.25, 0.125, 0.375, 1.375, 0.25, 0.5}, + {1.125, 0.1875, 0.375, 1.3125, 0.3125, 0.5}, + {1, 0.25, 0.375, 1.1875, 0.375, 0.5}, + {0.9375, 0.3125, 0.375, 1.0625, 0.4375, 0.5}, + {0.8125, 0.375, 0.375, 1, 0.5, 0.5}, + {0.75, 0.4375, 0.375, 0.875, 0.5625, 0.5}, + {0.625, 0.5, 0.375, 0.8125, 0.625, 0.5}, + {0.5, 0.5625, 0.375, 0.6875, 0.6875, 0.5}, + {0.4375, 0.625, 0.375, 0.5625, 0.75, 0.5}, + {0.3125, 0.6875, 0.375, 0.5, 0.8125, 0.5}, + {0.25, 0.75, 0.375, 0.375, 0.875, 0.5}, + {0.125, 0.8125, 0.375, 0.3125, 0.9375, 0.5}, + {-0, 0.875, 0.375, 0.1875, 1, 0.5}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-2.5, -0.5, 0, 2.5, 2.5, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + core.register_node("vlbridger:large_support_bot_" .. bridge_color, { + description = bridge_desc .. " Bottom Large Support", + drawtype = "nodebox", + tiles = {"bridges_" .. bridge_color .. ".png"}, + inventory_image = "bridges_" .. bridge_color .. ".png^bridges_large_support_bot.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_color .. ".png^bridges_large_support_bot.png^[makealpha:255,126,126", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-2.5625, -0.5, 0.25, -2.1875, 0.5, 0.625}, + {2.1875, -0.5, 0.25, 2.5625, 0.5, 0.625}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-2.5, -0.5, 0, 2.5, 0.5, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + core.register_node("vlbridger:truss_superstructure_right_slant_" .. bridge_color, { + description = bridge_desc .. " Truss Superstructure Right Slant", + drawtype = "nodebox", + tiles = {"bridges_" .. bridge_color .. ".png"}, + inventory_image = "bridges_" .. bridge_color .. ".png^bridges_superstructure_right_slant.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_color .. ".png^bridges_superstructure_right_slant.png^[makealpha:255,126,126", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 0.0625, 0.5}, + {-0.5, -0.5, 0.375, -0.4375, 2.5, 0.5}, + {1.4375, -0.5, 0.375, 1.5, 2.5, 0.5}, + {-0.5, 2.375, 0.375, 1.5, 2.5, 0.5}, + {-0.4375, 2.25, 0.375, -0.3125, 2.375, 0.5}, + {-0.375, 2.1875, 0.375, -0.25, 2.3125, 0.5}, + {-0.3125, 2.0625, 0.375, -0.1875, 2.25, 0.5}, + {-0.25, 2, 0.375, -0.125, 2.125, 0.5}, + {-0.1875, 1.9375, 0.375, -0.0625, 2.0625, 0.5}, + {-0.125, 1.875, 0.375, 0, 2, 0.5}, + {-0.0625, 1.75, 0.375, 0.0625, 1.9375, 0.5}, + {0, 1.6875, 0.375, 0.125, 1.8125, 0.5}, + {0.0625, 1.625, 0.375, 0.1875, 1.75, 0.5}, + {0.125, 1.5625, 0.375, 0.25, 1.6875, 0.5}, + {0.1875, 1.4375, 0.375, 0.3125, 1.625, 0.5}, + {0.25, 1.375, 0.375, 0.375, 1.5, 0.5}, + {0.3125, 1.3125, 0.375, 0.4375, 1.4375, 0.5}, + {0.375, 1.25, 0.375, 0.5, 1.375, 0.5}, + {0.4375, 1.125, 0.375, 0.5625, 1.3125, 0.5}, + {0.5, 1.0625, 0.375, 0.625, 1.1875, 0.5}, + {0.5625, 1, 0.375, 0.6875, 1.125, 0.5}, + {0.625, 0.9375, 0.375, 0.75, 1.0625, 0.5}, + {0.6875, 0.8125, 0.375, 0.8125, 1, 0.5}, + {0.75, 0.75, 0.375, 0.875, 0.875, 0.5}, + {0.8125, 0.6875, 0.375, 0.9375, 0.8125, 0.5}, + {0.875, 0.625, 0.375, 1, 0.75, 0.5}, + {0.9375, 0.5, 0.375, 1.0625, 0.6875, 0.5}, + {1, 0.4375, 0.375, 1.125, 0.5625, 0.5}, + {1.0625, 0.375, 0.375, 1.1875, 0.5, 0.5}, + {1.125, 0.3125, 0.375, 1.25, 0.4375, 0.5}, + {1.1875, 0.1875, 0.375, 1.3125, 0.375, 0.5}, + {1.25, 0.125, 0.375, 1.375, 0.25, 0.5}, + {1.3125, 0.0625, 0.375, 1.4375, 0.1875, 0.5}, + {1.375, 0, 0.375, 1.5, 0.125, 0.5}, + {-0.4375, 2.3125, 0.375, -0.3125, 2.4375, 0.5}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 2.5, 0.5}, + }, + }, + collision_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 2.5, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + core.register_node("vlbridger:truss_superstructure_left_slant_" .. bridge_color, { + description = bridge_desc .. " Truss Superstructure Left Slant", + drawtype = "nodebox", + tiles = {"bridges_" .. bridge_color .. ".png"}, + inventory_image = "bridges_" .. bridge_color .. ".png^bridges_superstructure_left_slant.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_color .. ".png^bridges_superstructure_left_slant.png^[makealpha:255,126,126", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 0.0625, 0.5}, + {-0.5, -0.5, 0.375, -0.4375, 2.5, 0.5}, + {1.4375, -0.5, 0.375, 1.5, 2.5, 0.5}, + {-0.5, 2.375, 0.375, 1.5, 2.5, 0.5}, + {1.3125, 2.25, 0.375, 1.4375, 2.375, 0.5}, + {1.25, 2.1875, 0.375, 1.375, 2.3125, 0.5}, + {1.1875, 2.0625, 0.375, 1.3125, 2.25, 0.5}, + {1.125, 2, 0.375, 1.25, 2.125, 0.5}, + {1.0625, 1.9375, 0.375, 1.1875, 2.0625, 0.5}, + {1, 1.875, 0.375, 1.125, 2, 0.5}, + {0.9375, 1.75, 0.375, 1.0625, 1.9375, 0.5}, + {0.875, 1.6875, 0.375, 1, 1.8125, 0.5}, + {0.8125, 1.625, 0.375, 0.9375, 1.75, 0.5}, + {0.75, 1.5625, 0.375, 0.875, 1.6875, 0.5}, + {0.6875, 1.4375, 0.375, 0.8125, 1.625, 0.5}, + {0.625, 1.375, 0.375, 0.75, 1.5, 0.5}, + {0.5625, 1.3125, 0.375, 0.6875, 1.4375, 0.5}, + {0.5, 1.25, 0.375, 0.625, 1.375, 0.5}, + {0.4375, 1.125, 0.375, 0.5625, 1.3125, 0.5}, + {0.375, 1.0625, 0.375, 0.5, 1.1875, 0.5}, + {0.3125, 1, 0.375, 0.4375, 1.125, 0.5}, + {0.25, 0.9375, 0.375, 0.375, 1.0625, 0.5}, + {0.1875, 0.8125, 0.375, 0.3125, 1, 0.5}, + {0.125, 0.75, 0.375, 0.25, 0.875, 0.5}, + {0.0625, 0.6875, 0.375, 0.1875, 0.8125, 0.5}, + {0, 0.625, 0.375, 0.125, 0.75, 0.5}, + {-0.0625, 0.5, 0.375, 0.0625, 0.6875, 0.5}, + {-0.125, 0.4375, 0.375, 0, 0.5625, 0.5}, + {-0.1875, 0.375, 0.375, -0.0625, 0.5, 0.5}, + {-0.25, 0.3125, 0.375, -0.125, 0.4375, 0.5}, + {-0.3125, 0.1875, 0.375, -0.1875, 0.375, 0.5}, + {-0.375, 0.125, 0.375, -0.25, 0.25, 0.5}, + {-0.4375, 0.0625, 0.375, -0.3125, 0.1875, 0.5}, + {-0.5, 0, 0.375, -0.375, 0.125, 0.5}, + {1.375, 2.3125, 0.375, 1.5, 2.4375, 0.5}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 2.5, 0.5}, + }, + }, + collision_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 1.5, 2.5, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + core.register_node("vlbridger:corrugated_steel_" .. bridge_color, { + description = bridge_desc .. " Corrugated Steel", + drawtype = "nodebox", + tiles = {"bridges_corrugated_steel_" .. bridge_color .. ".png"}, + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.375, 0.5, 0.5, 0.5}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0, 0.5, 0.5, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + + core.register_node("vlbridger:corrugated_steel_ceiling_" .. bridge_color, { + description = bridge_desc .. " Corrugated Steel Deck", + drawtype = "nodebox", + tiles = {"bridges_corrugated_steel_" .. bridge_color .. ".png^[transformR90"}, + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, 0.375, -0.5, 0.5, 0.5, 0.5}, + }, + }, + groups = {cracky=3}, + sounds = mcl_sounds.node_sound_metal_defaults(), + }) + end +end + +if core.settings:get_bool("vlbridger_enable_trestles", true) then + core.register_node("vlbridger:trestle_support", { + description = "Trestle Support", + drawtype = "nodebox", + tiles = {"default_junglewood.png"}, + inventory_image = "default_junglewood.png^bridges_trestle_support.png^[makealpha:255,126,126", + wield_image = "default_junglewood.png^bridges_trestle_support.png^[makealpha:255,126,126", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-1, -0.5, -0.125, -0.75, 1.5, 0.125}, + {0.75, -0.5, -0.125, 1, 1.5, 0.125}, + {0.625, 1.375, -0.0625, 0.75, 1.5, 0.0625}, + {0.5625, 1.25, -0.0625, 0.6875, 1.4375, 0.0625}, + {0.5, 1.1875, -0.0625, 0.625, 1.3125, 0.0625}, + {0.4375, 1.125, -0.0625, 0.5625, 1.25, 0.0625}, + {0.375, 1, -0.0625, 0.5, 1.1875, 0.0625}, + {0.3125, 0.9375, -0.0625, 0.4375, 1.0625, 0.0625}, + {0.25, 0.875, -0.0625, 0.375, 1, 0.0625}, + {0.1875, 0.75, -0.0625, 0.3125, 0.9375, 0.0625}, + {0.125, 0.6875, -0.0625, 0.25, 0.8125, 0.0625}, + {0.0625, 0.625, -0.0625, 0.1875, 0.75, 0.0625}, + {0, 0.5, -0.0625, 0.125, 0.6875, 0.0625}, + {-0.0625, 0.4375, -0.0625, 0.0625, 0.5625, 0.0625}, + {-0.125, 0.3125, -0.0625, 0, 0.5, 0.0625}, + {-0.1875, 0.25, -0.0625, -0.0625, 0.375, 0.0625}, + {-0.25, 0.1875, -0.0625, -0.125, 0.3125, 0.0625}, + {-0.3125, 0.0625, -0.0625, -0.1875, 0.25, 0.0625}, + {-0.375, 0, -0.0625, -0.25, 0.125, 0.0625}, + {-0.4375, -0.0625, -0.0625, -0.3125, 0.0625, 0.0625}, + {-0.5, -0.1875, -0.0625, -0.375, 0, 0.0625}, + {-0.5625, -0.25, -0.0625, -0.4375, -0.125, 0.0625}, + {-0.625, -0.3125, -0.0625, -0.5, -0.1875, 0.0625}, + {-0.6875, -0.4375, -0.0625, -0.5625, -0.25, 0.0625}, + {-0.75, -0.5, -0.0625, -0.625, -0.375, 0.0625}, + {-0.75, 1.375, -0.0625, -0.625, 1.5, 0.0625}, + {-0.6875, 1.25, -0.0625, -0.5625, 1.4375, 0.0625}, + {-0.625, 1.1875, -0.0625, -0.5, 1.3125, 0.0625}, + {-0.5625, 1.125, -0.0625, -0.4375, 1.25, 0.0625}, + {-0.5, 1, -0.0625, -0.375, 1.1875, 0.0625}, + {-0.4375, 0.9375, -0.0625, -0.3125, 1.0625, 0.0625}, + {-0.375, 0.875, -0.0625, -0.25, 1, 0.0625}, + {-0.3125, 0.75, -0.0625, -0.1875, 0.9375, 0.0625}, + {-0.25, 0.6875, -0.0625, -0.125, 0.8125, 0.0625}, + {-0.1875, 0.625, -0.0625, -0.0625, 0.75, 0.0625}, + {-0.125, 0.5, -0.0625, -0, 0.6875, 0.0625}, + {-0, 0.3125, -0.0625, 0.125, 0.5, 0.0625}, + {0.0625, 0.25, -0.0625, 0.1875, 0.375, 0.0625}, + {0.125, 0.1875, -0.0625, 0.25, 0.3125, 0.0625}, + {0.1875, 0.0625, -0.0625, 0.3125, 0.25, 0.0625}, + {0.25, 0, -0.0625, 0.375, 0.125, 0.0625}, + {0.3125, -0.0625, -0.0625, 0.4375, 0.0625, 0.0625}, + {0.375, -0.1875, -0.0625, 0.5, 0, 0.0625}, + {0.4375, -0.25, -0.0625, 0.5625, -0.125, 0.0625}, + {0.5, -0.3125, -0.0625, 0.625, -0.1875, 0.0625}, + {0.5625, -0.4375, -0.0625, 0.6875, -0.25, 0.0625}, + {0.625, -0.5, -0.0625, 0.75, -0.375, 0.0625}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-1, -0.5, -0.1875, 1, 1.5, 0.1875}, + }, + }, + groups = {choppy=3}, + sounds = mcl_sounds.node_sound_wood_defaults(), + }) + + core.register_node("vlbridger:trestle_support_small", { + description = "Small Trestle Support", + drawtype = "nodebox", + tiles = {"default_junglewood.png"}, + inventory_image = "default_junglewood.png^bridges_trestle_support_small.png^[makealpha:255,126,126", + wield_image = "default_junglewood.png^bridges_trestle_support_small.png^[makealpha:255,126,126", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-1, -0.5, -0.125, -0.75, 0.5, 0.125}, + {0.75, -0.5, -0.125, 1, 0.5, 0.125}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-1, -0.5, -0.1875, 1, 0.5, 0.1875}, + }, + }, + groups = {choppy=3}, + sounds = mcl_sounds.node_sound_wood_defaults(), + }) + + core.register_node("vlbridger:trestle_side", { + description = "Trestle Siding", + drawtype = "nodebox", + tiles = {"default_junglewood.png"}, + inventory_image = "default_junglewood.png^bridges_trestle_side.png^[makealpha:255,126,126", + wield_image = "default_junglewood.png^bridges_trestle_side.png^[makealpha:255,126,126", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.875, -0.5, -0.0625, 0.875, -0.375, 0.0625}, + {-0.875, 1.375, -0.0625, 0.875, 1.5, 0.0625}, + {-1, 1.375, -0.0625, 1, 1.5, 0}, + {-1, -0.5, -0.0625, 1, -0.375, 0}, + {-0.9375, 1.3125, -0.0625, -0.8125, 1.4375, 0.0625}, + {-0.875, 1.25, -0.0625, -0.75, 1.375, 0.0625}, + {0.25, 0.125, -0.0625, 0.375, 0.25, 0.0625}, + {-0.8125, 1.1875, -0.0625, -0.6875, 1.3125, 0.0625}, + {-0.75, 1.125, -0.0625, -0.625, 1.25, 0.0625}, + {-0.6875, 1.0625, -0.0625, -0.5625, 1.1875, 0.0625}, + {-0.625, 1, -0.0625, -0.5, 1.125, 0.0625}, + {-0.5625, 0.9375, -0.0625, -0.4375, 1.0625, 0.0625}, + {-0.5, 0.875, -0.0625, -0.375, 1, 0.0625}, + {-0.4375, 0.8125, -0.0625, -0.3125, 0.9375, 0.0625}, + {-0.375, 0.75, -0.0625, -0.25, 0.875, 0.0625}, + {-0.3125, 0.6875, -0.0625, -0.1875, 0.8125, 0.0625}, + {-0.25, 0.625, -0.0625, -0.125, 0.75, 0.0625}, + {-0.1875, 0.5625, -0.0625, -0.0625, 0.6875, 0.0625}, + {-0.125, 0.375, -0.0625, 0.125, 0.625, 0.0625}, + {0.0625, 0.3125, -0.0625, 0.1875, 0.4375, 0.0625}, + {0.125, 0.25, -0.0625, 0.25, 0.375, 0.0625}, + {0.1875, 0.1875, -0.0625, 0.3125, 0.3125, 0.0625}, + {0.3125, 0.0625, -0.0625, 0.4375, 0.1875, 0.0625}, + {0.375, 0, -0.0625, 0.5, 0.125, 0.0625}, + {0.4375, -0.0625, -0.0625, 0.5625, 0.0625, 0.0625}, + {0.5, -0.125, -0.0625, 0.625, 0, 0.0625}, + {0.5625, -0.1875, -0.0625, 0.6875, -0.0625, 0.0625}, + {0.625, -0.25, -0.0625, 0.75, -0.125, 0.0625}, + {0.6875, -0.3125, -0.0625, 0.8125, -0.1875, 0.0625}, + {0.75, -0.375, -0.0625, 0.875, -0.25, 0.0625}, + {0.8125, -0.4375, -0.0625, 0.9375, -0.3125, 0.0625}, + {0.8125, 1.3125, -0.0625, 0.9375, 1.4375, 0.0625}, + {0.75, 1.25, -0.0625, 0.875, 1.375, 0.0625}, + {-0.375, 0.125, -0.0625, -0.25, 0.25, 0.0625}, + {0.6875, 1.1875, -0.0625, 0.8125, 1.3125, 0.0625}, + {0.625, 1.125, -0.0625, 0.75, 1.25, 0.0625}, + {0.5625, 1.0625, -0.0625, 0.6875, 1.1875, 0.0625}, + {0.5, 1, -0.0625, 0.625, 1.125, 0.0625}, + {0.4375, 0.9375, -0.0625, 0.5625, 1.0625, 0.0625}, + {0.375, 0.875, -0.0625, 0.5, 1, 0.0625}, + {0.3125, 0.8125, -0.0625, 0.4375, 0.9375, 0.0625}, + {0.25, 0.75, -0.0625, 0.375, 0.875, 0.0625}, + {0.1875, 0.6875, -0.0625, 0.3125, 0.8125, 0.0625}, + {0.125, 0.625, -0.0625, 0.25, 0.75, 0.0625}, + {0.0625, 0.5625, -0.0625, 0.1875, 0.6875, 0.0625}, + {-0.1875, 0.3125, -0.0625, -0.0625, 0.4375, 0.0625}, + {-0.25, 0.25, -0.0625, -0.125, 0.375, 0.0625}, + {-0.3125, 0.1875, -0.0625, -0.1875, 0.3125, 0.0625}, + {-0.4375, 0.0625, -0.0625, -0.3125, 0.1875, 0.0625}, + {-0.5, 0, -0.0625, -0.375, 0.125, 0.0625}, + {-0.5625, -0.0625, -0.0625, -0.4375, 0.0625, 0.0625}, + {-0.625, -0.125, -0.0625, -0.5, 0, 0.0625}, + {-0.6875, -0.1875, -0.0625, -0.5625, -0.0625, 0.0625}, + {-0.75, -0.25, -0.0625, -0.625, -0.125, 0.0625}, + {-0.8125, -0.3125, -0.0625, -0.6875, -0.1875, 0.0625}, + {-0.875, -0.375, -0.0625, -0.75, -0.25, 0.0625}, + {-0.9375, -0.4375, -0.0625, -0.8125, -0.3125, 0.0625}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-1, -0.5, -0.1875, 1, 1.5, 0.1875}, + }, + }, + groups = {choppy=3}, + sounds = mcl_sounds.node_sound_wood_defaults(), + }) + + core.register_node("vlbridger:trestle_deck", { + description = "Trestle Deck", + drawtype = "nodebox", + tiles = {"default_junglewood.png"}, + inventory_image = "default_junglewood.png^bridges_trestle_deck.png^[makealpha:255,126,126", + wield_image = "default_junglewood.png^bridges_trestle_deck.png^[makealpha:255,126,126", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.625, 0.25, -0.5, -0.5, 0.375, 0.5}, + {0.5, 0.25, -0.5, 0.625, 0.375, 0.5}, + {-1.125, 0.374, 0.3125, 1.125, 0.501, 0.4375}, + {-1.125, 0.374, 0.0625, 1.125, 0.501, 0.1875}, + {-1.125, 0.374, -0.1875, 1.125, 0.501, -0.0625}, + {-1.125, 0.374, -0.4375, 1.125, 0.501, -0.3125}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-1.125, 0, -0.5, 1.125, 0.5, 0.5}, + }, + }, + groups = {choppy=3}, + sounds = mcl_sounds.node_sound_wood_defaults(), + }) + + core.register_node("vlbridger:trestle_substructure_small", { + description = "Small Trestle Substructure", + drawtype = "nodebox", + tiles = {"default_junglewood.png"}, + inventory_image = "default_junglewood.png^bridges_trestle_small.png^[makealpha:255,126,126", + wield_image = "default_junglewood.png^bridges_trestle_small.png^[makealpha:255,126,126", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-1.5, 1.375, -0.0625, 0.5, 1.499, 0.0625}, + {-1.4375, 1.3125, -0.0625, -1.3125, 1.4375, 0.0625}, + {-1.375, 1.25, -0.0625, -1.25, 1.375, 0.0625}, + {-1.3125, 1.1875, -0.0625, -1.125, 1.3125, 0.0625}, + {-1.1875, 1.125, -0.0625, -1.0625, 1.25, 0.0625}, + {-1.125, 1.0625, -0.0625, -1, 1.1875, 0.0625}, + {-1.0625, 1, -0.0625, -0.875, 1.125, 0.0625}, + {-0.9375, 0.9375, -0.0625, -0.8125, 1.0625, 0.0625}, + {-0.875, 0.875, -0.0625, -0.75, 1, 0.0625}, + {-0.8125, 0.8125, -0.0625, -0.625, 0.9375, 0.0625}, + {-0.6875, 0.75, -0.0625, -0.5625, 0.875, 0.0625}, + {-0.625, 0.6875, -0.0625, -0.5, 0.8125, 0.0625}, + {-0.5625, 0.625, -0.0625, -0.375, 0.75, 0.0625}, + {-0.4375, 0.5625, -0.0625, -0.3125, 0.6875, 0.0625}, + {-0.375, 0.5, -0.0625, -0.25, 0.625, 0.0625}, + {-0.3125, 0.4375, -0.0625, -0.125, 0.5625, 0.0625}, + {-0.1875, 0.375, -0.0625, -0.0625, 0.5, 0.0625}, + {-0.125, 0.3125, -0.0625, 0, 0.4375, 0.0625}, + {-0.0625, 0.25, -0.0625, 0.125, 0.375, 0.0625}, + {0.0625, 0.1875, -0.0625, 0.1875, 0.3125, 0.0625}, + {0.125, 0.125, -0.0625, 0.25, 0.25, 0.0625}, + {0.1875, 0.0625, -0.0625, 0.375, 0.1875, 0.0625}, + {0.3125, 0, -0.0625, 0.4375, 0.125, 0.0625}, + {0.4375, 0, -0.0625, 0.5, 1.5, 0.0625}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-1.5, 0, -0.0625, 0.5, 1.5, 0.0625}, + }, + }, + groups = {choppy=3}, + sounds = mcl_sounds.node_sound_wood_defaults(), + }) + + core.register_node("vlbridger:trestle_substructure_large", { + description = "Large Trestle Substructure", + drawtype = "nodebox", + tiles = {"default_junglewood.png"}, + inventory_image = "default_junglewood.png^bridges_trestle_large.png^[makealpha:255,126,126", + wield_image = "default_junglewood.png^bridges_trestle_large.png^[makealpha:255,126,126", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {0.4375, -0.5, -0.0625, 0.5, 1.5, 0.0625}, + {0.25, -0.5, -0.0625, 0.4375, -0.375, 0.0625}, + {0.125, -0.4375, -0.0625, 0.3125, -0.3125, 0.0625}, + {0, -0.375, -0.0625, 0.1875, -0.25, 0.0625}, + {-0.125, -0.3125, -0.0625, 0.0625, -0.1875, 0.0625}, + {-0.25, -0.25, -0.0625, -0.0625, -0.125, 0.0625}, + {-0.375, -0.1875, -0.0625, -0.1875, -0.0625, 0.0625}, + {-0.5, -0.125, -0.0625, -0.3125, 0, 0.0625}, + {-0.625, -0.0625, -0.0625, -0.4375, 0.0625, 0.0625}, + {-0.75, 0, -0.0625, -0.5625, 0.125, 0.0625}, + {-0.875, 0.0625, -0.0625, -0.6875, 0.1875, 0.0625}, + {-1, 0.125, -0.0625, -0.8125, 0.25, 0.0625}, + {-1.125, 0.1875, -0.0625, -0.9375, 0.3125, 0.0625}, + {-1.25, 0.25, -0.0625, -1.0625, 0.375, 0.0625}, + {-1.375, 0.3125, -0.0625, -1.1875, 0.4375, 0.0625}, + {-1.5, 0.375, -0.0625, -1.3125, 0.5, 0.0625}, + {-1.625, 0.4375, -0.0625, -1.4375, 0.5625, 0.0625}, + {-1.75, 0.5, -0.0625, -1.5625, 0.625, 0.0625}, + {-1.875, 0.5625, -0.0625, -1.6875, 0.6875, 0.0625}, + {-2, 0.625, -0.0625, -1.8125, 0.75, 0.0625}, + {-2.125, 0.6875, -0.0625, -1.9375, 0.8125, 0.0625}, + {-2.25, 0.75, -0.0625, -2.0625, 0.875, 0.0625}, + {-2.375, 0.8125, -0.0625, -2.1875, 0.9375, 0.0625}, + {-2.5, 0.875, -0.0625, -2.3125, 1, 0.0625}, + {-2.625, 0.9375, -0.0625, -2.4375, 1.0625, 0.0625}, + {-2.75, 1, -0.0625, -2.5625, 1.125, 0.0625}, + {-2.875, 1.0625, -0.0625, -2.6875, 1.1875, 0.0625}, + {-3, 1.125, -0.0625, -2.8125, 1.25, 0.0625}, + {-3.125, 1.1875, -0.0625, -2.9375, 1.3125, 0.0625}, + {-3.25, 1.25, -0.0625, -3.0625, 1.375, 0.0625}, + {-3.375, 1.3125, -0.0625, -3.1875, 1.4375, 0.0625}, + {-3.5, 1.375, -0.0625, -3.3125, 1.5, 0.0625}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-3.5, -0.5, -0.0625, 0.5, 1.5, 0.0625}, + }, + }, + groups = {choppy=3}, + sounds = mcl_sounds.node_sound_wood_defaults(), + }) + + core.register_node("vlbridger:lattice_truss_side", { + description = "Lattice Truss", + drawtype = "nodebox", + tiles = {"default_junglewood.png"}, + inventory_image = "default_junglewood.png^bridges_lattice_truss_side.png^[makealpha:255,126,126", + wield_image = "default_junglewood.png^bridges_lattice_truss_side.png^[makealpha:255,126,126", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.0625, -0.25, -0.25, 0.0625}, + {-0.4375, -0.4375, -0.0625, -0.1875, -0.1875, 0.0625}, + {-0.375, -0.375, -0.0625, -0.125, -0.125, 0.0625}, + {-0.3125, -0.3125, -0.0625, -0.0625, -0.0625, 0.0625}, + {0.0625, 0.0625, -0.0625, 0.3125, 0.3125, 0.0625}, + {0.125, 0.125, -0.0625, 0.375, 0.375, 0.0625}, + {0.1875, 0.1875, -0.0625, 0.4375, 0.4375, 0.0625}, + {0.25, 0.25, -0.0625, 0.5, 0.5, 0.0625}, + {0.25, -0.5, -0.0625, 0.5, -0.25, 0.0625}, + {0.1875, -0.4375, -0.0625, 0.4375, -0.1875, 0.0625}, + {-0.25, -0.25, -0.0625, 0.25, 0.25, 0.0625}, + {0.125, -0.375, -0.0625, 0.375, -0.125, 0.0625}, + {0.0625, -0.3125, -0.0625, 0.3125, -0.0625, 0.0625}, + {-0.5, 0.25, -0.0625, -0.25, 0.5, 0.0625}, + {-0.4375, 0.1875, -0.0625, -0.1875, 0.4375, 0.0625}, + {-0.375, 0.125, -0.0625, -0.125, 0.375, 0.0625}, + {-0.3125, 0.0625, -0.0625, -0.0625, 0.3125, 0.0625}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.125, 0.5, 0.5, 0.125}, + }, + }, + groups = {choppy=3}, + sounds = mcl_sounds.node_sound_wood_defaults(), + }) + + core.register_node("vlbridger:lattice_truss_top", { + description = "Lattice Truss Upper Chord", + drawtype = "nodebox", + tiles = {"default_junglewood.png"}, + inventory_image = "default_junglewood.png^bridges_lattice_truss_top.png^[makealpha:255,126,126", + wield_image = "default_junglewood.png^bridges_lattice_truss_top.png^[makealpha:255,126,126", + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-1, 0.375, 0.25, -0.75, 0.501, 0.5}, + {-0.25, 0.375, 0.25, 0.25, 0.501, 0.5}, + {-0.25, 0.375, -0.5, 0.25, 0.501, -0.25}, + {-1, 0.375, -0.5, -0.75, 0.501, -0.25}, + {-0.9375, 0.375, -0.4375, -0.6875, 0.501, -0.1875}, + {-0.875, 0.375, -0.375, -0.625, 0.501, -0.125}, + {-0.8125, 0.375, -0.3125, -0.5625, 0.501, -0.0625}, + {-0.3125, 0.375, -0.4375, -0.0625, 0.501, -0.1875}, + {-0.375, 0.375, -0.375, -0.125, 0.501, -0.125}, + {-0.4375, 0.375, -0.3125, -0.1875, 0.501, -0.0625}, + {-0.75, 0.375, -0.25, -0.25, 0.501, 0.25}, + {-0.9375, 0.375, 0.1875, -0.6875, 0.501, 0.4375}, + {-0.875, 0.375, 0.125, -0.625, 0.501, 0.375}, + {-0.8125, 0.375, 0.0625, -0.5625, 0.501, 0.3125}, + {-0.4375, 0.375, 0.0625, -0.1875, 0.501, 0.3125}, + {-0.375, 0.375, 0.125, -0.125, 0.501, 0.375}, + {-0.3125, 0.375, 0.1875, -0.0625, 0.501, 0.4375}, + {0.75, 0.375, -0.5, 1, 0.501, -0.25}, + {0.75, 0.375, 0.25, 1, 0.501, 0.5}, + {0.6875, 0.375, 0.1875, 0.9375, 0.501, 0.4375}, + {0.625, 0.375, 0.125, 0.875, 0.501, 0.375}, + {0.5625, 0.375, 0.0625, 0.8125, 0.501, 0.3125}, + {0.0625, 0.375, 0.1875, 0.3125, 0.501, 0.4375}, + {0.125, 0.375, 0.125, 0.375, 0.501, 0.375}, + {0.1875, 0.375, 0.0625, 0.4375, 0.501, 0.3125}, + {0.25, 0.375, -0.25, 0.75, 0.501, 0.25}, + {0.6875, 0.375, -0.4375, 0.9375, 0.501, -0.1875}, + {0.625, 0.375, -0.375, 0.875, 0.501, -0.125}, + {0.5625, 0.375, -0.3125, 0.8125, 0.501, -0.0625}, + {0.1875, 0.375, -0.3125, 0.4375, 0.501, -0.0625}, + {0.125, 0.375, -0.375, 0.375, 0.501, -0.125}, + {0.0625, 0.375, -0.4375, 0.3125, 0.501, -0.1875}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-1, 0.375, -0.5, 1, 0.5, 0.5}, + }, + }, + groups = {choppy=3}, + sounds = mcl_sounds.node_sound_wood_defaults(), + }) +end + +if core.settings:get_bool("vlbridger_enable_wooden_bridges", true) then + core.register_node("vlbridger:small_beam", { + description = "Small Wooden Beam Bridge", + drawtype = "nodebox", + tiles = {"def_wood.png"}, + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.4375, -0.5, -0.5, 0.4375, -0.4375, 0.5}, + {-0.5, -0.5, 0.40625, -0.40625, 0.5, 0.5}, + {-0.5, -0.5, -0.5, -0.40625, 0.5, -0.40625}, + {-0.5, 0.375, -0.5, -0.40625, 0.4375, 0.5}, + {0.40625, 0.375, -0.5, 0.5, 0.4375, 0.5}, + {0.40625, -0.5, -0.5, 0.5, 0.5, -0.40625}, + {0.40625, -0.5, 0.40625, 0.5, 0.5, 0.5}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, + }, + }, + groups = {choppy=3}, + sounds = mcl_sounds.node_sound_wood_defaults(), + }) + + core.register_node("vlbridger:small_beam_mid", { + description = "Small Wooden Beam Bridge Middle", + drawtype = "nodebox", + tiles = {"def_wood.png"}, + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.4375, -0.5, -0.5, 0.4375, -0.4375, 0.5}, + {-0.5, 0.375, -0.5, -0.40625, 0.4375, 0.5}, + {0.40625, 0.375, -0.5, 0.5, 0.4375, 0.5}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, + }, + }, + groups = {choppy=3}, + sounds = mcl_sounds.node_sound_wood_defaults(), + }) + + core.register_node("vlbridger:small_beam_end", { + description = "Small Wooden Beam Bridge End", + drawtype = "nodebox", + tiles = {"def_wood.png"}, + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.4375, -0.5, -0.5, 0.4375, -0.4375, 0.4375}, + {-0.5, -0.5, 0.40625, -0.40625, 0.5, 0.5}, + {-0.5, -0.5, -0.5, -0.40625, 0.5, -0.40625}, + {-0.5, 0.375, -0.5, -0.40625, 0.4375, 0.5}, + {0.40625, 0.375, -0.5, 0.5, 0.4375, 0.5}, + {0.40625, -0.5, -0.5, 0.5, 0.5, -0.40625}, + {0.40625, -0.5, 0.40625, 0.5, 0.5, 0.5}, + {-0.5, 0.375, 0.40625, 0.5, 0.4375, 0.5}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, + }, + }, + groups = {choppy=3}, + sounds = mcl_sounds.node_sound_wood_defaults(), + }) + + core.register_node("vlbridger:small_beam_corner", { + description = "Small Wooden Beam Bridge Corner", + drawtype = "nodebox", + tiles = {"def_wood.png"}, + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.4375, -0.5, -0.5, 0.5, -0.4375, 0.4375}, + {-0.5, -0.5, 0.40625, -0.40625, 0.5, 0.5}, + {-0.5, -0.5, -0.5, -0.40625, 0.5, -0.40625}, + {-0.5, 0.375, -0.5, -0.40625, 0.4375, 0.5}, + {0.40625, -0.5, -0.5, 0.5, 0.5, -0.40625}, + {0.40625, -0.5, 0.40625, 0.5, 0.5, 0.5}, + {-0.5, 0.375, 0.40625, 0.5, 0.4375, 0.5}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, + }, + }, + groups = {choppy=3}, + sounds = mcl_sounds.node_sound_wood_defaults(), + }) + + core.register_node("vlbridger:small_beam_3", { + description = "Small Wooden Beam Bridge Crossing", + drawtype = "nodebox", + tiles = {"def_wood.png"}, + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, -0.4375, 0.4375}, + {-0.5, -0.5, 0.40625, -0.40625, 0.5, 0.5}, + {-0.5, -0.5, -0.5, -0.40625, 0.5, -0.40625}, + {0.40625, -0.5, -0.5, 0.5, 0.5, -0.40625}, + {0.40625, -0.5, 0.40625, 0.5, 0.5, 0.5}, + {-0.5, 0.375, 0.40625, 0.5, 0.4375, 0.5}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, + }, + }, + groups = {choppy=3}, + sounds = mcl_sounds.node_sound_wood_defaults(), + }) + + core.register_node("vlbridger:small_beam_4", { + description = "Small Wooden Beam Bridge Crossing", + drawtype = "nodebox", + tiles = {"def_wood.png"}, + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, -0.4375, 0.5}, + {-0.5, -0.5, 0.40625, -0.40625, 0.5, 0.5}, + {-0.5, -0.5, -0.5, -0.40625, 0.5, -0.40625}, + {0.40625, -0.5, -0.5, 0.5, 0.5, -0.40625}, + {0.40625, -0.5, 0.40625, 0.5, 0.5, 0.5}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, + }, + }, + groups = {choppy=3}, + sounds = mcl_sounds.node_sound_wood_defaults(), + }) + + core.register_node("vlbridger:small_beam_stair", { + description = "Small Wooden Beam Bridge Stair", + drawtype = "nodebox", + tiles = {"def_wood.png"}, + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.4375, -0.0625, -0.5, 0.4375, 0, 0}, + {-0.4375, 0.4375, 0, 0.4375, 0.5, 0.5}, + {0.40625, 0.4375, 0.40625, 0.5, 1.5, 0.5}, + {0.40625, -0.5, -0.5, 0.5, 0.625, -0.40625}, + {-0.5, -0.5, -0.5, -0.40625, 0.625, -0.40625}, + {-0.5, 0.4375, 0.40625, -0.40625, 1.5, 0.5}, + {-0.5, 1.3125, 0.375, -0.40625, 1.375, 0.5}, + {-0.5, 1.25, 0.3125, -0.40625, 1.3125, 0.4375}, + {-0.5, 1.1875, 0.25, -0.40625, 1.25, 0.375}, + {-0.5, 1.125, 0.1875, -0.40625, 1.1875, 0.3125}, + {-0.5, 1.0625, 0.125, -0.40625, 1.125, 0.25}, + {-0.5, 1, 0.0625, -0.40625, 1.0625, 0.1875}, + {-0.5, 0.9375, 0, -0.40625, 1, 0.125}, + {-0.5, 0.875, -0.0625, -0.40625, 0.9375, 0.0625}, + {-0.5, 0.8125, -0.125, -0.40625, 0.875, 0}, + {-0.5, 0.75, -0.1875, -0.40625, 0.8125, -0.0625}, + {-0.5, 0.6875, -0.25, -0.40625, 0.75, -0.125}, + {-0.5, 0.625, -0.3125, -0.40625, 0.6875, -0.1875}, + {-0.5, 0.5625, -0.375, -0.40625, 0.625, -0.25}, + {-0.5, 0.5, -0.4375, -0.40625, 0.5625, -0.3125}, + {-0.5, 0.4375, -0.5, -0.40625, 0.5, -0.375}, + {0.40625, 0.4375, -0.5, 0.5, 0.5, -0.375}, + {0.40625, 0.5, -0.4375, 0.5, 0.5625, -0.3125}, + {0.40625, 0.5625, -0.375, 0.5, 0.625, -0.25}, + {0.40625, 0.625, -0.3125, 0.5, 0.6875, -0.1875}, + {0.40625, 0.6875, -0.25, 0.5, 0.75, -0.125}, + {0.40625, 0.75, -0.1875, 0.5, 0.8125, -0.0625}, + {0.40625, 0.8125, -0.125, 0.5, 0.875, 0}, + {0.40625, 0.875, -0.0625, 0.5, 0.9375, 0.0625}, + {0.40625, 0.9375, 0, 0.5, 1, 0.125}, + {0.40625, 1, 0.0625, 0.5, 1.0625, 0.1875}, + {0.40625, 1.0625, 0.125, 0.5, 1.125, 0.25}, + {0.40625, 1.125, 0.1875, 0.5, 1.1875, 0.3125}, + {0.40625, 1.1875, 0.25, 0.5, 1.25, 0.375}, + {0.40625, 1.25, 0.3125, 0.5, 1.3125, 0.4375}, + {0.40625, 1.3125, 0.375, 0.5, 1.375, 0.5}, + {0.40625, -0.5, -0.5, 0.5, -0.4375, -0.375}, + {0.40625, -0.4375, -0.4375, 0.5, -0.375, -0.3125}, + {0.40625, -0.375, -0.375, 0.5, -0.3125, -0.25}, + {0.40625, -0.3125, -0.3125, 0.5, -0.25, -0.1875}, + {0.40625, -0.25, -0.25, 0.5, -0.1875, -0.125}, + {0.40625, -0.1875, -0.1875, 0.5, -0.125, -0.0625}, + {0.40625, -0.125, -0.125, 0.5, -0.0625, 0}, + {0.40625, -0.0625, -0.0625, 0.5, 0, 0.0625}, + {0.40625, 0, 0, 0.5, 0.0625, 0.125}, + {0.40625, 0.0625, 0.0625, 0.5, 0.125, 0.1875}, + {0.40625, 0.125, 0.125, 0.5, 0.1875, 0.25}, + {0.40625, 0.1875, 0.1875, 0.5, 0.25, 0.3125}, + {0.40625, 0.25, 0.25, 0.5, 0.3125, 0.375}, + {0.40625, 0.3125, 0.3125, 0.5, 0.375, 0.4375}, + {0.40625, 0.375, 0.375, 0.5, 0.4375, 0.5}, + {-0.5, -0.5, -0.5, -0.40625, -0.4375, -0.375}, + {-0.5, -0.4375, -0.4375, -0.40625, -0.375, -0.3125}, + {-0.5, -0.375, -0.375, -0.40625, -0.3125, -0.25}, + {-0.5, -0.3125, -0.3125, -0.40625, -0.25, -0.1875}, + {-0.5, -0.25, -0.25, -0.40625, -0.1875, -0.125}, + {-0.5, -0.1875, -0.1875, -0.40625, -0.125, -0.0625}, + {-0.5, -0.125, -0.125, -0.40625, -0.0625, 0}, + {-0.5, -0.0625, -0.0625, -0.40625, 0, 0.0625}, + {-0.5, 0, 0, -0.40625, 0.0625, 0.125}, + {-0.5, 0.0625, 0.0625, -0.40625, 0.125, 0.1875}, + {-0.5, 0.125, 0.125, -0.40625, 0.1875, 0.25}, + {-0.5, 0.1875, 0.1875, -0.40625, 0.25, 0.3125}, + {-0.5, 0.25, 0.25, -0.40625, 0.3125, 0.375}, + {-0.5, 0.3125, 0.3125, -0.40625, 0.375, 0.4375}, + {-0.5, 0.375, 0.375, -0.40625, 0.4375, 0.5}, + {-0.5, -0.5625, -0.5, -0.40625, -0.5, -0.4375}, + {0.40625, -0.5625, -0.5, 0.5, -0.5, -0.4375}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, + }, + }, + groups = {choppy=3}, + sounds = mcl_sounds.node_sound_wood_defaults(), + }) + + core.register_node("vlbridger:large_beam", { + description = "Large Wooden Beam Bridge", + drawtype = "nodebox", + tiles = {"def_wood.png"}, + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.4375, -0.5, -1.5, 0.4375, -0.4375, 1.5}, + {0.40625, -0.5, -0.6875, 0.5, 0.5, -0.59375}, + {0.40625, -0.5, 0.59375, 0.5, 0.5, 0.6875}, + {-0.5, -0.5, 0.59375, -0.40625, 0.5, 0.6875}, + {-0.5, -0.5, -0.6875, -0.40625, 0.5, -0.59375}, + {-0.5, 0.375, -1.5, -0.40625, 0.4375, 1.5}, + {0.40625, 0.375, -1.5, 0.5, 0.4375, 1.5}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -1.5, 0.5, 0.5, 1.5}, + }, + }, + groups = {choppy=3}, + sounds = mcl_sounds.node_sound_wood_defaults(), + }) + + core.register_node("vlbridger:large_fancy_beam", { + description = "Large Fancy Wooden Beam Bridge", + drawtype = "nodebox", + tiles = {"def_wood.png"}, + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.4375, -0.5, -1.5, 0.4375, -0.4375, -1.375}, + {0.40625, -0.125, -0.6875, 0.5, 0.875, -0.59375}, + {0.40625, -0.125, 0.59375, 0.5, 0.875, 0.6875}, + {-0.5, -0.125, 0.59375, -0.40625, 0.875, 0.6875}, + {-0.5, -0.125, -0.6875, -0.40625, 0.875, -0.59375}, + {-0.5, 0.375, -1.5, -0.40625, 0.4375, -1.375}, + {0.40625, 0.375, -1.5, 0.5, 0.4375, -1.375}, + {-0.4375, -0.4375, -1.4375, 0.4375, -0.375, -1.3125}, + {-0.4375, -0.375, -1.375, 0.4375, -0.3125, -1.25}, + {-0.4375, -0.3125, -1.3125, 0.4375, -0.25, -1.125}, + {-0.4375, -0.25, -1.1875, 0.4375, -0.1875, -1}, + {-0.4375, -0.1875, -1.0625, 0.4375, -0.125, -0.75}, + {-0.4375, -0.125, -0.8125, 0.4375, -0.0625, -0.4375}, + {-0.4375, -0.125, 0.4375, 0.4375, -0.0625, 0.8125}, + {-0.4375, -0.0625, -0.5, 0.4375, 0, 0.5}, + {-0.4375, -0.1875, 0.75, 0.4375, -0.125, 1.0625}, + {-0.4375, -0.25, 1, 0.4375, -0.1875, 1.1875}, + {-0.4375, -0.3125, 1.125, 0.4375, -0.25, 1.3125}, + {-0.4375, -0.375, 1.25, 0.4375, -0.3125, 1.375}, + {-0.4375, -0.4375, 1.3125, 0.4375, -0.375, 1.4375}, + {-0.4375, -0.5, 1.375, 0.4375, -0.4375, 1.5}, + {-0.5, 0.4375, -1.4375, -0.40625, 0.5, -1.3125}, + {-0.5, 0.5, -1.375, -0.40625, 0.5625, -1.25}, + {-0.5, 0.5625, -1.3125, -0.40625, 0.625, -1.125}, + {-0.5, 0.625, -1.1875, -0.40625, 0.6875, -1}, + {-0.5, 0.6875, -1.0625, -0.40625, 0.75, -0.75}, + {-0.5, 0.75, -0.8125, -0.40625, 0.8125, -0.4375}, + {-0.5, 0.8125, -0.5, -0.40625, 0.875, 0.5}, + {-0.5, 0.75, 0.4375, -0.40625, 0.8125, 0.8125}, + {-0.5, 0.6875, 0.75, -0.40625, 0.75, 1.0625}, + {-0.5, 0.625, 1, -0.40625, 0.6875, 1.1875}, + {-0.5, 0.5625, 1.125, -0.40625, 0.625, 1.3125}, + {-0.5, 0.5, 1.25, -0.40625, 0.5625, 1.375}, + {-0.5, 0.4375, 1.3125, -0.40625, 0.5, 1.4375}, + {-0.5, 0.375, 1.375, -0.40625, 0.4375, 1.5}, + {0.40625, 0.4375, -1.4375, 0.5, 0.5, -1.3125}, + {0.40625, 0.5, -1.375, 0.5, 0.5625, -1.25}, + {0.40625, 0.5625, -1.3125, 0.5, 0.625, -1.125}, + {0.40625, 0.625, -1.1875, 0.5, 0.6875, -1}, + {0.40625, 0.6875, -1.0625, 0.5, 0.75, -0.75}, + {0.40625, 0.75, -0.8125, 0.5, 0.8125, -0.4375}, + {0.40625, 0.8125, -0.5, 0.5, 0.875, 0.5}, + {0.40625, 0.75, 0.4375, 0.5, 0.8125, 0.8125}, + {0.40625, 0.6875, 0.75, 0.5, 0.75, 1.0625}, + {0.40625, 0.625, 1, 0.5, 0.6875, 1.1875}, + {0.40625, 0.5625, 1.125, 0.5, 0.625, 1.3125}, + {0.40625, 0.5, 1.25, 0.5, 0.5625, 1.375}, + {0.40625, 0.4375, 1.3125, 0.5, 0.5, 1.4375}, + {0.40625, 0.375, 1.375, 0.5, 0.4375, 1.5}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -1.5, 0.5, 0.5, 1.5}, + }, + }, + groups = {choppy=3}, + sounds = mcl_sounds.node_sound_wood_defaults(), + }) + --[[ + local mesecon_on_blastnode = nil + if core.get_modpath("mesecons") then + mesecon_on_blastnode = mesecon.on_blastnode + end +]] + core.register_node("vlbridger:large_beam_swivel_normal", { + description = "Large Wooden Swivel Bridge", + drawtype = "nodebox", + tiles = {"default_junglewood.png"}, + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.4375, -0.5, -1.5, 0.4375, -0.4375, 1.5}, + {0.40625, -0.5, -0.6875, 0.5, 0.5, -0.59375}, + {0.40625, -0.5, 0.59375, 0.5, 0.5, 0.6875}, + {-0.5, -0.5, 0.59375, -0.40625, 0.5, 0.6875}, + {-0.5, -0.5, -0.6875, -0.40625, 0.5, -0.59375}, + {-0.5, 0.375, -1.5, -0.40625, 0.4375, 1.5}, + {0.40625, 0.375, -1.5, 0.5, 0.4375, 1.5}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -1.5, 0.5, 0.5, 1.5}, + }, + }, + on_rightclick = function(pos, node) + core.set_node(pos, {name = "vlbridger:large_beam_swivel_open", param2 = node.param2}) + end, + groups = {choppy=3}, + sounds = mcl_sounds.node_sound_wood_defaults(), + --[[mesecons = {effector = { + action_on = function(pos, node) + core.swap_node(pos, {name = "vlbridger:large_beam_swivel_open", param2 = node.param2}) + }}, + on_blast = mesecon_on_blastnode, + end,]] + }) + + core.register_node("vlbridger:large_beam_swivel_open", { + description = "Large Wooden Swivel Bridge", + drawtype = "nodebox", + tiles = {"def_wood.png^[transformR90"}, + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-1.5, -0.5, -0.4375, 1.5, -0.4375, 0.4375}, + {-0.6875, -0.5, -0.5, -0.59375, 0.5, -0.40625}, + {0.59375, -0.5, -0.5, 0.6875, 0.5, -0.40625}, + {0.59375, -0.5, 0.40625, 0.6875, 0.5, 0.5}, + {-0.6875, -0.5, 0.40625, -0.59375, 0.5, 0.5}, + {-1.5, 0.375, 0.40625, 1.5, 0.4375, 0.5}, + {-1.5, 0.375, -0.5, 1.5, 0.4375, -0.40625}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-1.5, -0.5, -0.5, 1.5, 0.5, 0.5}, + }, + }, + on_rightclick = function(pos, node) + core.set_node(pos, {name = "vlbridger:large_beam_swivel_normal", param2 = node.param2}) + end, + drop = "vlbridger:large_beam_swivel_normal", + groups = {choppy=3, not_in_creative_inventory=1}, + sounds = mcl_sounds.node_sound_wood_defaults(), + --[[mesecons = {effector = { + action_off = function(pos, node) + core.swap_node(pos, {name = "vlbridger:large_beam_swivel_normal", param2 = node.param2}) + end, + }}, + on_blast = mesecon_on_blastnode, + ]] + }) + + core.register_node("vlbridger:large_drawbridge_normal", { + description = "Large Wooden Drawbridge", + drawtype = "nodebox", + tiles = {"def_wood.png"}, + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.4375, -0.5, -0.5, 0.4375, -0.4375, 1.5}, + {0.40625, -0.5, -0.5, 0.5, 0.5, -0.40625}, + {0.40625, -0.5, 0.59375, 0.5, 0.5, 0.6875}, + {-0.5, -0.5, 0.59375, -0.40625, 0.5, 0.6875}, + {-0.5, -0.5, -0.5, -0.40625, 0.5, -0.40625}, + {-0.5, 0.375, -0.5, -0.40625, 0.4375, 1.5}, + {0.40625, 0.375, -0.5, 0.5, 0.4375, 1.5}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0.5, 1.5}, + }, + }, + on_rightclick = function(pos, node) + core.set_node(pos, {name = "vlbridger:large_drawbridge_open", param2 = node.param2}) + end, + groups = {choppy=3}, + sounds = mcl_sounds.node_sound_wood_defaults(), + --[[mesecons = {effector = { + action_on = function(pos, node) + core.swap_node(pos, {name = "vlbridger:large_drawbridge_open", param2 = node.param2}) + end, + }}, + ]] + }) + + core.register_node("vlbridger:large_drawbridge_open", { + description = "Large Wooden Drawbridge", + drawtype = "nodebox", + tiles = {"def_wood.png"}, + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.4375, -0.5, -0.5, 0.4375, -0.3125, -0.4375}, + {0.40625, -0.5, -0.5, 0.5, 0.5, -0.40625}, + {0.40625, 0.875, 0.15625, 0.5, 2.125, 0.25}, + {-0.5, 0.875, 0.15625, -0.40625, 2.125, 0.25}, + {-0.5, -0.5, -0.5, -0.40625, 0.5, -0.40625}, + {-0.5, 0.375, -0.5, -0.40625, 0.5625, -0.4375}, + {0.40625, 0.375, -0.5, 0.5, 0.5625, -0.4375}, + {-0.4375, -0.375, -0.4375, 0.4375, -0.1875, -0.375}, + {-0.4375, -0.25, -0.375, 0.4375, -0.0625, -0.3125}, + {-0.4375, -0.125, -0.3125, 0.4375, 0.0625, -0.25}, + {-0.4375, 0, -0.25, 0.4375, 0.1875, -0.1875}, + {-0.4375, 0.125, -0.1875, 0.4375, 0.3125, -0.125}, + {-0.4375, 0.25, -0.125, 0.4375, 0.4375, -0.0625}, + {-0.4375, 0.375, -0.0625, 0.4375, 0.5625, 0}, + {-0.4375, 0.5, 0, 0.4375, 0.6875, 0.0625}, + {-0.4375, 0.625, 0.0625, 0.4375, 0.8125, 0.125}, + {-0.4375, 0.75, 0.125, 0.4375, 0.9375, 0.1875}, + {-0.4375, 0.875, 0.1875, 0.4375, 1.0625, 0.25}, + {-0.4375, 1, 0.25, 0.4375, 1.1875, 0.3125}, + {-0.4375, 1.125, 0.3125, 0.4375, 1.3125, 0.375}, + {-0.5, 0.5, -0.4375, -0.40625, 0.6875, -0.375}, + {-0.5, 0.625, -0.375, -0.40625, 0.8125, -0.3125}, + {-0.5, 0.75, -0.3125, -0.40625, 0.9375, -0.25}, + {-0.5, 0.875, -0.25, -0.40625, 1.0625, -0.1875}, + {-0.5, 1, -0.1875, -0.40625, 1.1875, -0.125}, + {-0.5, 1.125, -0.125, -0.40625, 1.3125, -0.0625}, + {-0.5, 1.25, -0.0625, -0.40625, 1.4375, 0}, + {-0.5, 1.375, 0, -0.40625, 1.5625, 0.0625}, + {-0.5, 1.5, 0.0625, -0.40625, 1.6875, 0.125}, + {-0.5, 1.625, 0.125, -0.40625, 1.8125, 0.1875}, + {-0.5, 1.75, 0.1875, -0.40625, 1.9375, 0.25}, + {-0.5, 1.875, 0.25, -0.40625, 2.0625, 0.3125}, + {-0.5, 2, 0.3125, -0.40625, 2.1875, 0.375}, + {0.40625, 0.5, -0.4375, 0.5, 0.6875, -0.375}, + {0.40625, 0.625, -0.375, 0.5, 0.8125, -0.3125}, + {0.40625, 0.75, -0.3125, 0.5, 0.9375, -0.25}, + {0.40625, 0.875, -0.25, 0.5, 1.0625, -0.1875}, + {0.40625, 1, -0.1875, 0.5, 1.1875, -0.125}, + {0.40625, 1.125, -0.125, 0.5, 1.3125, -0.0625}, + {0.40625, 1.25, -0.0625, 0.5, 1.4375, 0}, + {0.40625, 1.375, 0, 0.5, 1.5625, 0.0625}, + {0.40625, 1.5, 0.0625, 0.5, 1.6875, 0.125}, + {0.40625, 1.625, 0.125, 0.5, 1.8125, 0.1875}, + {0.40625, 1.75, 0.1875, 0.5, 1.9375, 0.25}, + {0.40625, 1.875, 0.25, 0.5, 2.0625, 0.3125}, + {0.40625, 2, 0.3125, 0.5, 2.1875, 0.375}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 2.1875, 0.5}, + }, + }, + on_rightclick = function(pos, node) + core.set_node(pos, {name = "vlbridger:large_drawbridge_normal", param2 = node.param2}) + end, + drop = "vlbridger:large_drawbridge_normal", + groups = {choppy=3, not_in_creative_inventory=1}, + sounds = mcl_sounds.node_sound_wood_defaults(), + --[[mesecons = {effector = { + action_off = function(pos, node) + core.swap_node(pos, {name = "vlbridger:large_drawbridge_normal", param2 = node.param2}) + end, + }}, + on_blast = mesecon_on_blastnode,]] + }) + + core.register_node("vlbridger:deck_wood", { + description = "Wooden Deck", + drawtype = "nodebox", + tiles = {"def_wood.png"}, + paramtype = "light", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, 0.375, -0.5, 0.5, 0.501, 0.5}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, 0, -0.5, 0.5, 0.5, 0.5}, + }, + }, + groups = {choppy=3}, + sounds = mcl_sounds.node_sound_wood_defaults(), + }) +end