From 6f3c3f8b601fbfac511fa29e3204f16964c5c795 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 12 Jun 2021 20:20:04 +0200 Subject: [PATCH] update --- mods/ambience/README.md | 1 + mods/ambience/init.lua | 41 +- mods/ambience/settingtypes.txt | 3 + mods/ambience/soundsets.lua | 66 +- mods/bridger/alias.lua | 32 +- mods/bridger/crafts.lua | 757 +- mods/bridger/init.lua | 9 +- mods/bridger/mod.conf | 5 +- mods/bridger/nodes.lua | 6264 ++++++++--------- mods/builtin_item/README.md | 4 +- mods/builtin_item/init.lua | 80 +- mods/builtin_item/init.lua_ | 541 -- mods/farming/compatibility.lua | 7 - mods/farming/crops/melon.lua | 32 +- mods/farming/crops/pumpkin.lua | 6 +- mods/farming/hoes.lua | 2 +- .../textures/farming_pumpkin_bottom.png | Bin 0 -> 258 bytes mods/mob_horse/init.lua | 66 +- mods/mob_horse/readme.md | 4 + .../textures/mobs_saddle_overlay.png | Bin 0 -> 1069 bytes mods/mobs_monster/fire_spirit.lua | 42 +- mods/mobs_monster/readme.md | 4 + mods/mobs_redo/api.lua | 13 +- mods/mobs_redo/mount.lua | 55 +- mods/plantlife_modpack/cavestuff/nodes.lua | 101 +- mods/signs_lib/README.md | 2 +- mods/signs_lib/api.lua | 5 +- mods/skinsdb/meta/character_2041.txt | 3 + mods/skinsdb/meta/character_2042.txt | 3 + mods/skinsdb/meta/character_2043.txt | 3 + mods/skinsdb/meta/character_2044.txt | 3 + mods/skinsdb/meta/character_2045.txt | 3 + mods/skinsdb/meta/character_2046.txt | 3 + mods/skinsdb/meta/character_2047.txt | 3 + mods/skinsdb/meta/character_2048.txt | 3 + mods/skinsdb/meta/character_2049.txt | 3 + mods/skinsdb/meta/character_2050.txt | 3 + mods/skinsdb/meta/character_2051.txt | 3 + mods/skinsdb/meta/character_2052.txt | 3 + mods/skinsdb/meta/character_2053.txt | 3 + mods/skinsdb/meta/character_2054.txt | 3 + mods/skinsdb/meta/character_2055.txt | 3 + mods/skinsdb/meta/character_2056.txt | 3 + mods/skinsdb/meta/character_2057.txt | 3 + mods/skinsdb/meta/character_2058.txt | 3 + mods/skinsdb/meta/character_2059.txt | 3 + mods/skinsdb/textures/character_2041.png | Bin 0 -> 2643 bytes mods/skinsdb/textures/character_2042.png | Bin 0 -> 3176 bytes mods/skinsdb/textures/character_2043.png | Bin 0 -> 1239 bytes mods/skinsdb/textures/character_2044.png | Bin 0 -> 2027 bytes mods/skinsdb/textures/character_2045.png | Bin 0 -> 2348 bytes mods/skinsdb/textures/character_2046.png | Bin 0 -> 279 bytes mods/skinsdb/textures/character_2047.png | Bin 0 -> 1665 bytes mods/skinsdb/textures/character_2048.png | Bin 0 -> 475 bytes mods/skinsdb/textures/character_2049.png | Bin 0 -> 1581 bytes mods/skinsdb/textures/character_2050.png | Bin 0 -> 2797 bytes mods/skinsdb/textures/character_2051.png | Bin 0 -> 303 bytes mods/skinsdb/textures/character_2052.png | Bin 0 -> 2033 bytes mods/skinsdb/textures/character_2053.png | Bin 0 -> 1379 bytes mods/skinsdb/textures/character_2054.png | Bin 0 -> 875 bytes mods/skinsdb/textures/character_2055.png | Bin 0 -> 260 bytes mods/skinsdb/textures/character_2056.png | Bin 0 -> 2240 bytes mods/skinsdb/textures/character_2057.png | Bin 0 -> 414 bytes mods/skinsdb/textures/character_2058.png | Bin 0 -> 1967 bytes mods/skinsdb/textures/character_2059.png | Bin 0 -> 991 bytes mods/stamina/init.lua | 42 +- mods/stamina/mod.conf | 2 +- mods/techpack/README.md | 35 +- mods/techpack/releasenotes.md | 16 + .../tubelib/textures/tubelib_cube.png | Bin 305 -> 166 bytes .../tubelib/textures/tubelib_defect.png | Bin 301 -> 206 bytes .../textures/tubelib_distributor_blue.png | Bin 488 -> 419 bytes .../textures/tubelib_distributor_green.png | Bin 499 -> 444 bytes .../textures/tubelib_distributor_red.png | Bin 480 -> 414 bytes .../textures/tubelib_distributor_yellow.png | Bin 479 -> 408 bytes .../tubelib/textures/tubelib_end_wrench.png | Bin 819 -> 751 bytes .../tubelib/textures/tubelib_forceload.png | Bin 1310 -> 655 bytes .../tubelib/textures/tubelib_front.png | Bin 456 -> 368 bytes .../textures/tubelib_inv_button_error.png | Bin 381 -> 340 bytes .../textures/tubelib_inv_button_on.png | Bin 477 -> 430 bytes .../textures/tubelib_inv_button_standby.png | Bin 402 -> 359 bytes .../textures/tubelib_inv_button_warning.png | Bin 361 -> 311 bytes .../tubelib/textures/tubelib_lamp.png | Bin 348 -> 322 bytes .../tubelib/textures/tubelib_pusher1.png | Bin 444 -> 359 bytes .../tubelib/textures/tubelib_repairkit.png | Bin 649 -> 545 bytes .../tubelib/textures/tubelib_wlanchip.png | Bin 1052 -> 878 bytes mods/techpack/tubelib_addons1/nodes.lua | 9 +- .../tubelib_addons2/locale/template.txt | 1 + mods/techpack/tubelib_addons3/chest_cart.lua | 171 + mods/techpack/tubelib_addons3/init.lua | 4 + .../tubelib_addons3/locale/template.txt | 4 + .../locale/tubelib_addons3.de.tr | 4 + mods/techpack/tubelib_addons3/mod.conf | 3 +- .../textures/tubelib_addons3_chest_bottom.png | Bin 752 -> 470 bytes .../tubelib_addons3_chest_cart_bottom.png | Bin 0 -> 210 bytes .../tubelib_addons3_chest_cart_front.png | Bin 0 -> 262 bytes .../tubelib_addons3_chest_cart_side.png | Bin 0 -> 279 bytes .../tubelib_addons3_chest_cart_top.png | Bin 0 -> 248 bytes .../textures/tubelib_addons3_chest_front.png | Bin 737 -> 587 bytes .../tubelib_addons3_distributor_active.png | Bin 2846 -> 2542 bytes .../tubelib_addons3_pusher_active.png | Bin 1743 -> 1286 bytes .../textures/tubelib_addons3_teleporter.png | Bin 216 -> 163 bytes mods/tubelib2/internal2.lua | 6 +- 103 files changed, 4143 insertions(+), 4353 deletions(-) delete mode 100644 mods/builtin_item/init.lua_ create mode 100644 mods/farming/textures/farming_pumpkin_bottom.png create mode 100644 mods/mob_horse/textures/mobs_saddle_overlay.png create mode 100644 mods/skinsdb/meta/character_2041.txt create mode 100644 mods/skinsdb/meta/character_2042.txt create mode 100644 mods/skinsdb/meta/character_2043.txt create mode 100644 mods/skinsdb/meta/character_2044.txt create mode 100644 mods/skinsdb/meta/character_2045.txt create mode 100644 mods/skinsdb/meta/character_2046.txt create mode 100644 mods/skinsdb/meta/character_2047.txt create mode 100644 mods/skinsdb/meta/character_2048.txt create mode 100644 mods/skinsdb/meta/character_2049.txt create mode 100644 mods/skinsdb/meta/character_2050.txt create mode 100644 mods/skinsdb/meta/character_2051.txt create mode 100644 mods/skinsdb/meta/character_2052.txt create mode 100644 mods/skinsdb/meta/character_2053.txt create mode 100644 mods/skinsdb/meta/character_2054.txt create mode 100644 mods/skinsdb/meta/character_2055.txt create mode 100644 mods/skinsdb/meta/character_2056.txt create mode 100644 mods/skinsdb/meta/character_2057.txt create mode 100644 mods/skinsdb/meta/character_2058.txt create mode 100644 mods/skinsdb/meta/character_2059.txt create mode 100644 mods/skinsdb/textures/character_2041.png create mode 100644 mods/skinsdb/textures/character_2042.png create mode 100644 mods/skinsdb/textures/character_2043.png create mode 100644 mods/skinsdb/textures/character_2044.png create mode 100644 mods/skinsdb/textures/character_2045.png create mode 100644 mods/skinsdb/textures/character_2046.png create mode 100644 mods/skinsdb/textures/character_2047.png create mode 100644 mods/skinsdb/textures/character_2048.png create mode 100644 mods/skinsdb/textures/character_2049.png create mode 100644 mods/skinsdb/textures/character_2050.png create mode 100644 mods/skinsdb/textures/character_2051.png create mode 100644 mods/skinsdb/textures/character_2052.png create mode 100644 mods/skinsdb/textures/character_2053.png create mode 100644 mods/skinsdb/textures/character_2054.png create mode 100644 mods/skinsdb/textures/character_2055.png create mode 100644 mods/skinsdb/textures/character_2056.png create mode 100644 mods/skinsdb/textures/character_2057.png create mode 100644 mods/skinsdb/textures/character_2058.png create mode 100644 mods/skinsdb/textures/character_2059.png create mode 100644 mods/techpack/tubelib_addons3/chest_cart.lua create mode 100644 mods/techpack/tubelib_addons3/textures/tubelib_addons3_chest_cart_bottom.png create mode 100644 mods/techpack/tubelib_addons3/textures/tubelib_addons3_chest_cart_front.png create mode 100644 mods/techpack/tubelib_addons3/textures/tubelib_addons3_chest_cart_side.png create mode 100644 mods/techpack/tubelib_addons3/textures/tubelib_addons3_chest_cart_top.png 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 0000000000000000000000000000000000000000..b23d241372bcb3b187f44c7c2de334e5fbbab78b GIT binary patch literal 258 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!73?$#)eFPFP2=EDU&}r%N`sHW0`20bQ zt4tNe?{|L{jk=ZnZMR|EtmR+3gTH*#{Moj5VMO6~_O|yyLjS9K?f@Oe;OXk;vd$@? F2>^&^V-o-X literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..ef100478f99becb0060b2c2b54ee344a86bb00c2 GIT binary patch literal 1069 zcmV+|1k(G7P);xR*hV)gWh>}dGCIC3Hn`f_ulvW?tMSspYMfKt5w7$S(aVz zlu}=QMNu#_GvkuAWMo-(JqOK&rJy~f&_yy$Gm&+Il=1@TM?#VcDvE;D)m7XiN`-ar zuoiAMo3UiC9RTTc8qH>t=|(&kV~y*&j^W|qYYPe&fWL3o&D5ERm5oid;Mgd6zwrjo z$0lthon(!9$9bW1tpHelF=0OJA422DZrj}bJH7bXYT@6;ruhrN(%Ks4KYS!!zWx1u z7Z}}0j)?&v7(l}~#@(I_4o;3;bKm~_2GVJqW<&tMz>|B}T#-ys6d}u>L1*U(0F+84 z0D!8hkR-_t0dFWc-~Hyg3c$jDQ96Vk%X0#uxwZZq>|jsO=^H_0LtYu48usoa-t}9%@-co+1XjwtxqXMDz5c;?w-wNBd_&f;M9CI*42Y4rWRYow+h6~ z0gXl@^m>-;*Y5(ET5Q>4k9$>f@!b&NxvjS^3DY}RlAH^mc#JB*+b|0l>w`g-h(bZ05LWK>_}+!}FZVCt znvwJ17W~|5D)N1*iD8Kpi$wrvI^jaih-<=WO-SXhWu1$gy7ih@@T zfk*if5_j<+w`X~QrOfe(5gMqlcaMo3hk1$7OI9biy}j)kUs_tSpX>EH1VONQFPkf3 zx2sV)RKKoO2HMt)1pu!q@Icwx+VWj*aBvWNdwX5G9d>rMi5$UL)gY+e=W;pJ>vaG? ze}6v!V0U+y%kR8qi~8T7^Uu}9Z-l&+;8st@R*XmU^Yf@yt1b{mMn*y(%Ay?3f_R0b nl;?#;5LwkC2(+Yblf3jF_uVAV(Id7V00000NkvXXu0mjf?=1;F literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..125ef3abac7e0e34501694664017f55103a3db5b GIT binary patch literal 2643 zcmV-Z3as^sP)I;WU&DR4K#kyXiP|q`bocN)L4u(Ab|oYX`w9Iu*4%dv2Egs1dV!~Fbqi~lQe2ItackA1b4n%JZb9hI5_d4+!pUe-wYVZ z=g|#=dbNtGX+&X2c4&xLEXHsycP{35R?(M$PN#$Kc_^yN=-3$LQVH9#uq=xsZ@j^; zK9%~=r}?SSmjF%Es8y@v*Q~*|EY_@DODrBIkxZhhD!cyC6bH6l)|Z6ee}3dcNt6Qc zhilhGLI_ke8i*7;dsABdM$=E_f^Av&o`)HWF;^&{8wQG^kR2SvaU1}wb{jJmBb83$dmfJCpsFgGu47vk zv3Q)o_s_ae_Voc#6rpMwW8>otWV6H*2~5*ueEoWYAV88NR88Z@-~T?Y>-GrJ4Fkuv zF=H{3sT8Snnr^pCZe)a=hi1iaF4yx6k}M;H!0mLfEel=OX}4NEvd$-@TD6K9ixGw) z@kD}KpPv?!6BBeC2jBDPbUMrx3S4;c#oYgkUr=6J;t#+39lBwVNTs;va9uPT4Px;) zp65}mRM@v=W2EUiZl{BgBqT{fQ4};?N7r?B9Gnohzc4Q}O*`M~N4n>5T_}pejeGwk zW@l#j^{3O3uIpIsHs5*05~E{d{OEh%~<#eow7Zq1|e6VB2Mp*X>fP zR8SO!RL9)YI(u)}5UrXd-7t9YOXHEEssOmI%bu(A(auA&=iMktx4*a`yl$5$ zT0W&p#UeWo&5Gx4{X}FK277PV5Oo}fR632-ZUZ1I3O8-vj;ts|QG{dLBvUEA^6;x7 zKR!;o)ndoN32|WCWzhp)7>#tpVCSJ(v33930w9r0BBZ`2@Hv6>z!yfNOg76vHVZ5Z z+|MpoqNQSyO1X@xX$)kueDS*L_~x!%T(fBtk|a@>p2jc??)q~{=(^6*;vxsOT^7w3 z3e>7q0NhT8J6>88j&1kqf_+;yMviSGgy7*#>(9G4knVVCQEYnX6=9eruw49%uUkhL zhU7*@C>4uL96d@RnZ$7%uHLkX{h2Gp(C{$jQVD=NUoHwW7Gv|{uZufhE{cI{mOWSJ zqis(e6#(%>f*=TZV)G?YyVXKb6m}k(72TCn<$OZ)>j!*LJa*$n(e|g`6~FvsJi7SO zOIci4pw(#fv>}yFGcz^CxBpf>t$qLVkE_wT3ogL-eRRX%t4|&|LAx& zcp>d}o7~6fByY% z!Z7UF?9;_bGvJ{wuZ_O(r$XN}d*B2I)+Osfh`?-7bb{k{cbx>vnN$8^>`_ z6a{&uu25B#cp`B^JO~0}@i?t!lTxwRcmAiX0hxgT6h%STbr$C4xMbr-gb?_i*Xt#y zs@j`y7>2!U$PNzT*fv8eouz7}!bm=k@B1|Bb!^M(X$UMIr>lldQB`!q!0mL7i<_p2 zEX$-a8Qe~%@BB|&16DgkL%AFS*(_GOO{H9BV5KxpXENx9K`N8M^E@O;LY8H^-7cL@ zhtkp#p6Ai1*AYTct5z{g6W{X~%H$=M&wyF|^A?ZwpAPCS6 z1Jg7a9UG%mERr7|r?O(Sbi*JPi}k+#Y7rHS$4`h`mbI)0?RGCS&ME-_m2$bK@Ham@ zDO$}Y)pD7IxjA&hAUiZfqh4qG)9?05;Pk)%sZ0h<)0i(52z;L?ifA>Pq%#?c3k#^K zO2=`KBniVbdkvNMZiD}g3nA!syXd-3BAGll1PteLxUS1B&rONd#pOmvNhFhKnuhOr zy>$HgGsnc@{5;KiomQiP5P}OfY@oQXfa5q=?RGDHZ+~$?*tSil(;*B)R82#cW#Wkh znx+x>KJOP-Rh48aMeqU2?K46^EFLGelK!hGOiyE&CNoo0*tXsKYOvgDuh(iI1X~Zh zBQ`(&x-d+WbS6U>hA67qQ}Fphfu+SonvDiq_rERbwHmkmaYlq;h-F#5xS}XTVMx7J zLkPjPr;ZBCvd#?w?N*D`!Uy2m2mdL|Sd5P25KkmXXEMkAbF}^Gcg6U+bwn#YNPr*+ zxao;E#L)0C=}d;Z{#+6OlM@r%`}c-eC8XVK0#L8j*t-91F*z~8%;Y53Kk}NeEQ@xt z*%QNBrE>NOc;cpyMytMj&oyHa!2O>cigq5F6+sXnguweBG1_~>hRAhY7Ut%9*X}u7 z7yGtsj9k|}j;zI%F~^P`1>j$=z6!uAhYthrfPaaYK6VUP?mqqSh!C?gGr+QI?1$4P zV71AyIst&Y|5EP#-tyd(sFcgc-LvE1gt+zjX>q}Z4aZ&Yx-Pf#1;G65 zEC4S&|2zPD!b^MORvR^|cyRY_0Df5?>ucuD$QF2N`{gGzHs1S>(c1Ov-}k=NzTxhx z1|wJ&$dkQef96U7P}y?d31gngeeSqx?>FXT_%ArWxHhgAmBj!6002ovPDHLkV1h;1 B56=Jq literal 0 HcmV?d00001 diff --git a/mods/skinsdb/textures/character_2042.png b/mods/skinsdb/textures/character_2042.png new file mode 100644 index 0000000000000000000000000000000000000000..d635284be1a64069c3e80da297c3fd212f3516f8 GIT binary patch literal 3176 zcmV-u443nXP)*3E9k+m@&iJ2dsSnAq3ss-FEF|mtCf{ z*7WxFj%l-0MtVF&3qt$E1{HPM(jLfJ*~65{4mR7y{rpjs;n3 zZJ!(I>FE&{5vGYdG3jlN8OC69>qO}GMp;tf%5Yh!54P}P| z=dnX3*n_0?xdM-(h%gMx>W}&TVr5(apuFIijIaer02*Y%1qDJnL_vU;%aW{3UbKTI zP-D*kKYUX@sEiAMl#(zE&xyK9rtJ|B#NeoO3YCV7KcOS-o1jhSxmXbsCr;Fk;}AvB zs0B|cW#5_L%^E2sK@ixrrRiykq;c5jFy9;J)9JKL@!?#;bRV<(rCb2wwphv$%o@|O zOYIvFjeW;);`q#>(wC*X?0KG5SSn!{5(GgRSi?C&DQKlSOVif`ZX7SQA4L&`LII_e z1*7!)LZMIwm;tslOG-Du_*x2>G7E>d6{9!|L*Cr=Fw%*Q7Y8x`{Pl*1(OO$zi~+}S ztl_Z=RcVk~>#{x{MUmBGd@+n~=FFK^VJSH?e8oIBz?N=8sTlvn#EBEN`Dka~31+|Y zG=KRw|6qgv+4cuXR8*Y>Alpx}s+K4W@CVN@Z{s62MSu3qe?~fr>(*^8LwU45ZX8P{ zlh)~;o*n@(b?Q_Naf%lT1&$p%HflM!^wLXpDwVSK6V)>T@CM!~%Yw1&i^-EGYm))r zI^Jg&T>1LWIN&qyGxLVKIe_5G*LPCP_H%f}-7H4)hrLgbtged@4FjSepg&inb>qKS zgiUIj^fhA6ZZetV=+UDeM!jU##}{gVcmBIe05mr@YXgAmmh%$N^F{*j=B_xc-&%M_ z82~Dk#z~a7w9qdS6!I2;|DE?)uISofk-qlk`|NpCN}aQYy!YOF7aaWETQ+Kd!%KfY z;$6qmLnHJ}n>J04X1}|;TZqQSMh)=hu7~;Eg4?;GYX@&Fyo1XRJOe;b%mW%Hk>u!+ z-viJ*eKw)*f!3&01#d6@9GAcPEN@@G-WvGmkDlYYTen&QQ+md=)&xO-*7^eh@Ihqy z^y#|P{*fa`1b`Ak@Qddk;&%&fXV(69-fF#rS^L|G2oORdRe~t+2m_xf%~NCa0w1Xo zv9c&)*8XNe~1m zrBF)I(a|xc{`KqE>*L3dQ(Ie05Cm-7w30&RIH~$66f(z|z2^Q4%BT@r5ClbpR7gkJ z;-QqnbzM@a)VK=!`}^Zyl5yQ|R082BDk>^aO0lJLKT=8>8X9P9Y~+$lF0lo&lvJHd zf*_!}x|)WD2GZ&Dg~U3ljG)4fGSyNborJBH=PN=8JkJ9mkje!#QQ%W36!^jq_VCcc z1w7EzW!L}vr$0qaO$~)YfqXtcuKrvuhvPU54i3g-sATt3^;6EW2lEpZVgXei{J@_IIEnI+7 z>bx?brly87XU>dhs~=QU^@OXnaxVcOD4r$^ibJmiA>h=^M@9ir6e6X=q-wN|BD9VW zQt~G=vur)s#lNmtZrU2Y@1rA)lZvw`DCEiK^Q2NK9$mVGL_%@zz78HRy)&x;A zVUCtg60IY`AWucjEQFH)9TA0oe7%iA&{5nKoCIO$ArNRCv8!hvkKcF$_w3nA+v-(p z`u>0L_t*V74Gj%EzOfa6d!E|QsZ*!;@|*uj+v-*1^Lbp?#rJ*c>gvela{N#4Wo3?C zGwTGt@8kPERn^r1oEaEkb4O>{x^2r^X=rHRww>QDd;a8_)ud7>cJJOjHUJZ+uGIN6 zhe2y9YA?r8NgU-821NqD0K`)sN4Y4KA`E@B4pAzN?`64qR+jq@yvifjFQQm1;<_$d z4|dW1$(wlp{r3T=tE;20uaAHH$xr#GxqrojZ~WN){PO&HR99E?+oMytcJ@g;&*L}m zHq(Bnjjt_P%zdvMU_;9$>+r`u(u3nTIF3Uumt%8BCtqEBJ%>+S!Bx%gTGlD0L?vBz zKfh~C0HoFtsjBHz)Xql8vur6Yd^)ZPfJ&qh(uq?a0YV@|JgjV6y^6}pN*;XU$M$Ug z^6(V8|9Bd-u{oI?ZFt zmjUo+SDXUk`@y71lep`}?@?1z13+VABLMg8*^BGCZ1~~s5QpZJ558c02G9GdQItt<=FhpuR&m)`7T2fOe6s+==nSHb$Y6IZ*=XaI8%Vx7| z>D+I1v>$4->#v^nfA+aa`P|?j0L5aFOeVgOnhVdsz<||jigZ;~Roson1z@P%2_bQu z1X4PLex4{O5`!ac@NkyJ8E{wn$d#P+qf;JPl4E?ok^Z;!?-w6>;>`uckNZTly0vYB82G5`+_fi{+?;e*TgE+6xB zgh1;sZf9p#pmjvx;Y#WHN50W?(Wd z078gi0fLkYAr(>RTRK}RLO4WGfRxH!GgGM)-~HTr5{aYy-Toi4p=A@VmlUtHKq3*} zAGWW(g@%SIwk?ah#25GOV?)a(-uP7&Zw!5N-zx`rZ22-ackJbvTW*f+0(ZXfU0%HF zPUhK|5)E*c=|#aHLPQW134<)?^8XD8AyJ7G zZn7H0*$hah)7<>bvxH&DR~F1??wl;`huZkWRT<{a$pUe2Za>t<-+pH|pLzNjJkO)4 z`qw73A}Ia`__TiI~u|NDG-D;a1p(*^>v*TI1IK1p z^MKmgT5ay@aCU@bCbgw=HZyxOBc?D6x#pT{NT<_Gnly>E+jsE9s+D9i875Dj%$+a1 z$kU(sG+Jv;oH#*!eLYoGRV0&1PM$nTKA*R@!bBoLMMZ@j!e%lVDl02#-@GRFNjgZC zz%kcw9T9pSIttM`B9X2_2tnW#&|!c|RU(AoBlAByHUJeB722?}WHMPc#Wi5~zHgaZ z>GU{?BL1|lh$A$P6eJu$&Wp(VkZ|Bz_s5r$+rD}nKZJAwDqM*lYQjhp>Ud}xL?Ff4 zN~3{DgOc$4_9tV`VMgI9K@6x8=dXj%jV_Q5Di*U~_tB8Cujt2Lx<8YZ(d zbA6a*vLD%OnoZo4<`02;KJNL-z31Fn0VwWa$XW+bYwQ%D)&bNSI|Zn90JX+W0cssU zt#Qv6K(BQGl`uLwN=HY>sG zw)s=|;>C-A|KC3O(q~Yw@%i`(0NUEx=;`UH%Ko-L0pKTJS64^q;RsJydueQJWMN@p zQ*7TAP4N26uk`ixapCGGeDwQq4j(?uFF*aTDYoy56L2v03f(UpqNk?^T?oECcaFNc zx=pdY?F*2}WH9UNnVg(tY;25ZG>YRm%+39SZRe`CFH))0rZ&OO&Q5e)r@y}+*Y&%$ zrfCcg4&pctsZ^?J`}wHW-j?)$L?RI+58%2ki9}*6Tvd%NDS+cR>*8$(Y)Ju<$t1RI z7x0FMhquC2)exZWs0WzRB_zCnmYU+aZSd#=e<3uB+4-h5_wRY=2Ckzsd(#9!4}*|! z^2FO1;Rparw#A1ZCs7_a_FC2|qf(EMgv1J^36OcTETT2RJUTh$ADq8cnCrFyfae*^ z&NmT@#mYL1#bV6NJ%Z=13?Ijax88gQDOL{SjkyecN8?o|zaHo~;J=80<-R2ac=&%5 z$py@-(&_oR4q%WrfMmC#ead9!A7jG?+b5vTHJ z#Kgqv(Kremb%$MP4QQ2Bq*-rb)|)FaxDJM41hioo=$c+2cihsE*4x{QY5I2J@i?!3 z(+xLWMAqd<;wj?sH~^+;(%aixvR_EZHBXUio8y)!zSWP{1C~6W&X9VFjQDF!BbUnsYewJ2eSN4f07=PdDUhi$5$eElD_Xv##dltZ)MTZH z&_+-uc>sB24A1lMJdfR9Jjb3hFZx?t7kOl?M890}fvlXX{66fmdc&*m`O($YwfWxy zYGyY=`1eSJBqHRy5JI44c5k-34WqleoAB(@{0EZbsEq(W^%npD002ovPDHLkV1l-( BWR3s; literal 0 HcmV?d00001 diff --git a/mods/skinsdb/textures/character_2044.png b/mods/skinsdb/textures/character_2044.png new file mode 100644 index 0000000000000000000000000000000000000000..1f835275a152912bc265ba148adbcf7d84c33744 GIT binary patch literal 2027 zcmVJNRA_RHJEd4$!F3(|Y^_}EN1E;D{)%4x=?{4Q8>i?_B>Cq*J|k(pK+%58udaXCG_Ww9 z&`2&7FBVq-D6OvoaC2^+4lqVW&MN>3UgV~k2y~1D-%2j_Lp$I{-~TqRee+uY+`ID; zr7!-(*yvRNW~L|k*)M(_W}+pQ3d;Nv0$ko+zcmbGoMU;C_WyWt5q`|9g}*Y2M`Sme~n0lE`OJuS`+4}}KV3gyZ+w(YWz z%Nv8~e$|(PTXXZqx#1yI8-yQQpn7%k_L6XGZr&J7_bc0WDOa|&{=HA`V_7B(xx8U^ z$CSwSy$gK)V3F_raFSpC{4%GWHrfW*WorsxA(uC7+g0MQyH+x`Ky@^Dt^mqlpWSHGCZ_6z_qP$r#{8ZSoymLdet5cOL+w`YiBwu(`e^!q~+EjZa!gjUFv7^xg z6AiOFrYy_Ewq4{`9LN_Qc}{e;^JJsUS5BS4wq2fVlsR@ZO1ZKfN?+ysfUNY{?5wf1 zwWT^bI`r>B{H^PNYITQdbq65OLi@#&jWXc1p9BnEmA0$Zz2|@ zNYDoj9-2&nNTiMSNQ7u-JLS#FfecowJGg75x^b}+iL@Qm#{lH}fRLJ}sk$F^X90ik zGH(uoRss5LM z8TrB^uRC^SUfZJsXx25+u1)~m>c@^o0Rp!BQpfeyXWK5{`R*mat9&!6TUuY;B~)hs zj}Hjzo0ynr{Y_AUTgc@N@V1u@U?G>+N)nJ|ne?TO*DY`oc(k+KuW!suPbz@7MlTzH z5_v89QpbtKdszJYXY`*;Yc62hZh*ZNiz~dJnc~98c^x?HaRonr5Ox@bBeiWVv~#P8 zqy9u#mZ{rV#x2VvbL|Q<)03(@k)&upW@dU)Wv*S(a!Hol$KpK!`{2=6%QAJ9rQ#Px z&T}I>TgUGFd_iP>I^7Hrsk}fspl0tiEX!2lSYOKfUC4Qar8Yrhm#!KBcmMi3Rr=yz zjE#EteqF!5zf#h=uItd3Iv$|8a{Y3;AN!NNlcMZa_k3egq|gL38Q0`Qu#n3e1EsY);+m6M1xH&h^jqEHpva{Tro7c9^zVcE) zx6ym{l>i^=R!{$&@?S3%mMN{T;<^s5>ky0gFf%==N*hIDU-~jL(~~L|@6mEuwf!iq zuj&PFFx{_;#T82Ht2&rWW=ek)=>XmyyU3fvLxC>vcZ=vBCIPkUfDZiD+`LYXtk!-9 zOf$h7qnBB8iX^QUcx&{sVVViD*;zw^w{2JJPfSc0l8|JwH?W{d(rT~Y&rGpYSk|`k zg-80{uOEi}9EJkH*3Pe`!m>Wm31aacUQYM3FnSsADw@em8H4G5eZnhOwsjYbjGR}0 z{Qd2^4)cz?dtaWj-bWC&@QP!4hamlo_^^*uEwf*|F4ohbVA92!$WGYu&ks#n?brrD(>$N@#F5NALw1_?x!CB80F1M9rYCw=GSio zrPMISp}wf^*{b<#G$p%*S(Pp`8E#002ov JPDHLkV1n*i27~|r literal 0 HcmV?d00001 diff --git a/mods/skinsdb/textures/character_2045.png b/mods/skinsdb/textures/character_2045.png new file mode 100644 index 0000000000000000000000000000000000000000..196a18b6dcfc80180117d38ffa2494172ce95e02 GIT binary patch literal 2348 zcmV+{3Dfq8P)eZ{s)a2Yb zU#9L14qg!eu~XP*s{WeeO?Hz>Ak+m?NqZy@&U*(16xXl}C5iSP$TP37rgE(;3= zg%E<|c0vex1GA-^Hkh*CRLj=>{{EZE9{^Pik(YNz%5QSoAOKw#V)FapW`-)t>F&El zN-2duFq(D`t7?csXP&97sv$H5vUKTE z&YwST^w;Y;N&UHLQ!Nb*4Tdrt4m($4BN+(*w0bYeBgf7e4(o46+GMNul969bm3&kU z5uNbP;&9j}kw0_hjInar;BeSYgx8hdGltIQb0}; zIGKpsB}DS}01WeYyM(wF@;XdPu-R;K)v8r8)pP#*e7Ru30y%$vzO+~@rl0=JX0u6; z$7AZJ*Q=|mrOjrOH8nNTX0yrXo_o$zudc41@&Vj+A!b-Wa`}2ODG-{M@8nYLKCM!E zKX1i8rmLeJ*PVp`Ji1{;#sRHXD`O|FfbTu?htm78RDXx~J6BS7Od!5`X2!tjtWR6f z*Xs82_@=D{gFPIs-w(isM{2Xm2k`7;79+r$D_;$NK~ByrhKIk% zIyiu(Iw#$iDfQ2W*Xs77Mne4Y4_g6^IKbih{rvdh<=G-n6EbFl-H)#4LthI;#U=RK zS^$s_uSn~I0sMhc7B8@*459sjQ5N<7C!;{wgg@}=KGaAkW1DQ)c`$B--&xb)u8wv} z%T`cYwgP~hx$iQ3`GG7-$Q&D74{Dy+!rRB{>Fj7{NpT59#U-XKkVb)N^9|9{m$Xz8 z7B8?eHae(9T=`X;IMzU4u!jvBYw@<7X4m)T0x(ojj%C^$=FU~HJMvHz?PRWbatkh( zJLP1-U=Igg*@vozP}MNeNQldqBgDssnBDq;sjWW#%$YN>D|sl1lYig7cZ@dPb4LNl z$(aQ}(UKBgtJ_Od4WUNDsA`C|_nQ$KQp%KZQ~EpG@suq$$frUwdApK}ukAF=r;Y$i-ZN} zNG7i&DMM95^e~=`q>J%C?)q28`8@+C@zyt!yna4!OM>`mz8e05noV1A_k0CE+{Ih{ zC-MII5CYi!{8QAuyayqKlv0`^M*z!$zfSE+%-7a})8!slf=L0B$xn>aGbK1vfv3OG zRQGzS=nM9sD7oCbvX-vSc9?z_pluybYoh&6?xQZr0;W%&E+*bkU(=o7hK;qn@!u}f zyJYfuvZ5$?lui_SUe&csrH$jbgNZ)FAZP{e$~C-wtbwiW2U)#uJ^$QtgzjJtiz><| zohd+SE6_ecs+@4~k`klrDO;ZM9MD#MGWns3a$>D#iM5{9gdS+bZXdS}C84-%Zf~ff zoS};Hl;%gV!Zg5T_6N>B-$2(FTaY?)<%YY`xJnY!$+f9TB~~jH4@5t<<=d{VUcT?p~R|o z2X7g7!TDAE%IPE!2vAs9NH7>=-n@A{u(AN}sedDcKo;DQJcqO}p1{BU*Z|h#tV>lx zS|DS!Li4*UE-In<)Y||YZqR(K?w`wv z`%__HU_g^434uTWfKNX81b~YdF9Oil*9U-p&G+*s*YV0ui2!Pz(F`IUkDIogrK_Vo zAy`NgEFq{rFgj^}27|r$1EWNvVI$Dcf6)XnRn=~8qDkNN+nkByGbs;1jc5c99y*B- zg46H!BZT11qh4OGKV_7K5NzME8_??8cf7#g|KURj!4o?XkMA_7h_SIT(;QYc5jE*h zlsvEHTcIqT&+m-H&Sd{qKHeiUegmd*b5n zY)48sal9TW;h}XN-aP6B;6rZl`5 zPXRET$OLsvG-WmE3`mA&pb>9z6#_Ju=qxuBsFPRKFcwSZ4DsNhllVJ7V*8HW6cv{w zRvI2!SH{6ZjmGNhxymnU*Rg%aZnphqH=P~r96NeQ3L)4qOH0rmnKRuq{{H|II2q^R SI;Tzm0000!Bzdku*-7)p>c%x4 zKWFP|YG2n)ogzMO-uzqo>d_4>KA&V~GMx*Hef9L+L)+drTrW1ip3LK^X#FdGy@b`$ z$P>aF;%@HLnrC!L;akJRn_c3$)19~@bj!0iE#As~SbRaWA(-g}gNf>c*?w!c-Y{>M zPye#dvhVSa?z@})7_At5ITtWrn8JXUaaOj5Pp9Og?NDD`iH}uIp6udbH2+t=Q~H}x-O{$RaMb6jchhs)9%&g1zp!0_VI!c z0suu(#JU7j$FHkjpjknhrg_%eg%HBCNGVBgQ8rD!T^bs|?P**2Y&N?ghLBQv7J$<$ z>x-UdT95e25tVGV z8U?np?uht5L+H9LKYl^w%`4uXviE@X;=djN08-O53Dgv4+a}X1NTpITkw`S0upbhM zgiI!rE%8@2!A9r&X4Apk=-R=^$VlaMXchtY+IFAwt@8#p}n9V+kY@3CX;aXmVZ4AeBlrI-pBwp+!ISClTGn?!Re&Y(NR`c44g)&$KzDqEz9#gzb9s5mb&fYSHdaIH@9zg-c6JuSFw6)DMI&%ON^vL$ zKxaM#s)E!FP+jkGIz(dI$S*Fzyrgi(KXok>3ZC_LaQ^&x0EUN$J>}YTzwu^fW@`S` zP&7g@mxp;tXm8YNRm?UlrC>%THJK2pefc-jb|~qFz9?FgrX?qmvV%ok-7spX@32trlu*3xyGYiG0NpKp=bo?{rXlY!$MCU@%B2 zwptbTC1|gh^T`e`zzFD%*H4%PZ&@z8V6|KXz6V|ep0p-pzf@fZhJg=&)4)jx61!f zfrG%F_t5XX?K`YmQT{nh?+#*m{)E+I(9zqj9|S%Ez5sf?1-E<|>J{GgAFOf;*bAgF zmEZ0mV+hD&I`LO)o*jpLhn$?8MBKi8TiR!$4Z|?7PX|R&D*t!x+yTs;*ACB}J9pOb zdZnq2QrEipR>ISc|7l>rQg%1+F3|78dlmGTy_dk`800000 LNkvXXu0mjfhTRS- literal 0 HcmV?d00001 diff --git a/mods/skinsdb/textures/character_2048.png b/mods/skinsdb/textures/character_2048.png new file mode 100644 index 0000000000000000000000000000000000000000..5f0e05e69db5a1b2554e105cb09a8a7b36ef9410 GIT binary patch literal 475 zcmV<10VMv3P)11G}L_e+VXQIUL;Q&ShV4xi^ z&|t_10KPmQ9|u& zTKC_b^ia)5&jzH9KaBVkfDr(&0tZ*YGu*(4PXQQxfoaD* zxfTbpS~mHFJp=Q5R5?Ob8Ko(4-zEHI0!^yHL*Mfl7#J8B>^LW(@EI5`(!x5508Ikm z;>C*$`uh4v9*2kxMnF;kpeKFo$@d_`ELuK0ov>gJ{=O90?oJ(oOx5|GgbUFm$aKFCS157D%xY;ke1 zPY96|LJUhuE-o(iB@&5PukFVje+WS8qE!wW|NxwQIi(4h}NOPkZ?A;aCuU&G>3JI5IL~W-=KI03wkHUs_tKHvB=`&CS%* zl$B1W4FCx=>>bkSbY*I4s=BbS;BB2NO~e!EATu2q8L={%43+!{+@-c-e$D7)I~)jS z&YS_<<*soTsQ}QV?Q>cki9`SZwrzVU_L1)%ziNQZ&CQr?+X~VgOs%_g&5dUuZwe10>Y4%5>Q568M)oL67g6KDH-1tQZp)2HbGn5ebIDk@$$B!SA_4Re_&6_vzApUpm+}Y`dUn~~eY1sp!(I|mC z26;3ZrLw$ZUDGs62%&{SA+Bkfl}skhTrNkY4*>u|2)%msYW3BtSLFTs_gWDDZuzzT z{{B(7jxT56j&;Xzta`mp7-L*f6iZHi-a(0XBBTId=gyropFe+2g7`xwQ{T(4lLqjf zys5k+y<9HSNF>5++vXoXex#>QpSIv1o@nrQg8bB}Q&v!a*#O_ouagGwE-|=#B8a}a zx=M$JhL~kp{O#Mf^y$;5*5u@54DOE43y1<>SFT*4x~>QE7eaK!uU!L#mY0`@E?l^v z)M_=QSS&gK5JaDzo(B9cXaU$=Sy{p4yx{wS_#Xnl z);$2g;OOWm9LG_L#UclQfcj8FK;B(p6+ktU$*2IZv9ZD7W^CRyTM+-9F8P((HNfwZ zhzfsF45E7{p584Hg@19S3wZn8@FCSYD0NrK&0Ur f#9!%>UrYQ4InXHW9M*ot00000NkvXXu0mjfQlIhO literal 0 HcmV?d00001 diff --git a/mods/skinsdb/textures/character_2050.png b/mods/skinsdb/textures/character_2050.png new file mode 100644 index 0000000000000000000000000000000000000000..d121a0d3bb1ac41dab2522288d7259d19c588b5c GIT binary patch literal 2797 zcmVIYoqrBP9vq7v9@ zqrU<0zylA6+}vDw_Uu_vU0p3h@;i6#6zkTllOrP|eD>LABAh*bE@;CMG8&DfrKMpi zG6RslFda>VW|qw8=qLbQuNQ!?zyA71Jm!r&0y3}JadZ*MO;t&YJD{z}2R5_)=i(CKvQyk4*8 z-h1z5a&i*AUXNa{$Lsa}|Ac_o^t(DcB|;!2Wc)gh3!ir)1>BW)*Uw%fgyjK_Ne7X- zNbXpZ4+P17A2=M7NFfmj&K_!mNe5xt{)R(aUtceilam3#&YkaJwf6ANJAVKn5K`g~ z1X#84x2(J44$Aj6@$f?r5&Ge~yL;q7e;-l^kdjwkd713&9IC6I10*(^jkdNn94cXn z5P%d&ByYa?rhM(S*M3$@Xrl}Urlu}4ercTE-d_Cv0Pnv0E>%@eA*Ddd001u^IKZ+G zKA5GPlatMvGiMM&($KIMzdt~4Z!iD)dXSrLzKJM<0guN+UvJ+P{t^h1M}X7m`so>e z2bz}VW~Qc`I9)D;5ICJqIy*aQZf;>{cnGI+nuZr%plAPnDk>^aY6RXFKwe3LL&HNf zH@DE)*@@HX46fmFF*W6+qP$#8OibW%IdM5%)HgKn-p==MyIr_lZpN;Z&p#)$_4W0_ zWHL#Bl#~=MT)03|QWEX$?ez5YFfcH{*w~oZwR4yJ^RK6YhXD{m2(#HNBO@c3n3zDT z)nd2X$at=15jIA zD-shEDJm)=KR=&f#*g5h#S2-sY#9KyOEw&@HsN@+393H@z+f{|b$&=U3*ss6-x`bfE)ZX5X z$Kzq?(xqf)X9MukOD_oklgT8FMx&}1&e{MC4Gr?hkt1YeWKdL8#F{m0L|$H=?CR?J zLAOa*y#T~gvA`Fsoy4KX%0roJ~CjTntaMn^}#w;^I=l9G}z z7!2g*<`SXRl9H05%FQG`GZex>e0)5KiHYA!XFkjuH?_63a_iQubI#A4+q!kD^!xo- ztyTd1fdEl@J^A^|uvor8qtTF;mq&MZH&RNqi%d>VCM_+EqeqVdkeQju`|rOGz~aS= zRiji_SI^peYHA9A^z?K9zWw&wS@Z4f?GzUmtK;R%mtQkC%;^EOwYArDC%fIQ%6#+9 zH(0G!dV726>gqyK6sD)AaeF){ih`mjc-(GAMn+H+FN1@F0N89cE?&Hd!{H!4KAx16 z6zb~gsH>|ZD=Q0!!@!0EBO_6+d`@#X9HgeEVm6z}%*>p%huLfvm~s zYQkVJT$i|NfWpE;X*3$KSS*;$W-Jy98#ZiU*REZZm6gfH#zwJW!v<-!T4`-<6-$;Z zk(VxAVr*=TB}Z&s)Y3P(@)DQ zI=S2P!BOZJxz0SbFjyrfzzi?i>ID?N?tM6b&DfSYip|* z92}&tuTL~KHj2K!KCylKcFN1kX>4p109LCNmn+!1o_>@h0&2wEEWr2p7|1FFh4k_o%71~_xEEmnJ}45n9XKdT3WDJEMb#y zxm;IqxP19?Sh||R!a^Ar7e`rHnMyDe4ggzfYh_7EiHwPfVfpgqVO3k9gjoFGgJfrC z;q&=el(A@Dd56Qn!Gj0s@9)QAv0$-SW_@Oljg3`}-qFz^L$^XlM~8%9(Kd5Fq&M?< zK4@R6sR7{a?c3Q>TPxqVQs9`)W{w;=!l6$;B|SYI^F8+f@cT`h)J2Q#zhAz%apP5C z5EmCmL_`FAef{_YezaPxn)&BKXfEUdCr+GD=j!U}NJ>h=<#JJ1SBDUStgI}wS}p6> zug738U@#bvQnF>s7EYZyB`PZ`WmHrY>({Tp9)Gk4Kly}$6)X7TjvWB(+_g)F8ja%O zV(IaCh=};l|9}nq_p_#`h_uvHT8!9Epx{4Oe|fxl>Ywy ztKOeFb!wJ@OG``TzJ2>dX=&-a9pHfj2gJ&iE5qs#H3tqH5HD`rDDqdX6!|MxijeEy zotKBjVj(6b2Aj>sxZMuG^z<~{Rx8Ip|D2(rp*a`bw|Ae2jMOvGAFLPjdOh{^_46J^ zr_*uf%o!3A5-^+1#KgpeUC7J_r*rhlH$C}c-NAkUevc!`4jHem4F_^t&d$EV@M4tXF-V2v!+3oy2 z@t^sR_&Y{NglwuFKe?J-bne&XH~sg-E56S4_%H4u&-hP3rZ=-=s^74ShpZBS59lHmyVjQV{})ipxWU`hucVQ6(NgL_~#$1Q3FtNKHVL zOE%i3o6UCP%i2C?hKFt+x7=y3FzbBtNzUkbjo_}Q|WyV3v@D>ppy<;;BB*2ma*OpX$ zO<-U`NhIJZ$%K+vQt;T}pLNYU^1=!9=pNaHPJ>1)w!snn1Hl1UeVK;8mfjWJzDcYf}4`ChVvFpz+lC8+v_bzh^TpxV^LEP*8j z+Q3@5%DN?R;&EzC9TEVnyj{K}9xy6yc@6+jQeayWUmIeUprH*xlmlL0s^M#c8?#6_ zl9-YR1dSkk_y3N89?*96AoKvZ&YBS5D1mJW8or_K8+4Q)V@lvUL-9KnS}uPxB@jUD zFC>i+VZ3%mPu15sRN?=EZ14S8sJEQio79}5-d!|`SI`Gx+5X5k-+I=y9I!3_?ke2twQAzwq(7j@wGu& zl2p=VzEq@G$n(I#IRFx$zsBOf-r)PEmQj|(lC*ca6%w{3@B>52OHj%8p)+LpaBvavh*L5it3#_hH$W3`+sZ0vuF6`Uk;#h)f<;oo~yyfz^~Epte7WWDQQrUHPj2Yxf4{iacg2rv_l$~8jvu`@ z3&5#!muZdt=H)N-RcPS-!5PO*3I z-e~lXTv}e^-z$w#bnA)DjK5h7aT<(TU}JDMaoJ96&&Js@nc&OL3ATLVC;%Tk`whM~ z^#Cz-dy`(E4c3Tr2A>9_WEeyTpg}luzCvIsJboW^hSo36TxQTEk{t8sAQ-)+P!Ps? z3oWHvW2av^bi)LF=CJ7{*TVh#X1Kg^t?P^S?QqFvysq(skNgxVppbT$$s`H%akIKs z<)2sTtT*+*oUsut{aP55Q+jf~(Wp^nRF9jGUSk0BQ?amB7I0;?!phr~c1hkb6CbEY zKLkT0j4lF(F}|Pd%4(TL&>bq(rsmS}TF-T~hKpCj1Q}D3bC+spW7^?&v#^GUsjl**e!2`%1HQCpOow+!T=q{ldgx;_)J>KpQi?ImU%)?H-_S>$pU;g@3 zyF=_m+H;X2JaM+LD?fo0;3eI0)Ef#T6Cfq%KAl=7m7v)p1hg?d4?pjm+s2m31db)z zcL{ahkj;23%xxQ0y^(QK9-s!)v-iIHZcgrerv3TITOTK#N&wx&7!3JbfkqIze;E6M z>1>X=AKZ+3BVl9$wC>-Hef!ymsMh`V`2pbGT|1~ZH7`8Z)Dv5TT9^L;v&lG{Z)ZBY@aWojbUMa8`)eAW1x`BqsFWP!$4X4 zzuW#`+crTEprb8TO5yu{&)?jnlxVF9PCwDL=oi+0#LMEwA5FiScojI>C41ofvz*-d z4EcPXHHjq;xWaC&pkb+S;OPM{?`#T{nX$? P00000NkvXXu0mjf2Epbw literal 0 HcmV?d00001 diff --git a/mods/skinsdb/textures/character_2053.png b/mods/skinsdb/textures/character_2053.png new file mode 100644 index 0000000000000000000000000000000000000000..bec28d57bb3753fac480459c7b8644180c939316 GIT binary patch literal 1379 zcmV-p1)TbcP)hs5rR!H>V?|G{OQT=$ zFUTY<$)A*CZGeI6hU-^kfe`}6DKLWTqsO3>eoiYNFs|nUj^g>VGGH7l;_>`h+2BVk zp3vj8CxD=PFxQau{MkIWC-(?g0KWo{B*xI- zJp`A529o_)j1q8^0_O=h4J;Wu-XD#_XYLLFkn~}334kuHvr71WB3J}I#wqPI-Y2dB z7XfrA3%-pE{{Z-mfTKwE5dg~A0$&mEe9PXsmqB&<00DaeSmhxsE=9CgqlC6cUsczy zNRu?%hVe@j_yJhLDOE-8IRFr@Uy*`EBwM3X z4;>RKuae{pcIl!3P|mPR*K}lrYtHNIpm-HL{}~zZBr5b3{XgLV2n{eNTMc+oDhIfJ zMJDN4{OvdI9%M&lNbcIU%J-vJ1)^ITR9G5~bM&0)DA@HY(vd|xQI5^qvW6>GaJF6O ztkJR;%3ppm{SY?Q5*xSHFn=5dlKFvGE`cAM~6i_G67&yn_w{M{F7wmc# z?8h<%ZZrn!(>jvWiEHEgCsTPQ<^fS=pgzr9`2C?REDrSm;C+4)yRAWw|w+;BI|jJt3Ih-&`Ak#NtfcG}=|O4W{QEa&mx!JPz0J&$Am94Xc_ zhSR+xEP+d>;iiYT7(XdblwJn!s luIq72B-ESZfbq;6@HcFDsEwr!CV>C|002ovPDHLkV1i-_duspy literal 0 HcmV?d00001 diff --git a/mods/skinsdb/textures/character_2054.png b/mods/skinsdb/textures/character_2054.png new file mode 100644 index 0000000000000000000000000000000000000000..396f5ff09ea50a6d9b7b7d131b4cf6bc00840580 GIT binary patch literal 875 zcmV-x1C;!UP)g#x(bs8H>Hyo1NL`?cM{=4~E_S zZ~onXzWHCfM-YRhxmg)ECkl=2J(5L#(4eC>VAOE3-eB$ZTIBDIVma$028xOIfd2%H z+JI3ba}KC1SG;qT4|LhMW8yu4WUcdAk)%%uvoVhzBXbB08v5cL){}R5KKD;efL`}i ztSiIvGAaoA;(`1+Oe+UC%zl_cSkt2x9;TNThr63Tmp6BQ{j0rrQzt2W1gHl+e-+)` z6^dmPj1EufL=l)39iIQYg-1XdH@@`pDx{ETZ0}hH4ibZSvGQ_&ZhTxFFP%RN09cxv zwRG|zp-?QRUT8l$K%afU!($8h^Zj!_s$&O>HM8cLZXTqgBQ6;|;h!Q6s+FpJ-Jf#~ z##m}knD|a`>>HstaPB4@#+Y}W1{3cAWaZ0UUrbF;JNSM3JpebOAAfeyr_j9j4v;Qy z0?cZTD$5nCpSW|gS0RGtD@aHX5D*B+?%u?Gaf(A+PH;GnZlKKHxd0dyfTW)!6G z(wXFF%Hoi^3UC1s0&pq72*sn;$I!V!Mg+}QG2e54>V?4SuMYr#RU|ux$-)r0g;6g< zLIAS6QC#K|2KwRwmk{LvM@KC@J$WJV(Uip@wGVS4d?XxDJ4bkPxd7+MNK#o}fHGM-td4S3V!>9lN;F$0A0C4}? z1Jp`Y0RDe=4tF=Pv9pgW=T3tQ0f6EMS|A~t+~FNt*bXkcW*A5e=Tl{%2h>VcT;IB7 z$rV`}JNp1!Phf)hhK>%G=oozj<^G|dH$Uz*8BQM%B%EKrhBx!|NJT}$N<{xHguRQb z9lR*h1BQh_0=90vO@4!jL@NUbATr#wl?M!yh`&@Ygs)Um#q0n8002ovPDHLkV1fuC Bejoq< literal 0 HcmV?d00001 diff --git a/mods/skinsdb/textures/character_2055.png b/mods/skinsdb/textures/character_2055.png new file mode 100644 index 0000000000000000000000000000000000000000..e32b85c64405ef95d03b783fe59595655c205ae4 GIT binary patch literal 260 zcmeAS@N?(olHy`uVBq!ia0vp^4nVBH!3HE3&8=$zQk(@Ik;M!Q+`=Ht$S`Y;1W<6B zr;B4qM&sM-r}`hdaH)z4*}Q$iB} DPGVPx#1ZP1_K>z@;j|==^1poj532;bRa{vGi!vFvd!vV){sAK>D2vtc$K~!i%t=T)M zmB$tb@NaKTe8gA8;QOK|Scn8c5Uj3+SXl~@q)lNZVyTEXu@EjkP>jVT5Wz+)1R;$U zBB+&UrA34UiN^Q)ov7#T-(3Iu&e=JhtvUI_;#)JbX1?`bvu4e=&uKM%uypCtfrk$t zHtlx188vED>3jY9b@S%Uo93gBK5AaQdeuytG^rUqdUVkrJ$lqkojSF-ckf>5zi{C~ z-**g$&6_t5j2kzu89#n}5qS3OS&`?@pBEqa#pbimJ}cw5Z{IFs{M@!}+pzC%zkR+F zz2t$e?~gzJ=#u9M^4fGk&>ksz$wS)4CQqK+OrJiznK^T2Gj{CQB6NMm`k`+CkPZ1( zt5pONgpd~uK$@;kFh&YQKmPdRl3f=sUMxb_XKY|#pzQS1r%y{iq3bi&5APKKq&<-$ zbr7_{ixDQ$Ul8ojNRgdCckW!XY}vAA%$PAn2V;&R!sN>@zig4TjrBv{0N7=c-H#q1 zdh_PZq8~hXusLwxKna3?Br8S=SvGOv#OBPIGbO|5`f6<4xUuV0t@lIU03?b@HKgc* zpq*lO&!9s#TQ?cVA<7>Q@~!nd|60(=AGvAA;_3@_&8z0gwp@y$&(Ts?=^>C#)tY&Xmuhx zz|gM7!K65+7{)o{76LDayLaz)Gr~CZuJQZtzn6XpdA9TC&u><*UOk9>kRZgjvuDp1 zBFMq2RjbM~O&~xfz#|&LZB~WTeog)Au1!Rd+OAw)|M?>TE=Sfp0#d_kNiRw@sQVNtc@H37S8Ti zSRW#sAQto7y?b}_+i$-$*REYFB-jyS>;=$T+Md>$HEUK`*ZSswbfg;x#E~R*5I74z z{`h0-G<&>PTL? zbg7J!%Rm3z{O8uKW=!XMKSvijCZ`%#dWarXObd%P{j~_4n2zAo1+57$XWn5p#fV9j}%9<&d z0%A-WS{GqswUf1TnKvAI3D>$Y@~-ubwK;_#slm|{5d@8!L^vKe-!jCm6YJS!A3@rJ zkbrtR*Phle#-Tb0K-XvNmtTHqzWL^x|3$QdK4W&Z4g!R{u@LQDKYjl%(QmPS{rUkZ z3LKEq*-1`!f--8;rcHyRRbkJbJp+!9IrTgudv0}(4hYVT8#jtRW5$f)?1Kjnn(w~* z?oU3|ICktjKo1{2T-I2*a^O! zv7>(56M6?zI(B0_GUQieP2R4Pw2dL2wWds&QiQIb{=RV3NMKECd?*Tu4jHAL<0D~p{JnILF7YV6;?UltVSR;*Z2gs#t+HSM^y5?F25BK@yG2KeD613nb( zx8#K$vC(fymh`7PC+>YB2ptGo<_sAGyWWfRS<{W<)}Ytz4*~mn&R@-dR_Ci~05Ow& znJEsr3N5Ogg5tSg!GdnIi4UUOt+HnC-n~UXbm&mmK^gGXS6>xYW-!LCi|g8==z}7 z9szZM1Zf*XDE4#$g5>Pi1(xW`l^)yS(B@dZtBL6QWB^^Qkg|jxaO(8w(?#gu1E|*? zQI6W}q5kM8NWMh~oyZQmouFlXFwc7&7aP?N<<}rWb`ypo9~mkLUdWlGA9T*$p!7@H zu3fwKPxc}4u0MJr9wZP7s^1a`hO_T!EJvuGHym2ue*5h}&Y6l&w28>7{`Gz9Pf}hM z+s{A$y!*#bY3k#|wPtq{1iPL85%`;ZZSVgMVCPfh1Yz;w#YOj%y0!I|Hu*==wYoBBDu0MMA+7lUw zARwEp%AOHs?c9B?Q*74+I$SAcr|=&8?GuYKAnh>n)u5V?^evG0cxfI3wWOWJV& z$&jY&OFFWxouRVRJ&bcBfYY1JRv0nSSjbMliggT(Fw(p15u3fvzmmoq? zE&%`zSkO)?I*N?ypHwr(HZMd_QIa(rb1rj~tj!@iT-$S+U1~?b)*78(hi`iZW2nz< zsE;1}`s=UnEP|_7ul`qS`}XYvInxM20s^@KRD4j(0C~;}5;EGrF@&s@|IVuP)<+1@ z+TJtQYl0B+?0)#+htk&zKY#Q82w*SBYu2nO?cmClD?2K@BM?HwH5#{48vyp?+fPqcD(nPrs=7l zMcCr@0;H1XzT6J@x@1;2LcIWd)?>n&a0K-N01y*BBYEH^0&HQeg>&wy-#PagMG%my zeM$0wQUP8$-(2OpuG@DkND1>iC)=?tXP4Si3?d>m0ubdBIn#&7RTrRS^#D+~S-D-} zo5TDCtV(?5!+Sq`4+y^nVq0jJV#a=q3IPCla-mI1CN(w{M;fO_04BAf05Fc@!?VOE zw2PvYpVoThZh<50T&G5((fEZ6Nmx*%-&=jT@mF&D&*7sq0cua6Hcfz|0gN%`ReR2- zbj%r?wgdJEp@FJ@iLof}5=XjORj$faNCLDXSbGAs`FH_-0FLl~SS3pd8vpPx#1ZP1_K>z@;j|==^1poj532;bRa{vGi!vFvd!vV){sAK>D2SiCkK~!i%%~)+v zR8<&$?qzpb1xynWQd^*!FfA<=FvX7=zxw)7l+ZLxIGPn&)|k=1e$IEbQ(*z3;jAu6GyMMNO86x%<55J?Grr_dU<~ zLO~RiRzM^KmL69YYtbMBS)->1Q>lj*akmJUCym0S!A!(N?(u z9W`5IJsNf5;P}x?JrS$m8U0ECkM_~JI=J0#Yyr&;(#OS7xON_(}1@= zlX?3yF@DQc74(Kdp8($H4Lca5)#inck=mFf17~KK?Mzq`WKEQ{eRvzj>RM8N458$j z33x(&0(u+N&<>d^$0--b8p`Zoh%r8mNtV0^IEaS@eS%>4z~h$j)EvMEMDu zEap%0qkNY)=rhZ~_6)PX*_Z1XmNv4V(VxL>Y73HLn}8aTD@w`mHzdJ!pFX!u+vK(6 zTW#2%`}Dp2Is5dGJ|?&=zmH+H8RmP+j6Q7FPTCjS1c=ANOV3>X)`rXF{nhjco$jXb~7m#s$3$)4qI2 zA8AI@;Tq&UGZkk%PFYTOc~Sjk9meI%gliU^_X*sG`!d*e&Yg>ds;Xewth-|PnZ3lx zvvP9d+bbbV#Wvwa`%?|omgZP9Czt#EmbB+vy&%QUXV{7$|QS(#z+DcP}2Ko6v5 zY!+#m+eB){ha&Bc&qUkUJH=Xzkq_HOvp&&sYML1S25t0o#@W40f7oXKBUNftmM@6_ zZj-VTvMuwOZXwEqFUUr-ext`-Kv8TE!Ut7NfY7?I^=v1WjvXQ&wxc2IlcQ){J`EH& zzG^R!58F$cj$!+_DN#8Z>dtAHnx+Q%M$zL9LUhp?O`)3|2dnAMYXAq&N#MZw`pgg8 z{Ry5q8mz%Hm)rfw_t}Dct>{Go4*sM}Xk^C+N8VIIG?)r_I?0WKf&%%l-Jjr@qv8Kn zfRdWNNhpewM!a3hpJyyj0Y!~BnnZ^0)fI>v4Fvu{kOR%Y!X{k-3{JuquOC42k1aS> z5;{$@%axG6jPUo}2)90KTsryyCEx?m<^4kzZ1xn`9pfkgetjK?OMvFTNSs9F0Ewc5 z>_o%%N_+CwVsy3uLsAjK9nAt6M;FWYa_|rR*(&Qknh}7@PR@3Pb{v7?-Ekp(8NI#l zdbz4li=2Q_gkT zIRb4n=vNSU=lrj@exHv0n&n}$kB~6s&sHd zgrI=Q&k5kNN~#coT8mC}uUr~&1Q=EyD=-W zGJTRj=ufZXsSro?^kzc5GcDp8z|64vSOJNdcj2jtZtU1IWf1HF86VR&XqO4#(bq@2 zTkZg+nVN#RNs|lf!)sEpt68 z>()ydOqiI+n?tXihw8QJIHuKGfA}&D`zCcISEpA*7xBgOtwstR) zlbk(x{z+ZFl@pXc+k`X2>f3Wl|99KPx#1ZP1_K>z@;j|==^1poj532;bRa{vGi!vFvd!vV){sAK>D19VA5K~!i%-IpT|WME z=H-{eJIH$I|AOT7u^DZ$c9|-wS~kK-^9k3f0JTdMpz4`q_Iw3|Ck;O?zMbmQ@2mh4 zj`ts$`lpRORe(-iGBWK|&`Q_iC!1{Cf@~*^d<95AU+xXWllRh>4+;9lNOzk_B>#rT zvTjQlG*+@J%?0$A^l|_FFnk0FNI`+?@aV?5TKj7olb7U8DA}MZdFkV(Qb2;>V_>xB zPt2$F+ZS^C#lve^D%srlgZxzTK94qpk5ktsjhjjd5EKFHu|ijnNAG-3&(7RRzqYp- zO6vtk9V-DtHBYchhav&Q3N|qqeN0B`EW{zUc#`0l@_foEuVLV|a9d&4HOOLVy zV^A7*zpg9N>;8c5WLxkG7QC-XhtgOi+Jfvg)^&)zH$abGQ{d`{rbL8%M4Yokn+;=K z8_@d=CA0k1zN&=G*^>tsXwj-P5w^r zD*$>2K)=sg+yi5?N`EIXCOZ-RoszwfA7In<2#(}ukcC*-7mER^jSaRjP_;EiU(@~d zxqTkcnA@~5vcCi3f=WUOId02_#8Z+VxW6{f?H4|O+ciHr{<8fia0P002&GOxvQ+l5 zUvtF%#m6VJuJI@rS5FWB$3W`KW3_J^y(@rVRjM9HJXHrDPRCD3?*o0ieBU3+f|D-E z&Gip6(wT!#ZTXHJZA`>Z8k+2YlXmIEzLL#>5)%PWrZn!fC4R7^^c%A(GtLAB=K=r# N002ovPDHLkV1lJQ+~WWM literal 0 HcmV?d00001 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 767e9d46f36422d0ef9051c5763e1bb565834b6a..9a17f06f4dd7de58ebe143087569d8d3a6a77b67 100644 GIT binary patch delta 150 zcmdnUw2X0rL_HHT0|P_ST=7ppiZj3`#8t?Cf_s6FTmCN7-=SxKg3KjBe!-m#oekga zhXT2to-U3d9M^e|8FDok2(TRZdxSNIb-qxx@^)1}%YP}}>Y%urbTUXL9>&Ud~{5a9ryyxR7eyvVX%WD2eeUJkfJYD@<);T3K0RT$v BH*o*} delta 290 zcmV+-0p0$l0kHy*7=H)`0000V^Z#K0000JJOGiWi{{a60|De66lK=n!32;bRa{vGi z!TOMB8k_iwk^lezzDYzuR5;6>(>)HuAPfcIm$XCY z9)k&~-aDn&>Bt$p^*mLNz`(>2qDUEfg)Wd#g2|5;24dbPM}Kav_ZO2^u+HPi**uVv=tWjtO=o?fnM*`7IyC}yv_l+nkM#M$Pij9kl za4I$*F2Yu90WQK)Y=clV#R2*e2_WN#3Zln15bcU_1R4M$8YYFu@Ww~HaE?gdBXy70 bra#RM#yt^e?zDYN00000NkvXXu0mjfBr8Oc delta 269 zcmX@dxRz;xW_@aju9vIJ?71_~o;m#e0YlvO>(UGi42&f~e!&b5&u*lFI7!~_E({&4 zvK~MVXMsm#F#`j)FbFd;%$g$s6l5>)^mS!_#3RA2B^K~r?UL-iRLArTkefVR M+5BAAIVCg!01Q%FqyPW_ diff --git a/mods/techpack/tubelib/textures/tubelib_distributor_blue.png b/mods/techpack/tubelib/textures/tubelib_distributor_blue.png index f43e2b672c8d50a8e778ab190858853e51490822..3bc6a14c1be6bc962ab4ede1f01f1cb8084c0035 100644 GIT binary patch delta 393 zcmV;40e1fA1ET|wB!3}LOjJe1eM-ogX1HlO*0Y7LTrxX8JJ6?f_0BU=+Xz2LQh!)ijN7QvB{~y z;9Psn14<#U?8+vN1VY+jXI7d4d_kf@7simMrIfH6uKy!fl0`}gv z=X3klW~%NXNU&e;c2EG} z!96wBlW) nHe9JXOxb!WxP7}2A+CQX+l2UQvOrG&000002jW2>`qEbl39cxGWhasWODReb^epJXJE$;c7l9XPe=i3m zfCvHvDWymOfHJPzla6X*Uqcx%3)1@ecKdOFF%W|5rx9dP>@s#a&(cj6ZMXy89+IAC z*P=Kci?1SXl7GQ=<=N}|7;kZdzMaFf?>ksfP_p{Z_=sC8#5KK_RJ$CKZdOtyJt*W; zNrfxB1lLmr0x-h$)MM+W%z;7(_p_45dx2nxW?=aVj2b-&Lk0+D66OFAW@_3BX{8%o z9E+>n|5~@skIv}xNw;-ntxc^T1dL8CIE_F#-;HyU4ZcD<0y)9fY-2dH{SgVCttQolY1p*I{meU$kp8x;=07*qoM6N<$ Eg1Fqq(*OVf diff --git a/mods/techpack/tubelib/textures/tubelib_distributor_green.png b/mods/techpack/tubelib/textures/tubelib_distributor_green.png index 92e92769e2d8312593ad549960fd9e35388e01c1..934e212e08c9e51a133920a06c0573ba51a7c90f 100644 GIT binary patch delta 418 zcmV;T0bTy{1H1!}B!47OOjJe0l3&W5YsY>{*R+MOT{63DJUc!+(WiCL(9n*Jj2_ZF zx3{;>)wsj}00C1;L_t(2&sCAJYQr!TMW4vvW|Q%tWEIjLM}wR-$V*2N|3WErk=nSZ&$5{Q#|#x??x&VjJ7KFuxVJFL11Fnzp2O#a=1!1#HF0dR5xOv`k9 zdVQ%M;s1}re(2-IRdG<757q8NAC45Ev9UtUazVfcpnpNZavTAmLgg$R=m53=(n~{} zNQsxyTQcl+lXa-sESl}p?RU4y`i%S3_wn)s!){Y&lN%t%5c&@D1H_r2b5MAt*8l(j M07*qoM6N<$g3mt61poj5 delta 473 zcmV;~0Ve*u1M>rrB!4GROjJe3eoE1&b+BDB*R+Mooomq0(7S9rJ3c$dm0^yJjJLP9 zy^LHQ(mba?V>JK(010qNS#tmY3ljhU3ljkVnw%H_000McNliru;tT>41_oL9DmefE z0bfZ(K~yNuRgtl3!!Qtr4-MLd6tL+MG+SprTe3p(@nuIh`HA zU+Q_5b}H?ryDafD(8_Sd8TU+LgkcO$CyO(h?YS*t0o-#HI5UY|k4XhObb%HyU%4&*9n9JR5IcH-#Qd95gU4JCuK}(GKrAlO ze?4F4N8JCo8TWbYsVq0r(mvWT=D|&giDA)$KpS8PFjDmr6(tGM3cgOI3=ohDn0$d^ z$}?PthAG8_>2EuY+Pau-i^<3S_qOqTnRX%TlHIE5ZyRzEqkQq%u>So3A@`Dj@^T~h P00000NkvXXu0mjfmkH5R diff --git a/mods/techpack/tubelib/textures/tubelib_distributor_red.png b/mods/techpack/tubelib/textures/tubelib_distributor_red.png index 6ec1e03b85b76248114551642131e92cc034aded..0911f7d5c4a93a39ba8175695348270f22d63485 100644 GIT binary patch delta 387 zcmV-}0et@81D*qrB!3}LOjJe4nP$Q0Jpcd zPJ~`10003vNklGy!D_=W42FM0pgqc9XwNPLcD2E0iyG1w7=s;a$a#T|gq~6; zYkbX(Oz=}adEK-6YD1}YW)s?!)9e=NS$ladOy1~FSM0vLj z5-Y<-8&XiDvAZzZ1+@0|dj<+AdixjgE>-j-I;R|(QFM_~^+>c#A;`>6qB2Xd)Yv~& z5s(P$k7bIqzI?jQz~xO3sDD*RFEz%pJOh_GPOZ1+_Ac|^kGs*2OR)9P<}g~j6F-cq z#j(l4?8>B|1>^^)T?sK2wJn`|{0Q~{YbIqhjoau|8pldXTXm hyERluxQOZT`~q+&empUlT$%s?002ovPDHLkV1kq~yK(>k delta 454 zcmV;%0XhDj1Kc^N$ev?I=^Q}LY=1yx>KJuRVuYs-Zk+gX z#cn0jf8*184|qS=t!1iecFr*)3nAc`+BQ>NV>^3Tu|o>=!|i*PTbW-sJ+FIkRv2rv zk%9{)w1%>z2q%aVifDq%5;&)5LEZqKJj9HFvLO&9TzU_Zh$J*31lKocQyQIy;eH=J z2ZGxSl%Ubq^M5q21j`+0P0_~;w%{6y{uD0+mwF1FEth@_4J>U6PKFl6z{pUcH1I0S zIE(NW51fMiEwt3%aL8tm;NuFo_;*VQN{1P;0Apv6VB1VjAMV4+|NpdHjD4&LikAqJ zvD$_2!-&{7<_{x?oB-{CZ$0*kIEmO6iZVu#2gwA^1wUAAr7*4$+FGrq-Co;_ch_Ba weqaCYw%R{f-sqffZfx4EQI(goqR`{~0M&!C%Z6RA?f?J)07*qoM6N<$g1<7!3jhEB diff --git a/mods/techpack/tubelib/textures/tubelib_distributor_yellow.png b/mods/techpack/tubelib/textures/tubelib_distributor_yellow.png index 0573c7d2f4f45096ad18ea14f4f3ac4e3e560dd0..6cf1e027f3fff20c2aa585f65e5c685d0c215786 100644 GIT binary patch delta 381 zcmV-@0fPSD1DFGlB!3}LOjJeAqHwTXGP`U%*RzGkeo8w&JJ8V3!;xQ(jg0^Q0Jpcd zIw~Xn0003pNklzV$F38wfCG-mI(8&<$22TP*ozW0T zUZ6`JpdIp*y;1{~Ci~<5oO=!^l7yhyS}EiLpjxTB;6!wy>VGDy74^~9gS?Ww_U8fh z0888;AS9kI#-NN-!3PzbiIGWAJO6UOe={_a3#kN%I1CJ&_AY4e4G-yrjc3dWsGki)))CaR;@unGnucyIhdi`s=~h@-wtz2}WkothlrvhCTNqfd z17%D7iR!WeXLhPvR$6R{B}md2_HP5u5M}A(G(PzL$9|Xn@T%D>J_Cugy$FhaS zX`7@r{FOoDH2bl{Mrp@CA%S)QA!W;Pfj1y$+ox>%`P6=`|JjQA$l2nG^B{A!94wd1 bWyu|Xz;t(?^5}2V00000NkvXXu0mjftth%d delta 453 zcmV;$0XqJe1K$IXB!47OOjJcXK0B~oGP`U%$9_tVjf}&QU&@_o(WZ5`x3|}`h0xH@ z|Nj7}mcNGp000SaNLh0L01FcU01FcV0GgZ_00007bV*G`2jUC@69)oEj^AMb00B-( zL_t(2&sCAJZo?oHMc-I;!x=lpd;#zcb!5*mQ91`BXSP9P>VFt@O=5(n4sM)y?U6{>8u&IwcJQo+G`bi>e1_rLjhv zS{71Ct$}lfFhPtm#0cgbih`j9eR({-J;XwQvLTQh&b-#fNL1~Q#?`3^%Oc=&ixn~SlR?!9a@wCQ-=zrp(w+Q zlMHY1z$w^WLre7q`*a2bA6}u5|8C)+beK`+VC)PCw$1eP;Wixo|BuVX*vE>Zc!@9_ zt6lg$jEsF_{xE{bNzfkn)?=@TNhCIq^B6@QkO`b}us+(>(zr%yYqgqoduh|6yKKAD v+v<0>zl^nl_3000VfQchC<|Ns9ky8ji2TGH43 z3IG5CJ4r-AR9M5+m)o|jAP9y7n^q`z=>6Yyqt4c9--TT*FMk{3`$0gUW%-Neq*r(d zM6dARbDG9|;}g9x9|F+!hWCNi-!Ew5-QaHl0A^zVyb9cTEGB_|OFX06_s+qc zXOn>I0`3YNsDN0m5V7+P052ZJ>pv6fBbH`Kw$> zFq9nCeI|F4}T;ymP%eGvNCn~CxvXvvfmEZ6=?A8Gm| z=k^X{q8o1%wdQNBS_3@6ugW{FxoS6K+ReO%AAPDhmw(_Vd3H6&OmqC+?5p{j&ncd? ze7M^`we=l#J~D7t``GLs_Vg8omVb@EBU_CX>@2HM@dakWG-a~ z00009a7bBm000XU000XU0RWnu7ytkOKTu3mMNDaNz{t?c)7wT$O-4#hMoLZ8+u}w_ zO-4#hMoLY#zQy0<={Gw)pr@^fj+7)QDROswTVG=e4GXTdynpca`WK#(NB{r;3UpFV zQvm<}|1P@!6^B~V*Zm3r00KTqL_t(o!_}9|mh2!1MT4YFl?XnP|NqvDTItT61v6@g zS!*8<5XiFp#dF{zoCxs|PCn&n+&4bs6Z1rX+Y{asuD@S`iFbp)1OS+g0q`ntoq+=t5X%)}=)406Cm+P*0g`h=K~D%xAxD!y=`O%f z=pK~SB!F4y^q@-s-WS;3$RT6)7XdINq4Ampm*t`$@pG47-?+E<`J-Tf76k{*pW8g* zu2tMZ$hl}JSR~{9SGl6>R8my;88ME7x7}YpDBw#iHGg}?xUB2eOyB3A z>}rY$=Xec&@M^xMV~R&DAMW-KZG9g*9~n5Q{m|@x?CC2EE&m#Shq&6qS9X1{8UROO zqI_HWKz|=U@-f9@OP>SZX1T+cJ$y+*ci&I)MR}*?pMZ8dugzaTpFd(DCJmi-R-qJIGZk{fALTJA32g7z}V?jO8@`>07*qoM6N<$f}bH}tN;K2 diff --git a/mods/techpack/tubelib/textures/tubelib_forceload.png b/mods/techpack/tubelib/textures/tubelib_forceload.png index b45f8d251427404e38f8295b3938ae58a76c955f..68118debb4e92dae4f777d46ced0391bb7bda2f6 100644 GIT binary patch literal 655 zcmeAS@N?(olHy`uVBq!ia0vp^3P9Yz!VDy5c$8@ZDU|@95Z6m9%a2V0=^2WT|1|qEwwGTRP z?rdtenCy{Ju!+mDT~B18M9)+a96&qYsdv$~wmOCI_t zukzu=emZ%Mzv$zIv)jHsdAo9M?%kt)YWJ@0 zD=Q7#aVT`>iSEeDm4-pnWO}CFDc10c%(-5^y8iiXE4wZB1ux`}hRWn9hRQiN3m^8? zv@6g^t$Fc(!;L=v+8V>cZy*mpcoP1OH}sFJ5atBv~n#LOe%cG_yO1&>tAr`Fxx zW$X34#phc;3qI$}c~L1ZFKzYVAfuhdf#c8qy;Zw! z4&k`-JWen?z|Q{T0fW5MKC`oH*+49r2hGei1r7Xs9}cc>1(A$)KZ-s~d}BE0{X)A6 zrym|}Ve&F|Q~KNZAgV6b)a^dm&jvIcXi`U_j1JTk=fiXVHU0|t3bq$w3DD?xZiodR zo<2~%nQU?2x%NZLhlxFF>?~?D}p9K27aMx~nPdG!kZc>;EmCSGN4|Nil#`08EJ-Fyw55x^A2;OXk;vd$@?2>=gi BEqMR{ delta 1303 zcmV+y1?c*Z1)d6!7=H)?0002x1pG|^000SaNLh0L01FcU01FcV0GgZ_00007bV*G` z2jUDC5h4JcjCu?J00g~BL_t(&-tC$_Oe04W$Dfy7uXoqN_{I<;>kM)MoOHS(m64(# z+m)qMkrL6SNO8KgV((P5v$L~1@4cD#|9KqReDoDF>PBf(o4zAyF=o`6Z8?T1YpP?I01!`S z0N|)n_Uc|SX%%~_B*~1rPALF{YKLxOEJ}z@X_OFw8TH20{JQoovn_l~B}rxW!CEaH zPiLZp997D8s(-j)&BW6glU4zM8Ff2VTrP!GlEm+@Q^l3tQ2>xN)lH1an%bC}->_zw zZ4KT3;GNaq4s!W|a#{s|p>X7=QhxI1aV}qQtG_VYYA}YE;_)+Z8_w}RR{dYEMXwzK z0A5C{@{7|`F)T?D1;=y`ehocc`b^Sd_+8DD@LE)o#D5RRcFz=1La@JMm|h(Kq=*6l z%(k#18l}zf#3Y*gy`{Twp{VDT%*DoW=vjU!tcE8h@jC=JF@~+OrUIwpCdSbD03bvO z!SKKt@hVY5@ExM0#a4DlbN32ETi<)P$KM+DG3frmb8qyO-O*fr{>9Tp0RVFO!cVI| zdR}_Hb z9+v{I;uvOlVlqmI6j1~KSlJ!5Q$>y@il;McwRB@@9soqo$#aQbPQE=(T3Y_vr#<@P zm|2C201(+*o=a45G4paV(8a7`hH8fb?lXK>8GpJ#)>Li!j({&@w$-xNze-U_GE_Ts z43pWGh*5MlFW~l$k+-vG8^NU2c(s ztuM?aRFeWn6ItsESp{5WOyC|rEioy2TEWYUm+muH*-d5JQc3ctQWhjF#@)%xsIS%1 zIDh8Le8AI0=lLL>&WOyY<5tmZI4?K(E|IM3up7 zyKYo=06?cSgxVB!5^7Vtfw{XS7kQC}_VoIn`L-!1N)hFPHeIWw@wQH>q{Wok2OHLm zq{VbfQJXH8!nj8|hN+TdV`?77C>j7S@qewj?RVCuCan&S-}bbrc>K&gb(*!Qd+LZ` ziCOyN-~Z0#3n$x8hDJub4(8TcgE0V5hKD<7Q=C4kPn?aXO0iMWVt9G7vyJktSrT^J z5k$0OM?Pp~0-aKz6zk19JQ^h618#iq^R3U%T%(`+NCwaWWVq0N3q|^QyWCU<0Dl+e zwm#{5KKT0Ehdu`V^#1#AoDbaB%?EO8*Q>Bp$L!R%d?0syrk$mFE1E8RAP0PK86U{p zX7Hx?K))VsU!M>7ndrvwfj<@8&wSvv=B9uT0zL@%AmD>GKKP>aA(w^rCHbcB`5-?# z<73d(^*;vi{NO4q)iFB_;Q2v2OMmrNG{O0S@AHHIJs(_?wtbu*^dBGiQ^A99e&FS% zfDZyb2>2l2gEl_+_;Iew(wVr{Li_ISQs48zRsJ*6<9EG*;)AQORLATzfPB!-QoR*T zzz4qhV1m~>ZXO?8R|R+D18yd|F?`@p1rGur`1|Kozy|>zye2;Q4}rR!zz~rpGT#6I N002ovPDHLkV1lg-ck%!L diff --git a/mods/techpack/tubelib/textures/tubelib_front.png b/mods/techpack/tubelib/textures/tubelib_front.png index d3f9b7ade524ca3b993e0f94816d6a9171a5fcc2..cc081bf40006a7a41170382d80b9fe33d67252e1 100644 GIT binary patch delta 341 zcmV-b0jmDU1MmWnB!3uCOjJeAqHwWbG`(;?$$v}NvxUQvU(L-CM7>PxGSR5R*ls3%!emhmy6o)DA+21c-*7=MSR?VF(=cv~Sq0+)dv z0U~Zw0iM8n$EDYKXzZr&jt+pqwqGFk44T$|L8Om;sdo`&sUz?O+}5Q#xXuW2907kW zt6~E@=BT*f-zx!3pa4hUX#E$}dk4L%KE)}QI$sq0?GZ4K#Qgj|(yG#WmqB+Lcx}m} zYwW4%sOWmjJWdR{9MA?rwpxJgb8wbh|7x)57w`1;hyuU6#^V+Sc npX?S39+Q-ASuEv}QknPzwb@T!nVg?D00000NkvXXu0mjfdm*6V delta 430 zcmV;f0a5<&0>}f9B!3%FOjJe5e@n4oG|{GYy>LI*vxUl?YQvFVj*X1X&CSXeEk*zU z00Cl4M??UK1szBL000SaNLh0L01FcU01FcV0GgZ_00007bV*G`2jUC@5;z@`nv$OY z00A>eL_t(2&s~v0j)O1^MU8R+P;L+xiUXSAT`hx}p_pREBGh2~|N8 z$%{OFe_P*x7YwQ{uhs^sTjyZ+z^YSIi4&fm;rxL7WluxsQTNB&;PU}2I*C$9?YvV? z2xuC}(j{u z4;N^g1&{~d^RE_Apmx%hP9O>uZ+omdKOL{r;pe{GwkJNlLSKsB-^LJcD^*SM(6(ZJ Ye|ln5N)tR2`Tzg`07*qoM6N<$g7mPj`~Uy| diff --git a/mods/techpack/tubelib/textures/tubelib_inv_button_error.png b/mods/techpack/tubelib/textures/tubelib_inv_button_error.png index e4b0d1d6566ecda89bd2604a4b73293eb8c20b23..c01e36a0eeaeee953d064e8e5da7c37251997f84 100644 GIT binary patch delta 297 zcmV+^0oMNg0@MPK7zqRe0001iRAR4C7NkxL4~Fc5~vkOP<&e63=b3&>E>rKJ}r zE?kQzDDK>P0_h37sd>!QrqH2e%9qJMF96UMz<jO1PCsI4N(<=V~tXP<|jjhngU5HqJ?F!mMo5+?1;Kd)DV4HluLh;$s-;N zeA<2LPq73?BgdnAVvWXdK&i+ep8R!IV vui3O>ahYM&+95h@{9XYu?iN%%3egom|G6ooA*vE700000NkvXXu0mjffDnus delta 338 zcmV-Y0j>Vj0{sGz7zqdi0000)q>9FoAs~MzP)t-s|NsBT$H)I5AkEFq%gf8b!NLDH zIRDYn|EH(_Cnx{z?*D&(|5{p}Nne}*008t!L_t(I%Y~C$62l+}ML{5%$Ntw_AhrRV zY51@ZPw}Dv#6%=$DtR_67$u*o710*0Ac#ibi@qNGcdJa`yL}@ffFzQ`d)tk z3_u670H_9xz~R6a0L&Vo0_;`%$-wvm5a%Oqkxv;aFax7h!B~#CY<~oxiu5wBmPInR ztTNrCWr#pe5)?2EnBU?^fR!oX%c+kQLUbTz*Z|HDdOxHpTD(WQhXpu$Y8YHPDw}TB z40}AG;R2K@)~2oCV1)#Swi`^spbM(1&1X0k}X}V=! k#OD|0u!hNhMpzyB0P8mi%!tXeApigX07*qoM6N<$g8Z1A#{d8T diff --git a/mods/techpack/tubelib/textures/tubelib_inv_button_on.png b/mods/techpack/tubelib/textures/tubelib_inv_button_on.png index a10aa50629016beb4d33c7f869b868048ab0032d..0a38b6d38bb31324d42e81cf8141660135ed9ca2 100644 GIT binary patch delta 387 zcmV-}0et@51Fi#*7zqRe0001iRA%uv1-FG5CG6~Nad0&k?;pphdv;1 z7#eq}i$0)W2pzp-=;p;!M?;`n!B9E|@&n%bd%e@eC57G~XwOK0#j! zH2ZlM(@=sPK;{H)DFM+5GAm1Zsu9FoAs~M$P)t-sBK#xG&CMYHApigW$jHgU!oxcJ zI_>}M&Hv3&{ZixqVSOj$whVX73im!K*&5&AG4RE|S+Z#ZmH;Bx_ zbaT-G=^h8Mt&ZyvqzyS8 z6~JzF=%2QA*=?&+Ws`Mv^{)xB2><2+ZgjOA{vKJrXIIOuBdBBO-*wNVu5%waBf=SO dzWxMEsXql43NP)>8%6*C002ovPDHLkV1lGF(vAQC diff --git a/mods/techpack/tubelib/textures/tubelib_inv_button_standby.png b/mods/techpack/tubelib/textures/tubelib_inv_button_standby.png index a13b2015f2a5ca0192ebde88e417adcda5315d90..8e239899318cc3a0a704f09f12c9a663507593cb 100644 GIT binary patch delta 316 zcmV-C0mJ^11Lp#e7zqRe0001iRAt+U%%_R{x0F&xM=^N}JobO2 zHv>76b^@dg*p0erI`jlLjW8ioF@qJRo>ewS<#Rw8%JK*>)nN9ZjH%OCRXrn&)s#{q z#yUfdW$Pxth0+Iue7zqdi0000)q>9FoAs~MzP)t-s6@IzR&CUP+|H{hB!^6Wiki*#O z^Rm?Foyg)}r_Xk@*1_HE@Amq8UPurC009X}L_t(I%Z*e~7K9)OL_ss{{^wmr)U5Qq zoey)@iGdL!$Idxntom>h>`!u{D|4gVd$vW4FwXkR2K**O*`iADn~;u<3<7@$(RY6o zr#Xo135RC2kT^4NDS;5-OE8w6pPD42%oRZc6f(lHOyr>twRSCG0z|ya0TooE%<7#$ z%V9(~Q$?r(p%Ea#-C}bmK%meaL3lDK`d9^G#bIU2BYO(NX&^f>ra6h5^AI>`O~@(vtM^mEOcK{6iYJTnB#fpFKCPR!ca#e32`W+ik(MD~ zGYIVtRuTRgoENyypKZ`E!ZwE@V@~ diff --git a/mods/techpack/tubelib/textures/tubelib_inv_button_warning.png b/mods/techpack/tubelib/textures/tubelib_inv_button_warning.png index 33ec686b4c379659ab21a497af1bd215de54e52d..385b6f9a4f5b82173ece15435a1c7d3e380f96d4 100644 GIT binary patch delta 284 zcmV+%0ptGZ0=EK?B!3}LOjJe9&CTWT9mmJV0002N!NJkxF>!WZl%HluNkpo=T)fgr zoeoJJ0002dNkljZ%Q-Cqsmq0!b^Pg=MgoERLV-h`LPF5PeycOMjEeBOVNV+I{NfB)z~T{`IN3 z!h;lXJx|&%s|2io?Onj!#7rxq4EkY&Af!S)0u4k-11SNCw%DB?OJoin`}53uJ07Eg>wvCCi7o&RK7Wb%707*qoM6N<$f?^t(e*gdg diff --git a/mods/techpack/tubelib/textures/tubelib_lamp.png b/mods/techpack/tubelib/textures/tubelib_lamp.png index e4c2b09661eb9f3fe6c094b1c2218f367fbfaa0d..3526893b1dde338c40413e30d8036b1f0d2d75b2 100644 GIT binary patch delta 270 zcmV+p0rCFa0>T227zqLc0000E6q09=At-i_@%*GWV{R2b78kFjdQ zKn#XI2{&9iogp2(DTiB1pW;#+$e2JL;PBArxOy^~+AX8$#ZaSocm}7En#|_ zAtNLnVT|)+^Q4M@i>{D_K>q5~I?}|wxEgG_mA$Esn>T)(#S+4A$6qORaZwRZ_A6q{2;Cf^rTD^;JlK35-Cr*{jAY2Xye?4B0|8vbJ UsurlwZvX%Q07*qoM6N<$f+%@^p#T5? delta 297 zcmV+^0oMM)0^99FoAt-mr-O@#1)th9>O-y5rI_}>M~1&r+j2-ulXd<) z-T9ngT^1%GdmNLT)9P=x9Y@~jZL8L>03vLMfaO-)0J(N;`02nw8_F}Rt-?WqzsZuZ vZpLWVRdip1*Xea4OOGmgRe%2vV*C{Wj?aZK`MGTT$0VU4OiPY*Tg)%wIj&r8Gv* z^0fzzVP84$<-xvsu9R!BGETLgzj!cyN_E+jUbN0bY;*aQ>U<-lr^JDfa!UTdMgR^@ z8XO$RjEfB^nIU%4|6*~4ZKc$kv evknADXMX_F?2sW)*2_8o0000Z8ai#Zz7ino1z3R4K7tGrMIt zd3$)obwrGgiLQ+hA}0004EOGiWihy@);00009a7bBm000XU000XU0RWnu z7ytkO2XskIMF-&s9TW*Vk1o$s0003JNkl-plJEhh|Xzwm|1d4VC;)3sQq+!QkD3WdVI;hr7^6Z1+Uv9}Bj7=p9kzA>ARp z6Zvj7z5hwcKYt17Y{S5<%r^hvB!HT;)H&1~nc-Qtk{NVZ`UvY3s3lTbOHfUuw3;BA z%CKk(HIWx;fqOQv7%X2*+>9UbA#IPf)2Z(4h~I<@QdupDOiUzl~GN zb^t@ZRH@=WWJus=0t9loxLoJy%4o0u8p8Fuk1$Apac2P55Pt?4Fq#7pxMsj8MP>!8 zd_e5RU4TIZ3sGxuzyS_$fCJ6~Jd!>&r`pT`2Lf(M^OLWe zqT1}^{{TYLW4b)wgQD8($pK41k`AcM4hC$H06@e@jeqW<2>_ENAs~B~1*DS}wlmZg zL9(5$k(`gg41ZVtu% zhQ7ZtkywAzL?UB=J>3H6d+PwzU(12&-v{)PXY2#jUw`Su#vfJ!h(8~M2q5vVEh8xa zteDDt0eONv6KMm0y_JOq0H&Os?aVX)(2kV0v#<{79dWghZNw~?&UTi5NWeDIN(7Pb zFC7rY)&t8}&nqE{->9(<J9O6{~ delta 624 zcmV-$0+0Qn1c?QZB!3%FOjJct000621VUYLrcEWdRx)~xnVhJ#wYt6am~DUia$70S<700~~NKz%A)ZbE?f8a3bKEv^@E^ zDyq#M{tqA~-R8^lXH-<1Jvm?vNYVk7*~x$%5&!@YsPWHTFadD3Bm`jZvVe5b%65U; zB1pFLHIVZmngJ_<vZ4k(0B`~gTm$Nv<&v@f$Vvfjp+vPDF76B?bFX-TR~Y2LPAru)YCnj?vIZ(7Ema0000< KMNUMnLSTaN1^q$* diff --git a/mods/techpack/tubelib/textures/tubelib_wlanchip.png b/mods/techpack/tubelib/textures/tubelib_wlanchip.png index c4ddb9336ab08220ff18d403f7aab8de20804d22..9ebe01cdc3dcb9779b62509e06b5319a9439d199 100644 GIT binary patch delta 826 zcmV-A1I7HD2<`@uL4P?=OjJcja7;2XGA1S_009KW$IZ;p+659c#md<;WBJe1;$~)M zo12@?&(cdvOaA`;3JMB}ii+>=@3642jIX+?0000AbW%=J0RR90?yh5IF*xR3Q=W-S0AMe$3-%(BUI01@Hd5Ob zvGyA9ZrE=Jh<_=A?Zxa=^EbvIvj!vWLFP4-j5`243g8nU%R|1xp%JKHv#iEUw8aBw zzdQ>C;7-8Ln<#|_HS`{{WGtgzSiRQ3?E<#1cN4Wisam}UmdF@St3ir3(*|IoAh$9_ zy>F`reJZ;RuoBpuqcq|JU?b&R0CMjV(3%LeA^}M+@P7axdBK(*rfh-6UIInWqNYP=J-D5Tv-eWE z0Y?DR1Ak`k=P%a8t4!qo_`is!Y2<}z_W>MRmN4m5e+&edcoz> z1HwxakFCd)N80A|ekQ)PJ2xgaW&K@1SJsD@^IuII-P*poxw?D1b6ZsP1;dQLVA$gY z<9<#21{3$!JUbB0YhE?c4goG^;Vz&I%~U}xT&IBUlZRXatZm!w0=r<9SAg@t;kpBd zb2Ht6!zFup;Mk5#H;z2_4_!ZhZX7uJ&hs~)w}0P^KZ7Ym8W2h43IG5A07*qoM6N<$ Ef&n0O)c^nh delta 1001 zcmVm+*@-i|qCMG7u$IZ;p+659c#md<;WBJe1;x#oj zo12@?&(djWX#fEM{{H>~0tgBU3W|z~Mn*p;+fpaVe%g7Wf)AxL9{jT*px zu#x%@W9)l@(0^03q33A(UI8S8VMEXx1Q8oWxj<4XQ=TCaDZ?2+gf~@xAW%w~Oa?7@ zhD2!w21@}$S>Dn5lt3A?12e<+iP4`Cyc!1r5yhBG?M3W<^{;bQW-Y(UfB|HgS6dvn z5JaLY1SIpi63Ft9Tm146Kmg!sSzQtl1Q1bgXF**g2!Bt49}+QN6ERmJN}^!|p2aBM zjpE%HHU39%jNqo}_C#RNpk%GBh}wIl8b7M!ogVx|5WTnZXz&it^(tcRL|L1Y#YRth z7@RbU3xRfi7z_yH*^@vr!kLKVNA~2U7il3#z8QTkJs4JkPeo+!>|i{(ffs_tGszg_ zlH_M5*nc?jalaE$;-c_?0k}pwJrnTYt(A6iX`EXKSTYRV?~kLA926V9Z}64yZ1yEY z8qe&%5>YAnGJ@^|#U+|X+G;M7!ZMssMT|L>iR3I|&Z!NNa4k17eigD}AxO0bZ#%JV z8cE%A4_+ilS(-FW`>oYDrL^$W;7GtpCe>hd0DtBWKU2<*;4p+nTstHdLx>BUpYKHZqHqt@FdL@`wcIQgOXIg)G zEo{>I)#d!Ph*!6^BH}kT*Y3M#q+?RW0YhCsVCdz5@%9m?64AUACnCNZ8!MDTUd_3!J(3#D({{&2nh>&^HL Xg282_q-XZK00000NkvXXu0mjfeB8!S 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 4369e368d41b853e698c8237767d9f914187c04b..93a17906c7688cab902987afccf51bc9bc5808bf 100644 GIT binary patch delta 456 zcmV;(0XP2e1=a(Q7=Hu<0001iRAAs=6u|KpD=}m4C^yGL;#zuyCfy>T zb5V}dErQ05K?sSRiid6NR1i_SmSR6pT;{U4hwq)2_e;OX3;m|D!45WQo$!byti=*iYd=HpqfQdS65Bv9#{tOyg@n!H zxuE7`1}Zf!U_1lwr2^YwhV4-EsRurSL+sc#?3mUp0qYxs#KZ;!pr*A1fd!lZt~7|( zGjPWWs)7Px;C~nlI9My#rd7dkQ5GX$kyeW`9KoVmw0bOrr=p=@ix7vWq9MRfn+OyO z8Xrb}=4YTTj`+933$S|N9SeM0not*a>dl8FL0|~P9WP{3oOweEtF*jdn_jUTnz#00009D>003Z6OjJdrPAjchGp<@LvtBZ?UN^I2G`eIs zxM(@NY&^noLBe-L!Fxu>dq~TEO3i;p&45kFf=tGRP0WQ)%8OQ?pPjC-thu?jzQDc7 z%E!&m%+b@(*4WkJ+}qyZ-RJ4$@bT`#PLjj`0004EOGiWih<^ngNB{r;32;bRa{vGf z6951U69E94oEQKA00(qQO+^Rd2nG`h83LzSR{#J47D+@wR5;6Zlk2jiAPj^NhQmb| zkev|$!S{d5?Vww=e-4&(75VG{ChXJ8xb{+7ZY|@bk!!7`lyfiRV5N^*4^XuZj5?n& z_TCQ)ec89*yMN;(pQ~N{>Sw>MIyx;Ow6py@W8_j<%ei#UDYs6QDq4Gd|~ zDTFo}0S2^?$gEnhOSDg+CfDV+xBR~MDfy0#>%cH01K!AIv=>WZf>Coxq>P;zJ zcmV9d#CMvT9M=Rw;&Wclv9#;UK0E64WaYzC9nc_RH zbpl~Qz<-75099u7;iP*QZFTf79zZ^T)T;{@{fjclK>>IPgTENltpuPxZ{Q`A^AF(T zt!j0?U=O($YhOYDSP*c6azW*fb-tHM1!L_32e&L-YolD8DuhMBlmg(i>%yfr1Q>@q zm?{>l4N9Mi77m;n#}}@wrcFgpuV zadB~2SXfR@j+K?w{Q2_@_H-Tts?7IvaSY+O9(q=huh~JM^`W}i0{2H|#??)J{2MCY zh?;HnP+9hn?W;##^s*JZ^!NWX^iz7SBAxaA_v-I0kDh&=?DAPAW5qmOZQ-`#Ic|DC zViF$yVqeO3XUZM}i^V!CemOhsz8H{au@)TPTFv0;>gTe~ HDWM4fkAY1P literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..3bf8f769cddcf042f70a20a005da5f9724107c66 GIT binary patch literal 262 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbL!O@L2`t9yaZ{Q2|s^z@cDcpAtH zhlPbro;=w>Pp+`AFvL=&BF-YkL;J+Mw2mB?ZT(?ZR#vjY+z&TbwY9cw+O&y*@mf64 z9LAC$zhDN3XE)M-oC;4D#}J9jslD8M%!(W?j)7K3^S}Qq*G;>-?5^G11^Oz^OY8+E z+L>RqbnRKY^@f+`^oaLH&+jbS_QHBz#97xg`=672`lVGo_jx!~IG!n)@$(D+OGd^V zh7U4c2|R}2J1i{h#JseQ92Y%3y>0zrR#sLIH&<=iw5hGN zt&zR)KhQMBk|4ie28U-i(tw<1PZ!4!iOZqA+c$|5?J()G~E*k|}?#n!k-o3Gd2U!I}-iC=hjuuf<)_|DO%xjNVMW@?(@h{9*Z;W>2pZVGI$0X-^ ZW|g-b?2{JAsR5nC;OXk;vd$@?2>{&~W!nG% literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..646f9ecfbbd2131b0e358b25ee423b11697338f6 GIT binary patch literal 248 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbL!S%6Q7>(qR!B@N!k=cSc~>z+7q zVtar1yb8zFExz{p3Y#`rF{{BxFKap7ec9Dh2l?fNVHEsLbFL>zAoHMn4XN2@_ZJn=f zoSeI0{+}4e^M5%6ivvR)R!mh`=&-52Rgf`YHIKpk7p+&@xUcm-f2C?mNV0CWh0r>mdKI;Vst08!y&ga7~l literal 0 HcmV?d00001 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 782d5ef15446d3fe444f2490efa14f8c07322e7d..1a3e215dfada60c87c97342c70dd1f97b86ad5dc 100644 GIT binary patch delta 562 zcmV-20?qy51L{m;FXaCtG zP^r+Gb4{Km7Jtv@Vm#UpI=C2c@nK`{-yHf9E?~-lat0)h)q?9sN65ZJkVDuloFUDR znE-TZ2KcfA;6$7)QJFtwye#;#|5&g*WSsCXKsJEmPI>H9_wWKtwv%qn=E4EE_jLB! zdwl^&RLWY;>OiOssWuYQ0duh)3!Sd&z}f2$P|O8#QGduR`~hn7JS0LXnhOMZUH;|S zx3tqleQw~gf_VV?1u&tYOS{~~6+B4V5)TDOZ3P1$xP@@EhLUq>ffRlNT62JmG+D3K zqSXV6HUfav;4i`h1OQ%>OC-7l=pPF%F9R4=y;P%*^2}bGd*v3q>E2rpS3;daWlHp> zHLrRL=PP|%3tPEvG#zR=9B)7(cS$NyQ&4tJEucv!tywg%Tri1dOtoM% zvST!Kc5}FBIl*s0z;!~$dq~EBO3Z&t%Y;s#pPjII6_oB#j<2T4RhR5;6ZlhJ~lAPhxO>W;0aF6leddIY;6hjr zgsjs&*sCP9u+KGq#;U+m0G%EHQZ=c|LG}ELE*wxe)PhcrFAH)GJ=4Dc-9QJ>FFopT z%-?{>Z4VQ7aiM?%;AFuahx-e(f?agByHj9Zwh&|>QUP&sepv_)w`@MR{ZJ`@ZE_C1 zTJLaKZ+~EU1IvcXx^NeTy0};YJe>TwAGeg-M1J1D!+itc2SA7+G1=$CIRWO)dl`sa zoJU4ck%R#-Bjo_B+lG`=>D&_uLj<5Hux$!>@g>qdp4*7jm!us5!0L>Jr=MX;B>>Av zxwDV}P=QhlUggKf^J#M`=GEFb4rUxtI8r}%1wzRTD#>asx}T+oUJFU-i4wIb#mid4 v{eDrplE`!`@8XS8r&9Oz{+5(TT1u}!hNMPse_`5m00000NkvXXu0mjfq@YUT 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 9c22a4643b932cd74657cb9f928f3c412ab36d99..cc0432acf5399e015fd5916d9aed0f81b6162550 100644 GIT binary patch delta 2532 zcmV293(*U=!_#upBUpB^Pj6S1vwmm48Ckh5`-~XT4B}gG?|` z*vDM+zvTVsk+eDP0Uhwn>+YVJet-S+^R}37&#K9OtG~a0uwT{8jLo^W?=MIMl+0V6_TA)t^Q=PADB>8JuQAN9}i&K z&7&4RAb)2?J#rZEk@hjrBO(>a2WC55yd=a9^YKTTE2kHtF7fe*<|=m;`Vk*vJ_kO7 zzdOhW&w88r366w(+@`?x;6423-!SW$^a^xZOVQ-N0Y0*Q@y^&vIaLq%xM*2wG#=|X z!NFewAD2pA-m+qOxAg3!_A&5rv$pjNVmZr#*na}>fs83zkKK4ewXFNV$5ndsuBqc3 zj6M|b5$c+ScE?36;Nus`uj&2X0Uu*{aYm<4RFLFxoQ|_GdeJ@N1DD5Z4y+L$!<$0v z+xX^6h53Lc3u)-6tVup#lBaQ^x14~FhrS7c@M0<8!(P%0VyoD3+I$SdYppmn< zFEHzOt!VswHI%zTc>z8qJjc|G5+NmC0v{K)DtSvyT9k*6fsYH2(~@JmGw(5gd|<{Z zUe3l(dM)`7A+xAj`I(cCfR8Jj>=~F0+kbr;@Ua@34?l?~EI?}D4;WZTLvD9cos+;v z76WRU-hYww1O87jSYRT=M+YJ{#gjsO*uFT&h=nB|^#Gt9$;Yt2KmhGE_?Q|*fcDA_ zJ}mp02!A+z{YanGlv=Tck4^j#&k6Xj-ry6*E3!TyrduG0{oNj}Cs6C*GL^g}-GtYZX*2=FPHaS(W+`!t7(@E8rso zZ+KRp#cj}t5g+$(hq*kpl@i zT~a?hvlAD`k@-8(hJ0Mx^UNL)&!ScrkxB9&YmW9Sv6JhO{^Kr6ao>D-@PF4${}J)b zuA)|L@*&n8RRSaVP%8QSqks>>q0O;pd^Quz$3iS;BQUR}{|FoDY2B@}|CoTlKa+(} zrw*O=fsbntn2s%rzZ>?fg8l=vFk(RV73j3|XV#B@=s0JQKD|VIJP;|HlKs8m@czVmGfPeiY;3Lh8tc8!lhs~{L-f8n;&(&(Rjibc|AG7pgwWEeV zt@EcuT*-&U8wzAc^5N)p{uYzKkq|#* zf9lW^;n``I`QQfd2wn1FvnYe53-}n>q%?fr^dE(jjg75}d+PplQ>krLn)+c8AId?4 zkNY1DA>3W0o#{eNKCa7`K#CjCee9^yWz z4Eqn;T^6iELh`Y~6KJI0OFka*1TMt9V1MC7csz>98ziG}>=7U2MtaFG zSm-|{$gd>GQh)T}tlwcrQ^)&}m%6Ng*9OnS{imcKz3hr?yeI!b`f=#xv`?jeAX0CQ zm^;VYh((^jasGl_>g&F#3-y+nIeFgzH0ENI*ni;Tgla3N#h3a=6#5Nks1|N1+$U;Nm`sD^DyNBlFRlo-qD_G8=|L`gM zRdQ&^N0y7hN64jzd`w`AZSxalz2umax~zb~;Z{6LjkgE-5h=!?tm&K!_*hf(jvDW% zN2Kf(n26Vm+D_)@x zA4@(-L7{Q}!3%*(nr-5POP6Ux>VW-eRhC6q;1M4WFmM(gvmNX&2pv3TufYfIIKbFJ zi+-Hc75()2m@8{y_f?aR86OK#rFlN)i$hFhgMW|Z;9%mFfg~s{VYOEfdkBw2TxjGFu&&T)xg!vdIDL}@Q7CzcgV1o0pDPJD5ybAPV389;U ub=B~vbsx&+z2^CcHN31O3gw^6$NvEI4z}cjx1RU_00004&db%;)ZpLV>g(uPA` z83}}w)|O;}kki_dWe}1R`zul*?+c6+ey#{mWgdO_D`P%1nrj}5 z|LOFpHJ1D8H_^F}9L>qVnDOC9d1gQQt0-et6OcgKqCaqe5e-i-PmG&y7l zZ=S{9g*+>iZ2V=D^qbvctDEZIG{v1Ac4LFao|~aNSC-l8J({gBqbA*Av(M@S`*+yt z?fSrl94ox23j`M6OZzbo!T&sKQKBT>ISzuj^Qw*mtdKC}=9)>t6o@`2fI zh(G4CMe*@R{CscfA(#FH@$m@;_N4D~=^;Kg34e#i^erhx3-X~>{WbGzoC*1O&KQ?s z-@<1Ye;-zTTN?>6)|EK}*Wv*1v9(fO&yI{{x;X}bk0*v<=gQf|-jHDI2=MVZ8cP~R zHkpW??G3*Le0&$~I190~VL)sg`1lVz#n*8uQ7+hqaTWNukCSt}`k2XX(wmh>!VpDNg9! zaP5mIKCW{yuC>ApT`nJ5NLfd`u#;|m;RUVjJVp+qet!UcdrC8c zW8_odV|!4FH>?Scku34?IZgq|7M}A@lzwne0mT6#V=f;O$Yl@yUquwakzP)#>XUmh$mj*W1jes-dM$de8ycsvabJF z6m&<-xfmrrbmux|u`yMYihqxoxemKb^qc==uOT0Inq%f#5D0R*WndQl2kS~Xe`PJ{ zH7+@-_V>~gF;@mh7yiOs|G`BdW)|ZPF1+GHvd)z40)zU2?+{5QKcNal`T_sEmeQw! z%1kIe#;??@X?~`0-I@xD6TrtEA%Df?>=65TNuThb z{{S!LEkX7@aMSP~kdGem3u_X-&bwkoiH|EhqYvUsyjx1C`m(o_z;}@RlIuUx3J=NN zuK156;Q{re!Uq%=&ZNJNkC|ib9cN>^&4)f24u=o+k5&1YARfZ~Re#z;e2758<-?d$ zd!aMs@{zJ=h=0^n`hPJwYR;(vR)qXVPbUq50dp-N(&oS0{4@l^{!f)ZrT;PNQ+&{9 zy3dF8<(ZlW3UK^kMu9VsPU*ZctMU!^rLD`TdMjo*ABi)hTpCEkD1g-(JPXyjSgN$@>)_6I|_k(Gp83{~=n^Phg8RjG9HN zFKtRYcz?>dPJjAA>hgfK#B-0y^*vYm+>bK^z(~*#zxn)DHlLohWIvcLnlsSBkew`jpz;SYMut2FFUYsr^rUuN<;jl9~r;{UjJ%#hzE!dJu$?U4u46Pj}a1BP^zOYA73!3v@BMs zFFiO!ymF`3zw}5ZM1xURUq*Vv#|C!2zUZN_ucOX?=ov6dvMEySU;4p$A|Dm~7;H>G zGk^7YqlCK!17%uLaMcpYWsq*g`wQ#fdBsr25;$h=AK)&%-3D zznvrdg_DRw#D_+TEOJ`6$K_)pNa~Rt>aWxn>VJP;$xp_seDn&yu$Zdzrz7p{O}p&`!}P;Q&5=O0>YSLS1E-l}}aedet?KJ+%}HX1(Fzg**x>@_0hkjn=)E3`-r zE~TdEoSSg@u@4Efl=5&O)qJ)O~%ISYI|=gK5UVuoE_a`l6G<5_5H z)_*4zAA)z;$&_7QY-7mBcg%mOY-f}91SFLFNB;^mDzU|G=JHW0+eTvQJ=Ke1ec811 z=y32=3!4qnk2{H}cEksu%OF^sKOLum$EFV(-$&cK#N>?1x@>v9>9IyKyhD6^RyqEtoR1Aw4oGm-v46q!@)Bf> zz3=J=o~bbAJJ@%@^&iX=Uu*7*M3b}VKN#apePh{JGG*9H=uev>3+1v7SN2MI6@U2H zDX-hMp{L5_{8T&gu?<(r#Mt}@mUiUhNisS$a&%n7loKBtBL_o_(OHG`p?=&Jj8fZO zIUn1k#zY-&G}O+==m5m!W1ghIx(J)1j*q=4FqQMM=^!1maB--jAHYXLX__@u`OtcT p&^9;M&OeO#Azxu;^vCk?Kh$%JDG>S5lrjJS002ovPDHLkV1ms8jPw8i 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 b6342a7c56a352f69bdeacefd35c6b8331fbffe3..b2c379725f930b4e5ad2f1d56582d6c3ecdad812 100644 GIT binary patch delta 1250 zcmZ{kYfuvh5XUb836lVr(_2fF~lgXo5kYYJnP!qM&6WL?M8ekc`9! znwD{R3rI@@A0VPU%ELrjg=k8Y_@pL>mWLq2(GZfr1sa{{xAx0#cIH2`yZ_yt?V6M2 z@*`!oqXPf{s}H4&{p7h=`_*sBJOU)?HR@n)2d7Khs~dxl?@v|6xu?peP*^(izZZyz(P?q~x{npy^T z+`3c*luT&yM7zk@4vhh;Q)+1WvoMqDs6OfUwEbVNeJ;?yP1a<`$Xl(x!*>hA-+1?{ zd>6*q(i79(c~AVTICxLROo(f}?*UIIsF2Nw>O{W9B_rH?m_dA zZ$b@!pKOwLl_NfDW50mOpw~-lLEwxtOyx_Ki=my5 z&6{j|Wgy833szD9#5td+1h0yrCpxnjx^=_ggm4&^Aa?JAr0y?!xtP=&m5CPsxI2R& zhKQT(iF1`;TkUUqIik~Kc#w}tla$~FR~%KW=#vG)aL>v3roDQQkpA2Sm3=!-(18Sh zKYJ*tC0Z_XuL20i3D+tH39umgJrQ0`!OIjFuPMHOZ!hYB1*=#DoWlqQ;JFs+5NTy5 zl)(#aTny0=Z7)jd6GMV|78QF}r#z+nx@hSUAq*5RUO6hO8C>BG1AitT7Qz7(R}LJI z@4|r_H`_4w9ob}W!_!zDNLC>H2opWwyJa6{>0)Y^765jfvBTjncR2OTWUYYLiA&sL zZD@NHR2*zW>nfq`>|JVk2_8N?(zXUpgMo=^niy&;U$w~wybv`V1CUh4i4Qpb(HF+9 zAmLb#+82{bRA7P&oLiJTn&Nq@Z8}PDr6{se_gFcwFsQMx_ zANnJ0)OYEgS#SVfasZ=8j??UZ_+6e-h>%^h0C(oTdW4dqlya>|XA(pEq8nWCGW(he z@5%cxAQ1nj7pby$;Ak^Gr~KRz28et2)9V}R<`!m$B|{>ykY1R-Y5QiZ(?2YN zt>sgbgG1t$)~0FYn}I=L7mxk&)!?n~;un_|ii!&-WUrO8Z&{p9#l-l~@KB%V#j;xU zS~}j?-0)+5-sreQGB(`S(bg;A%Vn}v)e^6pC+HIt6w+mKX-OHa_~-W4$?-8>cULE? zWANo5U(h2NmB=P0gra_SdmE>VT~t(1Q(GnIV>43x#YJtG2%8 z0i%?fKy7JlE-fwT@9k-5YN&i%$tWxB7rl5X9;kUz#eK@{>*aT_+P|XOwIC42cRk%m zei5?8;(%+ksV_0fskRYa+i47lE18YlT+s*%foc3xO;9D2>p+ZuS0WSRL1XYGn9g&WtuZ zaJ8KF?%&Vnphw@-T`x@^y7{w|Js}OQRoC9$_k{YzBU;QiF;h!Zu1?aLITvSVuNqp# zb1I`}cwlioWKJOsAl^IS@WAfqL-o~n<;o=ubX~I`W#n=0Y|pF)@dKNZG%GtEE&Nh> z0#oX4$n(GH6?t>aL?n8VD6cSo9LR|<8Z3Xhld%t!9D2IGQ~4Y7qYObIn5*_*2Rs$;T-8&2UgO(f2yzm-`2EygMQ2 zy1?^$fDoGYE|ql$th{>LCo}4>{{Vk}zVKkR>E5~v=`loI(tP^XL+nneG}3v9UPfL1 zbnR>i>(Knk`1X?8-1#@b%BH}4N|9A@`um`e%C!!nY$4pg_H5OM!g@l5ZZp{P6G-th zr-A<@oizC#prl;p?It)R-JCiJMHru{N2-~YdCovT%EMUc8s0dQs18NnxmDQ{GgSiU#OUBF(XCc8o)eaq-Lt^d-be~Cd!Y@T~SK-VnYFN-&(&~$b`1m zJ91YBuon6tN_Q_Ccv4Q=k!*$lJJ9cvni8~PbWz3tQt7%ktrpEqJ?#@@lK{jS%i+V3 zw-AJa$W=U+&`UA^FXeJkW40>NR z4Q>VjWl4}4`RHmQ0DmB%9x|@`E$R*su!(zU$!2678SiH*Le7Fm6J?qM2_JYSJ0B-( zz-D=JgLPB`autX+cOvV!L(TYD9d1*~1{`6&jvBOG1;TtriM=F}j%yRUO-zh6#v<2I ztK_%b4fso=Khd-^7j?LU+w_;Mqr|i;i5oC$(Ga{1*{dARWKam@djHQxm9Rhaf~rA? zvT*o}7Om!)yHz0dHLu4|%{!B*B^Nu`6acFZOcy@N!>1pW>iK5^W)^CmWu5|FObidz zkOS;p?ZIdu%axDfWAw4e4cA+pA=3APt)J7n>3qHDuHI3}T~3{Hfaw<7roKpAnlZAWVOnytHVb6*De> zov78nJ%sVv3A*L>q7K_l!`2om<`T2eSj7xs+90*!_hO}9VX9s7FT8sD&!+whMMr~7HQIu~-%?}O)klmGw# diff --git a/mods/techpack/tubelib_addons3/textures/tubelib_addons3_teleporter.png b/mods/techpack/tubelib_addons3/textures/tubelib_addons3_teleporter.png index 32901d1a2b551ce0612b0700bef04592eef523c6..3f98a4ba6b33a17f95e6f87f2cfe7552bdec4b9e 100644 GIT binary patch delta 33 pcmcb?xR`N*rnq~751;7zCmA2j7#J8BOM?7@862M7NSj!i3;@2|3(Eii delta 86 zcmZ3?c!P0*rVm5 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