diff --git a/mods/ambience/README.md b/mods/ambience/README.md index 2a513835..d12ae5b0 100644 --- a/mods/ambience/README.md +++ b/mods/ambience/README.md @@ -18,5 +18,6 @@ Based on Immersive Sounds .36 mod by Neuromancer and optimized to run on servers - 1.3 - Added API for use with other mods, code rewrite - 1.4 - Re-ordered water sets to come before fire and lava, day/night sounds play when leaves around and above ground - 1.5 - Added 'flame_sound' and fire redo check, code tidy and tweak, added ephemeral flag for background sounds. +- 1.6 - Finding env_sounds disables water and lava sets, added 'ambience_water_move' flag to override water walking sounds, use eye level for head node. Code license: MIT diff --git a/mods/ambience/init.lua b/mods/ambience/init.lua index 31a0edef..00f3a7f0 100644 --- a/mods/ambience/init.lua +++ b/mods/ambience/init.lua @@ -1,13 +1,6 @@ ambience = {} --- override default water sounds -minetest.override_item("default:water_source", { sounds = {} }) -minetest.override_item("default:water_flowing", { sounds = {} }) -minetest.override_item("default:river_water_source", { sounds = {} }) -minetest.override_item("default:river_water_flowing", { sounds = {} }) - - -- settings local SOUNDVOLUME = 1.0 local MUSICVOLUME = 1.0 @@ -132,13 +125,14 @@ local get_ambience = function(player, tod, name) -- get foot and head level nodes at player position local pos = player:get_pos() ; if not pos then return end + local prop = player:get_properties() - pos.y = pos.y + 1.4 -- head level + pos.y = pos.y + prop.eye_height -- eye level local nod_head = pplus and name and playerplus[name] and playerplus[name].nod_head or minetest.get_node(pos).name - pos.y = pos.y - 1.2 -- foot level + pos.y = (pos.y - prop.eye_height) + 0.2 -- foot level local nod_feet = pplus and name and playerplus[name] and playerplus[name].nod_feet or minetest.get_node(pos).name @@ -190,19 +184,17 @@ minetest.register_globalstep(function(dtime) if timer < 1 then return end timer = 0 - -- get list of players and set some variables - local players = minetest.get_connected_players() local player_name, number, chance, ambience, handler, ok local tod = minetest.get_timeofday() -- loop through players - for n = 1, #players do + for _, player in ipairs(minetest.get_connected_players()) do - player_name = players[n]:get_player_name() + player_name = player:get_player_name() --local t1 = os.clock() - local set_name, MORE_GAIN = get_ambience(players[n], tod, player_name) + local set_name, MORE_GAIN = get_ambience(player, tod, player_name) --print(string.format("elapsed time: %.4f\n", os.clock() - t1)) @@ -258,25 +250,24 @@ minetest.register_globalstep(function(dtime) playing[player_name].handler = handler -- set timer to stop sound - minetest.after(ambience.length, function() - ---print("-- after", set_name, handler) - - -- make sure we are stopping same sound we started - if playing[player_name] - and playing[player_name].handler - and playing[player_name].handler == handler then + minetest.after(ambience.length, function(handler, player_name) --print("-- timed stop", set_name, handler) - + if handler then minetest.sound_stop(handler) + end + + -- reset variables if handlers match + if playing[player_name] + and playing[player_name].handler == handler then + +--print("-- timed reset", handler, player_name) - -- reset player variables playing[player_name].set = nil playing[player_name].gain = nil playing[player_name].handler = nil end - end) + end, handler, player_name) end end end diff --git a/mods/ambience/settingtypes.txt b/mods/ambience/settingtypes.txt index 6d591d10..fafa5292 100644 --- a/mods/ambience/settingtypes.txt +++ b/mods/ambience/settingtypes.txt @@ -1,2 +1,5 @@ # If enabled will play a random music file from ./minetest/sounds at midnight ambience_music (Ambience music) bool true + +# If enabled then ambience will take over sounds when moving in water +ambience_water_move (Ambience water movement) bool true diff --git a/mods/ambience/soundsets.lua b/mods/ambience/soundsets.lua index 01989669..3adcd761 100644 --- a/mods/ambience/soundsets.lua +++ b/mods/ambience/soundsets.lua @@ -25,7 +25,15 @@ ambience.add_set("underwater", { end }) --- Splashing sound plays when player walks inside water nodes +-- Splashing sound plays when player walks inside water nodes (if enabled) + +if minetest.settings:get_bool("ambience_water_move") ~= false then + +-- override default water sounds +minetest.override_item("default:water_source", { sounds = {} }) +minetest.override_item("default:water_flowing", { sounds = {} }) +minetest.override_item("default:river_water_source", { sounds = {} }) +minetest.override_item("default:river_water_flowing", { sounds = {} }) ambience.add_set("splash", { @@ -49,7 +57,9 @@ ambience.add_set("splash", { end }) --- check for env_sounds mod, if not found enable water flowing sounds +end + +-- check for env_sounds mod, if not found enable water flowing and lava sounds if not minetest.get_modpath("env_sounds") then -- Water sound plays when near flowing water @@ -102,6 +112,32 @@ ambience.add_set("river", { end }) +-- Lava sound plays when near lava + +ambience.add_set("lava", { + + frequency = 1000, + + sounds = { + {name = "lava", length = 7} + }, + + nodes = {"default:lava_source", "default:lava_flowing"}, + + sound_check = function(def) + + local c = (def.totals["default:lava_source"] or 0) + + (def.totals["default:lava_flowing"] or 0) + + if c > 20 then + return "lava", 0.5 + + elseif c > 5 then + return "lava" + end + end +}) + else print ("[Ambience] found env_sounds, flowing water sounds disabled.") end @@ -170,32 +206,6 @@ ambience.add_set("largefire", { end --- Lava sound plays when near lava - -ambience.add_set("lava", { - - frequency = 1000, - - sounds = { - {name = "lava", length = 7} - }, - - nodes = {"default:lava_source", "default:lava_flowing"}, - - sound_check = function(def) - - local c = (def.totals["default:lava_source"] or 0) - + (def.totals["default:lava_flowing"] or 0) - - if c > 20 then - return "lava", 0.5 - - elseif c > 5 then - return "lava" - end - end -}) - -- Beach sounds play when below y-pos 6 and 150+ water source found ambience.add_set("beach", { diff --git a/mods/bridger/alias.lua b/mods/bridger/alias.lua index 0518a85f..e63e1f3d 100644 --- a/mods/bridger/alias.lua +++ b/mods/bridger/alias.lua @@ -6,18 +6,17 @@ local bridger_colors = { } for _, color in pairs(bridger_colors) do - local oldname = color local newname = string.lower(color) if minetest.get_modpath("moreblocks") then - stairsplus:register_alias_all("bridges", "block_"..oldname, "bridger", "block_"..newname) - minetest.register_alias("bridges:step_"..oldname, "bridger:panel_block_"..newname) + stairsplus:register_alias_all("bridges", "block_" .. oldname, "bridger", "block_" .. newname) + minetest.register_alias("bridges:step_" .. oldname, "bridger:panel_block_" .. newname) elseif minetest.get_modpath("stairs") then - minetest.register_alias("stairs:slab_block_"..oldname, "stairs:slab_block_"..newname) - minetest.register_alias("stairs:stair_block_"..oldname, "stairs:stair_block_"..newname) + minetest.register_alias("stairs:slab_block_" .. oldname, "stairs:slab_block_" .. newname) + minetest.register_alias("stairs:stair_block_" .. oldname, "stairs:stair_block_" .. newname) end - + local bridger_error1 = { "block_", "step_", @@ -41,12 +40,11 @@ for _, color in pairs(bridger_colors) do "truss_substructure_end_left_slant_", "truss_substructure_end_right_slant_" } - - + for _, prefix in pairs (bridger_error1) do - minetest.register_alias("bridges:"..prefix..oldname, "bridger:"..prefix..newname) + minetest.register_alias("bridges:" .. prefix .. oldname, "bridger:" .. prefix .. newname) end - + local bridger_error2 = { "truss_substructure_mid", "truss_substructure_simple", @@ -58,18 +56,18 @@ for _, color in pairs(bridger_colors) do "truss_superstructure_simple", "truss_superstructure_simple_end_right" } - + for _, prefix in pairs (bridger_error2) do - minetest.register_alias("bridges:"..prefix..oldname, "bridger:"..prefix.."_"..newname) + minetest.register_alias("bridges:" .. prefix .. oldname, "bridger:" .. prefix .. "_" .. newname) end - - minetest.register_alias("bridges:truss_superstructure_simple_end"..oldname, "bridger:truss_superstructure_simple_end_left_"..newname) - minetest.register_alias("bridges:girder_left_end"..oldname, "bridger:girder_left_"..newname) - + + minetest.register_alias("bridges:truss_superstructure_simple_end" .. oldname, "bridger:truss_superstructure_simple_end_left_" .. newname) + minetest.register_alias("bridges:girder_left_end" .. oldname, "bridger:girder_left_" .. newname) + end minetest.register_alias("bridges:corrugated_steel", "bridger:corrugated_steel_steel") minetest.register_alias("bridges:corrugated_steel_ceiling", "bridger:corrugated_steel_ceiling_steel") minetest.register_alias("bridges:scaffolding", "bridger:scaffolding") minetest.register_alias("bridges:zbridges_diagonal_steel_rod", "bridger:bridges_diagonal_steel_rod") -minetest.register_alias("bridges:zbridges_steel_rod", "bridger:bridges_steel_rod") \ No newline at end of file +minetest.register_alias("bridges:zbridges_steel_rod", "bridger:bridges_steel_rod") diff --git a/mods/bridger/crafts.lua b/mods/bridger/crafts.lua index 86aaf318..0224136e 100644 --- a/mods/bridger/crafts.lua +++ b/mods/bridger/crafts.lua @@ -4,32 +4,31 @@ minetest.register_craftitem("bridger:bridges_wooden_rod", { }) minetest.register_craft({ - output = 'default:stick', + output = "default:stick", recipe = { - {'bridger:bridges_wooden_rod'}, + {"bridger:bridges_wooden_rod"}, } }) minetest.register_craft({ - output = 'bridger:bridges_wooden_rod 3', + output = "bridger:bridges_wooden_rod 3", recipe = { - {'group:stick'}, - {'group:stick'}, - {'group:stick'}, + {"group:stick"}, + {"group:stick"}, + {"group:stick"}, } }) minetest.register_craft({ - output = 'bridger:scaffolding 2', + output = "bridger:scaffolding 2", recipe = { - {'bridger:bridges_wooden_rod','','bridger:bridges_wooden_rod'}, - {'','group:stick',''}, - {'bridger:bridges_wooden_rod','','bridger:bridges_wooden_rod'}, + {"bridger:bridges_wooden_rod", "", "bridger:bridges_wooden_rod"}, + {"", "group:stick", ""}, + {"bridger:bridges_wooden_rod", "", "bridger:bridges_wooden_rod"}, } }) if minetest.settings:get_bool("bridger_enable_trusses") then - minetest.register_craftitem("bridger:bridges_steel_rod", { description = "Steel Rod", inventory_image = "bridges_steel_rod.png", @@ -41,33 +40,33 @@ if minetest.settings:get_bool("bridger_enable_trusses") then }) minetest.register_craft({ - output = 'bridger:bridges_steel_rod 3', + output = "bridger:bridges_steel_rod 3", recipe = { - {'default:steel_ingot'}, + {"default:steel_ingot"}, } }) minetest.register_craft({ - output = 'bridger:bridges_diagonal_steel_rod 3', + output = "bridger:bridges_diagonal_steel_rod 3", recipe = { - {'','','bridger:bridges_steel_rod'}, - {'','bridger:bridges_steel_rod',''}, - {'bridger:bridges_steel_rod','',''}, + {"", "", "bridger:bridges_steel_rod"}, + {"", "bridger:bridges_steel_rod", ""}, + {"bridger:bridges_steel_rod", "", ""}, } }) - - minetest.register_craft({ - output = 'bridger:train_deck_white', - type = 'shapeless', - recipe = {'bridger:bridges_diagonal_steel_rod','bridger:bridges_diagonal_steel_rod'}, - }) minetest.register_craft({ - output = 'bridger:block_white', + output = "bridger:train_deck_white", + type = "shapeless", + recipe = {"bridger:bridges_diagonal_steel_rod", "bridger:bridges_diagonal_steel_rod"}, + }) + + minetest.register_craft({ + output = "bridger:block_white", recipe = { - {'bridger:bridges_steel_rod','bridger:bridges_steel_rod','bridger:bridges_steel_rod'}, - {'bridger:bridges_steel_rod','bridger:bridges_steel_rod','bridger:bridges_steel_rod'}, - {'bridger:bridges_steel_rod','bridger:bridges_steel_rod','bridger:bridges_steel_rod'}, + {"bridger:bridges_steel_rod", "bridger:bridges_steel_rod", "bridger:bridges_steel_rod"}, + {"bridger:bridges_steel_rod", "bridger:bridges_steel_rod", "bridger:bridges_steel_rod"}, + {"bridger:bridges_steel_rod", "bridger:bridges_steel_rod", "bridger:bridges_steel_rod"}, } }) @@ -76,551 +75,552 @@ if minetest.settings:get_bool("bridger_enable_trusses") then "red", "steel", "white", + "yellow" } for c in ipairs(bridge_colors) do - local bridge_colors = bridge_colors[c] + local bridge_color = bridge_colors[c] minetest.register_craft({ - output = 'bridger:deck_'..bridge_colors..' 8', + output = "bridger:deck_" .. bridge_color .. " 8", recipe = { - {'bridger:block_'..bridge_colors}, + {"bridger:block_" .. bridge_color}, } }) minetest.register_craft({ - output = 'bridger:deck_edge_'..bridge_colors..' 14', + output = "bridger:deck_edge_" .. bridge_color .. " 14", recipe = { - {'','bridger:block_'..bridge_colors}, - {'bridger:block_'..bridge_colors,''}, + {"", "bridger:block_" .. bridge_color}, + {"bridger:block_" .. bridge_color, ""}, } }) minetest.register_craft({ - output = 'bridger:step_'..bridge_colors..' 12', + output = "bridger:step_" .. bridge_color .. " 12", recipe = { - {'','bridger:block_'..bridge_colors}, - {'bridger:block_'..bridge_colors,'bridger:block_'..bridge_colors}, + {"", "bridger:block_" .. bridge_color}, + {"bridger:block_" .. bridge_color, "bridger:block_" .. bridge_color}, } }) minetest.register_craft({ - output = 'bridger:step_'..bridge_colors..' 12', + output = "bridger:step_" .. bridge_color .. " 12", recipe = { - {'bridger:block_'..bridge_colors,''}, - {'bridger:block_'..bridge_colors,'bridger:block_'..bridge_colors}, + {"bridger:block_" .. bridge_color, ""}, + {"bridger:block_" .. bridge_color, "bridger:block_" .. bridge_color}, } }) minetest.register_craft({ - output = 'bridger:block_'..bridge_colors, + output = "bridger:block_" .. bridge_color, recipe = { - {'bridger:step_'..bridge_colors,'bridger:step_'..bridge_colors}, - {'bridger:step_'..bridge_colors,'bridger:step_'..bridge_colors}, + {"bridger:step_" .. bridge_color, "bridger:step_" .. bridge_color}, + {"bridger:step_" .. bridge_color, "bridger:step_" .. bridge_color}, } }) minetest.register_craft({ - output = 'bridger:suspension_cable_'..bridge_colors..' 16', + output = "bridger:suspension_cable_" .. bridge_color .. " 16", recipe = { - {'bridger:block_'..bridge_colors}, - {'bridger:block_'..bridge_colors}, - {'bridger:block_'..bridge_colors}, + {"bridger:block_" .. bridge_color}, + {"bridger:block_" .. bridge_color}, + {"bridger:block_" .. bridge_color}, } }) minetest.register_craft({ - output = 'bridger:suspension_top_'..bridge_colors..' 8', + output = "bridger:suspension_top_" .. bridge_color .. " 8", recipe = { - {'bridger:block_'..bridge_colors,'bridger:block_'..bridge_colors,'bridger:block_'..bridge_colors}, - {'','bridger:block_'..bridge_colors,''}, - {'','bridger:block_'..bridge_colors,''}, + {"bridger:block_" .. bridge_color, "bridger:block_" .. bridge_color, "bridger:block_" .. bridge_color}, + {"", "bridger:block_" .. bridge_color, ""}, + {"", "bridger:block_" .. bridge_color, ""}, } }) minetest.register_craft({ - output = 'bridger:girder_mid_'..bridge_colors..' 4', + output = "bridger:girder_mid_" .. bridge_color .. " 4", recipe = { - {'bridger:bridges_steel_rod','bridger:bridges_steel_rod','bridger:bridges_steel_rod'}, - {'bridger:bridges_steel_rod','bridger:block_'..bridge_colors,'bridger:bridges_steel_rod'}, - {'bridger:bridges_steel_rod','bridger:bridges_steel_rod','bridger:bridges_steel_rod'}, + {"bridger:bridges_steel_rod", "bridger:bridges_steel_rod", "bridger:bridges_steel_rod"}, + {"bridger:bridges_steel_rod", "bridger:block_" .. bridge_color, "bridger:bridges_steel_rod"}, + {"bridger:bridges_steel_rod", "bridger:bridges_steel_rod", "bridger:bridges_steel_rod"}, } }) minetest.register_craft({ - output = 'bridger:girder_left_end_'..bridge_colors..' 4', + output = "bridger:girder_left_end_" .. bridge_color .. " 4", recipe = { - {'','','bridger:bridges_steel_rod'}, - {'','bridger:block_'..bridge_colors,'bridger:bridges_steel_rod'}, - {'bridger:bridges_steel_rod','bridger:bridges_steel_rod','bridger:bridges_steel_rod'}, + {"", "", "bridger:bridges_steel_rod"}, + {"", "bridger:block_" .. bridge_color, "bridger:bridges_steel_rod"}, + {"bridger:bridges_steel_rod", "bridger:bridges_steel_rod", "bridger:bridges_steel_rod"}, } }) minetest.register_craft({ - output = 'bridger:girder_right_'..bridge_colors..' 4', + output = "bridger:girder_right_" .. bridge_color .. " 4", recipe = { - {'bridger:bridges_steel_rod','',''}, - {'bridger:bridges_steel_rod','bridger:block_'..bridge_colors,''}, - {'bridger:bridges_steel_rod','bridger:bridges_steel_rod','bridger:bridges_steel_rod'}, + {"bridger:bridges_steel_rod", "", ""}, + {"bridger:bridges_steel_rod", "bridger:block_" .. bridge_color, ""}, + {"bridger:bridges_steel_rod", "bridger:bridges_steel_rod", "bridger:bridges_steel_rod"}, } }) minetest.register_craft({ - output = 'bridger:corrugated_steel_'..bridge_colors, - type = 'shapeless', - recipe = {'bridger:deck_'..bridge_colors,'default:coal_lump'}, + output = "bridger:corrugated_steel_" .. bridge_color, + type = "shapeless", + recipe = {"bridger:deck_" .. bridge_color, "default:coal_lump"}, }) minetest.register_craft({ - output = 'bridger:corrugated_steel_ceiling_'..bridge_colors..' 3', + output = "bridger:corrugated_steel_ceiling_" .. bridge_color .. " 3", recipe = { - {'bridger:corrugated_steel'..bridge_colors,'bridger:corrugated_steel'..bridge_colors,'bridger:corrugated_steel'..bridge_colors}, + {"bridger:corrugated_steel" .. bridge_color, "bridger:corrugated_steel" .. bridge_color, "bridger:corrugated_steel" .. bridge_color}, } }) minetest.register_craft({ - output = 'bridger:truss_superstructure_left_slant_white', + output = "bridger:truss_superstructure_left_slant_white", recipe = { - {'','bridger:bridges_steel_rod','bridger:bridges_diagonal_steel_rod'}, - {'bridger:bridges_steel_rod','bridger:bridges_diagonal_steel_rod','bridger:bridges_steel_rod'}, - {'bridger:bridges_diagonal_steel_rod','bridger:bridges_steel_rod',''}, + {"", "bridger:bridges_steel_rod", "bridger:bridges_diagonal_steel_rod"}, + {"bridger:bridges_steel_rod", "bridger:bridges_diagonal_steel_rod", "bridger:bridges_steel_rod"}, + {"bridger:bridges_diagonal_steel_rod", "bridger:bridges_steel_rod", ""}, } }) minetest.register_craft({ - output = 'bridger:truss_superstructure_right_slant_'..bridge_colors, + output = "bridger:truss_superstructure_right_slant_" .. bridge_color, recipe = { - {'bridger:truss_superstructure_left_slant_'..bridge_colors}, + {"bridger:truss_superstructure_left_slant_" .. bridge_color}, } }) minetest.register_craft({ - output = 'bridger:truss_superstructure_left_slant_'..bridge_colors, + output = "bridger:truss_superstructure_left_slant_" .. bridge_color, recipe = { - {'bridger:truss_superstructure_right_slant_'..bridge_colors}, + {"bridger:truss_superstructure_right_slant_" .. bridge_color}, } }) minetest.register_craft({ - output = 'bridger:corrugated_steel_ceiling_'..bridge_colors..' 3', + output = "bridger:corrugated_steel_ceiling_" .. bridge_color .. " 3", recipe = { - {'bridger:corrugated_steel'..bridge_colors,'bridger:corrugated_steel'..bridge_colors,'bridger:corrugated_steel'..bridge_colors}, + {"bridger:corrugated_steel" .. bridge_color, "bridger:corrugated_steel" .. bridge_color, "bridger:corrugated_steel" .. bridge_color}, } }) minetest.register_craft({ - output = 'bridger:truss_superstructure_tall_left_slant_'..bridge_colors, + output = "bridger:truss_superstructure_tall_left_slant_" .. bridge_color, recipe = { - {'bridger:bridges_steel_rod','','bridger:bridges_steel_rod'}, - {'','bridger:truss_superstructure_left_slant_'..bridge_colors,''}, + {"bridger:bridges_steel_rod", "", "bridger:bridges_steel_rod"}, + {"", "bridger:truss_superstructure_left_slant_" .. bridge_color, ""}, } }) minetest.register_craft({ - output = 'bridger:truss_superstructure_tall_right_slant_'..bridge_colors, + output = "bridger:truss_superstructure_tall_right_slant_" .. bridge_color, recipe = { - {'bridger:bridges_steel_rod','','bridger:bridges_steel_rod'}, - {'','bridger:truss_superstructure_right_slant_'..bridge_colors,''}, + {"bridger:bridges_steel_rod", "", "bridger:bridges_steel_rod"}, + {"", "bridger:truss_superstructure_right_slant_" .. bridge_color, ""}, } }) minetest.register_craft({ - output = 'bridger:truss_superstructure_tall_right_slant_'..bridge_colors, + output = "bridger:truss_superstructure_tall_right_slant_" .. bridge_color, recipe = { - {'bridger:truss_superstructure_tall_left_slant_'..bridge_colors}, + {"bridger:truss_superstructure_tall_left_slant_" .. bridge_color}, } }) minetest.register_craft({ - output = 'bridger:truss_superstructure_tall_left_slant_'..bridge_colors, + output = "bridger:truss_superstructure_tall_left_slant_" .. bridge_color, recipe = { - {'bridger:truss_superstructure_tall_right_slant_'..bridge_colors}, + {"bridger:truss_superstructure_tall_right_slant_" .. bridge_color}, } }) minetest.register_craft({ - output = 'bridger:truss_superstructure_up_left_slant_'..bridge_colors, + output = "bridger:truss_superstructure_up_left_slant_" .. bridge_color, recipe = { - {'','','bridger:bridges_steel_rod'}, - {'','bridger:truss_superstructure_left_slant_'..bridge_colors,''}, + {"", "", "bridger:bridges_steel_rod"}, + {"", "bridger:truss_superstructure_left_slant_" .. bridge_color, ""}, } }) minetest.register_craft({ - output = 'bridger:truss_superstructure_up_right_slant_'..bridge_colors, + output = "bridger:truss_superstructure_up_right_slant_" .. bridge_color, recipe = { - {'','','bridger:bridges_steel_rod'}, - {'','bridger:truss_superstructure_right_slant_'..bridge_colors,''}, + {"", "", "bridger:bridges_steel_rod"}, + {"", "bridger:truss_superstructure_right_slant_" .. bridge_color, ""}, } }) minetest.register_craft({ - output = 'bridger:truss_superstructure_down_left_slant_'..bridge_colors, + output = "bridger:truss_superstructure_down_left_slant_" .. bridge_color, recipe = { - {'bridger:bridges_steel_rod','',''}, - {'','bridger:truss_superstructure_left_slant_'..bridge_colors,''}, + {"bridger:bridges_steel_rod", "", ""}, + {"", "bridger:truss_superstructure_left_slant_" .. bridge_color, ""}, } }) minetest.register_craft({ - output = 'bridger:truss_superstructure_down_right_slant_'..bridge_colors, + output = "bridger:truss_superstructure_down_right_slant_" .. bridge_color, recipe = { - {'bridger:bridges_steel_rod','',''}, - {'','bridger:truss_superstructure_right_slant_'..bridge_colors,''}, + {"bridger:bridges_steel_rod", "", ""}, + {"", "bridger:truss_superstructure_right_slant_" .. bridge_color, ""}, } }) minetest.register_craft({ - output = 'bridger:truss_superstructure_up_right_slant_'..bridge_colors, + output = "bridger:truss_superstructure_up_right_slant_" .. bridge_color, recipe = { - {'bridger:truss_superstructure_up_left_slant_'..bridge_colors}, + {"bridger:truss_superstructure_up_left_slant_" .. bridge_color}, } }) minetest.register_craft({ - output = 'bridger:truss_superstructure_up_left_slant_'..bridge_colors, + output = "bridger:truss_superstructure_up_left_slant_" .. bridge_color, recipe = { - {'bridger:truss_superstructure_up_right_slant_'..bridge_colors}, + {"bridger:truss_superstructure_up_right_slant_" .. bridge_color}, } }) minetest.register_craft({ - output = 'bridger:truss_superstructure_down_right_slant_'..bridge_colors, + output = "bridger:truss_superstructure_down_right_slant_" .. bridge_color, recipe = { - {'bridger:truss_superstructure_down_left_slant_'..bridge_colors}, + {"bridger:truss_superstructure_down_left_slant_" .. bridge_color}, } }) minetest.register_craft({ - output = 'bridger:truss_superstructure_down_left_slant_'..bridge_colors, + output = "bridger:truss_superstructure_down_left_slant_" .. bridge_color, recipe = { - {'bridger:truss_superstructure_down_right_slant_'..bridge_colors}, + {"bridger:truss_superstructure_down_right_slant_" .. bridge_color}, } }) minetest.register_craft({ - output = 'bridger:truss_superstructure_end_left_slant_white', + output = "bridger:truss_superstructure_end_left_slant_white", recipe = { - {'','','bridger:bridges_diagonal_steel_rod'}, - {'','bridger:bridges_diagonal_steel_rod','bridger:bridges_steel_rod'}, - {'bridger:bridges_diagonal_steel_rod','bridger:bridges_steel_rod',''}, + {"", "", "bridger:bridges_diagonal_steel_rod"}, + {"", "bridger:bridges_diagonal_steel_rod", "bridger:bridges_steel_rod"}, + {"bridger:bridges_diagonal_steel_rod", "bridger:bridges_steel_rod", ""}, } }) minetest.register_craft({ - output = 'bridger:truss_superstructure_end_right_'..bridge_colors, + output = "bridger:truss_superstructure_end_right_" .. bridge_color, recipe = { - {'bridger:truss_superstructure_end_left_slant_'..bridge_colors}, + {"bridger:truss_superstructure_end_left_slant_" .. bridge_color}, } }) minetest.register_craft({ - output = 'bridger:truss_superstructure_end_left_'..bridge_colors, + output = "bridger:truss_superstructure_end_left_" .. bridge_color, recipe = { - {'bridger:truss_superstructure_end_right_slant_'..bridge_colors}, + {"bridger:truss_superstructure_end_right_slant_" .. bridge_color}, } }) minetest.register_craft({ - output = 'bridger:truss_superstructure_mid_'..bridge_colors, - type = 'shapeless', - recipe = {'bridger:truss_superstructure_left_slant_'..bridge_colors,'bridger:truss_superstructure_right_slant_'..bridge_colors}, + output = "bridger:truss_superstructure_mid_" .. bridge_color, + type = "shapeless", + recipe = {"bridger:truss_superstructure_left_slant_" .. bridge_color, "bridger:truss_superstructure_right_slant_" .. bridge_color}, }) minetest.register_craft({ - output = 'bridger:truss_superstructure_tall_mid_'..bridge_colors, - type = 'shapeless', - recipe = {'bridger:truss_superstructure_tall_left_slant_'..bridge_colors,'bridger:truss_superstructure_tall_right_slant_'..bridge_colors}, + output = "bridger:truss_superstructure_tall_mid_" .. bridge_color, + type = "shapeless", + recipe = {"bridger:truss_superstructure_tall_left_slant_" .. bridge_color, "bridger:truss_superstructure_tall_right_slant_" .. bridge_color}, }) minetest.register_craft({ - output = 'bridger:truss_superstructure_tall_mid_'..bridge_colors, + output = "bridger:truss_superstructure_tall_mid_" .. bridge_color, recipe = { - {'bridger:bridges_steel_rod','','bridger:bridges_steel_rod'}, - {'','bridger:truss_superstructure_mid_'..bridge_colors,''}, + {"bridger:bridges_steel_rod", "", "bridger:bridges_steel_rod"}, + {"", "bridger:truss_superstructure_mid_" .. bridge_color, ""}, } }) minetest.register_craft({ - output = 'bridger:truss_superstructure_up_mid_'..bridge_colors, + output = "bridger:truss_superstructure_up_mid_" .. bridge_color, recipe = { - {'','','bridger:bridges_steel_rod'}, - {'','bridger:truss_superstructure_mid_'..bridge_colors,''}, + {"", "", "bridger:bridges_steel_rod"}, + {"", "bridger:truss_superstructure_mid_" .. bridge_color, ""}, } }) minetest.register_craft({ - output = 'bridger:truss_superstructure_down_mid_'..bridge_colors, + output = "bridger:truss_superstructure_down_mid_" .. bridge_color, recipe = { - {'bridger:bridges_steel_rod','',''}, - {'','bridger:truss_superstructure_mid_'..bridge_colors,''}, + {"bridger:bridges_steel_rod", "", ""}, + {"", "bridger:truss_superstructure_mid_" .. bridge_color, ""}, } }) minetest.register_craft({ - output = 'bridger:truss_substructure_left_slant_white', + output = "bridger:truss_substructure_left_slant_white", recipe = { - {'','bridger:bridges_steel_rod',''}, - {'bridger:bridges_steel_rod','bridger:bridges_diagonal_steel_rod','bridger:bridges_steel_rod'}, - {'','bridger:bridges_steel_rod',''}, + {"", "bridger:bridges_steel_rod", ""}, + {"bridger:bridges_steel_rod", "bridger:bridges_diagonal_steel_rod", "bridger:bridges_steel_rod"}, + {"", "bridger:bridges_steel_rod", ""}, } }) minetest.register_craft({ - output = 'bridger:truss_substructure_right_slant_'..bridge_colors, + output = "bridger:truss_substructure_right_slant_" .. bridge_color, recipe = { - {'bridger:truss_substructure_left_slant_'..bridge_colors}, + {"bridger:truss_substructure_left_slant_" .. bridge_color}, } }) minetest.register_craft({ - output = 'bridger:truss_substructure_left_slant_'..bridge_colors, + output = "bridger:truss_substructure_left_slant_" .. bridge_color, recipe = { - {'bridger:truss_substructure_right_slant_'..bridge_colors}, + {"bridger:truss_substructure_right_slant_" .. bridge_color}, } }) minetest.register_craft({ - output = 'bridger:truss_substructure_end_left_slant_white', + output = "bridger:truss_substructure_end_left_slant_white", recipe = { - {'','bridger:bridges_steel_rod'}, - {'bridger:bridges_steel_rod','bridger:bridges_diagonal_steel_rod'}, + {"", "bridger:bridges_steel_rod"}, + {"bridger:bridges_steel_rod", "bridger:bridges_diagonal_steel_rod"}, } }) minetest.register_craft({ - output = 'bridger:truss_substructure_end_right_'..bridge_colors, + output = "bridger:truss_substructure_end_right_" .. bridge_color, recipe = { - {'bridger:truss_substructure_end_left_slant_'..bridge_colors}, + {"bridger:truss_substructure_end_left_slant_" .. bridge_color}, } }) minetest.register_craft({ - output = 'bridger:truss_substructure_end_left_'..bridge_colors, + output = "bridger:truss_substructure_end_left_" .. bridge_color, recipe = { - {'bridger:truss_substructure_end_right_slant_'..bridge_colors}, + {"bridger:truss_substructure_end_right_slant_" .. bridge_color}, } }) minetest.register_craft({ - output = 'bridger:truss_substructure_mid_'..bridge_colors, - type = 'shapeless', - recipe = {'bridger:truss_substructure_left_slant_'..bridge_colors,'bridger:truss_substructure_right_slant_'..bridge_colors}, + output = "bridger:truss_substructure_mid_" .. bridge_color, + type = "shapeless", + recipe = {"bridger:truss_substructure_left_slant_" .. bridge_color, "bridger:truss_substructure_right_slant_" .. bridge_color}, }) minetest.register_craft({ - output = 'bridger:truss_substructure_simple_white', + output = "bridger:truss_substructure_simple_white", recipe = { - {'','bridger:bridges_steel_rod',''}, - {'bridger:bridges_diagonal_steel_rod','','bridger:bridges_diagonal_steel_rod'}, - {'','bridger:bridges_steel_rod',''}, + {"", "bridger:bridges_steel_rod", ""}, + {"bridger:bridges_diagonal_steel_rod", "", "bridger:bridges_diagonal_steel_rod"}, + {"", "bridger:bridges_steel_rod", ""}, } }) minetest.register_craft({ - output = 'bridger:small_upper_chord_white', + output = "bridger:small_upper_chord_white", recipe = { - {'','bridger:bridges_steel_rod',''}, - {'','bridger:bridges_diagonal_steel_rod',''}, - {'','bridger:bridges_steel_rod',''}, + {"", "bridger:bridges_steel_rod", ""}, + {"", "bridger:bridges_diagonal_steel_rod", ""}, + {"", "bridger:bridges_steel_rod", ""}, } }) minetest.register_craft({ - output = 'bridger:medium_upper_chord_white', + output = "bridger:medium_upper_chord_white", recipe = { - {'','bridger:bridges_steel_rod',''}, - {'','bridger:bridges_diagonal_steel_rod',''}, - {'','bridger:bridges_steel_rod','bridger:bridges_diagonal_steel_rod'}, + {"", "bridger:bridges_steel_rod", ""}, + {"", "bridger:bridges_diagonal_steel_rod", ""}, + {"", "bridger:bridges_steel_rod", "bridger:bridges_diagonal_steel_rod"}, } }) minetest.register_craft({ - output = 'bridger:medium_upper_chord_white', + output = "bridger:medium_upper_chord_white", recipe = { - {'bridger:bridges_diagonal_steel_rod','bridger:bridges_steel_rod',''}, - {'','bridger:bridges_diagonal_steel_rod',''}, - {'','bridger:bridges_steel_rod',''}, + {"bridger:bridges_diagonal_steel_rod", "bridger:bridges_steel_rod", ""}, + {"", "bridger:bridges_diagonal_steel_rod", ""}, + {"", "bridger:bridges_steel_rod", ""}, } }) minetest.register_craft({ - output = 'bridger:small_upper_chord_slanted_'..bridge_colors, + output = "bridger:small_upper_chord_slanted_" .. bridge_color, recipe = { - {'bridger:small_upper_chord_'..bridge_colors}, + {"bridger:small_upper_chord_" .. bridge_color}, } }) minetest.register_craft({ - output = 'bridger:medium_upper_chord_slanted_'..bridge_colors, + output = "bridger:medium_upper_chord_slanted_" .. bridge_color, recipe = { - {'bridger:medium_upper_chord_'..bridge_colors}, + {"bridger:medium_upper_chord_" .. bridge_color}, } }) minetest.register_craft({ - output = 'bridger:medium_upper_chord_slanted_'..bridge_colors, + output = "bridger:medium_upper_chord_slanted_" .. bridge_color, recipe = { - {'bridger:medium_upper_chord_'..bridge_colors}, + {"bridger:medium_upper_chord_" .. bridge_color}, } }) minetest.register_craft({ - output = 'bridger:small_upper_chord_'..bridge_colors, + output = "bridger:small_upper_chord_" .. bridge_color, recipe = { - {'bridger:small_upper_chord_slanted_'..bridge_colors}, + {"bridger:small_upper_chord_slanted_" .. bridge_color}, } }) minetest.register_craft({ - output = 'bridger:medium_upper_chord_'..bridge_colors, + output = "bridger:medium_upper_chord_" .. bridge_color, recipe = { - {'bridger:medium_upper_chord_slanted_'..bridge_colors}, + {"bridger:medium_upper_chord_slanted_" .. bridge_color}, } }) minetest.register_craft({ - output = 'bridger:medium_upper_chord_'..bridge_colors, + output = "bridger:medium_upper_chord_" .. bridge_color, recipe = { - {'bridger:medium_upper_chord_slanted_'..bridge_colors}, + {"bridger:medium_upper_chord_slanted_" .. bridge_color}, } }) minetest.register_craft({ - output = 'bridger:large_upper_chord_white', + output = "bridger:large_upper_chord_white", recipe = { - {'bridger:bridges_diagonal_steel_rod','bridger:bridges_steel_rod',''}, - {'','bridger:bridges_diagonal_steel_rod',''}, - {'','bridger:bridges_steel_rod','bridger:bridges_diagonal_steel_rod'}, + {"bridger:bridges_diagonal_steel_rod", "bridger:bridges_steel_rod", ""}, + {"", "bridger:bridges_diagonal_steel_rod", ""}, + {"", "bridger:bridges_steel_rod", "bridger:bridges_diagonal_steel_rod"}, } }) minetest.register_craft({ - output = 'bridger:small_support_white', + output = "bridger:small_support_white", recipe = { - {'bridger:bridges_steel_rod','bridger:bridges_diagonal_steel_rod','bridger:bridges_steel_rod'}, + {"bridger:bridges_steel_rod", "bridger:bridges_diagonal_steel_rod", "bridger:bridges_steel_rod"}, } }) minetest.register_craft({ - output = 'bridger:small_support_top_'..bridge_colors, + output = "bridger:small_support_top_" .. bridge_color, recipe = { - {'bridger:small_support_'..bridge_colors}, - {'bridger:small_support_'..bridge_colors}, + {"bridger:small_support_" .. bridge_color}, + {"bridger:small_support_" .. bridge_color}, } }) minetest.register_craft({ - output = 'bridger:medium_support_white', + output = "bridger:medium_support_white", recipe = { - {'bridger:bridges_steel_rod','bridger:bridges_diagonal_steel_rod','bridger:bridges_steel_rod'}, - {'','','bridger:bridges_diagonal_steel_rod'}, + {"bridger:bridges_steel_rod", "bridger:bridges_diagonal_steel_rod", "bridger:bridges_steel_rod"}, + {"", "", "bridger:bridges_diagonal_steel_rod"}, } }) minetest.register_craft({ - output = 'bridger:medium_support_white', + output = "bridger:medium_support_white", recipe = { - {'bridger:bridges_diagonal_steel_rod','',''}, - {'bridger:bridges_steel_rod','bridger:bridges_diagonal_steel_rod','bridger:bridges_steel_rod'}, + {"bridger:bridges_diagonal_steel_rod", "", ""}, + {"bridger:bridges_steel_rod", "bridger:bridges_diagonal_steel_rod", "bridger:bridges_steel_rod"}, } }) minetest.register_craft({ - output = 'bridger:medium_support_bot_white', + output = "bridger:medium_support_bot_white", recipe = { - {'bridger:bridges_steel_rod','bridger:bridges_steel_rod'}, + {"bridger:bridges_steel_rod", "bridger:bridges_steel_rod"}, } }) minetest.register_craft({ - output = 'bridger:large_support_white', + output = "bridger:large_support_white", recipe = { - {'bridger:bridges_diagonal_steel_rod','',''}, - {'bridger:bridges_steel_rod','bridger:bridges_diagonal_steel_rod','bridger:bridges_steel_rod'}, - {'','','bridger:bridges_diagonal_steel_rod'}, + {"bridger:bridges_diagonal_steel_rod", "", ""}, + {"bridger:bridges_steel_rod", "bridger:bridges_diagonal_steel_rod", "bridger:bridges_steel_rod"}, + {"", "", "bridger:bridges_diagonal_steel_rod"}, } }) minetest.register_craft({ - output = 'bridger:large_support_bot_white', + output = "bridger:large_support_bot_white", recipe = { - {'bridger:bridges_steel_rod','','bridger:bridges_steel_rod'}, + {"bridger:bridges_steel_rod", "", "bridger:bridges_steel_rod"}, } }) minetest.register_craft({ - output = 'bridger:truss_superstructure_simple_end_right_white', + output = "bridger:truss_superstructure_simple_end_right_white", recipe = { - {'bridger:bridges_steel_rod'}, - {'bridger:bridges_steel_rod'}, - {'bridger:bridges_steel_rod'}, + {"bridger:bridges_steel_rod"}, + {"bridger:bridges_steel_rod"}, + {"bridger:bridges_steel_rod"}, } }) minetest.register_craft({ - output = 'bridger:truss_superstructure_simple_end_left_white', + output = "bridger:truss_superstructure_simple_end_left_white", recipe = { - {'bridger:bridges_diagonal_steel_rod'}, - {'bridger:bridges_diagonal_steel_rod'}, - {'bridger:bridges_diagonal_steel_rod'}, + {"bridger:bridges_diagonal_steel_rod"}, + {"bridger:bridges_diagonal_steel_rod"}, + {"bridger:bridges_diagonal_steel_rod"}, } }) minetest.register_craft({ - output = 'bridger:truss_superstructure_simple_white', + output = "bridger:truss_superstructure_simple_white", recipe = { - {'bridger:bridges_diagonal_steel_rod','bridger:bridges_steel_rod','bridger:bridges_diagonal_steel_rod'}, - {'bridger:bridges_diagonal_steel_rod','','bridger:bridges_diagonal_steel_rod'}, - {'bridger:bridges_diagonal_steel_rod','bridger:bridges_steel_rod','bridger:bridges_diagonal_steel_rod'}, + {"bridger:bridges_diagonal_steel_rod", "bridger:bridges_steel_rod", "bridger:bridges_diagonal_steel_rod"}, + {"bridger:bridges_diagonal_steel_rod", "", "bridger:bridges_diagonal_steel_rod"}, + {"bridger:bridges_diagonal_steel_rod", "bridger:bridges_steel_rod", "bridger:bridges_diagonal_steel_rod"}, } }) minetest.register_craft({ - output = 'bridger:truss_superstructure_tall_simple_end_right_'..bridge_colors, + output = "bridger:truss_superstructure_tall_simple_end_right_" .. bridge_color, recipe = { - {'bridger:bridges_steel_rod'}, - {'bridger:truss_superstructure_tall_simple_end_right_'..bridge_colors}, + {"bridger:bridges_steel_rod"}, + {"bridger:truss_superstructure_tall_simple_end_right_" .. bridge_color}, } }) minetest.register_craft({ - output = 'bridger:truss_superstructure_tall_simple_end_left_'..bridge_colors, + output = "bridger:truss_superstructure_tall_simple_end_left_" .. bridge_color, recipe = { - {'bridger:bridges_diagonal_steel_rod'}, - {'bridger:truss_superstructure_tall_simple_end_left_'..bridge_colors}, + {"bridger:bridges_diagonal_steel_rod"}, + {"bridger:truss_superstructure_tall_simple_end_left_" .. bridge_color}, } }) minetest.register_craft({ - output = 'bridger:truss_superstructure_tall_simple_'..bridge_colors, + output = "bridger:truss_superstructure_tall_simple_" .. bridge_color, recipe = { - {'bridger:bridges_diagonal_steel_rod','','bridger:bridges_diagonal_steel_rod'}, - {'','bridger:truss_superstructure_simple_'..bridge_colors,''}, + {"bridger:bridges_diagonal_steel_rod", "", "bridger:bridges_diagonal_steel_rod"}, + {"", "bridger:truss_superstructure_simple_" .. bridge_color, ""}, } }) minetest.register_craft({ - output = 'bridger:truss_superstructure_tall_simple_'..bridge_colors, + output = "bridger:truss_superstructure_tall_simple_" .. bridge_color, recipe = { - {'bridger:bridges_steel_rod','','bridger:bridges_steel_rod'}, - {'','bridger:truss_superstructure_simple_'..bridge_colors,''}, + {"bridger:bridges_steel_rod", "", "bridger:bridges_steel_rod"}, + {"", "bridger:truss_superstructure_simple_" .. bridge_color, ""}, } }) minetest.register_craft({ - output = 'bridger:truss_superstructure_up_simple_'..bridge_colors, + output = "bridger:truss_superstructure_up_simple_" .. bridge_color, recipe = { - {'','','bridger:bridges_steel_rod'}, - {'','bridger:truss_superstructure_simple_'..bridge_colors,''}, + {"", "", "bridger:bridges_steel_rod"}, + {"", "bridger:truss_superstructure_simple_" .. bridge_color, ""}, } }) minetest.register_craft({ - output = 'bridger:truss_superstructure_down_mid_'..bridge_colors, + output = "bridger:truss_superstructure_down_mid_" .. bridge_color, recipe = { - {'bridger:bridges_steel_rod','',''}, - {'','bridger:truss_superstructure_simple_'..bridge_colors,''}, + {"bridger:bridges_steel_rod", "", ""}, + {"", "bridger:truss_superstructure_simple_" .. bridge_color, ""}, } }) end @@ -687,331 +687,340 @@ if minetest.settings:get_bool("bridger_enable_trusses") then local bridge_nodes = bridge_nodes[c] minetest.register_craft({ - output = 'bridger:'..bridge_nodes..'white', - type = 'shapeless', - recipe = {'bridger:'..bridge_nodes..'yellow','dye:white'}, + output = "bridger:" .. bridge_nodes .. "white", + type = "shapeless", + recipe = {"bridger:" .. bridge_nodes .. "yellow", "dye:white"}, }) minetest.register_craft({ - output = 'bridger:'..bridge_nodes..'white', - type = 'shapeless', - recipe = {'bridger:'..bridge_nodes..'steel','dye:white'}, + output = "bridger:" .. bridge_nodes .. "white", + type = "shapeless", + recipe = {"bridger:" .. bridge_nodes .. "steel", "dye:white"}, }) minetest.register_craft({ - output = 'bridger:'..bridge_nodes..'white', - type = 'shapeless', - recipe = {'bridger:'..bridge_nodes..'green','dye:white'}, + output = "bridger:" .. bridge_nodes .. "white", + type = "shapeless", + recipe = {"bridger:" .. bridge_nodes .. "green", "dye:white"}, }) minetest.register_craft({ - output = 'bridger:'..bridge_nodes..'white', - type = 'shapeless', - recipe = {'bridger:'..bridge_nodes..'red','dye:white'}, + output = "bridger:" .. bridge_nodes .. "white", + type = "shapeless", + recipe = {"bridger:" .. bridge_nodes .. "red", "dye:white"}, }) minetest.register_craft({ - output = 'bridger:'..bridge_nodes..'red', - type = 'shapeless', - recipe = {'bridger:'..bridge_nodes..'white','dye:red'}, + output = "bridger:" .. bridge_nodes .. "red", + type = "shapeless", + recipe = {"bridger:" .. bridge_nodes .. "white", "dye:red"}, }) minetest.register_craft({ - output = 'bridger:'..bridge_nodes..'red', - type = 'shapeless', - recipe = {'bridger:'..bridge_nodes..'steel','dye:red'}, + output = "bridger:" .. bridge_nodes .. "red", + type = "shapeless", + recipe = {"bridger:" .. bridge_nodes .. "steel", "dye:red"}, }) minetest.register_craft({ - output = 'bridger:'..bridge_nodes..'red', - type = 'shapeless', - recipe = {'bridger:'..bridge_nodes..'green','dye:red'}, + output = "bridger:" .. bridge_nodes .. "red", + type = "shapeless", + recipe = {"bridger:" .. bridge_nodes .. "green", "dye:red"}, }) minetest.register_craft({ - output = 'bridger:'..bridge_nodes..'red', - type = 'shapeless', - recipe = {'bridger:'..bridge_nodes..'yellow','dye:red'}, + output = "bridger:" .. bridge_nodes .. "red", + type = "shapeless", + recipe = {"bridger:" .. bridge_nodes .. "yellow", "dye:red"}, }) minetest.register_craft({ - output = 'bridger:'..bridge_nodes..'green', - type = 'shapeless', - recipe = {'bridger:'..bridge_nodes..'white','dye:green'}, + output = "bridger:" .. bridge_nodes .. "green", + type = "shapeless", + recipe = {"bridger:" .. bridge_nodes .. "white", "dye:green"}, }) minetest.register_craft({ - output = 'bridger:'..bridge_nodes..'green', - type = 'shapeless', - recipe = {'bridger:'..bridge_nodes..'steel','dye:green'}, + output = "bridger:" .. bridge_nodes .. "green", + type = "shapeless", + recipe = {"bridger:" .. bridge_nodes .. "steel", "dye:green"}, }) minetest.register_craft({ - output = 'bridger:'..bridge_nodes..'green', - type = 'shapeless', - recipe = {'bridger:'..bridge_nodes..'yellow','dye:green'}, + output = "bridger:" .. bridge_nodes .. "green", + type = "shapeless", + recipe = {"bridger:" .. bridge_nodes .. "yellow", "dye:green"}, }) minetest.register_craft({ - output = 'bridger:'..bridge_nodes..'green', - type = 'shapeless', - recipe = {'bridger:'..bridge_nodes..'red','dye:green'}, + output = "bridger:" .. bridge_nodes .. "green", + type = "shapeless", + recipe = {"bridger:" .. bridge_nodes .. "red", "dye:green"}, }) minetest.register_craft({ - output = 'bridger:'..bridge_nodes..'steel', - type = 'shapeless', - recipe = {'bridger:'..bridge_nodes..'white','dye:black'}, + output = "bridger:" .. bridge_nodes .. "steel", + type = "shapeless", + recipe = {"bridger:" .. bridge_nodes .. "white", "dye:black"}, }) minetest.register_craft({ - output = 'bridger:'..bridge_nodes..'steel', - type = 'shapeless', - recipe = {'bridger:'..bridge_nodes..'yellow','dye:black'}, + output = "bridger:" .. bridge_nodes .. "steel", + type = "shapeless", + recipe = {"bridger:" .. bridge_nodes .. "yellow", "dye:black"}, }) minetest.register_craft({ - output = 'bridger:'..bridge_nodes..'steel', - type = 'shapeless', - recipe = {'bridger:'..bridge_nodes..'green','dye:black'}, + output = "bridger:" .. bridge_nodes .. "steel", + type = "shapeless", + recipe = {"bridger:" .. bridge_nodes .. "green", "dye:black"}, }) minetest.register_craft({ - output = 'bridger:'..bridge_nodes..'steel', - type = 'shapeless', - recipe = {'bridger:'..bridge_nodes..'red','dye:black'}, + output = "bridger:" .. bridge_nodes .. "steel", + type = "shapeless", + recipe = {"bridger:" .. bridge_nodes .. "red", "dye:black"}, }) minetest.register_craft({ - output = 'bridger:'..bridge_nodes..'steel', - type = 'shapeless', - recipe = {'bridger:'..bridge_nodes..'white','dye:dark_grey'}, + output = "bridger:" .. bridge_nodes .. "steel", + type = "shapeless", + recipe = {"bridger:" .. bridge_nodes .. "white", "dye:dark_grey"}, }) minetest.register_craft({ - output = 'bridger:'..bridge_nodes..'steel', - type = 'shapeless', - recipe = {'bridger:'..bridge_nodes..'yellow','dye:dark_grey'}, + output = "bridger:" .. bridge_nodes .. "steel", + type = "shapeless", + recipe = {"bridger:" .. bridge_nodes .. "yellow", "dye:dark_grey"}, }) minetest.register_craft({ - output = 'bridger:'..bridge_nodes..'steel', - type = 'shapeless', - recipe = {'bridger:'..bridge_nodes..'green','dye:dark_grey'}, + output = "bridger:" .. bridge_nodes .. "steel", + type = "shapeless", + recipe = {"bridger:" .. bridge_nodes .. "green", "dye:dark_grey"}, }) minetest.register_craft({ - output = 'bridger:'..bridge_nodes..'steel', - type = 'shapeless', - recipe = {'bridger:'..bridge_nodes..'red','dye:dark_grey'}, + output = "bridger:" .. bridge_nodes .. "steel", + type = "shapeless", + recipe = {"bridger:" .. bridge_nodes .. "red", "dye:dark_grey"}, }) minetest.register_craft({ - output = 'bridger:'..bridge_nodes..'yellow', - type = 'shapeless', - recipe = {'bridger:'..bridge_nodes..'white','dye:yellow'}, + output = "bridger:" .. bridge_nodes .. "yellow", + type = "shapeless", + recipe = {"bridger:" .. bridge_nodes .. "white", "dye:yellow"}, }) minetest.register_craft({ - output = 'bridger:'..bridge_nodes..'yellow', - type = 'shapeless', - recipe = {'bridger:'..bridge_nodes..'steel','dye:yellow'}, + output = "bridger:" .. bridge_nodes .. "yellow", + type = "shapeless", + recipe = {"bridger:" .. bridge_nodes .. "steel", "dye:yellow"}, }) minetest.register_craft({ - output = 'bridger:'..bridge_nodes..'yellow', - type = 'shapeless', - recipe = {'bridger:'..bridge_nodes..'green','dye:yellow'}, + output = "bridger:" .. bridge_nodes .. "yellow", + type = "shapeless", + recipe = {"bridger:" .. bridge_nodes .. "green", "dye:yellow"}, }) minetest.register_craft({ - output = 'bridger:'..bridge_nodes..'yellow', - type = 'shapeless', - recipe = {'bridger:'..bridge_nodes..'red','dye:yellow'}, + output = "bridger:" .. bridge_nodes .. "yellow", + type = "shapeless", + recipe = {"bridger:" .. bridge_nodes .. "red", "dye:yellow"}, }) minetest.register_craft({ - output = 'bridger:'..bridge_nodes..'red', - type = 'shapeless', - recipe = {'bridger:'..bridge_nodes..'yellow','dye:red'}, + output = "bridger:" .. bridge_nodes .. "red", + type = "shapeless", + recipe = {"bridger:" .. bridge_nodes .. "yellow", "dye:red"}, }) end end if minetest.settings:get_bool("bridger_enable_trestles") then minetest.register_craft({ - output = 'bridger:trestle_support_small', + output = "bridger:trestle_support_small", recipe = { - {'bridger:bridges_wooden_rod','','bridger:bridges_wooden_rod'}, + {"bridger:bridges_wooden_rod", "", "bridger:bridges_wooden_rod"}, } }) minetest.register_craft({ - output = 'bridger:trestle_support_small', + output = "bridger:trestle_support_small", recipe = { - {'bridger:bridges_wooden_rod','','bridger:bridges_wooden_rod'}, - {'bridger:bridges_wooden_rod','group:stick','bridger:bridges_wooden_rod'}, - {'bridger:bridges_wooden_rod','','bridger:bridges_wooden_rod'}, + {"bridger:bridges_wooden_rod", "", "bridger:bridges_wooden_rod"}, + {"bridger:bridges_wooden_rod", "group:stick", "bridger:bridges_wooden_rod"}, + {"bridger:bridges_wooden_rod", "", "bridger:bridges_wooden_rod"}, } }) minetest.register_craft({ - output = 'bridger:trestle_deck', + output = "bridger:trestle_deck", recipe = { - {'bridger:bridges_wooden_rod'}, - {'bridger:bridges_wooden_rod'}, - {'bridger:bridges_wooden_rod'}, + {"bridger:bridges_wooden_rod"}, + {"bridger:bridges_wooden_rod"}, + {"bridger:bridges_wooden_rod"}, } }) minetest.register_craft({ - output = 'bridger:trestle_side', + output = "bridger:trestle_side", recipe = { - {'bridger:bridges_wooden_rod','bridger:bridges_wooden_rod','bridger:bridges_wooden_rod'}, - {'','group:stick',''}, - {'bridger:bridges_wooden_rod','bridger:bridges_wooden_rod','bridger:bridges_wooden_rod'}, + {"bridger:bridges_wooden_rod", "bridger:bridges_wooden_rod", "bridger:bridges_wooden_rod"}, + {"", "group:stick", ""}, + {"bridger:bridges_wooden_rod", "bridger:bridges_wooden_rod", "bridger:bridges_wooden_rod"}, } }) minetest.register_craft({ - output = 'bridger:trestle_substructure_small', + output = "bridger:trestle_substructure_small", recipe = { - {'group:stick','bridger:bridges_wooden_rod','bridger:bridges_wooden_rod'}, - {'','group:stick','bridger:bridges_wooden_rod'}, - {'','','group:stick'}, + {"group:stick", "bridger:bridges_wooden_rod", "bridger:bridges_wooden_rod"}, + {"", "group:stick", "bridger:bridges_wooden_rod"}, + {"", "", "group:stick"}, } }) minetest.register_craft({ - output = 'bridger:trestle_substructure_large', + output = "bridger:trestle_substructure_large", recipe = { - {'group:stick','','bridger:bridges_wooden_rod'}, - {'group:stick','group:stick','bridger:bridges_wooden_rod'}, - {'','group:stick','group:stick'}, + {"group:stick", "", "bridger:bridges_wooden_rod"}, + {"group:stick", "group:stick", "bridger:bridges_wooden_rod"}, + {"", "group:stick", "group:stick"}, } }) minetest.register_craft({ - output = 'bridger:lattice_truss', + output = "bridger:lattice_truss", recipe = { - {'group:stick','','group:stick'}, - {'','bridger:bridges_wooden_rod',''}, - {'group:stick','','group:stick'}, + {"group:stick", "", "group:stick"}, + {"", "bridger:bridges_wooden_rod", ""}, + {"group:stick", "", "group:stick"}, } }) minetest.register_craft({ - output = 'bridger:deck_wood', + output = "bridger:deck_wood", recipe = { - {'bridger:bridges_wooden_rod','bridger:bridges_wooden_rod'}, + {"bridger:bridges_wooden_rod", "bridger:bridges_wooden_rod"}, } }) end if minetest.settings:get_bool("bridger_enable_wooden_bridges") then minetest.register_craft({ - output = 'bridger:small_beam', + output = "bridger:small_beam", recipe = { - {'bridger:bridges_wooden_rod','bridger:bridges_wooden_rod','bridger:bridges_wooden_rod'}, - {'','group:wood',''}, + {"bridger:bridges_wooden_rod", "bridger:bridges_wooden_rod", "bridger:bridges_wooden_rod"}, + {"", "group:wood", ""}, } }) minetest.register_craft({ - output = 'bridger:small_beam_mid', + output = "bridger:small_beam_mid", recipe = { - {'','bridger:bridges_wooden_rod',''}, - {'','group:wood',''}, + {"", "bridger:bridges_wooden_rod", ""}, + {"", "group:wood", ""}, } }) minetest.register_craft({ - output = 'bridger:small_beam_end', + output = "bridger:small_beam_end", recipe = { - {'bridger:bridges_wooden_rod','bridger:bridges_wooden_rod','bridger:bridges_wooden_rod'}, - {'bridger:bridges_wooden_rod','','bridger:bridges_wooden_rod'}, - {'','group:wood',''}, + {"bridger:bridges_wooden_rod", "bridger:bridges_wooden_rod", "bridger:bridges_wooden_rod"}, + {"bridger:bridges_wooden_rod", "", "bridger:bridges_wooden_rod"}, + {"", "group:wood", ""}, } }) minetest.register_craft({ - output = 'bridger:small_beam_3', + output = "bridger:small_beam_corner", recipe = { - {'bridger:bridges_wooden_rod','','bridger:bridges_wooden_rod'}, - {'bridger:bridges_wooden_rod','','bridger:bridges_wooden_rod'}, - {'','group:wood',''}, + {"bridger:bridges_wooden_rod", "bridger:bridges_wooden_rod", "bridger:bridges_wooden_rod"}, + {"bridger:bridges_wooden_rod", "", ""}, + {"", "group:wood", ""}, } }) minetest.register_craft({ - output = 'bridger:small_beam_4', + output = "bridger:small_beam_3", recipe = { - {'bridger:bridges_wooden_rod','','bridger:bridges_wooden_rod'}, - {'','',''}, - {'','group:wood',''}, + {"bridger:bridges_wooden_rod", "", "bridger:bridges_wooden_rod"}, + {"bridger:bridges_wooden_rod", "", "bridger:bridges_wooden_rod"}, + {"", "group:wood", ""}, } }) minetest.register_craft({ - output = 'bridger:small_beam_stair', + output = "bridger:small_beam_4", recipe = { - {'','bridger:bridges_wooden_rod','bridger:bridges_wooden_rod'}, - {'bridger:bridges_wooden_rod','','group:wood'}, - {'bridger:bridges_wooden_rod','group:wood',''}, + {"bridger:bridges_wooden_rod", "", "bridger:bridges_wooden_rod"}, + {"", "", ""}, + {"", "group:wood", ""}, } }) minetest.register_craft({ - output = 'bridger:large_beam', + output = "bridger:small_beam_stair", recipe = { - {'bridger:bridges_wooden_rod','bridger:bridges_wooden_rod','bridger:bridges_wooden_rod'}, - {'bridger:bridges_wooden_rod','bridger:bridges_wooden_rod','bridger:bridges_wooden_rod'}, - {'bridger:bridges_wooden_rod','group:wood','bridger:bridges_wooden_rod'}, + {"", "bridger:bridges_wooden_rod", "bridger:bridges_wooden_rod"}, + {"bridger:bridges_wooden_rod", "", "group:wood"}, + {"bridger:bridges_wooden_rod", "group:wood", ""}, } }) minetest.register_craft({ - output = 'bridger:large_fancy_beam', + output = "bridger:large_beam", recipe = { - {'bridger:bridges_wooden_rod','bridger:bridges_wooden_rod','bridger:bridges_wooden_rod'}, - {'bridger:bridges_wooden_rod','group:wood','bridger:bridges_wooden_rod'}, - {'bridger:bridges_wooden_rod','bridger:bridges_wooden_rod','bridger:bridges_wooden_rod'}, + {"bridger:bridges_wooden_rod", "bridger:bridges_wooden_rod", "bridger:bridges_wooden_rod"}, + {"bridger:bridges_wooden_rod", "bridger:bridges_wooden_rod", "bridger:bridges_wooden_rod"}, + {"bridger:bridges_wooden_rod", "group:wood", "bridger:bridges_wooden_rod"}, } }) minetest.register_craft({ - output = 'bridger:large_beam_swivel_normal', + output = "bridger:large_fancy_beam", recipe = { - {'bridger:large_beam'}, + {"bridger:bridges_wooden_rod", "bridger:bridges_wooden_rod", "bridger:bridges_wooden_rod"}, + {"bridger:bridges_wooden_rod", "group:wood", "bridger:bridges_wooden_rod"}, + {"bridger:bridges_wooden_rod", "bridger:bridges_wooden_rod", "bridger:bridges_wooden_rod"}, } }) minetest.register_craft({ - output = 'bridger:large_beam', + output = "bridger:large_beam_swivel_normal", recipe = { - {'bridger:large_beam_swivel_normal'}, + {"bridger:large_beam"}, } }) minetest.register_craft({ - output = 'bridger:large_drawbridge_normal', + output = "bridger:large_beam", recipe = { - {'bridger:small_beam','bridger:small_beam'}, + {"bridger:large_beam_swivel_normal"}, } }) minetest.register_craft({ - output = 'bridger:small_beam 2', + output = "bridger:large_drawbridge_normal", recipe = { - {'bridger:large_drawbridge_normal'}, + {"bridger:small_beam", "bridger:small_beam"}, } }) minetest.register_craft({ - output = 'bridger:foundation 3', + output = "bridger:small_beam 2", recipe = { - {'','default:clay',''}, - {'default:clay','default:clay','default:clay'}, + {"bridger:large_drawbridge_normal"}, } }) -end \ No newline at end of file + + minetest.register_craft({ + output = "bridger:foundation 3", + recipe = { + {"", "default:clay", ""}, + {"default:clay", "default:clay", "default:clay"}, + } + }) +end diff --git a/mods/bridger/init.lua b/mods/bridger/init.lua index 0cc38830..2ad2a066 100644 --- a/mods/bridger/init.lua +++ b/mods/bridger/init.lua @@ -3,7 +3,6 @@ minetest.register_node("bridger:scaffolding", { drawtype = "glasslike_framed_optional", tiles = {"bridges_scaffolding.png", "bridges_scaffolding_detail.png"}, paramtype = "light", - paramtype2 = "glasslikeliquidlevel", sunlight_propagates = true, walkable = false, climbable = true, @@ -12,9 +11,9 @@ minetest.register_node("bridger:scaffolding", { }) -dofile(minetest.get_modpath("bridger").."/nodes.lua") -dofile(minetest.get_modpath("bridger").."/crafts.lua") +dofile(minetest.get_modpath("bridger") .. "/nodes.lua") +dofile(minetest.get_modpath("bridger") .. "/crafts.lua") if minetest.settings:get_bool("Bridger_enable_alias") then - dofile(minetest.get_modpath("bridger").."/alias.lua") -end \ No newline at end of file + dofile(minetest.get_modpath("bridger") .. "/alias.lua") +end diff --git a/mods/bridger/mod.conf b/mods/bridger/mod.conf index 2de2cde5..49270286 100644 --- a/mods/bridger/mod.conf +++ b/mods/bridger/mod.conf @@ -1 +1,4 @@ -name = bridger \ No newline at end of file +name = bridger +depends = default +optional_depends = stairs, moreblocks, mesecons +description = Adds a large number of advanced nodes conducive to building large, industrial bridges. diff --git a/mods/bridger/nodes.lua b/mods/bridger/nodes.lua index 418ea0be..88fc6008 100644 --- a/mods/bridger/nodes.lua +++ b/mods/bridger/nodes.lua @@ -24,7 +24,6 @@ local function rotate_and_place(itemstack, placer, pointed_thing) end if not minetest.settings:get_bool("bridger_disable_trusses") then - local bridge_colors = { {"Green", "green"}, {"Red", "red"}, @@ -46,10 +45,10 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then node_box = { type = "fixed", fixed = { - {-0.5, -0.5, -0.75, 0.5, 0.501, 0.75}, -- NodeBox1 - {-0.501, -0.5, -0.501, 0.501, 0.6876, 0.501}, -- NodeBox2 - {-0.75, -0.5, -0.5, 0.75, 0.501, 0.5}, -- NodeBox3 - {-0.75, -0.5, -0.75, 0.75, 0.499, 0.75}, -- NodeBox4 + {-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 = { @@ -62,39 +61,39 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then sounds = default.node_sound_stone_defaults(), }) - minetest.register_node("bridger:block_"..bridge_colors, { - description = bridge_desc.." Block", + minetest.register_node("bridger:block_" .. bridge_colors, { + description = bridge_desc .. " Block", drawtype = "normal", - tiles = {"bridges_"..bridge_colors..".png"}, + tiles = {"bridges_" .. bridge_colors .. ".png"}, paramtype = "light", groups = {cracky=3}, sounds = default.node_sound_metal_defaults(), }) if minetest.get_modpath("moreblocks") then - stairsplus:register_all("bridger", "block_"..bridge_colors, "bridger:block_"..bridge_colors, { + stairsplus:register_all("bridger", "block_" .. bridge_colors, "bridger:block_" .. bridge_colors, { description = bridge_desc, - tiles = {"bridges_"..bridge_colors..".png"}, + tiles = {"bridges_" .. bridge_colors .. ".png"}, groups = {cracky=3}, sounds = default.node_sound_metal_defaults(), }) - - minetest.register_alias("bridger:step_"..bridge_colors, "bridger:panel_block_"..bridge_colors) + + minetest.register_alias("bridger:step_" .. bridge_colors, "bridger:panel_block_" .. bridge_colors) elseif minetest.get_modpath("stairs") then stairs.register_stair_and_slab( - "block_"..bridge_colors, - "bridger:block_"..bridge_colors, + "block_" .. bridge_colors, + "bridger:block_" .. bridge_colors, {cracky=3}, - {"bridges_"..bridge_colors..".png"}, - bridge_desc.." Stair", - bridge_desc.." Slab", + {"bridges_" .. bridge_colors .. ".png"}, + bridge_desc .. " Stair", + bridge_desc .. " Slab", default.node_sound_metal_defaults() ) - minetest.register_node("bridger:step_"..bridge_colors, { - description = bridge_desc.." Step", + minetest.register_node("bridger:step_" .. bridge_colors, { + description = bridge_desc .. " Step", drawtype = "nodebox", - tiles = {"bridges_"..bridge_colors..".png"}, + tiles = {"bridges_" .. bridge_colors .. ".png"}, paramtype = "light", paramtype2 = "facedir", node_box = { @@ -114,10 +113,10 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then }) end - minetest.register_node("bridger:suspension_top_"..bridge_colors, { - description = bridge_desc.." Cable Top", + minetest.register_node("bridger:suspension_top_" .. bridge_colors, { + description = bridge_desc .. " Cable Top", drawtype = "nodebox", - tiles = {"bridges_"..bridge_colors..".png"}, + tiles = {"bridges_" .. bridge_colors .. ".png"}, paramtype = "light", paramtype2 = "facedir", node_box = { @@ -137,10 +136,10 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then end, }) - minetest.register_node("bridger:suspension_cable_"..bridge_colors, { - description = bridge_desc.." Cable", + minetest.register_node("bridger:suspension_cable_" .. bridge_colors, { + description = bridge_desc .. " Cable", drawtype = "nodebox", - tiles = {"bridges_"..bridge_colors..".png"}, + tiles = {"bridges_" .. bridge_colors .. ".png"}, paramtype = "light", node_box = { type = "fixed", @@ -152,10 +151,10 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then sounds = default.node_sound_metal_defaults(), }) - minetest.register_node("bridger:deck_"..bridge_colors, { - description = bridge_desc.." Deck", + minetest.register_node("bridger:deck_" .. bridge_colors, { + description = bridge_desc .. " Deck", drawtype = "nodebox", - tiles = {"bridges_"..bridge_colors..".png"}, + tiles = {"bridges_" .. bridge_colors .. ".png"}, paramtype = "light", sunlight_propagates = true, node_box = { @@ -174,10 +173,10 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then sounds = default.node_sound_metal_defaults(), }) - minetest.register_node("bridger:deck_edge_"..bridge_colors, { - description = bridge_desc.." Deck Edge", + minetest.register_node("bridger:deck_edge_" .. bridge_colors, { + description = bridge_desc .. " Deck Edge", drawtype = "nodebox", - tiles = {"bridges_"..bridge_colors..".png"}, + tiles = {"bridges_" .. bridge_colors .. ".png"}, paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, @@ -198,44 +197,44 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then sounds = default.node_sound_metal_defaults(), }) - minetest.register_node("bridger:train_deck_"..bridge_colors, { - description = bridge_desc.." Train Deck", + minetest.register_node("bridger:train_deck_" .. bridge_colors, { + description = bridge_desc .. " Train Deck", drawtype = "nodebox", - tiles = {"bridges_"..bridge_colors..".png"}, + tiles = {"bridges_" .. bridge_colors .. ".png"}, paramtype = "light", sunlight_propagates = true, node_box = { type = "fixed", fixed = { - {0.375, 0.375, 0.375, 0.5, 0.501, 0.5}, -- NodeBox1 - {0.3125, 0.375, 0.3125, 0.4375, 0.501, 0.4375}, -- NodeBox2 - {0.25, 0.375, 0.25, 0.375, 0.501, 0.375}, -- NodeBox3 - {0.1875, 0.375, 0.1875, 0.3125, 0.501, 0.3125}, -- NodeBox4 - {0.125, 0.375, 0.125, 0.25, 0.501, 0.25}, -- NodeBox5 - {0.0625, 0.375, 0.0625, 0.1875, 0.501, 0.1875}, -- NodeBox6 - {0, 0.375, 0, 0.125, 0.501, 0.125}, -- NodeBox7 - {-0.0625, 0.375, -0.0625, 0.0625, 0.501, 0.0625}, -- NodeBox8 - {-0.125, 0.375, -0.125, 0, 0.501, 0}, -- NodeBox9 - {-0.1875, 0.375, -0.1875, -0.0625, 0.501, -0.0625}, -- NodeBox10 - {-0.25, 0.375, -0.25, -0.125, 0.501, -0.125}, -- NodeBox11 - {-0.3125, 0.375, -0.3125, -0.1875, 0.501, -0.1875}, -- NodeBox12 - {-0.4375, 0.375, -0.4375, -0.3125, 0.501, -0.3125}, -- NodeBox13 - {-0.375, 0.375, -0.375, -0.25, 0.501, -0.25}, -- NodeBox14 - {-0.5, 0.375, -0.5, -0.375, 0.501, -0.375}, -- NodeBox15 - {-0.5, 0.375, 0.375, -0.375, 0.501, 0.5}, -- NodeBox16 - {-0.4375, 0.375, 0.3125, -0.3125, 0.501, 0.4375}, -- NodeBox17 - {-0.375, 0.375, 0.25, -0.25, 0.501, 0.375}, -- NodeBox18 - {-0.3125, 0.375, 0.1875, -0.1875, 0.501, 0.3125}, -- NodeBox19 - {-0.25, 0.375, 0.125, -0.125, 0.501, 0.25}, -- NodeBox20 - {-0.1875, 0.375, 0.0625, -0.0625, 0.501, 0.1875}, -- NodeBox21 - {-0.125, 0.375, 0, 0, 0.501, 0.125}, -- NodeBox22 - {0, 0.375, -0.125, 0.125, 0.501, 0}, -- NodeBox23 - {0.0625, 0.375, -0.1875, 0.1875, 0.501, -0.0625}, -- NodeBox24 - {0.125, 0.375, -0.25, 0.25, 0.501, -0.125}, -- NodeBox25 - {0.1875, 0.375, -0.3125, 0.3125, 0.501, -0.1875}, -- NodeBox26 - {0.25, 0.375, -0.375, 0.375, 0.501, -0.25}, -- NodeBox27 - {0.3125, 0.375, -0.4375, 0.4375, 0.501, -0.3125}, -- NodeBox28 - {0.375, 0.375, -0.5, 0.5, 0.501, -0.375}, -- NodeBox29 + {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 = { @@ -248,22 +247,22 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then sounds = default.node_sound_metal_defaults(), }) - minetest.register_node("bridger:girder_mid_"..bridge_colors, { - description = bridge_desc.." Girder Middle", + minetest.register_node("bridger:girder_mid_" .. bridge_colors, { + description = bridge_desc .. " Girder Middle", drawtype = "nodebox", - tiles = {"bridges_"..bridge_colors..".png"}, + tiles = {"bridges_" .. bridge_colors .. ".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}, -- NodeBox194 - {-0.5, 0.4375, 0.375, 0.5, 0.5, 0.5}, -- NodeBox195 - {0.46875, -0.5, 0.375, 0.5, 0.5, 0.5}, -- NodeBox196 - {-0.5, -0.5, 0.375, -0.46875, 0.5, 0.5}, -- NodeBox197 - {-0.5, -0.5, 0.375, 0.5, -0.4375, 0.5}, -- NodeBox198 - {-0.5, -0.625, 0.4375, 0.5, -0.5, 0.5}, -- NodeBox213 + {-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 = { @@ -276,34 +275,34 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then sounds = default.node_sound_metal_defaults(), }) - minetest.register_node("bridger:girder_right_"..bridge_colors, { - description = bridge_desc.." Girder Right End", + minetest.register_node("bridger:girder_right_" .. bridge_colors, { + description = bridge_desc .. " Girder Right End", drawtype = "nodebox", - tiles = {"bridges_"..bridge_colors..".png"}, + tiles = {"bridges_" .. bridge_colors .. ".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}, -- NodeBox195 - {-0.5, -0.5, 0.375, -0.46875, 0.5, 0.5}, -- NodeBox197 - {-0.5, -0.5, 0.375, 0.5, -0.4375, 0.5}, -- NodeBox198 - {-0.3125, 0.375, 0.375, -0.0625, 0.4375, 0.5}, -- NodeBox199 - {-0.125, 0.3125, 0.375, 0.0625, 0.375, 0.5}, -- NodeBox200 - {0, 0.25, 0.375, 0.125, 0.3125, 0.5}, -- NodeBox201 - {0.4375, -0.5, 0.375, 0.5, -0.25, 0.5}, -- NodeBox202 - {0.375, -0.3125, 0.375, 0.4375, -0.0625, 0.5}, -- NodeBox203 - {0.3125, -0.125, 0.375, 0.375, 0.0625, 0.5}, -- NodeBox204 - {0.25, 0, 0.375, 0.3125, 0.125, 0.5}, -- NodeBox205 - {0.1875, 0.0625, 0.375, 0.25, 0.1875, 0.5}, -- NodeBox206 - {0.125, 0.125, 0.375, 0.1875, 0.25, 0.5}, -- NodeBox207 - {0.0625, 0.1875, 0.375, 0.1875, 0.25, 0.5}, -- NodeBox208 - {-0.5, -0.5, 0.4375, -0.0625, 0.4375, 0.5}, -- NodeBox209 - {-0.5, -0.5, 0.4375, 0.4375, -0.0625, 0.5}, -- NodeBox210 - {-0.5, -0.5, 0.4375, 0.125, 0.3125, 0.5}, -- NodeBox211 - {-0.5, -0.5, 0.4375, 0.3125, 0.125, 0.5}, -- NodeBox212 - {-0.5, -0.625, 0.4375, 0.5, -0.5, 0.5}, -- NodeBox213 + {-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 = { @@ -316,34 +315,34 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then sounds = default.node_sound_metal_defaults(), }) - minetest.register_node("bridger:girder_left_"..bridge_colors, { - description = bridge_desc.." Girder Left End", + minetest.register_node("bridger:girder_left_" .. bridge_colors, { + description = bridge_desc .. " Girder Left End", drawtype = "nodebox", - tiles = {"bridges_"..bridge_colors..".png"}, + tiles = {"bridges_" .. bridge_colors .. ".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}, -- NodeBox195 - {0.46875, -0.5, 0.375, 0.5, 0.5, 0.5}, -- NodeBox197 - {-0.5, -0.5, 0.375, 0.5, -0.4375, 0.5}, -- NodeBox198 - {0.0625, 0.375, 0.375, 0.3125, 0.4375, 0.5}, -- NodeBox199 - {-0.0625, 0.3125, 0.375, 0.125, 0.375, 0.5}, -- NodeBox200 - {-0.125, 0.25, 0.375, -0, 0.3125, 0.5}, -- NodeBox201 - {-0.5, -0.5, 0.375, -0.4375, -0.25, 0.5}, -- NodeBox202 - {-0.4375, -0.3125, 0.375, -0.375, -0.0625, 0.5}, -- NodeBox203 - {-0.375, -0.125, 0.375, -0.3125, 0.0625, 0.5}, -- NodeBox204 - {-0.3125, 0, 0.375, -0.25, 0.125, 0.5}, -- NodeBox205 - {-0.25, 0.0625, 0.375, -0.1875, 0.1875, 0.5}, -- NodeBox206 - {-0.1875, 0.125, 0.375, -0.125, 0.25, 0.5}, -- NodeBox207 - {-0.1875, 0.1875, 0.375, -0.0625, 0.25, 0.5}, -- NodeBox208 - {0.0625, -0.5, 0.4375, 0.5, 0.4375, 0.5}, -- NodeBox209 - {-0.4375, -0.5, 0.4375, 0.5, -0.0625, 0.5}, -- NodeBox210 - {-0.125, -0.5, 0.4375, 0.5, 0.3125, 0.5}, -- NodeBox211 - {-0.3125, -0.5, 0.4375, 0.5, 0.125, 0.5}, -- NodeBox212 - {-0.5, -0.625, 0.4375, 0.5, -0.5, 0.5}, -- NodeBox213 + {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 = { @@ -356,53 +355,53 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then sounds = default.node_sound_metal_defaults(), }) - minetest.register_node("bridger:truss_superstructure_right_slant_"..bridge_colors, { - description = bridge_desc.." Truss Superstructure Right Slant", + minetest.register_node("bridger:truss_superstructure_right_slant_" .. bridge_colors, { + description = bridge_desc .. " Truss Superstructure Right Slant", drawtype = "nodebox", - tiles = {"bridges_"..bridge_colors..".png"}, - inventory_image = "bridges_"..bridge_colors..".png^bridges_superstructure_right_slant.png^[makealpha:255,126,126", - wield_image = "bridges_"..bridge_colors..".png^bridges_superstructure_right_slant.png^[makealpha:255,126,126", + tiles = {"bridges_" .. bridge_colors .. ".png"}, + inventory_image = "bridges_" .. bridge_colors .. ".png^bridges_superstructure_right_slant.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_colors .. ".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}, -- NodeBox214 - {-0.5, -0.5, 0.375, -0.4375, 2.5, 0.5}, -- NodeBox215 - {1.4375, -0.5, 0.375, 1.5, 2.5, 0.5}, -- NodeBox217 - {-0.5, 2.375, 0.375, 1.5, 2.5, 0.5}, -- NodeBox218 - {-0.4375, 2.25, 0.375, -0.3125, 2.375, 0.5}, -- NodeBox219 - {-0.375, 2.1875, 0.375, -0.25, 2.3125, 0.5}, -- NodeBox220 - {-0.3125, 2.0625, 0.375, -0.1875, 2.25, 0.5}, -- NodeBox221 - {-0.25, 2, 0.375, -0.125, 2.125, 0.5}, -- NodeBox222 - {-0.1875, 1.9375, 0.375, -0.0625, 2.0625, 0.5}, -- NodeBox223 - {-0.125, 1.875, 0.375, 0, 2, 0.5}, -- NodeBox224 - {-0.0625, 1.75, 0.375, 0.0625, 1.9375, 0.5}, -- NodeBox225 - {0, 1.6875, 0.375, 0.125, 1.8125, 0.5}, -- NodeBox226 - {0.0625, 1.625, 0.375, 0.1875, 1.75, 0.5}, -- NodeBox227 - {0.125, 1.5625, 0.375, 0.25, 1.6875, 0.5}, -- NodeBox228 - {0.1875, 1.4375, 0.375, 0.3125, 1.625, 0.5}, -- NodeBox229 - {0.25, 1.375, 0.375, 0.375, 1.5, 0.5}, -- NodeBox230 - {0.3125, 1.3125, 0.375, 0.4375, 1.4375, 0.5}, -- NodeBox231 - {0.375, 1.25, 0.375, 0.5, 1.375, 0.5}, -- NodeBox232 - {0.4375, 1.125, 0.375, 0.5625, 1.3125, 0.5}, -- NodeBox233 - {0.5, 1.0625, 0.375, 0.625, 1.1875, 0.5}, -- NodeBox234 - {0.5625, 1, 0.375, 0.6875, 1.125, 0.5}, -- NodeBox235 - {0.625, 0.9375, 0.375, 0.75, 1.0625, 0.5}, -- NodeBox236 - {0.6875, 0.8125, 0.375, 0.8125, 1, 0.5}, -- NodeBox237 - {0.75, 0.75, 0.375, 0.875, 0.875, 0.5}, -- NodeBox238 - {0.8125, 0.6875, 0.375, 0.9375, 0.8125, 0.5}, -- NodeBox239 - {0.875, 0.625, 0.375, 1, 0.75, 0.5}, -- NodeBox240 - {0.9375, 0.5, 0.375, 1.0625, 0.6875, 0.5}, -- NodeBox241 - {1, 0.4375, 0.375, 1.125, 0.5625, 0.5}, -- NodeBox242 - {1.0625, 0.375, 0.375, 1.1875, 0.5, 0.5}, -- NodeBox243 - {1.125, 0.3125, 0.375, 1.25, 0.4375, 0.5}, -- NodeBox244 - {1.1875, 0.1875, 0.375, 1.3125, 0.375, 0.5}, -- NodeBox245 - {1.25, 0.125, 0.375, 1.375, 0.25, 0.5}, -- NodeBox246 - {1.3125, 0.0625, 0.375, 1.4375, 0.1875, 0.5}, -- NodeBox247 - {1.375, 0, 0.375, 1.5, 0.125, 0.5}, -- NodeBox248 - {-0.4375, 2.3125, 0.375, -0.3125, 2.4375, 0.5}, -- NodeBox249 + {-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 = { @@ -421,53 +420,53 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then sounds = default.node_sound_metal_defaults(), }) - minetest.register_node("bridger:truss_superstructure_left_slant_"..bridge_colors, { - description = bridge_desc.." Truss Superstructure Left Slant", + minetest.register_node("bridger:truss_superstructure_left_slant_" .. bridge_colors, { + description = bridge_desc .. " Truss Superstructure Left Slant", drawtype = "nodebox", - tiles = {"bridges_"..bridge_colors..".png"}, - inventory_image = "bridges_"..bridge_colors..".png^bridges_superstructure_left_slant.png^[makealpha:255,126,126", - wield_image = "bridges_"..bridge_colors..".png^bridges_superstructure_left_slant.png^[makealpha:255,126,126", + tiles = {"bridges_" .. bridge_colors .. ".png"}, + inventory_image = "bridges_" .. bridge_colors .. ".png^bridges_superstructure_left_slant.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_colors .. ".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}, -- NodeBox214 - {-0.5, -0.5, 0.375, -0.4375, 2.5, 0.5}, -- NodeBox215 - {1.4375, -0.5, 0.375, 1.5, 2.5, 0.5}, -- NodeBox217 - {-0.5, 2.375, 0.375, 1.5, 2.5, 0.5}, -- NodeBox218 - {1.3125, 2.25, 0.375, 1.4375, 2.375, 0.5}, -- NodeBox219 - {1.25, 2.1875, 0.375, 1.375, 2.3125, 0.5}, -- NodeBox220 - {1.1875, 2.0625, 0.375, 1.3125, 2.25, 0.5}, -- NodeBox221 - {1.125, 2, 0.375, 1.25, 2.125, 0.5}, -- NodeBox222 - {1.0625, 1.9375, 0.375, 1.1875, 2.0625, 0.5}, -- NodeBox223 - {1, 1.875, 0.375, 1.125, 2, 0.5}, -- NodeBox224 - {0.9375, 1.75, 0.375, 1.0625, 1.9375, 0.5}, -- NodeBox225 - {0.875, 1.6875, 0.375, 1, 1.8125, 0.5}, -- NodeBox226 - {0.8125, 1.625, 0.375, 0.9375, 1.75, 0.5}, -- NodeBox227 - {0.75, 1.5625, 0.375, 0.875, 1.6875, 0.5}, -- NodeBox228 - {0.6875, 1.4375, 0.375, 0.8125, 1.625, 0.5}, -- NodeBox229 - {0.625, 1.375, 0.375, 0.75, 1.5, 0.5}, -- NodeBox230 - {0.5625, 1.3125, 0.375, 0.6875, 1.4375, 0.5}, -- NodeBox231 - {0.5, 1.25, 0.375, 0.625, 1.375, 0.5}, -- NodeBox232 - {0.4375, 1.125, 0.375, 0.5625, 1.3125, 0.5}, -- NodeBox233 - {0.375, 1.0625, 0.375, 0.5, 1.1875, 0.5}, -- NodeBox234 - {0.3125, 1, 0.375, 0.4375, 1.125, 0.5}, -- NodeBox235 - {0.25, 0.9375, 0.375, 0.375, 1.0625, 0.5}, -- NodeBox236 - {0.1875, 0.8125, 0.375, 0.3125, 1, 0.5}, -- NodeBox237 - {0.125, 0.75, 0.375, 0.25, 0.875, 0.5}, -- NodeBox238 - {0.0625, 0.6875, 0.375, 0.1875, 0.8125, 0.5}, -- NodeBox239 - {0, 0.625, 0.375, 0.125, 0.75, 0.5}, -- NodeBox240 - {-0.0625, 0.5, 0.375, 0.0625, 0.6875, 0.5}, -- NodeBox241 - {-0.125, 0.4375, 0.375, 0, 0.5625, 0.5}, -- NodeBox242 - {-0.1875, 0.375, 0.375, -0.0625, 0.5, 0.5}, -- NodeBox243 - {-0.25, 0.3125, 0.375, -0.125, 0.4375, 0.5}, -- NodeBox244 - {-0.3125, 0.1875, 0.375, -0.1875, 0.375, 0.5}, -- NodeBox245 - {-0.375, 0.125, 0.375, -0.25, 0.25, 0.5}, -- NodeBox246 - {-0.4375, 0.0625, 0.375, -0.3125, 0.1875, 0.5}, -- NodeBox247 - {-0.5, 0, 0.375, -0.375, 0.125, 0.5}, -- NodeBox248 - {1.375, 2.3125, 0.375, 1.5, 2.4375, 0.5}, -- NodeBox249 + {-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 = { @@ -486,51 +485,51 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then sounds = default.node_sound_metal_defaults(), }) - minetest.register_node("bridger:truss_superstructure_end_right_slant_"..bridge_colors, { - description = bridge_desc.." Truss Superstructure End Right Slant", + minetest.register_node("bridger:truss_superstructure_end_right_slant_" .. bridge_colors, { + description = bridge_desc .. " Truss Superstructure End Right Slant", drawtype = "nodebox", - tiles = {"bridges_"..bridge_colors..".png"}, - inventory_image = "bridges_"..bridge_colors..".png^bridges_superstructure_end_right_slant.png^[makealpha:255,126,126", - wield_image = "bridges_"..bridge_colors..".png^bridges_superstructure_end_right_slant.png^[makealpha:255,126,126", + tiles = {"bridges_" .. bridge_colors .. ".png"}, + inventory_image = "bridges_" .. bridge_colors .. ".png^bridges_superstructure_end_right_slant.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_colors .. ".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}, -- NodeBox214 - {-0.5, -0.5, 0.375, -0.4375, 2.5, 0.5}, -- NodeBox215 - {-0.4375, 2.25, 0.375, -0.3125, 2.375, 0.5}, -- NodeBox219 - {-0.375, 2.1875, 0.375, -0.25, 2.3125, 0.5}, -- NodeBox220 - {-0.3125, 2.0625, 0.375, -0.1875, 2.25, 0.5}, -- NodeBox221 - {-0.25, 2, 0.375, -0.125, 2.125, 0.5}, -- NodeBox222 - {-0.1875, 1.9375, 0.375, -0.0625, 2.0625, 0.5}, -- NodeBox223 - {-0.125, 1.875, 0.375, 0, 2, 0.5}, -- NodeBox224 - {-0.0625, 1.75, 0.375, 0.0625, 1.9375, 0.5}, -- NodeBox225 - {0, 1.6875, 0.375, 0.125, 1.8125, 0.5}, -- NodeBox226 - {0.0625, 1.625, 0.375, 0.1875, 1.75, 0.5}, -- NodeBox227 - {0.125, 1.5625, 0.375, 0.25, 1.6875, 0.5}, -- NodeBox228 - {0.1875, 1.4375, 0.375, 0.3125, 1.625, 0.5}, -- NodeBox229 - {0.25, 1.375, 0.375, 0.375, 1.5, 0.5}, -- NodeBox230 - {0.3125, 1.3125, 0.375, 0.4375, 1.4375, 0.5}, -- NodeBox231 - {0.375, 1.25, 0.375, 0.5, 1.375, 0.5}, -- NodeBox232 - {0.4375, 1.125, 0.375, 0.5625, 1.3125, 0.5}, -- NodeBox233 - {0.5, 1.0625, 0.375, 0.625, 1.1875, 0.5}, -- NodeBox234 - {0.5625, 1, 0.375, 0.6875, 1.125, 0.5}, -- NodeBox235 - {0.625, 0.9375, 0.375, 0.75, 1.0625, 0.5}, -- NodeBox236 - {0.6875, 0.8125, 0.375, 0.8125, 1, 0.5}, -- NodeBox237 - {0.75, 0.75, 0.375, 0.875, 0.875, 0.5}, -- NodeBox238 - {0.8125, 0.6875, 0.375, 0.9375, 0.8125, 0.5}, -- NodeBox239 - {0.875, 0.625, 0.375, 1, 0.75, 0.5}, -- NodeBox240 - {0.9375, 0.5, 0.375, 1.0625, 0.6875, 0.5}, -- NodeBox241 - {1, 0.4375, 0.375, 1.125, 0.5625, 0.5}, -- NodeBox242 - {1.0625, 0.375, 0.375, 1.1875, 0.5, 0.5}, -- NodeBox243 - {1.125, 0.3125, 0.375, 1.25, 0.4375, 0.5}, -- NodeBox244 - {1.1875, 0.1875, 0.375, 1.3125, 0.375, 0.5}, -- NodeBox245 - {1.25, 0.125, 0.375, 1.375, 0.25, 0.5}, -- NodeBox246 - {1.3125, 0.0625, 0.375, 1.4375, 0.1875, 0.5}, -- NodeBox247 - {1.375, 0, 0.375, 1.5, 0.125, 0.5}, -- NodeBox248 - {-0.4375, 2.3125, 0.375, -0.3125, 2.4375, 0.5}, -- NodeBox249 + {-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 = { @@ -549,51 +548,51 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then sounds = default.node_sound_metal_defaults(), }) - minetest.register_node("bridger:truss_superstructure_end_left_slant_"..bridge_colors, { - description = bridge_desc.." Truss Superstructure End Left Slant", + minetest.register_node("bridger:truss_superstructure_end_left_slant_" .. bridge_colors, { + description = bridge_desc .. " Truss Superstructure End Left Slant", drawtype = "nodebox", - tiles = {"bridges_"..bridge_colors..".png"}, - inventory_image = "bridges_"..bridge_colors..".png^bridges_superstructure_end_left_slant.png^[makealpha:255,126,126", - wield_image = "bridges_"..bridge_colors..".png^bridges_superstructure_end_left_slant.png^[makealpha:255,126,126", + tiles = {"bridges_" .. bridge_colors .. ".png"}, + inventory_image = "bridges_" .. bridge_colors .. ".png^bridges_superstructure_end_left_slant.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_colors .. ".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}, -- NodeBox214 - {1.4375, -0.5, 0.375, 1.5, 2.5, 0.5}, -- NodeBox217 - {1.3125, 2.25, 0.375, 1.4375, 2.375, 0.5}, -- NodeBox219 - {1.25, 2.1875, 0.375, 1.375, 2.3125, 0.5}, -- NodeBox220 - {1.1875, 2.0625, 0.375, 1.3125, 2.25, 0.5}, -- NodeBox221 - {1.125, 2, 0.375, 1.25, 2.125, 0.5}, -- NodeBox222 - {1.0625, 1.9375, 0.375, 1.1875, 2.0625, 0.5}, -- NodeBox223 - {1, 1.875, 0.375, 1.125, 2, 0.5}, -- NodeBox224 - {0.9375, 1.75, 0.375, 1.0625, 1.9375, 0.5}, -- NodeBox225 - {0.875, 1.6875, 0.375, 1, 1.8125, 0.5}, -- NodeBox226 - {0.8125, 1.625, 0.375, 0.9375, 1.75, 0.5}, -- NodeBox227 - {0.75, 1.5625, 0.375, 0.875, 1.6875, 0.5}, -- NodeBox228 - {0.6875, 1.4375, 0.375, 0.8125, 1.625, 0.5}, -- NodeBox229 - {0.625, 1.375, 0.375, 0.75, 1.5, 0.5}, -- NodeBox230 - {0.5625, 1.3125, 0.375, 0.6875, 1.4375, 0.5}, -- NodeBox231 - {0.5, 1.25, 0.375, 0.625, 1.375, 0.5}, -- NodeBox232 - {0.4375, 1.125, 0.375, 0.5625, 1.3125, 0.5}, -- NodeBox233 - {0.375, 1.0625, 0.375, 0.5, 1.1875, 0.5}, -- NodeBox234 - {0.3125, 1, 0.375, 0.4375, 1.125, 0.5}, -- NodeBox235 - {0.25, 0.9375, 0.375, 0.375, 1.0625, 0.5}, -- NodeBox236 - {0.1875, 0.8125, 0.375, 0.3125, 1, 0.5}, -- NodeBox237 - {0.125, 0.75, 0.375, 0.25, 0.875, 0.5}, -- NodeBox238 - {0.0625, 0.6875, 0.375, 0.1875, 0.8125, 0.5}, -- NodeBox239 - {0, 0.625, 0.375, 0.125, 0.75, 0.5}, -- NodeBox240 - {-0.0625, 0.5, 0.375, 0.0625, 0.6875, 0.5}, -- NodeBox241 - {-0.125, 0.4375, 0.375, 0, 0.5625, 0.5}, -- NodeBox242 - {-0.1875, 0.375, 0.375, -0.0625, 0.5, 0.5}, -- NodeBox243 - {-0.25, 0.3125, 0.375, -0.125, 0.4375, 0.5}, -- NodeBox244 - {-0.3125, 0.1875, 0.375, -0.1875, 0.375, 0.5}, -- NodeBox245 - {-0.375, 0.125, 0.375, -0.25, 0.25, 0.5}, -- NodeBox246 - {-0.4375, 0.0625, 0.375, -0.3125, 0.1875, 0.5}, -- NodeBox247 - {-0.5, 0, 0.375, -0.375, 0.125, 0.5}, -- NodeBox248 - {1.375, 2.3125, 0.375, 1.5, 2.4375, 0.5}, -- NodeBox249 + {-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 = { @@ -612,84 +611,84 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then sounds = default.node_sound_metal_defaults(), }) - minetest.register_node("bridger:truss_superstructure_mid_"..bridge_colors, { - description = bridge_desc.." Truss Superstructure Middle", + minetest.register_node("bridger:truss_superstructure_mid_" .. bridge_colors, { + description = bridge_desc .. " Truss Superstructure Middle", drawtype = "nodebox", - tiles = {"bridges_"..bridge_colors..".png"}, - inventory_image = "bridges_"..bridge_colors..".png^bridges_superstructure_mid.png^[makealpha:255,126,126", - wield_image = "bridges_"..bridge_colors..".png^bridges_superstructure_mid.png^[makealpha:255,126,126", + tiles = {"bridges_" .. bridge_colors .. ".png"}, + inventory_image = "bridges_" .. bridge_colors .. ".png^bridges_superstructure_mid.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_colors .. ".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}, -- NodeBox214 - {-0.5, -0.5, 0.375, -0.4375, 2.5, 0.5}, -- NodeBox215 - {1.4375, -0.5, 0.375, 1.5, 2.5, 0.5}, -- NodeBox217 - {-0.5, 2.375, 0.375, 1.5, 2.5, 0.5}, -- NodeBox218 - {-0.4375, 2.25, 0.375, -0.3125, 2.375, 0.5}, -- NodeBox219 - {-0.375, 2.1875, 0.375, -0.25, 2.3125, 0.5}, -- NodeBox220 - {-0.3125, 2.0625, 0.375, -0.1875, 2.25, 0.5}, -- NodeBox221 - {-0.25, 2, 0.375, -0.125, 2.125, 0.5}, -- NodeBox222 - {-0.1875, 1.9375, 0.375, -0.0625, 2.0625, 0.5}, -- NodeBox223 - {-0.125, 1.875, 0.375, 0, 2, 0.5}, -- NodeBox224 - {-0.0625, 1.75, 0.375, 0.0625, 1.9375, 0.5}, -- NodeBox225 - {0, 1.6875, 0.375, 0.125, 1.8125, 0.5}, -- NodeBox226 - {0.0625, 1.625, 0.375, 0.1875, 1.75, 0.5}, -- NodeBox227 - {0.125, 1.5625, 0.375, 0.25, 1.6875, 0.5}, -- NodeBox228 - {0.1875, 1.4375, 0.375, 0.3125, 1.625, 0.5}, -- NodeBox229 - {0.25, 1.375, 0.375, 0.375, 1.5, 0.5}, -- NodeBox230 - {0.3125, 1.3125, 0.375, 0.4375, 1.4375, 0.5}, -- NodeBox231 - {0.375, 1.25, 0.375, 0.5, 1.375, 0.5}, -- NodeBox232 - {0.4375, 1.125, 0.375, 0.5625, 1.3125, 0.5}, -- NodeBox233 - {0.5, 1.0625, 0.375, 0.625, 1.1875, 0.5}, -- NodeBox234 - {0.5625, 1, 0.375, 0.6875, 1.125, 0.5}, -- NodeBox235 - {0.625, 0.9375, 0.375, 0.75, 1.0625, 0.5}, -- NodeBox236 - {0.6875, 0.8125, 0.375, 0.8125, 1, 0.5}, -- NodeBox237 - {0.75, 0.75, 0.375, 0.875, 0.875, 0.5}, -- NodeBox238 - {0.8125, 0.6875, 0.375, 0.9375, 0.8125, 0.5}, -- NodeBox239 - {0.875, 0.625, 0.375, 1, 0.75, 0.5}, -- NodeBox240 - {0.9375, 0.5, 0.375, 1.0625, 0.6875, 0.5}, -- NodeBox241 - {1, 0.4375, 0.375, 1.125, 0.5625, 0.5}, -- NodeBox242 - {1.0625, 0.375, 0.375, 1.1875, 0.5, 0.5}, -- NodeBox243 - {1.125, 0.3125, 0.375, 1.25, 0.4375, 0.5}, -- NodeBox244 - {1.1875, 0.1875, 0.375, 1.3125, 0.375, 0.5}, -- NodeBox245 - {1.25, 0.125, 0.375, 1.375, 0.25, 0.5}, -- NodeBox246 - {1.3125, 0.0625, 0.375, 1.4375, 0.1875, 0.5}, -- NodeBox247 - {1.375, 0, 0.375, 1.5, 0.125, 0.5}, -- NodeBox248 - {-0.4375, 2.3125, 0.375, -0.3125, 2.4375, 0.5}, -- NodeBox249 - {1.3125, 2.25, 0.375, 1.4375, 2.375, 0.5}, -- NodeBox219 - {1.25, 2.1875, 0.375, 1.375, 2.3125, 0.5}, -- NodeBox220 - {1.1875, 2.0625, 0.375, 1.3125, 2.25, 0.5}, -- NodeBox221 - {1.125, 2, 0.375, 1.25, 2.125, 0.5}, -- NodeBox222 - {1.0625, 1.9375, 0.375, 1.1875, 2.0625, 0.5}, -- NodeBox223 - {1, 1.875, 0.375, 1.125, 2, 0.5}, -- NodeBox224 - {0.9375, 1.75, 0.375, 1.0625, 1.9375, 0.5}, -- NodeBox225 - {0.875, 1.6875, 0.375, 1, 1.8125, 0.5}, -- NodeBox226 - {0.8125, 1.625, 0.375, 0.9375, 1.75, 0.5}, -- NodeBox227 - {0.75, 1.5625, 0.375, 0.875, 1.6875, 0.5}, -- NodeBox228 - {0.6875, 1.4375, 0.375, 0.8125, 1.625, 0.5}, -- NodeBox229 - {0.625, 1.375, 0.375, 0.75, 1.5, 0.5}, -- NodeBox230 - {0.5625, 1.3125, 0.375, 0.6875, 1.4375, 0.5}, -- NodeBox231 - {0.5, 1.25, 0.375, 0.625, 1.375, 0.5}, -- NodeBox232 - {0.4375, 1.125, 0.375, 0.5625, 1.3125, 0.5}, -- NodeBox233 - {0.375, 1.0625, 0.375, 0.5, 1.1875, 0.5}, -- NodeBox234 - {0.3125, 1, 0.375, 0.4375, 1.125, 0.5}, -- NodeBox235 - {0.25, 0.9375, 0.375, 0.375, 1.0625, 0.5}, -- NodeBox236 - {0.1875, 0.8125, 0.375, 0.3125, 1, 0.5}, -- NodeBox237 - {0.125, 0.75, 0.375, 0.25, 0.875, 0.5}, -- NodeBox238 - {0.0625, 0.6875, 0.375, 0.1875, 0.8125, 0.5}, -- NodeBox239 - {0, 0.625, 0.375, 0.125, 0.75, 0.5}, -- NodeBox240 - {-0.0625, 0.5, 0.375, 0.0625, 0.6875, 0.5}, -- NodeBox241 - {-0.125, 0.4375, 0.375, 0, 0.5625, 0.5}, -- NodeBox242 - {-0.1875, 0.375, 0.375, -0.0625, 0.5, 0.5}, -- NodeBox243 - {-0.25, 0.3125, 0.375, -0.125, 0.4375, 0.5}, -- NodeBox244 - {-0.3125, 0.1875, 0.375, -0.1875, 0.375, 0.5}, -- NodeBox245 - {-0.375, 0.125, 0.375, -0.25, 0.25, 0.5}, -- NodeBox246 - {-0.4375, 0.0625, 0.375, -0.3125, 0.1875, 0.5}, -- NodeBox247 - {-0.5, 0, 0.375, -0.375, 0.125, 0.5}, -- NodeBox248 - {1.375, 2.3125, 0.375, 1.5, 2.4375, 0.5}, -- NodeBox249 + {-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 = { @@ -708,51 +707,51 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then sounds = default.node_sound_metal_defaults(), }) - minetest.register_node("bridger:truss_superstructure_tall_right_slant_"..bridge_colors, { - description = bridge_desc.." Tall Truss Superstructure Right Slant", + minetest.register_node("bridger:truss_superstructure_tall_right_slant_" .. bridge_colors, { + description = bridge_desc .. " Tall Truss Superstructure Right Slant", drawtype = "nodebox", - tiles = {"bridges_"..bridge_colors..".png"}, - inventory_image = "bridges_"..bridge_colors..".png^bridges_superstructure_tall_right_slant.png^[makealpha:255,126,126", - wield_image = "bridges_"..bridge_colors..".png^bridges_superstructure_tall_right_slant.png^[makealpha:255,126,126", + tiles = {"bridges_" .. bridge_colors .. ".png"}, + inventory_image = "bridges_" .. bridge_colors .. ".png^bridges_superstructure_tall_right_slant.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_colors .. ".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}, -- NodeBox1 - {-0.5, 3.375, 0.375, 1.5, 3.5, 0.5}, -- NodeBox2 - {-0.5, -0.5, 0.375, -0.4375, 3.5, 0.5}, -- NodeBox3 - {1.4375, -0.5, 0.375, 1.5, 3.5, 0.5}, -- NodeBox4 - {-0.4375, 3.25, 0.375, -0.3125, 3.375, 0.5}, -- NodeBox5 - {-0.375, 3.125, 0.375, -0.25, 3.3125, 0.5}, -- NodeBox6 - {-0.3125, 3, 0.375, -0.1875, 3.1875, 0.5}, -- NodeBox7 - {-0.25, 2.875, 0.375, -0.125, 3.0625, 0.5}, -- NodeBox8 - {-0.1875, 2.75, 0.375, -0.0625, 2.9375, 0.5}, -- NodeBox9 - {-0.125, 2.625, 0.375, 1.11759e-008, 2.8125, 0.5}, -- NodeBox10 - {-0.0625, 2.5625, 0.375, 0.0625, 2.6875, 0.5}, -- NodeBox11 - {0, 2.4375, 0.375, 0.125, 2.625, 0.5}, -- NodeBox12 - {0.0625, 2.3125, 0.375, 0.1875, 2.5, 0.5}, -- NodeBox13 - {0.125, 2.1875, 0.375, 0.25, 2.375, 0.5}, -- NodeBox14 - {0.1875, 2.0625, 0.375, 0.3125, 2.25, 0.5}, -- NodeBox15 - {0.25, 2, 0.375, 0.375, 2.125, 0.5}, -- NodeBox16 - {0.3125, 1.875, 0.375, 0.4375, 2.0625, 0.5}, -- NodeBox17 - {0.375, 1.75, 0.375, 0.5, 1.9375, 0.5}, -- NodeBox18 - {0.4375, 1.625, 0.375, 0.5625, 1.8125, 0.5}, -- NodeBox19 - {0.5, 1.5, 0.375, 0.625, 1.6875, 0.5}, -- NodeBox20 - {0.5625, 1.375, 0.375, 0.6875, 1.5625, 0.5}, -- NodeBox21 - {0.625, 1.3125, 0.375, 0.75, 1.4375, 0.5}, -- NodeBox22 - {0.6875, 1.1875, 0.375, 0.8125, 1.375, 0.5}, -- NodeBox23 - {0.75, 1.0625, 0.375, 0.875, 1.25, 0.5}, -- NodeBox24 - {0.8125, 0.9375, 0.375, 0.9375, 1.125, 0.5}, -- NodeBox25 - {0.875, 0.8125, 0.375, 1, 1, 0.5}, -- NodeBox26 - {0.9375, 0.75, 0.375, 1.0625, 0.875, 0.5}, -- NodeBox27 - {1, 0.625, 0.375, 1.125, 0.8125, 0.5}, -- NodeBox28 - {1.0625, 0.5, 0.375, 1.1875, 0.6875, 0.5}, -- NodeBox29 - {1.125, 0.375, 0.375, 1.25, 0.5625, 0.5}, -- NodeBox30 - {1.1875, 0.25, 0.375, 1.3125, 0.4375, 0.5}, -- NodeBox31 - {1.25, 0.125, 0.375, 1.375, 0.3125, 0.5}, -- NodeBox32 - {1.3125, 0.0625, 0.375, 1.4375, 0.1875, 0.5}, -- NodeBox33 + {-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 = { @@ -771,51 +770,51 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then sounds = default.node_sound_metal_defaults(), }) - minetest.register_node("bridger:truss_superstructure_tall_left_slant_"..bridge_colors, { - description = bridge_desc.." Tall Truss Superstructure Left Slant", + minetest.register_node("bridger:truss_superstructure_tall_left_slant_" .. bridge_colors, { + description = bridge_desc .. " Tall Truss Superstructure Left Slant", drawtype = "nodebox", - tiles = {"bridges_"..bridge_colors..".png"}, - inventory_image = "bridges_"..bridge_colors..".png^bridges_superstructure_tall_left_slant.png^[makealpha:255,126,126", - wield_image = "bridges_"..bridge_colors..".png^bridges_superstructure_tall_left_slant.png^[makealpha:255,126,126", + tiles = {"bridges_" .. bridge_colors .. ".png"}, + inventory_image = "bridges_" .. bridge_colors .. ".png^bridges_superstructure_tall_left_slant.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_colors .. ".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}, -- NodeBox1 - {-0.5, 3.375, 0.375, 1.5, 3.5, 0.5}, -- NodeBox2 - {-0.5, -0.5, 0.375, -0.4375, 3.5, 0.5}, -- NodeBox3 - {1.4375, -0.5, 0.375, 1.5, 3.5, 0.5}, -- NodeBox4 - {1.3125, 3.25, 0.375, 1.4375, 3.375, 0.5}, -- NodeBox5 - {1.25, 3.125, 0.375, 1.375, 3.3125, 0.5}, -- NodeBox6 - {1.1875, 3, 0.375, 1.3125, 3.1875, 0.5}, -- NodeBox7 - {1.125, 2.875, 0.375, 1.25, 3.0625, 0.5}, -- NodeBox8 - {1.0625, 2.75, 0.375, 1.1875, 2.9375, 0.5}, -- NodeBox9 - {1, 2.625, 0.375, 1.125, 2.8125, 0.5}, -- NodeBox10 - {0.9375, 2.5625, 0.375, 1.0625, 2.6875, 0.5}, -- NodeBox11 - {0.875, 2.4375, 0.375, 1, 2.625, 0.5}, -- NodeBox12 - {0.8125, 2.3125, 0.375, 0.9375, 2.5, 0.5}, -- NodeBox13 - {0.75, 2.1875, 0.375, 0.875, 2.375, 0.5}, -- NodeBox14 - {0.6875, 2.0625, 0.375, 0.8125, 2.25, 0.5}, -- NodeBox15 - {0.625, 2, 0.375, 0.75, 2.125, 0.5}, -- NodeBox16 - {0.5625, 1.875, 0.375, 0.6875, 2.0625, 0.5}, -- NodeBox17 - {0.5, 1.75, 0.375, 0.625, 1.9375, 0.5}, -- NodeBox18 - {0.4375, 1.625, 0.375, 0.5625, 1.8125, 0.5}, -- NodeBox19 - {0.375, 1.5, 0.375, 0.5, 1.6875, 0.5}, -- NodeBox20 - {0.3125, 1.375, 0.375, 0.4375, 1.5625, 0.5}, -- NodeBox21 - {0.25, 1.3125, 0.375, 0.375, 1.4375, 0.5}, -- NodeBox22 - {0.1875, 1.1875, 0.375, 0.3125, 1.375, 0.5}, -- NodeBox23 - {0.125, 1.0625, 0.375, 0.25, 1.25, 0.5}, -- NodeBox24 - {0.0625, 0.9375, 0.375, 0.1875, 1.125, 0.5}, -- NodeBox25 - {0, 0.8125, 0.375, 0.125, 1, 0.5}, -- NodeBox26 - {-0.0625, 0.75, 0.375, 0.0625, 0.875, 0.5}, -- NodeBox27 - {-0.125, 0.625, 0.375, -3.35276e-008, 0.8125, 0.5}, -- NodeBox28 - {-0.1875, 0.5, 0.375, -0.0625, 0.6875, 0.5}, -- NodeBox29 - {-0.25, 0.375, 0.375, -0.125, 0.5625, 0.5}, -- NodeBox30 - {-0.3125, 0.25, 0.375, -0.1875, 0.4375, 0.5}, -- NodeBox31 - {-0.375, 0.125, 0.375, -0.25, 0.3125, 0.5}, -- NodeBox32 - {-0.4375, 0.0625, 0.375, -0.3125, 0.1875, 0.5}, -- NodeBox33 + {-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 = { @@ -834,80 +833,80 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then sounds = default.node_sound_metal_defaults(), }) - minetest.register_node("bridger:truss_superstructure_tall_mid_"..bridge_colors, { - description = bridge_desc.." Tall Truss Superstructure Middle", + minetest.register_node("bridger:truss_superstructure_tall_mid_" .. bridge_colors, { + description = bridge_desc .. " Tall Truss Superstructure Middle", drawtype = "nodebox", - tiles = {"bridges_"..bridge_colors..".png"}, - inventory_image = "bridges_"..bridge_colors..".png^bridges_superstructure_tall_mid.png^[makealpha:255,126,126", - wield_image = "bridges_"..bridge_colors..".png^bridges_superstructure_tall_mid.png^[makealpha:255,126,126", + tiles = {"bridges_" .. bridge_colors .. ".png"}, + inventory_image = "bridges_" .. bridge_colors .. ".png^bridges_superstructure_tall_mid.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_colors .. ".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}, -- NodeBox1 - {-0.5, 3.375, 0.375, 1.5, 3.5, 0.5}, -- NodeBox2 - {-0.5, -0.5, 0.375, -0.4375, 3.5, 0.5}, -- NodeBox3 - {1.4375, -0.5, 0.375, 1.5, 3.5, 0.5}, -- NodeBox4 - {1.3125, 3.25, 0.375, 1.4375, 3.375, 0.5}, -- NodeBox5 - {1.25, 3.125, 0.375, 1.375, 3.3125, 0.5}, -- NodeBox6 - {1.1875, 3, 0.375, 1.3125, 3.1875, 0.5}, -- NodeBox7 - {1.125, 2.875, 0.375, 1.25, 3.0625, 0.5}, -- NodeBox8 - {1.0625, 2.75, 0.375, 1.1875, 2.9375, 0.5}, -- NodeBox9 - {1, 2.625, 0.375, 1.125, 2.8125, 0.5}, -- NodeBox10 - {0.9375, 2.5625, 0.375, 1.0625, 2.6875, 0.5}, -- NodeBox11 - {0.875, 2.4375, 0.375, 1, 2.625, 0.5}, -- NodeBox12 - {0.8125, 2.3125, 0.375, 0.9375, 2.5, 0.5}, -- NodeBox13 - {0.75, 2.1875, 0.375, 0.875, 2.375, 0.5}, -- NodeBox14 - {0.6875, 2.0625, 0.375, 0.8125, 2.25, 0.5}, -- NodeBox15 - {0.625, 2, 0.375, 0.75, 2.125, 0.5}, -- NodeBox16 - {0.5625, 1.875, 0.375, 0.6875, 2.0625, 0.5}, -- NodeBox17 - {0.5, 1.75, 0.375, 0.625, 1.9375, 0.5}, -- NodeBox18 - {0.4375, 1.625, 0.375, 0.5625, 1.8125, 0.5}, -- NodeBox19 - {0.375, 1.5, 0.375, 0.5, 1.6875, 0.5}, -- NodeBox20 - {0.3125, 1.375, 0.375, 0.4375, 1.5625, 0.5}, -- NodeBox21 - {0.25, 1.3125, 0.375, 0.375, 1.4375, 0.5}, -- NodeBox22 - {0.1875, 1.1875, 0.375, 0.3125, 1.375, 0.5}, -- NodeBox23 - {0.125, 1.0625, 0.375, 0.25, 1.25, 0.5}, -- NodeBox24 - {0.0625, 0.9375, 0.375, 0.1875, 1.125, 0.5}, -- NodeBox25 - {0, 0.8125, 0.375, 0.125, 1, 0.5}, -- NodeBox26 - {-0.0625, 0.75, 0.375, 0.0625, 0.875, 0.5}, -- NodeBox27 - {-0.125, 0.625, 0.375, -3.35276e-008, 0.8125, 0.5}, -- NodeBox28 - {-0.1875, 0.5, 0.375, -0.0625, 0.6875, 0.5}, -- NodeBox29 - {-0.25, 0.375, 0.375, -0.125, 0.5625, 0.5}, -- NodeBox30 - {-0.3125, 0.25, 0.375, -0.1875, 0.4375, 0.5}, -- NodeBox31 - {-0.375, 0.125, 0.375, -0.25, 0.3125, 0.5}, -- NodeBox32 - {-0.4375, 0.0625, 0.375, -0.3125, 0.1875, 0.5}, -- NodeBox33 - {-0.4375, 3.25, 0.375, -0.3125, 3.375, 0.5}, -- NodeBox5 - {-0.375, 3.125, 0.375, -0.25, 3.3125, 0.5}, -- NodeBox6 - {-0.3125, 3, 0.375, -0.1875, 3.1875, 0.5}, -- NodeBox7 - {-0.25, 2.875, 0.375, -0.125, 3.0625, 0.5}, -- NodeBox8 - {-0.1875, 2.75, 0.375, -0.0625, 2.9375, 0.5}, -- NodeBox9 - {-0.125, 2.625, 0.375, 1.11759e-008, 2.8125, 0.5}, -- NodeBox10 - {-0.0625, 2.5625, 0.375, 0.0625, 2.6875, 0.5}, -- NodeBox11 - {0, 2.4375, 0.375, 0.125, 2.625, 0.5}, -- NodeBox12 - {0.0625, 2.3125, 0.375, 0.1875, 2.5, 0.5}, -- NodeBox13 - {0.125, 2.1875, 0.375, 0.25, 2.375, 0.5}, -- NodeBox14 - {0.1875, 2.0625, 0.375, 0.3125, 2.25, 0.5}, -- NodeBox15 - {0.25, 2, 0.375, 0.375, 2.125, 0.5}, -- NodeBox16 - {0.3125, 1.875, 0.375, 0.4375, 2.0625, 0.5}, -- NodeBox17 - {0.375, 1.75, 0.375, 0.5, 1.9375, 0.5}, -- NodeBox18 - {0.4375, 1.625, 0.375, 0.5625, 1.8125, 0.5}, -- NodeBox19 - {0.5, 1.5, 0.375, 0.625, 1.6875, 0.5}, -- NodeBox20 - {0.5625, 1.375, 0.375, 0.6875, 1.5625, 0.5}, -- NodeBox21 - {0.625, 1.3125, 0.375, 0.75, 1.4375, 0.5}, -- NodeBox22 - {0.6875, 1.1875, 0.375, 0.8125, 1.375, 0.5}, -- NodeBox23 - {0.75, 1.0625, 0.375, 0.875, 1.25, 0.5}, -- NodeBox24 - {0.8125, 0.9375, 0.375, 0.9375, 1.125, 0.5}, -- NodeBox25 - {0.875, 0.8125, 0.375, 1, 1, 0.5}, -- NodeBox26 - {0.9375, 0.75, 0.375, 1.0625, 0.875, 0.5}, -- NodeBox27 - {1, 0.625, 0.375, 1.125, 0.8125, 0.5}, -- NodeBox28 - {1.0625, 0.5, 0.375, 1.1875, 0.6875, 0.5}, -- NodeBox29 - {1.125, 0.375, 0.375, 1.25, 0.5625, 0.5}, -- NodeBox30 - {1.1875, 0.25, 0.375, 1.3125, 0.4375, 0.5}, -- NodeBox31 - {1.25, 0.125, 0.375, 1.375, 0.3125, 0.5}, -- NodeBox32 - {1.3125, 0.0625, 0.375, 1.4375, 0.1875, 0.5}, -- NodeBox33 + {-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 = { @@ -926,79 +925,79 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then sounds = default.node_sound_metal_defaults(), }) - minetest.register_node("bridger:truss_superstructure_tall_simple_"..bridge_colors, { - description = bridge_desc.." Tall Truss Superstructure Middle Simple", + minetest.register_node("bridger:truss_superstructure_tall_simple_" .. bridge_colors, { + description = bridge_desc .. " Tall Truss Superstructure Middle Simple", drawtype = "nodebox", - tiles = {"bridges_"..bridge_colors..".png"}, - inventory_image = "bridges_"..bridge_colors..".png^bridges_superstructure_tall_simple.png^[makealpha:255,126,126", - wield_image = "bridges_"..bridge_colors..".png^bridges_superstructure_tall_simple.png^[makealpha:255,126,126", + tiles = {"bridges_" .. bridge_colors .. ".png"}, + inventory_image = "bridges_" .. bridge_colors .. ".png^bridges_superstructure_tall_simple.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_colors .. ".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}, -- NodeBox1 - {-0.5, 3.375, 0.375, 1.5, 3.5, 0.5}, -- NodeBox2 - {1.3125, 3.25, 0.375, 1.4375, 3.375, 0.5}, -- NodeBox5 - {1.25, 3.125, 0.375, 1.375, 3.3125, 0.5}, -- NodeBox6 - {1.1875, 3, 0.375, 1.3125, 3.1875, 0.5}, -- NodeBox7 - {1.125, 2.875, 0.375, 1.25, 3.0625, 0.5}, -- NodeBox8 - {1.0625, 2.75, 0.375, 1.1875, 2.9375, 0.5}, -- NodeBox9 - {1, 2.625, 0.375, 1.125, 2.8125, 0.5}, -- NodeBox10 - {0.9375, 2.5625, 0.375, 1.0625, 2.6875, 0.5}, -- NodeBox11 - {0.875, 2.4375, 0.375, 1, 2.625, 0.5}, -- NodeBox12 - {0.8125, 2.3125, 0.375, 0.9375, 2.5, 0.5}, -- NodeBox13 - {0.75, 2.1875, 0.375, 0.875, 2.375, 0.5}, -- NodeBox14 - {0.6875, 2.0625, 0.375, 0.8125, 2.25, 0.5}, -- NodeBox15 - {0.625, 2, 0.375, 0.75, 2.125, 0.5}, -- NodeBox16 - {0.5625, 1.875, 0.375, 0.6875, 2.0625, 0.5}, -- NodeBox17 - {0.5, 1.75, 0.375, 0.625, 1.9375, 0.5}, -- NodeBox18 - {0.4375, 1.625, 0.375, 0.5625, 1.8125, 0.5}, -- NodeBox19 - {0.375, 1.5, 0.375, 0.5, 1.6875, 0.5}, -- NodeBox20 - {0.3125, 1.375, 0.375, 0.4375, 1.5625, 0.5}, -- NodeBox21 - {0.25, 1.3125, 0.375, 0.375, 1.4375, 0.5}, -- NodeBox22 - {0.1875, 1.1875, 0.375, 0.3125, 1.375, 0.5}, -- NodeBox23 - {0.125, 1.0625, 0.375, 0.25, 1.25, 0.5}, -- NodeBox24 - {0.0625, 0.9375, 0.375, 0.1875, 1.125, 0.5}, -- NodeBox25 - {0, 0.8125, 0.375, 0.125, 1, 0.5}, -- NodeBox26 - {-0.0625, 0.75, 0.375, 0.0625, 0.875, 0.5}, -- NodeBox27 - {-0.125, 0.625, 0.375, -3.35276e-008, 0.8125, 0.5}, -- NodeBox28 - {-0.1875, 0.5, 0.375, -0.0625, 0.6875, 0.5}, -- NodeBox29 - {-0.25, 0.375, 0.375, -0.125, 0.5625, 0.5}, -- NodeBox30 - {-0.3125, 0.25, 0.375, -0.1875, 0.4375, 0.5}, -- NodeBox31 - {-0.375, 0.125, 0.375, -0.25, 0.3125, 0.5}, -- NodeBox32 - {-0.4375, 0.0625, 0.375, -0.3125, 0.1875, 0.5}, -- NodeBox33 - {-0.4375, 3.25, 0.375, -0.3125, 3.375, 0.5}, -- NodeBox5 - {-0.375, 3.125, 0.375, -0.25, 3.3125, 0.5}, -- NodeBox6 - {-0.3125, 3, 0.375, -0.1875, 3.1875, 0.5}, -- NodeBox7 - {-0.25, 2.875, 0.375, -0.125, 3.0625, 0.5}, -- NodeBox8 - {-0.1875, 2.75, 0.375, -0.0625, 2.9375, 0.5}, -- NodeBox9 - {-0.125, 2.625, 0.375, 1.11759e-008, 2.8125, 0.5}, -- NodeBox10 - {-0.0625, 2.5625, 0.375, 0.0625, 2.6875, 0.5}, -- NodeBox11 - {0, 2.4375, 0.375, 0.125, 2.625, 0.5}, -- NodeBox12 - {0.0625, 2.3125, 0.375, 0.1875, 2.5, 0.5}, -- NodeBox13 - {0.125, 2.1875, 0.375, 0.25, 2.375, 0.5}, -- NodeBox14 - {0.1875, 2.0625, 0.375, 0.3125, 2.25, 0.5}, -- NodeBox15 - {0.25, 2, 0.375, 0.375, 2.125, 0.5}, -- NodeBox16 - {0.3125, 1.875, 0.375, 0.4375, 2.0625, 0.5}, -- NodeBox17 - {0.375, 1.75, 0.375, 0.5, 1.9375, 0.5}, -- NodeBox18 - {0.4375, 1.625, 0.375, 0.5625, 1.8125, 0.5}, -- NodeBox19 - {0.5, 1.5, 0.375, 0.625, 1.6875, 0.5}, -- NodeBox20 - {0.5625, 1.375, 0.375, 0.6875, 1.5625, 0.5}, -- NodeBox21 - {0.625, 1.3125, 0.375, 0.75, 1.4375, 0.5}, -- NodeBox22 - {0.6875, 1.1875, 0.375, 0.8125, 1.375, 0.5}, -- NodeBox23 - {0.75, 1.0625, 0.375, 0.875, 1.25, 0.5}, -- NodeBox24 - {0.8125, 0.9375, 0.375, 0.9375, 1.125, 0.5}, -- NodeBox25 - {0.875, 0.8125, 0.375, 1, 1, 0.5}, -- NodeBox26 - {0.9375, 0.75, 0.375, 1.0625, 0.875, 0.5}, -- NodeBox27 - {1, 0.625, 0.375, 1.125, 0.8125, 0.5}, -- NodeBox28 - {1.0625, 0.5, 0.375, 1.1875, 0.6875, 0.5}, -- NodeBox29 - {1.125, 0.375, 0.375, 1.25, 0.5625, 0.5}, -- NodeBox30 - {1.1875, 0.25, 0.375, 1.3125, 0.4375, 0.5}, -- NodeBox31 - {1.25, 0.125, 0.375, 1.375, 0.3125, 0.5}, -- NodeBox32 - {1.3125, 0.0625, 0.375, 1.4375, 0.1875, 0.5}, -- NodeBox33 - + {-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 = { @@ -1017,12 +1016,12 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then sounds = default.node_sound_metal_defaults(), }) - minetest.register_node("bridger:truss_superstructure_tall_simple_end_left_"..bridge_colors, { - description = bridge_desc.." Tall Truss Superstructure Simple Left End", + minetest.register_node("bridger:truss_superstructure_tall_simple_end_left_" .. bridge_colors, { + description = bridge_desc .. " Tall Truss Superstructure Simple Left End", drawtype = "nodebox", - tiles = {"bridges_"..bridge_colors..".png"}, - inventory_image = "bridges_"..bridge_colors..".png^bridges_superstructure_tall_simple_end_left.png^[makealpha:255,126,126", - wield_image = "bridges_"..bridge_colors..".png^bridges_superstructure_tall_simple_end_left.png^[makealpha:255,126,126", + tiles = {"bridges_" .. bridge_colors .. ".png"}, + inventory_image = "bridges_" .. bridge_colors .. ".png^bridges_superstructure_tall_simple_end_left.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_colors .. ".png^bridges_superstructure_tall_simple_end_left.png^[makealpha:255,126,126", paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, @@ -1036,12 +1035,12 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then sounds = default.node_sound_metal_defaults(), }) - minetest.register_node("bridger:truss_superstructure_tall_simple_end_right_"..bridge_colors, { - description = bridge_desc.." Tall Truss Superstructure Simple Right End", + minetest.register_node("bridger:truss_superstructure_tall_simple_end_right_" .. bridge_colors, { + description = bridge_desc .. " Tall Truss Superstructure Simple Right End", drawtype = "nodebox", - tiles = {"bridges_"..bridge_colors..".png"}, - inventory_image = "bridges_"..bridge_colors..".png^bridges_superstructure_tall_simple_end_right.png^[makealpha:255,126,126", - wield_image = "bridges_"..bridge_colors..".png^bridges_superstructure_tall_simple_end_right.png^[makealpha:255,126,126", + tiles = {"bridges_" .. bridge_colors .. ".png"}, + inventory_image = "bridges_" .. bridge_colors .. ".png^bridges_superstructure_tall_simple_end_right.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_colors .. ".png^bridges_superstructure_tall_simple_end_right.png^[makealpha:255,126,126", paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, @@ -1055,84 +1054,84 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then sounds = default.node_sound_metal_defaults(), }) - minetest.register_node("bridger:truss_superstructure_simple_"..bridge_colors, { - description = bridge_desc.." Truss Superstructure Middle Simple", + minetest.register_node("bridger:truss_superstructure_simple_" .. bridge_colors, { + description = bridge_desc .. " Truss Superstructure Middle Simple", drawtype = "nodebox", - tiles = {"bridges_"..bridge_colors..".png"}, - inventory_image = "bridges_"..bridge_colors..".png^bridges_superstructure_simple.png^[makealpha:255,126,126", - wield_image = "bridges_"..bridge_colors..".png^bridges_superstructure_simple.png^[makealpha:255,126,126", + tiles = {"bridges_" .. bridge_colors .. ".png"}, + inventory_image = "bridges_" .. bridge_colors .. ".png^bridges_superstructure_simple.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_colors .. ".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}, -- NodeBox214 - {-0.5, 2.375, 0.375, 1.5, 2.5, 0.5}, -- NodeBox218 - {-0.4375, 2.25, 0.375, -0.3125, 2.375, 0.5}, -- NodeBox219 - {-0.375, 2.1875, 0.375, -0.25, 2.3125, 0.5}, -- NodeBox220 - {-0.3125, 2.0625, 0.375, -0.1875, 2.25, 0.5}, -- NodeBox221 - {-0.25, 2, 0.375, -0.125, 2.125, 0.5}, -- NodeBox222 - {-0.1875, 1.9375, 0.375, -0.0625, 2.0625, 0.5}, -- NodeBox223 - {-0.125, 1.875, 0.375, 0, 2, 0.5}, -- NodeBox224 - {-0.0625, 1.75, 0.375, 0.0625, 1.9375, 0.5}, -- NodeBox225 - {0, 1.6875, 0.375, 0.125, 1.8125, 0.5}, -- NodeBox226 - {0.0625, 1.625, 0.375, 0.1875, 1.75, 0.5}, -- NodeBox227 - {0.125, 1.5625, 0.375, 0.25, 1.6875, 0.5}, -- NodeBox228 - {0.1875, 1.4375, 0.375, 0.3125, 1.625, 0.5}, -- NodeBox229 - {0.25, 1.375, 0.375, 0.375, 1.5, 0.5}, -- NodeBox230 - {0.3125, 1.3125, 0.375, 0.4375, 1.4375, 0.5}, -- NodeBox231 - {0.375, 1.25, 0.375, 0.5, 1.375, 0.5}, -- NodeBox232 - {0.4375, 1.125, 0.375, 0.5625, 1.3125, 0.5}, -- NodeBox233 - {0.5, 1.0625, 0.375, 0.625, 1.1875, 0.5}, -- NodeBox234 - {0.5625, 1, 0.375, 0.6875, 1.125, 0.5}, -- NodeBox235 - {0.625, 0.9375, 0.375, 0.75, 1.0625, 0.5}, -- NodeBox236 - {0.6875, 0.8125, 0.375, 0.8125, 1, 0.5}, -- NodeBox237 - {0.75, 0.75, 0.375, 0.875, 0.875, 0.5}, -- NodeBox238 - {0.8125, 0.6875, 0.375, 0.9375, 0.8125, 0.5}, -- NodeBox239 - {0.875, 0.625, 0.375, 1, 0.75, 0.5}, -- NodeBox240 - {0.9375, 0.5, 0.375, 1.0625, 0.6875, 0.5}, -- NodeBox241 - {1, 0.4375, 0.375, 1.125, 0.5625, 0.5}, -- NodeBox242 - {1.0625, 0.375, 0.375, 1.1875, 0.5, 0.5}, -- NodeBox243 - {1.125, 0.3125, 0.375, 1.25, 0.4375, 0.5}, -- NodeBox244 - {1.1875, 0.1875, 0.375, 1.3125, 0.375, 0.5}, -- NodeBox245 - {1.25, 0.125, 0.375, 1.375, 0.25, 0.5}, -- NodeBox246 - {1.3125, 0.0625, 0.375, 1.4375, 0.1875, 0.5}, -- NodeBox247 - {1.375, 0, 0.375, 1.5, 0.125, 0.5}, -- NodeBox248 - {-0.4375, 2.3125, 0.375, -0.3125, 2.4375, 0.5}, -- NodeBox249 - {1.3125, 2.25, 0.375, 1.4375, 2.375, 0.5}, -- NodeBox219 - {1.25, 2.1875, 0.375, 1.375, 2.3125, 0.5}, -- NodeBox220 - {1.1875, 2.0625, 0.375, 1.3125, 2.25, 0.5}, -- NodeBox221 - {1.125, 2, 0.375, 1.25, 2.125, 0.5}, -- NodeBox222 - {1.0625, 1.9375, 0.375, 1.1875, 2.0625, 0.5}, -- NodeBox223 - {1, 1.875, 0.375, 1.125, 2, 0.5}, -- NodeBox224 - {0.9375, 1.75, 0.375, 1.0625, 1.9375, 0.5}, -- NodeBox225 - {0.875, 1.6875, 0.375, 1, 1.8125, 0.5}, -- NodeBox226 - {0.8125, 1.625, 0.375, 0.9375, 1.75, 0.5}, -- NodeBox227 - {0.75, 1.5625, 0.375, 0.875, 1.6875, 0.5}, -- NodeBox228 - {0.6875, 1.4375, 0.375, 0.8125, 1.625, 0.5}, -- NodeBox229 - {0.625, 1.375, 0.375, 0.75, 1.5, 0.5}, -- NodeBox230 - {0.5625, 1.3125, 0.375, 0.6875, 1.4375, 0.5}, -- NodeBox231 - {0.5, 1.25, 0.375, 0.625, 1.375, 0.5}, -- NodeBox232 - {0.4375, 1.125, 0.375, 0.5625, 1.3125, 0.5}, -- NodeBox233 - {0.375, 1.0625, 0.375, 0.5, 1.1875, 0.5}, -- NodeBox234 - {0.3125, 1, 0.375, 0.4375, 1.125, 0.5}, -- NodeBox235 - {0.25, 0.9375, 0.375, 0.375, 1.0625, 0.5}, -- NodeBox236 - {0.1875, 0.8125, 0.375, 0.3125, 1, 0.5}, -- NodeBox237 - {0.125, 0.75, 0.375, 0.25, 0.875, 0.5}, -- NodeBox238 - {0.0625, 0.6875, 0.375, 0.1875, 0.8125, 0.5}, -- NodeBox239 - {0, 0.625, 0.375, 0.125, 0.75, 0.5}, -- NodeBox240 - {-0.0625, 0.5, 0.375, 0.0625, 0.6875, 0.5}, -- NodeBox241 - {-0.125, 0.4375, 0.375, 0, 0.5625, 0.5}, -- NodeBox242 - {-0.1875, 0.375, 0.375, -0.0625, 0.5, 0.5}, -- NodeBox243 - {-0.25, 0.3125, 0.375, -0.125, 0.4375, 0.5}, -- NodeBox244 - {-0.3125, 0.1875, 0.375, -0.1875, 0.375, 0.5}, -- NodeBox245 - {-0.375, 0.125, 0.375, -0.25, 0.25, 0.5}, -- NodeBox246 - {-0.4375, 0.0625, 0.375, -0.3125, 0.1875, 0.5}, -- NodeBox247 - {-0.5, 0, 0.375, -0.375, 0.125, 0.5}, -- NodeBox248 - {1.375, 2.3125, 0.375, 1.5, 2.4375, 0.5}, -- NodeBox249 + {-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 = { @@ -1151,12 +1150,12 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then sounds = default.node_sound_metal_defaults(), }) - minetest.register_node("bridger:truss_superstructure_simple_end_left_"..bridge_colors, { - description = bridge_desc.." Truss Superstructure Simple Left End", + minetest.register_node("bridger:truss_superstructure_simple_end_left_" .. bridge_colors, { + description = bridge_desc .. " Truss Superstructure Simple Left End", drawtype = "nodebox", - tiles = {"bridges_"..bridge_colors..".png"}, - inventory_image = "bridges_"..bridge_colors..".png^bridges_superstructure_simple_end_left.png^[makealpha:255,126,126", - wield_image = "bridges_"..bridge_colors..".png^bridges_superstructure_simple_end_left.png^[makealpha:255,126,126", + tiles = {"bridges_" .. bridge_colors .. ".png"}, + inventory_image = "bridges_" .. bridge_colors .. ".png^bridges_superstructure_simple_end_left.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_colors .. ".png^bridges_superstructure_simple_end_left.png^[makealpha:255,126,126", paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, @@ -1170,12 +1169,12 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then sounds = default.node_sound_metal_defaults(), }) - minetest.register_node("bridger:truss_superstructure_simple_end_right_"..bridge_colors, { - description = bridge_desc.." Truss Superstructure Simple Right End", + minetest.register_node("bridger:truss_superstructure_simple_end_right_" .. bridge_colors, { + description = bridge_desc .. " Truss Superstructure Simple Right End", drawtype = "nodebox", - tiles = {"bridges_"..bridge_colors..".png"}, - inventory_image = "bridges_"..bridge_colors..".png^bridges_superstructure_simple_end_right.png^[makealpha:255,126,126", - wield_image = "bridges_"..bridge_colors..".png^bridges_superstructure_simple_end_right.png^[makealpha:255,126,126", + tiles = {"bridges_" .. bridge_colors .. ".png"}, + inventory_image = "bridges_" .. bridge_colors .. ".png^bridges_superstructure_simple_end_right.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_colors .. ".png^bridges_superstructure_simple_end_right.png^[makealpha:255,126,126", paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, @@ -1189,68 +1188,68 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then sounds = default.node_sound_metal_defaults(), }) - minetest.register_node("bridger:truss_superstructure_up_right_slant_"..bridge_colors, { - description = bridge_desc.." Truss Superstructure Up Right Slant", + minetest.register_node("bridger:truss_superstructure_up_right_slant_" .. bridge_colors, { + description = bridge_desc .. " Truss Superstructure Up Right Slant", drawtype = "nodebox", - tiles = {"bridges_"..bridge_colors..".png"}, - inventory_image = "bridges_"..bridge_colors..".png^bridges_superstructure_up_right_slant.png^[makealpha:255,126,126", - wield_image = "bridges_"..bridge_colors..".png^bridges_superstructure_up_right_slant.png^[makealpha:255,126,126", + tiles = {"bridges_" .. bridge_colors .. ".png"}, + inventory_image = "bridges_" .. bridge_colors .. ".png^bridges_superstructure_up_right_slant.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_colors .. ".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}, -- NodeBox1 - {1.375, 3.375, 0.375, 1.5, 3.5, 0.5}, -- NodeBox2 - {-0.5, -0.5, 0.375, -0.4375, 2.5, 0.5}, -- NodeBox3 - {1.4375, -0.5, 0.375, 1.5, 3.5, 0.5}, -- NodeBox4 - {1.25, 3.3125, 0.375, 1.375, 3.4375, 0.5}, -- NodeBox34 - {1.125, 3.25, 0.375, 1.25, 3.375, 0.5}, -- NodeBox35 - {1, 3.1875, 0.375, 1.125, 3.3125, 0.5}, -- NodeBox36 - {0.875, 3.125, 0.375, 1, 3.25, 0.5}, -- NodeBox37 - {0.75, 3.0625, 0.375, 0.875, 3.1875, 0.5}, -- NodeBox38 - {0.625, 3, 0.375, 0.75, 3.125, 0.5}, -- NodeBox39 - {0.5, 2.9375, 0.375, 0.625, 3.0625, 0.5}, -- NodeBox40 - {0.375, 2.875, 0.375, 0.5, 3, 0.5}, -- NodeBox41 - {0.25, 2.8125, 0.375, 0.375, 2.9375, 0.5}, -- NodeBox42 - {0.125, 2.75, 0.375, 0.25, 2.875, 0.5}, -- NodeBox43 - {0, 2.6875, 0.375, 0.125, 2.8125, 0.5}, -- NodeBox44 - {-0.125, 2.625, 0.375, -1.2666e-007, 2.75, 0.5}, -- NodeBox45 - {-0.25, 2.5625, 0.375, -0.125, 2.6875, 0.5}, -- NodeBox46 - {-0.375, 2.5, 0.375, -0.25, 2.625, 0.5}, -- NodeBox47 - {-0.5, 2.4375, 0.375, -0.375, 2.5625, 0.5}, -- NodeBox48 - {-0.4375, 2.25, 0.375, -0.3125, 2.375, 0.5}, -- NodeBox219 - {-0.375, 2.1875, 0.375, -0.25, 2.3125, 0.5}, -- NodeBox220 - {-0.3125, 2.0625, 0.375, -0.1875, 2.25, 0.5}, -- NodeBox221 - {-0.25, 2, 0.375, -0.125, 2.125, 0.5}, -- NodeBox222 - {-0.1875, 1.9375, 0.375, -0.0625, 2.0625, 0.5}, -- NodeBox223 - {-0.125, 1.875, 0.375, 0, 2, 0.5}, -- NodeBox224 - {-0.0625, 1.75, 0.375, 0.0625, 1.9375, 0.5}, -- NodeBox225 - {0, 1.6875, 0.375, 0.125, 1.8125, 0.5}, -- NodeBox226 - {0.0625, 1.625, 0.375, 0.1875, 1.75, 0.5}, -- NodeBox227 - {0.125, 1.5625, 0.375, 0.25, 1.6875, 0.5}, -- NodeBox228 - {0.1875, 1.4375, 0.375, 0.3125, 1.625, 0.5}, -- NodeBox229 - {0.25, 1.375, 0.375, 0.375, 1.5, 0.5}, -- NodeBox230 - {0.3125, 1.3125, 0.375, 0.4375, 1.4375, 0.5}, -- NodeBox231 - {0.375, 1.25, 0.375, 0.5, 1.375, 0.5}, -- NodeBox232 - {0.4375, 1.125, 0.375, 0.5625, 1.3125, 0.5}, -- NodeBox233 - {0.5, 1.0625, 0.375, 0.625, 1.1875, 0.5}, -- NodeBox234 - {0.5625, 1, 0.375, 0.6875, 1.125, 0.5}, -- NodeBox235 - {0.625, 0.9375, 0.375, 0.75, 1.0625, 0.5}, -- NodeBox236 - {0.6875, 0.8125, 0.375, 0.8125, 1, 0.5}, -- NodeBox237 - {0.75, 0.75, 0.375, 0.875, 0.875, 0.5}, -- NodeBox238 - {0.8125, 0.6875, 0.375, 0.9375, 0.8125, 0.5}, -- NodeBox239 - {0.875, 0.625, 0.375, 1, 0.75, 0.5}, -- NodeBox240 - {0.9375, 0.5, 0.375, 1.0625, 0.6875, 0.5}, -- NodeBox241 - {1, 0.4375, 0.375, 1.125, 0.5625, 0.5}, -- NodeBox242 - {1.0625, 0.375, 0.375, 1.1875, 0.5, 0.5}, -- NodeBox243 - {1.125, 0.3125, 0.375, 1.25, 0.4375, 0.5}, -- NodeBox244 - {1.1875, 0.1875, 0.375, 1.3125, 0.375, 0.5}, -- NodeBox245 - {1.25, 0.125, 0.375, 1.375, 0.25, 0.5}, -- NodeBox246 - {1.3125, 0.0625, 0.375, 1.4375, 0.1875, 0.5}, -- NodeBox247 - {1.375, 0, 0.375, 1.5, 0.125, 0.5}, -- NodeBox248 - {-0.4375, 2.3125, 0.375, -0.3125, 2.4375, 0.5}, -- NodeBox249 + {-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 = { @@ -1269,66 +1268,66 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then sounds = default.node_sound_metal_defaults(), }) - minetest.register_node("bridger:truss_superstructure_up_left_slant_"..bridge_colors, { - description = bridge_desc.." Truss Superstructure Up Left Slant", + minetest.register_node("bridger:truss_superstructure_up_left_slant_" .. bridge_colors, { + description = bridge_desc .. " Truss Superstructure Up Left Slant", drawtype = "nodebox", - tiles = {"bridges_"..bridge_colors..".png"}, - inventory_image = "bridges_"..bridge_colors..".png^bridges_superstructure_up_left_slant.png^[makealpha:255,126,126", - wield_image = "bridges_"..bridge_colors..".png^bridges_superstructure_up_left_slant.png^[makealpha:255,126,126", + tiles = {"bridges_" .. bridge_colors .. ".png"}, + inventory_image = "bridges_" .. bridge_colors .. ".png^bridges_superstructure_up_left_slant.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_colors .. ".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}, -- NodeBox1 - {1.375, 3.375, 0.375, 1.5, 3.5, 0.5}, -- NodeBox2 - {-0.5, -0.5, 0.375, -0.4375, 2.5, 0.5}, -- NodeBox3 - {1.4375, -0.5, 0.375, 1.5, 3.5, 0.5}, -- NodeBox4 - {1.25, 3.3125, 0.375, 1.375, 3.4375, 0.5}, -- NodeBox34 - {1.125, 3.25, 0.375, 1.25, 3.375, 0.5}, -- NodeBox35 - {1, 3.1875, 0.375, 1.125, 3.3125, 0.5}, -- NodeBox36 - {0.875, 3.125, 0.375, 1, 3.25, 0.5}, -- NodeBox37 - {0.75, 3.0625, 0.375, 0.875, 3.1875, 0.5}, -- NodeBox38 - {0.625, 3, 0.375, 0.75, 3.125, 0.5}, -- NodeBox39 - {0.5, 2.9375, 0.375, 0.625, 3.0625, 0.5}, -- NodeBox40 - {0.375, 2.875, 0.375, 0.5, 3, 0.5}, -- NodeBox41 - {0.25, 2.8125, 0.375, 0.375, 2.9375, 0.5}, -- NodeBox42 - {0.125, 2.75, 0.375, 0.25, 2.875, 0.5}, -- NodeBox43 - {0, 2.6875, 0.375, 0.125, 2.8125, 0.5}, -- NodeBox44 - {-0.125, 2.625, 0.375, -1.2666e-007, 2.75, 0.5}, -- NodeBox45 - {-0.25, 2.5625, 0.375, -0.125, 2.6875, 0.5}, -- NodeBox46 - {-0.375, 2.5, 0.375, -0.25, 2.625, 0.5}, -- NodeBox47 - {-0.5, 2.4375, 0.375, -0.375, 2.5625, 0.5}, -- NodeBox48 - {1.3125, 3.25, 0.375, 1.4375, 3.375, 0.5}, -- NodeBox5 - {1.25, 3.125, 0.375, 1.375, 3.3125, 0.5}, -- NodeBox6 - {1.1875, 3, 0.375, 1.3125, 3.1875, 0.5}, -- NodeBox7 - {1.125, 2.875, 0.375, 1.25, 3.0625, 0.5}, -- NodeBox8 - {1.0625, 2.75, 0.375, 1.1875, 2.9375, 0.5}, -- NodeBox9 - {1, 2.625, 0.375, 1.125, 2.8125, 0.5}, -- NodeBox10 - {0.9375, 2.5625, 0.375, 1.0625, 2.6875, 0.5}, -- NodeBox11 - {0.875, 2.4375, 0.375, 1, 2.625, 0.5}, -- NodeBox12 - {0.8125, 2.3125, 0.375, 0.9375, 2.5, 0.5}, -- NodeBox13 - {0.75, 2.1875, 0.375, 0.875, 2.375, 0.5}, -- NodeBox14 - {0.6875, 2.0625, 0.375, 0.8125, 2.25, 0.5}, -- NodeBox15 - {0.625, 2, 0.375, 0.75, 2.125, 0.5}, -- NodeBox16 - {0.5625, 1.875, 0.375, 0.6875, 2.0625, 0.5}, -- NodeBox17 - {0.5, 1.75, 0.375, 0.625, 1.9375, 0.5}, -- NodeBox18 - {0.4375, 1.625, 0.375, 0.5625, 1.8125, 0.5}, -- NodeBox19 - {0.375, 1.5, 0.375, 0.5, 1.6875, 0.5}, -- NodeBox20 - {0.3125, 1.375, 0.375, 0.4375, 1.5625, 0.5}, -- NodeBox21 - {0.25, 1.3125, 0.375, 0.375, 1.4375, 0.5}, -- NodeBox22 - {0.1875, 1.1875, 0.375, 0.3125, 1.375, 0.5}, -- NodeBox23 - {0.125, 1.0625, 0.375, 0.25, 1.25, 0.5}, -- NodeBox24 - {0.0625, 0.9375, 0.375, 0.1875, 1.125, 0.5}, -- NodeBox25 - {0, 0.8125, 0.375, 0.125, 1, 0.5}, -- NodeBox26 - {-0.0625, 0.75, 0.375, 0.0625, 0.875, 0.5}, -- NodeBox27 - {-0.125, 0.625, 0.375, -3.35276e-008, 0.8125, 0.5}, -- NodeBox28 - {-0.1875, 0.5, 0.375, -0.0625, 0.6875, 0.5}, -- NodeBox29 - {-0.25, 0.375, 0.375, -0.125, 0.5625, 0.5}, -- NodeBox30 - {-0.3125, 0.25, 0.375, -0.1875, 0.4375, 0.5}, -- NodeBox31 - {-0.375, 0.125, 0.375, -0.25, 0.3125, 0.5}, -- NodeBox32 - {-0.4375, 0.0625, 0.375, -0.3125, 0.1875, 0.5}, -- NodeBox33 + {-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 = { @@ -1347,97 +1346,97 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then sounds = default.node_sound_metal_defaults(), }) - minetest.register_node("bridger:truss_superstructure_up_mid_"..bridge_colors, { - description = bridge_desc.." Truss Superstructure Up Middle", + minetest.register_node("bridger:truss_superstructure_up_mid_" .. bridge_colors, { + description = bridge_desc .. " Truss Superstructure Up Middle", drawtype = "nodebox", - tiles = {"bridges_"..bridge_colors..".png"}, - inventory_image = "bridges_"..bridge_colors..".png^bridges_superstructure_up_mid.png^[makealpha:255,126,126", - wield_image = "bridges_"..bridge_colors..".png^bridges_superstructure_up_mid.png^[makealpha:255,126,126", + tiles = {"bridges_" .. bridge_colors .. ".png"}, + inventory_image = "bridges_" .. bridge_colors .. ".png^bridges_superstructure_up_mid.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_colors .. ".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}, -- NodeBox1 - {1.375, 3.375, 0.375, 1.5, 3.5, 0.5}, -- NodeBox2 - {-0.5, -0.5, 0.375, -0.4375, 2.5, 0.5}, -- NodeBox3 - {1.4375, -0.5, 0.375, 1.5, 3.5, 0.5}, -- NodeBox4 - {1.25, 3.3125, 0.375, 1.375, 3.4375, 0.5}, -- NodeBox34 - {1.125, 3.25, 0.375, 1.25, 3.375, 0.5}, -- NodeBox35 - {1, 3.1875, 0.375, 1.125, 3.3125, 0.5}, -- NodeBox36 - {0.875, 3.125, 0.375, 1, 3.25, 0.5}, -- NodeBox37 - {0.75, 3.0625, 0.375, 0.875, 3.1875, 0.5}, -- NodeBox38 - {0.625, 3, 0.375, 0.75, 3.125, 0.5}, -- NodeBox39 - {0.5, 2.9375, 0.375, 0.625, 3.0625, 0.5}, -- NodeBox40 - {0.375, 2.875, 0.375, 0.5, 3, 0.5}, -- NodeBox41 - {0.25, 2.8125, 0.375, 0.375, 2.9375, 0.5}, -- NodeBox42 - {0.125, 2.75, 0.375, 0.25, 2.875, 0.5}, -- NodeBox43 - {0, 2.6875, 0.375, 0.125, 2.8125, 0.5}, -- NodeBox44 - {-0.125, 2.625, 0.375, -1.2666e-007, 2.75, 0.5}, -- NodeBox45 - {-0.25, 2.5625, 0.375, -0.125, 2.6875, 0.5}, -- NodeBox46 - {-0.375, 2.5, 0.375, -0.25, 2.625, 0.5}, -- NodeBox47 - {-0.5, 2.4375, 0.375, -0.375, 2.5625, 0.5}, -- NodeBox48 - {1.3125, 3.25, 0.375, 1.4375, 3.375, 0.5}, -- NodeBox5 - {1.25, 3.125, 0.375, 1.375, 3.3125, 0.5}, -- NodeBox6 - {1.1875, 3, 0.375, 1.3125, 3.1875, 0.5}, -- NodeBox7 - {1.125, 2.875, 0.375, 1.25, 3.0625, 0.5}, -- NodeBox8 - {1.0625, 2.75, 0.375, 1.1875, 2.9375, 0.5}, -- NodeBox9 - {1, 2.625, 0.375, 1.125, 2.8125, 0.5}, -- NodeBox10 - {0.9375, 2.5625, 0.375, 1.0625, 2.6875, 0.5}, -- NodeBox11 - {0.875, 2.4375, 0.375, 1, 2.625, 0.5}, -- NodeBox12 - {0.8125, 2.3125, 0.375, 0.9375, 2.5, 0.5}, -- NodeBox13 - {0.75, 2.1875, 0.375, 0.875, 2.375, 0.5}, -- NodeBox14 - {0.6875, 2.0625, 0.375, 0.8125, 2.25, 0.5}, -- NodeBox15 - {0.625, 2, 0.375, 0.75, 2.125, 0.5}, -- NodeBox16 - {0.5625, 1.875, 0.375, 0.6875, 2.0625, 0.5}, -- NodeBox17 - {0.5, 1.75, 0.375, 0.625, 1.9375, 0.5}, -- NodeBox18 - {0.4375, 1.625, 0.375, 0.5625, 1.8125, 0.5}, -- NodeBox19 - {0.375, 1.5, 0.375, 0.5, 1.6875, 0.5}, -- NodeBox20 - {0.3125, 1.375, 0.375, 0.4375, 1.5625, 0.5}, -- NodeBox21 - {0.25, 1.3125, 0.375, 0.375, 1.4375, 0.5}, -- NodeBox22 - {0.1875, 1.1875, 0.375, 0.3125, 1.375, 0.5}, -- NodeBox23 - {0.125, 1.0625, 0.375, 0.25, 1.25, 0.5}, -- NodeBox24 - {0.0625, 0.9375, 0.375, 0.1875, 1.125, 0.5}, -- NodeBox25 - {0, 0.8125, 0.375, 0.125, 1, 0.5}, -- NodeBox26 - {-0.0625, 0.75, 0.375, 0.0625, 0.875, 0.5}, -- NodeBox27 - {-0.125, 0.625, 0.375, -3.35276e-008, 0.8125, 0.5}, -- NodeBox28 - {-0.1875, 0.5, 0.375, -0.0625, 0.6875, 0.5}, -- NodeBox29 - {-0.25, 0.375, 0.375, -0.125, 0.5625, 0.5}, -- NodeBox30 - {-0.3125, 0.25, 0.375, -0.1875, 0.4375, 0.5}, -- NodeBox31 - {-0.375, 0.125, 0.375, -0.25, 0.3125, 0.5}, -- NodeBox32 - {-0.4375, 0.0625, 0.375, -0.3125, 0.1875, 0.5}, -- NodeBox33 - {-0.4375, 2.25, 0.375, -0.3125, 2.375, 0.5}, -- NodeBox219 - {-0.375, 2.1875, 0.375, -0.25, 2.3125, 0.5}, -- NodeBox220 - {-0.3125, 2.0625, 0.375, -0.1875, 2.25, 0.5}, -- NodeBox221 - {-0.25, 2, 0.375, -0.125, 2.125, 0.5}, -- NodeBox222 - {-0.1875, 1.9375, 0.375, -0.0625, 2.0625, 0.5}, -- NodeBox223 - {-0.125, 1.875, 0.375, 0, 2, 0.5}, -- NodeBox224 - {-0.0625, 1.75, 0.375, 0.0625, 1.9375, 0.5}, -- NodeBox225 - {0, 1.6875, 0.375, 0.125, 1.8125, 0.5}, -- NodeBox226 - {0.0625, 1.625, 0.375, 0.1875, 1.75, 0.5}, -- NodeBox227 - {0.125, 1.5625, 0.375, 0.25, 1.6875, 0.5}, -- NodeBox228 - {0.1875, 1.4375, 0.375, 0.3125, 1.625, 0.5}, -- NodeBox229 - {0.25, 1.375, 0.375, 0.375, 1.5, 0.5}, -- NodeBox230 - {0.3125, 1.3125, 0.375, 0.4375, 1.4375, 0.5}, -- NodeBox231 - {0.375, 1.25, 0.375, 0.5, 1.375, 0.5}, -- NodeBox232 - {0.4375, 1.125, 0.375, 0.5625, 1.3125, 0.5}, -- NodeBox233 - {0.5, 1.0625, 0.375, 0.625, 1.1875, 0.5}, -- NodeBox234 - {0.5625, 1, 0.375, 0.6875, 1.125, 0.5}, -- NodeBox235 - {0.625, 0.9375, 0.375, 0.75, 1.0625, 0.5}, -- NodeBox236 - {0.6875, 0.8125, 0.375, 0.8125, 1, 0.5}, -- NodeBox237 - {0.75, 0.75, 0.375, 0.875, 0.875, 0.5}, -- NodeBox238 - {0.8125, 0.6875, 0.375, 0.9375, 0.8125, 0.5}, -- NodeBox239 - {0.875, 0.625, 0.375, 1, 0.75, 0.5}, -- NodeBox240 - {0.9375, 0.5, 0.375, 1.0625, 0.6875, 0.5}, -- NodeBox241 - {1, 0.4375, 0.375, 1.125, 0.5625, 0.5}, -- NodeBox242 - {1.0625, 0.375, 0.375, 1.1875, 0.5, 0.5}, -- NodeBox243 - {1.125, 0.3125, 0.375, 1.25, 0.4375, 0.5}, -- NodeBox244 - {1.1875, 0.1875, 0.375, 1.3125, 0.375, 0.5}, -- NodeBox245 - {1.25, 0.125, 0.375, 1.375, 0.25, 0.5}, -- NodeBox246 - {1.3125, 0.0625, 0.375, 1.4375, 0.1875, 0.5}, -- NodeBox247 - {1.375, 0, 0.375, 1.5, 0.125, 0.5}, -- NodeBox248 - {-0.4375, 2.3125, 0.375, -0.3125, 2.4375, 0.5}, -- NodeBox249 + {-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 = { @@ -1456,95 +1455,95 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then sounds = default.node_sound_metal_defaults(), }) - minetest.register_node("bridger:truss_superstructure_up_simple_"..bridge_colors, { - description = bridge_desc.." Truss Superstructure Up Simple", + minetest.register_node("bridger:truss_superstructure_up_simple_" .. bridge_colors, { + description = bridge_desc .. " Truss Superstructure Up Simple", drawtype = "nodebox", - tiles = {"bridges_"..bridge_colors..".png"}, - inventory_image = "bridges_"..bridge_colors..".png^bridges_superstructure_up_simple.png^[makealpha:255,126,126", - wield_image = "bridges_"..bridge_colors..".png^bridges_superstructure_up_simple.png^[makealpha:255,126,126", + tiles = {"bridges_" .. bridge_colors .. ".png"}, + inventory_image = "bridges_" .. bridge_colors .. ".png^bridges_superstructure_up_simple.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_colors .. ".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}, -- NodeBox1 - {1.375, 3.375, 0.375, 1.5, 3.5, 0.5}, -- NodeBox2 - {1.25, 3.3125, 0.375, 1.375, 3.4375, 0.5}, -- NodeBox34 - {1.125, 3.25, 0.375, 1.25, 3.375, 0.5}, -- NodeBox35 - {1, 3.1875, 0.375, 1.125, 3.3125, 0.5}, -- NodeBox36 - {0.875, 3.125, 0.375, 1, 3.25, 0.5}, -- NodeBox37 - {0.75, 3.0625, 0.375, 0.875, 3.1875, 0.5}, -- NodeBox38 - {0.625, 3, 0.375, 0.75, 3.125, 0.5}, -- NodeBox39 - {0.5, 2.9375, 0.375, 0.625, 3.0625, 0.5}, -- NodeBox40 - {0.375, 2.875, 0.375, 0.5, 3, 0.5}, -- NodeBox41 - {0.25, 2.8125, 0.375, 0.375, 2.9375, 0.5}, -- NodeBox42 - {0.125, 2.75, 0.375, 0.25, 2.875, 0.5}, -- NodeBox43 - {0, 2.6875, 0.375, 0.125, 2.8125, 0.5}, -- NodeBox44 - {-0.125, 2.625, 0.375, -1.2666e-007, 2.75, 0.5}, -- NodeBox45 - {-0.25, 2.5625, 0.375, -0.125, 2.6875, 0.5}, -- NodeBox46 - {-0.375, 2.5, 0.375, -0.25, 2.625, 0.5}, -- NodeBox47 - {-0.5, 2.4375, 0.375, -0.375, 2.5625, 0.5}, -- NodeBox48 - {1.3125, 3.25, 0.375, 1.4375, 3.375, 0.5}, -- NodeBox5 - {1.25, 3.125, 0.375, 1.375, 3.3125, 0.5}, -- NodeBox6 - {1.1875, 3, 0.375, 1.3125, 3.1875, 0.5}, -- NodeBox7 - {1.125, 2.875, 0.375, 1.25, 3.0625, 0.5}, -- NodeBox8 - {1.0625, 2.75, 0.375, 1.1875, 2.9375, 0.5}, -- NodeBox9 - {1, 2.625, 0.375, 1.125, 2.8125, 0.5}, -- NodeBox10 - {0.9375, 2.5625, 0.375, 1.0625, 2.6875, 0.5}, -- NodeBox11 - {0.875, 2.4375, 0.375, 1, 2.625, 0.5}, -- NodeBox12 - {0.8125, 2.3125, 0.375, 0.9375, 2.5, 0.5}, -- NodeBox13 - {0.75, 2.1875, 0.375, 0.875, 2.375, 0.5}, -- NodeBox14 - {0.6875, 2.0625, 0.375, 0.8125, 2.25, 0.5}, -- NodeBox15 - {0.625, 2, 0.375, 0.75, 2.125, 0.5}, -- NodeBox16 - {0.5625, 1.875, 0.375, 0.6875, 2.0625, 0.5}, -- NodeBox17 - {0.5, 1.75, 0.375, 0.625, 1.9375, 0.5}, -- NodeBox18 - {0.4375, 1.625, 0.375, 0.5625, 1.8125, 0.5}, -- NodeBox19 - {0.375, 1.5, 0.375, 0.5, 1.6875, 0.5}, -- NodeBox20 - {0.3125, 1.375, 0.375, 0.4375, 1.5625, 0.5}, -- NodeBox21 - {0.25, 1.3125, 0.375, 0.375, 1.4375, 0.5}, -- NodeBox22 - {0.1875, 1.1875, 0.375, 0.3125, 1.375, 0.5}, -- NodeBox23 - {0.125, 1.0625, 0.375, 0.25, 1.25, 0.5}, -- NodeBox24 - {0.0625, 0.9375, 0.375, 0.1875, 1.125, 0.5}, -- NodeBox25 - {0, 0.8125, 0.375, 0.125, 1, 0.5}, -- NodeBox26 - {-0.0625, 0.75, 0.375, 0.0625, 0.875, 0.5}, -- NodeBox27 - {-0.125, 0.625, 0.375, -3.35276e-008, 0.8125, 0.5}, -- NodeBox28 - {-0.1875, 0.5, 0.375, -0.0625, 0.6875, 0.5}, -- NodeBox29 - {-0.25, 0.375, 0.375, -0.125, 0.5625, 0.5}, -- NodeBox30 - {-0.3125, 0.25, 0.375, -0.1875, 0.4375, 0.5}, -- NodeBox31 - {-0.375, 0.125, 0.375, -0.25, 0.3125, 0.5}, -- NodeBox32 - {-0.4375, 0.0625, 0.375, -0.3125, 0.1875, 0.5}, -- NodeBox33 - {-0.4375, 2.25, 0.375, -0.3125, 2.375, 0.5}, -- NodeBox219 - {-0.375, 2.1875, 0.375, -0.25, 2.3125, 0.5}, -- NodeBox220 - {-0.3125, 2.0625, 0.375, -0.1875, 2.25, 0.5}, -- NodeBox221 - {-0.25, 2, 0.375, -0.125, 2.125, 0.5}, -- NodeBox222 - {-0.1875, 1.9375, 0.375, -0.0625, 2.0625, 0.5}, -- NodeBox223 - {-0.125, 1.875, 0.375, 0, 2, 0.5}, -- NodeBox224 - {-0.0625, 1.75, 0.375, 0.0625, 1.9375, 0.5}, -- NodeBox225 - {0, 1.6875, 0.375, 0.125, 1.8125, 0.5}, -- NodeBox226 - {0.0625, 1.625, 0.375, 0.1875, 1.75, 0.5}, -- NodeBox227 - {0.125, 1.5625, 0.375, 0.25, 1.6875, 0.5}, -- NodeBox228 - {0.1875, 1.4375, 0.375, 0.3125, 1.625, 0.5}, -- NodeBox229 - {0.25, 1.375, 0.375, 0.375, 1.5, 0.5}, -- NodeBox230 - {0.3125, 1.3125, 0.375, 0.4375, 1.4375, 0.5}, -- NodeBox231 - {0.375, 1.25, 0.375, 0.5, 1.375, 0.5}, -- NodeBox232 - {0.4375, 1.125, 0.375, 0.5625, 1.3125, 0.5}, -- NodeBox233 - {0.5, 1.0625, 0.375, 0.625, 1.1875, 0.5}, -- NodeBox234 - {0.5625, 1, 0.375, 0.6875, 1.125, 0.5}, -- NodeBox235 - {0.625, 0.9375, 0.375, 0.75, 1.0625, 0.5}, -- NodeBox236 - {0.6875, 0.8125, 0.375, 0.8125, 1, 0.5}, -- NodeBox237 - {0.75, 0.75, 0.375, 0.875, 0.875, 0.5}, -- NodeBox238 - {0.8125, 0.6875, 0.375, 0.9375, 0.8125, 0.5}, -- NodeBox239 - {0.875, 0.625, 0.375, 1, 0.75, 0.5}, -- NodeBox240 - {0.9375, 0.5, 0.375, 1.0625, 0.6875, 0.5}, -- NodeBox241 - {1, 0.4375, 0.375, 1.125, 0.5625, 0.5}, -- NodeBox242 - {1.0625, 0.375, 0.375, 1.1875, 0.5, 0.5}, -- NodeBox243 - {1.125, 0.3125, 0.375, 1.25, 0.4375, 0.5}, -- NodeBox244 - {1.1875, 0.1875, 0.375, 1.3125, 0.375, 0.5}, -- NodeBox245 - {1.25, 0.125, 0.375, 1.375, 0.25, 0.5}, -- NodeBox246 - {1.3125, 0.0625, 0.375, 1.4375, 0.1875, 0.5}, -- NodeBox247 - {1.375, 0, 0.375, 1.5, 0.125, 0.5}, -- NodeBox248 - {-0.4375, 2.3125, 0.375, -0.3125, 2.4375, 0.5}, -- NodeBox249 + {-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 = { @@ -1563,66 +1562,66 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then sounds = default.node_sound_metal_defaults(), }) - minetest.register_node("bridger:truss_superstructure_down_right_slant_"..bridge_colors, { - description = bridge_desc.." Truss Superstructure Down Right Slant", + minetest.register_node("bridger:truss_superstructure_down_right_slant_" .. bridge_colors, { + description = bridge_desc .. " Truss Superstructure Down Right Slant", drawtype = "nodebox", - tiles = {"bridges_"..bridge_colors..".png"}, - inventory_image = "bridges_"..bridge_colors..".png^bridges_superstructure_down_right_slant.png^[makealpha:255,126,126", - wield_image = "bridges_"..bridge_colors..".png^bridges_superstructure_down_right_slant.png^[makealpha:255,126,126", + tiles = {"bridges_" .. bridge_colors .. ".png"}, + inventory_image = "bridges_" .. bridge_colors .. ".png^bridges_superstructure_down_right_slant.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_colors .. ".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}, -- NodeBox1 - {1.375, 2.4375, 0.375, 1.5, 2.5625, 0.5}, -- NodeBox2 - {-0.5, -0.5, 0.375, -0.4375, 3.5, 0.5}, -- NodeBox3 - {1.4375, -0.5, 0.375, 1.5, 2.5, 0.5}, -- NodeBox4 - {1.25, 2.5, 0.375, 1.375, 2.625, 0.5}, -- NodeBox34 - {1.125, 2.5625, 0.375, 1.25, 2.6875, 0.5}, -- NodeBox35 - {1, 2.625, 0.375, 1.125, 2.75, 0.5}, -- NodeBox36 - {0.875, 2.6875, 0.375, 1, 2.8125, 0.5}, -- NodeBox37 - {0.75, 2.75, 0.375, 0.875, 2.875, 0.5}, -- NodeBox38 - {0.625, 2.8125, 0.375, 0.75, 2.9375, 0.5}, -- NodeBox39 - {0.5, 2.875, 0.375, 0.625, 3, 0.5}, -- NodeBox40 - {0.375, 2.9375, 0.375, 0.5, 3.0625, 0.5}, -- NodeBox41 - {0.25, 3, 0.375, 0.375, 3.125, 0.5}, -- NodeBox42 - {0.125, 3.0625, 0.375, 0.25, 3.1875, 0.5}, -- NodeBox43 - {0, 3.125, 0.375, 0.125, 3.25, 0.5}, -- NodeBox44 - {-0.125, 3.1875, 0.375, -1.2666e-007, 3.3125, 0.5}, -- NodeBox45 - {-0.25, 3.25, 0.375, -0.125, 3.375, 0.5}, -- NodeBox46 - {-0.375, 3.3125, 0.375, -0.25, 3.4375, 0.5}, -- NodeBox47 - {-0.5, 3.375, 0.375, -0.375, 3.5, 0.5}, -- NodeBox48 - {-0.4375, 3.25, 0.375, -0.3125, 3.375, 0.5}, -- NodeBox5 - {-0.375, 3.125, 0.375, -0.25, 3.3125, 0.5}, -- NodeBox6 - {-0.3125, 3, 0.375, -0.1875, 3.1875, 0.5}, -- NodeBox7 - {-0.25, 2.875, 0.375, -0.125, 3.0625, 0.5}, -- NodeBox8 - {-0.1875, 2.75, 0.375, -0.0625, 2.9375, 0.5}, -- NodeBox9 - {-0.125, 2.625, 0.375, 1.11759e-008, 2.8125, 0.5}, -- NodeBox10 - {-0.0625, 2.5625, 0.375, 0.0625, 2.6875, 0.5}, -- NodeBox11 - {0, 2.4375, 0.375, 0.125, 2.625, 0.5}, -- NodeBox12 - {0.0625, 2.3125, 0.375, 0.1875, 2.5, 0.5}, -- NodeBox13 - {0.125, 2.1875, 0.375, 0.25, 2.375, 0.5}, -- NodeBox14 - {0.1875, 2.0625, 0.375, 0.3125, 2.25, 0.5}, -- NodeBox15 - {0.25, 2, 0.375, 0.375, 2.125, 0.5}, -- NodeBox16 - {0.3125, 1.875, 0.375, 0.4375, 2.0625, 0.5}, -- NodeBox17 - {0.375, 1.75, 0.375, 0.5, 1.9375, 0.5}, -- NodeBox18 - {0.4375, 1.625, 0.375, 0.5625, 1.8125, 0.5}, -- NodeBox19 - {0.5, 1.5, 0.375, 0.625, 1.6875, 0.5}, -- NodeBox20 - {0.5625, 1.375, 0.375, 0.6875, 1.5625, 0.5}, -- NodeBox21 - {0.625, 1.3125, 0.375, 0.75, 1.4375, 0.5}, -- NodeBox22 - {0.6875, 1.1875, 0.375, 0.8125, 1.375, 0.5}, -- NodeBox23 - {0.75, 1.0625, 0.375, 0.875, 1.25, 0.5}, -- NodeBox24 - {0.8125, 0.9375, 0.375, 0.9375, 1.125, 0.5}, -- NodeBox25 - {0.875, 0.8125, 0.375, 1, 1, 0.5}, -- NodeBox26 - {0.9375, 0.75, 0.375, 1.0625, 0.875, 0.5}, -- NodeBox27 - {1, 0.625, 0.375, 1.125, 0.8125, 0.5}, -- NodeBox28 - {1.0625, 0.5, 0.375, 1.1875, 0.6875, 0.5}, -- NodeBox29 - {1.125, 0.375, 0.375, 1.25, 0.5625, 0.5}, -- NodeBox30 - {1.1875, 0.25, 0.375, 1.3125, 0.4375, 0.5}, -- NodeBox31 - {1.25, 0.125, 0.375, 1.375, 0.3125, 0.5}, -- NodeBox32 - {1.3125, 0.0625, 0.375, 1.4375, 0.1875, 0.5}, -- NodeBox33 + {-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 = { @@ -1641,68 +1640,68 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then sounds = default.node_sound_metal_defaults(), }) - minetest.register_node("bridger:truss_superstructure_down_left_slant_"..bridge_colors, { - description = bridge_desc.." Truss Superstructure Down Left Slant", + minetest.register_node("bridger:truss_superstructure_down_left_slant_" .. bridge_colors, { + description = bridge_desc .. " Truss Superstructure Down Left Slant", drawtype = "nodebox", - tiles = {"bridges_"..bridge_colors..".png"}, - inventory_image = "bridges_"..bridge_colors..".png^bridges_superstructure_down_left_slant.png^[makealpha:255,126,126", - wield_image = "bridges_"..bridge_colors..".png^bridges_superstructure_down_left_slant.png^[makealpha:255,126,126", + tiles = {"bridges_" .. bridge_colors .. ".png"}, + inventory_image = "bridges_" .. bridge_colors .. ".png^bridges_superstructure_down_left_slant.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_colors .. ".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}, -- NodeBox1 - {1.375, 2.4375, 0.375, 1.5, 2.5625, 0.5}, -- NodeBox2 - {-0.5, -0.5, 0.375, -0.4375, 3.5, 0.5}, -- NodeBox3 - {1.4375, -0.5, 0.375, 1.5, 2.5, 0.5}, -- NodeBox4 - {1.25, 2.5, 0.375, 1.375, 2.625, 0.5}, -- NodeBox34 - {1.125, 2.5625, 0.375, 1.25, 2.6875, 0.5}, -- NodeBox35 - {1, 2.625, 0.375, 1.125, 2.75, 0.5}, -- NodeBox36 - {0.875, 2.6875, 0.375, 1, 2.8125, 0.5}, -- NodeBox37 - {0.75, 2.75, 0.375, 0.875, 2.875, 0.5}, -- NodeBox38 - {0.625, 2.8125, 0.375, 0.75, 2.9375, 0.5}, -- NodeBox39 - {0.5, 2.875, 0.375, 0.625, 3, 0.5}, -- NodeBox40 - {0.375, 2.9375, 0.375, 0.5, 3.0625, 0.5}, -- NodeBox41 - {0.25, 3, 0.375, 0.375, 3.125, 0.5}, -- NodeBox42 - {0.125, 3.0625, 0.375, 0.25, 3.1875, 0.5}, -- NodeBox43 - {0, 3.125, 0.375, 0.125, 3.25, 0.5}, -- NodeBox44 - {-0.125, 3.1875, 0.375, -1.2666e-007, 3.3125, 0.5}, -- NodeBox45 - {-0.25, 3.25, 0.375, -0.125, 3.375, 0.5}, -- NodeBox46 - {-0.375, 3.3125, 0.375, -0.25, 3.4375, 0.5}, -- NodeBox47 - {-0.5, 3.375, 0.375, -0.375, 3.5, 0.5}, -- NodeBox48 - {1.3125, 2.25, 0.375, 1.4375, 2.375, 0.5}, -- NodeBox219 - {1.25, 2.1875, 0.375, 1.375, 2.3125, 0.5}, -- NodeBox220 - {1.1875, 2.0625, 0.375, 1.3125, 2.25, 0.5}, -- NodeBox221 - {1.125, 2, 0.375, 1.25, 2.125, 0.5}, -- NodeBox222 - {1.0625, 1.9375, 0.375, 1.1875, 2.0625, 0.5}, -- NodeBox223 - {1, 1.875, 0.375, 1.125, 2, 0.5}, -- NodeBox224 - {0.9375, 1.75, 0.375, 1.0625, 1.9375, 0.5}, -- NodeBox225 - {0.875, 1.6875, 0.375, 1, 1.8125, 0.5}, -- NodeBox226 - {0.8125, 1.625, 0.375, 0.9375, 1.75, 0.5}, -- NodeBox227 - {0.75, 1.5625, 0.375, 0.875, 1.6875, 0.5}, -- NodeBox228 - {0.6875, 1.4375, 0.375, 0.8125, 1.625, 0.5}, -- NodeBox229 - {0.625, 1.375, 0.375, 0.75, 1.5, 0.5}, -- NodeBox230 - {0.5625, 1.3125, 0.375, 0.6875, 1.4375, 0.5}, -- NodeBox231 - {0.5, 1.25, 0.375, 0.625, 1.375, 0.5}, -- NodeBox232 - {0.4375, 1.125, 0.375, 0.5625, 1.3125, 0.5}, -- NodeBox233 - {0.375, 1.0625, 0.375, 0.5, 1.1875, 0.5}, -- NodeBox234 - {0.3125, 1, 0.375, 0.4375, 1.125, 0.5}, -- NodeBox235 - {0.25, 0.9375, 0.375, 0.375, 1.0625, 0.5}, -- NodeBox236 - {0.1875, 0.8125, 0.375, 0.3125, 1, 0.5}, -- NodeBox237 - {0.125, 0.75, 0.375, 0.25, 0.875, 0.5}, -- NodeBox238 - {0.0625, 0.6875, 0.375, 0.1875, 0.8125, 0.5}, -- NodeBox239 - {0, 0.625, 0.375, 0.125, 0.75, 0.5}, -- NodeBox240 - {-0.0625, 0.5, 0.375, 0.0625, 0.6875, 0.5}, -- NodeBox241 - {-0.125, 0.4375, 0.375, 0, 0.5625, 0.5}, -- NodeBox242 - {-0.1875, 0.375, 0.375, -0.0625, 0.5, 0.5}, -- NodeBox243 - {-0.25, 0.3125, 0.375, -0.125, 0.4375, 0.5}, -- NodeBox244 - {-0.3125, 0.1875, 0.375, -0.1875, 0.375, 0.5}, -- NodeBox245 - {-0.375, 0.125, 0.375, -0.25, 0.25, 0.5}, -- NodeBox246 - {-0.4375, 0.0625, 0.375, -0.3125, 0.1875, 0.5}, -- NodeBox247 - {-0.5, 0, 0.375, -0.375, 0.125, 0.5}, -- NodeBox248 - {1.375, 2.3125, 0.375, 1.5, 2.4375, 0.5}, -- NodeBox249 + {-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 = { @@ -1721,97 +1720,97 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then sounds = default.node_sound_metal_defaults(), }) - minetest.register_node("bridger:truss_superstructure_down_mid_"..bridge_colors, { - description = bridge_desc.." Truss Superstructure Down Middle", + minetest.register_node("bridger:truss_superstructure_down_mid_" .. bridge_colors, { + description = bridge_desc .. " Truss Superstructure Down Middle", drawtype = "nodebox", - tiles = {"bridges_"..bridge_colors..".png"}, - inventory_image = "bridges_"..bridge_colors..".png^bridges_superstructure_down_mid.png^[makealpha:255,126,126", - wield_image = "bridges_"..bridge_colors..".png^bridges_superstructure_down_mid.png^[makealpha:255,126,126", + tiles = {"bridges_" .. bridge_colors .. ".png"}, + inventory_image = "bridges_" .. bridge_colors .. ".png^bridges_superstructure_down_mid.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_colors .. ".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}, -- NodeBox1 - {1.375, 2.4375, 0.375, 1.5, 2.5625, 0.5}, -- NodeBox2 - {-0.5, -0.5, 0.375, -0.4375, 3.5, 0.5}, -- NodeBox3 - {1.4375, -0.5, 0.375, 1.5, 2.5, 0.5}, -- NodeBox4 - {1.25, 2.5, 0.375, 1.375, 2.625, 0.5}, -- NodeBox34 - {1.125, 2.5625, 0.375, 1.25, 2.6875, 0.5}, -- NodeBox35 - {1, 2.625, 0.375, 1.125, 2.75, 0.5}, -- NodeBox36 - {0.875, 2.6875, 0.375, 1, 2.8125, 0.5}, -- NodeBox37 - {0.75, 2.75, 0.375, 0.875, 2.875, 0.5}, -- NodeBox38 - {0.625, 2.8125, 0.375, 0.75, 2.9375, 0.5}, -- NodeBox39 - {0.5, 2.875, 0.375, 0.625, 3, 0.5}, -- NodeBox40 - {0.375, 2.9375, 0.375, 0.5, 3.0625, 0.5}, -- NodeBox41 - {0.25, 3, 0.375, 0.375, 3.125, 0.5}, -- NodeBox42 - {0.125, 3.0625, 0.375, 0.25, 3.1875, 0.5}, -- NodeBox43 - {0, 3.125, 0.375, 0.125, 3.25, 0.5}, -- NodeBox44 - {-0.125, 3.1875, 0.375, -1.2666e-007, 3.3125, 0.5}, -- NodeBox45 - {-0.25, 3.25, 0.375, -0.125, 3.375, 0.5}, -- NodeBox46 - {-0.375, 3.3125, 0.375, -0.25, 3.4375, 0.5}, -- NodeBox47 - {-0.5, 3.375, 0.375, -0.375, 3.5, 0.5}, -- NodeBox48 - {1.3125, 2.25, 0.375, 1.4375, 2.375, 0.5}, -- NodeBox219 - {1.25, 2.1875, 0.375, 1.375, 2.3125, 0.5}, -- NodeBox220 - {1.1875, 2.0625, 0.375, 1.3125, 2.25, 0.5}, -- NodeBox221 - {1.125, 2, 0.375, 1.25, 2.125, 0.5}, -- NodeBox222 - {1.0625, 1.9375, 0.375, 1.1875, 2.0625, 0.5}, -- NodeBox223 - {1, 1.875, 0.375, 1.125, 2, 0.5}, -- NodeBox224 - {0.9375, 1.75, 0.375, 1.0625, 1.9375, 0.5}, -- NodeBox225 - {0.875, 1.6875, 0.375, 1, 1.8125, 0.5}, -- NodeBox226 - {0.8125, 1.625, 0.375, 0.9375, 1.75, 0.5}, -- NodeBox227 - {0.75, 1.5625, 0.375, 0.875, 1.6875, 0.5}, -- NodeBox228 - {0.6875, 1.4375, 0.375, 0.8125, 1.625, 0.5}, -- NodeBox229 - {0.625, 1.375, 0.375, 0.75, 1.5, 0.5}, -- NodeBox230 - {0.5625, 1.3125, 0.375, 0.6875, 1.4375, 0.5}, -- NodeBox231 - {0.5, 1.25, 0.375, 0.625, 1.375, 0.5}, -- NodeBox232 - {0.4375, 1.125, 0.375, 0.5625, 1.3125, 0.5}, -- NodeBox233 - {0.375, 1.0625, 0.375, 0.5, 1.1875, 0.5}, -- NodeBox234 - {0.3125, 1, 0.375, 0.4375, 1.125, 0.5}, -- NodeBox235 - {0.25, 0.9375, 0.375, 0.375, 1.0625, 0.5}, -- NodeBox236 - {0.1875, 0.8125, 0.375, 0.3125, 1, 0.5}, -- NodeBox237 - {0.125, 0.75, 0.375, 0.25, 0.875, 0.5}, -- NodeBox238 - {0.0625, 0.6875, 0.375, 0.1875, 0.8125, 0.5}, -- NodeBox239 - {0, 0.625, 0.375, 0.125, 0.75, 0.5}, -- NodeBox240 - {-0.0625, 0.5, 0.375, 0.0625, 0.6875, 0.5}, -- NodeBox241 - {-0.125, 0.4375, 0.375, 0, 0.5625, 0.5}, -- NodeBox242 - {-0.1875, 0.375, 0.375, -0.0625, 0.5, 0.5}, -- NodeBox243 - {-0.25, 0.3125, 0.375, -0.125, 0.4375, 0.5}, -- NodeBox244 - {-0.3125, 0.1875, 0.375, -0.1875, 0.375, 0.5}, -- NodeBox245 - {-0.375, 0.125, 0.375, -0.25, 0.25, 0.5}, -- NodeBox246 - {-0.4375, 0.0625, 0.375, -0.3125, 0.1875, 0.5}, -- NodeBox247 - {-0.5, 0, 0.375, -0.375, 0.125, 0.5}, -- NodeBox248 - {1.375, 2.3125, 0.375, 1.5, 2.4375, 0.5}, -- NodeBox249 - {-0.4375, 3.25, 0.375, -0.3125, 3.375, 0.5}, -- NodeBox5 - {-0.375, 3.125, 0.375, -0.25, 3.3125, 0.5}, -- NodeBox6 - {-0.3125, 3, 0.375, -0.1875, 3.1875, 0.5}, -- NodeBox7 - {-0.25, 2.875, 0.375, -0.125, 3.0625, 0.5}, -- NodeBox8 - {-0.1875, 2.75, 0.375, -0.0625, 2.9375, 0.5}, -- NodeBox9 - {-0.125, 2.625, 0.375, 1.11759e-008, 2.8125, 0.5}, -- NodeBox10 - {-0.0625, 2.5625, 0.375, 0.0625, 2.6875, 0.5}, -- NodeBox11 - {0, 2.4375, 0.375, 0.125, 2.625, 0.5}, -- NodeBox12 - {0.0625, 2.3125, 0.375, 0.1875, 2.5, 0.5}, -- NodeBox13 - {0.125, 2.1875, 0.375, 0.25, 2.375, 0.5}, -- NodeBox14 - {0.1875, 2.0625, 0.375, 0.3125, 2.25, 0.5}, -- NodeBox15 - {0.25, 2, 0.375, 0.375, 2.125, 0.5}, -- NodeBox16 - {0.3125, 1.875, 0.375, 0.4375, 2.0625, 0.5}, -- NodeBox17 - {0.375, 1.75, 0.375, 0.5, 1.9375, 0.5}, -- NodeBox18 - {0.4375, 1.625, 0.375, 0.5625, 1.8125, 0.5}, -- NodeBox19 - {0.5, 1.5, 0.375, 0.625, 1.6875, 0.5}, -- NodeBox20 - {0.5625, 1.375, 0.375, 0.6875, 1.5625, 0.5}, -- NodeBox21 - {0.625, 1.3125, 0.375, 0.75, 1.4375, 0.5}, -- NodeBox22 - {0.6875, 1.1875, 0.375, 0.8125, 1.375, 0.5}, -- NodeBox23 - {0.75, 1.0625, 0.375, 0.875, 1.25, 0.5}, -- NodeBox24 - {0.8125, 0.9375, 0.375, 0.9375, 1.125, 0.5}, -- NodeBox25 - {0.875, 0.8125, 0.375, 1, 1, 0.5}, -- NodeBox26 - {0.9375, 0.75, 0.375, 1.0625, 0.875, 0.5}, -- NodeBox27 - {1, 0.625, 0.375, 1.125, 0.8125, 0.5}, -- NodeBox28 - {1.0625, 0.5, 0.375, 1.1875, 0.6875, 0.5}, -- NodeBox29 - {1.125, 0.375, 0.375, 1.25, 0.5625, 0.5}, -- NodeBox30 - {1.1875, 0.25, 0.375, 1.3125, 0.4375, 0.5}, -- NodeBox31 - {1.25, 0.125, 0.375, 1.375, 0.3125, 0.5}, -- NodeBox32 - {1.3125, 0.0625, 0.375, 1.4375, 0.1875, 0.5}, -- NodeBox33 + {-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 = { @@ -1830,95 +1829,95 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then sounds = default.node_sound_metal_defaults(), }) - minetest.register_node("bridger:truss_superstructure_down_simple_"..bridge_colors, { - description = bridge_desc.." Truss Superstructure Down Simple", + minetest.register_node("bridger:truss_superstructure_down_simple_" .. bridge_colors, { + description = bridge_desc .. " Truss Superstructure Down Simple", drawtype = "nodebox", - tiles = {"bridges_"..bridge_colors..".png"}, - inventory_image = "bridges_"..bridge_colors..".png^bridges_superstructure_down_simple.png^[makealpha:255,126,126", - wield_image = "bridges_"..bridge_colors..".png^bridges_superstructure_down_simple.png^[makealpha:255,126,126", + tiles = {"bridges_" .. bridge_colors .. ".png"}, + inventory_image = "bridges_" .. bridge_colors .. ".png^bridges_superstructure_down_simple.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_colors .. ".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}, -- NodeBox1 - {1.375, 2.4375, 0.375, 1.5, 2.5625, 0.5}, -- NodeBox2 - {1.25, 2.5, 0.375, 1.375, 2.625, 0.5}, -- NodeBox34 - {1.125, 2.5625, 0.375, 1.25, 2.6875, 0.5}, -- NodeBox35 - {1, 2.625, 0.375, 1.125, 2.75, 0.5}, -- NodeBox36 - {0.875, 2.6875, 0.375, 1, 2.8125, 0.5}, -- NodeBox37 - {0.75, 2.75, 0.375, 0.875, 2.875, 0.5}, -- NodeBox38 - {0.625, 2.8125, 0.375, 0.75, 2.9375, 0.5}, -- NodeBox39 - {0.5, 2.875, 0.375, 0.625, 3, 0.5}, -- NodeBox40 - {0.375, 2.9375, 0.375, 0.5, 3.0625, 0.5}, -- NodeBox41 - {0.25, 3, 0.375, 0.375, 3.125, 0.5}, -- NodeBox42 - {0.125, 3.0625, 0.375, 0.25, 3.1875, 0.5}, -- NodeBox43 - {0, 3.125, 0.375, 0.125, 3.25, 0.5}, -- NodeBox44 - {-0.125, 3.1875, 0.375, -1.2666e-007, 3.3125, 0.5}, -- NodeBox45 - {-0.25, 3.25, 0.375, -0.125, 3.375, 0.5}, -- NodeBox46 - {-0.375, 3.3125, 0.375, -0.25, 3.4375, 0.5}, -- NodeBox47 - {-0.5, 3.375, 0.375, -0.375, 3.5, 0.5}, -- NodeBox48 - {1.3125, 2.25, 0.375, 1.4375, 2.375, 0.5}, -- NodeBox219 - {1.25, 2.1875, 0.375, 1.375, 2.3125, 0.5}, -- NodeBox220 - {1.1875, 2.0625, 0.375, 1.3125, 2.25, 0.5}, -- NodeBox221 - {1.125, 2, 0.375, 1.25, 2.125, 0.5}, -- NodeBox222 - {1.0625, 1.9375, 0.375, 1.1875, 2.0625, 0.5}, -- NodeBox223 - {1, 1.875, 0.375, 1.125, 2, 0.5}, -- NodeBox224 - {0.9375, 1.75, 0.375, 1.0625, 1.9375, 0.5}, -- NodeBox225 - {0.875, 1.6875, 0.375, 1, 1.8125, 0.5}, -- NodeBox226 - {0.8125, 1.625, 0.375, 0.9375, 1.75, 0.5}, -- NodeBox227 - {0.75, 1.5625, 0.375, 0.875, 1.6875, 0.5}, -- NodeBox228 - {0.6875, 1.4375, 0.375, 0.8125, 1.625, 0.5}, -- NodeBox229 - {0.625, 1.375, 0.375, 0.75, 1.5, 0.5}, -- NodeBox230 - {0.5625, 1.3125, 0.375, 0.6875, 1.4375, 0.5}, -- NodeBox231 - {0.5, 1.25, 0.375, 0.625, 1.375, 0.5}, -- NodeBox232 - {0.4375, 1.125, 0.375, 0.5625, 1.3125, 0.5}, -- NodeBox233 - {0.375, 1.0625, 0.375, 0.5, 1.1875, 0.5}, -- NodeBox234 - {0.3125, 1, 0.375, 0.4375, 1.125, 0.5}, -- NodeBox235 - {0.25, 0.9375, 0.375, 0.375, 1.0625, 0.5}, -- NodeBox236 - {0.1875, 0.8125, 0.375, 0.3125, 1, 0.5}, -- NodeBox237 - {0.125, 0.75, 0.375, 0.25, 0.875, 0.5}, -- NodeBox238 - {0.0625, 0.6875, 0.375, 0.1875, 0.8125, 0.5}, -- NodeBox239 - {0, 0.625, 0.375, 0.125, 0.75, 0.5}, -- NodeBox240 - {-0.0625, 0.5, 0.375, 0.0625, 0.6875, 0.5}, -- NodeBox241 - {-0.125, 0.4375, 0.375, 0, 0.5625, 0.5}, -- NodeBox242 - {-0.1875, 0.375, 0.375, -0.0625, 0.5, 0.5}, -- NodeBox243 - {-0.25, 0.3125, 0.375, -0.125, 0.4375, 0.5}, -- NodeBox244 - {-0.3125, 0.1875, 0.375, -0.1875, 0.375, 0.5}, -- NodeBox245 - {-0.375, 0.125, 0.375, -0.25, 0.25, 0.5}, -- NodeBox246 - {-0.4375, 0.0625, 0.375, -0.3125, 0.1875, 0.5}, -- NodeBox247 - {-0.5, 0, 0.375, -0.375, 0.125, 0.5}, -- NodeBox248 - {1.375, 2.3125, 0.375, 1.5, 2.4375, 0.5}, -- NodeBox249 - {-0.4375, 3.25, 0.375, -0.3125, 3.375, 0.5}, -- NodeBox5 - {-0.375, 3.125, 0.375, -0.25, 3.3125, 0.5}, -- NodeBox6 - {-0.3125, 3, 0.375, -0.1875, 3.1875, 0.5}, -- NodeBox7 - {-0.25, 2.875, 0.375, -0.125, 3.0625, 0.5}, -- NodeBox8 - {-0.1875, 2.75, 0.375, -0.0625, 2.9375, 0.5}, -- NodeBox9 - {-0.125, 2.625, 0.375, 1.11759e-008, 2.8125, 0.5}, -- NodeBox10 - {-0.0625, 2.5625, 0.375, 0.0625, 2.6875, 0.5}, -- NodeBox11 - {0, 2.4375, 0.375, 0.125, 2.625, 0.5}, -- NodeBox12 - {0.0625, 2.3125, 0.375, 0.1875, 2.5, 0.5}, -- NodeBox13 - {0.125, 2.1875, 0.375, 0.25, 2.375, 0.5}, -- NodeBox14 - {0.1875, 2.0625, 0.375, 0.3125, 2.25, 0.5}, -- NodeBox15 - {0.25, 2, 0.375, 0.375, 2.125, 0.5}, -- NodeBox16 - {0.3125, 1.875, 0.375, 0.4375, 2.0625, 0.5}, -- NodeBox17 - {0.375, 1.75, 0.375, 0.5, 1.9375, 0.5}, -- NodeBox18 - {0.4375, 1.625, 0.375, 0.5625, 1.8125, 0.5}, -- NodeBox19 - {0.5, 1.5, 0.375, 0.625, 1.6875, 0.5}, -- NodeBox20 - {0.5625, 1.375, 0.375, 0.6875, 1.5625, 0.5}, -- NodeBox21 - {0.625, 1.3125, 0.375, 0.75, 1.4375, 0.5}, -- NodeBox22 - {0.6875, 1.1875, 0.375, 0.8125, 1.375, 0.5}, -- NodeBox23 - {0.75, 1.0625, 0.375, 0.875, 1.25, 0.5}, -- NodeBox24 - {0.8125, 0.9375, 0.375, 0.9375, 1.125, 0.5}, -- NodeBox25 - {0.875, 0.8125, 0.375, 1, 1, 0.5}, -- NodeBox26 - {0.9375, 0.75, 0.375, 1.0625, 0.875, 0.5}, -- NodeBox27 - {1, 0.625, 0.375, 1.125, 0.8125, 0.5}, -- NodeBox28 - {1.0625, 0.5, 0.375, 1.1875, 0.6875, 0.5}, -- NodeBox29 - {1.125, 0.375, 0.375, 1.25, 0.5625, 0.5}, -- NodeBox30 - {1.1875, 0.25, 0.375, 1.3125, 0.4375, 0.5}, -- NodeBox31 - {1.25, 0.125, 0.375, 1.375, 0.3125, 0.5}, -- NodeBox32 - {1.3125, 0.0625, 0.375, 1.4375, 0.1875, 0.5}, -- NodeBox33 + {-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 = { @@ -1937,50 +1936,50 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then sounds = default.node_sound_metal_defaults(), }) - minetest.register_node("bridger:truss_substructure_end_right_slant_"..bridge_colors, { - description = bridge_desc.." Truss Substructure End Right Slant", + minetest.register_node("bridger:truss_substructure_end_right_slant_" .. bridge_colors, { + description = bridge_desc .. " Truss Substructure End Right Slant", drawtype = "nodebox", - tiles = {"bridges_"..bridge_colors..".png"}, - inventory_image = "bridges_"..bridge_colors..".png^bridges_substructure_end_right_slant.png^[makealpha:255,126,126", - wield_image = "bridges_"..bridge_colors..".png^bridges_substructure_end_right_slant.png^[makealpha:255,126,126", + tiles = {"bridges_" .. bridge_colors .. ".png"}, + inventory_image = "bridges_" .. bridge_colors .. ".png^bridges_substructure_end_right_slant.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_colors .. ".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}, -- NodeBox122 - {-0.4375, 1.3125, 0.375, -0.3125, 1.4375, 0.5}, -- NodeBox126 - {-0.375, 1.25, 0.375, -0.25, 1.375, 0.5}, -- NodeBox127 - {-0.3125, 1.1875, 0.375, -0.1875, 1.3125, 0.5}, -- NodeBox128 - {-0.25, 1.125, 0.375, -0.125, 1.25, 0.5}, -- NodeBox129 - {-0.1875, 1.0625, 0.375, -0.0625, 1.1875, 0.5}, -- NodeBox130 - {-0.125, 1, 0.375, 0, 1.125, 0.5}, -- NodeBox131 - {-0.0625, 0.9375, 0.375, 0.0625, 1.0625, 0.5}, -- NodeBox132 - {0, 0.875, 0.375, 0.125, 1, 0.5}, -- NodeBox133 - {0.0625, 0.8125, 0.375, 0.1875, 0.9375, 0.5}, -- NodeBox134 - {0.125, 0.75, 0.375, 0.25, 0.875, 0.5}, -- NodeBox135 - {0.1875, 0.6875, 0.375, 0.3125, 0.8125, 0.5}, -- NodeBox136 - {0.25, 0.625, 0.375, 0.375, 0.75, 0.5}, -- NodeBox137 - {0.3125, 0.5625, 0.375, 0.4375, 0.6875, 0.5}, -- NodeBox138 - {0.375, 0.5, 0.375, 0.5, 0.625, 0.5}, -- NodeBox139 - {0.4375, 0.4375, 0.375, 0.5625, 0.5625, 0.5}, -- NodeBox140 - {0.5, 0.375, 0.375, 0.625, 0.5, 0.5}, -- NodeBox141 - {0.5625, 0.3125, 0.375, 0.6875, 0.4375, 0.5}, -- NodeBox142 - {0.625, 0.25, 0.375, 0.75, 0.375, 0.5}, -- NodeBox143 - {0.6875, 0.1875, 0.375, 0.8125, 0.3125, 0.5}, -- NodeBox144 - {0.75, 0.125, 0.375, 0.875, 0.25, 0.5}, -- NodeBox145 - {0.8125, 0.0625, 0.375, 0.9375, 0.1875, 0.5}, -- NodeBox146 - {0.875, 0, 0.375, 1, 0.125, 0.5}, -- NodeBox147 - {0.9375, -0.0625, 0.375, 1.0625, 0.0625, 0.5}, -- NodeBox148 - {1, -0.125, 0.375, 1.125, 0, 0.5}, -- NodeBox149 - {1.0625, -0.1875, 0.375, 1.1875, -0.0625, 0.5}, -- NodeBox150 - {1.125, -0.25, 0.375, 1.25, -0.125, 0.5}, -- NodeBox151 - {1.1875, -0.3125, 0.375, 1.3125, -0.1875, 0.5}, -- NodeBox152 - {1.25, -0.375, 0.375, 1.375, -0.25, 0.5}, -- NodeBox153 - {1.3125, -0.4375, 0.375, 1.4375, -0.3125, 0.5}, -- NodeBox154 - {1.375, -0.5, 0.375, 1.5, -0.375, 0.5}, -- NodeBox189 - {1.4375, -0.5, 0.375, 1.5, 1.5, 0.5}, -- NodeBox190 + {-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 = { @@ -1999,50 +1998,50 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then sounds = default.node_sound_metal_defaults(), }) - minetest.register_node("bridger:truss_substructure_end_left_slant_"..bridge_colors, { - description = bridge_desc.." Truss Substructure End Left Slant", + minetest.register_node("bridger:truss_substructure_end_left_slant_" .. bridge_colors, { + description = bridge_desc .. " Truss Substructure End Left Slant", drawtype = "nodebox", - tiles = {"bridges_"..bridge_colors..".png"}, - inventory_image = "bridges_"..bridge_colors..".png^bridges_substructure_end_left_slant.png^[makealpha:255,126,126", - wield_image = "bridges_"..bridge_colors..".png^bridges_substructure_end_left_slant.png^[makealpha:255,126,126", + tiles = {"bridges_" .. bridge_colors .. ".png"}, + inventory_image = "bridges_" .. bridge_colors .. ".png^bridges_substructure_end_left_slant.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_colors .. ".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}, -- NodeBox122 - {1.3125, 1.3125, 0.375, 1.4375, 1.4375, 0.5}, -- NodeBox126 - {1.25, 1.25, 0.375, 1.375, 1.375, 0.5}, -- NodeBox127 - {1.1875, 1.1875, 0.375, 1.3125, 1.3125, 0.5}, -- NodeBox128 - {1.125, 1.125, 0.375, 1.25, 1.25, 0.5}, -- NodeBox129 - {1.0625, 1.0625, 0.375, 1.1875, 1.1875, 0.5}, -- NodeBox130 - {1, 1, 0.375, 1.125, 1.125, 0.5}, -- NodeBox131 - {0.9375, 0.9375, 0.375, 1.0625, 1.0625, 0.5}, -- NodeBox132 - {0.875, 0.875, 0.375, 1, 1, 0.5}, -- NodeBox133 - {0.8125, 0.8125, 0.375, 0.9375, 0.9375, 0.5}, -- NodeBox134 - {0.75, 0.75, 0.375, 0.875, 0.875, 0.5}, -- NodeBox135 - {0.6875, 0.6875, 0.375, 0.8125, 0.8125, 0.5}, -- NodeBox136 - {0.625, 0.625, 0.375, 0.75, 0.75, 0.5}, -- NodeBox137 - {0.5625, 0.5625, 0.375, 0.6875, 0.6875, 0.5}, -- NodeBox138 - {0.5, 0.5, 0.375, 0.625, 0.625, 0.5}, -- NodeBox139 - {0.4375, 0.4375, 0.375, 0.5625, 0.5625, 0.5}, -- NodeBox140 - {0.375, 0.375, 0.375, 0.5, 0.5, 0.5}, -- NodeBox141 - {0.3125, 0.3125, 0.375, 0.4375, 0.4375, 0.5}, -- NodeBox142 - {0.25, 0.25, 0.375, 0.375, 0.375, 0.5}, -- NodeBox143 - {0.1875, 0.1875, 0.375, 0.3125, 0.3125, 0.5}, -- NodeBox144 - {0.125, 0.125, 0.375, 0.25, 0.25, 0.5}, -- NodeBox145 - {0.0625, 0.0625, 0.375, 0.1875, 0.1875, 0.5}, -- NodeBox146 - {0, 0, 0.375, 0.125, 0.125, 0.5}, -- NodeBox147 - {-0.0625, -0.0625, 0.375, 0.0625, 0.0625, 0.5}, -- NodeBox148 - {-0.125, -0.125, 0.375, 0, 0, 0.5}, -- NodeBox149 - {-0.1875, -0.1875, 0.375, -0.0625, -0.0625, 0.5}, -- NodeBox150 - {-0.25, -0.25, 0.375, -0.125, -0.125, 0.5}, -- NodeBox151 - {-0.3125, -0.3125, 0.375, -0.1875, -0.1875, 0.5}, -- NodeBox152 - {-0.375, -0.375, 0.375, -0.25, -0.25, 0.5}, -- NodeBox153 - {-0.4375, -0.4375, 0.375, -0.3125, -0.3125, 0.5}, -- NodeBox154 - {-0.5, -0.5, 0.375, -0.4375, 1.5, 0.5}, -- NodeBox188 - {-0.5, -0.5, 0.375, -0.375, -0.375, 0.5}, -- NodeBox192 + {-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 = { @@ -2061,51 +2060,51 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then sounds = default.node_sound_metal_defaults(), }) - minetest.register_node("bridger:truss_substructure_right_slant_"..bridge_colors, { - description = bridge_desc.." Truss Substructure Right Slant", + minetest.register_node("bridger:truss_substructure_right_slant_" .. bridge_colors, { + description = bridge_desc .. " Truss Substructure Right Slant", drawtype = "nodebox", - tiles = {"bridges_"..bridge_colors..".png"}, - inventory_image = "bridges_"..bridge_colors..".png^bridges_substructure_right_slant.png^[makealpha:255,126,126", - wield_image = "bridges_"..bridge_colors..".png^bridges_substructure_right_slant.png^[makealpha:255,126,126", + tiles = {"bridges_" .. bridge_colors .. ".png"}, + inventory_image = "bridges_" .. bridge_colors .. ".png^bridges_substructure_right_slant.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_colors .. ".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}, -- NodeBox122 - {-0.4375, 1.3125, 0.375, -0.3125, 1.4375, 0.5}, -- NodeBox126 - {-0.375, 1.25, 0.375, -0.25, 1.375, 0.5}, -- NodeBox127 - {-0.3125, 1.1875, 0.375, -0.1875, 1.3125, 0.5}, -- NodeBox128 - {-0.25, 1.125, 0.375, -0.125, 1.25, 0.5}, -- NodeBox129 - {-0.1875, 1.0625, 0.375, -0.0625, 1.1875, 0.5}, -- NodeBox130 - {-0.125, 1, 0.375, 0, 1.125, 0.5}, -- NodeBox131 - {-0.0625, 0.9375, 0.375, 0.0625, 1.0625, 0.5}, -- NodeBox132 - {0, 0.875, 0.375, 0.125, 1, 0.5}, -- NodeBox133 - {0.0625, 0.8125, 0.375, 0.1875, 0.9375, 0.5}, -- NodeBox134 - {0.125, 0.75, 0.375, 0.25, 0.875, 0.5}, -- NodeBox135 - {0.1875, 0.6875, 0.375, 0.3125, 0.8125, 0.5}, -- NodeBox136 - {0.25, 0.625, 0.375, 0.375, 0.75, 0.5}, -- NodeBox137 - {0.3125, 0.5625, 0.375, 0.4375, 0.6875, 0.5}, -- NodeBox138 - {0.375, 0.5, 0.375, 0.5, 0.625, 0.5}, -- NodeBox139 - {0.4375, 0.4375, 0.375, 0.5625, 0.5625, 0.5}, -- NodeBox140 - {0.5, 0.375, 0.375, 0.625, 0.5, 0.5}, -- NodeBox141 - {0.5625, 0.3125, 0.375, 0.6875, 0.4375, 0.5}, -- NodeBox142 - {0.625, 0.25, 0.375, 0.75, 0.375, 0.5}, -- NodeBox143 - {0.6875, 0.1875, 0.375, 0.8125, 0.3125, 0.5}, -- NodeBox144 - {0.75, 0.125, 0.375, 0.875, 0.25, 0.5}, -- NodeBox145 - {0.8125, 0.0625, 0.375, 0.9375, 0.1875, 0.5}, -- NodeBox146 - {0.875, 0, 0.375, 1, 0.125, 0.5}, -- NodeBox147 - {0.9375, -0.0625, 0.375, 1.0625, 0.0625, 0.5}, -- NodeBox148 - {1, -0.125, 0.375, 1.125, 0, 0.5}, -- NodeBox149 - {1.0625, -0.1875, 0.375, 1.1875, -0.0625, 0.5}, -- NodeBox150 - {1.125, -0.25, 0.375, 1.25, -0.125, 0.5}, -- NodeBox151 - {1.1875, -0.3125, 0.375, 1.3125, -0.1875, 0.5}, -- NodeBox152 - {1.25, -0.375, 0.375, 1.375, -0.25, 0.5}, -- NodeBox153 - {1.3125, -0.4375, 0.375, 1.4375, -0.3125, 0.5}, -- NodeBox154 - {-0.5, -0.5, 0.375, -0.4375, 1.5, 0.5}, -- NodeBox188 - {-0.5, -0.5, 0.375, 1.5, -0.375, 0.5}, -- NodeBox189 - {1.4375, -0.5, 0.375, 1.5, 1.5, 0.5}, -- NodeBox190 + {-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 = { @@ -2124,52 +2123,52 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then sounds = default.node_sound_metal_defaults(), }) - minetest.register_node("bridger:truss_substructure_left_slant_"..bridge_colors, { - description = bridge_desc.." Truss Substructure Left Slant", + minetest.register_node("bridger:truss_substructure_left_slant_" .. bridge_colors, { + description = bridge_desc .. " Truss Substructure Left Slant", drawtype = "nodebox", - tiles = {"bridges_"..bridge_colors..".png"}, - inventory_image = "bridges_"..bridge_colors..".png^bridges_substructure_left_slant.png^[makealpha:255,126,126", - wield_image = "bridges_"..bridge_colors..".png^bridges_substructure_left_slant.png^[makealpha:255,126,126", + tiles = {"bridges_" .. bridge_colors .. ".png"}, + inventory_image = "bridges_" .. bridge_colors .. ".png^bridges_substructure_left_slant.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_colors .. ".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}, -- NodeBox122 - {1.3125, 1.3125, 0.375, 1.4375, 1.4375, 0.5}, -- NodeBox126 - {1.25, 1.25, 0.375, 1.375, 1.375, 0.5}, -- NodeBox127 - {1.1875, 1.1875, 0.375, 1.3125, 1.3125, 0.5}, -- NodeBox128 - {1.125, 1.125, 0.375, 1.25, 1.25, 0.5}, -- NodeBox129 - {1.0625, 1.0625, 0.375, 1.1875, 1.1875, 0.5}, -- NodeBox130 - {1, 1, 0.375, 1.125, 1.125, 0.5}, -- NodeBox131 - {0.9375, 0.9375, 0.375, 1.0625, 1.0625, 0.5}, -- NodeBox132 - {0.875, 0.875, 0.375, 1, 1, 0.5}, -- NodeBox133 - {0.8125, 0.8125, 0.375, 0.9375, 0.9375, 0.5}, -- NodeBox134 - {0.75, 0.75, 0.375, 0.875, 0.875, 0.5}, -- NodeBox135 - {0.6875, 0.6875, 0.375, 0.8125, 0.8125, 0.5}, -- NodeBox136 - {0.625, 0.625, 0.375, 0.75, 0.75, 0.5}, -- NodeBox137 - {0.5625, 0.5625, 0.375, 0.6875, 0.6875, 0.5}, -- NodeBox138 - {0.5, 0.5, 0.375, 0.625, 0.625, 0.5}, -- NodeBox139 - {0.4375, 0.4375, 0.375, 0.5625, 0.5625, 0.5}, -- NodeBox140 - {0.375, 0.375, 0.375, 0.5, 0.5, 0.5}, -- NodeBox141 - {0.3125, 0.3125, 0.375, 0.4375, 0.4375, 0.5}, -- NodeBox142 - {0.25, 0.25, 0.375, 0.375, 0.375, 0.5}, -- NodeBox143 - {0.1875, 0.1875, 0.375, 0.3125, 0.3125, 0.5}, -- NodeBox144 - {0.125, 0.125, 0.375, 0.25, 0.25, 0.5}, -- NodeBox145 - {0.0625, 0.0625, 0.375, 0.1875, 0.1875, 0.5}, -- NodeBox146 - {0, 0, 0.375, 0.125, 0.125, 0.5}, -- NodeBox147 - {-0.0625, -0.0625, 0.375, 0.0625, 0.0625, 0.5}, -- NodeBox148 - {-0.125, -0.125, 0.375, 0, 0, 0.5}, -- NodeBox149 - {-0.1875, -0.1875, 0.375, -0.0625, -0.0625, 0.5}, -- NodeBox150 - {-0.25, -0.25, 0.375, -0.125, -0.125, 0.5}, -- NodeBox151 - {-0.3125, -0.3125, 0.375, -0.1875, -0.1875, 0.5}, -- NodeBox152 - {-0.375, -0.375, 0.375, -0.25, -0.25, 0.5}, -- NodeBox153 - {-0.4375, -0.4375, 0.375, -0.3125, -0.3125, 0.5}, -- NodeBox154 - {-0.5, -0.5, 0.375, -0.4375, 1.5, 0.5}, -- NodeBox188 - {-0.5, -0.5, 0.375, 1.5, -0.375, 0.5}, -- NodeBox189 - {1.4375, -0.5, 0.375, 1.5, 1.5, 0.5}, -- NodeBox190 - {-0.5, -0.5, 0.375, -0.375, -0.375, 0.5}, -- NodeBox192 + {-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 = { @@ -2188,76 +2187,76 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then sounds = default.node_sound_metal_defaults(), }) - minetest.register_node("bridger:truss_substructure_simple_"..bridge_colors, { - description = bridge_desc.." Truss Substructure Simple", + minetest.register_node("bridger:truss_substructure_simple_" .. bridge_colors, { + description = bridge_desc .. " Truss Substructure Simple", drawtype = "nodebox", - tiles = {"bridges_"..bridge_colors..".png"}, - inventory_image = "bridges_"..bridge_colors..".png^bridges_substructure_simple.png^[makealpha:255,126,126", - wield_image = "bridges_"..bridge_colors..".png^bridges_substructure_simple.png^[makealpha:255,126,126", + tiles = {"bridges_" .. bridge_colors .. ".png"}, + inventory_image = "bridges_" .. bridge_colors .. ".png^bridges_substructure_simple.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_colors .. ".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}, -- NodeBox121 - {-0.5, 1.375, 0.375, 1.5, 1.5, 0.5}, -- NodeBox122 - {-0.4375, 1.3125, 0.375, -0.3125, 1.4375, 0.5}, -- NodeBox126 - {-0.375, 1.25, 0.375, -0.25, 1.375, 0.5}, -- NodeBox127 - {-0.3125, 1.1875, 0.375, -0.1875, 1.3125, 0.5}, -- NodeBox128 - {-0.25, 1.125, 0.375, -0.125, 1.25, 0.5}, -- NodeBox129 - {-0.1875, 1.0625, 0.375, -0.0625, 1.1875, 0.5}, -- NodeBox130 - {-0.125, 1, 0.375, 0, 1.125, 0.5}, -- NodeBox131 - {-0.0625, 0.9375, 0.375, 0.0625, 1.0625, 0.5}, -- NodeBox132 - {0, 0.875, 0.375, 0.125, 1, 0.5}, -- NodeBox133 - {0.0625, 0.8125, 0.375, 0.1875, 0.9375, 0.5}, -- NodeBox134 - {0.125, 0.75, 0.375, 0.25, 0.875, 0.5}, -- NodeBox135 - {0.1875, 0.6875, 0.375, 0.3125, 0.8125, 0.5}, -- NodeBox136 - {0.25, 0.625, 0.375, 0.375, 0.75, 0.5}, -- NodeBox137 - {0.3125, 0.5625, 0.375, 0.4375, 0.6875, 0.5}, -- NodeBox138 - {0.375, 0.5, 0.375, 0.5, 0.625, 0.5}, -- NodeBox139 - {0.4375, 0.4375, 0.375, 0.5625, 0.5625, 0.5}, -- NodeBox140 - {0.5, 0.375, 0.375, 0.625, 0.5, 0.5}, -- NodeBox141 - {0.5625, 0.3125, 0.375, 0.6875, 0.4375, 0.5}, -- NodeBox142 - {0.625, 0.25, 0.375, 0.75, 0.375, 0.5}, -- NodeBox143 - {0.6875, 0.1875, 0.375, 0.8125, 0.3125, 0.5}, -- NodeBox144 - {0.75, 0.125, 0.375, 0.875, 0.25, 0.5}, -- NodeBox145 - {0.8125, 0.0625, 0.375, 0.9375, 0.1875, 0.5}, -- NodeBox146 - {0.875, 0, 0.375, 1, 0.125, 0.5}, -- NodeBox147 - {0.9375, -0.0625, 0.375, 1.0625, 0.0625, 0.5}, -- NodeBox148 - {1, -0.125, 0.375, 1.125, 0, 0.5}, -- NodeBox149 - {1.0625, -0.1875, 0.375, 1.1875, -0.0625, 0.5}, -- NodeBox150 - {1.125, -0.25, 0.375, 1.25, -0.125, 0.5}, -- NodeBox151 - {1.1875, -0.3125, 0.375, 1.3125, -0.1875, 0.5}, -- NodeBox152 - {1.25, -0.375, 0.375, 1.375, -0.25, 0.5}, -- NodeBox153 - {1.3125, -0.4375, 0.375, 1.4375, -0.3125, 0.5}, -- NodeBox154 - {1.3125, 1.3125, 0.375, 1.4375, 1.4375, 0.5}, -- NodeBox157 - {1.25, 1.25, 0.375, 1.375, 1.375, 0.5}, -- NodeBox158 - {1.1875, 1.1875, 0.375, 1.3125, 1.3125, 0.5}, -- NodeBox159 - {1.125, 1.125, 0.375, 1.25, 1.25, 0.5}, -- NodeBox160 - {1.0625, 1.0625, 0.375, 1.1875, 1.1875, 0.5}, -- NodeBox161 - {1, 1, 0.375, 1.125, 1.125, 0.5}, -- NodeBox162 - {0.9375, 0.9375, 0.375, 1.0625, 1.0625, 0.5}, -- NodeBox163 - {0.875, 0.875, 0.375, 1, 1, 0.5}, -- NodeBox164 - {0.8125, 0.8125, 0.375, 0.9375, 0.9375, 0.5}, -- NodeBox165 - {0.75, 0.75, 0.375, 0.875, 0.875, 0.5}, -- NodeBox166 - {0.6875, 0.6875, 0.375, 0.8125, 0.8125, 0.5}, -- NodeBox167 - {0.625, 0.625, 0.375, 0.75, 0.75, 0.5}, -- NodeBox168 - {0.5625, 0.5625, 0.375, 0.6875, 0.6875, 0.5}, -- NodeBox169 - {0.375, 0.375, 0.375, 0.625, 0.625, 0.5}, -- NodeBox170 - {0.3125, 0.3125, 0.375, 0.4375, 0.4375, 0.5}, -- NodeBox171 - {0.25, 0.25, 0.375, 0.375, 0.375, 0.5}, -- NodeBox172 - {0.1875, 0.1875, 0.375, 0.3125, 0.3125, 0.5}, -- NodeBox173 - {0.125, 0.125, 0.375, 0.25, 0.25, 0.5}, -- NodeBox174 - {0.0625, 0.0625, 0.375, 0.1875, 0.1875, 0.5}, -- NodeBox175 - {0, 0, 0.375, 0.125, 0.125, 0.5}, -- NodeBox176 - {-0.0625, -0.0625, 0.375, 0.0625, 0.0625, 0.5}, -- NodeBox177 - {-0.125, -0.125, 0.375, 0, 0, 0.5}, -- NodeBox178 - {-0.1875, -0.1875, 0.375, -0.0625, -0.0625, 0.5}, -- NodeBox179 - {-0.25, -0.25, 0.375, -0.125, -0.125, 0.5}, -- NodeBox180 - {-0.3125, -0.3125, 0.375, -0.1875, -0.1875, 0.5}, -- NodeBox181 - {-0.375, -0.375, 0.375, -0.25, -0.25, 0.5}, -- NodeBox182 - {-0.4375, -0.4375, 0.375, -0.3125, -0.3125, 0.5}, -- NodeBox183 + {-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 = { @@ -2276,78 +2275,78 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then sounds = default.node_sound_metal_defaults(), }) - minetest.register_node("bridger:truss_substructure_mid_"..bridge_colors, { - description = bridge_desc.." Truss Substructure Middle", + minetest.register_node("bridger:truss_substructure_mid_" .. bridge_colors, { + description = bridge_desc .. " Truss Substructure Middle", drawtype = "nodebox", - tiles = {"bridges_"..bridge_colors..".png"}, - inventory_image = "bridges_"..bridge_colors..".png^bridges_substructure_mid.png^[makealpha:255,126,126", - wield_image = "bridges_"..bridge_colors..".png^bridges_substructure_mid.png^[makealpha:255,126,126", + tiles = {"bridges_" .. bridge_colors .. ".png"}, + inventory_image = "bridges_" .. bridge_colors .. ".png^bridges_substructure_mid.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_colors .. ".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}, -- NodeBox121 - {-0.5, 1.375, 0.375, 1.5, 1.5, 0.5}, -- NodeBox122 - {-0.4375, 1.3125, 0.375, -0.3125, 1.4375, 0.5}, -- NodeBox126 - {-0.375, 1.25, 0.375, -0.25, 1.375, 0.5}, -- NodeBox127 - {-0.3125, 1.1875, 0.375, -0.1875, 1.3125, 0.5}, -- NodeBox128 - {-0.25, 1.125, 0.375, -0.125, 1.25, 0.5}, -- NodeBox129 - {-0.1875, 1.0625, 0.375, -0.0625, 1.1875, 0.5}, -- NodeBox130 - {-0.125, 1, 0.375, 0, 1.125, 0.5}, -- NodeBox131 - {-0.0625, 0.9375, 0.375, 0.0625, 1.0625, 0.5}, -- NodeBox132 - {0, 0.875, 0.375, 0.125, 1, 0.5}, -- NodeBox133 - {0.0625, 0.8125, 0.375, 0.1875, 0.9375, 0.5}, -- NodeBox134 - {0.125, 0.75, 0.375, 0.25, 0.875, 0.5}, -- NodeBox135 - {0.1875, 0.6875, 0.375, 0.3125, 0.8125, 0.5}, -- NodeBox136 - {0.25, 0.625, 0.375, 0.375, 0.75, 0.5}, -- NodeBox137 - {0.3125, 0.5625, 0.375, 0.4375, 0.6875, 0.5}, -- NodeBox138 - {0.375, 0.5, 0.375, 0.5, 0.625, 0.5}, -- NodeBox139 - {0.4375, 0.4375, 0.375, 0.5625, 0.5625, 0.5}, -- NodeBox140 - {0.5, 0.375, 0.375, 0.625, 0.5, 0.5}, -- NodeBox141 - {0.5625, 0.3125, 0.375, 0.6875, 0.4375, 0.5}, -- NodeBox142 - {0.625, 0.25, 0.375, 0.75, 0.375, 0.5}, -- NodeBox143 - {0.6875, 0.1875, 0.375, 0.8125, 0.3125, 0.5}, -- NodeBox144 - {0.75, 0.125, 0.375, 0.875, 0.25, 0.5}, -- NodeBox145 - {0.8125, 0.0625, 0.375, 0.9375, 0.1875, 0.5}, -- NodeBox146 - {0.875, 0, 0.375, 1, 0.125, 0.5}, -- NodeBox147 - {0.9375, -0.0625, 0.375, 1.0625, 0.0625, 0.5}, -- NodeBox148 - {1, -0.125, 0.375, 1.125, 0, 0.5}, -- NodeBox149 - {1.0625, -0.1875, 0.375, 1.1875, -0.0625, 0.5}, -- NodeBox150 - {1.125, -0.25, 0.375, 1.25, -0.125, 0.5}, -- NodeBox151 - {1.1875, -0.3125, 0.375, 1.3125, -0.1875, 0.5}, -- NodeBox152 - {1.25, -0.375, 0.375, 1.375, -0.25, 0.5}, -- NodeBox153 - {1.3125, -0.4375, 0.375, 1.4375, -0.3125, 0.5}, -- NodeBox154 - {1.3125, 1.3125, 0.375, 1.4375, 1.4375, 0.5}, -- NodeBox157 - {1.25, 1.25, 0.375, 1.375, 1.375, 0.5}, -- NodeBox158 - {1.1875, 1.1875, 0.375, 1.3125, 1.3125, 0.5}, -- NodeBox159 - {1.125, 1.125, 0.375, 1.25, 1.25, 0.5}, -- NodeBox160 - {1.0625, 1.0625, 0.375, 1.1875, 1.1875, 0.5}, -- NodeBox161 - {1, 1, 0.375, 1.125, 1.125, 0.5}, -- NodeBox162 - {0.9375, 0.9375, 0.375, 1.0625, 1.0625, 0.5}, -- NodeBox163 - {0.875, 0.875, 0.375, 1, 1, 0.5}, -- NodeBox164 - {0.8125, 0.8125, 0.375, 0.9375, 0.9375, 0.5}, -- NodeBox165 - {0.75, 0.75, 0.375, 0.875, 0.875, 0.5}, -- NodeBox166 - {0.6875, 0.6875, 0.375, 0.8125, 0.8125, 0.5}, -- NodeBox167 - {0.625, 0.625, 0.375, 0.75, 0.75, 0.5}, -- NodeBox168 - {0.5625, 0.5625, 0.375, 0.6875, 0.6875, 0.5}, -- NodeBox169 - {0.375, 0.375, 0.375, 0.625, 0.625, 0.5}, -- NodeBox170 - {0.3125, 0.3125, 0.375, 0.4375, 0.4375, 0.5}, -- NodeBox171 - {0.25, 0.25, 0.375, 0.375, 0.375, 0.5}, -- NodeBox172 - {0.1875, 0.1875, 0.375, 0.3125, 0.3125, 0.5}, -- NodeBox173 - {0.125, 0.125, 0.375, 0.25, 0.25, 0.5}, -- NodeBox174 - {0.0625, 0.0625, 0.375, 0.1875, 0.1875, 0.5}, -- NodeBox175 - {0, 0, 0.375, 0.125, 0.125, 0.5}, -- NodeBox176 - {-0.0625, -0.0625, 0.375, 0.0625, 0.0625, 0.5}, -- NodeBox177 - {-0.125, -0.125, 0.375, 0, 0, 0.5}, -- NodeBox178 - {-0.1875, -0.1875, 0.375, -0.0625, -0.0625, 0.5}, -- NodeBox179 - {-0.25, -0.25, 0.375, -0.125, -0.125, 0.5}, -- NodeBox180 - {-0.3125, -0.3125, 0.375, -0.1875, -0.1875, 0.5}, -- NodeBox181 - {-0.375, -0.375, 0.375, -0.25, -0.25, 0.5}, -- NodeBox182 - {-0.4375, -0.4375, 0.375, -0.3125, -0.3125, 0.5}, -- NodeBox183 - {1.4375, -0.5, 0.375, 1.5, 1.5, 0.5}, -- NodeBox184 - {-0.5, -0.5, 0.375, -0.4375, 1.5, 0.5}, -- NodeBox185 + {-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 = { @@ -2366,47 +2365,47 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then sounds = default.node_sound_metal_defaults(), }) - minetest.register_node("bridger:small_upper_chord_"..bridge_colors, { - description = bridge_desc.." Small Upper Chord", + minetest.register_node("bridger:small_upper_chord_" .. bridge_colors, { + description = bridge_desc .. " Small Upper Chord", drawtype = "nodebox", - tiles = {"bridges_"..bridge_colors..".png"}, - inventory_image = "bridges_"..bridge_colors..".png^bridges_small_upper_chord.png^[makealpha:255,126,126", - wield_image = "bridges_"..bridge_colors..".png^bridges_small_upper_chord.png^[makealpha:255,126,126", + tiles = {"bridges_" .. bridge_colors .. ".png"}, + inventory_image = "bridges_" .. bridge_colors .. ".png^bridges_small_upper_chord.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_colors .. ".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}, -- NodeBox250 - {0.4375, 0.375, -1.5, 0.5, 0.5, 0.5}, -- NodeBox251 - {-0.5, 0.375, -1.5, 0.5, 0.5, -1.4375}, -- NodeBox252 - {-0.5, 0.375, -1.5, -0.4375, 0.5, 0.5}, -- NodeBox253 - {-0.4375, 0.375, 0.25, -0.3125, 0.5, 0.4375}, -- NodeBox260 - {-0.375, 0.375, 0.125, -0.25, 0.5, 0.3125}, -- NodeBox261 - {-0.3125, 0.375, 0, -0.1875, 0.5, 0.1875}, -- NodeBox262 - {-0.25, 0.375, -0.125, -0.125, 0.5, 0.0625}, -- NodeBox263 - {-0.1875, 0.375, -0.25, -0.0625, 0.5, -0.0625}, -- NodeBox264 - {-0.4375, 0.375, -1.4375, -0.3125, 0.5, -1.25}, -- NodeBox265 - {-0.375, 0.375, -1.3125, -0.25, 0.5, -1.125}, -- NodeBox266 - {-0.3125, 0.375, -1.1875, -0.1875, 0.5, -1}, -- NodeBox267 - {-0.25, 0.375, -1.0625, -0.125, 0.5, -0.875}, -- NodeBox268 - {-0.1875, 0.375, -0.9375, -0.0625, 0.5, -0.75}, -- NodeBox269 - {-0.125, 0.375, -0.8125, 0, 0.5, -0.625}, -- NodeBox270 - {-0.125, 0.375, -0.375, 0, 0.5, -0.1875}, -- NodeBox271 - {0.3125, 0.375, 0.25, 0.4375, 0.5, 0.4375}, -- NodeBox272 - {0.25, 0.375, 0.125, 0.375, 0.5, 0.3125}, -- NodeBox273 - {0.1875, 0.375, 0, 0.3125, 0.5, 0.1875}, -- NodeBox274 - {0.125, 0.375, -0.125, 0.25, 0.5, 0.0625}, -- NodeBox275 - {0.0625, 0.375, -0.25, 0.1875, 0.5, -0.0625}, -- NodeBox276 - {0, 0.375, -0.375, 0.125, 0.5, -0.1875}, -- NodeBox277 - {-0.0625, 0.375, -0.625, 0.0625, 0.5, -0.375}, -- NodeBox278 - {0.3125, 0.375, -1.4375, 0.4375, 0.5, -1.25}, -- NodeBox279 - {0.25, 0.375, -1.3125, 0.375, 0.5, -1.125}, -- NodeBox280 - {0.1875, 0.375, -1.1875, 0.3125, 0.5, -1}, -- NodeBox281 - {0.125, 0.375, -1.0625, 0.25, 0.5, -0.875}, -- NodeBox282 - {0.0625, 0.375, -0.9375, 0.1875, 0.5, -0.75}, -- NodeBox283 - {0, 0.375, -0.8125, 0.125, 0.5, -0.625}, -- NodeBox284 + {-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 = { @@ -2419,98 +2418,98 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then sounds = default.node_sound_metal_defaults(), }) - minetest.register_node("bridger:small_upper_chord_slanted_"..bridge_colors, { - description = bridge_desc.." Small Slanted Upper Chord", + minetest.register_node("bridger:small_upper_chord_slanted_" .. bridge_colors, { + description = bridge_desc .. " Small Slanted Upper Chord", drawtype = "nodebox", - tiles = {"bridges_"..bridge_colors..".png"}, - inventory_image = "bridges_"..bridge_colors..".png^bridges_small_upper_chord_slanted.png^[makealpha:255,126,126", - wield_image = "bridges_"..bridge_colors..".png^bridges_small_upper_chord_slanted.png^[makealpha:255,126,126", + tiles = {"bridges_" .. bridge_colors .. ".png"}, + inventory_image = "bridges_" .. bridge_colors .. ".png^bridges_small_upper_chord_slanted.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_colors .. ".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}, -- NodeBox1 - {-0.5, -0.5625, -1.5, 0.5, -0.4375, -1.4375}, -- NodeBox2 - {0.4375, -0.5625, -1.5, 0.5, -0.4375, -1.375}, -- NodeBox3 - {0.4375, -0.5, -1.375, 0.5, -0.375, -1.25}, -- NodeBox4 - {0.4375, -0.4375, -1.25, 0.5, -0.3125, -1.125}, -- NodeBox5 - {0.4375, -0.375, -1.125, 0.5, -0.25, -1}, -- NodeBox6 - {0.4375, -0.3125, -1, 0.5, -0.1875, -0.875}, -- NodeBox7 - {0.4375, -0.25, -0.875, 0.5, -0.125, -0.75}, -- NodeBox8 - {0.4375, -0.1875, -0.75, 0.5, -0.0625, -0.625}, -- NodeBox9 - {0.4375, -0.125, -0.625, 0.5, -2.23517e-008, -0.5}, -- NodeBox10 - {0.4375, -0.0625, -0.5, 0.5, 0.0625, -0.375}, -- NodeBox11 - {0.4375, 0, -0.375, 0.5, 0.125, -0.25}, -- NodeBox12 - {0.4375, 0.0625, -0.25, 0.5, 0.1875, -0.125}, -- NodeBox13 - {0.4375, 0.125, -0.125, 0.5, 0.25, -1.04308e-007}, -- NodeBox14 - {0.4375, 0.1875, 0, 0.5, 0.3125, 0.125}, -- NodeBox15 - {0.4375, 0.25, 0.125, 0.5, 0.375, 0.25}, -- NodeBox16 - {0.4375, 0.3125, 0.25, 0.5, 0.4375, 0.375}, -- NodeBox17 - {0.4375, 0.375, 0.375, 0.5, 0.5, 0.5}, -- NodeBox18 - {-0.5, 0.375, 0.4375, 0.5, 0.5, 0.5}, -- NodeBox19 - {-0.5, -0.5, -1.375, -0.4375, -0.375, -1.25}, -- NodeBox20 - {-0.5, -0.4375, -1.25, -0.4375, -0.3125, -1.125}, -- NodeBox21 - {-0.5, -0.375, -1.125, -0.4375, -0.25, -1}, -- NodeBox22 - {-0.5, -0.3125, -1, -0.4375, -0.1875, -0.875}, -- NodeBox23 - {-0.5, -0.25, -0.875, -0.4375, -0.125, -0.75}, -- NodeBox24 - {-0.5, -0.1875, -0.75, -0.4375, -0.0625, -0.625}, -- NodeBox25 - {-0.5, -0.125, -0.625, -0.4375, 1.11759e-008, -0.5}, -- NodeBox26 - {-0.5, -0.0625, -0.5, -0.4375, 0.0625, -0.375}, -- NodeBox27 - {-0.5, 0, -0.375, -0.4375, 0.125, -0.25}, -- NodeBox28 - {-0.5, 0.0625, -0.25, -0.4375, 0.1875, -0.125}, -- NodeBox29 - {-0.5, 0.125, -0.125, -0.4375, 0.25, 1.41561e-007}, -- NodeBox30 - {-0.5, 0.1875, 0, -0.4375, 0.3125, 0.125}, -- NodeBox31 - {-0.5, 0.25, 0.125, -0.4375, 0.375, 0.25}, -- NodeBox32 - {-0.5, 0.3125, 0.25, -0.4375, 0.4375, 0.375}, -- NodeBox33 - {-0.5, 0.375, 0.375, -0.4375, 0.5, 0.5}, -- NodeBox34 - {-0.4375, -0.5625, -1.5, -0.3125, -0.4375, -1.375}, -- NodeBox35 - {-0.4375, -0.5, -1.375, -0.3125, -0.375, -1.25}, -- NodeBox36 - {-0.375, -0.5, -1.3125, -0.25, -0.375, -1.25}, -- NodeBox37 - {-0.375, -0.4375, -1.25, -0.25, -0.3125, -1.125}, -- NodeBox38 - {-0.3125, -0.4375, -1.1875, -0.1875, -0.3125, -1.125}, -- NodeBox39 - {-0.3125, -0.375, -1.125, -0.1875, -0.25, -1}, -- NodeBox40 - {-0.25, -0.375, -1.0625, -0.125, -0.25, -1}, -- NodeBox41 - {-0.25, -0.3125, -1, -0.125, -0.1875, -0.875}, -- NodeBox42 - {-0.1875, -0.3125, -0.9375, -0.0625, -0.1875, -0.875}, -- NodeBox43 - {-0.1875, -0.25, -0.875, -0.0624999, -0.125, -0.75}, -- NodeBox44 - {-0.125, -0.25, -0.8125, 0.125, -0.125, -0.75}, -- NodeBox45 - {-0.125, -0.1875, -0.75, 0.125, -0.0624999, -0.625}, -- NodeBox46 - {-0.0625, -0.125, -0.625, 0.0625, 9.31323e-008, -0.5}, -- NodeBox47 - {-0.0625, -0.0625, -0.5, 0.0625, 0.0625001, -0.375}, -- NodeBox48 - {-0.125, 0, -0.375, 0.125, 0.125, -0.25}, -- NodeBox49 - {-0.4375, 0.375, 0.375, -0.3125, 0.5, 0.4375}, -- NodeBox62 - {-0.4375, 0.3125, 0.25, -0.3125, 0.4375, 0.375}, -- NodeBox63 - {-0.375, 0.25, 0.125, -0.25, 0.375, 0.25}, -- NodeBox64 - {-0.375, 0.3125, 0.25, -0.25, 0.4375, 0.3125}, -- NodeBox65 - {-0.3125, 0.25, 0.125, -0.1875, 0.375, 0.1875}, -- NodeBox66 - {-0.3125, 0.1875, 0, -0.1875, 0.3125, 0.125}, -- NodeBox67 - {-0.25, 0.1875, 0, -0.125, 0.3125, 0.0625}, -- NodeBox68 - {-0.25, 0.125, -0.125, -0.125, 0.25, 1.30385e-008}, -- NodeBox69 - {-0.1875, 0.125, -0.125, -0.0625, 0.25, -0.0625}, -- NodeBox70 - {-0.1875, 0.0625, -0.25, -0.0625, 0.1875, -0.125}, -- NodeBox71 - {-0.125, 0.0625, -0.25, 0.125, 0.1875, -0.1875}, -- NodeBox72 - {0.0625, 0.0625, -0.25, 0.1875, 0.1875, -0.125}, -- NodeBox73 - {0.0625, 0.125, -0.125, 0.1875, 0.25, -0.0625}, -- NodeBox74 - {0.125, 0.125, -0.125, 0.25, 0.25, 0}, -- NodeBox75 - {0.125, 0.1875, 0, 0.25, 0.3125, 0.0625}, -- NodeBox76 - {0.1875, 0.1875, 0, 0.3125, 0.3125, 0.125}, -- NodeBox77 - {0.1875, 0.25, 0.125, 0.3125, 0.375, 0.1875}, -- NodeBox78 - {0.25, 0.25, 0.125, 0.375, 0.375, 0.25}, -- NodeBox79 - {0.25, 0.3125, 0.25, 0.375, 0.4375, 0.3125}, -- NodeBox80 - {0.3125, 0.3125, 0.3125, 0.4375, 0.4375, 0.375}, -- NodeBox81 - {0.3125, 0.375, 0.375, 0.4375, 0.5, 0.4375}, -- NodeBox82 - {0.3125, -0.5625, -1.4375, 0.4375, -0.4375, -1.375}, -- NodeBox83 - {0.3125, -0.5, -1.375, 0.4375, -0.375, -1.25}, -- NodeBox84 - {0.25, -0.5, -1.3125, 0.375, -0.375, -1.25}, -- NodeBox85 - {0.25, -0.4375, -1.25, 0.375, -0.3125, -1.125}, -- NodeBox86 - {0.1875, -0.4375, -1.1875, 0.3125, -0.3125, -1.125}, -- NodeBox87 - {0.1875, -0.375, -1.125, 0.3125, -0.25, -1}, -- NodeBox88 - {0.125, -0.375, -1.0625, 0.25, -0.25, -1}, -- NodeBox89 - {0.125, -0.3125, -1, 0.25, -0.1875, -0.875}, -- NodeBox90 - {0.0625, -0.3125, -0.9375, 0.1875, -0.1875, -0.875}, -- NodeBox91 - {0.0625, -0.25, -0.875, 0.1875, -0.125, -0.75}, -- NodeBox92 + {-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 = { @@ -2523,79 +2522,79 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then sounds = default.node_sound_metal_defaults(), }) - minetest.register_node("bridger:medium_upper_chord_"..bridge_colors, { - description = bridge_desc.." Medium Upper Chord", + minetest.register_node("bridger:medium_upper_chord_" .. bridge_colors, { + description = bridge_desc .. " Medium Upper Chord", drawtype = "nodebox", - tiles = {"bridges_"..bridge_colors..".png"}, - inventory_image = "bridges_"..bridge_colors..".png^bridges_medium_upper_chord.png^[makealpha:255,126,126", - wield_image = "bridges_"..bridge_colors..".png^bridges_medium_upper_chord.png^[makealpha:255,126,126", + tiles = {"bridges_" .. bridge_colors .. ".png"}, + inventory_image = "bridges_" .. bridge_colors .. ".png^bridges_medium_upper_chord.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_colors .. ".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}, -- NodeBox250 - {1.4375, 0.375, -1.5, 1.5, 0.5, 0.5}, -- NodeBox251 - {-1.5, 0.375, -1.5, 1.5, 0.5, -1.4375}, -- NodeBox252 - {-1.5, 0.375, -1.5, -1.4375, 0.5, 0.5}, -- NodeBox253 - {-1.4375, 0.375, 0.3125, -1.3125, 0.5, 0.4375}, -- NodeBox285 - {-1.375, 0.375, 0.25, -1.1875, 0.5, 0.375}, -- NodeBox286 - {-1.25, 0.375, 0.1875, -1.125, 0.5, 0.3125}, -- NodeBox287 - {-1.1875, 0.375, 0.125, -1, 0.5, 0.25}, -- NodeBox289 - {-1.0625, 0.375, 0.0625, -0.9375, 0.5, 0.1875}, -- NodeBox290 - {-1, 0.375, 0, -0.8125, 0.5, 0.125}, -- NodeBox291 - {-0.875, 0.375, -0.0625, -0.75, 0.5, 0.0625}, -- NodeBox292 - {-0.8125, 0.375, -0.125, -0.625, 0.5, 0}, -- NodeBox293 - {-0.6875, 0.375, -0.1875, -0.5625, 0.5, -0.0625}, -- NodeBox294 - {-0.625, 0.375, -0.25, -0.4375, 0.5, -0.125}, -- NodeBox295 - {-0.5, 0.375, -0.3125, -0.375, 0.5, -0.1875}, -- NodeBox296 - {-0.4375, 0.375, -0.375, -0.25, 0.5, -0.25}, -- NodeBox297 - {-0.3125, 0.375, -0.4375, -0.1875, 0.5, -0.3125}, -- NodeBox298 - {-0.25, 0.375, -0.5, -0.0625, 0.5, -0.375}, -- NodeBox299 - {-0.125, 0.375, -0.5625, 0.125, 0.5, -0.4375}, -- NodeBox300 - {1.3125, 0.375, -1.4375, 1.4375, 0.5, -1.3125}, -- NodeBox301 - {1.1875, 0.375, -1.375, 1.375, 0.5, -1.25}, -- NodeBox302 - {1.125, 0.375, -1.3125, 1.25, 0.5, -1.1875}, -- NodeBox303 - {1, 0.375, -1.25, 1.1875, 0.5, -1.125}, -- NodeBox304 - {0.9375, 0.375, -1.1875, 1.0625, 0.5, -1.0625}, -- NodeBox305 - {0.8125, 0.375, -1.125, 1, 0.5, -1}, -- NodeBox306 - {0.75, 0.375, -1.0625, 0.875, 0.5, -0.9375}, -- NodeBox307 - {0.625, 0.375, -1, 0.8125, 0.5, -0.875}, -- NodeBox308 - {0.5625, 0.375, -0.9375, 0.6875, 0.5, -0.8125}, -- NodeBox309 - {0.4375, 0.375, -0.875, 0.625, 0.5, -0.75}, -- NodeBox310 - {0.375, 0.375, -0.8125, 0.5, 0.5, -0.6875}, -- NodeBox311 - {0.25, 0.375, -0.75, 0.4375, 0.5, -0.625}, -- NodeBox312 - {0.1875, 0.375, -0.6875, 0.3125, 0.5, -0.5625}, -- NodeBox313 - {0.0625, 0.375, -0.625, 0.25, 0.5, -0.5}, -- NodeBox314 - {1.3125, 0.375, 0.3125, 1.4375, 0.5, 0.4375}, -- NodeBox315 - {1.1875, 0.375, 0.25, 1.375, 0.5, 0.375}, -- NodeBox316 - {1.125, 0.375, 0.1875, 1.25, 0.5, 0.3125}, -- NodeBox317 - {1, 0.375, 0.125, 1.1875, 0.5, 0.25}, -- NodeBox318 - {0.9375, 0.375, 0.0625, 1.0625, 0.5, 0.1875}, -- NodeBox319 - {0.8125, 0.375, 0, 1, 0.5, 0.125}, -- NodeBox320 - {0.75, 0.375, -0.0625, 0.875, 0.5, 0.0625}, -- NodeBox321 - {0.625, 0.375, -0.125, 0.8125, 0.5, 0}, -- NodeBox322 - {0.5625, 0.375, -0.1875, 0.6875, 0.5, -0.0625}, -- NodeBox323 - {0.4375, 0.375, -0.25, 0.625, 0.5, -0.125}, -- NodeBox324 - {0.375, 0.375, -0.3125, 0.5, 0.5, -0.1875}, -- NodeBox325 - {0.25, 0.375, -0.375, 0.4375, 0.5, -0.25}, -- NodeBox326 - {0.1875, 0.375, -0.4375, 0.3125, 0.5, -0.3125}, -- NodeBox327 - {0.0625, 0.375, -0.5, 0.25, 0.5, -0.375}, -- NodeBox328 - {-1.4375, 0.375, -1.4375, -1.3125, 0.5, -1.3125}, -- NodeBox329 - {-1.375, 0.375, -1.375, -1.1875, 0.5, -1.25}, -- NodeBox330 - {-1.25, 0.375, -1.3125, -1.125, 0.5, -1.1875}, -- NodeBox331 - {-1.1875, 0.375, -1.25, -1, 0.5, -1.125}, -- NodeBox332 - {-1.0625, 0.375, -1.1875, -0.9375, 0.5, -1.0625}, -- NodeBox333 - {-1, 0.375, -1.125, -0.8125, 0.5, -1}, -- NodeBox334 - {-0.875, 0.375, -1.0625, -0.75, 0.5, -0.9375}, -- NodeBox335 - {-0.8125, 0.375, -1, -0.625, 0.5, -0.875}, -- NodeBox336 - {-0.6875, 0.375, -0.9375, -0.5625, 0.5, -0.8125}, -- NodeBox337 - {-0.625, 0.375, -0.875, -0.4375, 0.5, -0.75}, -- NodeBox338 - {-0.5, 0.375, -0.8125, -0.375, 0.5, -0.6875}, -- NodeBox339 - {-0.4375, 0.375, -0.75, -0.25, 0.5, -0.625}, -- NodeBox340 - {-0.3125, 0.375, -0.6875, -0.1875, 0.5, -0.5625}, -- NodeBox341 - {-0.25, 0.375, -0.625, -0.0625, 0.5, -0.5}, -- NodeBox342 + {-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 = { @@ -2608,110 +2607,110 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then sounds = default.node_sound_metal_defaults(), }) - minetest.register_node("bridger:medium_upper_chord_slanted_"..bridge_colors, { - description = bridge_desc.." Medium Slanted Upper Chord", + minetest.register_node("bridger:medium_upper_chord_slanted_" .. bridge_colors, { + description = bridge_desc .. " Medium Slanted Upper Chord", drawtype = "nodebox", - tiles = {"bridges_"..bridge_colors..".png"}, - inventory_image = "bridges_"..bridge_colors..".png^bridges_medium_upper_chord_slanted.png^[makealpha:255,126,126", - wield_image = "bridges_"..bridge_colors..".png^bridges_medium_upper_chord_slanted.png^[makealpha:255,126,126", + tiles = {"bridges_" .. bridge_colors .. ".png"}, + inventory_image = "bridges_" .. bridge_colors .. ".png^bridges_medium_upper_chord_slanted.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_colors .. ".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}, -- NodeBox1 - {-1.5, -0.5625, -1.5, 1.5, -0.4375, -1.4375}, -- NodeBox2 - {1.4375, -0.5625, -1.5, 1.5, -0.4375, -1.375}, -- NodeBox3 - {1.4375, -0.5, -1.375, 1.5, -0.375, -1.25}, -- NodeBox4 - {1.4375, -0.4375, -1.25, 1.5, -0.3125, -1.125}, -- NodeBox5 - {1.4375, -0.375, -1.125, 1.5, -0.25, -1}, -- NodeBox6 - {1.4375, -0.3125, -1, 1.5, -0.1875, -0.875}, -- NodeBox7 - {1.4375, -0.25, -0.875, 1.5, -0.125, -0.75}, -- NodeBox8 - {1.4375, -0.1875, -0.75, 1.5, -0.0625, -0.625}, -- NodeBox9 - {1.4375, -0.125, -0.625, 1.5, -2.23517e-008, -0.5}, -- NodeBox10 - {1.4375, -0.0625, -0.5, 1.5, 0.0625, -0.375}, -- NodeBox11 - {1.4375, 0, -0.375, 1.5, 0.125, -0.25}, -- NodeBox12 - {1.4375, 0.0625, -0.25, 1.5, 0.1875, -0.125}, -- NodeBox13 - {1.4375, 0.125, -0.125, 1.5, 0.25, -9.68575e-008}, -- NodeBox14 - {1.4375, 0.1875, 0, 1.5, 0.3125, 0.125}, -- NodeBox15 - {1.4375, 0.25, 0.125, 1.5, 0.375, 0.25}, -- NodeBox16 - {1.4375, 0.3125, 0.25, 1.5, 0.4375, 0.375}, -- NodeBox17 - {1.4375, 0.375, 0.375, 1.5, 0.5, 0.5}, -- NodeBox18 - {-1.5, 0.375, 0.4375, 1.5, 0.5, 0.5}, -- NodeBox19 - {-1.5, -0.5, -1.375, -1.4375, -0.375, -1.25}, -- NodeBox20 - {-1.5, -0.4375, -1.25, -1.4375, -0.3125, -1.125}, -- NodeBox21 - {-1.5, -0.375, -1.125, -1.4375, -0.25, -1}, -- NodeBox22 - {-1.5, -0.3125, -1, -1.4375, -0.1875, -0.875}, -- NodeBox23 - {-1.5, -0.25, -0.875, -1.4375, -0.125, -0.75}, -- NodeBox24 - {-1.5, -0.1875, -0.75, -1.4375, -0.0625, -0.625}, -- NodeBox25 - {-1.5, -0.125, -0.625, -1.4375, 1.11759e-008, -0.5}, -- NodeBox26 - {-1.5, -0.0625, -0.5, -1.4375, 0.0625, -0.375}, -- NodeBox27 - {-1.5, 0, -0.375, -1.4375, 0.125, -0.25}, -- NodeBox28 - {-1.5, 0.0625, -0.25, -1.4375, 0.1875, -0.125}, -- NodeBox29 - {-1.5, 0.125, -0.125, -1.4375, 0.25, 1.49012e-007}, -- NodeBox30 - {-1.5, 0.1875, 0, -1.4375, 0.3125, 0.125}, -- NodeBox31 - {-1.5, 0.25, 0.125, -1.4375, 0.375, 0.25}, -- NodeBox32 - {-1.5, 0.3125, 0.25, -1.4375, 0.4375, 0.375}, -- NodeBox33 - {-1.5, 0.375, 0.375, -1.4375, 0.5, 0.5}, -- NodeBox34 - {-1.4375, -0.5625, -1.4375, -1.3125, -0.4375, -1.375}, -- NodeBox93 - {-1.4375, -0.5, -1.375, -1.1875, -0.375, -1.3125}, -- NodeBox94 - {-1.375, -0.5, -1.3125, -1.125, -0.375, -1.25}, -- NodeBox95 - {-1.25, -0.4375, -1.25, -1, -0.3125, -1.1875}, -- NodeBox96 - {-1.1875, -0.4375, -1.1875, -0.9375, -0.3125, -1.125}, -- NodeBox97 - {-1.0625, -0.375, -1.125, -0.8125, -0.25, -1.0625}, -- NodeBox98 - {-1, -0.375, -1.0625, -0.75, -0.25, -1}, -- NodeBox99 - {-0.875, -0.3125, -1, -0.625, -0.1875, -0.9375}, -- NodeBox100 - {-0.8125, -0.3125, -0.9375, -0.5625, -0.1875, -0.875}, -- NodeBox101 - {-0.6875, -0.25, -0.875, -0.4375, -0.125, -0.8125}, -- NodeBox102 - {-0.625, -0.25, -0.8125, -0.375, -0.125, -0.75}, -- NodeBox103 - {-0.5, -0.1875, -0.75, -0.25, -0.0625, -0.6875}, -- NodeBox104 - {-0.4375, -0.1875, -0.6875, -0.1875, -0.0625, -0.625}, -- NodeBox105 - {-0.3125, -0.125, -0.625, -0.0625, 3.35276e-008, -0.5625}, -- NodeBox106 - {-0.25, -0.125, -0.5625, 0.25, 3.35276e-008, -0.5}, -- NodeBox107 - {-0.25, -0.0625, -0.5, 0.25, 0.0625, -0.4375}, -- NodeBox108 - {-0.3125, -0.0625, -0.4375, -0.0625, 0.0625, -0.375}, -- NodeBox109 - {-0.4375, 0, -0.375, -0.1875, 0.125, -0.3125}, -- NodeBox110 - {-0.5, 0, -0.3125, -0.25, 0.125, -0.25}, -- NodeBox111 - {-0.625, 0.0625, -0.25, -0.375, 0.1875, -0.1875}, -- NodeBox112 - {-0.6875, 0.0625, -0.1875, -0.4375, 0.1875, -0.125}, -- NodeBox113 - {-0.8125, 0.125, -0.125, -0.5625, 0.25, -0.0625001}, -- NodeBox114 - {-0.875, 0.125, -0.0625, -0.625, 0.25, -9.87202e-008}, -- NodeBox115 - {-1, 0.1875, 0, -0.75, 0.3125, 0.0624999}, -- NodeBox116 - {-1.0625, 0.1875, 0.0625, -0.8125, 0.3125, 0.125}, -- NodeBox117 - {-1.1875, 0.25, 0.125, -0.9375, 0.375, 0.1875}, -- NodeBox118 - {-1.25, 0.25, 0.1875, -1, 0.375, 0.25}, -- NodeBox119 - {-1.375, 0.3125, 0.25, -1.125, 0.4375, 0.3125}, -- NodeBox120 - {-1.4375, 0.3125, 0.3125, -1.1875, 0.4375, 0.375}, -- NodeBox121 - {-1.4375, 0.375, 0.375, -1.3125, 0.5, 0.4375}, -- NodeBox122 - {1.3125, 0.375, 0.375, 1.4375, 0.5, 0.4375}, -- NodeBox123 - {1.1875, 0.3125, 0.3125, 1.4375, 0.4375, 0.375}, -- NodeBox124 - {1.125, 0.3125, 0.25, 1.375, 0.4375, 0.3125}, -- NodeBox125 - {1, 0.25, 0.1875, 1.25, 0.375, 0.25}, -- NodeBox126 - {0.9375, 0.25, 0.125, 1.1875, 0.375, 0.1875}, -- NodeBox127 - {0.8125, 0.1875, 0.0625, 1.0625, 0.3125, 0.125}, -- NodeBox128 - {0.75, 0.1875, 0, 1, 0.3125, 0.0624999}, -- NodeBox129 - {0.625, 0.125, -0.0625, 0.875, 0.25, -1.2666e-007}, -- NodeBox130 - {0.5625, 0.125, -0.125, 0.8125, 0.25, -0.0625001}, -- NodeBox131 - {0.4375, 0.0625, -0.1875, 0.6875, 0.1875, -0.125}, -- NodeBox132 - {0.375, 0.0625, -0.25, 0.625, 0.1875, -0.1875}, -- NodeBox133 - {0.25, 0, -0.3125, 0.5, 0.125, -0.25}, -- NodeBox134 - {0.1875, 0, -0.375, 0.4375, 0.125, -0.3125}, -- NodeBox135 - {0.0625, -0.0625, -0.4375, 0.3125, 0.0625, -0.375}, -- NodeBox136 - {0.0625, -0.125, -0.625, 0.3125, 3.72529e-009, -0.5625}, -- NodeBox137 - {0.1875, -0.1875, -0.6875, 0.4375, -0.0625, -0.625}, -- NodeBox138 - {0.25, -0.1875, -0.75, 0.5, -0.0625, -0.6875}, -- NodeBox139 - {0.375, -0.25, -0.8125, 0.625, -0.125, -0.75}, -- NodeBox140 - {0.4375, -0.25, -0.875, 0.6875, -0.125, -0.8125}, -- NodeBox141 - {0.5625, -0.3125, -0.9375, 0.8125, -0.1875, -0.875}, -- NodeBox142 - {0.625, -0.3125, -1, 0.875, -0.1875, -0.9375}, -- NodeBox143 - {0.75, -0.375, -1.0625, 1, -0.25, -1}, -- NodeBox144 - {0.8125, -0.375, -1.125, 1.0625, -0.25, -1.0625}, -- NodeBox145 - {0.9375, -0.4375, -1.1875, 1.1875, -0.3125, -1.125}, -- NodeBox146 - {1, -0.4375, -1.25, 1.25, -0.3125, -1.1875}, -- NodeBox147 - {1.125, -0.5, -1.3125, 1.375, -0.375, -1.25}, -- NodeBox148 - {1.1875, -0.5, -1.375, 1.4375, -0.375, -1.3125}, -- NodeBox149 - {1.3125, -0.5625, -1.4375, 1.4375, -0.4375, -1.375}, -- NodeBox150 + {-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 = { @@ -2724,75 +2723,75 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then sounds = default.node_sound_metal_defaults(), }) - minetest.register_node("bridger:large_upper_chord_"..bridge_colors, { - description = bridge_desc.." Large Upper Chord", + minetest.register_node("bridger:large_upper_chord_" .. bridge_colors, { + description = bridge_desc .. " Large Upper Chord", drawtype = "nodebox", - tiles = {"bridges_"..bridge_colors..".png"}, - inventory_image = "bridges_"..bridge_colors..".png^bridges_large_upper_chord.png^[makealpha:255,126,126", - wield_image = "bridges_"..bridge_colors..".png^bridges_large_upper_chord.png^[makealpha:255,126,126", + tiles = {"bridges_" .. bridge_colors .. ".png"}, + inventory_image = "bridges_" .. bridge_colors .. ".png^bridges_large_upper_chord.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_colors .. ".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}, -- NodeBox250 - {2.4375, 0.375, -1.5, 2.5, 0.5, 0.5}, -- NodeBox251 - {-2.5, 0.375, -1.5, 2.5, 0.5, -1.4375}, -- NodeBox252 - {-2.5, 0.375, -1.5, -2.4375, 0.5, 0.5}, -- NodeBox253 - {-2.4375, 0.375, 0.3125, -2.1875, 0.5, 0.4375}, -- NodeBox343 - {-2.3125, 0.375, 0.25, -2, 0.5, 0.375}, -- NodeBox344 - {-2.125, 0.375, 0.1875, -1.875, 0.5, 0.3125}, -- NodeBox345 - {-2, 0.375, 0.125, -1.6875, 0.5, 0.25}, -- NodeBox346 - {-1.875, 0.375, 0.0625, -1.5, 0.5, 0.1875}, -- NodeBox347 - {-1.625, 0.375, 0, -1.375, 0.5, 0.125}, -- NodeBox348 - {-1.5, 0.375, -0.0625, -1.1875, 0.5, 0.0625}, -- NodeBox349 - {-1.3125, 0.375, -0.125, -1, 0.5, 0}, -- NodeBox350 - {-1.125, 0.375, -0.1875, -0.875, 0.5, -0.0625}, -- NodeBox351 - {-1, 0.375, -0.25, -0.6875, 0.5, -0.125}, -- NodeBox352 - {-0.8125, 0.375, -0.3125, -0.5, 0.5, -0.1875}, -- NodeBox353 - {-0.625, 0.375, -0.375, -0.375, 0.5, -0.25}, -- NodeBox354 - {-0.5, 0.375, -0.4375, -0.1875, 0.5, -0.3125}, -- NodeBox355 - {2.1875, 0.375, 0.3125, 2.4375, 0.5, 0.4375}, -- NodeBox356 - {2, 0.375, 0.25, 2.3125, 0.5, 0.375}, -- NodeBox357 - {1.875, 0.375, 0.1875, 2.125, 0.5, 0.3125}, -- NodeBox358 - {1.6875, 0.375, 0.125, 2, 0.5, 0.25}, -- NodeBox359 - {1.5, 0.375, 0.0625, 1.8125, 0.5, 0.1875}, -- NodeBox360 - {1.1875, 0.375, -0.0625, 1.5, 0.5, 0.0625}, -- NodeBox361 - {1.375, 0.375, 0, 1.625, 0.5, 0.125}, -- NodeBox362 - {1, 0.375, -0.125, 1.3125, 0.5, 0}, -- NodeBox363 - {0.875, 0.375, -0.1875, 1.125, 0.5, -0.0625}, -- NodeBox364 - {0.6875, 0.375, -0.25, 1, 0.5, -0.125}, -- NodeBox365 - {0.5, 0.375, -0.3125, 0.8125, 0.5, -0.1875}, -- NodeBox366 - {0.375, 0.375, -0.375, 0.625, 0.5, -0.25}, -- NodeBox367 - {0.1875, 0.375, -0.4375, 0.5, 0.5, -0.3125}, -- NodeBox368 - {-0.375, 0.375, -0.625, 0.3125, 0.5, -0.375}, -- NodeBox369 - {2.1875, 0.375, -1.4375, 2.4375, 0.5, -1.3125}, -- NodeBox370 - {2, 0.375, -1.375, 2.3125, 0.5, -1.25}, -- NodeBox371 - {1.875, 0.375, -1.3125, 2.125, 0.5, -1.1875}, -- NodeBox372 - {1.6875, 0.375, -1.25, 2, 0.5, -1.125}, -- NodeBox373 - {1.5, 0.375, -1.1875, 1.8125, 0.5, -1.0625}, -- NodeBox374 - {1.375, 0.375, -1.125, 1.625, 0.5, -1}, -- NodeBox375 - {1.1875, 0.375, -1.0625, 1.5, 0.5, -0.9375}, -- NodeBox376 - {1, 0.375, -1, 1.3125, 0.5, -0.875}, -- NodeBox377 - {0.875, 0.375, -0.9375, 1.125, 0.5, -0.8125}, -- NodeBox378 - {0.6875, 0.375, -0.875, 1, 0.5, -0.75}, -- NodeBox379 - {0.5, 0.375, -0.8125, 0.8125, 0.5, -0.6875}, -- NodeBox380 - {0.375, 0.375, -0.75, 0.625, 0.5, -0.625}, -- NodeBox381 - {0.1875, 0.375, -0.6875, 0.5, 0.5, -0.5625}, -- NodeBox382 - {-2.4375, 0.375, -1.4375, -2.1875, 0.5, -1.3125}, -- NodeBox383 - {-2.3125, 0.375, -1.375, -2, 0.5, -1.25}, -- NodeBox384 - {-2.125, 0.375, -1.3125, -1.875, 0.5, -1.1875}, -- NodeBox385 - {-2, 0.375, -1.25, -1.6875, 0.5, -1.125}, -- NodeBox386 - {-1.8125, 0.375, -1.1875, -1.5, 0.5, -1.0625}, -- NodeBox387 - {-1.625, 0.375, -1.125, -1.375, 0.5, -1}, -- NodeBox388 - {-1.5, 0.375, -1.0625, -1.1875, 0.5, -0.9375}, -- NodeBox389 - {-1.3125, 0.375, -1, -1, 0.5, -0.875}, -- NodeBox390 - {-1.125, 0.375, -0.9375, -0.875, 0.5, -0.8125}, -- NodeBox391 - {-1, 0.375, -0.875, -0.6875, 0.5, -0.75}, -- NodeBox392 - {-0.8125, 0.375, -0.8125, -0.5, 0.5, -0.6875}, -- NodeBox393 - {-0.625, 0.375, -0.75, -0.375, 0.5, -0.625}, -- NodeBox394 - {-0.5, 0.375, -0.6875, -0.1875, 0.5, -0.5625}, -- NodeBox395 + {-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 = { @@ -2805,110 +2804,110 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then sounds = default.node_sound_metal_defaults(), }) - minetest.register_node("bridger:large_upper_chord_slanted_"..bridge_colors, { - description = bridge_desc.." Large Slanted Upper Chord", + minetest.register_node("bridger:large_upper_chord_slanted_" .. bridge_colors, { + description = bridge_desc .. " Large Slanted Upper Chord", drawtype = "nodebox", - tiles = {"bridges_"..bridge_colors..".png"}, - inventory_image = "bridges_"..bridge_colors..".png^bridges_large_upper_chord_slanted.png^[makealpha:255,126,126", - wield_image = "bridges_"..bridge_colors..".png^bridges_large_upper_chord_slanted.png^[makealpha:255,126,126", + tiles = {"bridges_" .. bridge_colors .. ".png"}, + inventory_image = "bridges_" .. bridge_colors .. ".png^bridges_large_upper_chord_slanted.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_colors .. ".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}, -- NodeBox1 - {-2.5, -0.5625, -1.5, 2.5, -0.4375, -1.4375}, -- NodeBox2 - {2.4375, -0.5625, -1.5, 2.5, -0.4375, -1.375}, -- NodeBox3 - {2.4375, -0.5, -1.375, 2.5, -0.375, -1.25}, -- NodeBox4 - {2.4375, -0.4375, -1.25, 2.5, -0.3125, -1.125}, -- NodeBox5 - {2.4375, -0.375, -1.125, 2.5, -0.25, -1}, -- NodeBox6 - {2.4375, -0.3125, -1, 2.5, -0.1875, -0.875}, -- NodeBox7 - {2.4375, -0.25, -0.875, 2.5, -0.125, -0.75}, -- NodeBox8 - {2.4375, -0.1875, -0.75, 2.5, -0.0625, -0.625}, -- NodeBox9 - {2.4375, -0.125, -0.625, 2.5, -2.23517e-008, -0.5}, -- NodeBox10 - {2.4375, -0.0625, -0.5, 2.5, 0.0625, -0.375}, -- NodeBox11 - {2.4375, 0, -0.375, 2.5, 0.125, -0.25}, -- NodeBox12 - {2.4375, 0.0625, -0.25, 2.5, 0.1875, -0.125}, -- NodeBox13 - {2.4375, 0.125, -0.125, 2.5, 0.25, -9.68575e-008}, -- NodeBox14 - {2.4375, 0.1875, 0, 2.5, 0.3125, 0.125}, -- NodeBox15 - {2.4375, 0.25, 0.125, 2.5, 0.375, 0.25}, -- NodeBox16 - {2.4375, 0.3125, 0.25, 2.5, 0.4375, 0.375}, -- NodeBox17 - {2.4375, 0.375, 0.375, 2.5, 0.5, 0.5}, -- NodeBox18 - {-2.5, 0.375, 0.4375, 2.5, 0.5, 0.5}, -- NodeBox19 - {-2.5, -0.5, -1.375, -2.4375, -0.375, -1.25}, -- NodeBox20 - {-2.5, -0.4375, -1.25, -2.4375, -0.3125, -1.125}, -- NodeBox21 - {-2.5, -0.375, -1.125, -2.4375, -0.25, -1}, -- NodeBox22 - {-2.5, -0.3125, -1, -2.4375, -0.1875, -0.875}, -- NodeBox23 - {-2.5, -0.25, -0.875, -2.4375, -0.125, -0.75}, -- NodeBox24 - {-2.5, -0.1875, -0.75, -2.4375, -0.0625, -0.625}, -- NodeBox25 - {-2.5, -0.125, -0.625, -2.4375, 1.11759e-008, -0.5}, -- NodeBox26 - {-2.5, -0.0625, -0.5, -2.4375, 0.0625, -0.375}, -- NodeBox27 - {-2.5, 0, -0.375, -2.4375, 0.125, -0.25}, -- NodeBox28 - {-2.5, 0.0625, -0.25, -2.4375, 0.1875, -0.125}, -- NodeBox29 - {-2.5, 0.125, -0.125, -2.4375, 0.25, 1.67638e-007}, -- NodeBox30 - {-2.5, 0.1875, 0, -2.4375, 0.3125, 0.125}, -- NodeBox31 - {-2.5, 0.25, 0.125, -2.4375, 0.375, 0.25}, -- NodeBox32 - {-2.5, 0.3125, 0.25, -2.4375, 0.4375, 0.375}, -- NodeBox33 - {-2.5, 0.375, 0.375, -2.4375, 0.5, 0.5}, -- NodeBox34 - {-2.4375, -0.5625, -1.4375, -2.1875, -0.4375, -1.375}, -- NodeBox164 - {-2.4375, -0.5625, -1.375, -2, -0.4375, -1.3125}, -- NodeBox165 - {-2.3125, -0.5625, -1.3125, -1.875, -0.4375, -1.25}, -- NodeBox166 - {-2.125, -0.4375, -1.25, -1.6875, -0.3125, -1.1875}, -- NodeBox167 - {-2, -0.4375, -1.1875, -1.5625, -0.3125, -1.125}, -- NodeBox168 - {-1.8125, -0.375, -1.125, -1.375, -0.25, -1.0625}, -- NodeBox169 - {-1.6875, -0.375, -1.0625, -1.25, -0.25, -1}, -- NodeBox170 - {-1.5, -0.3125, -1, -1.0625, -0.1875, -0.9375}, -- NodeBox171 - {-1.375, -0.3125, -0.9375, -0.937501, -0.1875, -0.875}, -- NodeBox172 - {-1.1875, -0.25, -0.875, -0.750001, -0.125, -0.8125}, -- NodeBox173 - {-1.0625, -0.25, -0.8125, -0.625001, -0.125, -0.75}, -- NodeBox174 - {-0.875, -0.1875, -0.75, -0.437501, -0.0624999, -0.6875}, -- NodeBox175 - {-0.75, -0.1875, -0.6875, -0.312501, -0.0624999, -0.625}, -- NodeBox176 - {-0.5625, -0.125, -0.625, -0.125001, 1.60187e-007, -0.5625}, -- NodeBox177 - {-0.4375, -0.125, -0.5625, 0.4375, 1.56462e-007, -0.5}, -- NodeBox178 - {-0.4375, -0.0625, -0.5, 0.4375, 0.0625001, -0.4375}, -- NodeBox179 - {-0.5625, -0.0625, -0.4375, -0.125, 0.0625001, -0.375}, -- NodeBox180 - {-0.75, 0, -0.375, -0.3125, 0.125, -0.3125}, -- NodeBox181 - {-0.875, 0, -0.3125, -0.4375, 0.125, -0.25}, -- NodeBox182 - {-1.0625, 0.0625, -0.25, -0.625, 0.1875, -0.1875}, -- NodeBox183 - {-1.1875, 0.0625, -0.1875, -0.75, 0.1875, -0.125}, -- NodeBox184 - {-1.375, 0.125, -0.125, -0.9375, 0.25, -0.0625001}, -- NodeBox185 - {-1.5, 0.125, -0.0625, -1.0625, 0.25, -7.07805e-008}, -- NodeBox186 - {-1.6875, 0.1875, 0, -1.25, 0.3125, 0.0624999}, -- NodeBox187 - {-1.8125, 0.1875, 0.0625, -1.375, 0.3125, 0.125}, -- NodeBox188 - {-2, 0.25, 0.125, -1.5625, 0.375, 0.1875}, -- NodeBox189 - {-2.125, 0.25, 0.1875, -1.6875, 0.375, 0.25}, -- NodeBox190 - {-2.3125, 0.3125, 0.25, -1.875, 0.4375, 0.3125}, -- NodeBox191 - {-2.4375, 0.3125, 0.3125, -2, 0.4375, 0.375}, -- NodeBox192 - {-2.4375, 0.375, 0.375, -2.1875, 0.5, 0.4375}, -- NodeBox193 - {2.1875, 0.375, 0.375, 2.4375, 0.5, 0.4375}, -- NodeBox194 - {2, 0.3125, 0.3125, 2.4375, 0.4375, 0.375}, -- NodeBox195 - {1.875, 0.3125, 0.25, 2.3125, 0.4375, 0.3125}, -- NodeBox196 - {1.6875, 0.25, 0.1875, 2.125, 0.375, 0.25}, -- NodeBox197 - {1.5625, 0.25, 0.125, 2, 0.375, 0.1875}, -- NodeBox198 - {1.375, 0.1875, 0.0625, 1.8125, 0.3125, 0.125}, -- NodeBox199 - {1.25, 0.1875, 0, 1.6875, 0.3125, 0.0624999}, -- NodeBox200 - {1.0625, 0.125, -0.0625, 1.5, 0.25, -6.70552e-008}, -- NodeBox201 - {0.9375, 0.125, -0.125, 1.375, 0.25, -0.0625001}, -- NodeBox202 - {0.75, 0.0625, -0.1875, 1.1875, 0.1875, -0.125}, -- NodeBox203 - {0.625, 0.0625, -0.25, 1.0625, 0.1875, -0.1875}, -- NodeBox204 - {0.4375, 0, -0.3125, 0.875, 0.125, -0.25}, -- NodeBox205 - {0.3125, 0, -0.375, 0.75, 0.125, -0.3125}, -- NodeBox206 - {0.125, 0, -0.4375, 0.5625, 0.125, -0.375}, -- NodeBox207 - {0.125, -0.125, -0.625, 0.5625, 1.22935e-007, -0.5625}, -- NodeBox208 - {0.3125, -0.1875, -0.6875, 0.75, -0.0624999, -0.625}, -- NodeBox209 - {0.4375, -0.1875, -0.75, 0.875, -0.0624999, -0.6875}, -- NodeBox210 - {0.625, -0.25, -0.8125, 1.0625, -0.125, -0.75}, -- NodeBox211 - {0.75, -0.25, -0.875, 1.1875, -0.125, -0.8125}, -- NodeBox212 - {0.9375, -0.3125, -0.9375, 1.375, -0.1875, -0.875}, -- NodeBox213 - {1.0625, -0.3125, -1, 1.5, -0.1875, -0.9375}, -- NodeBox214 - {1.25, -0.375, -1.0625, 1.6875, -0.25, -1}, -- NodeBox215 - {1.375, -0.375, -1.125, 1.8125, -0.25, -1.0625}, -- NodeBox216 - {1.5625, -0.4375, -1.1875, 2, -0.3125, -1.125}, -- NodeBox217 - {1.6875, -0.4375, -1.25, 2.125, -0.3125, -1.1875}, -- NodeBox218 - {1.875, -0.5, -1.3125, 2.3125, -0.375, -1.25}, -- NodeBox219 - {2, -0.5, -1.375, 2.4375, -0.375, -1.3125}, -- NodeBox220 - {2.1875, -0.5625, -1.4375, 2.4375, -0.4375, -1.375}, -- NodeBox221 + {-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 = { @@ -2921,106 +2920,106 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then sounds = default.node_sound_metal_defaults(), }) - minetest.register_node("bridger:small_support_"..bridge_colors, { - description = bridge_desc.." Small Support", + minetest.register_node("bridger:small_support_" .. bridge_colors, { + description = bridge_desc .. " Small Support", drawtype = "nodebox", - tiles = {"bridges_"..bridge_colors..".png"}, - inventory_image = "bridges_"..bridge_colors..".png^bridges_small_support.png^[makealpha:255,126,126", - wield_image = "bridges_"..bridge_colors..".png^bridges_small_support.png^[makealpha:255,126,126", + tiles = {"bridges_" .. bridge_colors .. ".png"}, + inventory_image = "bridges_" .. bridge_colors .. ".png^bridges_small_support.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_colors .. ".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}, -- NodeBox1 - {-0.5, -0.5, -0.5, -0.375, 0.5, -0.375}, -- NodeBox2 - {-0.4375, -0.4375, -0.5, -0.3125, -0.3125, -0.375}, -- NodeBox3 - {-0.375, -0.375, -0.5, -0.25, -0.25, -0.375}, -- NodeBox4 - {-0.3125, -0.3125, -0.5, -0.1875, -0.1875, -0.375}, -- NodeBox5 - {-0.25, -0.25, -0.5, -0.125, -0.125, -0.375}, -- NodeBox6 - {-0.1875, -0.1875, -0.5, -0.0625, -0.0625, -0.375}, -- NodeBox7 - {-0.125, -0.125, -0.5, 0.125, 0.125, -0.375}, -- NodeBox8 - {0.0625, 0.0625, -0.5, 0.1875, 0.1875, -0.375}, -- NodeBox9 - {0.125, 0.125, -0.5, 0.25, 0.25, -0.375}, -- NodeBox10 - {0.1875, 0.1875, -0.5, 0.3125, 0.3125, -0.375}, -- NodeBox11 - {0.25, 0.25, -0.5, 0.375, 0.375, -0.375}, -- NodeBox12 - {0.3125, 0.3125, -0.5, 0.4375, 0.4375, -0.375}, -- NodeBox13 - {-0.4375, 0.3125, -0.5, -0.3125, 0.4375, -0.375}, -- NodeBox14 - {-0.375, 0.25, -0.5, -0.25, 0.375, -0.375}, -- NodeBox15 - {-0.3125, 0.1875, -0.5, -0.1875, 0.3125, -0.375}, -- NodeBox16 - {-0.25, 0.125, -0.5, -0.125, 0.25, -0.375}, -- NodeBox17 - {-0.1875, 0.0625, -0.5, -0.0625, 0.1875, -0.375}, -- NodeBox18 - {0.0625, -0.1875, -0.5, 0.1875, -0.0625, -0.375}, -- NodeBox19 - {0.125, -0.25, -0.5, 0.25, -0.125, -0.375}, -- NodeBox20 - {0.1875, -0.3125, -0.5, 0.3125, -0.1875, -0.375}, -- NodeBox21 - {0.25, -0.375, -0.5, 0.375, -0.25, -0.375}, -- NodeBox22 - {0.3125, -0.4375, -0.5, 0.4375, -0.3125, -0.375}, -- NodeBox23 - {-0.5, -0.4375, 0.3125, -0.375, -0.3125, 0.4375}, -- NodeBox3 - {-0.5, -0.375, 0.25, -0.375, -0.25, 0.375}, -- NodeBox4 - {-0.5, -0.3125, 0.1875, -0.375, -0.1875, 0.3125}, -- NodeBox5 - {-0.5, -0.25, 0.125, -0.375, -0.125, 0.25}, -- NodeBox6 - {-0.5, -0.1875, 0.0625, -0.375, -0.0625, 0.1875}, -- NodeBox7 - {-0.5, -0.125, -0.125, -0.375, 0.125, 0.125}, -- NodeBox8 - {-0.5, 0.0625, -0.1875, -0.375, 0.1875, -0.0625}, -- NodeBox9 - {-0.5, 0.125, -0.25, -0.375, 0.25, -0.125}, -- NodeBox10 - {-0.5, 0.1875, -0.3125, -0.375, 0.3125, -0.1875}, -- NodeBox11 - {-0.5, 0.25, -0.375, -0.375, 0.375, -0.25}, -- NodeBox12 - {-0.5, 0.3125, -0.4375, -0.375, 0.4375, -0.3125}, -- NodeBox13 - {-0.5, 0.3125, 0.3125, -0.375, 0.4375, 0.4375}, -- NodeBox14 - {-0.5, 0.25, 0.25, -0.375, 0.375, 0.375}, -- NodeBox15 - {-0.5, 0.1875, 0.1875, -0.375, 0.3125, 0.3125}, -- NodeBox16 - {-0.5, 0.125, 0.125, -0.375, 0.25, 0.25}, -- NodeBox17 - {-0.5, 0.0625, 0.0625, -0.375, 0.1875, 0.1875}, -- NodeBox18 - {-0.5, -0.1875, -0.1875, -0.375, -0.0625, -0.0625}, -- NodeBox19 - {-0.5, -0.25, -0.25, -0.375, -0.125, -0.125}, -- NodeBox20 - {-0.5, -0.3125, -0.3125, -0.375, -0.1875, -0.1875}, -- NodeBox21 - {-0.5, -0.375, -0.375, -0.375, -0.25, -0.25}, -- NodeBox22 - {-0.5, -0.4375, -0.4375, -0.375, -0.3125, -0.3125}, -- NodeBox23 - {0.3125, -0.4375, 0.375, 0.4375, -0.3125, 0.5}, -- NodeBox3 - {0.25, -0.375, 0.375, 0.375, -0.25, 0.5}, -- NodeBox4 - {0.1875, -0.3125, 0.375, 0.3125, -0.1875, 0.5}, -- NodeBox5 - {0.125, -0.25, 0.375, 0.25, -0.125, 0.5}, -- NodeBox6 - {0.0625, -0.1875, 0.375, 0.1875, -0.0625, 0.5}, -- NodeBox7 - {-0.125, -0.125, 0.375, 0.125, 0.125, 0.5}, -- NodeBox8 - {-0.1875, 0.0625, 0.375, -0.0625, 0.1875, 0.5}, -- NodeBox9 - {-0.25, 0.125, 0.375, -0.125, 0.25, 0.5}, -- NodeBox10 - {-0.3125, 0.1875, 0.375, -0.1875, 0.3125, 0.5}, -- NodeBox11 - {-0.375, 0.25, 0.375, -0.25, 0.375, 0.5}, -- NodeBox12 - {-0.4375, 0.3125, 0.375, -0.3125, 0.4375, 0.5}, -- NodeBox13 - {0.3125, 0.3125, 0.375, 0.4375, 0.4375, 0.5}, -- NodeBox14 - {0.25, 0.25, 0.375, 0.375, 0.375, 0.5}, -- NodeBox15 - {0.1875, 0.1875, 0.375, 0.3125, 0.3125, 0.5}, -- NodeBox16 - {0.125, 0.125, 0.375, 0.25, 0.25, 0.5}, -- NodeBox17 - {0.0625, 0.0625, 0.375, 0.1875, 0.1875, 0.5}, -- NodeBox18 - {-0.1875, -0.1875, 0.375, -0.0625, -0.0625, 0.5}, -- NodeBox19 - {-0.25, -0.25, 0.375, -0.125, -0.125, 0.5}, -- NodeBox20 - {-0.3125, -0.3125, 0.375, -0.1875, -0.1875, 0.5}, -- NodeBox21 - {-0.375, -0.375, 0.375, -0.25, -0.25, 0.5}, -- NodeBox22 - {-0.4375, -0.4375, 0.375, -0.3125, -0.3125, 0.5}, -- NodeBox23 - {0.375, -0.4375, -0.4375, 0.5, -0.3125, -0.3125}, -- NodeBox3 - {0.375, -0.375, -0.375, 0.5, -0.25, -0.25}, -- NodeBox4 - {0.375, -0.3125, -0.3125, 0.5, -0.1875, -0.1875}, -- NodeBox5 - {0.375, -0.25, -0.25, 0.5, -0.125, -0.125}, -- NodeBox6 - {0.375, -0.1875, -0.1875, 0.5, -0.0625, -0.0625}, -- NodeBox7 - {0.375, -0.125, -0.125, 0.5, 0.125, 0.125}, -- NodeBox8 - {0.375, 0.0625, 0.0625, 0.5, 0.1875, 0.1875}, -- NodeBox9 - {0.375, 0.125, 0.125, 0.5, 0.25, 0.25}, -- NodeBox10 - {0.375, 0.1875, 0.1875, 0.5, 0.3125, 0.3125}, -- NodeBox11 - {0.375, 0.25, 0.25, 0.5, 0.375, 0.375}, -- NodeBox12 - {0.375, 0.3125, 0.3125, 0.5, 0.4375, 0.4375}, -- NodeBox13 - {0.375, 0.3125, -0.4375, 0.5, 0.4375, -0.3125}, -- NodeBox14 - {0.375, 0.25, -0.375, 0.5, 0.375, -0.25}, -- NodeBox15 - {0.375, 0.1875, -0.3125, 0.5, 0.3125, -0.1875}, -- NodeBox16 - {0.375, 0.125, -0.25, 0.5, 0.25, -0.125}, -- NodeBox17 - {0.375, 0.0625, -0.1875, 0.5, 0.1875, -0.0625}, -- NodeBox18 - {0.375, -0.1875, 0.0625, 0.5, -0.0625, 0.1875}, -- NodeBox19 - {0.375, -0.25, 0.125, 0.5, -0.125, 0.25}, -- NodeBox20 - {0.375, -0.3125, 0.1875, 0.5, -0.1875, 0.3125}, -- NodeBox21 - {0.375, -0.375, 0.25, 0.5, -0.25, 0.375}, -- NodeBox22 - {0.375, -0.4375, 0.3125, 0.5, -0.3125, 0.4375}, -- NodeBox23 - {-0.5, -0.5, 0.375, -0.375, 0.5, 0.5}, -- NodeBox1 - {0.375, -0.5, 0.375, 0.5, 0.5, 0.5}, -- NodeBox2 + {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 = { @@ -3033,190 +3032,190 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then sounds = default.node_sound_metal_defaults(), }) - minetest.register_node("bridger:small_support_top_"..bridge_colors, { - description = bridge_desc.." Small Support Top", + minetest.register_node("bridger:small_support_top_" .. bridge_colors, { + description = bridge_desc .. " Small Support Top", drawtype = "nodebox", - tiles = {"bridges_"..bridge_colors..".png"}, - inventory_image = "bridges_"..bridge_colors..".png^bridges_small_support_top.png^[makealpha:255,126,126", - wield_image = "bridges_"..bridge_colors..".png^bridges_small_support_top.png^[makealpha:255,126,126", + tiles = {"bridges_" .. bridge_colors .. ".png"}, + inventory_image = "bridges_" .. bridge_colors .. ".png^bridges_small_support_top.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_colors .. ".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}, -- NodeBox1 - {-0.5, -0.5, -0.5, -0.375, 1.5, -0.375}, -- NodeBox2 - {0.3125, -0.4375, -0.5, 0.4375, -0.3125, -0.375}, -- NodeBox3 - {0.25, -0.375, -0.5, 0.375, -0.25, -0.375}, -- NodeBox4 - {0.1875, -0.3125, -0.5, 0.3125, -0.1875, -0.375}, -- NodeBox5 - {0.125, -0.25, -0.5, 0.25, -0.125, -0.375}, -- NodeBox6 - {0.0625, -0.1875, -0.5, 0.1875, -0.0625, -0.375}, -- NodeBox7 - {-0.125, -0.125, -0.5, 0.125, 0.125, -0.375}, -- NodeBox8 - {-0.1875, -0.1875, -0.5, -0.0625, -0.0625, -0.375}, -- NodeBox9 - {-0.25, -0.25, -0.5, -0.125, -0.125, -0.375}, -- NodeBox10 - {-0.3125, -0.3125, -0.5, -0.1875, -0.1875, -0.375}, -- NodeBox11 - {-0.375, -0.375, -0.5, -0.25, -0.25, -0.375}, -- NodeBox12 - {-0.4375, -0.4375, -0.5, -0.3125, -0.3125, -0.375}, -- NodeBox13 - {0.0625, 0.0625, -0.5, 0.1875, 0.1875, -0.375}, -- NodeBox14 - {0.125, 0.125, -0.5, 0.25, 0.25, -0.375}, -- NodeBox15 - {0.1875, 0.1875, -0.5, 0.3125, 0.3125, -0.375}, -- NodeBox16 - {0.25, 0.25, -0.5, 0.375, 0.375, -0.375}, -- NodeBox17 - {0.3125, 0.3125, -0.5, 0.4375, 0.4375, -0.375}, -- NodeBox18 - {-0.1875, 0.0625, -0.5, -0.0625, 0.1875, -0.375}, -- NodeBox19 - {-0.25, 0.125, -0.5, -0.125, 0.25, -0.375}, -- NodeBox20 - {-0.3125, 0.1875, -0.5, -0.1875, 0.3125, -0.375}, -- NodeBox21 - {-0.375, 0.25, -0.5, -0.25, 0.375, -0.375}, -- NodeBox22 - {-0.4375, 0.3125, -0.5, -0.3125, 0.4375, -0.375}, -- NodeBox23 - {-0.4375, 0.5625, -0.5, -0.3125, 0.6875, -0.375}, -- NodeBox24 - {-0.375, 0.625, -0.5, -0.25, 0.75, -0.375}, -- NodeBox25 - {-0.3125, 0.6875, -0.5, -0.1875, 0.8125, -0.375}, -- NodeBox26 - {-0.25, 0.75, -0.5, -0.125, 0.875, -0.375}, -- NodeBox27 - {-0.1875, 0.8125, -0.5, -0.0625001, 0.9375, -0.375}, -- NodeBox28 - {0.3125, 0.5625, -0.5, 0.4375, 0.6875, -0.375}, -- NodeBox29 - {0.25, 0.625, -0.5, 0.375, 0.75, -0.375}, -- NodeBox30 - {0.1875, 0.6875, -0.5, 0.3125, 0.8125, -0.375}, -- NodeBox31 - {0.125, 0.75, -0.5, 0.25, 0.875, -0.375}, -- NodeBox32 - {0.0625, 0.8125, -0.5, 0.1875, 0.9375, -0.375}, -- NodeBox33 - {-0.125, 0.875, -0.5, 0.125, 1.125, -0.375}, -- NodeBox34 - {0.0625, 1.0625, -0.5, 0.1875, 1.1875, -0.375}, -- NodeBox35 - {0.125, 1.125, -0.5, 0.25, 1.25, -0.375}, -- NodeBox36 - {0.1875, 1.1875, -0.5, 0.3125, 1.3125, -0.375}, -- NodeBox37 - {0.25, 1.25, -0.5, 0.375, 1.375, -0.375}, -- NodeBox38 - {0.3125, 1.3125, -0.5, 0.4375, 1.4375, -0.375}, -- NodeBox39 - {-0.1875, 1.0625, -0.5, -0.0625, 1.1875, -0.375}, -- NodeBox40 - {-0.25, 1.125, -0.5, -0.125, 1.25, -0.375}, -- NodeBox41 - {-0.3125, 1.1875, -0.5, -0.1875, 1.3125, -0.375}, -- NodeBox42 - {-0.375, 1.25, -0.5, -0.25, 1.375, -0.375}, -- NodeBox43 - {-0.4375, 1.3125, -0.5, -0.3125, 1.4375, -0.375}, -- NodeBox44 - {-0.5, -0.5, 0.375, -0.375, 1.5, 0.5}, -- NodeBox1 - {0.375, -0.5, 0.375, 0.5, 1.5, 0.5}, -- NodeBox2 - {-0.4375, -0.4375, 0.375, -0.3125, -0.3125, 0.5}, -- NodeBox3 - {-0.375, -0.375, 0.375, -0.25, -0.25, 0.5}, -- NodeBox4 - {-0.3125, -0.3125, 0.375, -0.1875, -0.1875, 0.5}, -- NodeBox5 - {-0.25, -0.25, 0.375, -0.125, -0.125, 0.5}, -- NodeBox6 - {-0.1875, -0.1875, 0.375, -0.0625, -0.0625, 0.5}, -- NodeBox7 - {-0.125, -0.125, 0.375, 0.125, 0.125, 0.5}, -- NodeBox8 - {0.0625, -0.1875, 0.375, 0.1875, -0.0625, 0.5}, -- NodeBox9 - {0.125, -0.25, 0.375, 0.25, -0.125, 0.5}, -- NodeBox10 - {0.1875, -0.3125, 0.375, 0.3125, -0.1875, 0.5}, -- NodeBox11 - {0.25, -0.375, 0.375, 0.375, -0.25, 0.5}, -- NodeBox12 - {0.3125, -0.4375, 0.375, 0.4375, -0.3125, 0.5}, -- NodeBox13 - {-0.1875, 0.0625, 0.375, -0.0625, 0.1875, 0.5}, -- NodeBox14 - {-0.25, 0.125, 0.375, -0.125, 0.25, 0.5}, -- NodeBox15 - {-0.3125, 0.1875, 0.375, -0.1875, 0.3125, 0.5}, -- NodeBox16 - {-0.375, 0.25, 0.375, -0.25, 0.375, 0.5}, -- NodeBox17 - {-0.4375, 0.3125, 0.375, -0.3125, 0.4375, 0.5}, -- NodeBox18 - {0.0625, 0.0625, 0.375, 0.1875, 0.1875, 0.5}, -- NodeBox19 - {0.125, 0.125, 0.375, 0.25, 0.25, 0.5}, -- NodeBox20 - {0.1875, 0.1875, 0.375, 0.3125, 0.3125, 0.5}, -- NodeBox21 - {0.25, 0.25, 0.375, 0.375, 0.375, 0.5}, -- NodeBox22 - {0.3125, 0.3125, 0.375, 0.4375, 0.4375, 0.5}, -- NodeBox23 - {0.3125, 0.5625, 0.375, 0.4375, 0.6875, 0.5}, -- NodeBox24 - {0.25, 0.625, 0.375, 0.375, 0.75, 0.5}, -- NodeBox25 - {0.1875, 0.6875, 0.375, 0.3125, 0.8125, 0.5}, -- NodeBox26 - {0.125, 0.75, 0.375, 0.25, 0.875, 0.5}, -- NodeBox27 - {0.0625001, 0.8125, 0.375, 0.1875, 0.9375, 0.5}, -- NodeBox28 - {-0.4375, 0.5625, 0.375, -0.3125, 0.6875, 0.5}, -- NodeBox29 - {-0.375, 0.625, 0.375, -0.25, 0.75, 0.5}, -- NodeBox30 - {-0.3125, 0.6875, 0.375, -0.1875, 0.8125, 0.5}, -- NodeBox31 - {-0.25, 0.75, 0.375, -0.125, 0.875, 0.5}, -- NodeBox32 - {-0.1875, 0.8125, 0.375, -0.0625, 0.9375, 0.5}, -- NodeBox33 - {-0.125, 0.875, 0.375, 0.125, 1.125, 0.5}, -- NodeBox34 - {-0.1875, 1.0625, 0.375, -0.0625, 1.1875, 0.5}, -- NodeBox35 - {-0.25, 1.125, 0.375, -0.125, 1.25, 0.5}, -- NodeBox36 - {-0.3125, 1.1875, 0.375, -0.1875, 1.3125, 0.5}, -- NodeBox37 - {-0.375, 1.25, 0.375, -0.25, 1.375, 0.5}, -- NodeBox38 - {-0.4375, 1.3125, 0.375, -0.3125, 1.4375, 0.5}, -- NodeBox39 - {0.0625, 1.0625, 0.375, 0.1875, 1.1875, 0.5}, -- NodeBox40 - {0.125, 1.125, 0.375, 0.25, 1.25, 0.5}, -- NodeBox41 - {0.1875, 1.1875, 0.375, 0.3125, 1.3125, 0.5}, -- NodeBox42 - {0.25, 1.25, 0.375, 0.375, 1.375, 0.5}, -- NodeBox43 - {0.3125, 1.3125, 0.375, 0.4375, 1.4375, 0.5}, -- NodeBox44 - {0.375, -0.4375, 0.3125, 0.5, -0.3125, 0.4375}, -- NodeBox3 - {0.375, -0.375, 0.25, 0.5, -0.25, 0.375}, -- NodeBox4 - {0.375, -0.3125, 0.1875, 0.5, -0.1875, 0.3125}, -- NodeBox5 - {0.375, -0.25, 0.125, 0.5, -0.125, 0.25}, -- NodeBox6 - {0.375, -0.1875, 0.0625, 0.5, -0.0625, 0.1875}, -- NodeBox7 - {0.375, -0.125, -0.125, 0.5, 0.125, 0.125}, -- NodeBox8 - {0.375, -0.1875, -0.1875, 0.5, -0.0625, -0.0625}, -- NodeBox9 - {0.375, -0.25, -0.25, 0.5, -0.125, -0.125}, -- NodeBox10 - {0.375, -0.3125, -0.3125, 0.5, -0.1875, -0.1875}, -- NodeBox11 - {0.375, -0.375, -0.375, 0.5, -0.25, -0.25}, -- NodeBox12 - {0.375, -0.4375, -0.4375, 0.5, -0.3125, -0.3125}, -- NodeBox13 - {0.375, 0.0625, 0.0625, 0.5, 0.1875, 0.1875}, -- NodeBox14 - {0.375, 0.125, 0.125, 0.5, 0.25, 0.25}, -- NodeBox15 - {0.375, 0.1875, 0.1875, 0.5, 0.3125, 0.3125}, -- NodeBox16 - {0.375, 0.25, 0.25, 0.5, 0.375, 0.375}, -- NodeBox17 - {0.375, 0.3125, 0.3125, 0.5, 0.4375, 0.4375}, -- NodeBox18 - {0.375, 0.0625, -0.1875, 0.5, 0.1875, -0.0625}, -- NodeBox19 - {0.375, 0.125, -0.25, 0.5, 0.25, -0.125}, -- NodeBox20 - {0.375, 0.1875, -0.3125, 0.5, 0.3125, -0.1875}, -- NodeBox21 - {0.375, 0.25, -0.375, 0.5, 0.375, -0.25}, -- NodeBox22 - {0.375, 0.3125, -0.4375, 0.5, 0.4375, -0.3125}, -- NodeBox23 - {0.375, 0.5625, -0.4375, 0.5, 0.6875, -0.3125}, -- NodeBox24 - {0.375, 0.625, -0.375, 0.5, 0.75, -0.25}, -- NodeBox25 - {0.375, 0.6875, -0.3125, 0.5, 0.8125, -0.1875}, -- NodeBox26 - {0.375, 0.75, -0.25, 0.5, 0.875, -0.125}, -- NodeBox27 - {0.375, 0.8125, -0.1875, 0.5, 0.9375, -0.0625001}, -- NodeBox28 - {0.375, 0.5625, 0.3125, 0.5, 0.6875, 0.4375}, -- NodeBox29 - {0.375, 0.625, 0.25, 0.5, 0.75, 0.375}, -- NodeBox30 - {0.375, 0.6875, 0.1875, 0.5, 0.8125, 0.3125}, -- NodeBox31 - {0.375, 0.75, 0.125, 0.5, 0.875, 0.25}, -- NodeBox32 - {0.375, 0.8125, 0.0625, 0.5, 0.9375, 0.1875}, -- NodeBox33 - {0.375, 0.875, -0.125, 0.5, 1.125, 0.125}, -- NodeBox34 - {0.375, 1.0625, 0.0625, 0.5, 1.1875, 0.1875}, -- NodeBox35 - {0.375, 1.125, 0.125, 0.5, 1.25, 0.25}, -- NodeBox36 - {0.375, 1.1875, 0.1875, 0.5, 1.3125, 0.3125}, -- NodeBox37 - {0.375, 1.25, 0.25, 0.5, 1.375, 0.375}, -- NodeBox38 - {0.375, 1.3125, 0.3125, 0.5, 1.4375, 0.4375}, -- NodeBox39 - {0.375, 1.0625, -0.1875, 0.5, 1.1875, -0.0625}, -- NodeBox40 - {0.375, 1.125, -0.25, 0.5, 1.25, -0.125}, -- NodeBox41 - {0.375, 1.1875, -0.3125, 0.5, 1.3125, -0.1875}, -- NodeBox42 - {0.375, 1.25, -0.375, 0.5, 1.375, -0.25}, -- NodeBox43 - {0.375, 1.3125, -0.4375, 0.5, 1.4375, -0.3125}, -- NodeBox44 - {-0.5, -0.4375, -0.4375, -0.375, -0.3125, -0.3125}, -- NodeBox3 - {-0.5, -0.375, -0.375, -0.375, -0.25, -0.25}, -- NodeBox4 - {-0.5, -0.3125, -0.3125, -0.375, -0.1875, -0.1875}, -- NodeBox5 - {-0.5, -0.25, -0.25, -0.375, -0.125, -0.125}, -- NodeBox6 - {-0.5, -0.1875, -0.1875, -0.375, -0.0625, -0.0625}, -- NodeBox7 - {-0.5, -0.125, -0.125, -0.375, 0.125, 0.125}, -- NodeBox8 - {-0.5, -0.1875, 0.0625, -0.375, -0.0625, 0.1875}, -- NodeBox9 - {-0.5, -0.25, 0.125, -0.375, -0.125, 0.25}, -- NodeBox10 - {-0.5, -0.3125, 0.1875, -0.375, -0.1875, 0.3125}, -- NodeBox11 - {-0.5, -0.375, 0.25, -0.375, -0.25, 0.375}, -- NodeBox12 - {-0.5, -0.4375, 0.3125, -0.375, -0.3125, 0.4375}, -- NodeBox13 - {-0.5, 0.0625, -0.1875, -0.375, 0.1875, -0.0625}, -- NodeBox14 - {-0.5, 0.125, -0.25, -0.375, 0.25, -0.125}, -- NodeBox15 - {-0.5, 0.1875, -0.3125, -0.375, 0.3125, -0.1875}, -- NodeBox16 - {-0.5, 0.25, -0.375, -0.375, 0.375, -0.25}, -- NodeBox17 - {-0.5, 0.3125, -0.4375, -0.375, 0.4375, -0.3125}, -- NodeBox18 - {-0.5, 0.0625, 0.0625, -0.375, 0.1875, 0.1875}, -- NodeBox19 - {-0.5, 0.125, 0.125, -0.375, 0.25, 0.25}, -- NodeBox20 - {-0.5, 0.1875, 0.1875, -0.375, 0.3125, 0.3125}, -- NodeBox21 - {-0.5, 0.25, 0.25, -0.375, 0.375, 0.375}, -- NodeBox22 - {-0.5, 0.3125, 0.3125, -0.375, 0.4375, 0.4375}, -- NodeBox23 - {-0.5, 0.5625, 0.3125, -0.375, 0.6875, 0.4375}, -- NodeBox24 - {-0.5, 0.625, 0.25, -0.375, 0.75, 0.375}, -- NodeBox25 - {-0.5, 0.6875, 0.1875, -0.375, 0.8125, 0.3125}, -- NodeBox26 - {-0.5, 0.75, 0.125, -0.375, 0.875, 0.25}, -- NodeBox27 - {-0.5, 0.8125, 0.0625001, -0.375, 0.9375, 0.1875}, -- NodeBox28 - {-0.5, 0.5625, -0.4375, -0.375, 0.6875, -0.3125}, -- NodeBox29 - {-0.5, 0.625, -0.375, -0.375, 0.75, -0.25}, -- NodeBox30 - {-0.5, 0.6875, -0.3125, -0.375, 0.8125, -0.1875}, -- NodeBox31 - {-0.5, 0.75, -0.25, -0.375, 0.875, -0.125}, -- NodeBox32 - {-0.5, 0.8125, -0.1875, -0.375, 0.9375, -0.0625}, -- NodeBox33 - {-0.5, 0.875, -0.125, -0.375, 1.125, 0.125}, -- NodeBox34 - {-0.5, 1.0625, -0.1875, -0.375, 1.1875, -0.0625}, -- NodeBox35 - {-0.5, 1.125, -0.25, -0.375, 1.25, -0.125}, -- NodeBox36 - {-0.5, 1.1875, -0.3125, -0.375, 1.3125, -0.1875}, -- NodeBox37 - {-0.5, 1.25, -0.375, -0.375, 1.375, -0.25}, -- NodeBox38 - {-0.5, 1.3125, -0.4375, -0.375, 1.4375, -0.3125}, -- NodeBox39 - {-0.5, 1.0625, 0.0625, -0.375, 1.1875, 0.1875}, -- NodeBox40 - {-0.5, 1.125, 0.125, -0.375, 1.25, 0.25}, -- NodeBox41 - {-0.5, 1.1875, 0.1875, -0.375, 1.3125, 0.3125}, -- NodeBox42 - {-0.5, 1.25, 0.25, -0.375, 1.375, 0.375}, -- NodeBox43 - {-0.5, 1.3125, 0.3125, -0.375, 1.4375, 0.4375}, -- NodeBox44 + {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 = { @@ -3229,105 +3228,105 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then sounds = default.node_sound_metal_defaults(), }) - minetest.register_node("bridger:medium_support_"..bridge_colors, { - description = bridge_desc.." Medium Support", + minetest.register_node("bridger:medium_support_" .. bridge_colors, { + description = bridge_desc .. " Medium Support", drawtype = "nodebox", - tiles = {"bridges_"..bridge_colors..".png"}, - inventory_image = "bridges_"..bridge_colors..".png^bridges_medium_support.png^[makealpha:255,126,126", - wield_image = "bridges_"..bridge_colors..".png^bridges_medium_support.png^[makealpha:255,126,126", + tiles = {"bridges_" .. bridge_colors .. ".png"}, + inventory_image = "bridges_" .. bridge_colors .. ".png^bridges_medium_support.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_colors .. ".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}, -- NodeBox1 - {1.25, -0.5, 0.3125, 1.5, 2.5, 0.5625}, -- NodeBox2 - {-1.4375, 2.3125, 0.375, -1.3125, 2.4375, 0.5}, -- NodeBox3 - {-1.375, 2.25, 0.375, -1.25, 2.375, 0.5}, -- NodeBox4 - {-1.3125, 2.1875, 0.375, -1.1875, 2.3125, 0.5}, -- NodeBox5 - {-1.25, 2.125, 0.375, -1.125, 2.25, 0.5}, -- NodeBox6 - {-1.1875, 2.0625, 0.375, -1.0625, 2.1875, 0.5}, -- NodeBox7 - {-1.125, 2, 0.375, -1, 2.125, 0.5}, -- NodeBox8 - {-1.0625, 1.9375, 0.375, -0.9375, 2.0625, 0.5}, -- NodeBox9 - {-1, 1.875, 0.375, -0.875, 2, 0.5}, -- NodeBox10 - {-0.9375, 1.8125, 0.375, -0.8125, 1.9375, 0.5}, -- NodeBox11 - {-0.875, 1.75, 0.375, -0.75, 1.875, 0.5}, -- NodeBox12 - {-0.8125, 1.6875, 0.375, -0.6875, 1.8125, 0.5}, -- NodeBox13 - {-0.75, 1.625, 0.375, -0.625, 1.75, 0.5}, -- NodeBox14 - {-0.6875, 1.5625, 0.375, -0.5625, 1.6875, 0.5}, -- NodeBox15 - {-0.625, 1.5, 0.375, -0.5, 1.625, 0.5}, -- NodeBox16 - {-0.5625, 1.4375, 0.375, -0.4375, 1.5625, 0.5}, -- NodeBox17 - {-0.5, 1.375, 0.375, -0.375, 1.5, 0.5}, -- NodeBox18 - {-0.4375, 1.3125, 0.375, -0.3125, 1.4375, 0.5}, -- NodeBox19 - {-0.375, 1.25, 0.375, -0.25, 1.375, 0.5}, -- NodeBox20 - {-0.3125, 1.1875, 0.375, -0.1875, 1.3125, 0.5}, -- NodeBox21 - {-0.25, 1.125, 0.375, -0.125, 1.25, 0.5}, -- NodeBox22 - {-0.1875, 1.0625, 0.375, -0.0625, 1.1875, 0.5}, -- NodeBox23 - {-0.125, 0.875, 0.375, 0.125, 1.125, 0.5}, -- NodeBox24 - {0.0625, 0.8125, 0.375, 0.1875, 0.9375, 0.5}, -- NodeBox25 - {0.125, 0.75, 0.375, 0.25, 0.875, 0.5}, -- NodeBox26 - {0.1875, 0.6875, 0.375, 0.3125, 0.8125, 0.5}, -- NodeBox27 - {0.25, 0.625, 0.375, 0.375, 0.75, 0.5}, -- NodeBox28 - {0.3125, 0.5625, 0.375, 0.4375, 0.6875, 0.5}, -- NodeBox29 - {0.375, 0.5, 0.375, 0.5, 0.625, 0.5}, -- NodeBox30 - {0.4375, 0.4375, 0.375, 0.5625, 0.5625, 0.5}, -- NodeBox31 - {0.5, 0.375, 0.375, 0.625, 0.5, 0.5}, -- NodeBox32 - {0.5625, 0.3125, 0.375, 0.6875, 0.4375, 0.5}, -- NodeBox33 - {0.625, 0.25, 0.375, 0.75, 0.375, 0.5}, -- NodeBox34 - {0.6875, 0.1875, 0.375, 0.8125, 0.3125, 0.5}, -- NodeBox35 - {0.75, 0.125, 0.375, 0.875, 0.25, 0.5}, -- NodeBox36 - {0.8125, 0.0625, 0.375, 0.9375, 0.1875, 0.5}, -- NodeBox37 - {0.875, 0, 0.375, 1, 0.125, 0.5}, -- NodeBox38 - {0.9375, -0.0625, 0.375, 1.0625, 0.0625, 0.5}, -- NodeBox39 - {1, -0.125, 0.375, 1.125, 0, 0.5}, -- NodeBox40 - {1.0625, -0.1875, 0.375, 1.1875, -0.0625, 0.5}, -- NodeBox41 - {1.125, -0.25, 0.375, 1.25, -0.125, 0.5}, -- NodeBox42 - {1.1875, -0.3125, 0.375, 1.3125, -0.1875, 0.5}, -- NodeBox43 - {1.25, -0.375, 0.375, 1.375, -0.25, 0.5}, -- NodeBox44 - {1.3125, -0.4375, 0.375, 1.4375, -0.3125, 0.5}, -- NodeBox45 - {1.3125, 2.3125, 0.375, 1.4375, 2.4375, 0.5}, -- NodeBox3 - {1.25, 2.25, 0.375, 1.375, 2.375, 0.5}, -- NodeBox4 - {1.1875, 2.1875, 0.375, 1.3125, 2.3125, 0.5}, -- NodeBox5 - {1.125, 2.125, 0.375, 1.25, 2.25, 0.5}, -- NodeBox6 - {1.0625, 2.0625, 0.375, 1.1875, 2.1875, 0.5}, -- NodeBox7 - {1, 2, 0.375, 1.125, 2.125, 0.5}, -- NodeBox8 - {0.9375, 1.9375, 0.375, 1.0625, 2.0625, 0.5}, -- NodeBox9 - {0.875, 1.875, 0.375, 1, 2, 0.5}, -- NodeBox10 - {0.8125, 1.8125, 0.375, 0.9375, 1.9375, 0.5}, -- NodeBox11 - {0.75, 1.75, 0.375, 0.875, 1.875, 0.5}, -- NodeBox12 - {0.6875, 1.6875, 0.375, 0.8125, 1.8125, 0.5}, -- NodeBox13 - {0.625, 1.625, 0.375, 0.75, 1.75, 0.5}, -- NodeBox14 - {0.5625, 1.5625, 0.375, 0.6875, 1.6875, 0.5}, -- NodeBox15 - {0.5, 1.5, 0.375, 0.625, 1.625, 0.5}, -- NodeBox16 - {0.4375, 1.4375, 0.375, 0.5625, 1.5625, 0.5}, -- NodeBox17 - {0.375, 1.375, 0.375, 0.5, 1.5, 0.5}, -- NodeBox18 - {0.3125, 1.3125, 0.375, 0.4375, 1.4375, 0.5}, -- NodeBox19 - {0.25, 1.25, 0.375, 0.375, 1.375, 0.5}, -- NodeBox20 - {0.1875, 1.1875, 0.375, 0.3125, 1.3125, 0.5}, -- NodeBox21 - {0.125, 1.125, 0.375, 0.25, 1.25, 0.5}, -- NodeBox22 - {0.0625, 1.0625, 0.375, 0.1875, 1.1875, 0.5}, -- NodeBox23 - {-0.1875, 0.8125, 0.375, -0.0625, 0.9375, 0.5}, -- NodeBox25 - {-0.25, 0.75, 0.375, -0.125, 0.875, 0.5}, -- NodeBox26 - {-0.3125, 0.6875, 0.375, -0.1875, 0.8125, 0.5}, -- NodeBox27 - {-0.375, 0.625, 0.375, -0.25, 0.75, 0.5}, -- NodeBox28 - {-0.4375, 0.5625, 0.375, -0.3125, 0.6875, 0.5}, -- NodeBox29 - {-0.5, 0.5, 0.375, -0.375, 0.625, 0.5}, -- NodeBox30 - {-0.5625, 0.4375, 0.375, -0.4375, 0.5625, 0.5}, -- NodeBox31 - {-0.625, 0.375, 0.375, -0.5, 0.5, 0.5}, -- NodeBox32 - {-0.6875, 0.3125, 0.375, -0.5625, 0.4375, 0.5}, -- NodeBox33 - {-0.75, 0.25, 0.375, -0.625, 0.375, 0.5}, -- NodeBox34 - {-0.8125, 0.1875, 0.375, -0.6875, 0.3125, 0.5}, -- NodeBox35 - {-0.875, 0.125, 0.375, -0.75, 0.25, 0.5}, -- NodeBox36 - {-0.9375, 0.0625, 0.375, -0.8125, 0.1875, 0.5}, -- NodeBox37 - {-1, 0, 0.375, -0.875, 0.125, 0.5}, -- NodeBox38 - {-1.0625, -0.0625, 0.375, -0.9375, 0.0625, 0.5}, -- NodeBox39 - {-1.125, -0.125, 0.375, -1, 0, 0.5}, -- NodeBox40 - {-1.1875, -0.1875, 0.375, -1.0625, -0.0625, 0.5}, -- NodeBox41 - {-1.25, -0.25, 0.375, -1.125, -0.125, 0.5}, -- NodeBox42 - {-1.3125, -0.3125, 0.375, -1.1875, -0.1875, 0.5}, -- NodeBox43 - {-1.375, -0.375, 0.375, -1.25, -0.25, 0.5}, -- NodeBox44 - {-1.4375, -0.4375, 0.375, -1.3125, -0.3125, 0.5}, -- NodeBox45 + {-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 = { @@ -3340,20 +3339,20 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then sounds = default.node_sound_metal_defaults(), }) - minetest.register_node("bridger:medium_support_bot_"..bridge_colors, { - description = bridge_desc.." Bottom Medium Support", + minetest.register_node("bridger:medium_support_bot_" .. bridge_colors, { + description = bridge_desc .. " Bottom Medium Support", drawtype = "nodebox", - tiles = {"bridges_"..bridge_colors..".png"}, - inventory_image = "bridges_"..bridge_colors..".png^bridges_medium_support_bot.png^[makealpha:255,126,126", - wield_image = "bridges_"..bridge_colors..".png^bridges_medium_support_bot.png^[makealpha:255,126,126", + tiles = {"bridges_" .. bridge_colors .. ".png"}, + inventory_image = "bridges_" .. bridge_colors .. ".png^bridges_medium_support_bot.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_colors .. ".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}, -- NodeBox1 - {1.1875, -0.5, 0.25, 1.5625, 0.5, 0.625}, -- NodeBox2 + {-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 = { @@ -3366,112 +3365,112 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then sounds = default.node_sound_metal_defaults(), }) - minetest.register_node("bridger:large_support_"..bridge_colors, { - description = bridge_desc.." Large Support", + minetest.register_node("bridger:large_support_" .. bridge_colors, { + description = bridge_desc .. " Large Support", drawtype = "nodebox", - tiles = {"bridges_"..bridge_colors..".png"}, - inventory_image = "bridges_"..bridge_colors..".png^bridges_large_support.png^[makealpha:255,126,126", - wield_image = "bridges_"..bridge_colors..".png^bridges_large_support.png^[makealpha:255,126,126", + tiles = {"bridges_" .. bridge_colors .. ".png"}, + inventory_image = "bridges_" .. bridge_colors .. ".png^bridges_large_support.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_colors .. ".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}, -- NodeBox1 - {2.25, -0.5, 0.3125, 2.5, 2.5, 0.5625}, -- NodeBox2 - {2.25, 2.375, 0.375, 2.375, 2.5, 0.5}, -- NodeBox48 - {2.125, 2.3125, 0.375, 2.3125, 2.4375, 0.5}, -- NodeBox49 - {2, 2.25, 0.375, 2.1875, 2.375, 0.5}, -- NodeBox50 - {1.9375, 2.1875, 0.375, 2.0625, 2.3125, 0.5}, -- NodeBox51 - {1.8125, 2.125, 0.375, 2, 2.25, 0.5}, -- NodeBox52 - {1.75, 2.0625, 0.375, 1.875, 2.1875, 0.5}, -- NodeBox53 - {1.625, 2, 0.375, 1.8125, 2.125, 0.5}, -- NodeBox54 - {1.5, 1.9375, 0.375, 1.6875, 2.0625, 0.5}, -- NodeBox55 - {1.4375, 1.875, 0.375, 1.5625, 2, 0.5}, -- NodeBox56 - {1.3125, 1.8125, 0.375, 1.5, 1.9375, 0.5}, -- NodeBox57 - {1.25, 1.75, 0.375, 1.375, 1.875, 0.5}, -- NodeBox58 - {1.125, 1.6875, 0.375, 1.3125, 1.8125, 0.5}, -- NodeBox59 - {1, 1.625, 0.375, 1.1875, 1.75, 0.5}, -- NodeBox60 - {0.9375, 1.5625, 0.375, 1.0625, 1.6875, 0.5}, -- NodeBox61 - {0.8125, 1.5, 0.375, 1, 1.625, 0.5}, -- NodeBox62 - {0.75, 1.4375, 0.375, 0.875, 1.5625, 0.5}, -- NodeBox63 - {0.625, 1.375, 0.375, 0.8125, 1.5, 0.5}, -- NodeBox64 - {0.5, 1.3125, 0.375, 0.6875, 1.4375, 0.5}, -- NodeBox65 - {0.4375, 1.25, 0.375, 0.5625, 1.375, 0.5}, -- NodeBox66 - {0.3125, 1.1875, 0.375, 0.5, 1.3125, 0.5}, -- NodeBox67 - {0.25, 1.125, 0.375, 0.375, 1.25, 0.5}, -- NodeBox68 - {0.125, 1.0625, 0.375, 0.3125, 1.1875, 0.5}, -- NodeBox69 - {0, 1, 0.375, 0.1875, 1.125, 0.5}, -- NodeBox70 - {-2.375, -0.5, 0.375, -2.25, -0.375, 0.5}, -- NodeBox71 - {-2.3125, -0.4375, 0.375, -2.125, -0.3125, 0.5}, -- NodeBox72 - {-2.1875, -0.375, 0.375, -2, -0.25, 0.5}, -- NodeBox73 - {-2.0625, -0.3125, 0.375, -1.9375, -0.1875, 0.5}, -- NodeBox74 - {-2, -0.25, 0.375, -1.8125, -0.125, 0.5}, -- NodeBox75 - {-1.875, -0.1875, 0.375, -1.75, -0.0625, 0.5}, -- NodeBox76 - {-1.8125, -0.125, 0.375, -1.625, 0, 0.5}, -- NodeBox77 - {-1.6875, -0.0625, 0.375, -1.5, 0.0625, 0.5}, -- NodeBox78 - {-1.5625, 0, 0.375, -1.4375, 0.125, 0.5}, -- NodeBox79 - {-1.5, 0.0625, 0.375, -1.3125, 0.1875, 0.5}, -- NodeBox80 - {-1.375, 0.125, 0.375, -1.25, 0.25, 0.5}, -- NodeBox81 - {-1.3125, 0.1875, 0.375, -1.125, 0.3125, 0.5}, -- NodeBox82 - {-1.1875, 0.25, 0.375, -1, 0.375, 0.5}, -- NodeBox83 - {-1.0625, 0.3125, 0.375, -0.9375, 0.4375, 0.5}, -- NodeBox84 - {-1, 0.375, 0.375, -0.8125, 0.5, 0.5}, -- NodeBox85 - {-0.875, 0.4375, 0.375, -0.75, 0.5625, 0.5}, -- NodeBox86 - {-0.8125, 0.5, 0.375, -0.625, 0.625, 0.5}, -- NodeBox87 - {-0.6875, 0.5625, 0.375, -0.5, 0.6875, 0.5}, -- NodeBox88 - {-0.5625, 0.625, 0.375, -0.4375, 0.75, 0.5}, -- NodeBox89 - {-0.5, 0.6875, 0.375, -0.3125, 0.8125, 0.5}, -- NodeBox90 - {-0.375, 0.75, 0.375, -0.25, 0.875, 0.5}, -- NodeBox91 - {-0.3125, 0.8125, 0.375, -0.125, 0.9375, 0.5}, -- NodeBox92 - {-0.1875, 0.875, 0.375, 0, 1, 0.5}, -- NodeBox93 - {-2.375, 2.375, 0.375, -2.25, 2.5, 0.5}, -- NodeBox48 - {-2.3125, 2.3125, 0.375, -2.125, 2.4375, 0.5}, -- NodeBox49 - {-2.1875, 2.25, 0.375, -2, 2.375, 0.5}, -- NodeBox50 - {-2.0625, 2.1875, 0.375, -1.9375, 2.3125, 0.5}, -- NodeBox51 - {-2, 2.125, 0.375, -1.8125, 2.25, 0.5}, -- NodeBox52 - {-1.875, 2.0625, 0.375, -1.75, 2.1875, 0.5}, -- NodeBox53 - {-1.8125, 2, 0.375, -1.625, 2.125, 0.5}, -- NodeBox54 - {-1.6875, 1.9375, 0.375, -1.5, 2.0625, 0.5}, -- NodeBox55 - {-1.5625, 1.875, 0.375, -1.4375, 2, 0.5}, -- NodeBox56 - {-1.5, 1.8125, 0.375, -1.3125, 1.9375, 0.5}, -- NodeBox57 - {-1.375, 1.75, 0.375, -1.25, 1.875, 0.5}, -- NodeBox58 - {-1.3125, 1.6875, 0.375, -1.125, 1.8125, 0.5}, -- NodeBox59 - {-1.1875, 1.625, 0.375, -1, 1.75, 0.5}, -- NodeBox60 - {-1.0625, 1.5625, 0.375, -0.9375, 1.6875, 0.5}, -- NodeBox61 - {-1, 1.5, 0.375, -0.8125, 1.625, 0.5}, -- NodeBox62 - {-0.875, 1.4375, 0.375, -0.75, 1.5625, 0.5}, -- NodeBox63 - {-0.8125, 1.375, 0.375, -0.625, 1.5, 0.5}, -- NodeBox64 - {-0.6875, 1.3125, 0.375, -0.5, 1.4375, 0.5}, -- NodeBox65 - {-0.5625, 1.25, 0.375, -0.4375, 1.375, 0.5}, -- NodeBox66 - {-0.5, 1.1875, 0.375, -0.3125, 1.3125, 0.5}, -- NodeBox67 - {-0.375, 1.125, 0.375, -0.25, 1.25, 0.5}, -- NodeBox68 - {-0.3125, 1.0625, 0.375, -0.125, 1.1875, 0.5}, -- NodeBox69 - {-0.1875, 1, 0.375, -0, 1.125, 0.5}, -- NodeBox70 - {2.25, -0.5, 0.375, 2.375, -0.375, 0.5}, -- NodeBox71 - {2.125, -0.4375, 0.375, 2.3125, -0.3125, 0.5}, -- NodeBox72 - {2, -0.375, 0.375, 2.1875, -0.25, 0.5}, -- NodeBox73 - {1.9375, -0.3125, 0.375, 2.0625, -0.1875, 0.5}, -- NodeBox74 - {1.8125, -0.25, 0.375, 2, -0.125, 0.5}, -- NodeBox75 - {1.75, -0.1875, 0.375, 1.875, -0.0625, 0.5}, -- NodeBox76 - {1.625, -0.125, 0.375, 1.8125, 0, 0.5}, -- NodeBox77 - {1.5, -0.0625, 0.375, 1.6875, 0.0625, 0.5}, -- NodeBox78 - {1.4375, 0, 0.375, 1.5625, 0.125, 0.5}, -- NodeBox79 - {1.3125, 0.0625, 0.375, 1.5, 0.1875, 0.5}, -- NodeBox80 - {1.25, 0.125, 0.375, 1.375, 0.25, 0.5}, -- NodeBox81 - {1.125, 0.1875, 0.375, 1.3125, 0.3125, 0.5}, -- NodeBox82 - {1, 0.25, 0.375, 1.1875, 0.375, 0.5}, -- NodeBox83 - {0.9375, 0.3125, 0.375, 1.0625, 0.4375, 0.5}, -- NodeBox84 - {0.8125, 0.375, 0.375, 1, 0.5, 0.5}, -- NodeBox85 - {0.75, 0.4375, 0.375, 0.875, 0.5625, 0.5}, -- NodeBox86 - {0.625, 0.5, 0.375, 0.8125, 0.625, 0.5}, -- NodeBox87 - {0.5, 0.5625, 0.375, 0.6875, 0.6875, 0.5}, -- NodeBox88 - {0.4375, 0.625, 0.375, 0.5625, 0.75, 0.5}, -- NodeBox89 - {0.3125, 0.6875, 0.375, 0.5, 0.8125, 0.5}, -- NodeBox90 - {0.25, 0.75, 0.375, 0.375, 0.875, 0.5}, -- NodeBox91 - {0.125, 0.8125, 0.375, 0.3125, 0.9375, 0.5}, -- NodeBox92 - {-0, 0.875, 0.375, 0.1875, 1, 0.5}, -- NodeBox93 + {-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 = { @@ -3484,20 +3483,20 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then sounds = default.node_sound_metal_defaults(), }) - minetest.register_node("bridger:large_support_bot_"..bridge_colors, { - description = bridge_desc.." Bottom Large Support", + minetest.register_node("bridger:large_support_bot_" .. bridge_colors, { + description = bridge_desc .. " Bottom Large Support", drawtype = "nodebox", - tiles = {"bridges_"..bridge_colors..".png"}, - inventory_image = "bridges_"..bridge_colors..".png^bridges_large_support_bot.png^[makealpha:255,126,126", - wield_image = "bridges_"..bridge_colors..".png^bridges_large_support_bot.png^[makealpha:255,126,126", + tiles = {"bridges_" .. bridge_colors .. ".png"}, + inventory_image = "bridges_" .. bridge_colors .. ".png^bridges_large_support_bot.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_colors .. ".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}, -- NodeBox1 - {2.1875, -0.5, 0.25, 2.5625, 0.5, 0.625}, -- NodeBox2 + {-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 = { @@ -3510,53 +3509,53 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then sounds = default.node_sound_metal_defaults(), }) - minetest.register_node("bridger:truss_superstructure_right_slant_"..bridge_colors, { - description = bridge_desc.." Truss Superstructure Right Slant", + minetest.register_node("bridger:truss_superstructure_right_slant_" .. bridge_colors, { + description = bridge_desc .. " Truss Superstructure Right Slant", drawtype = "nodebox", - tiles = {"bridges_"..bridge_colors..".png"}, - inventory_image = "bridges_"..bridge_colors..".png^bridges_superstructure_right_slant.png^[makealpha:255,126,126", - wield_image = "bridges_"..bridge_colors..".png^bridges_superstructure_right_slant.png^[makealpha:255,126,126", + tiles = {"bridges_" .. bridge_colors .. ".png"}, + inventory_image = "bridges_" .. bridge_colors .. ".png^bridges_superstructure_right_slant.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_colors .. ".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}, -- NodeBox214 - {-0.5, -0.5, 0.375, -0.4375, 2.5, 0.5}, -- NodeBox215 - {1.4375, -0.5, 0.375, 1.5, 2.5, 0.5}, -- NodeBox217 - {-0.5, 2.375, 0.375, 1.5, 2.5, 0.5}, -- NodeBox218 - {-0.4375, 2.25, 0.375, -0.3125, 2.375, 0.5}, -- NodeBox219 - {-0.375, 2.1875, 0.375, -0.25, 2.3125, 0.5}, -- NodeBox220 - {-0.3125, 2.0625, 0.375, -0.1875, 2.25, 0.5}, -- NodeBox221 - {-0.25, 2, 0.375, -0.125, 2.125, 0.5}, -- NodeBox222 - {-0.1875, 1.9375, 0.375, -0.0625, 2.0625, 0.5}, -- NodeBox223 - {-0.125, 1.875, 0.375, 0, 2, 0.5}, -- NodeBox224 - {-0.0625, 1.75, 0.375, 0.0625, 1.9375, 0.5}, -- NodeBox225 - {0, 1.6875, 0.375, 0.125, 1.8125, 0.5}, -- NodeBox226 - {0.0625, 1.625, 0.375, 0.1875, 1.75, 0.5}, -- NodeBox227 - {0.125, 1.5625, 0.375, 0.25, 1.6875, 0.5}, -- NodeBox228 - {0.1875, 1.4375, 0.375, 0.3125, 1.625, 0.5}, -- NodeBox229 - {0.25, 1.375, 0.375, 0.375, 1.5, 0.5}, -- NodeBox230 - {0.3125, 1.3125, 0.375, 0.4375, 1.4375, 0.5}, -- NodeBox231 - {0.375, 1.25, 0.375, 0.5, 1.375, 0.5}, -- NodeBox232 - {0.4375, 1.125, 0.375, 0.5625, 1.3125, 0.5}, -- NodeBox233 - {0.5, 1.0625, 0.375, 0.625, 1.1875, 0.5}, -- NodeBox234 - {0.5625, 1, 0.375, 0.6875, 1.125, 0.5}, -- NodeBox235 - {0.625, 0.9375, 0.375, 0.75, 1.0625, 0.5}, -- NodeBox236 - {0.6875, 0.8125, 0.375, 0.8125, 1, 0.5}, -- NodeBox237 - {0.75, 0.75, 0.375, 0.875, 0.875, 0.5}, -- NodeBox238 - {0.8125, 0.6875, 0.375, 0.9375, 0.8125, 0.5}, -- NodeBox239 - {0.875, 0.625, 0.375, 1, 0.75, 0.5}, -- NodeBox240 - {0.9375, 0.5, 0.375, 1.0625, 0.6875, 0.5}, -- NodeBox241 - {1, 0.4375, 0.375, 1.125, 0.5625, 0.5}, -- NodeBox242 - {1.0625, 0.375, 0.375, 1.1875, 0.5, 0.5}, -- NodeBox243 - {1.125, 0.3125, 0.375, 1.25, 0.4375, 0.5}, -- NodeBox244 - {1.1875, 0.1875, 0.375, 1.3125, 0.375, 0.5}, -- NodeBox245 - {1.25, 0.125, 0.375, 1.375, 0.25, 0.5}, -- NodeBox246 - {1.3125, 0.0625, 0.375, 1.4375, 0.1875, 0.5}, -- NodeBox247 - {1.375, 0, 0.375, 1.5, 0.125, 0.5}, -- NodeBox248 - {-0.4375, 2.3125, 0.375, -0.3125, 2.4375, 0.5}, -- NodeBox249 + {-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 = { @@ -3575,53 +3574,53 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then sounds = default.node_sound_metal_defaults(), }) - minetest.register_node("bridger:truss_superstructure_left_slant_"..bridge_colors, { - description = bridge_desc.." Truss Superstructure Left Slant", + minetest.register_node("bridger:truss_superstructure_left_slant_" .. bridge_colors, { + description = bridge_desc .. " Truss Superstructure Left Slant", drawtype = "nodebox", - tiles = {"bridges_"..bridge_colors..".png"}, - inventory_image = "bridges_"..bridge_colors..".png^bridges_superstructure_left_slant.png^[makealpha:255,126,126", - wield_image = "bridges_"..bridge_colors..".png^bridges_superstructure_left_slant.png^[makealpha:255,126,126", + tiles = {"bridges_" .. bridge_colors .. ".png"}, + inventory_image = "bridges_" .. bridge_colors .. ".png^bridges_superstructure_left_slant.png^[makealpha:255,126,126", + wield_image = "bridges_" .. bridge_colors .. ".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}, -- NodeBox214 - {-0.5, -0.5, 0.375, -0.4375, 2.5, 0.5}, -- NodeBox215 - {1.4375, -0.5, 0.375, 1.5, 2.5, 0.5}, -- NodeBox217 - {-0.5, 2.375, 0.375, 1.5, 2.5, 0.5}, -- NodeBox218 - {1.3125, 2.25, 0.375, 1.4375, 2.375, 0.5}, -- NodeBox219 - {1.25, 2.1875, 0.375, 1.375, 2.3125, 0.5}, -- NodeBox220 - {1.1875, 2.0625, 0.375, 1.3125, 2.25, 0.5}, -- NodeBox221 - {1.125, 2, 0.375, 1.25, 2.125, 0.5}, -- NodeBox222 - {1.0625, 1.9375, 0.375, 1.1875, 2.0625, 0.5}, -- NodeBox223 - {1, 1.875, 0.375, 1.125, 2, 0.5}, -- NodeBox224 - {0.9375, 1.75, 0.375, 1.0625, 1.9375, 0.5}, -- NodeBox225 - {0.875, 1.6875, 0.375, 1, 1.8125, 0.5}, -- NodeBox226 - {0.8125, 1.625, 0.375, 0.9375, 1.75, 0.5}, -- NodeBox227 - {0.75, 1.5625, 0.375, 0.875, 1.6875, 0.5}, -- NodeBox228 - {0.6875, 1.4375, 0.375, 0.8125, 1.625, 0.5}, -- NodeBox229 - {0.625, 1.375, 0.375, 0.75, 1.5, 0.5}, -- NodeBox230 - {0.5625, 1.3125, 0.375, 0.6875, 1.4375, 0.5}, -- NodeBox231 - {0.5, 1.25, 0.375, 0.625, 1.375, 0.5}, -- NodeBox232 - {0.4375, 1.125, 0.375, 0.5625, 1.3125, 0.5}, -- NodeBox233 - {0.375, 1.0625, 0.375, 0.5, 1.1875, 0.5}, -- NodeBox234 - {0.3125, 1, 0.375, 0.4375, 1.125, 0.5}, -- NodeBox235 - {0.25, 0.9375, 0.375, 0.375, 1.0625, 0.5}, -- NodeBox236 - {0.1875, 0.8125, 0.375, 0.3125, 1, 0.5}, -- NodeBox237 - {0.125, 0.75, 0.375, 0.25, 0.875, 0.5}, -- NodeBox238 - {0.0625, 0.6875, 0.375, 0.1875, 0.8125, 0.5}, -- NodeBox239 - {0, 0.625, 0.375, 0.125, 0.75, 0.5}, -- NodeBox240 - {-0.0625, 0.5, 0.375, 0.0625, 0.6875, 0.5}, -- NodeBox241 - {-0.125, 0.4375, 0.375, 0, 0.5625, 0.5}, -- NodeBox242 - {-0.1875, 0.375, 0.375, -0.0625, 0.5, 0.5}, -- NodeBox243 - {-0.25, 0.3125, 0.375, -0.125, 0.4375, 0.5}, -- NodeBox244 - {-0.3125, 0.1875, 0.375, -0.1875, 0.375, 0.5}, -- NodeBox245 - {-0.375, 0.125, 0.375, -0.25, 0.25, 0.5}, -- NodeBox246 - {-0.4375, 0.0625, 0.375, -0.3125, 0.1875, 0.5}, -- NodeBox247 - {-0.5, 0, 0.375, -0.375, 0.125, 0.5}, -- NodeBox248 - {1.375, 2.3125, 0.375, 1.5, 2.4375, 0.5}, -- NodeBox249 + {-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 = { @@ -3640,10 +3639,10 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then sounds = default.node_sound_metal_defaults(), }) - minetest.register_node("bridger:corrugated_steel_"..bridge_colors, { - description = bridge_desc.." Corrugated Steel", + minetest.register_node("bridger:corrugated_steel_" .. bridge_colors, { + description = bridge_desc .. " Corrugated Steel", drawtype = "nodebox", - tiles = {"bridges_corrugated_steel_"..bridge_colors..".png"}, + tiles = {"bridges_corrugated_steel_" .. bridge_colors .. ".png"}, paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, @@ -3663,10 +3662,10 @@ if not minetest.settings:get_bool("bridger_disable_trusses") then sounds = default.node_sound_metal_defaults(), }) - minetest.register_node("bridger:corrugated_steel_ceiling_"..bridge_colors, { - description = bridge_desc.." Corrugated Steel Deck", + minetest.register_node("bridger:corrugated_steel_ceiling_" .. bridge_colors, { + description = bridge_desc .. " Corrugated Steel Deck", drawtype = "nodebox", - tiles = {"bridges_corrugated_steel_"..bridge_colors..".png^[transformR90"}, + tiles = {"bridges_corrugated_steel_" .. bridge_colors .. ".png^[transformR90"}, paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, @@ -3695,53 +3694,53 @@ if not minetest.settings:get_bool("bridger_disable_trestles") then node_box = { type = "fixed", fixed = { - {-1, -0.5, -0.125, -0.75, 1.5, 0.125}, -- NodeBox1 - {0.75, -0.5, -0.125, 1, 1.5, 0.125}, -- NodeBox2 - {0.625, 1.375, -0.0625, 0.75, 1.5, 0.0625}, -- NodeBox3 - {0.5625, 1.25, -0.0625, 0.6875, 1.4375, 0.0625}, -- NodeBox4 - {0.5, 1.1875, -0.0625, 0.625, 1.3125, 0.0625}, -- NodeBox5 - {0.4375, 1.125, -0.0625, 0.5625, 1.25, 0.0625}, -- NodeBox6 - {0.375, 1, -0.0625, 0.5, 1.1875, 0.0625}, -- NodeBox7 - {0.3125, 0.9375, -0.0625, 0.4375, 1.0625, 0.0625}, -- NodeBox8 - {0.25, 0.875, -0.0625, 0.375, 1, 0.0625}, -- NodeBox9 - {0.1875, 0.75, -0.0625, 0.3125, 0.9375, 0.0625}, -- NodeBox10 - {0.125, 0.6875, -0.0625, 0.25, 0.8125, 0.0625}, -- NodeBox11 - {0.0625, 0.625, -0.0625, 0.1875, 0.75, 0.0625}, -- NodeBox12 - {0, 0.5, -0.0625, 0.125, 0.6875, 0.0625}, -- NodeBox13 - {-0.0625, 0.4375, -0.0625, 0.0625, 0.5625, 0.0625}, -- NodeBox14 - {-0.125, 0.3125, -0.0625, 0, 0.5, 0.0625}, -- NodeBox15 - {-0.1875, 0.25, -0.0625, -0.0625, 0.375, 0.0625}, -- NodeBox16 - {-0.25, 0.1875, -0.0625, -0.125, 0.3125, 0.0625}, -- NodeBox17 - {-0.3125, 0.0625, -0.0625, -0.1875, 0.25, 0.0625}, -- NodeBox18 - {-0.375, 0, -0.0625, -0.25, 0.125, 0.0625}, -- NodeBox19 - {-0.4375, -0.0625, -0.0625, -0.3125, 0.0625, 0.0625}, -- NodeBox20 - {-0.5, -0.1875, -0.0625, -0.375, 0, 0.0625}, -- NodeBox21 - {-0.5625, -0.25, -0.0625, -0.4375, -0.125, 0.0625}, -- NodeBox22 - {-0.625, -0.3125, -0.0625, -0.5, -0.1875, 0.0625}, -- NodeBox23 - {-0.6875, -0.4375, -0.0625, -0.5625, -0.25, 0.0625}, -- NodeBox24 - {-0.75, -0.5, -0.0625, -0.625, -0.375, 0.0625}, -- NodeBox25 - {-0.75, 1.375, -0.0625, -0.625, 1.5, 0.0625}, -- NodeBox3 - {-0.6875, 1.25, -0.0625, -0.5625, 1.4375, 0.0625}, -- NodeBox4 - {-0.625, 1.1875, -0.0625, -0.5, 1.3125, 0.0625}, -- NodeBox5 - {-0.5625, 1.125, -0.0625, -0.4375, 1.25, 0.0625}, -- NodeBox6 - {-0.5, 1, -0.0625, -0.375, 1.1875, 0.0625}, -- NodeBox7 - {-0.4375, 0.9375, -0.0625, -0.3125, 1.0625, 0.0625}, -- NodeBox8 - {-0.375, 0.875, -0.0625, -0.25, 1, 0.0625}, -- NodeBox9 - {-0.3125, 0.75, -0.0625, -0.1875, 0.9375, 0.0625}, -- NodeBox10 - {-0.25, 0.6875, -0.0625, -0.125, 0.8125, 0.0625}, -- NodeBox11 - {-0.1875, 0.625, -0.0625, -0.0625, 0.75, 0.0625}, -- NodeBox12 - {-0.125, 0.5, -0.0625, -0, 0.6875, 0.0625}, -- NodeBox13 - {-0, 0.3125, -0.0625, 0.125, 0.5, 0.0625}, -- NodeBox15 - {0.0625, 0.25, -0.0625, 0.1875, 0.375, 0.0625}, -- NodeBox16 - {0.125, 0.1875, -0.0625, 0.25, 0.3125, 0.0625}, -- NodeBox17 - {0.1875, 0.0625, -0.0625, 0.3125, 0.25, 0.0625}, -- NodeBox18 - {0.25, 0, -0.0625, 0.375, 0.125, 0.0625}, -- NodeBox19 - {0.3125, -0.0625, -0.0625, 0.4375, 0.0625, 0.0625}, -- NodeBox20 - {0.375, -0.1875, -0.0625, 0.5, 0, 0.0625}, -- NodeBox21 - {0.4375, -0.25, -0.0625, 0.5625, -0.125, 0.0625}, -- NodeBox22 - {0.5, -0.3125, -0.0625, 0.625, -0.1875, 0.0625}, -- NodeBox23 - {0.5625, -0.4375, -0.0625, 0.6875, -0.25, 0.0625}, -- NodeBox24 - {0.625, -0.5, -0.0625, 0.75, -0.375, 0.0625}, -- NodeBox25 + {-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 = { @@ -3766,8 +3765,8 @@ if not minetest.settings:get_bool("bridger_disable_trestles") then node_box = { type = "fixed", fixed = { - {-1, -0.5, -0.125, -0.75, 0.5, 0.125}, -- NodeBox1 - {0.75, -0.5, -0.125, 1, 0.5, 0.125}, -- NodeBox2 + {-1, -0.5, -0.125, -0.75, 0.5, 0.125}, + {0.75, -0.5, -0.125, 1, 0.5, 0.125}, }, }, selection_box = { @@ -3792,63 +3791,63 @@ if not minetest.settings:get_bool("bridger_disable_trestles") then node_box = { type = "fixed", fixed = { - {-0.875, -0.5, -0.0625, 0.875, -0.375, 0.0625}, -- NodeBox1 - {-0.875, 1.375, -0.0625, 0.875, 1.5, 0.0625}, -- NodeBox2 - {-1, 1.375, -0.0625, 1, 1.5, 0}, -- NodeBox30 - {-1, -0.5, -0.0625, 1, -0.375, 0}, -- NodeBox31 - {-0.9375, 1.3125, -0.0625, -0.8125, 1.4375, 0.0625}, -- NodeBox3 - {-0.875, 1.25, -0.0625, -0.75, 1.375, 0.0625}, -- NodeBox4 - {0.25, 0.125, -0.0625, 0.375, 0.25, 0.0625}, -- NodeBox5 - {-0.8125, 1.1875, -0.0625, -0.6875, 1.3125, 0.0625}, -- NodeBox6 - {-0.75, 1.125, -0.0625, -0.625, 1.25, 0.0625}, -- NodeBox7 - {-0.6875, 1.0625, -0.0625, -0.5625, 1.1875, 0.0625}, -- NodeBox8 - {-0.625, 1, -0.0625, -0.5, 1.125, 0.0625}, -- NodeBox9 - {-0.5625, 0.9375, -0.0625, -0.4375, 1.0625, 0.0625}, -- NodeBox10 - {-0.5, 0.875, -0.0625, -0.375, 1, 0.0625}, -- NodeBox11 - {-0.4375, 0.8125, -0.0625, -0.3125, 0.9375, 0.0625}, -- NodeBox12 - {-0.375, 0.75, -0.0625, -0.25, 0.875, 0.0625}, -- NodeBox13 - {-0.3125, 0.6875, -0.0625, -0.1875, 0.8125, 0.0625}, -- NodeBox14 - {-0.25, 0.625, -0.0625, -0.125, 0.75, 0.0625}, -- NodeBox15 - {-0.1875, 0.5625, -0.0625, -0.0625, 0.6875, 0.0625}, -- NodeBox16 - {-0.125, 0.375, -0.0625, 0.125, 0.625, 0.0625}, -- NodeBox17 - {0.0625, 0.3125, -0.0625, 0.1875, 0.4375, 0.0625}, -- NodeBox18 - {0.125, 0.25, -0.0625, 0.25, 0.375, 0.0625}, -- NodeBox19 - {0.1875, 0.1875, -0.0625, 0.3125, 0.3125, 0.0625}, -- NodeBox20 - {0.3125, 0.0625, -0.0625, 0.4375, 0.1875, 0.0625}, -- NodeBox21 - {0.375, 0, -0.0625, 0.5, 0.125, 0.0625}, -- NodeBox22 - {0.4375, -0.0625, -0.0625, 0.5625, 0.0625, 0.0625}, -- NodeBox23 - {0.5, -0.125, -0.0625, 0.625, 0, 0.0625}, -- NodeBox24 - {0.5625, -0.1875, -0.0625, 0.6875, -0.0625, 0.0625}, -- NodeBox25 - {0.625, -0.25, -0.0625, 0.75, -0.125, 0.0625}, -- NodeBox26 - {0.6875, -0.3125, -0.0625, 0.8125, -0.1875, 0.0625}, -- NodeBox27 - {0.75, -0.375, -0.0625, 0.875, -0.25, 0.0625}, -- NodeBox28 - {0.8125, -0.4375, -0.0625, 0.9375, -0.3125, 0.0625}, -- NodeBox29 - {0.8125, 1.3125, -0.0625, 0.9375, 1.4375, 0.0625}, -- NodeBox3 - {0.75, 1.25, -0.0625, 0.875, 1.375, 0.0625}, -- NodeBox4 - {-0.375, 0.125, -0.0625, -0.25, 0.25, 0.0625}, -- NodeBox5 - {0.6875, 1.1875, -0.0625, 0.8125, 1.3125, 0.0625}, -- NodeBox6 - {0.625, 1.125, -0.0625, 0.75, 1.25, 0.0625}, -- NodeBox7 - {0.5625, 1.0625, -0.0625, 0.6875, 1.1875, 0.0625}, -- NodeBox8 - {0.5, 1, -0.0625, 0.625, 1.125, 0.0625}, -- NodeBox9 - {0.4375, 0.9375, -0.0625, 0.5625, 1.0625, 0.0625}, -- NodeBox10 - {0.375, 0.875, -0.0625, 0.5, 1, 0.0625}, -- NodeBox11 - {0.3125, 0.8125, -0.0625, 0.4375, 0.9375, 0.0625}, -- NodeBox12 - {0.25, 0.75, -0.0625, 0.375, 0.875, 0.0625}, -- NodeBox13 - {0.1875, 0.6875, -0.0625, 0.3125, 0.8125, 0.0625}, -- NodeBox14 - {0.125, 0.625, -0.0625, 0.25, 0.75, 0.0625}, -- NodeBox15 - {0.0625, 0.5625, -0.0625, 0.1875, 0.6875, 0.0625}, -- NodeBox16 - {-0.1875, 0.3125, -0.0625, -0.0625, 0.4375, 0.0625}, -- NodeBox18 - {-0.25, 0.25, -0.0625, -0.125, 0.375, 0.0625}, -- NodeBox19 - {-0.3125, 0.1875, -0.0625, -0.1875, 0.3125, 0.0625}, -- NodeBox20 - {-0.4375, 0.0625, -0.0625, -0.3125, 0.1875, 0.0625}, -- NodeBox21 - {-0.5, 0, -0.0625, -0.375, 0.125, 0.0625}, -- NodeBox22 - {-0.5625, -0.0625, -0.0625, -0.4375, 0.0625, 0.0625}, -- NodeBox23 - {-0.625, -0.125, -0.0625, -0.5, 0, 0.0625}, -- NodeBox24 - {-0.6875, -0.1875, -0.0625, -0.5625, -0.0625, 0.0625}, -- NodeBox25 - {-0.75, -0.25, -0.0625, -0.625, -0.125, 0.0625}, -- NodeBox26 - {-0.8125, -0.3125, -0.0625, -0.6875, -0.1875, 0.0625}, -- NodeBox27 - {-0.875, -0.375, -0.0625, -0.75, -0.25, 0.0625}, -- NodeBox28 - {-0.9375, -0.4375, -0.0625, -0.8125, -0.3125, 0.0625}, -- NodeBox29 + {-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 = { @@ -3873,12 +3872,12 @@ if not minetest.settings:get_bool("bridger_disable_trestles") then node_box = { type = "fixed", fixed = { - {-0.625, 0.25, -0.5, -0.5, 0.375, 0.5}, -- NodeBox1 - {0.5, 0.25, -0.5, 0.625, 0.375, 0.5}, -- NodeBox2 - {-1.125, 0.374, 0.3125, 1.125, 0.501, 0.4375}, -- NodeBox3 - {-1.125, 0.374, 0.0625, 1.125, 0.501, 0.1875}, -- NodeBox4 - {-1.125, 0.374, -0.1875, 1.125, 0.501, -0.0625}, -- NodeBox5 - {-1.125, 0.374, -0.4375, 1.125, 0.501, -0.3125}, -- NodeBox6 + {-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 = { @@ -3903,30 +3902,30 @@ if not minetest.settings:get_bool("bridger_disable_trestles") then node_box = { type = "fixed", fixed = { - {-1.5, 1.375, -0.0625, 0.5, 1.499, 0.0625}, -- NodeBox0 - {-1.4375, 1.3125, -0.0625, -1.3125, 1.4375, 0.0625}, -- NodeBox2 - {-1.375, 1.25, -0.0625, -1.25, 1.375, 0.0625}, -- NodeBox3 - {-1.3125, 1.1875, -0.0625, -1.125, 1.3125, 0.0625}, -- NodeBox4 - {-1.1875, 1.125, -0.0625, -1.0625, 1.25, 0.0625}, -- NodeBox5 - {-1.125, 1.0625, -0.0625, -1, 1.1875, 0.0625}, -- NodeBox6 - {-1.0625, 1, -0.0625, -0.875, 1.125, 0.0625}, -- NodeBox7 - {-0.9375, 0.9375, -0.0625, -0.8125, 1.0625, 0.0625}, -- NodeBox8 - {-0.875, 0.875, -0.0625, -0.75, 1, 0.0625}, -- NodeBox9 - {-0.8125, 0.8125, -0.0625, -0.625, 0.9375, 0.0625}, -- NodeBox10 - {-0.6875, 0.75, -0.0625, -0.5625, 0.875, 0.0625}, -- NodeBox11 - {-0.625, 0.6875, -0.0625, -0.5, 0.8125, 0.0625}, -- NodeBox12 - {-0.5625, 0.625, -0.0625, -0.375, 0.75, 0.0625}, -- NodeBox13 - {-0.4375, 0.5625, -0.0625, -0.3125, 0.6875, 0.0625}, -- NodeBox14 - {-0.375, 0.5, -0.0625, -0.25, 0.625, 0.0625}, -- NodeBox15 - {-0.3125, 0.4375, -0.0625, -0.125, 0.5625, 0.0625}, -- NodeBox16 - {-0.1875, 0.375, -0.0625, -0.0625, 0.5, 0.0625}, -- NodeBox17 - {-0.125, 0.3125, -0.0625, 0, 0.4375, 0.0625}, -- NodeBox18 - {-0.0625, 0.25, -0.0625, 0.125, 0.375, 0.0625}, -- NodeBox19 - {0.0625, 0.1875, -0.0625, 0.1875, 0.3125, 0.0625}, -- NodeBox20 - {0.125, 0.125, -0.0625, 0.25, 0.25, 0.0625}, -- NodeBox21 - {0.1875, 0.0625, -0.0625, 0.375, 0.1875, 0.0625}, -- NodeBox22 - {0.3125, 0, -0.0625, 0.4375, 0.125, 0.0625}, -- NodeBox23 - {0.4375, 0, -0.0625, 0.5, 1.5, 0.0625}, -- NodeBox24 + {-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 = { @@ -3951,38 +3950,38 @@ if not minetest.settings:get_bool("bridger_disable_trestles") then node_box = { type = "fixed", fixed = { - {0.4375, -0.5, -0.0625, 0.5, 1.5, 0.0625}, -- NodeBox1 - {0.25, -0.5, -0.0625, 0.4375, -0.375, 0.0625}, -- NodeBox2 - {0.125, -0.4375, -0.0625, 0.3125, -0.3125, 0.0625}, -- NodeBox3 - {0, -0.375, -0.0625, 0.1875, -0.25, 0.0625}, -- NodeBox4 - {-0.125, -0.3125, -0.0625, 0.0625, -0.1875, 0.0625}, -- NodeBox5 - {-0.25, -0.25, -0.0625, -0.0625, -0.125, 0.0625}, -- NodeBox6 - {-0.375, -0.1875, -0.0625, -0.1875, -0.0625, 0.0625}, -- NodeBox7 - {-0.5, -0.125, -0.0625, -0.3125, 0, 0.0625}, -- NodeBox8 - {-0.625, -0.0625, -0.0625, -0.4375, 0.0625, 0.0625}, -- NodeBox9 - {-0.75, 0, -0.0625, -0.5625, 0.125, 0.0625}, -- NodeBox10 - {-0.875, 0.0625, -0.0625, -0.6875, 0.1875, 0.0625}, -- NodeBox11 - {-1, 0.125, -0.0625, -0.8125, 0.25, 0.0625}, -- NodeBox12 - {-1.125, 0.1875, -0.0625, -0.9375, 0.3125, 0.0625}, -- NodeBox13 - {-1.25, 0.25, -0.0625, -1.0625, 0.375, 0.0625}, -- NodeBox14 - {-1.375, 0.3125, -0.0625, -1.1875, 0.4375, 0.0625}, -- NodeBox15 - {-1.5, 0.375, -0.0625, -1.3125, 0.5, 0.0625}, -- NodeBox16 - {-1.625, 0.4375, -0.0625, -1.4375, 0.5625, 0.0625}, -- NodeBox17 - {-1.75, 0.5, -0.0625, -1.5625, 0.625, 0.0625}, -- NodeBox18 - {-1.875, 0.5625, -0.0625, -1.6875, 0.6875, 0.0625}, -- NodeBox19 - {-2, 0.625, -0.0625, -1.8125, 0.75, 0.0625}, -- NodeBox20 - {-2.125, 0.6875, -0.0625, -1.9375, 0.8125, 0.0625}, -- NodeBox21 - {-2.25, 0.75, -0.0625, -2.0625, 0.875, 0.0625}, -- NodeBox22 - {-2.375, 0.8125, -0.0625, -2.1875, 0.9375, 0.0625}, -- NodeBox23 - {-2.5, 0.875, -0.0625, -2.3125, 1, 0.0625}, -- NodeBox24 - {-2.625, 0.9375, -0.0625, -2.4375, 1.0625, 0.0625}, -- NodeBox25 - {-2.75, 1, -0.0625, -2.5625, 1.125, 0.0625}, -- NodeBox26 - {-2.875, 1.0625, -0.0625, -2.6875, 1.1875, 0.0625}, -- NodeBox27 - {-3, 1.125, -0.0625, -2.8125, 1.25, 0.0625}, -- NodeBox28 - {-3.125, 1.1875, -0.0625, -2.9375, 1.3125, 0.0625}, -- NodeBox29 - {-3.25, 1.25, -0.0625, -3.0625, 1.375, 0.0625}, -- NodeBox30 - {-3.375, 1.3125, -0.0625, -3.1875, 1.4375, 0.0625}, -- NodeBox31 - {-3.5, 1.375, -0.0625, -3.3125, 1.5, 0.0625}, -- NodeBox32 + {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 = { @@ -4007,23 +4006,23 @@ if not minetest.settings:get_bool("bridger_disable_trestles") then node_box = { type = "fixed", fixed = { - {-0.5, -0.5, -0.0625, -0.25, -0.25, 0.0625}, -- NodeBox1 - {-0.4375, -0.4375, -0.0625, -0.1875, -0.1875, 0.0625}, -- NodeBox2 - {-0.375, -0.375, -0.0625, -0.125, -0.125, 0.0625}, -- NodeBox3 - {-0.3125, -0.3125, -0.0625, -0.0625, -0.0625, 0.0625}, -- NodeBox4 - {0.0625, 0.0625, -0.0625, 0.3125, 0.3125, 0.0625}, -- NodeBox10 - {0.125, 0.125, -0.0625, 0.375, 0.375, 0.0625}, -- NodeBox11 - {0.1875, 0.1875, -0.0625, 0.4375, 0.4375, 0.0625}, -- NodeBox12 - {0.25, 0.25, -0.0625, 0.5, 0.5, 0.0625}, -- NodeBox13 - {0.25, -0.5, -0.0625, 0.5, -0.25, 0.0625}, -- NodeBox14 - {0.1875, -0.4375, -0.0625, 0.4375, -0.1875, 0.0625}, -- NodeBox15 - {-0.25, -0.25, -0.0625, 0.25, 0.25, 0.0625}, -- NodeBox16 - {0.125, -0.375, -0.0625, 0.375, -0.125, 0.0625}, -- NodeBox17 - {0.0625, -0.3125, -0.0625, 0.3125, -0.0625, 0.0625}, -- NodeBox18 - {-0.5, 0.25, -0.0625, -0.25, 0.5, 0.0625}, -- NodeBox19 - {-0.4375, 0.1875, -0.0625, -0.1875, 0.4375, 0.0625}, -- NodeBox20 - {-0.375, 0.125, -0.0625, -0.125, 0.375, 0.0625}, -- NodeBox21 - {-0.3125, 0.0625, -0.0625, -0.0625, 0.3125, 0.0625}, -- NodeBox22 + {-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 = { @@ -4048,38 +4047,38 @@ if not minetest.settings:get_bool("bridger_disable_trestles") then node_box = { type = "fixed", fixed = { - {-1, 0.375, 0.25, -0.75, 0.501, 0.5}, -- NodeBox1 - {-0.25, 0.375, 0.25, 0.25, 0.501, 0.5}, -- NodeBox2 - {-0.25, 0.375, -0.5, 0.25, 0.501, -0.25}, -- NodeBox5 - {-1, 0.375, -0.5, -0.75, 0.501, -0.25}, -- NodeBox6 - {-0.9375, 0.375, -0.4375, -0.6875, 0.501, -0.1875}, -- NodeBox7 - {-0.875, 0.375, -0.375, -0.625, 0.501, -0.125}, -- NodeBox8 - {-0.8125, 0.375, -0.3125, -0.5625, 0.501, -0.0625}, -- NodeBox9 - {-0.3125, 0.375, -0.4375, -0.0625, 0.501, -0.1875}, -- NodeBox10 - {-0.375, 0.375, -0.375, -0.125, 0.501, -0.125}, -- NodeBox11 - {-0.4375, 0.375, -0.3125, -0.1875, 0.501, -0.0625}, -- NodeBox12 - {-0.75, 0.375, -0.25, -0.25, 0.501, 0.25}, -- NodeBox13 - {-0.9375, 0.375, 0.1875, -0.6875, 0.501, 0.4375}, -- NodeBox15 - {-0.875, 0.375, 0.125, -0.625, 0.501, 0.375}, -- NodeBox16 - {-0.8125, 0.375, 0.0625, -0.5625, 0.501, 0.3125}, -- NodeBox17 - {-0.4375, 0.375, 0.0625, -0.1875, 0.501, 0.3125}, -- NodeBox18 - {-0.375, 0.375, 0.125, -0.125, 0.501, 0.375}, -- NodeBox19 - {-0.3125, 0.375, 0.1875, -0.0625, 0.501, 0.4375}, -- NodeBox20 - {0.75, 0.375, -0.5, 1, 0.501, -0.25}, -- NodeBox1 - {0.75, 0.375, 0.25, 1, 0.501, 0.5}, -- NodeBox6 - {0.6875, 0.375, 0.1875, 0.9375, 0.501, 0.4375}, -- NodeBox7 - {0.625, 0.375, 0.125, 0.875, 0.501, 0.375}, -- NodeBox8 - {0.5625, 0.375, 0.0625, 0.8125, 0.501, 0.3125}, -- NodeBox9 - {0.0625, 0.375, 0.1875, 0.3125, 0.501, 0.4375}, -- NodeBox10 - {0.125, 0.375, 0.125, 0.375, 0.501, 0.375}, -- NodeBox11 - {0.1875, 0.375, 0.0625, 0.4375, 0.501, 0.3125}, -- NodeBox12 - {0.25, 0.375, -0.25, 0.75, 0.501, 0.25}, -- NodeBox13 - {0.6875, 0.375, -0.4375, 0.9375, 0.501, -0.1875}, -- NodeBox15 - {0.625, 0.375, -0.375, 0.875, 0.501, -0.125}, -- NodeBox16 - {0.5625, 0.375, -0.3125, 0.8125, 0.501, -0.0625}, -- NodeBox17 - {0.1875, 0.375, -0.3125, 0.4375, 0.501, -0.0625}, -- NodeBox18 - {0.125, 0.375, -0.375, 0.375, 0.501, -0.125}, -- NodeBox19 - {0.0625, 0.375, -0.4375, 0.3125, 0.501, -0.1875}, -- NodeBox20 + {-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 = { @@ -4104,13 +4103,13 @@ if not minetest.settings:get_bool("bridger_disable_wooden_bridges") then node_box = { type = "fixed", fixed = { - {-0.4375, -0.5, -0.5, 0.4375, -0.4375, 0.5}, -- NodeBox1 - {-0.5, -0.5, 0.40625, -0.40625, 0.5, 0.5}, -- NodeBox2 - {-0.5, -0.5, -0.5, -0.40625, 0.5, -0.40625}, -- NodeBox3 - {-0.5, 0.375, -0.5, -0.40625, 0.4375, 0.5}, -- NodeBox4 - {0.40625, 0.375, -0.5, 0.5, 0.4375, 0.5}, -- NodeBox5 - {0.40625, -0.5, -0.5, 0.5, 0.5, -0.40625}, -- NodeBox6 - {0.40625, -0.5, 0.40625, 0.5, 0.5, 0.5}, -- NodeBox7 + {-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 = { @@ -4133,9 +4132,9 @@ if not minetest.settings:get_bool("bridger_disable_wooden_bridges") then node_box = { type = "fixed", fixed = { - {-0.4375, -0.5, -0.5, 0.4375, -0.4375, 0.5}, -- NodeBox1 - {-0.5, 0.375, -0.5, -0.40625, 0.4375, 0.5}, -- NodeBox4 - {0.40625, 0.375, -0.5, 0.5, 0.4375, 0.5}, -- NodeBox5 + {-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 = { @@ -4158,14 +4157,43 @@ if not minetest.settings:get_bool("bridger_disable_wooden_bridges") then node_box = { type = "fixed", fixed = { - {-0.4375, -0.5, -0.5, 0.4375, -0.4375, 0.4375}, -- NodeBox1 - {-0.5, -0.5, 0.40625, -0.40625, 0.5, 0.5}, -- NodeBox2 - {-0.5, -0.5, -0.5, -0.40625, 0.5, -0.40625}, -- NodeBox3 - {-0.5, 0.375, -0.5, -0.40625, 0.4375, 0.5}, -- NodeBox4 - {0.40625, 0.375, -0.5, 0.5, 0.4375, 0.5}, -- NodeBox5 - {0.40625, -0.5, -0.5, 0.5, 0.5, -0.40625}, -- NodeBox6 - {0.40625, -0.5, 0.40625, 0.5, 0.5, 0.5}, -- NodeBox7 - {-0.5, 0.375, 0.40625, 0.5, 0.4375, 0.5}, -- NodeBox8 + {-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 = default.node_sound_wood_defaults(), + }) + + minetest.register_node("bridger:small_beam_corner", { + description = "Small Wooden Beam Bridge Corner", + drawtype = "nodebox", + tiles = {"default_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 = { @@ -4188,12 +4216,12 @@ if not minetest.settings:get_bool("bridger_disable_wooden_bridges") then node_box = { type = "fixed", fixed = { - {-0.5, -0.5, -0.5, 0.5, -0.4375, 0.4375}, -- NodeBox1 - {-0.5, -0.5, 0.40625, -0.40625, 0.5, 0.5}, -- NodeBox2 - {-0.5, -0.5, -0.5, -0.40625, 0.5, -0.40625}, -- NodeBox3 - {0.40625, -0.5, -0.5, 0.5, 0.5, -0.40625}, -- NodeBox6 - {0.40625, -0.5, 0.40625, 0.5, 0.5, 0.5}, -- NodeBox7 - {-0.5, 0.375, 0.40625, 0.5, 0.4375, 0.5}, -- NodeBox8 + {-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 = { @@ -4216,11 +4244,11 @@ if not minetest.settings:get_bool("bridger_disable_wooden_bridges") then node_box = { type = "fixed", fixed = { - {-0.5, -0.5, -0.5, 0.5, -0.4375, 0.5}, -- NodeBox1 - {-0.5, -0.5, 0.40625, -0.40625, 0.5, 0.5}, -- NodeBox2 - {-0.5, -0.5, -0.5, -0.40625, 0.5, -0.40625}, -- NodeBox3 - {0.40625, -0.5, -0.5, 0.5, 0.5, -0.40625}, -- NodeBox6 - {0.40625, -0.5, 0.40625, 0.5, 0.5, 0.5}, -- NodeBox7 + {-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 = { @@ -4243,74 +4271,74 @@ if not minetest.settings:get_bool("bridger_disable_wooden_bridges") then node_box = { type = "fixed", fixed = { - {-0.4375, -0.0625, -0.5, 0.4375, 0, 0}, -- NodeBox1 - {-0.4375, 0.4375, 0, 0.4375, 0.5, 0.5}, -- NodeBox2 - {0.40625, 0.4375, 0.40625, 0.5, 1.5, 0.5}, -- NodeBox3 - {0.40625, -0.5, -0.5, 0.5, 0.625, -0.40625}, -- NodeBox4 - {-0.5, -0.5, -0.5, -0.40625, 0.625, -0.40625}, -- NodeBox5 - {-0.5, 0.4375, 0.40625, -0.40625, 1.5, 0.5}, -- NodeBox6 - {-0.5, 1.3125, 0.375, -0.40625, 1.375, 0.5}, -- NodeBox7 - {-0.5, 1.25, 0.3125, -0.40625, 1.3125, 0.4375}, -- NodeBox8 - {-0.5, 1.1875, 0.25, -0.40625, 1.25, 0.375}, -- NodeBox9 - {-0.5, 1.125, 0.1875, -0.40625, 1.1875, 0.3125}, -- NodeBox10 - {-0.5, 1.0625, 0.125, -0.40625, 1.125, 0.25}, -- NodeBox11 - {-0.5, 1, 0.0625, -0.40625, 1.0625, 0.1875}, -- NodeBox12 - {-0.5, 0.9375, 0, -0.40625, 1, 0.125}, -- NodeBox13 - {-0.5, 0.875, -0.0625, -0.40625, 0.9375, 0.0625}, -- NodeBox14 - {-0.5, 0.8125, -0.125, -0.40625, 0.875, 0}, -- NodeBox15 - {-0.5, 0.75, -0.1875, -0.40625, 0.8125, -0.0625}, -- NodeBox16 - {-0.5, 0.6875, -0.25, -0.40625, 0.75, -0.125}, -- NodeBox17 - {-0.5, 0.625, -0.3125, -0.40625, 0.6875, -0.1875}, -- NodeBox18 - {-0.5, 0.5625, -0.375, -0.40625, 0.625, -0.25}, -- NodeBox19 - {-0.5, 0.5, -0.4375, -0.40625, 0.5625, -0.3125}, -- NodeBox20 - {-0.5, 0.4375, -0.5, -0.40625, 0.5, -0.375}, -- NodeBox21 - {0.40625, 0.4375, -0.5, 0.5, 0.5, -0.375}, -- NodeBox22 - {0.40625, 0.5, -0.4375, 0.5, 0.5625, -0.3125}, -- NodeBox23 - {0.40625, 0.5625, -0.375, 0.5, 0.625, -0.25}, -- NodeBox24 - {0.40625, 0.625, -0.3125, 0.5, 0.6875, -0.1875}, -- NodeBox25 - {0.40625, 0.6875, -0.25, 0.5, 0.75, -0.125}, -- NodeBox26 - {0.40625, 0.75, -0.1875, 0.5, 0.8125, -0.0625}, -- NodeBox27 - {0.40625, 0.8125, -0.125, 0.5, 0.875, 0}, -- NodeBox28 - {0.40625, 0.875, -0.0625, 0.5, 0.9375, 0.0625}, -- NodeBox29 - {0.40625, 0.9375, 0, 0.5, 1, 0.125}, -- NodeBox30 - {0.40625, 1, 0.0625, 0.5, 1.0625, 0.1875}, -- NodeBox31 - {0.40625, 1.0625, 0.125, 0.5, 1.125, 0.25}, -- NodeBox32 - {0.40625, 1.125, 0.1875, 0.5, 1.1875, 0.3125}, -- NodeBox33 - {0.40625, 1.1875, 0.25, 0.5, 1.25, 0.375}, -- NodeBox34 - {0.40625, 1.25, 0.3125, 0.5, 1.3125, 0.4375}, -- NodeBox35 - {0.40625, 1.3125, 0.375, 0.5, 1.375, 0.5}, -- NodeBox36 - {0.40625, -0.5, -0.5, 0.5, -0.4375, -0.375}, -- NodeBox38 - {0.40625, -0.4375, -0.4375, 0.5, -0.375, -0.3125}, -- NodeBox39 - {0.40625, -0.375, -0.375, 0.5, -0.3125, -0.25}, -- NodeBox40 - {0.40625, -0.3125, -0.3125, 0.5, -0.25, -0.1875}, -- NodeBox41 - {0.40625, -0.25, -0.25, 0.5, -0.1875, -0.125}, -- NodeBox42 - {0.40625, -0.1875, -0.1875, 0.5, -0.125, -0.0625}, -- NodeBox43 - {0.40625, -0.125, -0.125, 0.5, -0.0625, 0}, -- NodeBox44 - {0.40625, -0.0625, -0.0625, 0.5, 0, 0.0625}, -- NodeBox45 - {0.40625, 0, 0, 0.5, 0.0625, 0.125}, -- NodeBox46 - {0.40625, 0.0625, 0.0625, 0.5, 0.125, 0.1875}, -- NodeBox47 - {0.40625, 0.125, 0.125, 0.5, 0.1875, 0.25}, -- NodeBox48 - {0.40625, 0.1875, 0.1875, 0.5, 0.25, 0.3125}, -- NodeBox49 - {0.40625, 0.25, 0.25, 0.5, 0.3125, 0.375}, -- NodeBox50 - {0.40625, 0.3125, 0.3125, 0.5, 0.375, 0.4375}, -- NodeBox51 - {0.40625, 0.375, 0.375, 0.5, 0.4375, 0.5}, -- NodeBox52 - {-0.5, -0.5, -0.5, -0.40625, -0.4375, -0.375}, -- NodeBox53 - {-0.5, -0.4375, -0.4375, -0.40625, -0.375, -0.3125}, -- NodeBox54 - {-0.5, -0.375, -0.375, -0.40625, -0.3125, -0.25}, -- NodeBox55 - {-0.5, -0.3125, -0.3125, -0.40625, -0.25, -0.1875}, -- NodeBox56 - {-0.5, -0.25, -0.25, -0.40625, -0.1875, -0.125}, -- NodeBox57 - {-0.5, -0.1875, -0.1875, -0.40625, -0.125, -0.0625}, -- NodeBox58 - {-0.5, -0.125, -0.125, -0.40625, -0.0625, 0}, -- NodeBox59 - {-0.5, -0.0625, -0.0625, -0.40625, 0, 0.0625}, -- NodeBox60 - {-0.5, 0, 0, -0.40625, 0.0625, 0.125}, -- NodeBox61 - {-0.5, 0.0625, 0.0625, -0.40625, 0.125, 0.1875}, -- NodeBox62 - {-0.5, 0.125, 0.125, -0.40625, 0.1875, 0.25}, -- NodeBox63 - {-0.5, 0.1875, 0.1875, -0.40625, 0.25, 0.3125}, -- NodeBox64 - {-0.5, 0.25, 0.25, -0.40625, 0.3125, 0.375}, -- NodeBox65 - {-0.5, 0.3125, 0.3125, -0.40625, 0.375, 0.4375}, -- NodeBox66 - {-0.5, 0.375, 0.375, -0.40625, 0.4375, 0.5}, -- NodeBox67 - {-0.5, -0.5625, -0.5, -0.40625, -0.5, -0.4375}, -- NodeBox68 - {0.40625, -0.5625, -0.5, 0.5, -0.5, -0.4375}, -- NodeBox69 + {-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 = { @@ -4333,13 +4361,13 @@ if not minetest.settings:get_bool("bridger_disable_wooden_bridges") then node_box = { type = "fixed", fixed = { - {-0.4375, -0.5, -1.5, 0.4375, -0.4375, 1.5}, -- NodeBox1 - {0.40625, -0.5, -0.6875, 0.5, 0.5, -0.59375}, -- NodeBox2 - {0.40625, -0.5, 0.59375, 0.5, 0.5, 0.6875}, -- NodeBox3 - {-0.5, -0.5, 0.59375, -0.40625, 0.5, 0.6875}, -- NodeBox4 - {-0.5, -0.5, -0.6875, -0.40625, 0.5, -0.59375}, -- NodeBox5 - {-0.5, 0.375, -1.5, -0.40625, 0.4375, 1.5}, -- NodeBox6 - {0.40625, 0.375, -1.5, 0.5, 0.4375, 1.5}, -- NodeBox7 + {-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 = { @@ -4362,55 +4390,55 @@ if not minetest.settings:get_bool("bridger_disable_wooden_bridges") then node_box = { type = "fixed", fixed = { - {-0.4375, -0.5, -1.5, 0.4375, -0.4375, -1.375}, -- NodeBox1 - {0.40625, -0.125, -0.6875, 0.5, 0.875, -0.59375}, -- NodeBox2 - {0.40625, -0.125, 0.59375, 0.5, 0.875, 0.6875}, -- NodeBox3 - {-0.5, -0.125, 0.59375, -0.40625, 0.875, 0.6875}, -- NodeBox4 - {-0.5, -0.125, -0.6875, -0.40625, 0.875, -0.59375}, -- NodeBox5 - {-0.5, 0.375, -1.5, -0.40625, 0.4375, -1.375}, -- NodeBox6 - {0.40625, 0.375, -1.5, 0.5, 0.4375, -1.375}, -- NodeBox7 - {-0.4375, -0.4375, -1.4375, 0.4375, -0.375, -1.3125}, -- NodeBox8 - {-0.4375, -0.375, -1.375, 0.4375, -0.3125, -1.25}, -- NodeBox9 - {-0.4375, -0.3125, -1.3125, 0.4375, -0.25, -1.125}, -- NodeBox10 - {-0.4375, -0.25, -1.1875, 0.4375, -0.1875, -1}, -- NodeBox11 - {-0.4375, -0.1875, -1.0625, 0.4375, -0.125, -0.75}, -- NodeBox12 - {-0.4375, -0.125, -0.8125, 0.4375, -0.0625, -0.4375}, -- NodeBox13 - {-0.4375, -0.125, 0.4375, 0.4375, -0.0625, 0.8125}, -- NodeBox14 - {-0.4375, -0.0625, -0.5, 0.4375, 0, 0.5}, -- NodeBox15 - {-0.4375, -0.1875, 0.75, 0.4375, -0.125, 1.0625}, -- NodeBox16 - {-0.4375, -0.25, 1, 0.4375, -0.1875, 1.1875}, -- NodeBox17 - {-0.4375, -0.3125, 1.125, 0.4375, -0.25, 1.3125}, -- NodeBox18 - {-0.4375, -0.375, 1.25, 0.4375, -0.3125, 1.375}, -- NodeBox19 - {-0.4375, -0.4375, 1.3125, 0.4375, -0.375, 1.4375}, -- NodeBox20 - {-0.4375, -0.5, 1.375, 0.4375, -0.4375, 1.5}, -- NodeBox21 - {-0.5, 0.4375, -1.4375, -0.40625, 0.5, -1.3125}, -- NodeBox22 - {-0.5, 0.5, -1.375, -0.40625, 0.5625, -1.25}, -- NodeBox23 - {-0.5, 0.5625, -1.3125, -0.40625, 0.625, -1.125}, -- NodeBox24 - {-0.5, 0.625, -1.1875, -0.40625, 0.6875, -1}, -- NodeBox25 - {-0.5, 0.6875, -1.0625, -0.40625, 0.75, -0.75}, -- NodeBox26 - {-0.5, 0.75, -0.8125, -0.40625, 0.8125, -0.4375}, -- NodeBox27 - {-0.5, 0.8125, -0.5, -0.40625, 0.875, 0.5}, -- NodeBox28 - {-0.5, 0.75, 0.4375, -0.40625, 0.8125, 0.8125}, -- NodeBox29 - {-0.5, 0.6875, 0.75, -0.40625, 0.75, 1.0625}, -- NodeBox30 - {-0.5, 0.625, 1, -0.40625, 0.6875, 1.1875}, -- NodeBox31 - {-0.5, 0.5625, 1.125, -0.40625, 0.625, 1.3125}, -- NodeBox32 - {-0.5, 0.5, 1.25, -0.40625, 0.5625, 1.375}, -- NodeBox33 - {-0.5, 0.4375, 1.3125, -0.40625, 0.5, 1.4375}, -- NodeBox34 - {-0.5, 0.375, 1.375, -0.40625, 0.4375, 1.5}, -- NodeBox35 - {0.40625, 0.4375, -1.4375, 0.5, 0.5, -1.3125}, -- NodeBox36 - {0.40625, 0.5, -1.375, 0.5, 0.5625, -1.25}, -- NodeBox37 - {0.40625, 0.5625, -1.3125, 0.5, 0.625, -1.125}, -- NodeBox38 - {0.40625, 0.625, -1.1875, 0.5, 0.6875, -1}, -- NodeBox39 - {0.40625, 0.6875, -1.0625, 0.5, 0.75, -0.75}, -- NodeBox40 - {0.40625, 0.75, -0.8125, 0.5, 0.8125, -0.4375}, -- NodeBox41 - {0.40625, 0.8125, -0.5, 0.5, 0.875, 0.5}, -- NodeBox42 - {0.40625, 0.75, 0.4375, 0.5, 0.8125, 0.8125}, -- NodeBox43 - {0.40625, 0.6875, 0.75, 0.5, 0.75, 1.0625}, -- NodeBox44 - {0.40625, 0.625, 1, 0.5, 0.6875, 1.1875}, -- NodeBox45 - {0.40625, 0.5625, 1.125, 0.5, 0.625, 1.3125}, -- NodeBox46 - {0.40625, 0.5, 1.25, 0.5, 0.5625, 1.375}, -- NodeBox47 - {0.40625, 0.4375, 1.3125, 0.5, 0.5, 1.4375}, -- NodeBox48 - {0.40625, 0.375, 1.375, 0.5, 0.4375, 1.5}, -- NodeBox49 + {-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 = { @@ -4423,369 +4451,203 @@ if not minetest.settings:get_bool("bridger_disable_wooden_bridges") then sounds = default.node_sound_wood_defaults(), }) + local mesecon_on_blastnode = nil if minetest.get_modpath("mesecons") then - minetest.register_node("bridger:large_beam_swivel_normal", { - description = "Large Wooden Swivel Bridge", - drawtype = "nodebox", - tiles = {"default_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}, -- NodeBox1 - {0.40625, -0.5, -0.6875, 0.5, 0.5, -0.59375}, -- NodeBox2 - {0.40625, -0.5, 0.59375, 0.5, 0.5, 0.6875}, -- NodeBox3 - {-0.5, -0.5, 0.59375, -0.40625, 0.5, 0.6875}, -- NodeBox4 - {-0.5, -0.5, -0.6875, -0.40625, 0.5, -0.59375}, -- NodeBox5 - {-0.5, 0.375, -1.5, -0.40625, 0.4375, 1.5}, -- NodeBox6 - {0.40625, 0.375, -1.5, 0.5, 0.4375, 1.5}, -- NodeBox7 - }, - }, - selection_box = { - type = "fixed", - fixed = { - {-0.5, -0.5, -1.5, 0.5, 0.5, 1.5}, - }, - }, - on_rightclick = function(pos, node) - minetest.set_node(pos, {name = "bridger:large_beam_swivel_open", param2 = node.param2}) - end, - groups = {choppy=3}, - sounds = default.node_sound_wood_defaults(), - mesecons = {effector = { - action_on = function (pos, node) - minetest.swap_node(pos, {name = "bridger:large_beam_swivel_open", param2 = node.param2}) - end, - }}, - on_blast = mesecon.on_blastnode, - }) - - minetest.register_node("bridger:large_beam_swivel_open", { - description = "Large Wooden Swivel Bridge", - drawtype = "nodebox", - tiles = {"default_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}, -- NodeBox1 - {-0.6875, -0.5, -0.5, -0.59375, 0.5, -0.40625}, -- NodeBox2 - {0.59375, -0.5, -0.5, 0.6875, 0.5, -0.40625}, -- NodeBox3 - {0.59375, -0.5, 0.40625, 0.6875, 0.5, 0.5}, -- NodeBox4 - {-0.6875, -0.5, 0.40625, -0.59375, 0.5, 0.5}, -- NodeBox5 - {-1.5, 0.375, 0.40625, 1.5, 0.4375, 0.5}, -- NodeBox6 - {-1.5, 0.375, -0.5, 1.5, 0.4375, -0.40625}, -- NodeBox7 - }, - }, - selection_box = { - type = "fixed", - fixed = { - {-1.5, -0.5, -0.5, 1.5, 0.5, 0.5}, - }, - }, - on_rightclick = function(pos, node) - minetest.set_node(pos, {name = "bridger:large_beam_swivel_normal", param2 = node.param2}) - end, - drop = "bridger:large_beam_swivel_normal", - groups = {choppy=3, not_in_creative_inventory=1}, - sounds = default.node_sound_wood_defaults(), - mesecons = {effector = { - action_off = function (pos, node) - minetest.swap_node(pos, {name = "bridger:large_beam_swivel_normal", param2 = node.param2}) - end, - }}, - on_blast = mesecon.on_blastnode, - }) - - minetest.register_node("bridger:large_drawbridge_normal", { - description = "Large Wooden Drawbridge", - drawtype = "nodebox", - tiles = {"default_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}, -- NodeBox1 - {0.40625, -0.5, -0.5, 0.5, 0.5, -0.40625}, -- NodeBox2 - {0.40625, -0.5, 0.59375, 0.5, 0.5, 0.6875}, -- NodeBox3 - {-0.5, -0.5, 0.59375, -0.40625, 0.5, 0.6875}, -- NodeBox4 - {-0.5, -0.5, -0.5, -0.40625, 0.5, -0.40625}, -- NodeBox5 - {-0.5, 0.375, -0.5, -0.40625, 0.4375, 1.5}, -- NodeBox6 - {0.40625, 0.375, -0.5, 0.5, 0.4375, 1.5}, -- NodeBox7 - }, - }, - selection_box = { - type = "fixed", - fixed = { - {-0.5, -0.5, -0.5, 0.5, 0.5, 1.5}, - }, - }, - on_rightclick = function(pos, node) - minetest.set_node(pos, {name = "bridger:large_drawbridge_open", param2 = node.param2}) - end, - groups = {choppy=3}, - sounds = default.node_sound_wood_defaults(), - mesecons = {effector = { - action_on = function (pos, node) - minetest.swap_node(pos, {name = "bridger:large_drawbridge_open", param2 = node.param2}) - end, - }}, - }) - - minetest.register_node("bridger:large_drawbridge_open", { - description = "Large Wooden Drawbridge", - drawtype = "nodebox", - tiles = {"default_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}, -- NodeBox1 - {0.40625, -0.5, -0.5, 0.5, 0.5, -0.40625}, -- NodeBox2 - {0.40625, 0.875, 0.15625, 0.5, 2.125, 0.25}, -- NodeBox3 - {-0.5, 0.875, 0.15625, -0.40625, 2.125, 0.25}, -- NodeBox4 - {-0.5, -0.5, -0.5, -0.40625, 0.5, -0.40625}, -- NodeBox5 - {-0.5, 0.375, -0.5, -0.40625, 0.5625, -0.4375}, -- NodeBox6 - {0.40625, 0.375, -0.5, 0.5, 0.5625, -0.4375}, -- NodeBox7 - {-0.4375, -0.375, -0.4375, 0.4375, -0.1875, -0.375}, -- NodeBox8 - {-0.4375, -0.25, -0.375, 0.4375, -0.0625, -0.3125}, -- NodeBox9 - {-0.4375, -0.125, -0.3125, 0.4375, 0.0625, -0.25}, -- NodeBox10 - {-0.4375, 0, -0.25, 0.4375, 0.1875, -0.1875}, -- NodeBox11 - {-0.4375, 0.125, -0.1875, 0.4375, 0.3125, -0.125}, -- NodeBox12 - {-0.4375, 0.25, -0.125, 0.4375, 0.4375, -0.0625}, -- NodeBox13 - {-0.4375, 0.375, -0.0625, 0.4375, 0.5625, 0}, -- NodeBox14 - {-0.4375, 0.5, 0, 0.4375, 0.6875, 0.0625}, -- NodeBox15 - {-0.4375, 0.625, 0.0625, 0.4375, 0.8125, 0.125}, -- NodeBox16 - {-0.4375, 0.75, 0.125, 0.4375, 0.9375, 0.1875}, -- NodeBox17 - {-0.4375, 0.875, 0.1875, 0.4375, 1.0625, 0.25}, -- NodeBox18 - {-0.4375, 1, 0.25, 0.4375, 1.1875, 0.3125}, -- NodeBox19 - {-0.4375, 1.125, 0.3125, 0.4375, 1.3125, 0.375}, -- NodeBox20 - {-0.5, 0.5, -0.4375, -0.40625, 0.6875, -0.375}, -- NodeBox21 - {-0.5, 0.625, -0.375, -0.40625, 0.8125, -0.3125}, -- NodeBox22 - {-0.5, 0.75, -0.3125, -0.40625, 0.9375, -0.25}, -- NodeBox23 - {-0.5, 0.875, -0.25, -0.40625, 1.0625, -0.1875}, -- NodeBox24 - {-0.5, 1, -0.1875, -0.40625, 1.1875, -0.125}, -- NodeBox25 - {-0.5, 1.125, -0.125, -0.40625, 1.3125, -0.0625}, -- NodeBox26 - {-0.5, 1.25, -0.0625, -0.40625, 1.4375, 0}, -- NodeBox27 - {-0.5, 1.375, 0, -0.40625, 1.5625, 0.0625}, -- NodeBox28 - {-0.5, 1.5, 0.0625, -0.40625, 1.6875, 0.125}, -- NodeBox29 - {-0.5, 1.625, 0.125, -0.40625, 1.8125, 0.1875}, -- NodeBox30 - {-0.5, 1.75, 0.1875, -0.40625, 1.9375, 0.25}, -- NodeBox31 - {-0.5, 1.875, 0.25, -0.40625, 2.0625, 0.3125}, -- NodeBox32 - {-0.5, 2, 0.3125, -0.40625, 2.1875, 0.375}, -- NodeBox33 - {0.40625, 0.5, -0.4375, 0.5, 0.6875, -0.375}, -- NodeBox34 - {0.40625, 0.625, -0.375, 0.5, 0.8125, -0.3125}, -- NodeBox35 - {0.40625, 0.75, -0.3125, 0.5, 0.9375, -0.25}, -- NodeBox36 - {0.40625, 0.875, -0.25, 0.5, 1.0625, -0.1875}, -- NodeBox37 - {0.40625, 1, -0.1875, 0.5, 1.1875, -0.125}, -- NodeBox38 - {0.40625, 1.125, -0.125, 0.5, 1.3125, -0.0625}, -- NodeBox39 - {0.40625, 1.25, -0.0625, 0.5, 1.4375, 0}, -- NodeBox40 - {0.40625, 1.375, 0, 0.5, 1.5625, 0.0625}, -- NodeBox41 - {0.40625, 1.5, 0.0625, 0.5, 1.6875, 0.125}, -- NodeBox42 - {0.40625, 1.625, 0.125, 0.5, 1.8125, 0.1875}, -- NodeBox43 - {0.40625, 1.75, 0.1875, 0.5, 1.9375, 0.25}, -- NodeBox44 - {0.40625, 1.875, 0.25, 0.5, 2.0625, 0.3125}, -- NodeBox45 - {0.40625, 2, 0.3125, 0.5, 2.1875, 0.375}, -- NodeBox46 - }, - }, - selection_box = { - type = "fixed", - fixed = { - {-0.5, -0.5, -0.5, 0.5, 2.1875, 0.5}, - }, - }, - on_rightclick = function(pos, node) - minetest.set_node(pos, {name = "bridger:large_drawbridge_normal", param2 = node.param2}) - end, - drop = "bridger:large_drawbridge_normal", - groups = {choppy=3, not_in_creative_inventory=1}, - sounds = default.node_sound_wood_defaults(), - mesecons = {effector = { - action_off = function (pos, node) - minetest.swap_node(pos, {name = "bridger:large_drawbridge_normal", param2 = node.param2}) - end, - }}, - on_blast = mesecon.on_blastnode, - }) - else - minetest.register_node("bridger:large_beam_swivel_normal", { - description = "Large Wooden Swivel Bridge", - drawtype = "nodebox", - tiles = {"default_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}, -- NodeBox1 - {0.40625, -0.5, -0.6875, 0.5, 0.5, -0.59375}, -- NodeBox2 - {0.40625, -0.5, 0.59375, 0.5, 0.5, 0.6875}, -- NodeBox3 - {-0.5, -0.5, 0.59375, -0.40625, 0.5, 0.6875}, -- NodeBox4 - {-0.5, -0.5, -0.6875, -0.40625, 0.5, -0.59375}, -- NodeBox5 - {-0.5, 0.375, -1.5, -0.40625, 0.4375, 1.5}, -- NodeBox6 - {0.40625, 0.375, -1.5, 0.5, 0.4375, 1.5}, -- NodeBox7 - }, - }, - selection_box = { - type = "fixed", - fixed = { - {-0.5, -0.5, -1.5, 0.5, 0.5, 1.5}, - }, - }, - on_rightclick = function(pos, node) - minetest.set_node(pos, {name = "bridger:large_beam_swivel_open", param2 = node.param2}) - end, - groups = {choppy=3}, - sounds = default.node_sound_wood_defaults(), - }) - - minetest.register_node("bridger:large_beam_swivel_open", { - description = "Large Wooden Swivel Bridge", - drawtype = "nodebox", - tiles = {"default_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}, -- NodeBox1 - {-0.6875, -0.5, -0.5, -0.59375, 0.5, -0.40625}, -- NodeBox2 - {0.59375, -0.5, -0.5, 0.6875, 0.5, -0.40625}, -- NodeBox3 - {0.59375, -0.5, 0.40625, 0.6875, 0.5, 0.5}, -- NodeBox4 - {-0.6875, -0.5, 0.40625, -0.59375, 0.5, 0.5}, -- NodeBox5 - {-1.5, 0.375, 0.40625, 1.5, 0.4375, 0.5}, -- NodeBox6 - {-1.5, 0.375, -0.5, 1.5, 0.4375, -0.40625}, -- NodeBox7 - }, - }, - selection_box = { - type = "fixed", - fixed = { - {-1.5, -0.5, -0.5, 1.5, 0.5, 0.5}, - }, - }, - on_rightclick = function(pos, node) - minetest.set_node(pos, {name = "bridger:large_beam_swivel_normal", param2 = node.param2}) - end, - drop = "bridger:large_beam_swivel_normal", - groups = {choppy=3, not_in_creative_inventory=1}, - sounds = default.node_sound_wood_defaults(), - }) - - minetest.register_node("bridger:large_drawbridge_normal", { - description = "Large Wooden Drawbridge", - drawtype = "nodebox", - tiles = {"default_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}, -- NodeBox1 - {0.40625, -0.5, -0.5, 0.5, 0.5, -0.40625}, -- NodeBox2 - {0.40625, -0.5, 0.59375, 0.5, 0.5, 0.6875}, -- NodeBox3 - {-0.5, -0.5, 0.59375, -0.40625, 0.5, 0.6875}, -- NodeBox4 - {-0.5, -0.5, -0.5, -0.40625, 0.5, -0.40625}, -- NodeBox5 - {-0.5, 0.375, -0.5, -0.40625, 0.4375, 1.5}, -- NodeBox6 - {0.40625, 0.375, -0.5, 0.5, 0.4375, 1.5}, -- NodeBox7 - }, - }, - selection_box = { - type = "fixed", - fixed = { - {-0.5, -0.5, -0.5, 0.5, 0.5, 1.5}, - }, - }, - on_rightclick = function(pos, node) - minetest.set_node(pos, {name = "bridger:large_drawbridge_open", param2 = node.param2}) - end, - groups = {choppy=3}, - sounds = default.node_sound_wood_defaults(), - }) - - minetest.register_node("bridger:large_drawbridge_open", { - description = "Large Wooden Drawbridge", - drawtype = "nodebox", - tiles = {"default_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}, -- NodeBox1 - {0.40625, -0.5, -0.5, 0.5, 0.5, -0.40625}, -- NodeBox2 - {0.40625, 0.875, 0.15625, 0.5, 2.125, 0.25}, -- NodeBox3 - {-0.5, 0.875, 0.15625, -0.40625, 2.125, 0.25}, -- NodeBox4 - {-0.5, -0.5, -0.5, -0.40625, 0.5, -0.40625}, -- NodeBox5 - {-0.5, 0.375, -0.5, -0.40625, 0.5625, -0.4375}, -- NodeBox6 - {0.40625, 0.375, -0.5, 0.5, 0.5625, -0.4375}, -- NodeBox7 - {-0.4375, -0.375, -0.4375, 0.4375, -0.1875, -0.375}, -- NodeBox8 - {-0.4375, -0.25, -0.375, 0.4375, -0.0625, -0.3125}, -- NodeBox9 - {-0.4375, -0.125, -0.3125, 0.4375, 0.0625, -0.25}, -- NodeBox10 - {-0.4375, 0, -0.25, 0.4375, 0.1875, -0.1875}, -- NodeBox11 - {-0.4375, 0.125, -0.1875, 0.4375, 0.3125, -0.125}, -- NodeBox12 - {-0.4375, 0.25, -0.125, 0.4375, 0.4375, -0.0625}, -- NodeBox13 - {-0.4375, 0.375, -0.0625, 0.4375, 0.5625, 0}, -- NodeBox14 - {-0.4375, 0.5, 0, 0.4375, 0.6875, 0.0625}, -- NodeBox15 - {-0.4375, 0.625, 0.0625, 0.4375, 0.8125, 0.125}, -- NodeBox16 - {-0.4375, 0.75, 0.125, 0.4375, 0.9375, 0.1875}, -- NodeBox17 - {-0.4375, 0.875, 0.1875, 0.4375, 1.0625, 0.25}, -- NodeBox18 - {-0.4375, 1, 0.25, 0.4375, 1.1875, 0.3125}, -- NodeBox19 - {-0.4375, 1.125, 0.3125, 0.4375, 1.3125, 0.375}, -- NodeBox20 - {-0.5, 0.5, -0.4375, -0.40625, 0.6875, -0.375}, -- NodeBox21 - {-0.5, 0.625, -0.375, -0.40625, 0.8125, -0.3125}, -- NodeBox22 - {-0.5, 0.75, -0.3125, -0.40625, 0.9375, -0.25}, -- NodeBox23 - {-0.5, 0.875, -0.25, -0.40625, 1.0625, -0.1875}, -- NodeBox24 - {-0.5, 1, -0.1875, -0.40625, 1.1875, -0.125}, -- NodeBox25 - {-0.5, 1.125, -0.125, -0.40625, 1.3125, -0.0625}, -- NodeBox26 - {-0.5, 1.25, -0.0625, -0.40625, 1.4375, 0}, -- NodeBox27 - {-0.5, 1.375, 0, -0.40625, 1.5625, 0.0625}, -- NodeBox28 - {-0.5, 1.5, 0.0625, -0.40625, 1.6875, 0.125}, -- NodeBox29 - {-0.5, 1.625, 0.125, -0.40625, 1.8125, 0.1875}, -- NodeBox30 - {-0.5, 1.75, 0.1875, -0.40625, 1.9375, 0.25}, -- NodeBox31 - {-0.5, 1.875, 0.25, -0.40625, 2.0625, 0.3125}, -- NodeBox32 - {-0.5, 2, 0.3125, -0.40625, 2.1875, 0.375}, -- NodeBox33 - {0.40625, 0.5, -0.4375, 0.5, 0.6875, -0.375}, -- NodeBox34 - {0.40625, 0.625, -0.375, 0.5, 0.8125, -0.3125}, -- NodeBox35 - {0.40625, 0.75, -0.3125, 0.5, 0.9375, -0.25}, -- NodeBox36 - {0.40625, 0.875, -0.25, 0.5, 1.0625, -0.1875}, -- NodeBox37 - {0.40625, 1, -0.1875, 0.5, 1.1875, -0.125}, -- NodeBox38 - {0.40625, 1.125, -0.125, 0.5, 1.3125, -0.0625}, -- NodeBox39 - {0.40625, 1.25, -0.0625, 0.5, 1.4375, 0}, -- NodeBox40 - {0.40625, 1.375, 0, 0.5, 1.5625, 0.0625}, -- NodeBox41 - {0.40625, 1.5, 0.0625, 0.5, 1.6875, 0.125}, -- NodeBox42 - {0.40625, 1.625, 0.125, 0.5, 1.8125, 0.1875}, -- NodeBox43 - {0.40625, 1.75, 0.1875, 0.5, 1.9375, 0.25}, -- NodeBox44 - {0.40625, 1.875, 0.25, 0.5, 2.0625, 0.3125}, -- NodeBox45 - {0.40625, 2, 0.3125, 0.5, 2.1875, 0.375}, -- NodeBox46 - }, - }, - selection_box = { - type = "fixed", - fixed = { - {-0.5, -0.5, -0.5, 0.5, 2.1875, 0.5}, - }, - }, - on_rightclick = function(pos, node) - minetest.set_node(pos, {name = "bridger:large_drawbridge_normal", param2 = node.param2}) - end, - drop = "bridger:large_drawbridge_normal", - groups = {choppy=3, not_in_creative_inventory=1}, - sounds = default.node_sound_wood_defaults(), - }) + mesecons_on_blastnode = mesecon.on_blastnode end + minetest.register_node("bridger:large_beam_swivel_normal", { + description = "Large Wooden Swivel Bridge", + drawtype = "nodebox", + tiles = {"default_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}, + }, + }, + on_rightclick = function(pos, node) + minetest.set_node(pos, {name = "bridger:large_beam_swivel_open", param2 = node.param2}) + end, + groups = {choppy=3}, + sounds = default.node_sound_wood_defaults(), + mesecons = {effector = { + action_on = function(pos, node) + minetest.swap_node(pos, {name = "bridger:large_beam_swivel_open", param2 = node.param2}) + end, + }}, + on_blast = mesecon_on_blastnode, + }) + + minetest.register_node("bridger:large_beam_swivel_open", { + description = "Large Wooden Swivel Bridge", + drawtype = "nodebox", + tiles = {"default_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) + minetest.set_node(pos, {name = "bridger:large_beam_swivel_normal", param2 = node.param2}) + end, + drop = "bridger:large_beam_swivel_normal", + groups = {choppy=3, not_in_creative_inventory=1}, + sounds = default.node_sound_wood_defaults(), + mesecons = {effector = { + action_off = function(pos, node) + minetest.swap_node(pos, {name = "bridger:large_beam_swivel_normal", param2 = node.param2}) + end, + }}, + on_blast = mesecon_on_blastnode, + }) + + minetest.register_node("bridger:large_drawbridge_normal", { + description = "Large Wooden Drawbridge", + drawtype = "nodebox", + tiles = {"default_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) + minetest.set_node(pos, {name = "bridger:large_drawbridge_open", param2 = node.param2}) + end, + groups = {choppy=3}, + sounds = default.node_sound_wood_defaults(), + mesecons = {effector = { + action_on = function(pos, node) + minetest.swap_node(pos, {name = "bridger:large_drawbridge_open", param2 = node.param2}) + end, + }}, + }) + + minetest.register_node("bridger:large_drawbridge_open", { + description = "Large Wooden Drawbridge", + drawtype = "nodebox", + tiles = {"default_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) + minetest.set_node(pos, {name = "bridger:large_drawbridge_normal", param2 = node.param2}) + end, + drop = "bridger:large_drawbridge_normal", + groups = {choppy=3, not_in_creative_inventory=1}, + sounds = default.node_sound_wood_defaults(), + mesecons = {effector = { + action_off = function(pos, node) + minetest.swap_node(pos, {name = "bridger:large_drawbridge_normal", param2 = node.param2}) + end, + }}, + on_blast = mesecon_on_blastnode, + }) + minetest.register_node("bridger:deck_wood", { description = "Wooden Deck", drawtype = "nodebox", @@ -4807,4 +4669,4 @@ if not minetest.settings:get_bool("bridger_disable_wooden_bridges") then groups = {choppy=3}, sounds = default.node_sound_wood_defaults(), }) -end \ No newline at end of file +end diff --git a/mods/builtin_item/README.md b/mods/builtin_item/README.md index cf37e8b8..a1699c98 100644 --- a/mods/builtin_item/README.md +++ b/mods/builtin_item/README.md @@ -10,15 +10,17 @@ Features: - Particle effects added - Dropped items slide on nodes with {slippery} groups - Items stuck inside solid nodes move to nearest empty space -- Added 'dropped_step(self, pos, dtime)' custom on_step for dropped items +- Added 'dropped_step(self, pos, dtime, moveresult)' custom on_step for dropped items 'self.node_inside' contains node table that item is inside 'self.def_inside' contains node definition for above 'self.node_under' contains node table that is below item 'self.def_under' contains node definition for above 'self.age' holds age of dropped item in seconds 'self.itemstring' contains itemstring e.g. "default:dirt", "default:ice 20" + 'self.is_moving' true if dropped item is moving 'pos' holds position of dropped item 'dtime' used for timers + 'moveresult' table containing collision info return false to skip further checks by builtin_item diff --git a/mods/builtin_item/init.lua b/mods/builtin_item/init.lua index 504cdb1c..8b3bc312 100644 --- a/mods/builtin_item/init.lua +++ b/mods/builtin_item/init.lua @@ -271,7 +271,7 @@ core.register_entity(":__builtin:item", { pos.y = pos.y + ((total_count - count) / max_count) * 0.15 self.object:move_to(pos) - self.age = 0 -- Handle as new entity + self.age = 0 -- Reset age -- Merge velocities local vel_a = self.object:get_velocity() @@ -300,35 +300,49 @@ core.register_entity(":__builtin:item", { -- get nodes every 1/4 second self.timer = (self.timer or 0) + dtime - if self.timer > 0.25 or not self.node_inside then + if self.timer < 0.25 and self.node_inside then + return + end - self.node_inside = minetest.get_node_or_nil(pos) - self.def_inside = self.node_inside - and core.registered_nodes[self.node_inside.name] + self.node_inside = minetest.get_node_or_nil(pos) + self.def_inside = self.node_inside + and core.registered_nodes[self.node_inside.name] - -- get ground node for collision - self.node_under = nil - self.falling_state = true + -- get ground node for collision + self.node_under = nil + self.falling_state = true - if moveresult and moveresult.touching_ground then + --[[ new ground check (glitchy) + if moveresult and moveresult.touching_ground then - for _, info in ipairs(moveresult.collisions) do + for _, info in ipairs(moveresult.collisions) do - if info.axis == "y" then + if info.axis == "y" then - self.node_under = core.get_node(info.node_pos) - self.falling_state = false + self.node_under = core.get_node_or_nil(info.node_pos) + self.falling_state = false - break - end + break end end + end]] - self.def_under = self.node_under - and core.registered_nodes[self.node_under.name] + -- old ground check (stable) + self.node_under = minetest.get_node_or_nil({ + x = pos.x, + y = pos.y + self.object:get_properties().collisionbox[2] - 0.05, + z = pos.z + }) - self.timer = 0 + self.def_under = self.node_under + and core.registered_nodes[self.node_under.name] + + -- part of old ground check + if self.def_under and self.def_under.walkable then + self.falling_state = false end + + self.timer = 0 end, step_node_inside_checks = function(self) @@ -336,7 +350,8 @@ core.register_entity(":__builtin:item", { local pos = self.object:get_pos() -- Delete in 'ignore' nodes - if self.node_inside and self.node_inside.name == "ignore" then + if (self.node_inside and self.node_inside.name == "ignore") + or self.itemstring == "" then self.itemstring = "" self.object:remove() @@ -382,8 +397,7 @@ core.register_entity(":__builtin:item", { step_check_slippery = function(self) - -- don't check for slippery ground if we're not on - -- any ground to begin with + -- don't check for slippery if we're not on the ground if self.falling_state or not self.node_under then self.slippery_state = false @@ -441,6 +455,21 @@ core.register_entity(":__builtin:item", { local vel = self.object:get_velocity() + -- this stops the entity drift glitch by re-setting entity pos when not moving + if vel.x == 0 and vel.y == 0 and vel.z == 0 then + + if self.is_moving == true then + + self.is_moving = false + + local pos = self.object:get_pos() + + self.object:set_pos(pos) + end + else + self.is_moving = true + end + if self.slippery_state then -- apply slip factor (tiny friction that depends on the actual block type) @@ -572,17 +601,16 @@ core.register_entity(":__builtin:item", { return -- destroyed end - self:step_check_slippery() - -- do physics checks, then apply self:step_water_physics() + self:step_check_slippery() self:step_ground_friction() - self:step_gravity() self:step_air_drag_physics() + self:step_gravity() + self:step_apply_forces() - -- do item checks - self:step_try_collect() + self:step_try_collect() -- merge end, on_punch = function(self, hitter) diff --git a/mods/builtin_item/init.lua_ b/mods/builtin_item/init.lua_ deleted file mode 100644 index f98efdee..00000000 --- a/mods/builtin_item/init.lua_ +++ /dev/null @@ -1,541 +0,0 @@ --- Minetest: builtin/item_entity.lua - --- override ice to make slippery for 0.4.16 -if not minetest.raycast then - minetest.override_item("default:ice", { - groups = {cracky = 3, puts_out_fire = 1, cools_lava = 1, slippery = 3}}) -end - - -function core.spawn_item(pos, item) - - local stack = ItemStack(item) - local obj = core.add_entity(pos, "__builtin:item") - - if obj then - obj:get_luaentity():set_item(stack:to_string()) - end - - return obj -end - - --- If item_entity_ttl is not set, enity will have default life time --- Setting it to -1 disables the feature - -local time_to_live = tonumber(core.settings:get("item_entity_ttl")) or 900 -local gravity = tonumber(core.settings:get("movement_gravity")) or 9.81 -local destroy_item = core.settings:get_bool("destroy_item") ~= false - - --- water flow functions by QwertyMine3, edited by TenPlus1 -local inv_roots = { - [0] = 1 -} - -local function to_unit_vector(dir_vector) - - local sum = dir_vector.x * dir_vector.x + dir_vector.z * dir_vector.z - local invr_sum = 0 - - -- find inverse square root if possible - if inv_roots[sum] ~= nil then - invr_sum = inv_roots[sum] - else - -- not found, compute and save the inverse square root - invr_sum = 1.0 / math.sqrt(sum) - inv_roots[sum] = invr_sum - end - - return { - x = dir_vector.x * invr_sum, - y = dir_vector.y, - z = dir_vector.z * invr_sum - } -end - - -local function node_ok(pos) - - local node = minetest.get_node_or_nil(pos) - - if node and minetest.registered_nodes[node.name] then - return node - end - - return minetest.registered_nodes["default:dirt"] -end - - -local function quick_flow_logic(node, pos_testing, direction) - - local node_testing = node_ok(pos_testing) - local param2 = node.param2 - - if not minetest.registered_nodes[node.name].groups.liquid then - param2 = 0 - end - - if minetest.registered_nodes[node_testing.name].liquidtype ~= "flowing" - and minetest.registered_nodes[node_testing.name].liquidtype ~= "source" then - return 0 - end - - local param2_testing = node_testing.param2 - - if param2_testing < param2 then - - if (param2 - param2_testing) > 6 then - return -direction - else - return direction - end - - elseif param2_testing > param2 then - - if (param2_testing - param2) > 6 then - return direction - else - return -direction - end - end - - return 0 -end - - --- reciprocal of the length of an unit square's diagonal -local DIAG_WEIGHT = 2 / math.sqrt(2) - -local function quick_flow(pos, node) - - local x, z = 0.0, 0.0 - - x = x + quick_flow_logic(node, {x = pos.x - 1, y = pos.y, z = pos.z},-1) - x = x + quick_flow_logic(node, {x = pos.x + 1, y = pos.y, z = pos.z}, 1) - z = z + quick_flow_logic(node, {x = pos.x, y = pos.y, z = pos.z - 1},-1) - z = z + quick_flow_logic(node, {x = pos.x, y = pos.y, z = pos.z + 1}, 1) - - return to_unit_vector({x = x, y = 0, z = z}) -end --- END water flow functions - - --- particle effects for when item is destroyed -local function add_effects(pos) - - minetest.add_particlespawner({ - amount = 1, - time = 0.25, - minpos = pos, - maxpos = pos, - minvel = {x = -1, y = 2, z = -1}, - maxvel = {x = 1, y = 4, z = 1}, - minacc = {x = 0, y = 0, z = 0}, - maxacc = {x = 0, y = 0, z = 0}, - minexptime = 1, - maxexptime = 3, - minsize = 1, - maxsize = 4, - texture = "tnt_smoke.png", - }) -end - - -local water_force = 0.8 -local water_friction = 0.8 -local dry_friction = 2.5 - -core.register_entity(":__builtin:item", { - - initial_properties = { - hp_max = 1, - physical = true, - collide_with_objects = false, - collisionbox = {-0.3, -0.3, -0.3, 0.3, 0.3, 0.3}, - visual = "wielditem", - visual_size = {x = 0.4, y = 0.4}, - textures = {""}, - spritediv = {x = 1, y = 1}, - initial_sprite_basepos = {x = 0, y = 0}, - is_visible = false, - infotext = "", - }, - - itemstring = "", - moving_state = true, - slippery_state = false, - age = 0, - - set_item = function(self, item) - - local stack = ItemStack(item or self.itemstring) - - self.itemstring = stack:to_string() - - if self.itemstring == "" then - return - end - - local itemname = stack:is_known() and stack:get_name() or "unknown" - local max_count = stack:get_stack_max() - local count = math.min(stack:get_count(), max_count) - local size = 0.2 + 0.1 * (count / max_count) ^ (1 / 3) - local col_height = size * 0.75 - local def = core.registered_nodes[itemname] - local glow = def and def.light_source - local c1, c2 = "","" - - if not(stack:get_count() == 1) then - c1 = " x"..tostring(stack:get_count()) - c2 = " "..tostring(stack:get_count()) - end - - local name1 = stack:get_meta():get_string("description") - local name - - if name1 == "" then - name = core.registered_items[itemname].description - else - name = name1 - end - - self.object:set_properties({ - is_visible = true, - visual = "wielditem", - textures = {itemname}, - visual_size = {x = size, y = size}, - collisionbox = {-size, -col_height, -size, size, col_height, size}, - selectionbox = {-size, -size, -size, size, size, size}, - automatic_rotate = 0.314 / size, - wield_item = self.itemstring, - glow = glow, - infotext = name .. c1 .. "\n(" .. itemname .. c2 .. ")" - }) - - end, - - get_staticdata = function(self) - - return core.serialize({ - itemstring = self.itemstring, - age = self.age, - dropped_by = self.dropped_by - }) - end, - - on_activate = function(self, staticdata, dtime_s) - - if string.sub(staticdata, 1, string.len("return")) == "return" then - - local data = core.deserialize(staticdata) - - if data and type(data) == "table" then - self.itemstring = data.itemstring - self.age = (data.age or 0) + dtime_s - self.dropped_by = data.dropped_by - end - else - self.itemstring = staticdata - end - - self.object:set_armor_groups({immortal = 1}) - self.object:set_velocity({x = 0, y = 2, z = 0}) - self.object:set_acceleration({x = 0, y = -gravity, z = 0}) - self:set_item() - end, - - try_merge_with = function(self, own_stack, object, entity) - - if self.age == entity.age then - return false -- Can not merge with itself - end - - local stack = ItemStack(entity.itemstring) - local name = stack:get_name() - - if own_stack:get_name() ~= name - or own_stack:get_meta() ~= stack:get_meta() - or own_stack:get_wear() ~= stack:get_wear() - or own_stack:get_free_space() == 0 then - return false -- Can not merge different or full stack - end - - local count = own_stack:get_count() - local total_count = stack:get_count() + count - local max_count = stack:get_stack_max() - - if total_count > max_count then - return false - end - - -- Merge the remote stack into this one - local pos = object:get_pos() - pos.y = pos.y + ((total_count - count) / max_count) * 0.15 - - self.object:move_to(pos) - self.age = 0 -- Handle as new entity - - own_stack:set_count(total_count) - self:set_item(own_stack) - - entity.itemstring = "" - object:remove() - - return true - end, - - on_step = function(self, dtime, moveresult) - - local pos = self.object:get_pos() - - self.age = self.age + dtime - - if time_to_live > 0 and self.age > time_to_live then - - self.itemstring = "" - self.object:remove() - - add_effects(pos) - - return - end - - -- get nodes every 1/4 second - self.timer = (self.timer or 0) + dtime - - if self.timer > 0.25 or not self.node_inside then - - self.node_inside = minetest.get_node_or_nil(pos) - self.def_inside = self.node_inside - and core.registered_nodes[self.node_inside.name] - - -- get ground node for collision - self.node_under = nil - - if moveresult.touching_ground then - - for _, info in ipairs(moveresult.collisions) do - - if info.axis == "y" then - - self.node_under = core.get_node(info.node_pos) - - break - end - end - end - - self.def_under = self.node_under - and core.registered_nodes[self.node_under.name] - - self.timer = 0 - end - - local node = self.node_inside - - -- Delete in 'ignore' nodes - if node and node.name == "ignore" then - - self.itemstring = "" - self.object:remove() - - return - end - - -- do custom step function - local name = ItemStack(self.itemstring):get_name() or "" - local custom = core.registered_items[name] - and core.registered_items[name].dropped_step - - if custom and custom(self, pos, dtime) == false then - return -- skip further checks if false - end - - local vel = self.object:get_velocity() - local def = self.def_inside - local is_slippery = false - local is_moving = (def and not def.walkable) or - vel.x ~= 0 or vel.y ~= 0 or vel.z ~= 0 - - -- destroy item when dropped into lava (if enabled) - if destroy_item and def and def.groups and def.groups.lava then - - minetest.sound_play("builtin_item_lava", { - pos = pos, - max_hear_distance = 6, - gain = 0.5 - }) - - self.itemstring = "" - self.object:remove() - - add_effects(pos) - - return - end - - -- water flowing - if def and def.liquidtype == "flowing" then - - -- force applies on acceleration over time, thus multiply - local force = water_force * dtime - -- friction applies on velocity over time, thus exponentiate - local friction = (1.0 + water_friction) ^ dtime - - -- get flow velocity and current vel/acc state - local vec = quick_flow(pos, node) - local a = self.object:get_acceleration() - - self.object:set_acceleration({ - x = a.x + vec.x * force, - y = a.y, - z = a.z + vec.z * force - }) - - -- apply friction to prevent items going too fast, and also to make - -- water flow override previous horizontal momentum more quickly - - local v = self.object:get_velocity() - - -- adjust friction for going against the current - local v_horz = { x = v.x, y = 0, z = v.z } - local v_dir = to_unit_vector(v_horz) - local flow_dot = v_dir.x * vec.x + v_dir.y * vec.y - - -- also maps flow_dot from [-1,0] to [0.5,2.5] - friction = 1.0 + ((friction - 1.0) * (flow_dot + 1.5)) - - self.object:set_velocity({ - x = v.x / friction, - y = v.y / friction, - z = v.z / friction - }) - - return - end - - -- item inside block, move to vacant space - if def and (def.walkable == nil or def.walkable == true) - and (def.collision_box == nil or def.collision_box.type == "regular") - and (def.node_box == nil or def.node_box.type == "regular") then - - local npos = minetest.find_node_near(pos, 1, "air") - - if npos then - self.object:move_to(npos) - end - - self.node_inside = nil -- force get_node - - return - end - - -- Switch locals to node under - node = self.node_under - def = self.def_under - - - -- Slippery node check - if def and def.walkable then - - local slippery = core.get_item_group(node.name, "slippery") - - is_slippery = slippery ~= 0 - - if is_slippery and (math.abs(vel.x) > 0.2 or math.abs(vel.z) > 0.2) then - - -- Horizontal deceleration - local slip_factor = 4.0 / (slippery + 4) - - self.object:set_acceleration({ - x = -vel.x * slip_factor, - y = 0, - z = -vel.z * slip_factor - }) - - elseif vel.y == 0 then - is_moving = false - end - end - - if self.moving_state == is_moving - and self.slippery_state == is_slippery then - return -- No further updates until moving state changes - end - - self.moving_state = is_moving - self.slippery_state = is_slippery - - local a_curr = self.object:get_acceleration() - local v_curr = self.object:get_velocity() - - if is_moving then - - self.object:set_acceleration({ - x = a_curr.x, - y = a_curr.y - gravity, - z = a_curr.z - }) - else - self.object:set_acceleration({x = 0, y = 0, z = 0}) - - -- preserve *some* velocity so items don't get stuck on the very ledges - -- of nodes once they move just enough to leave the hitbox of flowing water - self.object:set_velocity({ - x = v_curr.x / dry_friction, - y = v_curr.y / dry_friction, - z = v_curr.z / dry_friction - }) - end - - --Only collect items if not moving - if is_moving then - return - end - - -- Collect the items around to merge with - local own_stack = ItemStack(self.itemstring) - - if own_stack:get_free_space() == 0 then - return - end - - local objects = core.get_objects_inside_radius(pos, 1.0) - - for k, obj in pairs(objects) do - - local entity = obj:get_luaentity() - - if entity and entity.name == "__builtin:item" then - - if self:try_merge_with(own_stack, obj, entity) then - - own_stack = ItemStack(self.itemstring) - - if own_stack:get_free_space() == 0 then - return - end - end - end - end - end, - - on_punch = function(self, hitter) - - local inv = hitter:get_inventory() - - if inv and self.itemstring ~= "" then - - local left = inv:add_item("main", self.itemstring) - - if left and not left:is_empty() then - self:set_item(left) - return - end - end - - self.itemstring = "" - self.object:remove() - end, -}) diff --git a/mods/farming/compatibility.lua b/mods/farming/compatibility.lua index abc787fc..1fdf6203 100644 --- a/mods/farming/compatibility.lua +++ b/mods/farming/compatibility.lua @@ -15,13 +15,6 @@ minetest.override_item("default:apple", { leafdecay = 3, leafdecay_drop = 1} }) -if minetest.registered_nodes["flowers:mushroom_brown"] then -minetest.override_item("flowers:mushroom_brown", { - light_source = 1, - groups = {food_mushroom = 1, snappy = 3, attached_node = 1, flammable = 2} -}) -end - --= Aliases -- Banana diff --git a/mods/farming/crops/melon.lua b/mods/farming/crops/melon.lua index 4c199da9..66decdc4 100644 --- a/mods/farming/crops/melon.lua +++ b/mods/farming/crops/melon.lua @@ -71,22 +71,22 @@ def.tiles = {"farming_melon_7.png"} minetest.register_node("farming:melon_7", table.copy(def)) -- stage 8 (final) -def.drawtype = "nodebox" -def.description = S("Melon") -def.tiles = { - "farming_melon_top.png", "farming_melon_bottom.png", "farming_melon_side.png" -} -def.selection_box = {-.5, -.5, -.5, .5, .5, .5} -def.walkable = true -def.buildable_to = false -def.paramtype2 = "facedir" -def.groups = { - food_melon = 1, snappy = 2, oddly_breakable_by_hand = 1, - flammable = 2, plant = 1 -} -def.drop = "farming:melon_8" -def.on_place = minetest.rotate_node -minetest.register_node("farming:melon_8", table.copy(def)) +minetest.register_node("farming:melon_8", { + description = S("Melon"), + tiles = { + "farming_melon_top.png", + "farming_melon_bottom.png", + "farming_melon_side.png" + }, + groups = { + food_melon = 1, snappy = 2, oddly_breakable_by_hand = 1, + flammable = 2, plant = 1 + }, + drop = "farming:melon_8", + sounds = default.node_sound_wood_defaults(), + paramtype2 = "facedir", + on_place = minetest.rotate_node +}) -- add to registered_plants farming.registered_plants["farming:melon"] = { diff --git a/mods/farming/crops/pumpkin.lua b/mods/farming/crops/pumpkin.lua index 0007ac7b..2829d47c 100644 --- a/mods/farming/crops/pumpkin.lua +++ b/mods/farming/crops/pumpkin.lua @@ -183,7 +183,7 @@ minetest.register_node("farming:pumpkin_8", { description = S("Pumpkin"), tiles = { "farming_pumpkin_top.png", - "farming_pumpkin_top.png", + "farming_pumpkin_bottom.png", "farming_pumpkin_side.png" }, groups = { @@ -191,7 +191,9 @@ minetest.register_node("farming:pumpkin_8", { flammable = 2, plant = 1 }, drop = "farming:pumpkin_8", - sounds = default.node_sound_wood_defaults() + sounds = default.node_sound_wood_defaults(), + paramtype2 = "facedir", + on_place = minetest.rotate_node }) minetest.register_alias("farming:pumpkin", "farming:pumpkin_8") diff --git a/mods/farming/hoes.lua b/mods/farming/hoes.lua index b7dcfd97..9340d55c 100644 --- a/mods/farming/hoes.lua +++ b/mods/farming/hoes.lua @@ -361,7 +361,7 @@ farming.add_to_scythe_not_drops = function(item) end minetest.register_tool("farming:scythe_mithril", { - description = S("Mithril Scythe (Right-click to harvest and replant crops)"), + description = S("Mithril Scythe (Use to harvest and replant crops)"), inventory_image = "farming_scythe_mithril.png", sound = {breaks = "default_tool_breaks"}, diff --git a/mods/farming/textures/farming_pumpkin_bottom.png b/mods/farming/textures/farming_pumpkin_bottom.png new file mode 100644 index 00000000..b23d2413 Binary files /dev/null and b/mods/farming/textures/farming_pumpkin_bottom.png differ diff --git a/mods/mob_horse/init.lua b/mods/mob_horse/init.lua index 5445192d..1a3e9d9f 100644 --- a/mods/mob_horse/init.lua +++ b/mods/mob_horse/init.lua @@ -77,6 +77,7 @@ mobs:register_mob("mob_horse:horse", { self.terrain_type = 3 self.driver_attach_at = {x = 0, y = y_off, z = -2} self.driver_eye_offset = {x = 0, y = 3, z = 0} + self.driver_scale = {x = 0.8, y = 0.8} -- shrink driver to fit model end -- if driver present allow control of horse @@ -92,22 +93,20 @@ mobs:register_mob("mob_horse:horse", { on_die = function(self, pos) - -- drop saddle when horse is killed while riding - -- also detach from horse properly + -- detach player from horse properly if self.driver then - - minetest.add_item(pos, "mobs:saddle") - mobs.detach(self.driver, {x = 1, y = 0, z = 1}) + end - self.saddle = nil + -- drop saddle if found + if self.saddle then + minetest.add_item(pos, "mobs:saddle") end -- drop any horseshoes added if self.shoed then minetest.add_item(pos, self.shoed) end - end, do_punch = function(self, hitter) @@ -149,29 +148,27 @@ mobs:register_mob("mob_horse:horse", { mobs.detach(clicker, {x = 1, y = 0, z = 1}) - -- add saddle back to inventory - if inv:room_for_item("main", "mobs:saddle") then - inv:add_item("main", "mobs:saddle") - else - minetest.add_item(clicker:get_pos(), "mobs:saddle") - end + return + end - self.saddle = nil - - -- attach player to horse - elseif (not self.driver and not self.child - and clicker:get_wielded_item():get_name() == "mobs:saddle") - or self.saddle then - - self.object:set_properties({stepheight = 1.1}) - mobs.attach(self, clicker) - - -- take saddle from inventory - if not self.saddle then - inv:remove_item("main", "mobs:saddle") - end + -- attach saddle to horse + if not self.driver + and not self.child + and clicker:get_wielded_item():get_name() == "mobs:saddle" + and not self.saddle then self.saddle = true + self.order = "stand" + self.object:set_properties({stepheight = 1.1}) + + -- take saddle from inventory + inv:remove_item("main", "mobs:saddle") + + self.texture_mods = self.texture_mods .. "^mobs_saddle_overlay.png" + + self.object:set_texture_mod(self.texture_mods) + + return end -- apply horseshoes @@ -196,6 +193,12 @@ mobs:register_mob("mob_horse:horse", { -- apply horseshoe overlay to current horse texture if overlay then self.texture_mods = "^" .. overlay + + if self.saddle then + self.texture_mods = self.texture_mods + .. "^mobs_saddle_overlay.png" + end + self.object:set_texture_mod(self.texture_mods) end @@ -215,8 +218,13 @@ mobs:register_mob("mob_horse:horse", { end -- used to capture horse with magic lasso - mobs:capture_mob(self, clicker, 0, 0, 80, false, nil) - end, + if mobs:capture_mob(self, clicker, nil, nil, 100, false, nil) then return end + + -- ride horse if saddled + if self.saddle and self.owner == player_name then + mobs.attach(self, clicker) + end + end }) mobs:spawn({ diff --git a/mods/mob_horse/readme.md b/mods/mob_horse/readme.md index bdb8cb2f..9f7bb6dc 100644 --- a/mods/mob_horse/readme.md +++ b/mods/mob_horse/readme.md @@ -7,6 +7,10 @@ There are three different horse textures (white, brown, black) which will spawn ### Taming Horses can be tamed with 10x wheat, apple, barley, oats of corn which then allows the player to pick up the horse using a lasso and ride by right-clicking with a saddle. +--- +### Saddle +Right clicking a horse with a saddle equips it and the horse will be ordered to stand still until you wish to ride. + --- ### Horseshoes Horseshoes can be crafted using steel, bronze, mese, diamond and crystal (4x ingots - 2 down either side with 1x block top middle) and placed on a horse by right clicking with the item. These can make horses run faster or jump higher while riding depending on tier. diff --git a/mods/mob_horse/textures/mobs_saddle_overlay.png b/mods/mob_horse/textures/mobs_saddle_overlay.png new file mode 100644 index 00000000..ef100478 Binary files /dev/null and b/mods/mob_horse/textures/mobs_saddle_overlay.png differ diff --git a/mods/mobs_monster/fire_spirit.lua b/mods/mobs_monster/fire_spirit.lua index 6f3dac5c..6e9bea92 100644 --- a/mods/mobs_monster/fire_spirit.lua +++ b/mods/mobs_monster/fire_spirit.lua @@ -1,6 +1,16 @@ local S = mobs.intllib +local mob_drops = { + {name = "fireflies:firefly", chance = 1, min = 1, max = 1} +} + +if minetest.get_modpath("ethereal") then + + table.insert(mob_drops, + {name = "ethereal:fire_dust", chance = 1, min = 1, max = 1}) +end + -- Fire Spirit mobs:register_mob("mobs_monster:fire_spirit", { @@ -22,6 +32,8 @@ mobs:register_mob("mobs_monster:fire_spirit", { glow = 14, blood_texture = "fire_basic_flame.png", immune_to = { + {"bucket:bucket_water", 1}, + {"bucket:bucket_river_water", 1}, {"all"} }, makes_footstep_sound = false, @@ -34,9 +46,8 @@ mobs:register_mob("mobs_monster:fire_spirit", { walk_velocity = 2, run_velocity = 3, jump = true, - drops = { - {name = "fireflies:firefly", chance = 2, min = 1, max = 1} - }, + jump_height = 6, + drops = mob_drops, water_damage = 1, lava_damage = 0, fire_damage = 0, @@ -56,7 +67,7 @@ mobs:register_mob("mobs_monster:fire_spirit", { self.flame_timer = (self.flame_timer or 0) + dtime - if self.flame_timer < 0.5 then + if self.flame_timer < 0.25 then return end @@ -65,24 +76,23 @@ mobs:register_mob("mobs_monster:fire_spirit", { local pos = self.object:get_pos() -- pos, amount, texture, min_size, max_size, radius, gravity, glow, fall - mobs:effect(pos, 5, "fire_basic_flame.png", 1, 2, 0.5, 0.5, 14, nil) - + mobs:effect(pos, 5, "fire_basic_flame.png", 1, 2, 0.1, 0.2, 14, nil) end }) ---[[ + if not mobs.custom_spawn_monster then mobs:spawn({ - name = "mobs_monster:dirt_monster", - nodes = {"default:dirt_with_grass", "ethereal:gray_dirt", "ethereal:dry_dirt"}, - min_light = 0, - max_light = 7, - chance = 6000, - active_object_count = 2, - min_height = 0, - day_toggle = false, + name = "mobs_monster:fire_spirit", + nodes = {"default:obsidian", "caverealms:hot_cobble"}, + neighbors = {"group:fire"}, + min_light = 12, + max_light = 15, + chance = 1500, + active_object_count = 1, + max_height = -150 }) end -]] + mobs:register_egg("mobs_monster:fire_spirit", S("Fire Spirit"), "fire_basic_flame.png", 1) diff --git a/mods/mobs_monster/readme.md b/mods/mobs_monster/readme.md index cd03fcb3..424777fb 100644 --- a/mods/mobs_monster/readme.md +++ b/mods/mobs_monster/readme.md @@ -41,4 +41,8 @@ Land Guard - These huge monsters roam the land in cold, hot and temperate areas and don't like players wandering around their domain. +Fire Spirit + +- Fire Spirits will not tolerate players roaming around their domain and will fiercely attack until their dying puff of smoke. Will drop it's spirit and some fire dust when using ethereal. + Lucky Blocks: 11 diff --git a/mods/mobs_redo/api.lua b/mods/mobs_redo/api.lua index 64617fe2..172e317d 100644 --- a/mods/mobs_redo/api.lua +++ b/mods/mobs_redo/api.lua @@ -8,7 +8,7 @@ local use_cmi = minetest.global_exists("cmi") mobs = { mod = "redo", - version = "20210601", + version = "20210610", intllib = S, invis = minetest.global_exists("invisibility") and invisibility or {} } @@ -3553,6 +3553,13 @@ function mobs:register_mob(name, def) mobs.spawning_mobs[name] = {} + local collisionbox = def.collisionbox or {-0.25, -0.25, -0.25, 0.25, 0.25, 0.25} + + -- quick fix to stop mobs glitching through nodes if too small + if -collisionbox[2] + collisionbox[5] < 1.01 then + collisionbox[5] = collisionbox[2] + 0.99 + end + minetest.register_entity(name, setmetatable({ stepheight = def.stepheight, @@ -3574,8 +3581,8 @@ minetest.register_entity(name, setmetatable({ lifetimer = def.lifetimer, hp_min = max(1, (def.hp_min or 5) * difficulty), hp_max = max(1, (def.hp_max or 10) * difficulty), - collisionbox = def.collisionbox, - selectionbox = def.selectionbox or def.collisionbox, + collisionbox = collisionbox, --def.collisionbox, + selectionbox = def.selectionbox or collisionbox, --def.collisionbox, visual = def.visual, visual_size = def.visual_size, mesh = def.mesh, diff --git a/mods/mobs_redo/mount.lua b/mods/mobs_redo/mount.lua index 7a72c64c..eec1ab9f 100644 --- a/mods/mobs_redo/mount.lua +++ b/mods/mobs_redo/mount.lua @@ -22,6 +22,7 @@ end local function node_is(pos) + local node = node_ok(pos) if node.name == "air" then @@ -69,6 +70,7 @@ end local function force_detach(player) + local attached_to = player:get_attach() if not attached_to then @@ -97,7 +99,9 @@ minetest.register_on_leaveplayer(function(player) end) minetest.register_on_shutdown(function() + local players = minetest.get_connected_players() + for i = 1, #players do force_detach(players[i]) end @@ -112,6 +116,7 @@ end) -- Just for correct detaching local function find_free_pos(pos) + local check = { {x = 1, y = 0, z = 0}, {x = 1, y = 1, z = 0}, @@ -124,10 +129,14 @@ local function find_free_pos(pos) } for _, c in pairs(check) do + local npos = {x = pos.x + c.x, y = pos.y + c.y, z = pos.z + c.z} local node = minetest.get_node_or_nil(npos) + if node and node.name then + local def = minetest.registered_nodes[node.name] + if def and not def.walkable and def.liquidtype == "none" then return npos @@ -141,6 +150,7 @@ end ------------------------------------------------------------------------------- function mobs.attach(entity, player) + entity.player_rotation = entity.player_rotation or {x = 0, y = 0, z = 0} entity.driver_attach_at = entity.driver_attach_at or {x = 0, y = 0, z = 0} entity.driver_eye_offset = entity.driver_eye_offset or {x = 0, y = 0, z = 0} @@ -154,6 +164,7 @@ function mobs.attach(entity, player) local attach_at = entity.driver_attach_at local eye_offset = entity.driver_eye_offset + entity.driver = player force_detach(player) @@ -170,6 +181,7 @@ function mobs.attach(entity, player) }) minetest.after(0.2, function() + if player and player:is_player() then player_api.set_animation(player, "sit", 30) end @@ -183,9 +195,13 @@ function mobs.detach(player) force_detach(player) minetest.after(0.1, function() + if player and player:is_player() then + local pos = find_free_pos(player:get_pos()) + pos.y = pos.y + 0.5 + player:set_pos(pos) end end) @@ -193,8 +209,8 @@ end function mobs.drive(entity, moving_anim, stand_anim, can_fly, dtime) - local yaw = entity.object:get_yaw() or 0 + local yaw = entity.object:get_yaw() or 0 local rot_view = 0 if entity.player_rotation.y == 90 then @@ -208,14 +224,17 @@ function mobs.drive(entity, moving_anim, stand_anim, can_fly, dtime) -- process controls if entity.driver then + local ctrl = entity.driver:get_player_control() -- move forwards if ctrl.up then + entity.v = entity.v + entity.accel / 10 -- move backwards elseif ctrl.down then + if entity.max_speed_reverse == 0 and entity.v == 0 then return end @@ -225,7 +244,9 @@ function mobs.drive(entity, moving_anim, stand_anim, can_fly, dtime) -- mob rotation local horz + if entity.alt_turn == true then + horz = yaw if ctrl.left then @@ -243,21 +264,29 @@ function mobs.drive(entity, moving_anim, stand_anim, can_fly, dtime) if can_fly then -- fly up if ctrl.jump then + velo.y = velo.y + 1 + if velo.y > entity.accel then velo.y = entity.accel end elseif velo.y > 0 then + velo.y = velo.y - 0.1 + if velo.y < 0 then velo.y = 0 end end -- fly down if ctrl.sneak then + velo.y = velo.y - 1 + if velo.y < -entity.accel then velo.y = -entity.accel end elseif velo.y < 0 then + velo.y = velo.y + 0.1 + if velo.y > 0 then velo.y = 0 end end else @@ -274,6 +303,7 @@ function mobs.drive(entity, moving_anim, stand_anim, can_fly, dtime) -- if not moving then set animation and return if entity.v == 0 and velo.x == 0 and velo.y == 0 and velo.z == 0 then + if stand_anim then mobs:set_animation(entity, stand_anim) end @@ -292,8 +322,10 @@ function mobs.drive(entity, moving_anim, stand_anim, can_fly, dtime) entity.v = entity.v - 0.02 * s if s ~= get_sign(entity.v) then + entity.object:set_velocity({x = 0, y = 0, z = 0}) entity.v = 0 + return end @@ -310,6 +342,7 @@ function mobs.drive(entity, moving_anim, stand_anim, can_fly, dtime) -- Set position, velocity and acceleration local p = entity.object:get_pos() + if not p then return end local new_acce = {x = 0, y = -9.81, z = 0} @@ -320,18 +353,23 @@ function mobs.drive(entity, moving_anim, stand_anim, can_fly, dtime) local v = entity.v if ni == "air" then + if can_fly == true then new_acce.y = 0 end + elseif ni == "liquid" or ni == "lava" then + if ni == "lava" and entity.lava_damage ~= 0 then + entity.lava_counter = (entity.lava_counter or 0) + dtime if entity.lava_counter > 1 then + minetest.sound_play("default_punch", { object = entity.object, max_hear_distance = 5 - }) + }, true) entity.object:punch(entity.object, 1.0, { full_punch_interval = 1.0, @@ -343,11 +381,14 @@ function mobs.drive(entity, moving_anim, stand_anim, can_fly, dtime) end local terrain_type = entity.terrain_type + if terrain_type == 2 or terrain_type == 3 then + new_acce.y = 0 p.y = p.y + 1 if node_is(p) == "liquid" then + if velo.y >= 5 then velo.y = 5 elseif velo.y < 0 then @@ -357,7 +398,9 @@ function mobs.drive(entity, moving_anim, stand_anim, can_fly, dtime) end else if abs(velo.y) < 1 then + local pos = entity.object:get_pos() + if not pos then return end pos.y = floor(pos.y) + 0.5 @@ -371,6 +414,7 @@ function mobs.drive(entity, moving_anim, stand_anim, can_fly, dtime) end local new_velo = get_velocity(v, yaw - rot_view, velo.y) + new_acce.y = new_acce.y + acce_y entity.object:set_velocity(new_velo) @@ -382,6 +426,7 @@ end -- directional flying routine by D00Med (edited by TenPlus1) function mobs.fly(entity, _, speed, shoots, arrow, moving_anim, stand_anim) + local ctrl = entity.driver:get_player_control() local velo = entity.object:get_velocity() local dir = entity.driver:get_look_dir() @@ -397,6 +442,7 @@ if not ctrl or not velo then return end }) elseif ctrl.down then + entity.object:set_velocity({ x = -dir.x * speed, y = dir.y * speed + 2, @@ -411,6 +457,7 @@ if not ctrl or not velo then return end -- firing arrows if ctrl.LMB and ctrl.sneak and shoots then + local pos = entity.object:get_pos() local obj = minetest.add_entity({ x = pos.x + 0 + dir.x * 2.5, @@ -418,11 +465,15 @@ if not ctrl or not velo then return end z = pos.z + 0 + dir.z * 2.5}, arrow) local ent = obj:get_luaentity() + if ent then + ent.switch = 1 -- for mob specific arrows ent.owner_id = tostring(entity.object) -- so arrows dont hurt entity you are riding local vec = {x = dir.x * 6, y = dir.y * 6, z = dir.z * 6} + yaw = entity.driver:get_look_horizontal() + obj:set_yaw(yaw + pi / 2) obj:set_velocity(vec) else diff --git a/mods/plantlife_modpack/cavestuff/nodes.lua b/mods/plantlife_modpack/cavestuff/nodes.lua index e6ae02ca..654ceeb8 100644 --- a/mods/plantlife_modpack/cavestuff/nodes.lua +++ b/mods/plantlife_modpack/cavestuff/nodes.lua @@ -12,65 +12,65 @@ minetest.register_node("cavestuff:pebble_1",{ description = S("Pebble"), drawtype = "mesh", mesh = "cavestuff_pebble.obj", - tiles = {"undergrowth_pebble.png"}, - paramtype = "light", + tiles = {"undergrowth_pebble.png"}, + paramtype = "light", paramtype2 = "facedir", - groups = {cracky=3, stone=1}, - selection_box = cbox, - collision_box = cbox, - on_place = function(itemstack, placer, pointed_thing) + groups = {cracky=3, stone=1}, + selection_box = cbox, + collision_box = cbox, + on_place = function(itemstack, placer, pointed_thing) -- place a random pebble node local stack = ItemStack("cavestuff:pebble_"..math.random(1,2)) local ret = minetest.item_place(stack, placer, pointed_thing) return ItemStack("cavestuff:pebble_1 "..itemstack:get_count()-(1-ret:get_count())) end, - sounds = default.node_sound_stone_defaults(), + sounds = default.node_sound_stone_defaults(), }) minetest.register_node("cavestuff:pebble_2",{ drawtype = "mesh", mesh = "cavestuff_pebble.obj", - tiles = {"undergrowth_pebble.png"}, + tiles = {"undergrowth_pebble.png"}, drop = "cavestuff:pebble_1", - tiles = {"undergrowth_pebble.png"}, - paramtype = "light", + tiles = {"undergrowth_pebble.png"}, + paramtype = "light", paramtype2 = "facedir", - groups = {cracky=3, stone=1, not_in_creative_inventory=1}, + groups = {cracky=3, stone=1, not_in_creative_inventory=1}, selection_box = cbox, collision_box = cbox, - sounds = default.node_sound_stone_defaults(), + sounds = default.node_sound_stone_defaults(), }) minetest.register_node("cavestuff:desert_pebble_1",{ description = S("Desert Pebble"), drawtype = "mesh", mesh = "cavestuff_pebble.obj", - tiles = {"default_desert_stone.png"}, - paramtype = "light", + tiles = {"default_desert_stone.png"}, + paramtype = "light", paramtype2 = "facedir", - groups = {cracky=3, stone=1}, + groups = {cracky=3, stone=1}, selection_box = cbox, collision_box = cbox, - on_place = function(itemstack, placer, pointed_thing) + on_place = function(itemstack, placer, pointed_thing) -- place a random pebble node local stack = ItemStack("cavestuff:desert_pebble_"..math.random(1,2)) local ret = minetest.item_place(stack, placer, pointed_thing) return ItemStack("cavestuff:desert_pebble_1 "..itemstack:get_count()-(1-ret:get_count())) end, - sounds = default.node_sound_stone_defaults(), + sounds = default.node_sound_stone_defaults(), }) minetest.register_node("cavestuff:desert_pebble_2",{ drawtype = "mesh", mesh = "cavestuff_pebble.obj", drop = "cavestuff:desert_pebble_1", - tiles = {"default_desert_stone.png"}, - paramtype = "light", + tiles = {"default_desert_stone.png"}, + paramtype = "light", paramtype2 = "facedir", - groups = {cracky=3, stone=1, not_in_creative_inventory=1}, + groups = {cracky=3, stone=1, not_in_creative_inventory=1}, selection_box = cbox, collision_box = cbox, - sounds = default.node_sound_stone_defaults(), + sounds = default.node_sound_stone_defaults(), }) --Staclactites @@ -85,19 +85,34 @@ minetest.register_node("cavestuff:stalactite_1",{ node_box = { type = "fixed", fixed = { - {-0.187500,0.425000,-0.150003,0.162500,0.500000,0.162500}, - {-0.112500,0.162500,-0.100000,0.087500,0.475000,0.087500}, - {-0.062500,-0.275000,-0.062500,0.062500,0.500000,0.062500}, - {-0.037500,-0.837500,0.037500,0.037500,0.500000,-0.025000}, + {-0.187500,-0.425000,-0.150003,0.162500,-0.500000,0.162500}, + {-0.112500,-0.162500,-0.100000,0.087500,-0.475000,0.087500}, + {-0.062500,0.275000,-0.062500,0.062500,-0.500000,0.062500}, + {-0.037500,0.837500,0.037500,0.037500,-0.500000,-0.025000}, } }, - on_place = function(itemstack, placer, pointed_thing) - local pt = pointed_thing - if minetest.get_node(pt.under).name=="default:stone" - and minetest.get_node({x=pt.under.x, y=pt.under.y-1, z=pt.under.z}).name=="air" - and minetest.get_node({x=pt.under.x, y=pt.under.y-2, z=pt.under.z}).name=="air" then - minetest.swap_node({x=pt.under.x, y=pt.under.y-1, z=pt.under.z}, {name="cavestuff:stalactite_"..math.random(1,3)}) + local dir = vector.subtract(pointed_thing.above, pointed_thing.under) + local base = pointed_thing.under + local place = vector.add(base, dir) + local above = vector.add(place, dir) + + if not placer then return end + local playername = placer:get_player_name() + if minetest.is_protected(place, playername) + or minetest.is_protected(above, playername) then + minetest.record_protection_violation(place, playername) + return + end + + if minetest.get_node(base).name == "default:stone" + and minetest.get_node(place).name == "air" + and minetest.get_node(above).name == "air" + then + minetest.swap_node(place, { + name = "cavestuff:stalactite_"..math.random(1,3), + param2 = minetest.dir_to_wallmounted(vector.multiply(dir, -1)) + }) if not minetest.setting_getbool("creative_mode") then itemstack:take_item() end @@ -116,10 +131,10 @@ minetest.register_node("cavestuff:stalactite_2",{ node_box = { type = "fixed", fixed = { - {-0.187500,0.387500,-0.150003,0.162500,0.500000,0.162500}, - {-0.112500,0.112500,-0.100000,0.087500,0.475000,0.087500}, - {-0.062500,-0.675000,-0.062500,0.062500,0.500000,0.062500}, - {-0.037500,-0.975000,0.037500,0.037500,0.500000,-0.025000}, + {-0.187500,-0.387500,-0.150003,0.162500,-0.500000,0.162500}, + {-0.112500,-0.112500,-0.100000,0.087500,-0.475000,0.087500}, + {-0.062500,0.675000,-0.062500,0.062500,-0.500000,0.062500}, + {-0.037500,0.975000,0.037500,0.037500,-0.500000,-0.025000}, } }, }) @@ -132,14 +147,14 @@ minetest.register_node("cavestuff:stalactite_3",{ paramtype = "light", paramtype2 = "wallmounted", node_box = { - type = "fixed", - fixed = { - {-0.187500,0.387500,-0.150003,0.162500,0.500000,0.162500}, - {-0.112500,0.037500,-0.100000,0.087500,0.475000,0.087500}, - {-0.062500,-0.437500,-0.062500,0.062500,0.500000,0.062500}, - {-0.037500,-1.237500,0.037500,0.037500,0.500000,-0.025000}, - } - }, + type = "fixed", + fixed = { + {-0.187500,-0.387500,-0.150003,0.162500,-0.500000,0.162500}, + {-0.112500,-0.037500,-0.100000,0.087500,-0.475000,0.087500}, + {-0.062500,0.437500,-0.062500,0.062500,-0.500000,0.062500}, + {-0.037500,1.237500,0.037500,0.037500,-0.500000,-0.025000}, + } + }, }) --Stalagmites diff --git a/mods/signs_lib/README.md b/mods/signs_lib/README.md index 7f8bb0a5..97c00625 100644 --- a/mods/signs_lib/README.md +++ b/mods/signs_lib/README.md @@ -22,7 +22,7 @@ That said, there are some basic text formatting options: Writing "^" followed by a letter "a" through "h" will produce double-wide versions of these arrows, in the same order. These wide arrows occupy 0x89 to 0x91 in the character set. -* A color may be specified in the sign text by using "#" followed by a single hexadcimal digit (0-9 or a-f). These colors come from the standard Linux/IRC/CGA color set, and are shown in the sign's formspec. Any color change will remain in effect until changed again, or until the next line break. Any number of color changes in any arbitrary arrangement is allowed. +* A color may be specified in the sign text by using "#" followed by a single hexadcimal digit (0-9 or a-f). These colors come from the standard Linux/IRC/CGA color set, and are shown in the sign's formspec. Any color change will remain in effect until changed again, or until the next line break. Any number of color changes in any arbitrary arrangement is allowed. To write "#" on a sign, write "##". * Most writable signs can display double-wide text by flipping a switch in the sign's formspec. diff --git a/mods/signs_lib/api.lua b/mods/signs_lib/api.lua index 6ec8a869..b814e75f 100644 --- a/mods/signs_lib/api.lua +++ b/mods/signs_lib/api.lua @@ -555,8 +555,9 @@ local function make_line_texture(line, lineno, pos, line_width, line_height, cwi end end local c = word:sub(i, i) - if c == "#" then - local cc = tonumber(word:sub(i+1, i+1), 16) + local c2 = word:sub(i+1, i+1) + if c == "#" and c2 ~= "#" then + local cc = tonumber(c2, 16) if cc then i = i + 1 cur_color = cc diff --git a/mods/skinsdb/meta/character_2041.txt b/mods/skinsdb/meta/character_2041.txt new file mode 100644 index 00000000..75a71f1d --- /dev/null +++ b/mods/skinsdb/meta/character_2041.txt @@ -0,0 +1,3 @@ +Plagegeist +Phill +CC BY-SA 3.0 diff --git a/mods/skinsdb/meta/character_2042.txt b/mods/skinsdb/meta/character_2042.txt new file mode 100644 index 00000000..fdaaaa9e --- /dev/null +++ b/mods/skinsdb/meta/character_2042.txt @@ -0,0 +1,3 @@ +FBI Agent +Phill +CC BY-SA 3.0 diff --git a/mods/skinsdb/meta/character_2043.txt b/mods/skinsdb/meta/character_2043.txt new file mode 100644 index 00000000..6c982441 --- /dev/null +++ b/mods/skinsdb/meta/character_2043.txt @@ -0,0 +1,3 @@ +Cyber bot +Phill +CC BY-SA 3.0 diff --git a/mods/skinsdb/meta/character_2044.txt b/mods/skinsdb/meta/character_2044.txt new file mode 100644 index 00000000..f5504685 --- /dev/null +++ b/mods/skinsdb/meta/character_2044.txt @@ -0,0 +1,3 @@ +The dead +Phill +CC BY-SA 3.0 diff --git a/mods/skinsdb/meta/character_2045.txt b/mods/skinsdb/meta/character_2045.txt new file mode 100644 index 00000000..330f580f --- /dev/null +++ b/mods/skinsdb/meta/character_2045.txt @@ -0,0 +1,3 @@ +ICE Knight +Phill +CC BY-SA 3.0 diff --git a/mods/skinsdb/meta/character_2046.txt b/mods/skinsdb/meta/character_2046.txt new file mode 100644 index 00000000..208fb590 --- /dev/null +++ b/mods/skinsdb/meta/character_2046.txt @@ -0,0 +1,3 @@ +Nothing +Phill +CC BY-SA 3.0 diff --git a/mods/skinsdb/meta/character_2047.txt b/mods/skinsdb/meta/character_2047.txt new file mode 100644 index 00000000..d4aeb091 --- /dev/null +++ b/mods/skinsdb/meta/character_2047.txt @@ -0,0 +1,3 @@ +Endermann +Phill +CC BY-SA 3.0 diff --git a/mods/skinsdb/meta/character_2048.txt b/mods/skinsdb/meta/character_2048.txt new file mode 100644 index 00000000..27ae4b04 --- /dev/null +++ b/mods/skinsdb/meta/character_2048.txt @@ -0,0 +1,3 @@ +Sandzombie +Phill +CC BY-SA 3.0 diff --git a/mods/skinsdb/meta/character_2049.txt b/mods/skinsdb/meta/character_2049.txt new file mode 100644 index 00000000..29d15ac4 --- /dev/null +++ b/mods/skinsdb/meta/character_2049.txt @@ -0,0 +1,3 @@ +Nebel man +Phill +CC BY-SA 3.0 diff --git a/mods/skinsdb/meta/character_2050.txt b/mods/skinsdb/meta/character_2050.txt new file mode 100644 index 00000000..531cd9b4 --- /dev/null +++ b/mods/skinsdb/meta/character_2050.txt @@ -0,0 +1,3 @@ +Cyber Huhn +Phill +CC BY-SA 3.0 diff --git a/mods/skinsdb/meta/character_2051.txt b/mods/skinsdb/meta/character_2051.txt new file mode 100644 index 00000000..257482d2 --- /dev/null +++ b/mods/skinsdb/meta/character_2051.txt @@ -0,0 +1,3 @@ +Green glas +Phill +CC BY-SA 3.0 diff --git a/mods/skinsdb/meta/character_2052.txt b/mods/skinsdb/meta/character_2052.txt new file mode 100644 index 00000000..7e2b4ad2 --- /dev/null +++ b/mods/skinsdb/meta/character_2052.txt @@ -0,0 +1,3 @@ +X Kostüm +Phill +CC BY-SA 3.0 diff --git a/mods/skinsdb/meta/character_2053.txt b/mods/skinsdb/meta/character_2053.txt new file mode 100644 index 00000000..793760f4 --- /dev/null +++ b/mods/skinsdb/meta/character_2053.txt @@ -0,0 +1,3 @@ +Neon Knight +Phill +CC BY-SA 3.0 diff --git a/mods/skinsdb/meta/character_2054.txt b/mods/skinsdb/meta/character_2054.txt new file mode 100644 index 00000000..931c6d8d --- /dev/null +++ b/mods/skinsdb/meta/character_2054.txt @@ -0,0 +1,3 @@ +Elf Woman +Phill +CC BY-SA 3.0 diff --git a/mods/skinsdb/meta/character_2055.txt b/mods/skinsdb/meta/character_2055.txt new file mode 100644 index 00000000..6c0efc66 --- /dev/null +++ b/mods/skinsdb/meta/character_2055.txt @@ -0,0 +1,3 @@ +pacman +Phill +CC BY-SA 3.0 diff --git a/mods/skinsdb/meta/character_2056.txt b/mods/skinsdb/meta/character_2056.txt new file mode 100644 index 00000000..0406f70e --- /dev/null +++ b/mods/skinsdb/meta/character_2056.txt @@ -0,0 +1,3 @@ +killer woman +Phill +CC BY-SA 3.0 diff --git a/mods/skinsdb/meta/character_2057.txt b/mods/skinsdb/meta/character_2057.txt new file mode 100644 index 00000000..de8cfaa2 --- /dev/null +++ b/mods/skinsdb/meta/character_2057.txt @@ -0,0 +1,3 @@ +gohst +Phill +CC BY-SA 3.0 diff --git a/mods/skinsdb/meta/character_2058.txt b/mods/skinsdb/meta/character_2058.txt new file mode 100644 index 00000000..e9204103 --- /dev/null +++ b/mods/skinsdb/meta/character_2058.txt @@ -0,0 +1,3 @@ +rainbow man +Phill +CC BY-SA 3.0 diff --git a/mods/skinsdb/meta/character_2059.txt b/mods/skinsdb/meta/character_2059.txt new file mode 100644 index 00000000..32c38946 --- /dev/null +++ b/mods/skinsdb/meta/character_2059.txt @@ -0,0 +1,3 @@ +Green Gohst +Phill +CC BY-SA 3.0 diff --git a/mods/skinsdb/textures/character_2041.png b/mods/skinsdb/textures/character_2041.png new file mode 100644 index 00000000..125ef3ab Binary files /dev/null and b/mods/skinsdb/textures/character_2041.png differ diff --git a/mods/skinsdb/textures/character_2042.png b/mods/skinsdb/textures/character_2042.png new file mode 100644 index 00000000..d635284b Binary files /dev/null and b/mods/skinsdb/textures/character_2042.png differ diff --git a/mods/skinsdb/textures/character_2043.png b/mods/skinsdb/textures/character_2043.png new file mode 100644 index 00000000..fbed1bf1 Binary files /dev/null and b/mods/skinsdb/textures/character_2043.png differ diff --git a/mods/skinsdb/textures/character_2044.png b/mods/skinsdb/textures/character_2044.png new file mode 100644 index 00000000..1f835275 Binary files /dev/null and b/mods/skinsdb/textures/character_2044.png differ diff --git a/mods/skinsdb/textures/character_2045.png b/mods/skinsdb/textures/character_2045.png new file mode 100644 index 00000000..196a18b6 Binary files /dev/null and b/mods/skinsdb/textures/character_2045.png differ diff --git a/mods/skinsdb/textures/character_2046.png b/mods/skinsdb/textures/character_2046.png new file mode 100644 index 00000000..df8f7d3f Binary files /dev/null and b/mods/skinsdb/textures/character_2046.png differ diff --git a/mods/skinsdb/textures/character_2047.png b/mods/skinsdb/textures/character_2047.png new file mode 100644 index 00000000..6631de70 Binary files /dev/null and b/mods/skinsdb/textures/character_2047.png differ diff --git a/mods/skinsdb/textures/character_2048.png b/mods/skinsdb/textures/character_2048.png new file mode 100644 index 00000000..5f0e05e6 Binary files /dev/null and b/mods/skinsdb/textures/character_2048.png differ diff --git a/mods/skinsdb/textures/character_2049.png b/mods/skinsdb/textures/character_2049.png new file mode 100644 index 00000000..3d6d97ac Binary files /dev/null and b/mods/skinsdb/textures/character_2049.png differ diff --git a/mods/skinsdb/textures/character_2050.png b/mods/skinsdb/textures/character_2050.png new file mode 100644 index 00000000..d121a0d3 Binary files /dev/null and b/mods/skinsdb/textures/character_2050.png differ diff --git a/mods/skinsdb/textures/character_2051.png b/mods/skinsdb/textures/character_2051.png new file mode 100644 index 00000000..b06c7d42 Binary files /dev/null and b/mods/skinsdb/textures/character_2051.png differ diff --git a/mods/skinsdb/textures/character_2052.png b/mods/skinsdb/textures/character_2052.png new file mode 100644 index 00000000..62303e21 Binary files /dev/null and b/mods/skinsdb/textures/character_2052.png differ diff --git a/mods/skinsdb/textures/character_2053.png b/mods/skinsdb/textures/character_2053.png new file mode 100644 index 00000000..bec28d57 Binary files /dev/null and b/mods/skinsdb/textures/character_2053.png differ diff --git a/mods/skinsdb/textures/character_2054.png b/mods/skinsdb/textures/character_2054.png new file mode 100644 index 00000000..396f5ff0 Binary files /dev/null and b/mods/skinsdb/textures/character_2054.png differ diff --git a/mods/skinsdb/textures/character_2055.png b/mods/skinsdb/textures/character_2055.png new file mode 100644 index 00000000..e32b85c6 Binary files /dev/null and b/mods/skinsdb/textures/character_2055.png differ diff --git a/mods/skinsdb/textures/character_2056.png b/mods/skinsdb/textures/character_2056.png new file mode 100644 index 00000000..846bde8a Binary files /dev/null and b/mods/skinsdb/textures/character_2056.png differ diff --git a/mods/skinsdb/textures/character_2057.png b/mods/skinsdb/textures/character_2057.png new file mode 100644 index 00000000..0d671e2b Binary files /dev/null and b/mods/skinsdb/textures/character_2057.png differ diff --git a/mods/skinsdb/textures/character_2058.png b/mods/skinsdb/textures/character_2058.png new file mode 100644 index 00000000..53c6a61e Binary files /dev/null and b/mods/skinsdb/textures/character_2058.png differ diff --git a/mods/skinsdb/textures/character_2059.png b/mods/skinsdb/textures/character_2059.png new file mode 100644 index 00000000..063d3324 Binary files /dev/null and b/mods/skinsdb/textures/character_2059.png differ diff --git a/mods/stamina/init.lua b/mods/stamina/init.lua index 7034dc45..f582e2aa 100644 --- a/mods/stamina/init.lua +++ b/mods/stamina/init.lua @@ -1,5 +1,5 @@ -stamina = {players = {}} +stamina = {players = {}, mod = "redo"} STAMINA_TICK = tonumber(minetest.settings:get("stamina_tick")) or 800 -- time in seconds after that 1 stamina point is taken @@ -681,3 +681,43 @@ end minetest.register_on_leaveplayer(function(player) stamina.players[player:get_player_name()] = nil end) + + +--lucky blocks (if damage and stamina active) +if minetest.get_modpath("lucky_block") +and minetest.settings:get_bool("enable_damage") +and minetest.settings:get_bool("enable_stamina") ~= false then + + local effect_me = function(pos, player, def) + + local green = minetest.get_color_escape_sequence("#bada55") + local name = player:get_player_name() + + if def.poison or def.drunk then + + player:hud_change(stamina.players[name].hud_id, + "text", "stamina_hud_poison.png") + end + + if def.poison and def.poison > 0 then + + stamina.players[name].poisoned = def.poison + + minetest.chat_send_player(name, + green .. "Seems you have been poisoned!") + + elseif def.drunk and def.drunk > 0 then + + stamina.players[name].drunk = def.drunk + + minetest.chat_send_player(name, + green .. "You seem a little tipsy!") + end + end + + lucky_block:add_blocks({ + {"cus", effect_me, {poison = 5} }, + {"cus", effect_me, {poison = 10} }, + {"cus", effect_me, {drunk = 30} }, + }) +end diff --git a/mods/stamina/mod.conf b/mods/stamina/mod.conf index fb091e75..0f96b0a2 100644 --- a/mods/stamina/mod.conf +++ b/mods/stamina/mod.conf @@ -1,4 +1,4 @@ name = stamina depends = default -optional_depends = 3d_armor, player_monoids, pova +optional_depends = 3d_armor, player_monoids, pova, lucky_block description = Adds stamina, hunger and drunk effects. diff --git a/mods/techpack/README.md b/mods/techpack/README.md index 5bff2a9a..4a3ab2aa 100644 --- a/mods/techpack/README.md +++ b/mods/techpack/README.md @@ -1,4 +1,4 @@ -# TechPack V2.05 +# TechPack V2.06 TechPack, a Mining, Crafting, & Farming Modpack for Minetest. @@ -27,6 +27,7 @@ TechPack is a collection of following Mods: **The moved/copied nodes will not have valid node numbers, which could lead to a server crash.** TechPack provides: + - lumber tubes to connect 2 nodes - a Pusher node to pull/push items through tubes - a Distributor node with 4 output channels to sort incoming items @@ -64,9 +65,11 @@ TechPack provides: - a Display node for text outputs of the Controller - Metal ladders, stairways, and bridges - Warehouse Boxes in steel, copper, and gold +- A chest cart for the mod minecart TechPack supports the following mods: + - Farming Redo (Harvester, Fermenter) - Ethereal (Harvester, Quarry, Fermenter) - Pipeworks (Gravel Sieve) @@ -75,12 +78,14 @@ TechPack supports the following mods: ### Configuration + The following can be changed in the minetest menu (Settings -> Advanced Settings -> Mods -> tubelib) or directly in 'minetest.conf' - Maximum number of Forceload Blocks per player - Enable Basalt Stone (and disable ore generation via Cobblestone generator) - Machine aging value to calculate the lifetime of machines Example for 'minetest.conf': + ```LUA tubelib_basalt_stone_enabled = false tubelib_max_num_forceload_blocks = 12 @@ -88,6 +93,7 @@ tubelib_machine_aging_value = 200 ``` Example for a v1 compatible 'minetest.conf': + ```LUA tubelib_basalt_stone_enabled = false tubelib_max_num_forceload_blocks = 0 @@ -96,24 +102,30 @@ tubelib_machine_aging_value = 999999 #### Maximum number of Forceload Blocks per player -Default value is 12. + +Default value is 12. I higher number allows to build larger farms and machines which keep loaded, but increases the server load, too. But the areas are only loaded when the player is online. To be able to use e.g. 12 forceloaded blocks per player, the pararamter 'max_forceloaded_blocks' in 'minetest.conf' has to be ajusted. + #### Enable Basalt Stone (and disable ore generation via Cobblestone generator) -The lava/water Cobblestone generator allows to produce infinite Cobblestone. By means of Quarry, + +The lava/water Cobblestone generator allows to produce infinite Cobblestone. By means of Quarry, Grinder, and Gravel Sieve it allows to infinite generate ores. This can be disabled by means of the setting parameter. If enabled, the Cobblestone generator generates Basalt instead, which only can be used for building purposes. + #### Machine aging value to calculate the lifetime of machines -Default value is 200. + +Default value is 200. This aging value is used to calculate the lifetime of machines before they go defect. The value 200 (default) results in a lifetime for standard machines of about 2000 - 8000 item processing cycles (~2-4 hours). ### License + Copyright (C) 2017-2021 Joachim Stolberg Code: Licensed under the GNU AGPL version 3 or later. See LICENSE.txt Textures: CC BY-SA 3.0 @@ -121,26 +133,33 @@ Textures: CC BY-SA 3.0 ## Credits + ### Contributors -- oversword (PR #43, #57, #58, #59, #60, #62, #68, #74, #76) +- oversword (PR #43, #57, #58, #59, #60, #62, #68, #74, #76, and many more) - afkplayer5000 (PR #70, #71) - andrenete (PR #37, #66) - fluxionary (PR #27, #28, #30, #31, #34, #54) - Arigatas (PR #51, #53) - realmicu (PR #6, #8, #12) - theFox6 (PR #3, #4) +- superfloh247 (PR #89, #88, #87) +- SciFurz (via forum) ### Dependencies -default, doors, intllib, basic_materials + +default, doors, intllib, basic_materials tubelib2 (![GitHub](https://github.com/joe7575/tubelib2)) Tubelib Color Lamps optional: unifieddyes SmartLine Controller optional: mail Gravelsieve optional: moreores, hopper, pipeworks tubelib_addons1 optional: unified_inventory +tubelib_addons13 optional: minecart + ### History + - 2018-03-18 V1.00 * Tubelib, tubelib_addons1, tubelib_addons2, smartline, and gravelsieve combined to one modpack. - 2018-03-24 V1.01 * Support for Ethereal added - 2018-03-27 V1.02 * Timer improvements for unloaded areas @@ -166,8 +185,11 @@ tubelib_addons1 optional: unified_inventory - 2019-04-23 V2.03 * Piston/WorldEdit/replacer detection added, farming and grinder recipes added - 2020-11-20 V2.04 * Switch to AGPL v3, adapt to minetest 5.3, add translation support, fix minor bugs - 2021-01-24 V2.05 * PR #74, #76: Implement checks for valid connection sides for many nodes +- 2021-06-06 V2.06 * PR #78 - #89, chest cart added + ## New in v2 (from players point of view) + - Almost all machines break after a certain amount of time (switch into the state 'defect') and have to be repaired. - A Repair Kit is available to repair defect machines. - A Forceload block (16x16x16) is added which keeps the corresponding area loaded and the machines operational as far as the player is logged in. @@ -178,6 +200,7 @@ tubelib_addons1 optional: unified_inventory ## New in v2 (from admins point of view) + - settingtypes introduced with the following settings: tubelib_max_num_forceload_blocks, tubelib_basalt_stone_enabled, tubelib_machine_aging_value - the new mods 'techpack_stairway' and 'techpack_warehouse' have to be enabled - TechPack depends now on the mod 'basic_materials' and 'tubelib2' (![GitHub](https://github.com/joe7575/tubelib2)) diff --git a/mods/techpack/releasenotes.md b/mods/techpack/releasenotes.md index 7a5e424e..6df84b69 100644 --- a/mods/techpack/releasenotes.md +++ b/mods/techpack/releasenotes.md @@ -1,6 +1,22 @@ # Release Notes for ModPack TechPack [techpack] +## V2.06.00 (2021-06-06) + +### Additions +- Add chest cart for the mod minecart (optional) +- Add support for the mod "underch" (#88) + +### Removals + +### Changes +- Account for new red & yellow pepper varieties (#86) +- Pusher improvements (#84, #83) + +### Fixes +- Fix crash with "ethereal:strawberry" (#89) + + ## V2.05.00 (2021-01-24) ### Additions diff --git a/mods/techpack/tubelib/textures/tubelib_cube.png b/mods/techpack/tubelib/textures/tubelib_cube.png index 767e9d46..9a17f06f 100644 Binary files a/mods/techpack/tubelib/textures/tubelib_cube.png and b/mods/techpack/tubelib/textures/tubelib_cube.png differ diff --git a/mods/techpack/tubelib/textures/tubelib_defect.png b/mods/techpack/tubelib/textures/tubelib_defect.png index 5cb0b7ce..152d5588 100644 Binary files a/mods/techpack/tubelib/textures/tubelib_defect.png and b/mods/techpack/tubelib/textures/tubelib_defect.png differ diff --git a/mods/techpack/tubelib/textures/tubelib_distributor_blue.png b/mods/techpack/tubelib/textures/tubelib_distributor_blue.png index f43e2b67..3bc6a14c 100644 Binary files a/mods/techpack/tubelib/textures/tubelib_distributor_blue.png and b/mods/techpack/tubelib/textures/tubelib_distributor_blue.png differ diff --git a/mods/techpack/tubelib/textures/tubelib_distributor_green.png b/mods/techpack/tubelib/textures/tubelib_distributor_green.png index 92e92769..934e212e 100644 Binary files a/mods/techpack/tubelib/textures/tubelib_distributor_green.png and b/mods/techpack/tubelib/textures/tubelib_distributor_green.png differ diff --git a/mods/techpack/tubelib/textures/tubelib_distributor_red.png b/mods/techpack/tubelib/textures/tubelib_distributor_red.png index 6ec1e03b..0911f7d5 100644 Binary files a/mods/techpack/tubelib/textures/tubelib_distributor_red.png and b/mods/techpack/tubelib/textures/tubelib_distributor_red.png differ diff --git a/mods/techpack/tubelib/textures/tubelib_distributor_yellow.png b/mods/techpack/tubelib/textures/tubelib_distributor_yellow.png index 0573c7d2..6cf1e027 100644 Binary files a/mods/techpack/tubelib/textures/tubelib_distributor_yellow.png and b/mods/techpack/tubelib/textures/tubelib_distributor_yellow.png differ diff --git a/mods/techpack/tubelib/textures/tubelib_end_wrench.png b/mods/techpack/tubelib/textures/tubelib_end_wrench.png index 60d23f56..a66c537b 100644 Binary files a/mods/techpack/tubelib/textures/tubelib_end_wrench.png and b/mods/techpack/tubelib/textures/tubelib_end_wrench.png differ diff --git a/mods/techpack/tubelib/textures/tubelib_forceload.png b/mods/techpack/tubelib/textures/tubelib_forceload.png index b45f8d25..68118deb 100644 Binary files a/mods/techpack/tubelib/textures/tubelib_forceload.png and b/mods/techpack/tubelib/textures/tubelib_forceload.png differ diff --git a/mods/techpack/tubelib/textures/tubelib_front.png b/mods/techpack/tubelib/textures/tubelib_front.png index d3f9b7ad..cc081bf4 100644 Binary files a/mods/techpack/tubelib/textures/tubelib_front.png and b/mods/techpack/tubelib/textures/tubelib_front.png differ diff --git a/mods/techpack/tubelib/textures/tubelib_inv_button_error.png b/mods/techpack/tubelib/textures/tubelib_inv_button_error.png index e4b0d1d6..c01e36a0 100644 Binary files a/mods/techpack/tubelib/textures/tubelib_inv_button_error.png and b/mods/techpack/tubelib/textures/tubelib_inv_button_error.png differ diff --git a/mods/techpack/tubelib/textures/tubelib_inv_button_on.png b/mods/techpack/tubelib/textures/tubelib_inv_button_on.png index a10aa506..0a38b6d3 100644 Binary files a/mods/techpack/tubelib/textures/tubelib_inv_button_on.png and b/mods/techpack/tubelib/textures/tubelib_inv_button_on.png differ diff --git a/mods/techpack/tubelib/textures/tubelib_inv_button_standby.png b/mods/techpack/tubelib/textures/tubelib_inv_button_standby.png index a13b2015..8e239899 100644 Binary files a/mods/techpack/tubelib/textures/tubelib_inv_button_standby.png and b/mods/techpack/tubelib/textures/tubelib_inv_button_standby.png differ diff --git a/mods/techpack/tubelib/textures/tubelib_inv_button_warning.png b/mods/techpack/tubelib/textures/tubelib_inv_button_warning.png index 33ec686b..385b6f9a 100644 Binary files a/mods/techpack/tubelib/textures/tubelib_inv_button_warning.png and b/mods/techpack/tubelib/textures/tubelib_inv_button_warning.png differ diff --git a/mods/techpack/tubelib/textures/tubelib_lamp.png b/mods/techpack/tubelib/textures/tubelib_lamp.png index e4c2b096..3526893b 100644 Binary files a/mods/techpack/tubelib/textures/tubelib_lamp.png and b/mods/techpack/tubelib/textures/tubelib_lamp.png differ diff --git a/mods/techpack/tubelib/textures/tubelib_pusher1.png b/mods/techpack/tubelib/textures/tubelib_pusher1.png index 296260a3..3fcea692 100644 Binary files a/mods/techpack/tubelib/textures/tubelib_pusher1.png and b/mods/techpack/tubelib/textures/tubelib_pusher1.png differ diff --git a/mods/techpack/tubelib/textures/tubelib_repairkit.png b/mods/techpack/tubelib/textures/tubelib_repairkit.png index 8215c464..35bba393 100644 Binary files a/mods/techpack/tubelib/textures/tubelib_repairkit.png and b/mods/techpack/tubelib/textures/tubelib_repairkit.png differ diff --git a/mods/techpack/tubelib/textures/tubelib_wlanchip.png b/mods/techpack/tubelib/textures/tubelib_wlanchip.png index c4ddb933..9ebe01cd 100644 Binary files a/mods/techpack/tubelib/textures/tubelib_wlanchip.png and b/mods/techpack/tubelib/textures/tubelib_wlanchip.png differ diff --git a/mods/techpack/tubelib_addons1/nodes.lua b/mods/techpack/tubelib_addons1/nodes.lua index 87c892a4..b73c3ec7 100644 --- a/mods/techpack/tubelib_addons1/nodes.lua +++ b/mods/techpack/tubelib_addons1/nodes.lua @@ -57,6 +57,13 @@ tn("default:pine_tree", "default:pine_tree", "default:pine_sapling") tn("default:acacia_tree", "default:acacia_tree", "default:acacia_sapling") tn("default:jungletree", "default:jungletree", "default:junglesapling") +tn("default:bush_stem", "default:bush_stem", "default:bush_sapling") +tn("default:acacia_bush_stem", "default:acacia_bush_stem", "default:acacia_bush_sapling") +tn("default:pine_bush_stem", "default:pine_bush_stem", "default:pine_bush_sapling") + +fn("default:pine_bush_needles") +tubelib_addons1.FarmingNodes["default:pine_bush_needles"].leaves = true -- accepted as leaves + fn("default:leaves") fn("default:aspen_leaves") fn("default:pine_needles") @@ -118,7 +125,7 @@ end ------------------------------------------------------------------------------- -- Ethereal Farming ------------------------------------------------------------------------------- -fn("ethereal:strawberry_8", "ethereal:strawberry 2", "ethereal:strawberry 1") +fn("ethereal:strawberry_8", "ethereal:strawberry 2", "ethereal:strawberry_1") fn("ethereal:onion_5", "ethereal:wild_onion_plant 2", "ethereal:onion_1") diff --git a/mods/techpack/tubelib_addons2/locale/template.txt b/mods/techpack/tubelib_addons2/locale/template.txt index 1228f9a4..1eecfc2d 100644 --- a/mods/techpack/tubelib_addons2/locale/template.txt +++ b/mods/techpack/tubelib_addons2/locale/template.txt @@ -1,6 +1,7 @@ # textdomain: tubelib_addons2 + ### accesscontrol.lua ### Access code (4 digits):= diff --git a/mods/techpack/tubelib_addons3/chest_cart.lua b/mods/techpack/tubelib_addons3/chest_cart.lua new file mode 100644 index 00000000..5332f3da --- /dev/null +++ b/mods/techpack/tubelib_addons3/chest_cart.lua @@ -0,0 +1,171 @@ +--[[ + + Tubelib Addons 3 + ================ + + Copyright (C) 2017-2020 Joachim Stolberg + + AGPL v3 + See LICENSE.txt for more information + + chest.lua + + A high performance chest + +]]-- + +-- Load support for I18n +local S = tubelib_addons3.S + +local P2S = function(pos) if pos then return minetest.pos_to_string(pos) end end +local S2P = minetest.string_to_pos +local M = minetest.get_meta + +local function on_rightclick(pos, node, clicker) + if clicker and clicker:is_player() then + if M(pos):get_int("userID") == 0 then + minecart.show_formspec(pos, clicker) + end + end +end + +local function formspec() + return "size[8,6]".. + default.gui_bg.. + default.gui_bg_img.. + default.gui_slots.. + "list[context;main;3,0;2,2;]".. + "list[current_player;main;0,2.3;8,4;]".. + "listring[context;main]".. + "listring[current_player;main]" +end + +local function allow_metadata_inventory_put(pos, listname, index, stack, player) + local owner = M(pos):get_string("owner") + if owner ~= "" and owner ~= player:get_player_name() then + return 0 + end + return stack:get_count() +end + +local function allow_metadata_inventory_take(pos, listname, index, stack, player) + local owner = M(pos):get_string("owner") + if owner ~= "" and owner ~= player:get_player_name() then + return 0 + end + return stack:get_count() +end + +minetest.register_node("tubelib_addons3:chest_cart", { + description = S("TA Chest Cart"), + tiles = { + -- up, down, right, left, back, front + "tubelib_addons3_chest_cart_top.png", + "tubelib_addons3_chest_cart_bottom.png", + "tubelib_addons3_chest_cart_side.png", + "tubelib_addons3_chest_cart_side.png", + "tubelib_addons3_chest_cart_front.png", + "tubelib_addons3_chest_cart_front.png", + }, + drawtype = "nodebox", + node_box = { + type = "fixed", + fixed = { + {-7/16, 3/16, -7/16, 7/16, 8/16, 7/16}, + {-8/16, -8/16, -8/16, 8/16, 3/16, 8/16}, + }, + }, + paramtype2 = "facedir", + paramtype = "light", + use_texture_alpha = true, + sunlight_propagates = true, + is_ground_content = false, + groups = {cracky = 2, crumbly = 2, choppy = 2}, + node_placement_prediction = "", + diggable = false, + + on_place = minecart.on_nodecart_place, + on_punch = minecart.on_nodecart_punch, + allow_metadata_inventory_put = allow_metadata_inventory_put, + allow_metadata_inventory_take = allow_metadata_inventory_take, + on_rightclick = on_rightclick, + + after_place_node = function(pos, placer) + local inv = M(pos):get_inventory() + inv:set_size('main', 4) + if placer and placer:is_player() then + minecart.show_formspec(pos, placer) + else + M(pos):set_string("formspec", formspec()) + end + end, + + set_cargo = function(pos, data) + local inv = M(pos):get_inventory() + for idx, stack in ipairs(data) do + inv:set_stack("main", idx, stack) + end + end, + + get_cargo = function(pos) + local inv = M(pos):get_inventory() + local data = {} + for idx = 1, 4 do + local stack = inv:get_stack("main", idx) + data[idx] = {name = stack:get_name(), count = stack:get_count()} + end + return data + end, + + has_cargo = function(pos) + local inv = minetest.get_meta(pos):get_inventory() + return not inv:is_empty("main") + end +}) + +minecart.register_cart_entity("tubelib_addons3:chest_cart_entity", "tubelib_addons3:chest_cart", "chest", { + initial_properties = { + physical = false, + collisionbox = {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, + visual = "wielditem", + textures = {"tubelib_addons3:chest_cart"}, + visual_size = {x=0.66, y=0.66, z=0.66}, + static_save = false, + }, +}) + +tubelib.register_node("tubelib_addons3:chest_cart", {}, { + on_pull_stack = function(pos, side) + local meta = minetest.get_meta(pos) + return tubelib.get_stack(meta, "main") + end, + on_pull_item = function(pos, side) + local meta = minetest.get_meta(pos) + return tubelib.get_item(meta, "main") + end, + on_push_item = function(pos, side, item) + local meta = minetest.get_meta(pos) + return tubelib.put_item(meta, "main", item) + end, + on_unpull_item = function(pos, side, item) + local meta = minetest.get_meta(pos) + return tubelib.put_item(meta, "main", item) + end, + + on_recv_message = function(pos, topic, payload) + if topic == "state" then + local meta = minetest.get_meta(pos) + return tubelib.get_inv_state(meta, "main") + else + return "unsupported" + end + end, +}) + +minetest.register_craft({ + output = "tubelib_addons3:chest_cart", + recipe = { + {"default:junglewood", "default:chest_locked", "default:junglewood"}, + {"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"}, + }, +}) diff --git a/mods/techpack/tubelib_addons3/init.lua b/mods/techpack/tubelib_addons3/init.lua index dd2becad..5f0d5a37 100644 --- a/mods/techpack/tubelib_addons3/init.lua +++ b/mods/techpack/tubelib_addons3/init.lua @@ -21,3 +21,7 @@ dofile(minetest.get_modpath("tubelib_addons3") .. '/distributor.lua') dofile(minetest.get_modpath("tubelib_addons3") .. '/pushing_chest.lua') dofile(minetest.get_modpath("tubelib_addons3") .. '/teleporter.lua') dofile(minetest.get_modpath("tubelib_addons3") .. '/funnel.lua') + +if minetest.global_exists("minecart") then + dofile(minetest.get_modpath("tubelib_addons3") .. '/chest_cart.lua') +end diff --git a/mods/techpack/tubelib_addons3/locale/template.txt b/mods/techpack/tubelib_addons3/locale/template.txt index c8b3db1d..dca4125e 100644 --- a/mods/techpack/tubelib_addons3/locale/template.txt +++ b/mods/techpack/tubelib_addons3/locale/template.txt @@ -7,6 +7,10 @@ HighPerf Chest= connected with= +### chest_cart.lua ### + +TA Chest Cart= + ### distributor.lua ### HighPerf Distributor= diff --git a/mods/techpack/tubelib_addons3/locale/tubelib_addons3.de.tr b/mods/techpack/tubelib_addons3/locale/tubelib_addons3.de.tr index ccd8084b..91373678 100644 --- a/mods/techpack/tubelib_addons3/locale/tubelib_addons3.de.tr +++ b/mods/techpack/tubelib_addons3/locale/tubelib_addons3.de.tr @@ -7,6 +7,10 @@ HighPerf Chest=HighPerf Kiste connected with=verbunden mit +### chest_cart.lua ### + +TA Chest Cart=TA Kistenwagen + ### distributor.lua ### HighPerf Distributor=HighPerf Verteiler diff --git a/mods/techpack/tubelib_addons3/mod.conf b/mods/techpack/tubelib_addons3/mod.conf index cd725362..18f1527f 100644 --- a/mods/techpack/tubelib_addons3/mod.conf +++ b/mods/techpack/tubelib_addons3/mod.conf @@ -1,3 +1,4 @@ name=tubelib_addons3 description=Tubelib Extension with High Performance nodes -depends=tubelib,tubelib_addons1,default +depends=tubelib,tubelib_addons1,default +optional_depends=minecart diff --git a/mods/techpack/tubelib_addons3/textures/tubelib_addons3_chest_bottom.png b/mods/techpack/tubelib_addons3/textures/tubelib_addons3_chest_bottom.png index 4369e368..93a17906 100644 Binary files a/mods/techpack/tubelib_addons3/textures/tubelib_addons3_chest_bottom.png and b/mods/techpack/tubelib_addons3/textures/tubelib_addons3_chest_bottom.png differ diff --git a/mods/techpack/tubelib_addons3/textures/tubelib_addons3_chest_cart_bottom.png b/mods/techpack/tubelib_addons3/textures/tubelib_addons3_chest_cart_bottom.png new file mode 100644 index 00000000..7aa750fe Binary files /dev/null and b/mods/techpack/tubelib_addons3/textures/tubelib_addons3_chest_cart_bottom.png differ diff --git a/mods/techpack/tubelib_addons3/textures/tubelib_addons3_chest_cart_front.png b/mods/techpack/tubelib_addons3/textures/tubelib_addons3_chest_cart_front.png new file mode 100644 index 00000000..3bf8f769 Binary files /dev/null and b/mods/techpack/tubelib_addons3/textures/tubelib_addons3_chest_cart_front.png differ diff --git a/mods/techpack/tubelib_addons3/textures/tubelib_addons3_chest_cart_side.png b/mods/techpack/tubelib_addons3/textures/tubelib_addons3_chest_cart_side.png new file mode 100644 index 00000000..d04b4aad Binary files /dev/null and b/mods/techpack/tubelib_addons3/textures/tubelib_addons3_chest_cart_side.png differ diff --git a/mods/techpack/tubelib_addons3/textures/tubelib_addons3_chest_cart_top.png b/mods/techpack/tubelib_addons3/textures/tubelib_addons3_chest_cart_top.png new file mode 100644 index 00000000..646f9ecf Binary files /dev/null and b/mods/techpack/tubelib_addons3/textures/tubelib_addons3_chest_cart_top.png differ diff --git a/mods/techpack/tubelib_addons3/textures/tubelib_addons3_chest_front.png b/mods/techpack/tubelib_addons3/textures/tubelib_addons3_chest_front.png index 782d5ef1..1a3e215d 100644 Binary files a/mods/techpack/tubelib_addons3/textures/tubelib_addons3_chest_front.png and b/mods/techpack/tubelib_addons3/textures/tubelib_addons3_chest_front.png differ diff --git a/mods/techpack/tubelib_addons3/textures/tubelib_addons3_distributor_active.png b/mods/techpack/tubelib_addons3/textures/tubelib_addons3_distributor_active.png index 9c22a464..cc0432ac 100644 Binary files a/mods/techpack/tubelib_addons3/textures/tubelib_addons3_distributor_active.png and b/mods/techpack/tubelib_addons3/textures/tubelib_addons3_distributor_active.png differ diff --git a/mods/techpack/tubelib_addons3/textures/tubelib_addons3_pusher_active.png b/mods/techpack/tubelib_addons3/textures/tubelib_addons3_pusher_active.png index b6342a7c..b2c37972 100644 Binary files a/mods/techpack/tubelib_addons3/textures/tubelib_addons3_pusher_active.png and b/mods/techpack/tubelib_addons3/textures/tubelib_addons3_pusher_active.png differ diff --git a/mods/techpack/tubelib_addons3/textures/tubelib_addons3_teleporter.png b/mods/techpack/tubelib_addons3/textures/tubelib_addons3_teleporter.png index 32901d1a..3f98a4ba 100644 Binary files a/mods/techpack/tubelib_addons3/textures/tubelib_addons3_teleporter.png and b/mods/techpack/tubelib_addons3/textures/tubelib_addons3_teleporter.png differ diff --git a/mods/tubelib2/internal2.lua b/mods/tubelib2/internal2.lua index ffef3c82..3367a216 100644 --- a/mods/tubelib2/internal2.lua +++ b/mods/tubelib2/internal2.lua @@ -163,11 +163,13 @@ function Tube:get_next_tube(pos, dir) local val = Param2ToDir[param2 % 32] or 0 local dir1, dir2 = math.floor(val / 10), val % 10 local num_conn = math.floor(param2 / 32) or 0 - if Turn180Deg[dir] == dir1 then + local odir = Turn180Deg[dir] + if odir == dir1 then return npos, dir2, num_conn - else + elseif odir == dir2 then return npos, dir1, num_conn end + return end return self:get_next_teleport_node(pos, dir) end