nodes.lua 188 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721
  1. local function rotate_and_place(itemstack, placer, pointed_thing)
  2. local p0 = pointed_thing.under
  3. local p1 = pointed_thing.above
  4. local param2 = 0
  5. local placer_pos = placer:getpos()
  6. if placer_pos then
  7. param2 = minetest.dir_to_facedir(vector.subtract(p1, placer_pos))
  8. end
  9. local finepos = minetest.pointed_thing_to_face_pos(placer, pointed_thing)
  10. local fpos = finepos.y % 1
  11. if p0.y - 1 == p1.y or (fpos > 0 and fpos < 0.5)
  12. or (fpos < -0.5 and fpos > -0.999999999) then
  13. param2 = param2 + 20
  14. if param2 == 21 then
  15. param2 = 23
  16. elseif param2 == 23 then
  17. param2 = 21
  18. end
  19. end
  20. return minetest.item_place(itemstack, placer, pointed_thing, param2)
  21. end
  22. if minetest.settings:get_bool("bridger_enable_trusses", true) then
  23. local bridge_colors = {
  24. {"Green", "green"},
  25. {"Red", "red"},
  26. {"Steel", "steel"},
  27. {"White", "white"},
  28. {"Yellow", "yellow"},
  29. }
  30. for _, row in ipairs(bridge_colors) do
  31. local bridge_desc = row[1]
  32. local bridge_color = row[2]
  33. minetest.register_node("bridger:foundation", {
  34. description = "Bridge Foundation",
  35. drawtype = "nodebox",
  36. tiles = {"default_clay.png"},
  37. paramtype = "light",
  38. sunlight_propagates = true,
  39. node_box = {
  40. type = "fixed",
  41. fixed = {
  42. {-0.5, -0.5, -0.75, 0.5, 0.501, 0.75},
  43. {-0.501, -0.5, -0.501, 0.501, 0.6876, 0.501},
  44. {-0.75, -0.5, -0.5, 0.75, 0.501, 0.5},
  45. {-0.75, -0.5, -0.75, 0.75, 0.499, 0.75},
  46. },
  47. },
  48. selection_box = {
  49. type = "fixed",
  50. fixed = {
  51. {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5},
  52. },
  53. },
  54. groups = {cracky=3},
  55. sounds = default.node_sound_stone_defaults(),
  56. })
  57. minetest.register_node("bridger:block_" .. bridge_color, {
  58. description = bridge_desc .. " Block",
  59. drawtype = "normal",
  60. tiles = {"bridges_" .. bridge_color .. ".png"},
  61. paramtype = "light",
  62. groups = {cracky=3},
  63. sounds = default.node_sound_metal_defaults(),
  64. })
  65. if minetest.get_modpath("moreblocks") then
  66. stairsplus:register_all("bridger", "block_" .. bridge_color, "bridger:block_" .. bridge_color, {
  67. description = bridge_desc,
  68. tiles = {"bridges_" .. bridge_color .. ".png"},
  69. groups = {cracky=3},
  70. sounds = default.node_sound_metal_defaults(),
  71. })
  72. minetest.register_alias("bridger:step_" .. bridge_color, "bridger:panel_block_" .. bridge_color)
  73. elseif minetest.get_modpath("stairs") then
  74. stairs.register_stair_and_slab(
  75. "block_" .. bridge_color,
  76. "bridger:block_" .. bridge_color,
  77. {cracky=3},
  78. {"bridges_" .. bridge_color .. ".png"},
  79. bridge_desc .. " Stair",
  80. bridge_desc .. " Slab",
  81. default.node_sound_metal_defaults()
  82. )
  83. minetest.register_node("bridger:step_" .. bridge_color, {
  84. description = bridge_desc .. " Step",
  85. drawtype = "nodebox",
  86. tiles = {"bridges_" .. bridge_color .. ".png"},
  87. paramtype = "light",
  88. paramtype2 = "facedir",
  89. node_box = {
  90. type = "fixed",
  91. fixed = {
  92. {-0.5, -0.5, 0, 0.5, 0, 0.5},
  93. },
  94. },
  95. groups = {cracky=3},
  96. sounds = default.node_sound_metal_defaults(),
  97. on_place = function(itemstack, placer, pointed_thing)
  98. if pointed_thing.type ~= "node" then
  99. return itemstack
  100. end
  101. return rotate_and_place(itemstack, placer, pointed_thing)
  102. end,
  103. })
  104. end
  105. minetest.register_node("bridger:suspension_top_" .. bridge_color, {
  106. description = bridge_desc .. " Cable Top",
  107. drawtype = "nodebox",
  108. tiles = {"bridges_" .. bridge_color .. ".png"},
  109. paramtype = "light",
  110. paramtype2 = "facedir",
  111. node_box = {
  112. type = "fixed",
  113. fixed = {
  114. {-0.5, -0.5, -0.5, 0.5, 0, 0.5},
  115. {-0.125, -0.5, -0.125, 0.125, 0.5, 0.125},
  116. },
  117. },
  118. groups = {cracky=3},
  119. sounds = default.node_sound_metal_defaults(),
  120. on_place = function(itemstack, placer, pointed_thing)
  121. if pointed_thing.type ~= "node" then
  122. return itemstack
  123. end
  124. return rotate_and_place(itemstack, placer, pointed_thing)
  125. end,
  126. })
  127. minetest.register_node("bridger:suspension_cable_" .. bridge_color, {
  128. description = bridge_desc .. " Cable",
  129. drawtype = "nodebox",
  130. tiles = {"bridges_" .. bridge_color .. ".png"},
  131. paramtype = "light",
  132. node_box = {
  133. type = "fixed",
  134. fixed = {
  135. {-0.125, -0.5, -0.125, 0.125, 0.5, 0.125},
  136. },
  137. },
  138. groups = {cracky=3},
  139. sounds = default.node_sound_metal_defaults(),
  140. })
  141. minetest.register_node("bridger:deck_" .. bridge_color, {
  142. description = bridge_desc .. " Deck",
  143. drawtype = "nodebox",
  144. tiles = {"bridges_" .. bridge_color .. ".png"},
  145. paramtype = "light",
  146. sunlight_propagates = true,
  147. node_box = {
  148. type = "fixed",
  149. fixed = {
  150. {-0.5, 0.375, -0.5, 0.5, 0.501, 0.5},
  151. },
  152. },
  153. selection_box = {
  154. type = "fixed",
  155. fixed = {
  156. {-0.5, 0, -0.5, 0.5, 0.5, 0.5},
  157. },
  158. },
  159. groups = {cracky=3},
  160. sounds = default.node_sound_metal_defaults(),
  161. })
  162. minetest.register_node("bridger:deck_edge_" .. bridge_color, {
  163. description = bridge_desc .. " Deck Edge",
  164. drawtype = "nodebox",
  165. tiles = {"bridges_" .. bridge_color .. ".png"},
  166. paramtype = "light",
  167. paramtype2 = "facedir",
  168. sunlight_propagates = true,
  169. node_box = {
  170. type = "fixed",
  171. fixed = {
  172. {-0.5, 0.375, -0.5, 0.5, 0.501, 0.5},
  173. {-0.5, 0.375, -0.5, 0.5, 1.0625, -0.625},
  174. },
  175. },
  176. selection_box = {
  177. type = "fixed",
  178. fixed = {
  179. {-0.5, 0, -0.5, 0.5, 0.5, 0.5},
  180. },
  181. },
  182. groups = {cracky=3},
  183. sounds = default.node_sound_metal_defaults(),
  184. })
  185. minetest.register_node("bridger:train_deck_" .. bridge_color, {
  186. description = bridge_desc .. " Train Deck",
  187. drawtype = "nodebox",
  188. tiles = {"bridges_" .. bridge_color .. ".png"},
  189. paramtype = "light",
  190. sunlight_propagates = true,
  191. node_box = {
  192. type = "fixed",
  193. fixed = {
  194. {0.375, 0.375, 0.375, 0.5, 0.501, 0.5},
  195. {0.3125, 0.375, 0.3125, 0.4375, 0.501, 0.4375},
  196. {0.25, 0.375, 0.25, 0.375, 0.501, 0.375},
  197. {0.1875, 0.375, 0.1875, 0.3125, 0.501, 0.3125},
  198. {0.125, 0.375, 0.125, 0.25, 0.501, 0.25},
  199. {0.0625, 0.375, 0.0625, 0.1875, 0.501, 0.1875},
  200. {0, 0.375, 0, 0.125, 0.501, 0.125},
  201. {-0.0625, 0.375, -0.0625, 0.0625, 0.501, 0.0625},
  202. {-0.125, 0.375, -0.125, 0, 0.501, 0},
  203. {-0.1875, 0.375, -0.1875, -0.0625, 0.501, -0.0625},
  204. {-0.25, 0.375, -0.25, -0.125, 0.501, -0.125},
  205. {-0.3125, 0.375, -0.3125, -0.1875, 0.501, -0.1875},
  206. {-0.4375, 0.375, -0.4375, -0.3125, 0.501, -0.3125},
  207. {-0.375, 0.375, -0.375, -0.25, 0.501, -0.25},
  208. {-0.5, 0.375, -0.5, -0.375, 0.501, -0.375},
  209. {-0.5, 0.375, 0.375, -0.375, 0.501, 0.5},
  210. {-0.4375, 0.375, 0.3125, -0.3125, 0.501, 0.4375},
  211. {-0.375, 0.375, 0.25, -0.25, 0.501, 0.375},
  212. {-0.3125, 0.375, 0.1875, -0.1875, 0.501, 0.3125},
  213. {-0.25, 0.375, 0.125, -0.125, 0.501, 0.25},
  214. {-0.1875, 0.375, 0.0625, -0.0625, 0.501, 0.1875},
  215. {-0.125, 0.375, 0, 0, 0.501, 0.125},
  216. {0, 0.375, -0.125, 0.125, 0.501, 0},
  217. {0.0625, 0.375, -0.1875, 0.1875, 0.501, -0.0625},
  218. {0.125, 0.375, -0.25, 0.25, 0.501, -0.125},
  219. {0.1875, 0.375, -0.3125, 0.3125, 0.501, -0.1875},
  220. {0.25, 0.375, -0.375, 0.375, 0.501, -0.25},
  221. {0.3125, 0.375, -0.4375, 0.4375, 0.501, -0.3125},
  222. {0.375, 0.375, -0.5, 0.5, 0.501, -0.375},
  223. },
  224. },
  225. selection_box = {
  226. type = "fixed",
  227. fixed = {
  228. {-0.5, 0, -0.5, 0.5, 0.5, 0.5},
  229. },
  230. },
  231. groups = {cracky=3},
  232. sounds = default.node_sound_metal_defaults(),
  233. })
  234. minetest.register_node("bridger:girder_mid_" .. bridge_color, {
  235. description = bridge_desc .. " Girder Middle",
  236. drawtype = "nodebox",
  237. tiles = {"bridges_" .. bridge_color .. ".png"},
  238. paramtype = "light",
  239. paramtype2 = "facedir",
  240. sunlight_propagates = true,
  241. node_box = {
  242. type = "fixed",
  243. fixed = {
  244. {-0.5, -0.5, 0.4375, 0.5, 0.5, 0.5},
  245. {-0.5, 0.4375, 0.375, 0.5, 0.5, 0.5},
  246. {0.46875, -0.5, 0.375, 0.5, 0.5, 0.5},
  247. {-0.5, -0.5, 0.375, -0.46875, 0.5, 0.5},
  248. {-0.5, -0.5, 0.375, 0.5, -0.4375, 0.5},
  249. {-0.5, -0.625, 0.4375, 0.5, -0.5, 0.5},
  250. },
  251. },
  252. selection_box = {
  253. type = "fixed",
  254. fixed = {
  255. {-0.5, -0.5, 0, 0.5, 0.5, 0.5},
  256. },
  257. },
  258. groups = {cracky=3},
  259. sounds = default.node_sound_metal_defaults(),
  260. })
  261. minetest.register_node("bridger:girder_right_" .. bridge_color, {
  262. description = bridge_desc .. " Girder Right End",
  263. drawtype = "nodebox",
  264. tiles = {"bridges_" .. bridge_color .. ".png"},
  265. paramtype = "light",
  266. paramtype2 = "facedir",
  267. sunlight_propagates = true,
  268. node_box = {
  269. type = "fixed",
  270. fixed = {
  271. {-0.5, 0.4375, 0.375, -0.25, 0.5, 0.5},
  272. {-0.5, -0.5, 0.375, -0.46875, 0.5, 0.5},
  273. {-0.5, -0.5, 0.375, 0.5, -0.4375, 0.5},
  274. {-0.3125, 0.375, 0.375, -0.0625, 0.4375, 0.5},
  275. {-0.125, 0.3125, 0.375, 0.0625, 0.375, 0.5},
  276. {0, 0.25, 0.375, 0.125, 0.3125, 0.5},
  277. {0.4375, -0.5, 0.375, 0.5, -0.25, 0.5},
  278. {0.375, -0.3125, 0.375, 0.4375, -0.0625, 0.5},
  279. {0.3125, -0.125, 0.375, 0.375, 0.0625, 0.5},
  280. {0.25, 0, 0.375, 0.3125, 0.125, 0.5},
  281. {0.1875, 0.0625, 0.375, 0.25, 0.1875, 0.5},
  282. {0.125, 0.125, 0.375, 0.1875, 0.25, 0.5},
  283. {0.0625, 0.1875, 0.375, 0.1875, 0.25, 0.5},
  284. {-0.5, -0.5, 0.4375, -0.0625, 0.4375, 0.5},
  285. {-0.5, -0.5, 0.4375, 0.4375, -0.0625, 0.5},
  286. {-0.5, -0.5, 0.4375, 0.125, 0.3125, 0.5},
  287. {-0.5, -0.5, 0.4375, 0.3125, 0.125, 0.5},
  288. {-0.5, -0.625, 0.4375, 0.5, -0.5, 0.5},
  289. },
  290. },
  291. selection_box = {
  292. type = "fixed",
  293. fixed = {
  294. {-0.5, -0.5, 0, 0.5, 0.5, 0.5},
  295. },
  296. },
  297. groups = {cracky=3},
  298. sounds = default.node_sound_metal_defaults(),
  299. })
  300. minetest.register_node("bridger:girder_left_" .. bridge_color, {
  301. description = bridge_desc .. " Girder Left End",
  302. drawtype = "nodebox",
  303. tiles = {"bridges_" .. bridge_color .. ".png"},
  304. paramtype = "light",
  305. paramtype2 = "facedir",
  306. sunlight_propagates = true,
  307. node_box = {
  308. type = "fixed",
  309. fixed = {
  310. {0.25, 0.4375, 0.375, 0.5, 0.5, 0.5},
  311. {0.46875, -0.5, 0.375, 0.5, 0.5, 0.5},
  312. {-0.5, -0.5, 0.375, 0.5, -0.4375, 0.5},
  313. {0.0625, 0.375, 0.375, 0.3125, 0.4375, 0.5},
  314. {-0.0625, 0.3125, 0.375, 0.125, 0.375, 0.5},
  315. {-0.125, 0.25, 0.375, -0, 0.3125, 0.5},
  316. {-0.5, -0.5, 0.375, -0.4375, -0.25, 0.5},
  317. {-0.4375, -0.3125, 0.375, -0.375, -0.0625, 0.5},
  318. {-0.375, -0.125, 0.375, -0.3125, 0.0625, 0.5},
  319. {-0.3125, 0, 0.375, -0.25, 0.125, 0.5},
  320. {-0.25, 0.0625, 0.375, -0.1875, 0.1875, 0.5},
  321. {-0.1875, 0.125, 0.375, -0.125, 0.25, 0.5},
  322. {-0.1875, 0.1875, 0.375, -0.0625, 0.25, 0.5},
  323. {0.0625, -0.5, 0.4375, 0.5, 0.4375, 0.5},
  324. {-0.4375, -0.5, 0.4375, 0.5, -0.0625, 0.5},
  325. {-0.125, -0.5, 0.4375, 0.5, 0.3125, 0.5},
  326. {-0.3125, -0.5, 0.4375, 0.5, 0.125, 0.5},
  327. {-0.5, -0.625, 0.4375, 0.5, -0.5, 0.5},
  328. },
  329. },
  330. selection_box = {
  331. type = "fixed",
  332. fixed = {
  333. {-0.5, -0.5, 0, 0.5, 0.5, 0.5},
  334. },
  335. },
  336. groups = {cracky=3},
  337. sounds = default.node_sound_metal_defaults(),
  338. })
  339. minetest.register_node("bridger:truss_superstructure_right_slant_" .. bridge_color, {
  340. description = bridge_desc .. " Truss Superstructure Right Slant",
  341. drawtype = "nodebox",
  342. tiles = {"bridges_" .. bridge_color .. ".png"},
  343. inventory_image = "bridges_" .. bridge_color ..
  344. ".png^bridges_superstructure_right_slant.png^[makealpha:255,126,126",
  345. wield_image = "bridges_" .. bridge_color ..
  346. ".png^bridges_superstructure_right_slant.png^[makealpha:255,126,126",
  347. paramtype = "light",
  348. paramtype2 = "facedir",
  349. sunlight_propagates = true,
  350. node_box = {
  351. type = "fixed",
  352. fixed = {
  353. {-0.5, -0.5, 0.375, 1.5, 0.0625, 0.5},
  354. {-0.5, -0.5, 0.375, -0.4375, 2.5, 0.5},
  355. {1.4375, -0.5, 0.375, 1.5, 2.5, 0.5},
  356. {-0.5, 2.375, 0.375, 1.5, 2.5, 0.5},
  357. {-0.4375, 2.25, 0.375, -0.3125, 2.375, 0.5},
  358. {-0.375, 2.1875, 0.375, -0.25, 2.3125, 0.5},
  359. {-0.3125, 2.0625, 0.375, -0.1875, 2.25, 0.5},
  360. {-0.25, 2, 0.375, -0.125, 2.125, 0.5},
  361. {-0.1875, 1.9375, 0.375, -0.0625, 2.0625, 0.5},
  362. {-0.125, 1.875, 0.375, 0, 2, 0.5},
  363. {-0.0625, 1.75, 0.375, 0.0625, 1.9375, 0.5},
  364. {0, 1.6875, 0.375, 0.125, 1.8125, 0.5},
  365. {0.0625, 1.625, 0.375, 0.1875, 1.75, 0.5},
  366. {0.125, 1.5625, 0.375, 0.25, 1.6875, 0.5},
  367. {0.1875, 1.4375, 0.375, 0.3125, 1.625, 0.5},
  368. {0.25, 1.375, 0.375, 0.375, 1.5, 0.5},
  369. {0.3125, 1.3125, 0.375, 0.4375, 1.4375, 0.5},
  370. {0.375, 1.25, 0.375, 0.5, 1.375, 0.5},
  371. {0.4375, 1.125, 0.375, 0.5625, 1.3125, 0.5},
  372. {0.5, 1.0625, 0.375, 0.625, 1.1875, 0.5},
  373. {0.5625, 1, 0.375, 0.6875, 1.125, 0.5},
  374. {0.625, 0.9375, 0.375, 0.75, 1.0625, 0.5},
  375. {0.6875, 0.8125, 0.375, 0.8125, 1, 0.5},
  376. {0.75, 0.75, 0.375, 0.875, 0.875, 0.5},
  377. {0.8125, 0.6875, 0.375, 0.9375, 0.8125, 0.5},
  378. {0.875, 0.625, 0.375, 1, 0.75, 0.5},
  379. {0.9375, 0.5, 0.375, 1.0625, 0.6875, 0.5},
  380. {1, 0.4375, 0.375, 1.125, 0.5625, 0.5},
  381. {1.0625, 0.375, 0.375, 1.1875, 0.5, 0.5},
  382. {1.125, 0.3125, 0.375, 1.25, 0.4375, 0.5},
  383. {1.1875, 0.1875, 0.375, 1.3125, 0.375, 0.5},
  384. {1.25, 0.125, 0.375, 1.375, 0.25, 0.5},
  385. {1.3125, 0.0625, 0.375, 1.4375, 0.1875, 0.5},
  386. {1.375, 0, 0.375, 1.5, 0.125, 0.5},
  387. {-0.4375, 2.3125, 0.375, -0.3125, 2.4375, 0.5},
  388. },
  389. },
  390. selection_box = {
  391. type = "fixed",
  392. fixed = {
  393. {-0.5, -0.5, 0.375, 1.5, 2.5, 0.5},
  394. },
  395. },
  396. collision_box = {
  397. type = "fixed",
  398. fixed = {
  399. {-0.5, -0.5, 0.375, 1.5, 2.5, 0.5},
  400. },
  401. },
  402. groups = {cracky=3},
  403. sounds = default.node_sound_metal_defaults(),
  404. })
  405. minetest.register_node("bridger:truss_superstructure_left_slant_" .. bridge_color, {
  406. description = bridge_desc .. " Truss Superstructure Left Slant",
  407. drawtype = "nodebox",
  408. tiles = {"bridges_" .. bridge_color .. ".png"},
  409. inventory_image = "bridges_" .. bridge_color ..
  410. ".png^bridges_superstructure_left_slant.png^[makealpha:255,126,126",
  411. wield_image = "bridges_" .. bridge_color ..
  412. ".png^bridges_superstructure_left_slant.png^[makealpha:255,126,126",
  413. paramtype = "light",
  414. paramtype2 = "facedir",
  415. sunlight_propagates = true,
  416. node_box = {
  417. type = "fixed",
  418. fixed = {
  419. {-0.5, -0.5, 0.375, 1.5, 0.0625, 0.5},
  420. {-0.5, -0.5, 0.375, -0.4375, 2.5, 0.5},
  421. {1.4375, -0.5, 0.375, 1.5, 2.5, 0.5},
  422. {-0.5, 2.375, 0.375, 1.5, 2.5, 0.5},
  423. {1.3125, 2.25, 0.375, 1.4375, 2.375, 0.5},
  424. {1.25, 2.1875, 0.375, 1.375, 2.3125, 0.5},
  425. {1.1875, 2.0625, 0.375, 1.3125, 2.25, 0.5},
  426. {1.125, 2, 0.375, 1.25, 2.125, 0.5},
  427. {1.0625, 1.9375, 0.375, 1.1875, 2.0625, 0.5},
  428. {1, 1.875, 0.375, 1.125, 2, 0.5},
  429. {0.9375, 1.75, 0.375, 1.0625, 1.9375, 0.5},
  430. {0.875, 1.6875, 0.375, 1, 1.8125, 0.5},
  431. {0.8125, 1.625, 0.375, 0.9375, 1.75, 0.5},
  432. {0.75, 1.5625, 0.375, 0.875, 1.6875, 0.5},
  433. {0.6875, 1.4375, 0.375, 0.8125, 1.625, 0.5},
  434. {0.625, 1.375, 0.375, 0.75, 1.5, 0.5},
  435. {0.5625, 1.3125, 0.375, 0.6875, 1.4375, 0.5},
  436. {0.5, 1.25, 0.375, 0.625, 1.375, 0.5},
  437. {0.4375, 1.125, 0.375, 0.5625, 1.3125, 0.5},
  438. {0.375, 1.0625, 0.375, 0.5, 1.1875, 0.5},
  439. {0.3125, 1, 0.375, 0.4375, 1.125, 0.5},
  440. {0.25, 0.9375, 0.375, 0.375, 1.0625, 0.5},
  441. {0.1875, 0.8125, 0.375, 0.3125, 1, 0.5},
  442. {0.125, 0.75, 0.375, 0.25, 0.875, 0.5},
  443. {0.0625, 0.6875, 0.375, 0.1875, 0.8125, 0.5},
  444. {0, 0.625, 0.375, 0.125, 0.75, 0.5},
  445. {-0.0625, 0.5, 0.375, 0.0625, 0.6875, 0.5},
  446. {-0.125, 0.4375, 0.375, 0, 0.5625, 0.5},
  447. {-0.1875, 0.375, 0.375, -0.0625, 0.5, 0.5},
  448. {-0.25, 0.3125, 0.375, -0.125, 0.4375, 0.5},
  449. {-0.3125, 0.1875, 0.375, -0.1875, 0.375, 0.5},
  450. {-0.375, 0.125, 0.375, -0.25, 0.25, 0.5},
  451. {-0.4375, 0.0625, 0.375, -0.3125, 0.1875, 0.5},
  452. {-0.5, 0, 0.375, -0.375, 0.125, 0.5},
  453. {1.375, 2.3125, 0.375, 1.5, 2.4375, 0.5},
  454. },
  455. },
  456. selection_box = {
  457. type = "fixed",
  458. fixed = {
  459. {-0.5, -0.5, 0.375, 1.5, 2.5, 0.5},
  460. },
  461. },
  462. collision_box = {
  463. type = "fixed",
  464. fixed = {
  465. {-0.5, -0.5, 0.375, 1.5, 2.5, 0.5},
  466. },
  467. },
  468. groups = {cracky=3},
  469. sounds = default.node_sound_metal_defaults(),
  470. })
  471. minetest.register_node("bridger:truss_superstructure_end_right_slant_" .. bridge_color, {
  472. description = bridge_desc .. " Truss Superstructure End Right Slant",
  473. drawtype = "nodebox",
  474. tiles = {"bridges_" .. bridge_color .. ".png"},
  475. inventory_image = "bridges_" .. bridge_color ..
  476. ".png^bridges_superstructure_end_right_slant.png^[makealpha:255,126,126",
  477. wield_image = "bridges_" .. bridge_color ..
  478. ".png^bridges_superstructure_end_right_slant.png^[makealpha:255,126,126",
  479. paramtype = "light",
  480. paramtype2 = "facedir",
  481. sunlight_propagates = true,
  482. node_box = {
  483. type = "fixed",
  484. fixed = {
  485. {-0.5, -0.5, 0.375, 1.5, 0.0625, 0.5},
  486. {-0.5, -0.5, 0.375, -0.4375, 2.5, 0.5},
  487. {-0.4375, 2.25, 0.375, -0.3125, 2.375, 0.5},
  488. {-0.375, 2.1875, 0.375, -0.25, 2.3125, 0.5},
  489. {-0.3125, 2.0625, 0.375, -0.1875, 2.25, 0.5},
  490. {-0.25, 2, 0.375, -0.125, 2.125, 0.5},
  491. {-0.1875, 1.9375, 0.375, -0.0625, 2.0625, 0.5},
  492. {-0.125, 1.875, 0.375, 0, 2, 0.5},
  493. {-0.0625, 1.75, 0.375, 0.0625, 1.9375, 0.5},
  494. {0, 1.6875, 0.375, 0.125, 1.8125, 0.5},
  495. {0.0625, 1.625, 0.375, 0.1875, 1.75, 0.5},
  496. {0.125, 1.5625, 0.375, 0.25, 1.6875, 0.5},
  497. {0.1875, 1.4375, 0.375, 0.3125, 1.625, 0.5},
  498. {0.25, 1.375, 0.375, 0.375, 1.5, 0.5},
  499. {0.3125, 1.3125, 0.375, 0.4375, 1.4375, 0.5},
  500. {0.375, 1.25, 0.375, 0.5, 1.375, 0.5},
  501. {0.4375, 1.125, 0.375, 0.5625, 1.3125, 0.5},
  502. {0.5, 1.0625, 0.375, 0.625, 1.1875, 0.5},
  503. {0.5625, 1, 0.375, 0.6875, 1.125, 0.5},
  504. {0.625, 0.9375, 0.375, 0.75, 1.0625, 0.5},
  505. {0.6875, 0.8125, 0.375, 0.8125, 1, 0.5},
  506. {0.75, 0.75, 0.375, 0.875, 0.875, 0.5},
  507. {0.8125, 0.6875, 0.375, 0.9375, 0.8125, 0.5},
  508. {0.875, 0.625, 0.375, 1, 0.75, 0.5},
  509. {0.9375, 0.5, 0.375, 1.0625, 0.6875, 0.5},
  510. {1, 0.4375, 0.375, 1.125, 0.5625, 0.5},
  511. {1.0625, 0.375, 0.375, 1.1875, 0.5, 0.5},
  512. {1.125, 0.3125, 0.375, 1.25, 0.4375, 0.5},
  513. {1.1875, 0.1875, 0.375, 1.3125, 0.375, 0.5},
  514. {1.25, 0.125, 0.375, 1.375, 0.25, 0.5},
  515. {1.3125, 0.0625, 0.375, 1.4375, 0.1875, 0.5},
  516. {1.375, 0, 0.375, 1.5, 0.125, 0.5},
  517. {-0.4375, 2.3125, 0.375, -0.3125, 2.4375, 0.5},
  518. },
  519. },
  520. selection_box = {
  521. type = "fixed",
  522. fixed = {
  523. {-0.5, -0.5, 0.375, 1.5, 2.5, 0.5},
  524. },
  525. },
  526. collision_box = {
  527. type = "fixed",
  528. fixed = {
  529. {-0.5, -0.5, 0.375, 1.5, 2.5, 0.5},
  530. },
  531. },
  532. groups = {cracky=3},
  533. sounds = default.node_sound_metal_defaults(),
  534. })
  535. minetest.register_node("bridger:truss_superstructure_end_left_slant_" .. bridge_color, {
  536. description = bridge_desc .. " Truss Superstructure End Left Slant",
  537. drawtype = "nodebox",
  538. tiles = {"bridges_" .. bridge_color .. ".png"},
  539. inventory_image = "bridges_" .. bridge_color ..
  540. ".png^bridges_superstructure_end_left_slant.png^[makealpha:255,126,126",
  541. wield_image = "bridges_" .. bridge_color ..
  542. ".png^bridges_superstructure_end_left_slant.png^[makealpha:255,126,126",
  543. paramtype = "light",
  544. paramtype2 = "facedir",
  545. sunlight_propagates = true,
  546. node_box = {
  547. type = "fixed",
  548. fixed = {
  549. {-0.5, -0.5, 0.375, 1.5, 0.0625, 0.5},
  550. {1.4375, -0.5, 0.375, 1.5, 2.5, 0.5},
  551. {1.3125, 2.25, 0.375, 1.4375, 2.375, 0.5},
  552. {1.25, 2.1875, 0.375, 1.375, 2.3125, 0.5},
  553. {1.1875, 2.0625, 0.375, 1.3125, 2.25, 0.5},
  554. {1.125, 2, 0.375, 1.25, 2.125, 0.5},
  555. {1.0625, 1.9375, 0.375, 1.1875, 2.0625, 0.5},
  556. {1, 1.875, 0.375, 1.125, 2, 0.5},
  557. {0.9375, 1.75, 0.375, 1.0625, 1.9375, 0.5},
  558. {0.875, 1.6875, 0.375, 1, 1.8125, 0.5},
  559. {0.8125, 1.625, 0.375, 0.9375, 1.75, 0.5},
  560. {0.75, 1.5625, 0.375, 0.875, 1.6875, 0.5},
  561. {0.6875, 1.4375, 0.375, 0.8125, 1.625, 0.5},
  562. {0.625, 1.375, 0.375, 0.75, 1.5, 0.5},
  563. {0.5625, 1.3125, 0.375, 0.6875, 1.4375, 0.5},
  564. {0.5, 1.25, 0.375, 0.625, 1.375, 0.5},
  565. {0.4375, 1.125, 0.375, 0.5625, 1.3125, 0.5},
  566. {0.375, 1.0625, 0.375, 0.5, 1.1875, 0.5},
  567. {0.3125, 1, 0.375, 0.4375, 1.125, 0.5},
  568. {0.25, 0.9375, 0.375, 0.375, 1.0625, 0.5},
  569. {0.1875, 0.8125, 0.375, 0.3125, 1, 0.5},
  570. {0.125, 0.75, 0.375, 0.25, 0.875, 0.5},
  571. {0.0625, 0.6875, 0.375, 0.1875, 0.8125, 0.5},
  572. {0, 0.625, 0.375, 0.125, 0.75, 0.5},
  573. {-0.0625, 0.5, 0.375, 0.0625, 0.6875, 0.5},
  574. {-0.125, 0.4375, 0.375, 0, 0.5625, 0.5},
  575. {-0.1875, 0.375, 0.375, -0.0625, 0.5, 0.5},
  576. {-0.25, 0.3125, 0.375, -0.125, 0.4375, 0.5},
  577. {-0.3125, 0.1875, 0.375, -0.1875, 0.375, 0.5},
  578. {-0.375, 0.125, 0.375, -0.25, 0.25, 0.5},
  579. {-0.4375, 0.0625, 0.375, -0.3125, 0.1875, 0.5},
  580. {-0.5, 0, 0.375, -0.375, 0.125, 0.5},
  581. {1.375, 2.3125, 0.375, 1.5, 2.4375, 0.5},
  582. },
  583. },
  584. selection_box = {
  585. type = "fixed",
  586. fixed = {
  587. {-0.5, -0.5, 0.375, 1.5, 2.5, 0.5},
  588. },
  589. },
  590. collision_box = {
  591. type = "fixed",
  592. fixed = {
  593. {-0.5, -0.5, 0.375, 1.5, 2.5, 0.5},
  594. },
  595. },
  596. groups = {cracky=3},
  597. sounds = default.node_sound_metal_defaults(),
  598. })
  599. minetest.register_node("bridger:truss_superstructure_mid_" .. bridge_color, {
  600. description = bridge_desc .. " Truss Superstructure Middle",
  601. drawtype = "nodebox",
  602. tiles = {"bridges_" .. bridge_color .. ".png"},
  603. inventory_image = "bridges_" .. bridge_color ..
  604. ".png^bridges_superstructure_mid.png^[makealpha:255,126,126",
  605. wield_image = "bridges_" .. bridge_color ..
  606. ".png^bridges_superstructure_mid.png^[makealpha:255,126,126",
  607. paramtype = "light",
  608. paramtype2 = "facedir",
  609. sunlight_propagates = true,
  610. node_box = {
  611. type = "fixed",
  612. fixed = {
  613. {-0.5, -0.5, 0.375, 1.5, 0.0625, 0.5},
  614. {-0.5, -0.5, 0.375, -0.4375, 2.5, 0.5},
  615. {1.4375, -0.5, 0.375, 1.5, 2.5, 0.5},
  616. {-0.5, 2.375, 0.375, 1.5, 2.5, 0.5},
  617. {-0.4375, 2.25, 0.375, -0.3125, 2.375, 0.5},
  618. {-0.375, 2.1875, 0.375, -0.25, 2.3125, 0.5},
  619. {-0.3125, 2.0625, 0.375, -0.1875, 2.25, 0.5},
  620. {-0.25, 2, 0.375, -0.125, 2.125, 0.5},
  621. {-0.1875, 1.9375, 0.375, -0.0625, 2.0625, 0.5},
  622. {-0.125, 1.875, 0.375, 0, 2, 0.5},
  623. {-0.0625, 1.75, 0.375, 0.0625, 1.9375, 0.5},
  624. {0, 1.6875, 0.375, 0.125, 1.8125, 0.5},
  625. {0.0625, 1.625, 0.375, 0.1875, 1.75, 0.5},
  626. {0.125, 1.5625, 0.375, 0.25, 1.6875, 0.5},
  627. {0.1875, 1.4375, 0.375, 0.3125, 1.625, 0.5},
  628. {0.25, 1.375, 0.375, 0.375, 1.5, 0.5},
  629. {0.3125, 1.3125, 0.375, 0.4375, 1.4375, 0.5},
  630. {0.375, 1.25, 0.375, 0.5, 1.375, 0.5},
  631. {0.4375, 1.125, 0.375, 0.5625, 1.3125, 0.5},
  632. {0.5, 1.0625, 0.375, 0.625, 1.1875, 0.5},
  633. {0.5625, 1, 0.375, 0.6875, 1.125, 0.5},
  634. {0.625, 0.9375, 0.375, 0.75, 1.0625, 0.5},
  635. {0.6875, 0.8125, 0.375, 0.8125, 1, 0.5},
  636. {0.75, 0.75, 0.375, 0.875, 0.875, 0.5},
  637. {0.8125, 0.6875, 0.375, 0.9375, 0.8125, 0.5},
  638. {0.875, 0.625, 0.375, 1, 0.75, 0.5},
  639. {0.9375, 0.5, 0.375, 1.0625, 0.6875, 0.5},
  640. {1, 0.4375, 0.375, 1.125, 0.5625, 0.5},
  641. {1.0625, 0.375, 0.375, 1.1875, 0.5, 0.5},
  642. {1.125, 0.3125, 0.375, 1.25, 0.4375, 0.5},
  643. {1.1875, 0.1875, 0.375, 1.3125, 0.375, 0.5},
  644. {1.25, 0.125, 0.375, 1.375, 0.25, 0.5},
  645. {1.3125, 0.0625, 0.375, 1.4375, 0.1875, 0.5},
  646. {1.375, 0, 0.375, 1.5, 0.125, 0.5},
  647. {-0.4375, 2.3125, 0.375, -0.3125, 2.4375, 0.5},
  648. {1.3125, 2.25, 0.375, 1.4375, 2.375, 0.5},
  649. {1.25, 2.1875, 0.375, 1.375, 2.3125, 0.5},
  650. {1.1875, 2.0625, 0.375, 1.3125, 2.25, 0.5},
  651. {1.125, 2, 0.375, 1.25, 2.125, 0.5},
  652. {1.0625, 1.9375, 0.375, 1.1875, 2.0625, 0.5},
  653. {1, 1.875, 0.375, 1.125, 2, 0.5},
  654. {0.9375, 1.75, 0.375, 1.0625, 1.9375, 0.5},
  655. {0.875, 1.6875, 0.375, 1, 1.8125, 0.5},
  656. {0.8125, 1.625, 0.375, 0.9375, 1.75, 0.5},
  657. {0.75, 1.5625, 0.375, 0.875, 1.6875, 0.5},
  658. {0.6875, 1.4375, 0.375, 0.8125, 1.625, 0.5},
  659. {0.625, 1.375, 0.375, 0.75, 1.5, 0.5},
  660. {0.5625, 1.3125, 0.375, 0.6875, 1.4375, 0.5},
  661. {0.5, 1.25, 0.375, 0.625, 1.375, 0.5},
  662. {0.4375, 1.125, 0.375, 0.5625, 1.3125, 0.5},
  663. {0.375, 1.0625, 0.375, 0.5, 1.1875, 0.5},
  664. {0.3125, 1, 0.375, 0.4375, 1.125, 0.5},
  665. {0.25, 0.9375, 0.375, 0.375, 1.0625, 0.5},
  666. {0.1875, 0.8125, 0.375, 0.3125, 1, 0.5},
  667. {0.125, 0.75, 0.375, 0.25, 0.875, 0.5},
  668. {0.0625, 0.6875, 0.375, 0.1875, 0.8125, 0.5},
  669. {0, 0.625, 0.375, 0.125, 0.75, 0.5},
  670. {-0.0625, 0.5, 0.375, 0.0625, 0.6875, 0.5},
  671. {-0.125, 0.4375, 0.375, 0, 0.5625, 0.5},
  672. {-0.1875, 0.375, 0.375, -0.0625, 0.5, 0.5},
  673. {-0.25, 0.3125, 0.375, -0.125, 0.4375, 0.5},
  674. {-0.3125, 0.1875, 0.375, -0.1875, 0.375, 0.5},
  675. {-0.375, 0.125, 0.375, -0.25, 0.25, 0.5},
  676. {-0.4375, 0.0625, 0.375, -0.3125, 0.1875, 0.5},
  677. {-0.5, 0, 0.375, -0.375, 0.125, 0.5},
  678. {1.375, 2.3125, 0.375, 1.5, 2.4375, 0.5},
  679. },
  680. },
  681. selection_box = {
  682. type = "fixed",
  683. fixed = {
  684. {-0.5, -0.5, 0.375, 1.5, 2.5, 0.5},
  685. },
  686. },
  687. collision_box = {
  688. type = "fixed",
  689. fixed = {
  690. {-0.5, -0.5, 0.375, 1.5, 2.5, 0.5},
  691. },
  692. },
  693. groups = {cracky=3},
  694. sounds = default.node_sound_metal_defaults(),
  695. })
  696. minetest.register_node("bridger:truss_superstructure_tall_right_slant_" .. bridge_color, {
  697. description = bridge_desc .. " Tall Truss Superstructure Right Slant",
  698. drawtype = "nodebox",
  699. tiles = {"bridges_" .. bridge_color .. ".png"},
  700. inventory_image = "bridges_" .. bridge_color ..
  701. ".png^bridges_superstructure_tall_right_slant.png^[makealpha:255,126,126",
  702. wield_image = "bridges_" .. bridge_color ..
  703. ".png^bridges_superstructure_tall_right_slant.png^[makealpha:255,126,126",
  704. paramtype = "light",
  705. paramtype2 = "facedir",
  706. sunlight_propagates = true,
  707. node_box = {
  708. type = "fixed",
  709. fixed = {
  710. {-0.5, -0.5, 0.375, 1.5, 0.0625, 0.5},
  711. {-0.5, 3.375, 0.375, 1.5, 3.5, 0.5},
  712. {-0.5, -0.5, 0.375, -0.4375, 3.5, 0.5},
  713. {1.4375, -0.5, 0.375, 1.5, 3.5, 0.5},
  714. {-0.4375, 3.25, 0.375, -0.3125, 3.375, 0.5},
  715. {-0.375, 3.125, 0.375, -0.25, 3.3125, 0.5},
  716. {-0.3125, 3, 0.375, -0.1875, 3.1875, 0.5},
  717. {-0.25, 2.875, 0.375, -0.125, 3.0625, 0.5},
  718. {-0.1875, 2.75, 0.375, -0.0625, 2.9375, 0.5},
  719. {-0.125, 2.625, 0.375, 1.11759e-008, 2.8125, 0.5},
  720. {-0.0625, 2.5625, 0.375, 0.0625, 2.6875, 0.5},
  721. {0, 2.4375, 0.375, 0.125, 2.625, 0.5},
  722. {0.0625, 2.3125, 0.375, 0.1875, 2.5, 0.5},
  723. {0.125, 2.1875, 0.375, 0.25, 2.375, 0.5},
  724. {0.1875, 2.0625, 0.375, 0.3125, 2.25, 0.5},
  725. {0.25, 2, 0.375, 0.375, 2.125, 0.5},
  726. {0.3125, 1.875, 0.375, 0.4375, 2.0625, 0.5},
  727. {0.375, 1.75, 0.375, 0.5, 1.9375, 0.5},
  728. {0.4375, 1.625, 0.375, 0.5625, 1.8125, 0.5},
  729. {0.5, 1.5, 0.375, 0.625, 1.6875, 0.5},
  730. {0.5625, 1.375, 0.375, 0.6875, 1.5625, 0.5},
  731. {0.625, 1.3125, 0.375, 0.75, 1.4375, 0.5},
  732. {0.6875, 1.1875, 0.375, 0.8125, 1.375, 0.5},
  733. {0.75, 1.0625, 0.375, 0.875, 1.25, 0.5},
  734. {0.8125, 0.9375, 0.375, 0.9375, 1.125, 0.5},
  735. {0.875, 0.8125, 0.375, 1, 1, 0.5},
  736. {0.9375, 0.75, 0.375, 1.0625, 0.875, 0.5},
  737. {1, 0.625, 0.375, 1.125, 0.8125, 0.5},
  738. {1.0625, 0.5, 0.375, 1.1875, 0.6875, 0.5},
  739. {1.125, 0.375, 0.375, 1.25, 0.5625, 0.5},
  740. {1.1875, 0.25, 0.375, 1.3125, 0.4375, 0.5},
  741. {1.25, 0.125, 0.375, 1.375, 0.3125, 0.5},
  742. {1.3125, 0.0625, 0.375, 1.4375, 0.1875, 0.5},
  743. },
  744. },
  745. selection_box = {
  746. type = "fixed",
  747. fixed = {
  748. {-0.5, -0.5, 0.375, 1.5, 3.5, 0.5},
  749. },
  750. },
  751. collision_box = {
  752. type = "fixed",
  753. fixed = {
  754. {-0.5, -0.5, 0.375, 1.5, 3.5, 0.5},
  755. },
  756. },
  757. groups = {cracky=3},
  758. sounds = default.node_sound_metal_defaults(),
  759. })
  760. minetest.register_node("bridger:truss_superstructure_tall_left_slant_" .. bridge_color, {
  761. description = bridge_desc .. " Tall Truss Superstructure Left Slant",
  762. drawtype = "nodebox",
  763. tiles = {"bridges_" .. bridge_color .. ".png"},
  764. inventory_image = "bridges_" .. bridge_color ..
  765. ".png^bridges_superstructure_tall_left_slant.png^[makealpha:255,126,126",
  766. wield_image = "bridges_" .. bridge_color ..
  767. ".png^bridges_superstructure_tall_left_slant.png^[makealpha:255,126,126",
  768. paramtype = "light",
  769. paramtype2 = "facedir",
  770. sunlight_propagates = true,
  771. node_box = {
  772. type = "fixed",
  773. fixed = {
  774. {-0.5, -0.5, 0.375, 1.5, 0.0625, 0.5},
  775. {-0.5, 3.375, 0.375, 1.5, 3.5, 0.5},
  776. {-0.5, -0.5, 0.375, -0.4375, 3.5, 0.5},
  777. {1.4375, -0.5, 0.375, 1.5, 3.5, 0.5},
  778. {1.3125, 3.25, 0.375, 1.4375, 3.375, 0.5},
  779. {1.25, 3.125, 0.375, 1.375, 3.3125, 0.5},
  780. {1.1875, 3, 0.375, 1.3125, 3.1875, 0.5},
  781. {1.125, 2.875, 0.375, 1.25, 3.0625, 0.5},
  782. {1.0625, 2.75, 0.375, 1.1875, 2.9375, 0.5},
  783. {1, 2.625, 0.375, 1.125, 2.8125, 0.5},
  784. {0.9375, 2.5625, 0.375, 1.0625, 2.6875, 0.5},
  785. {0.875, 2.4375, 0.375, 1, 2.625, 0.5},
  786. {0.8125, 2.3125, 0.375, 0.9375, 2.5, 0.5},
  787. {0.75, 2.1875, 0.375, 0.875, 2.375, 0.5},
  788. {0.6875, 2.0625, 0.375, 0.8125, 2.25, 0.5},
  789. {0.625, 2, 0.375, 0.75, 2.125, 0.5},
  790. {0.5625, 1.875, 0.375, 0.6875, 2.0625, 0.5},
  791. {0.5, 1.75, 0.375, 0.625, 1.9375, 0.5},
  792. {0.4375, 1.625, 0.375, 0.5625, 1.8125, 0.5},
  793. {0.375, 1.5, 0.375, 0.5, 1.6875, 0.5},
  794. {0.3125, 1.375, 0.375, 0.4375, 1.5625, 0.5},
  795. {0.25, 1.3125, 0.375, 0.375, 1.4375, 0.5},
  796. {0.1875, 1.1875, 0.375, 0.3125, 1.375, 0.5},
  797. {0.125, 1.0625, 0.375, 0.25, 1.25, 0.5},
  798. {0.0625, 0.9375, 0.375, 0.1875, 1.125, 0.5},
  799. {0, 0.8125, 0.375, 0.125, 1, 0.5},
  800. {-0.0625, 0.75, 0.375, 0.0625, 0.875, 0.5},
  801. {-0.125, 0.625, 0.375, -3.35276e-008, 0.8125, 0.5},
  802. {-0.1875, 0.5, 0.375, -0.0625, 0.6875, 0.5},
  803. {-0.25, 0.375, 0.375, -0.125, 0.5625, 0.5},
  804. {-0.3125, 0.25, 0.375, -0.1875, 0.4375, 0.5},
  805. {-0.375, 0.125, 0.375, -0.25, 0.3125, 0.5},
  806. {-0.4375, 0.0625, 0.375, -0.3125, 0.1875, 0.5},
  807. },
  808. },
  809. selection_box = {
  810. type = "fixed",
  811. fixed = {
  812. {-0.5, -0.5, 0.375, 1.5, 3.5, 0.5},
  813. },
  814. },
  815. collision_box = {
  816. type = "fixed",
  817. fixed = {
  818. {-0.5, -0.5, 0.375, 1.5, 3.5, 0.5},
  819. },
  820. },
  821. groups = {cracky=3},
  822. sounds = default.node_sound_metal_defaults(),
  823. })
  824. minetest.register_node("bridger:truss_superstructure_tall_mid_" .. bridge_color, {
  825. description = bridge_desc .. " Tall Truss Superstructure Middle",
  826. drawtype = "nodebox",
  827. tiles = {"bridges_" .. bridge_color .. ".png"},
  828. inventory_image = "bridges_" .. bridge_color ..
  829. ".png^bridges_superstructure_tall_mid.png^[makealpha:255,126,126",
  830. wield_image = "bridges_" .. bridge_color ..
  831. ".png^bridges_superstructure_tall_mid.png^[makealpha:255,126,126",
  832. paramtype = "light",
  833. paramtype2 = "facedir",
  834. sunlight_propagates = true,
  835. node_box = {
  836. type = "fixed",
  837. fixed = {
  838. {-0.5, -0.5, 0.375, 1.5, 0.0625, 0.5},
  839. {-0.5, 3.375, 0.375, 1.5, 3.5, 0.5},
  840. {-0.5, -0.5, 0.375, -0.4375, 3.5, 0.5},
  841. {1.4375, -0.5, 0.375, 1.5, 3.5, 0.5},
  842. {1.3125, 3.25, 0.375, 1.4375, 3.375, 0.5},
  843. {1.25, 3.125, 0.375, 1.375, 3.3125, 0.5},
  844. {1.1875, 3, 0.375, 1.3125, 3.1875, 0.5},
  845. {1.125, 2.875, 0.375, 1.25, 3.0625, 0.5},
  846. {1.0625, 2.75, 0.375, 1.1875, 2.9375, 0.5},
  847. {1, 2.625, 0.375, 1.125, 2.8125, 0.5},
  848. {0.9375, 2.5625, 0.375, 1.0625, 2.6875, 0.5},
  849. {0.875, 2.4375, 0.375, 1, 2.625, 0.5},
  850. {0.8125, 2.3125, 0.375, 0.9375, 2.5, 0.5},
  851. {0.75, 2.1875, 0.375, 0.875, 2.375, 0.5},
  852. {0.6875, 2.0625, 0.375, 0.8125, 2.25, 0.5},
  853. {0.625, 2, 0.375, 0.75, 2.125, 0.5},
  854. {0.5625, 1.875, 0.375, 0.6875, 2.0625, 0.5},
  855. {0.5, 1.75, 0.375, 0.625, 1.9375, 0.5},
  856. {0.4375, 1.625, 0.375, 0.5625, 1.8125, 0.5},
  857. {0.375, 1.5, 0.375, 0.5, 1.6875, 0.5},
  858. {0.3125, 1.375, 0.375, 0.4375, 1.5625, 0.5},
  859. {0.25, 1.3125, 0.375, 0.375, 1.4375, 0.5},
  860. {0.1875, 1.1875, 0.375, 0.3125, 1.375, 0.5},
  861. {0.125, 1.0625, 0.375, 0.25, 1.25, 0.5},
  862. {0.0625, 0.9375, 0.375, 0.1875, 1.125, 0.5},
  863. {0, 0.8125, 0.375, 0.125, 1, 0.5},
  864. {-0.0625, 0.75, 0.375, 0.0625, 0.875, 0.5},
  865. {-0.125, 0.625, 0.375, -3.35276e-008, 0.8125, 0.5},
  866. {-0.1875, 0.5, 0.375, -0.0625, 0.6875, 0.5},
  867. {-0.25, 0.375, 0.375, -0.125, 0.5625, 0.5},
  868. {-0.3125, 0.25, 0.375, -0.1875, 0.4375, 0.5},
  869. {-0.375, 0.125, 0.375, -0.25, 0.3125, 0.5},
  870. {-0.4375, 0.0625, 0.375, -0.3125, 0.1875, 0.5},
  871. {-0.4375, 3.25, 0.375, -0.3125, 3.375, 0.5},
  872. {-0.375, 3.125, 0.375, -0.25, 3.3125, 0.5},
  873. {-0.3125, 3, 0.375, -0.1875, 3.1875, 0.5},
  874. {-0.25, 2.875, 0.375, -0.125, 3.0625, 0.5},
  875. {-0.1875, 2.75, 0.375, -0.0625, 2.9375, 0.5},
  876. {-0.125, 2.625, 0.375, 1.11759e-008, 2.8125, 0.5},
  877. {-0.0625, 2.5625, 0.375, 0.0625, 2.6875, 0.5},
  878. {0, 2.4375, 0.375, 0.125, 2.625, 0.5},
  879. {0.0625, 2.3125, 0.375, 0.1875, 2.5, 0.5},
  880. {0.125, 2.1875, 0.375, 0.25, 2.375, 0.5},
  881. {0.1875, 2.0625, 0.375, 0.3125, 2.25, 0.5},
  882. {0.25, 2, 0.375, 0.375, 2.125, 0.5},
  883. {0.3125, 1.875, 0.375, 0.4375, 2.0625, 0.5},
  884. {0.375, 1.75, 0.375, 0.5, 1.9375, 0.5},
  885. {0.4375, 1.625, 0.375, 0.5625, 1.8125, 0.5},
  886. {0.5, 1.5, 0.375, 0.625, 1.6875, 0.5},
  887. {0.5625, 1.375, 0.375, 0.6875, 1.5625, 0.5},
  888. {0.625, 1.3125, 0.375, 0.75, 1.4375, 0.5},
  889. {0.6875, 1.1875, 0.375, 0.8125, 1.375, 0.5},
  890. {0.75, 1.0625, 0.375, 0.875, 1.25, 0.5},
  891. {0.8125, 0.9375, 0.375, 0.9375, 1.125, 0.5},
  892. {0.875, 0.8125, 0.375, 1, 1, 0.5},
  893. {0.9375, 0.75, 0.375, 1.0625, 0.875, 0.5},
  894. {1, 0.625, 0.375, 1.125, 0.8125, 0.5},
  895. {1.0625, 0.5, 0.375, 1.1875, 0.6875, 0.5},
  896. {1.125, 0.375, 0.375, 1.25, 0.5625, 0.5},
  897. {1.1875, 0.25, 0.375, 1.3125, 0.4375, 0.5},
  898. {1.25, 0.125, 0.375, 1.375, 0.3125, 0.5},
  899. {1.3125, 0.0625, 0.375, 1.4375, 0.1875, 0.5},
  900. },
  901. },
  902. selection_box = {
  903. type = "fixed",
  904. fixed = {
  905. {-0.5, -0.5, 0.375, 1.5, 3.5, 0.5},
  906. },
  907. },
  908. collision_box = {
  909. type = "fixed",
  910. fixed = {
  911. {-0.5, -0.5, 0.375, 1.5, 3.5, 0.5},
  912. },
  913. },
  914. groups = {cracky=3},
  915. sounds = default.node_sound_metal_defaults(),
  916. })
  917. minetest.register_node("bridger:truss_superstructure_tall_simple_" .. bridge_color, {
  918. description = bridge_desc .. " Tall Truss Superstructure Middle Simple",
  919. drawtype = "nodebox",
  920. tiles = {"bridges_" .. bridge_color .. ".png"},
  921. inventory_image = "bridges_" .. bridge_color ..
  922. ".png^bridges_superstructure_tall_simple.png^[makealpha:255,126,126",
  923. wield_image = "bridges_" .. bridge_color ..
  924. ".png^bridges_superstructure_tall_simple.png^[makealpha:255,126,126",
  925. paramtype = "light",
  926. paramtype2 = "facedir",
  927. sunlight_propagates = true,
  928. node_box = {
  929. type = "fixed",
  930. fixed = {
  931. {-0.5, -0.5, 0.375, 1.5, 0.0625, 0.5},
  932. {-0.5, 3.375, 0.375, 1.5, 3.5, 0.5},
  933. {1.3125, 3.25, 0.375, 1.4375, 3.375, 0.5},
  934. {1.25, 3.125, 0.375, 1.375, 3.3125, 0.5},
  935. {1.1875, 3, 0.375, 1.3125, 3.1875, 0.5},
  936. {1.125, 2.875, 0.375, 1.25, 3.0625, 0.5},
  937. {1.0625, 2.75, 0.375, 1.1875, 2.9375, 0.5},
  938. {1, 2.625, 0.375, 1.125, 2.8125, 0.5},
  939. {0.9375, 2.5625, 0.375, 1.0625, 2.6875, 0.5},
  940. {0.875, 2.4375, 0.375, 1, 2.625, 0.5},
  941. {0.8125, 2.3125, 0.375, 0.9375, 2.5, 0.5},
  942. {0.75, 2.1875, 0.375, 0.875, 2.375, 0.5},
  943. {0.6875, 2.0625, 0.375, 0.8125, 2.25, 0.5},
  944. {0.625, 2, 0.375, 0.75, 2.125, 0.5},
  945. {0.5625, 1.875, 0.375, 0.6875, 2.0625, 0.5},
  946. {0.5, 1.75, 0.375, 0.625, 1.9375, 0.5},
  947. {0.4375, 1.625, 0.375, 0.5625, 1.8125, 0.5},
  948. {0.375, 1.5, 0.375, 0.5, 1.6875, 0.5},
  949. {0.3125, 1.375, 0.375, 0.4375, 1.5625, 0.5},
  950. {0.25, 1.3125, 0.375, 0.375, 1.4375, 0.5},
  951. {0.1875, 1.1875, 0.375, 0.3125, 1.375, 0.5},
  952. {0.125, 1.0625, 0.375, 0.25, 1.25, 0.5},
  953. {0.0625, 0.9375, 0.375, 0.1875, 1.125, 0.5},
  954. {0, 0.8125, 0.375, 0.125, 1, 0.5},
  955. {-0.0625, 0.75, 0.375, 0.0625, 0.875, 0.5},
  956. {-0.125, 0.625, 0.375, -3.35276e-008, 0.8125, 0.5},
  957. {-0.1875, 0.5, 0.375, -0.0625, 0.6875, 0.5},
  958. {-0.25, 0.375, 0.375, -0.125, 0.5625, 0.5},
  959. {-0.3125, 0.25, 0.375, -0.1875, 0.4375, 0.5},
  960. {-0.375, 0.125, 0.375, -0.25, 0.3125, 0.5},
  961. {-0.4375, 0.0625, 0.375, -0.3125, 0.1875, 0.5},
  962. {-0.4375, 3.25, 0.375, -0.3125, 3.375, 0.5},
  963. {-0.375, 3.125, 0.375, -0.25, 3.3125, 0.5},
  964. {-0.3125, 3, 0.375, -0.1875, 3.1875, 0.5},
  965. {-0.25, 2.875, 0.375, -0.125, 3.0625, 0.5},
  966. {-0.1875, 2.75, 0.375, -0.0625, 2.9375, 0.5},
  967. {-0.125, 2.625, 0.375, 1.11759e-008, 2.8125, 0.5},
  968. {-0.0625, 2.5625, 0.375, 0.0625, 2.6875, 0.5},
  969. {0, 2.4375, 0.375, 0.125, 2.625, 0.5},
  970. {0.0625, 2.3125, 0.375, 0.1875, 2.5, 0.5},
  971. {0.125, 2.1875, 0.375, 0.25, 2.375, 0.5},
  972. {0.1875, 2.0625, 0.375, 0.3125, 2.25, 0.5},
  973. {0.25, 2, 0.375, 0.375, 2.125, 0.5},
  974. {0.3125, 1.875, 0.375, 0.4375, 2.0625, 0.5},
  975. {0.375, 1.75, 0.375, 0.5, 1.9375, 0.5},
  976. {0.4375, 1.625, 0.375, 0.5625, 1.8125, 0.5},
  977. {0.5, 1.5, 0.375, 0.625, 1.6875, 0.5},
  978. {0.5625, 1.375, 0.375, 0.6875, 1.5625, 0.5},
  979. {0.625, 1.3125, 0.375, 0.75, 1.4375, 0.5},
  980. {0.6875, 1.1875, 0.375, 0.8125, 1.375, 0.5},
  981. {0.75, 1.0625, 0.375, 0.875, 1.25, 0.5},
  982. {0.8125, 0.9375, 0.375, 0.9375, 1.125, 0.5},
  983. {0.875, 0.8125, 0.375, 1, 1, 0.5},
  984. {0.9375, 0.75, 0.375, 1.0625, 0.875, 0.5},
  985. {1, 0.625, 0.375, 1.125, 0.8125, 0.5},
  986. {1.0625, 0.5, 0.375, 1.1875, 0.6875, 0.5},
  987. {1.125, 0.375, 0.375, 1.25, 0.5625, 0.5},
  988. {1.1875, 0.25, 0.375, 1.3125, 0.4375, 0.5},
  989. {1.25, 0.125, 0.375, 1.375, 0.3125, 0.5},
  990. {1.3125, 0.0625, 0.375, 1.4375, 0.1875, 0.5},
  991. },
  992. },
  993. selection_box = {
  994. type = "fixed",
  995. fixed = {
  996. {-0.5, -0.5, 0.375, 1.5, 3.5, 0.5},
  997. },
  998. },
  999. collision_box = {
  1000. type = "fixed",
  1001. fixed = {
  1002. {-0.5, -0.5, 0.375, 1.5, 3.5, 0.5},
  1003. },
  1004. },
  1005. groups = {cracky=3},
  1006. sounds = default.node_sound_metal_defaults(),
  1007. })
  1008. minetest.register_node("bridger:truss_superstructure_tall_simple_end_left_" .. bridge_color, {
  1009. description = bridge_desc .. " Tall Truss Superstructure Simple Left End",
  1010. drawtype = "nodebox",
  1011. tiles = {"bridges_" .. bridge_color .. ".png"},
  1012. inventory_image = "bridges_" .. bridge_color ..
  1013. ".png^bridges_superstructure_tall_simple_end_left.png^[makealpha:255,126,126",
  1014. wield_image = "bridges_" .. bridge_color ..
  1015. ".png^bridges_superstructure_tall_simple_end_left.png^[makealpha:255,126,126",
  1016. paramtype = "light",
  1017. paramtype2 = "facedir",
  1018. sunlight_propagates = true,
  1019. node_box = {
  1020. type = "fixed",
  1021. fixed = {
  1022. {0.375, -0.5, 0.375, 0.5, 3.5, 0.5},
  1023. },
  1024. },
  1025. groups = {cracky=3},
  1026. sounds = default.node_sound_metal_defaults(),
  1027. })
  1028. minetest.register_node("bridger:truss_superstructure_tall_simple_end_right_" .. bridge_color, {
  1029. description = bridge_desc .. " Tall Truss Superstructure Simple Right End",
  1030. drawtype = "nodebox",
  1031. tiles = {"bridges_" .. bridge_color .. ".png"},
  1032. inventory_image = "bridges_" .. bridge_color ..
  1033. ".png^bridges_superstructure_tall_simple_end_right.png^[makealpha:255,126,126",
  1034. wield_image = "bridges_" .. bridge_color ..
  1035. ".png^bridges_superstructure_tall_simple_end_right.png^[makealpha:255,126,126",
  1036. paramtype = "light",
  1037. paramtype2 = "facedir",
  1038. sunlight_propagates = true,
  1039. node_box = {
  1040. type = "fixed",
  1041. fixed = {
  1042. {-0.5, -0.5, 0.375, -0.375, 3.5, 0.5},
  1043. },
  1044. },
  1045. groups = {cracky=3},
  1046. sounds = default.node_sound_metal_defaults(),
  1047. })
  1048. minetest.register_node("bridger:truss_superstructure_simple_" .. bridge_color, {
  1049. description = bridge_desc .. " Truss Superstructure Middle Simple",
  1050. drawtype = "nodebox",
  1051. tiles = {"bridges_" .. bridge_color .. ".png"},
  1052. inventory_image = "bridges_" .. bridge_color ..
  1053. ".png^bridges_superstructure_simple.png^[makealpha:255,126,126",
  1054. wield_image = "bridges_" .. bridge_color ..
  1055. ".png^bridges_superstructure_simple.png^[makealpha:255,126,126",
  1056. paramtype = "light",
  1057. paramtype2 = "facedir",
  1058. sunlight_propagates = true,
  1059. node_box = {
  1060. type = "fixed",
  1061. fixed = {
  1062. {-0.5, -0.5, 0.375, 1.5, 0.0625, 0.5},
  1063. {-0.5, 2.375, 0.375, 1.5, 2.5, 0.5},
  1064. {-0.4375, 2.25, 0.375, -0.3125, 2.375, 0.5},
  1065. {-0.375, 2.1875, 0.375, -0.25, 2.3125, 0.5},
  1066. {-0.3125, 2.0625, 0.375, -0.1875, 2.25, 0.5},
  1067. {-0.25, 2, 0.375, -0.125, 2.125, 0.5},
  1068. {-0.1875, 1.9375, 0.375, -0.0625, 2.0625, 0.5},
  1069. {-0.125, 1.875, 0.375, 0, 2, 0.5},
  1070. {-0.0625, 1.75, 0.375, 0.0625, 1.9375, 0.5},
  1071. {0, 1.6875, 0.375, 0.125, 1.8125, 0.5},
  1072. {0.0625, 1.625, 0.375, 0.1875, 1.75, 0.5},
  1073. {0.125, 1.5625, 0.375, 0.25, 1.6875, 0.5},
  1074. {0.1875, 1.4375, 0.375, 0.3125, 1.625, 0.5},
  1075. {0.25, 1.375, 0.375, 0.375, 1.5, 0.5},
  1076. {0.3125, 1.3125, 0.375, 0.4375, 1.4375, 0.5},
  1077. {0.375, 1.25, 0.375, 0.5, 1.375, 0.5},
  1078. {0.4375, 1.125, 0.375, 0.5625, 1.3125, 0.5},
  1079. {0.5, 1.0625, 0.375, 0.625, 1.1875, 0.5},
  1080. {0.5625, 1, 0.375, 0.6875, 1.125, 0.5},
  1081. {0.625, 0.9375, 0.375, 0.75, 1.0625, 0.5},
  1082. {0.6875, 0.8125, 0.375, 0.8125, 1, 0.5},
  1083. {0.75, 0.75, 0.375, 0.875, 0.875, 0.5},
  1084. {0.8125, 0.6875, 0.375, 0.9375, 0.8125, 0.5},
  1085. {0.875, 0.625, 0.375, 1, 0.75, 0.5},
  1086. {0.9375, 0.5, 0.375, 1.0625, 0.6875, 0.5},
  1087. {1, 0.4375, 0.375, 1.125, 0.5625, 0.5},
  1088. {1.0625, 0.375, 0.375, 1.1875, 0.5, 0.5},
  1089. {1.125, 0.3125, 0.375, 1.25, 0.4375, 0.5},
  1090. {1.1875, 0.1875, 0.375, 1.3125, 0.375, 0.5},
  1091. {1.25, 0.125, 0.375, 1.375, 0.25, 0.5},
  1092. {1.3125, 0.0625, 0.375, 1.4375, 0.1875, 0.5},
  1093. {1.375, 0, 0.375, 1.5, 0.125, 0.5},
  1094. {-0.4375, 2.3125, 0.375, -0.3125, 2.4375, 0.5},
  1095. {1.3125, 2.25, 0.375, 1.4375, 2.375, 0.5},
  1096. {1.25, 2.1875, 0.375, 1.375, 2.3125, 0.5},
  1097. {1.1875, 2.0625, 0.375, 1.3125, 2.25, 0.5},
  1098. {1.125, 2, 0.375, 1.25, 2.125, 0.5},
  1099. {1.0625, 1.9375, 0.375, 1.1875, 2.0625, 0.5},
  1100. {1, 1.875, 0.375, 1.125, 2, 0.5},
  1101. {0.9375, 1.75, 0.375, 1.0625, 1.9375, 0.5},
  1102. {0.875, 1.6875, 0.375, 1, 1.8125, 0.5},
  1103. {0.8125, 1.625, 0.375, 0.9375, 1.75, 0.5},
  1104. {0.75, 1.5625, 0.375, 0.875, 1.6875, 0.5},
  1105. {0.6875, 1.4375, 0.375, 0.8125, 1.625, 0.5},
  1106. {0.625, 1.375, 0.375, 0.75, 1.5, 0.5},
  1107. {0.5625, 1.3125, 0.375, 0.6875, 1.4375, 0.5},
  1108. {0.5, 1.25, 0.375, 0.625, 1.375, 0.5},
  1109. {0.4375, 1.125, 0.375, 0.5625, 1.3125, 0.5},
  1110. {0.375, 1.0625, 0.375, 0.5, 1.1875, 0.5},
  1111. {0.3125, 1, 0.375, 0.4375, 1.125, 0.5},
  1112. {0.25, 0.9375, 0.375, 0.375, 1.0625, 0.5},
  1113. {0.1875, 0.8125, 0.375, 0.3125, 1, 0.5},
  1114. {0.125, 0.75, 0.375, 0.25, 0.875, 0.5},
  1115. {0.0625, 0.6875, 0.375, 0.1875, 0.8125, 0.5},
  1116. {0, 0.625, 0.375, 0.125, 0.75, 0.5},
  1117. {-0.0625, 0.5, 0.375, 0.0625, 0.6875, 0.5},
  1118. {-0.125, 0.4375, 0.375, 0, 0.5625, 0.5},
  1119. {-0.1875, 0.375, 0.375, -0.0625, 0.5, 0.5},
  1120. {-0.25, 0.3125, 0.375, -0.125, 0.4375, 0.5},
  1121. {-0.3125, 0.1875, 0.375, -0.1875, 0.375, 0.5},
  1122. {-0.375, 0.125, 0.375, -0.25, 0.25, 0.5},
  1123. {-0.4375, 0.0625, 0.375, -0.3125, 0.1875, 0.5},
  1124. {-0.5, 0, 0.375, -0.375, 0.125, 0.5},
  1125. {1.375, 2.3125, 0.375, 1.5, 2.4375, 0.5},
  1126. {-0.5, 2.3125, 0.375, -0.375, 2.4375, 0.5},
  1127. },
  1128. },
  1129. selection_box = {
  1130. type = "fixed",
  1131. fixed = {
  1132. {-0.5, -0.5, 0.375, 1.5, 2.5, 0.5},
  1133. },
  1134. },
  1135. collision_box = {
  1136. type = "fixed",
  1137. fixed = {
  1138. {-0.5, -0.5, 0.375, 1.5, 2.5, 0.5},
  1139. },
  1140. },
  1141. groups = {cracky=3},
  1142. sounds = default.node_sound_metal_defaults(),
  1143. })
  1144. minetest.register_node("bridger:truss_superstructure_simple_end_left_" .. bridge_color, {
  1145. description = bridge_desc .. " Truss Superstructure Simple Left End",
  1146. drawtype = "nodebox",
  1147. tiles = {"bridges_" .. bridge_color .. ".png"},
  1148. inventory_image = "bridges_" .. bridge_color ..
  1149. ".png^bridges_superstructure_simple_end_left.png^[makealpha:255,126,126",
  1150. wield_image = "bridges_" .. bridge_color ..
  1151. ".png^bridges_superstructure_simple_end_left.png^[makealpha:255,126,126",
  1152. paramtype = "light",
  1153. paramtype2 = "facedir",
  1154. sunlight_propagates = true,
  1155. node_box = {
  1156. type = "fixed",
  1157. fixed = {
  1158. {0.375, -0.5, 0.375, 0.5, 2.5, 0.5},
  1159. },
  1160. },
  1161. groups = {cracky=3},
  1162. sounds = default.node_sound_metal_defaults(),
  1163. })
  1164. minetest.register_node("bridger:truss_superstructure_simple_end_right_" .. bridge_color, {
  1165. description = bridge_desc .. " Truss Superstructure Simple Right End",
  1166. drawtype = "nodebox",
  1167. tiles = {"bridges_" .. bridge_color .. ".png"},
  1168. inventory_image = "bridges_" .. bridge_color ..
  1169. ".png^bridges_superstructure_simple_end_right.png^[makealpha:255,126,126",
  1170. wield_image = "bridges_" .. bridge_color ..
  1171. ".png^bridges_superstructure_simple_end_right.png^[makealpha:255,126,126",
  1172. paramtype = "light",
  1173. paramtype2 = "facedir",
  1174. sunlight_propagates = true,
  1175. node_box = {
  1176. type = "fixed",
  1177. fixed = {
  1178. {-0.5, -0.5, 0.375, -0.375, 2.5, 0.5},
  1179. },
  1180. },
  1181. groups = {cracky=3},
  1182. sounds = default.node_sound_metal_defaults(),
  1183. })
  1184. minetest.register_node("bridger:truss_superstructure_up_right_slant_" .. bridge_color, {
  1185. description = bridge_desc .. " Truss Superstructure Up Right Slant",
  1186. drawtype = "nodebox",
  1187. tiles = {"bridges_" .. bridge_color .. ".png"},
  1188. inventory_image = "bridges_" .. bridge_color ..
  1189. ".png^bridges_superstructure_up_right_slant.png^[makealpha:255,126,126",
  1190. wield_image = "bridges_" .. bridge_color ..
  1191. ".png^bridges_superstructure_up_right_slant.png^[makealpha:255,126,126",
  1192. paramtype = "light",
  1193. paramtype2 = "facedir",
  1194. sunlight_propagates = true,
  1195. node_box = {
  1196. type = "fixed",
  1197. fixed = {
  1198. {-0.5, -0.5, 0.375, 1.5, 0.0625, 0.5},
  1199. {1.375, 3.375, 0.375, 1.5, 3.5, 0.5},
  1200. {-0.5, -0.5, 0.375, -0.4375, 2.5, 0.5},
  1201. {1.4375, -0.5, 0.375, 1.5, 3.5, 0.5},
  1202. {1.25, 3.3125, 0.375, 1.375, 3.4375, 0.5},
  1203. {1.125, 3.25, 0.375, 1.25, 3.375, 0.5},
  1204. {1, 3.1875, 0.375, 1.125, 3.3125, 0.5},
  1205. {0.875, 3.125, 0.375, 1, 3.25, 0.5},
  1206. {0.75, 3.0625, 0.375, 0.875, 3.1875, 0.5},
  1207. {0.625, 3, 0.375, 0.75, 3.125, 0.5},
  1208. {0.5, 2.9375, 0.375, 0.625, 3.0625, 0.5},
  1209. {0.375, 2.875, 0.375, 0.5, 3, 0.5},
  1210. {0.25, 2.8125, 0.375, 0.375, 2.9375, 0.5},
  1211. {0.125, 2.75, 0.375, 0.25, 2.875, 0.5},
  1212. {0, 2.6875, 0.375, 0.125, 2.8125, 0.5},
  1213. {-0.125, 2.625, 0.375, -1.2666e-007, 2.75, 0.5},
  1214. {-0.25, 2.5625, 0.375, -0.125, 2.6875, 0.5},
  1215. {-0.375, 2.5, 0.375, -0.25, 2.625, 0.5},
  1216. {-0.5, 2.4375, 0.375, -0.375, 2.5625, 0.5},
  1217. {-0.4375, 2.25, 0.375, -0.3125, 2.375, 0.5},
  1218. {-0.375, 2.1875, 0.375, -0.25, 2.3125, 0.5},
  1219. {-0.3125, 2.0625, 0.375, -0.1875, 2.25, 0.5},
  1220. {-0.25, 2, 0.375, -0.125, 2.125, 0.5},
  1221. {-0.1875, 1.9375, 0.375, -0.0625, 2.0625, 0.5},
  1222. {-0.125, 1.875, 0.375, 0, 2, 0.5},
  1223. {-0.0625, 1.75, 0.375, 0.0625, 1.9375, 0.5},
  1224. {0, 1.6875, 0.375, 0.125, 1.8125, 0.5},
  1225. {0.0625, 1.625, 0.375, 0.1875, 1.75, 0.5},
  1226. {0.125, 1.5625, 0.375, 0.25, 1.6875, 0.5},
  1227. {0.1875, 1.4375, 0.375, 0.3125, 1.625, 0.5},
  1228. {0.25, 1.375, 0.375, 0.375, 1.5, 0.5},
  1229. {0.3125, 1.3125, 0.375, 0.4375, 1.4375, 0.5},
  1230. {0.375, 1.25, 0.375, 0.5, 1.375, 0.5},
  1231. {0.4375, 1.125, 0.375, 0.5625, 1.3125, 0.5},
  1232. {0.5, 1.0625, 0.375, 0.625, 1.1875, 0.5},
  1233. {0.5625, 1, 0.375, 0.6875, 1.125, 0.5},
  1234. {0.625, 0.9375, 0.375, 0.75, 1.0625, 0.5},
  1235. {0.6875, 0.8125, 0.375, 0.8125, 1, 0.5},
  1236. {0.75, 0.75, 0.375, 0.875, 0.875, 0.5},
  1237. {0.8125, 0.6875, 0.375, 0.9375, 0.8125, 0.5},
  1238. {0.875, 0.625, 0.375, 1, 0.75, 0.5},
  1239. {0.9375, 0.5, 0.375, 1.0625, 0.6875, 0.5},
  1240. {1, 0.4375, 0.375, 1.125, 0.5625, 0.5},
  1241. {1.0625, 0.375, 0.375, 1.1875, 0.5, 0.5},
  1242. {1.125, 0.3125, 0.375, 1.25, 0.4375, 0.5},
  1243. {1.1875, 0.1875, 0.375, 1.3125, 0.375, 0.5},
  1244. {1.25, 0.125, 0.375, 1.375, 0.25, 0.5},
  1245. {1.3125, 0.0625, 0.375, 1.4375, 0.1875, 0.5},
  1246. {1.375, 0, 0.375, 1.5, 0.125, 0.5},
  1247. {-0.4375, 2.3125, 0.375, -0.3125, 2.4375, 0.5},
  1248. },
  1249. },
  1250. selection_box = {
  1251. type = "fixed",
  1252. fixed = {
  1253. {-0.5, -0.5, 0.375, 1.5, 3.5, 0.5},
  1254. },
  1255. },
  1256. collision_box = {
  1257. type = "fixed",
  1258. fixed = {
  1259. {-0.5, -0.5, 0.375, 1.5, 3.5, 0.5},
  1260. },
  1261. },
  1262. groups = {cracky=3},
  1263. sounds = default.node_sound_metal_defaults(),
  1264. })
  1265. minetest.register_node("bridger:truss_superstructure_up_left_slant_" .. bridge_color, {
  1266. description = bridge_desc .. " Truss Superstructure Up Left Slant",
  1267. drawtype = "nodebox",
  1268. tiles = {"bridges_" .. bridge_color .. ".png"},
  1269. inventory_image = "bridges_" .. bridge_color ..
  1270. ".png^bridges_superstructure_up_left_slant.png^[makealpha:255,126,126",
  1271. wield_image = "bridges_" .. bridge_color ..
  1272. ".png^bridges_superstructure_up_left_slant.png^[makealpha:255,126,126",
  1273. paramtype = "light",
  1274. paramtype2 = "facedir",
  1275. sunlight_propagates = true,
  1276. node_box = {
  1277. type = "fixed",
  1278. fixed = {
  1279. {-0.5, -0.5, 0.375, 1.5, 0.0625, 0.5},
  1280. {1.375, 3.375, 0.375, 1.5, 3.5, 0.5},
  1281. {-0.5, -0.5, 0.375, -0.4375, 2.5, 0.5},
  1282. {1.4375, -0.5, 0.375, 1.5, 3.5, 0.5},
  1283. {1.25, 3.3125, 0.375, 1.375, 3.4375, 0.5},
  1284. {1.125, 3.25, 0.375, 1.25, 3.375, 0.5},
  1285. {1, 3.1875, 0.375, 1.125, 3.3125, 0.5},
  1286. {0.875, 3.125, 0.375, 1, 3.25, 0.5},
  1287. {0.75, 3.0625, 0.375, 0.875, 3.1875, 0.5},
  1288. {0.625, 3, 0.375, 0.75, 3.125, 0.5},
  1289. {0.5, 2.9375, 0.375, 0.625, 3.0625, 0.5},
  1290. {0.375, 2.875, 0.375, 0.5, 3, 0.5},
  1291. {0.25, 2.8125, 0.375, 0.375, 2.9375, 0.5},
  1292. {0.125, 2.75, 0.375, 0.25, 2.875, 0.5},
  1293. {0, 2.6875, 0.375, 0.125, 2.8125, 0.5},
  1294. {-0.125, 2.625, 0.375, -1.2666e-007, 2.75, 0.5},
  1295. {-0.25, 2.5625, 0.375, -0.125, 2.6875, 0.5},
  1296. {-0.375, 2.5, 0.375, -0.25, 2.625, 0.5},
  1297. {-0.5, 2.4375, 0.375, -0.375, 2.5625, 0.5},
  1298. {1.3125, 3.25, 0.375, 1.4375, 3.375, 0.5},
  1299. {1.25, 3.125, 0.375, 1.375, 3.3125, 0.5},
  1300. {1.1875, 3, 0.375, 1.3125, 3.1875, 0.5},
  1301. {1.125, 2.875, 0.375, 1.25, 3.0625, 0.5},
  1302. {1.0625, 2.75, 0.375, 1.1875, 2.9375, 0.5},
  1303. {1, 2.625, 0.375, 1.125, 2.8125, 0.5},
  1304. {0.9375, 2.5625, 0.375, 1.0625, 2.6875, 0.5},
  1305. {0.875, 2.4375, 0.375, 1, 2.625, 0.5},
  1306. {0.8125, 2.3125, 0.375, 0.9375, 2.5, 0.5},
  1307. {0.75, 2.1875, 0.375, 0.875, 2.375, 0.5},
  1308. {0.6875, 2.0625, 0.375, 0.8125, 2.25, 0.5},
  1309. {0.625, 2, 0.375, 0.75, 2.125, 0.5},
  1310. {0.5625, 1.875, 0.375, 0.6875, 2.0625, 0.5},
  1311. {0.5, 1.75, 0.375, 0.625, 1.9375, 0.5},
  1312. {0.4375, 1.625, 0.375, 0.5625, 1.8125, 0.5},
  1313. {0.375, 1.5, 0.375, 0.5, 1.6875, 0.5},
  1314. {0.3125, 1.375, 0.375, 0.4375, 1.5625, 0.5},
  1315. {0.25, 1.3125, 0.375, 0.375, 1.4375, 0.5},
  1316. {0.1875, 1.1875, 0.375, 0.3125, 1.375, 0.5},
  1317. {0.125, 1.0625, 0.375, 0.25, 1.25, 0.5},
  1318. {0.0625, 0.9375, 0.375, 0.1875, 1.125, 0.5},
  1319. {0, 0.8125, 0.375, 0.125, 1, 0.5},
  1320. {-0.0625, 0.75, 0.375, 0.0625, 0.875, 0.5},
  1321. {-0.125, 0.625, 0.375, -3.35276e-008, 0.8125, 0.5},
  1322. {-0.1875, 0.5, 0.375, -0.0625, 0.6875, 0.5},
  1323. {-0.25, 0.375, 0.375, -0.125, 0.5625, 0.5},
  1324. {-0.3125, 0.25, 0.375, -0.1875, 0.4375, 0.5},
  1325. {-0.375, 0.125, 0.375, -0.25, 0.3125, 0.5},
  1326. {-0.4375, 0.0625, 0.375, -0.3125, 0.1875, 0.5},
  1327. },
  1328. },
  1329. selection_box = {
  1330. type = "fixed",
  1331. fixed = {
  1332. {-0.5, -0.5, 0.375, 1.5, 3.5, 0.5},
  1333. },
  1334. },
  1335. collision_box = {
  1336. type = "fixed",
  1337. fixed = {
  1338. {-0.5, -0.5, 0.375, 1.5, 3.5, 0.5},
  1339. },
  1340. },
  1341. groups = {cracky=3},
  1342. sounds = default.node_sound_metal_defaults(),
  1343. })
  1344. minetest.register_node("bridger:truss_superstructure_up_mid_" .. bridge_color, {
  1345. description = bridge_desc .. " Truss Superstructure Up Middle",
  1346. drawtype = "nodebox",
  1347. tiles = {"bridges_" .. bridge_color .. ".png"},
  1348. inventory_image = "bridges_" .. bridge_color ..
  1349. ".png^bridges_superstructure_up_mid.png^[makealpha:255,126,126",
  1350. wield_image = "bridges_" .. bridge_color ..
  1351. ".png^bridges_superstructure_up_mid.png^[makealpha:255,126,126",
  1352. paramtype = "light",
  1353. paramtype2 = "facedir",
  1354. sunlight_propagates = true,
  1355. node_box = {
  1356. type = "fixed",
  1357. fixed = {
  1358. {-0.5, -0.5, 0.375, 1.5, 0.0625, 0.5},
  1359. {1.375, 3.375, 0.375, 1.5, 3.5, 0.5},
  1360. {-0.5, -0.5, 0.375, -0.4375, 2.5, 0.5},
  1361. {1.4375, -0.5, 0.375, 1.5, 3.5, 0.5},
  1362. {1.25, 3.3125, 0.375, 1.375, 3.4375, 0.5},
  1363. {1.125, 3.25, 0.375, 1.25, 3.375, 0.5},
  1364. {1, 3.1875, 0.375, 1.125, 3.3125, 0.5},
  1365. {0.875, 3.125, 0.375, 1, 3.25, 0.5},
  1366. {0.75, 3.0625, 0.375, 0.875, 3.1875, 0.5},
  1367. {0.625, 3, 0.375, 0.75, 3.125, 0.5},
  1368. {0.5, 2.9375, 0.375, 0.625, 3.0625, 0.5},
  1369. {0.375, 2.875, 0.375, 0.5, 3, 0.5},
  1370. {0.25, 2.8125, 0.375, 0.375, 2.9375, 0.5},
  1371. {0.125, 2.75, 0.375, 0.25, 2.875, 0.5},
  1372. {0, 2.6875, 0.375, 0.125, 2.8125, 0.5},
  1373. {-0.125, 2.625, 0.375, -1.2666e-007, 2.75, 0.5},
  1374. {-0.25, 2.5625, 0.375, -0.125, 2.6875, 0.5},
  1375. {-0.375, 2.5, 0.375, -0.25, 2.625, 0.5},
  1376. {-0.5, 2.4375, 0.375, -0.375, 2.5625, 0.5},
  1377. {1.3125, 3.25, 0.375, 1.4375, 3.375, 0.5},
  1378. {1.25, 3.125, 0.375, 1.375, 3.3125, 0.5},
  1379. {1.1875, 3, 0.375, 1.3125, 3.1875, 0.5},
  1380. {1.125, 2.875, 0.375, 1.25, 3.0625, 0.5},
  1381. {1.0625, 2.75, 0.375, 1.1875, 2.9375, 0.5},
  1382. {1, 2.625, 0.375, 1.125, 2.8125, 0.5},
  1383. {0.9375, 2.5625, 0.375, 1.0625, 2.6875, 0.5},
  1384. {0.875, 2.4375, 0.375, 1, 2.625, 0.5},
  1385. {0.8125, 2.3125, 0.375, 0.9375, 2.5, 0.5},
  1386. {0.75, 2.1875, 0.375, 0.875, 2.375, 0.5},
  1387. {0.6875, 2.0625, 0.375, 0.8125, 2.25, 0.5},
  1388. {0.625, 2, 0.375, 0.75, 2.125, 0.5},
  1389. {0.5625, 1.875, 0.375, 0.6875, 2.0625, 0.5},
  1390. {0.5, 1.75, 0.375, 0.625, 1.9375, 0.5},
  1391. {0.4375, 1.625, 0.375, 0.5625, 1.8125, 0.5},
  1392. {0.375, 1.5, 0.375, 0.5, 1.6875, 0.5},
  1393. {0.3125, 1.375, 0.375, 0.4375, 1.5625, 0.5},
  1394. {0.25, 1.3125, 0.375, 0.375, 1.4375, 0.5},
  1395. {0.1875, 1.1875, 0.375, 0.3125, 1.375, 0.5},
  1396. {0.125, 1.0625, 0.375, 0.25, 1.25, 0.5},
  1397. {0.0625, 0.9375, 0.375, 0.1875, 1.125, 0.5},
  1398. {0, 0.8125, 0.375, 0.125, 1, 0.5},
  1399. {-0.0625, 0.75, 0.375, 0.0625, 0.875, 0.5},
  1400. {-0.125, 0.625, 0.375, -3.35276e-008, 0.8125, 0.5},
  1401. {-0.1875, 0.5, 0.375, -0.0625, 0.6875, 0.5},
  1402. {-0.25, 0.375, 0.375, -0.125, 0.5625, 0.5},
  1403. {-0.3125, 0.25, 0.375, -0.1875, 0.4375, 0.5},
  1404. {-0.375, 0.125, 0.375, -0.25, 0.3125, 0.5},
  1405. {-0.4375, 0.0625, 0.375, -0.3125, 0.1875, 0.5},
  1406. {-0.4375, 2.25, 0.375, -0.3125, 2.375, 0.5},
  1407. {-0.375, 2.1875, 0.375, -0.25, 2.3125, 0.5},
  1408. {-0.3125, 2.0625, 0.375, -0.1875, 2.25, 0.5},
  1409. {-0.25, 2, 0.375, -0.125, 2.125, 0.5},
  1410. {-0.1875, 1.9375, 0.375, -0.0625, 2.0625, 0.5},
  1411. {-0.125, 1.875, 0.375, 0, 2, 0.5},
  1412. {-0.0625, 1.75, 0.375, 0.0625, 1.9375, 0.5},
  1413. {0, 1.6875, 0.375, 0.125, 1.8125, 0.5},
  1414. {0.0625, 1.625, 0.375, 0.1875, 1.75, 0.5},
  1415. {0.125, 1.5625, 0.375, 0.25, 1.6875, 0.5},
  1416. {0.1875, 1.4375, 0.375, 0.3125, 1.625, 0.5},
  1417. {0.25, 1.375, 0.375, 0.375, 1.5, 0.5},
  1418. {0.3125, 1.3125, 0.375, 0.4375, 1.4375, 0.5},
  1419. {0.375, 1.25, 0.375, 0.5, 1.375, 0.5},
  1420. {0.4375, 1.125, 0.375, 0.5625, 1.3125, 0.5},
  1421. {0.5, 1.0625, 0.375, 0.625, 1.1875, 0.5},
  1422. {0.5625, 1, 0.375, 0.6875, 1.125, 0.5},
  1423. {0.625, 0.9375, 0.375, 0.75, 1.0625, 0.5},
  1424. {0.6875, 0.8125, 0.375, 0.8125, 1, 0.5},
  1425. {0.75, 0.75, 0.375, 0.875, 0.875, 0.5},
  1426. {0.8125, 0.6875, 0.375, 0.9375, 0.8125, 0.5},
  1427. {0.875, 0.625, 0.375, 1, 0.75, 0.5},
  1428. {0.9375, 0.5, 0.375, 1.0625, 0.6875, 0.5},
  1429. {1, 0.4375, 0.375, 1.125, 0.5625, 0.5},
  1430. {1.0625, 0.375, 0.375, 1.1875, 0.5, 0.5},
  1431. {1.125, 0.3125, 0.375, 1.25, 0.4375, 0.5},
  1432. {1.1875, 0.1875, 0.375, 1.3125, 0.375, 0.5},
  1433. {1.25, 0.125, 0.375, 1.375, 0.25, 0.5},
  1434. {1.3125, 0.0625, 0.375, 1.4375, 0.1875, 0.5},
  1435. {1.375, 0, 0.375, 1.5, 0.125, 0.5},
  1436. {-0.4375, 2.3125, 0.375, -0.3125, 2.4375, 0.5},
  1437. },
  1438. },
  1439. selection_box = {
  1440. type = "fixed",
  1441. fixed = {
  1442. {-0.5, -0.5, 0.375, 1.5, 3.5, 0.5},
  1443. },
  1444. },
  1445. collision_box = {
  1446. type = "fixed",
  1447. fixed = {
  1448. {-0.5, -0.5, 0.375, 1.5, 3.5, 0.5},
  1449. },
  1450. },
  1451. groups = {cracky=3},
  1452. sounds = default.node_sound_metal_defaults(),
  1453. })
  1454. minetest.register_node("bridger:truss_superstructure_up_simple_" .. bridge_color, {
  1455. description = bridge_desc .. " Truss Superstructure Up Simple",
  1456. drawtype = "nodebox",
  1457. tiles = {"bridges_" .. bridge_color .. ".png"},
  1458. inventory_image = "bridges_" .. bridge_color ..
  1459. ".png^bridges_superstructure_up_simple.png^[makealpha:255,126,126",
  1460. wield_image = "bridges_" .. bridge_color ..
  1461. ".png^bridges_superstructure_up_simple.png^[makealpha:255,126,126",
  1462. paramtype = "light",
  1463. paramtype2 = "facedir",
  1464. sunlight_propagates = true,
  1465. node_box = {
  1466. type = "fixed",
  1467. fixed = {
  1468. {-0.5, -0.5, 0.375, 1.5, 0.0625, 0.5},
  1469. {1.375, 3.375, 0.375, 1.5, 3.5, 0.5},
  1470. {1.25, 3.3125, 0.375, 1.375, 3.4375, 0.5},
  1471. {1.125, 3.25, 0.375, 1.25, 3.375, 0.5},
  1472. {1, 3.1875, 0.375, 1.125, 3.3125, 0.5},
  1473. {0.875, 3.125, 0.375, 1, 3.25, 0.5},
  1474. {0.75, 3.0625, 0.375, 0.875, 3.1875, 0.5},
  1475. {0.625, 3, 0.375, 0.75, 3.125, 0.5},
  1476. {0.5, 2.9375, 0.375, 0.625, 3.0625, 0.5},
  1477. {0.375, 2.875, 0.375, 0.5, 3, 0.5},
  1478. {0.25, 2.8125, 0.375, 0.375, 2.9375, 0.5},
  1479. {0.125, 2.75, 0.375, 0.25, 2.875, 0.5},
  1480. {0, 2.6875, 0.375, 0.125, 2.8125, 0.5},
  1481. {-0.125, 2.625, 0.375, -1.2666e-007, 2.75, 0.5},
  1482. {-0.25, 2.5625, 0.375, -0.125, 2.6875, 0.5},
  1483. {-0.375, 2.5, 0.375, -0.25, 2.625, 0.5},
  1484. {-0.5, 2.4375, 0.375, -0.375, 2.5625, 0.5},
  1485. {1.3125, 3.25, 0.375, 1.4375, 3.375, 0.5},
  1486. {1.25, 3.125, 0.375, 1.375, 3.3125, 0.5},
  1487. {1.1875, 3, 0.375, 1.3125, 3.1875, 0.5},
  1488. {1.125, 2.875, 0.375, 1.25, 3.0625, 0.5},
  1489. {1.0625, 2.75, 0.375, 1.1875, 2.9375, 0.5},
  1490. {1, 2.625, 0.375, 1.125, 2.8125, 0.5},
  1491. {0.9375, 2.5625, 0.375, 1.0625, 2.6875, 0.5},
  1492. {0.875, 2.4375, 0.375, 1, 2.625, 0.5},
  1493. {0.8125, 2.3125, 0.375, 0.9375, 2.5, 0.5},
  1494. {0.75, 2.1875, 0.375, 0.875, 2.375, 0.5},
  1495. {0.6875, 2.0625, 0.375, 0.8125, 2.25, 0.5},
  1496. {0.625, 2, 0.375, 0.75, 2.125, 0.5},
  1497. {0.5625, 1.875, 0.375, 0.6875, 2.0625, 0.5},
  1498. {0.5, 1.75, 0.375, 0.625, 1.9375, 0.5},
  1499. {0.4375, 1.625, 0.375, 0.5625, 1.8125, 0.5},
  1500. {0.375, 1.5, 0.375, 0.5, 1.6875, 0.5},
  1501. {0.3125, 1.375, 0.375, 0.4375, 1.5625, 0.5},
  1502. {0.25, 1.3125, 0.375, 0.375, 1.4375, 0.5},
  1503. {0.1875, 1.1875, 0.375, 0.3125, 1.375, 0.5},
  1504. {0.125, 1.0625, 0.375, 0.25, 1.25, 0.5},
  1505. {0.0625, 0.9375, 0.375, 0.1875, 1.125, 0.5},
  1506. {0, 0.8125, 0.375, 0.125, 1, 0.5},
  1507. {-0.0625, 0.75, 0.375, 0.0625, 0.875, 0.5},
  1508. {-0.125, 0.625, 0.375, -3.35276e-008, 0.8125, 0.5},
  1509. {-0.1875, 0.5, 0.375, -0.0625, 0.6875, 0.5},
  1510. {-0.25, 0.375, 0.375, -0.125, 0.5625, 0.5},
  1511. {-0.3125, 0.25, 0.375, -0.1875, 0.4375, 0.5},
  1512. {-0.375, 0.125, 0.375, -0.25, 0.3125, 0.5},
  1513. {-0.4375, 0.0625, 0.375, -0.3125, 0.1875, 0.5},
  1514. {-0.4375, 2.25, 0.375, -0.3125, 2.375, 0.5},
  1515. {-0.375, 2.1875, 0.375, -0.25, 2.3125, 0.5},
  1516. {-0.3125, 2.0625, 0.375, -0.1875, 2.25, 0.5},
  1517. {-0.25, 2, 0.375, -0.125, 2.125, 0.5},
  1518. {-0.1875, 1.9375, 0.375, -0.0625, 2.0625, 0.5},
  1519. {-0.125, 1.875, 0.375, 0, 2, 0.5},
  1520. {-0.0625, 1.75, 0.375, 0.0625, 1.9375, 0.5},
  1521. {0, 1.6875, 0.375, 0.125, 1.8125, 0.5},
  1522. {0.0625, 1.625, 0.375, 0.1875, 1.75, 0.5},
  1523. {0.125, 1.5625, 0.375, 0.25, 1.6875, 0.5},
  1524. {0.1875, 1.4375, 0.375, 0.3125, 1.625, 0.5},
  1525. {0.25, 1.375, 0.375, 0.375, 1.5, 0.5},
  1526. {0.3125, 1.3125, 0.375, 0.4375, 1.4375, 0.5},
  1527. {0.375, 1.25, 0.375, 0.5, 1.375, 0.5},
  1528. {0.4375, 1.125, 0.375, 0.5625, 1.3125, 0.5},
  1529. {0.5, 1.0625, 0.375, 0.625, 1.1875, 0.5},
  1530. {0.5625, 1, 0.375, 0.6875, 1.125, 0.5},
  1531. {0.625, 0.9375, 0.375, 0.75, 1.0625, 0.5},
  1532. {0.6875, 0.8125, 0.375, 0.8125, 1, 0.5},
  1533. {0.75, 0.75, 0.375, 0.875, 0.875, 0.5},
  1534. {0.8125, 0.6875, 0.375, 0.9375, 0.8125, 0.5},
  1535. {0.875, 0.625, 0.375, 1, 0.75, 0.5},
  1536. {0.9375, 0.5, 0.375, 1.0625, 0.6875, 0.5},
  1537. {1, 0.4375, 0.375, 1.125, 0.5625, 0.5},
  1538. {1.0625, 0.375, 0.375, 1.1875, 0.5, 0.5},
  1539. {1.125, 0.3125, 0.375, 1.25, 0.4375, 0.5},
  1540. {1.1875, 0.1875, 0.375, 1.3125, 0.375, 0.5},
  1541. {1.25, 0.125, 0.375, 1.375, 0.25, 0.5},
  1542. {1.3125, 0.0625, 0.375, 1.4375, 0.1875, 0.5},
  1543. {1.375, 0, 0.375, 1.5, 0.125, 0.5},
  1544. {-0.4375, 2.3125, 0.375, -0.3125, 2.4375, 0.5},
  1545. },
  1546. },
  1547. selection_box = {
  1548. type = "fixed",
  1549. fixed = {
  1550. {-0.5, -0.5, 0.375, 1.5, 3.5, 0.5},
  1551. },
  1552. },
  1553. collision_box = {
  1554. type = "fixed",
  1555. fixed = {
  1556. {-0.5, -0.5, 0.375, 1.5, 3.5, 0.5},
  1557. },
  1558. },
  1559. groups = {cracky=3},
  1560. sounds = default.node_sound_metal_defaults(),
  1561. })
  1562. minetest.register_node("bridger:truss_superstructure_down_right_slant_" .. bridge_color, {
  1563. description = bridge_desc .. " Truss Superstructure Down Right Slant",
  1564. drawtype = "nodebox",
  1565. tiles = {"bridges_" .. bridge_color .. ".png"},
  1566. inventory_image = "bridges_" .. bridge_color ..
  1567. ".png^bridges_superstructure_down_right_slant.png^[makealpha:255,126,126",
  1568. wield_image = "bridges_" .. bridge_color ..
  1569. ".png^bridges_superstructure_down_right_slant.png^[makealpha:255,126,126",
  1570. paramtype = "light",
  1571. paramtype2 = "facedir",
  1572. sunlight_propagates = true,
  1573. node_box = {
  1574. type = "fixed",
  1575. fixed = {
  1576. {-0.5, -0.5, 0.375, 1.5, 0.0625, 0.5},
  1577. {1.375, 2.4375, 0.375, 1.5, 2.5625, 0.5},
  1578. {-0.5, -0.5, 0.375, -0.4375, 3.5, 0.5},
  1579. {1.4375, -0.5, 0.375, 1.5, 2.5, 0.5},
  1580. {1.25, 2.5, 0.375, 1.375, 2.625, 0.5},
  1581. {1.125, 2.5625, 0.375, 1.25, 2.6875, 0.5},
  1582. {1, 2.625, 0.375, 1.125, 2.75, 0.5},
  1583. {0.875, 2.6875, 0.375, 1, 2.8125, 0.5},
  1584. {0.75, 2.75, 0.375, 0.875, 2.875, 0.5},
  1585. {0.625, 2.8125, 0.375, 0.75, 2.9375, 0.5},
  1586. {0.5, 2.875, 0.375, 0.625, 3, 0.5},
  1587. {0.375, 2.9375, 0.375, 0.5, 3.0625, 0.5},
  1588. {0.25, 3, 0.375, 0.375, 3.125, 0.5},
  1589. {0.125, 3.0625, 0.375, 0.25, 3.1875, 0.5},
  1590. {0, 3.125, 0.375, 0.125, 3.25, 0.5},
  1591. {-0.125, 3.1875, 0.375, -1.2666e-007, 3.3125, 0.5},
  1592. {-0.25, 3.25, 0.375, -0.125, 3.375, 0.5},
  1593. {-0.375, 3.3125, 0.375, -0.25, 3.4375, 0.5},
  1594. {-0.5, 3.375, 0.375, -0.375, 3.5, 0.5},
  1595. {-0.4375, 3.25, 0.375, -0.3125, 3.375, 0.5},
  1596. {-0.375, 3.125, 0.375, -0.25, 3.3125, 0.5},
  1597. {-0.3125, 3, 0.375, -0.1875, 3.1875, 0.5},
  1598. {-0.25, 2.875, 0.375, -0.125, 3.0625, 0.5},
  1599. {-0.1875, 2.75, 0.375, -0.0625, 2.9375, 0.5},
  1600. {-0.125, 2.625, 0.375, 1.11759e-008, 2.8125, 0.5},
  1601. {-0.0625, 2.5625, 0.375, 0.0625, 2.6875, 0.5},
  1602. {0, 2.4375, 0.375, 0.125, 2.625, 0.5},
  1603. {0.0625, 2.3125, 0.375, 0.1875, 2.5, 0.5},
  1604. {0.125, 2.1875, 0.375, 0.25, 2.375, 0.5},
  1605. {0.1875, 2.0625, 0.375, 0.3125, 2.25, 0.5},
  1606. {0.25, 2, 0.375, 0.375, 2.125, 0.5},
  1607. {0.3125, 1.875, 0.375, 0.4375, 2.0625, 0.5},
  1608. {0.375, 1.75, 0.375, 0.5, 1.9375, 0.5},
  1609. {0.4375, 1.625, 0.375, 0.5625, 1.8125, 0.5},
  1610. {0.5, 1.5, 0.375, 0.625, 1.6875, 0.5},
  1611. {0.5625, 1.375, 0.375, 0.6875, 1.5625, 0.5},
  1612. {0.625, 1.3125, 0.375, 0.75, 1.4375, 0.5},
  1613. {0.6875, 1.1875, 0.375, 0.8125, 1.375, 0.5},
  1614. {0.75, 1.0625, 0.375, 0.875, 1.25, 0.5},
  1615. {0.8125, 0.9375, 0.375, 0.9375, 1.125, 0.5},
  1616. {0.875, 0.8125, 0.375, 1, 1, 0.5},
  1617. {0.9375, 0.75, 0.375, 1.0625, 0.875, 0.5},
  1618. {1, 0.625, 0.375, 1.125, 0.8125, 0.5},
  1619. {1.0625, 0.5, 0.375, 1.1875, 0.6875, 0.5},
  1620. {1.125, 0.375, 0.375, 1.25, 0.5625, 0.5},
  1621. {1.1875, 0.25, 0.375, 1.3125, 0.4375, 0.5},
  1622. {1.25, 0.125, 0.375, 1.375, 0.3125, 0.5},
  1623. {1.3125, 0.0625, 0.375, 1.4375, 0.1875, 0.5},
  1624. },
  1625. },
  1626. selection_box = {
  1627. type = "fixed",
  1628. fixed = {
  1629. {-0.5, -0.5, 0.375, 1.5, 3.5, 0.5},
  1630. },
  1631. },
  1632. collision_box = {
  1633. type = "fixed",
  1634. fixed = {
  1635. {-0.5, -0.5, 0.375, 1.5, 3.5, 0.5},
  1636. },
  1637. },
  1638. groups = {cracky=3},
  1639. sounds = default.node_sound_metal_defaults(),
  1640. })
  1641. minetest.register_node("bridger:truss_superstructure_down_left_slant_" .. bridge_color, {
  1642. description = bridge_desc .. " Truss Superstructure Down Left Slant",
  1643. drawtype = "nodebox",
  1644. tiles = {"bridges_" .. bridge_color .. ".png"},
  1645. inventory_image = "bridges_" .. bridge_color ..
  1646. ".png^bridges_superstructure_down_left_slant.png^[makealpha:255,126,126",
  1647. wield_image = "bridges_" .. bridge_color ..
  1648. ".png^bridges_superstructure_down_left_slant.png^[makealpha:255,126,126",
  1649. paramtype = "light",
  1650. paramtype2 = "facedir",
  1651. sunlight_propagates = true,
  1652. node_box = {
  1653. type = "fixed",
  1654. fixed = {
  1655. {-0.5, -0.5, 0.375, 1.5, 0.0625, 0.5},
  1656. {1.375, 2.4375, 0.375, 1.5, 2.5625, 0.5},
  1657. {-0.5, -0.5, 0.375, -0.4375, 3.5, 0.5},
  1658. {1.4375, -0.5, 0.375, 1.5, 2.5, 0.5},
  1659. {1.25, 2.5, 0.375, 1.375, 2.625, 0.5},
  1660. {1.125, 2.5625, 0.375, 1.25, 2.6875, 0.5},
  1661. {1, 2.625, 0.375, 1.125, 2.75, 0.5},
  1662. {0.875, 2.6875, 0.375, 1, 2.8125, 0.5},
  1663. {0.75, 2.75, 0.375, 0.875, 2.875, 0.5},
  1664. {0.625, 2.8125, 0.375, 0.75, 2.9375, 0.5},
  1665. {0.5, 2.875, 0.375, 0.625, 3, 0.5},
  1666. {0.375, 2.9375, 0.375, 0.5, 3.0625, 0.5},
  1667. {0.25, 3, 0.375, 0.375, 3.125, 0.5},
  1668. {0.125, 3.0625, 0.375, 0.25, 3.1875, 0.5},
  1669. {0, 3.125, 0.375, 0.125, 3.25, 0.5},
  1670. {-0.125, 3.1875, 0.375, -1.2666e-007, 3.3125, 0.5},
  1671. {-0.25, 3.25, 0.375, -0.125, 3.375, 0.5},
  1672. {-0.375, 3.3125, 0.375, -0.25, 3.4375, 0.5},
  1673. {-0.5, 3.375, 0.375, -0.375, 3.5, 0.5},
  1674. {1.3125, 2.25, 0.375, 1.4375, 2.375, 0.5},
  1675. {1.25, 2.1875, 0.375, 1.375, 2.3125, 0.5},
  1676. {1.1875, 2.0625, 0.375, 1.3125, 2.25, 0.5},
  1677. {1.125, 2, 0.375, 1.25, 2.125, 0.5},
  1678. {1.0625, 1.9375, 0.375, 1.1875, 2.0625, 0.5},
  1679. {1, 1.875, 0.375, 1.125, 2, 0.5},
  1680. {0.9375, 1.75, 0.375, 1.0625, 1.9375, 0.5},
  1681. {0.875, 1.6875, 0.375, 1, 1.8125, 0.5},
  1682. {0.8125, 1.625, 0.375, 0.9375, 1.75, 0.5},
  1683. {0.75, 1.5625, 0.375, 0.875, 1.6875, 0.5},
  1684. {0.6875, 1.4375, 0.375, 0.8125, 1.625, 0.5},
  1685. {0.625, 1.375, 0.375, 0.75, 1.5, 0.5},
  1686. {0.5625, 1.3125, 0.375, 0.6875, 1.4375, 0.5},
  1687. {0.5, 1.25, 0.375, 0.625, 1.375, 0.5},
  1688. {0.4375, 1.125, 0.375, 0.5625, 1.3125, 0.5},
  1689. {0.375, 1.0625, 0.375, 0.5, 1.1875, 0.5},
  1690. {0.3125, 1, 0.375, 0.4375, 1.125, 0.5},
  1691. {0.25, 0.9375, 0.375, 0.375, 1.0625, 0.5},
  1692. {0.1875, 0.8125, 0.375, 0.3125, 1, 0.5},
  1693. {0.125, 0.75, 0.375, 0.25, 0.875, 0.5},
  1694. {0.0625, 0.6875, 0.375, 0.1875, 0.8125, 0.5},
  1695. {0, 0.625, 0.375, 0.125, 0.75, 0.5},
  1696. {-0.0625, 0.5, 0.375, 0.0625, 0.6875, 0.5},
  1697. {-0.125, 0.4375, 0.375, 0, 0.5625, 0.5},
  1698. {-0.1875, 0.375, 0.375, -0.0625, 0.5, 0.5},
  1699. {-0.25, 0.3125, 0.375, -0.125, 0.4375, 0.5},
  1700. {-0.3125, 0.1875, 0.375, -0.1875, 0.375, 0.5},
  1701. {-0.375, 0.125, 0.375, -0.25, 0.25, 0.5},
  1702. {-0.4375, 0.0625, 0.375, -0.3125, 0.1875, 0.5},
  1703. {-0.5, 0, 0.375, -0.375, 0.125, 0.5},
  1704. {1.375, 2.3125, 0.375, 1.5, 2.4375, 0.5},
  1705. },
  1706. },
  1707. selection_box = {
  1708. type = "fixed",
  1709. fixed = {
  1710. {-0.5, -0.5, 0.375, 1.5, 3.5, 0.5},
  1711. },
  1712. },
  1713. collision_box = {
  1714. type = "fixed",
  1715. fixed = {
  1716. {-0.5, -0.5, 0.375, 1.5, 3.5, 0.5},
  1717. },
  1718. },
  1719. groups = {cracky=3},
  1720. sounds = default.node_sound_metal_defaults(),
  1721. })
  1722. minetest.register_node("bridger:truss_superstructure_down_mid_" .. bridge_color, {
  1723. description = bridge_desc .. " Truss Superstructure Down Middle",
  1724. drawtype = "nodebox",
  1725. tiles = {"bridges_" .. bridge_color .. ".png"},
  1726. inventory_image = "bridges_" .. bridge_color ..
  1727. ".png^bridges_superstructure_down_mid.png^[makealpha:255,126,126",
  1728. wield_image = "bridges_" .. bridge_color ..
  1729. ".png^bridges_superstructure_down_mid.png^[makealpha:255,126,126",
  1730. paramtype = "light",
  1731. paramtype2 = "facedir",
  1732. sunlight_propagates = true,
  1733. node_box = {
  1734. type = "fixed",
  1735. fixed = {
  1736. {-0.5, -0.5, 0.375, 1.5, 0.0625, 0.5},
  1737. {1.375, 2.4375, 0.375, 1.5, 2.5625, 0.5},
  1738. {-0.5, -0.5, 0.375, -0.4375, 3.5, 0.5},
  1739. {1.4375, -0.5, 0.375, 1.5, 2.5, 0.5},
  1740. {1.25, 2.5, 0.375, 1.375, 2.625, 0.5},
  1741. {1.125, 2.5625, 0.375, 1.25, 2.6875, 0.5},
  1742. {1, 2.625, 0.375, 1.125, 2.75, 0.5},
  1743. {0.875, 2.6875, 0.375, 1, 2.8125, 0.5},
  1744. {0.75, 2.75, 0.375, 0.875, 2.875, 0.5},
  1745. {0.625, 2.8125, 0.375, 0.75, 2.9375, 0.5},
  1746. {0.5, 2.875, 0.375, 0.625, 3, 0.5},
  1747. {0.375, 2.9375, 0.375, 0.5, 3.0625, 0.5},
  1748. {0.25, 3, 0.375, 0.375, 3.125, 0.5},
  1749. {0.125, 3.0625, 0.375, 0.25, 3.1875, 0.5},
  1750. {0, 3.125, 0.375, 0.125, 3.25, 0.5},
  1751. {-0.125, 3.1875, 0.375, -1.2666e-007, 3.3125, 0.5},
  1752. {-0.25, 3.25, 0.375, -0.125, 3.375, 0.5},
  1753. {-0.375, 3.3125, 0.375, -0.25, 3.4375, 0.5},
  1754. {-0.5, 3.375, 0.375, -0.375, 3.5, 0.5},
  1755. {1.3125, 2.25, 0.375, 1.4375, 2.375, 0.5},
  1756. {1.25, 2.1875, 0.375, 1.375, 2.3125, 0.5},
  1757. {1.1875, 2.0625, 0.375, 1.3125, 2.25, 0.5},
  1758. {1.125, 2, 0.375, 1.25, 2.125, 0.5},
  1759. {1.0625, 1.9375, 0.375, 1.1875, 2.0625, 0.5},
  1760. {1, 1.875, 0.375, 1.125, 2, 0.5},
  1761. {0.9375, 1.75, 0.375, 1.0625, 1.9375, 0.5},
  1762. {0.875, 1.6875, 0.375, 1, 1.8125, 0.5},
  1763. {0.8125, 1.625, 0.375, 0.9375, 1.75, 0.5},
  1764. {0.75, 1.5625, 0.375, 0.875, 1.6875, 0.5},
  1765. {0.6875, 1.4375, 0.375, 0.8125, 1.625, 0.5},
  1766. {0.625, 1.375, 0.375, 0.75, 1.5, 0.5},
  1767. {0.5625, 1.3125, 0.375, 0.6875, 1.4375, 0.5},
  1768. {0.5, 1.25, 0.375, 0.625, 1.375, 0.5},
  1769. {0.4375, 1.125, 0.375, 0.5625, 1.3125, 0.5},
  1770. {0.375, 1.0625, 0.375, 0.5, 1.1875, 0.5},
  1771. {0.3125, 1, 0.375, 0.4375, 1.125, 0.5},
  1772. {0.25, 0.9375, 0.375, 0.375, 1.0625, 0.5},
  1773. {0.1875, 0.8125, 0.375, 0.3125, 1, 0.5},
  1774. {0.125, 0.75, 0.375, 0.25, 0.875, 0.5},
  1775. {0.0625, 0.6875, 0.375, 0.1875, 0.8125, 0.5},
  1776. {0, 0.625, 0.375, 0.125, 0.75, 0.5},
  1777. {-0.0625, 0.5, 0.375, 0.0625, 0.6875, 0.5},
  1778. {-0.125, 0.4375, 0.375, 0, 0.5625, 0.5},
  1779. {-0.1875, 0.375, 0.375, -0.0625, 0.5, 0.5},
  1780. {-0.25, 0.3125, 0.375, -0.125, 0.4375, 0.5},
  1781. {-0.3125, 0.1875, 0.375, -0.1875, 0.375, 0.5},
  1782. {-0.375, 0.125, 0.375, -0.25, 0.25, 0.5},
  1783. {-0.4375, 0.0625, 0.375, -0.3125, 0.1875, 0.5},
  1784. {-0.5, 0, 0.375, -0.375, 0.125, 0.5},
  1785. {1.375, 2.3125, 0.375, 1.5, 2.4375, 0.5},
  1786. {-0.4375, 3.25, 0.375, -0.3125, 3.375, 0.5},
  1787. {-0.375, 3.125, 0.375, -0.25, 3.3125, 0.5},
  1788. {-0.3125, 3, 0.375, -0.1875, 3.1875, 0.5},
  1789. {-0.25, 2.875, 0.375, -0.125, 3.0625, 0.5},
  1790. {-0.1875, 2.75, 0.375, -0.0625, 2.9375, 0.5},
  1791. {-0.125, 2.625, 0.375, 1.11759e-008, 2.8125, 0.5},
  1792. {-0.0625, 2.5625, 0.375, 0.0625, 2.6875, 0.5},
  1793. {0, 2.4375, 0.375, 0.125, 2.625, 0.5},
  1794. {0.0625, 2.3125, 0.375, 0.1875, 2.5, 0.5},
  1795. {0.125, 2.1875, 0.375, 0.25, 2.375, 0.5},
  1796. {0.1875, 2.0625, 0.375, 0.3125, 2.25, 0.5},
  1797. {0.25, 2, 0.375, 0.375, 2.125, 0.5},
  1798. {0.3125, 1.875, 0.375, 0.4375, 2.0625, 0.5},
  1799. {0.375, 1.75, 0.375, 0.5, 1.9375, 0.5},
  1800. {0.4375, 1.625, 0.375, 0.5625, 1.8125, 0.5},
  1801. {0.5, 1.5, 0.375, 0.625, 1.6875, 0.5},
  1802. {0.5625, 1.375, 0.375, 0.6875, 1.5625, 0.5},
  1803. {0.625, 1.3125, 0.375, 0.75, 1.4375, 0.5},
  1804. {0.6875, 1.1875, 0.375, 0.8125, 1.375, 0.5},
  1805. {0.75, 1.0625, 0.375, 0.875, 1.25, 0.5},
  1806. {0.8125, 0.9375, 0.375, 0.9375, 1.125, 0.5},
  1807. {0.875, 0.8125, 0.375, 1, 1, 0.5},
  1808. {0.9375, 0.75, 0.375, 1.0625, 0.875, 0.5},
  1809. {1, 0.625, 0.375, 1.125, 0.8125, 0.5},
  1810. {1.0625, 0.5, 0.375, 1.1875, 0.6875, 0.5},
  1811. {1.125, 0.375, 0.375, 1.25, 0.5625, 0.5},
  1812. {1.1875, 0.25, 0.375, 1.3125, 0.4375, 0.5},
  1813. {1.25, 0.125, 0.375, 1.375, 0.3125, 0.5},
  1814. {1.3125, 0.0625, 0.375, 1.4375, 0.1875, 0.5},
  1815. },
  1816. },
  1817. selection_box = {
  1818. type = "fixed",
  1819. fixed = {
  1820. {-0.5, -0.5, 0.375, 1.5, 3.5, 0.5},
  1821. },
  1822. },
  1823. collision_box = {
  1824. type = "fixed",
  1825. fixed = {
  1826. {-0.5, -0.5, 0.375, 1.5, 3.5, 0.5},
  1827. },
  1828. },
  1829. groups = {cracky=3},
  1830. sounds = default.node_sound_metal_defaults(),
  1831. })
  1832. minetest.register_node("bridger:truss_superstructure_down_simple_" .. bridge_color, {
  1833. description = bridge_desc .. " Truss Superstructure Down Simple",
  1834. drawtype = "nodebox",
  1835. tiles = {"bridges_" .. bridge_color .. ".png"},
  1836. inventory_image = "bridges_" .. bridge_color ..
  1837. ".png^bridges_superstructure_down_simple.png^[makealpha:255,126,126",
  1838. wield_image = "bridges_" .. bridge_color ..
  1839. ".png^bridges_superstructure_down_simple.png^[makealpha:255,126,126",
  1840. paramtype = "light",
  1841. paramtype2 = "facedir",
  1842. sunlight_propagates = true,
  1843. node_box = {
  1844. type = "fixed",
  1845. fixed = {
  1846. {-0.5, -0.5, 0.375, 1.5, 0.0625, 0.5},
  1847. {1.375, 2.4375, 0.375, 1.5, 2.5625, 0.5},
  1848. {1.25, 2.5, 0.375, 1.375, 2.625, 0.5},
  1849. {1.125, 2.5625, 0.375, 1.25, 2.6875, 0.5},
  1850. {1, 2.625, 0.375, 1.125, 2.75, 0.5},
  1851. {0.875, 2.6875, 0.375, 1, 2.8125, 0.5},
  1852. {0.75, 2.75, 0.375, 0.875, 2.875, 0.5},
  1853. {0.625, 2.8125, 0.375, 0.75, 2.9375, 0.5},
  1854. {0.5, 2.875, 0.375, 0.625, 3, 0.5},
  1855. {0.375, 2.9375, 0.375, 0.5, 3.0625, 0.5},
  1856. {0.25, 3, 0.375, 0.375, 3.125, 0.5},
  1857. {0.125, 3.0625, 0.375, 0.25, 3.1875, 0.5},
  1858. {0, 3.125, 0.375, 0.125, 3.25, 0.5},
  1859. {-0.125, 3.1875, 0.375, -1.2666e-007, 3.3125, 0.5},
  1860. {-0.25, 3.25, 0.375, -0.125, 3.375, 0.5},
  1861. {-0.375, 3.3125, 0.375, -0.25, 3.4375, 0.5},
  1862. {-0.5, 3.375, 0.375, -0.375, 3.5, 0.5},
  1863. {1.3125, 2.25, 0.375, 1.4375, 2.375, 0.5},
  1864. {1.25, 2.1875, 0.375, 1.375, 2.3125, 0.5},
  1865. {1.1875, 2.0625, 0.375, 1.3125, 2.25, 0.5},
  1866. {1.125, 2, 0.375, 1.25, 2.125, 0.5},
  1867. {1.0625, 1.9375, 0.375, 1.1875, 2.0625, 0.5},
  1868. {1, 1.875, 0.375, 1.125, 2, 0.5},
  1869. {0.9375, 1.75, 0.375, 1.0625, 1.9375, 0.5},
  1870. {0.875, 1.6875, 0.375, 1, 1.8125, 0.5},
  1871. {0.8125, 1.625, 0.375, 0.9375, 1.75, 0.5},
  1872. {0.75, 1.5625, 0.375, 0.875, 1.6875, 0.5},
  1873. {0.6875, 1.4375, 0.375, 0.8125, 1.625, 0.5},
  1874. {0.625, 1.375, 0.375, 0.75, 1.5, 0.5},
  1875. {0.5625, 1.3125, 0.375, 0.6875, 1.4375, 0.5},
  1876. {0.5, 1.25, 0.375, 0.625, 1.375, 0.5},
  1877. {0.4375, 1.125, 0.375, 0.5625, 1.3125, 0.5},
  1878. {0.375, 1.0625, 0.375, 0.5, 1.1875, 0.5},
  1879. {0.3125, 1, 0.375, 0.4375, 1.125, 0.5},
  1880. {0.25, 0.9375, 0.375, 0.375, 1.0625, 0.5},
  1881. {0.1875, 0.8125, 0.375, 0.3125, 1, 0.5},
  1882. {0.125, 0.75, 0.375, 0.25, 0.875, 0.5},
  1883. {0.0625, 0.6875, 0.375, 0.1875, 0.8125, 0.5},
  1884. {0, 0.625, 0.375, 0.125, 0.75, 0.5},
  1885. {-0.0625, 0.5, 0.375, 0.0625, 0.6875, 0.5},
  1886. {-0.125, 0.4375, 0.375, 0, 0.5625, 0.5},
  1887. {-0.1875, 0.375, 0.375, -0.0625, 0.5, 0.5},
  1888. {-0.25, 0.3125, 0.375, -0.125, 0.4375, 0.5},
  1889. {-0.3125, 0.1875, 0.375, -0.1875, 0.375, 0.5},
  1890. {-0.375, 0.125, 0.375, -0.25, 0.25, 0.5},
  1891. {-0.4375, 0.0625, 0.375, -0.3125, 0.1875, 0.5},
  1892. {-0.5, 0, 0.375, -0.375, 0.125, 0.5},
  1893. {1.375, 2.3125, 0.375, 1.5, 2.4375, 0.5},
  1894. {-0.4375, 3.25, 0.375, -0.3125, 3.375, 0.5},
  1895. {-0.375, 3.125, 0.375, -0.25, 3.3125, 0.5},
  1896. {-0.3125, 3, 0.375, -0.1875, 3.1875, 0.5},
  1897. {-0.25, 2.875, 0.375, -0.125, 3.0625, 0.5},
  1898. {-0.1875, 2.75, 0.375, -0.0625, 2.9375, 0.5},
  1899. {-0.125, 2.625, 0.375, 1.11759e-008, 2.8125, 0.5},
  1900. {-0.0625, 2.5625, 0.375, 0.0625, 2.6875, 0.5},
  1901. {0, 2.4375, 0.375, 0.125, 2.625, 0.5},
  1902. {0.0625, 2.3125, 0.375, 0.1875, 2.5, 0.5},
  1903. {0.125, 2.1875, 0.375, 0.25, 2.375, 0.5},
  1904. {0.1875, 2.0625, 0.375, 0.3125, 2.25, 0.5},
  1905. {0.25, 2, 0.375, 0.375, 2.125, 0.5},
  1906. {0.3125, 1.875, 0.375, 0.4375, 2.0625, 0.5},
  1907. {0.375, 1.75, 0.375, 0.5, 1.9375, 0.5},
  1908. {0.4375, 1.625, 0.375, 0.5625, 1.8125, 0.5},
  1909. {0.5, 1.5, 0.375, 0.625, 1.6875, 0.5},
  1910. {0.5625, 1.375, 0.375, 0.6875, 1.5625, 0.5},
  1911. {0.625, 1.3125, 0.375, 0.75, 1.4375, 0.5},
  1912. {0.6875, 1.1875, 0.375, 0.8125, 1.375, 0.5},
  1913. {0.75, 1.0625, 0.375, 0.875, 1.25, 0.5},
  1914. {0.8125, 0.9375, 0.375, 0.9375, 1.125, 0.5},
  1915. {0.875, 0.8125, 0.375, 1, 1, 0.5},
  1916. {0.9375, 0.75, 0.375, 1.0625, 0.875, 0.5},
  1917. {1, 0.625, 0.375, 1.125, 0.8125, 0.5},
  1918. {1.0625, 0.5, 0.375, 1.1875, 0.6875, 0.5},
  1919. {1.125, 0.375, 0.375, 1.25, 0.5625, 0.5},
  1920. {1.1875, 0.25, 0.375, 1.3125, 0.4375, 0.5},
  1921. {1.25, 0.125, 0.375, 1.375, 0.3125, 0.5},
  1922. {1.3125, 0.0625, 0.375, 1.4375, 0.1875, 0.5},
  1923. },
  1924. },
  1925. selection_box = {
  1926. type = "fixed",
  1927. fixed = {
  1928. {-0.5, -0.5, 0.375, 1.5, 3.5, 0.5},
  1929. },
  1930. },
  1931. collision_box = {
  1932. type = "fixed",
  1933. fixed = {
  1934. {-0.5, -0.5, 0.375, 1.5, 3.5, 0.5},
  1935. },
  1936. },
  1937. groups = {cracky=3},
  1938. sounds = default.node_sound_metal_defaults(),
  1939. })
  1940. minetest.register_node("bridger:truss_substructure_end_right_slant_" .. bridge_color, {
  1941. description = bridge_desc .. " Truss Substructure End Right Slant",
  1942. drawtype = "nodebox",
  1943. tiles = {"bridges_" .. bridge_color .. ".png"},
  1944. inventory_image = "bridges_" .. bridge_color ..
  1945. ".png^bridges_substructure_end_right_slant.png^[makealpha:255,126,126",
  1946. wield_image = "bridges_" .. bridge_color ..
  1947. ".png^bridges_substructure_end_right_slant.png^[makealpha:255,126,126",
  1948. paramtype = "light",
  1949. paramtype2 = "facedir",
  1950. sunlight_propagates = true,
  1951. node_box = {
  1952. type = "fixed",
  1953. fixed = {
  1954. {-0.5, 1.375, 0.375, 1.5, 1.5, 0.5},
  1955. {-0.4375, 1.3125, 0.375, -0.3125, 1.4375, 0.5},
  1956. {-0.375, 1.25, 0.375, -0.25, 1.375, 0.5},
  1957. {-0.3125, 1.1875, 0.375, -0.1875, 1.3125, 0.5},
  1958. {-0.25, 1.125, 0.375, -0.125, 1.25, 0.5},
  1959. {-0.1875, 1.0625, 0.375, -0.0625, 1.1875, 0.5},
  1960. {-0.125, 1, 0.375, 0, 1.125, 0.5},
  1961. {-0.0625, 0.9375, 0.375, 0.0625, 1.0625, 0.5},
  1962. {0, 0.875, 0.375, 0.125, 1, 0.5},
  1963. {0.0625, 0.8125, 0.375, 0.1875, 0.9375, 0.5},
  1964. {0.125, 0.75, 0.375, 0.25, 0.875, 0.5},
  1965. {0.1875, 0.6875, 0.375, 0.3125, 0.8125, 0.5},
  1966. {0.25, 0.625, 0.375, 0.375, 0.75, 0.5},
  1967. {0.3125, 0.5625, 0.375, 0.4375, 0.6875, 0.5},
  1968. {0.375, 0.5, 0.375, 0.5, 0.625, 0.5},
  1969. {0.4375, 0.4375, 0.375, 0.5625, 0.5625, 0.5},
  1970. {0.5, 0.375, 0.375, 0.625, 0.5, 0.5},
  1971. {0.5625, 0.3125, 0.375, 0.6875, 0.4375, 0.5},
  1972. {0.625, 0.25, 0.375, 0.75, 0.375, 0.5},
  1973. {0.6875, 0.1875, 0.375, 0.8125, 0.3125, 0.5},
  1974. {0.75, 0.125, 0.375, 0.875, 0.25, 0.5},
  1975. {0.8125, 0.0625, 0.375, 0.9375, 0.1875, 0.5},
  1976. {0.875, 0, 0.375, 1, 0.125, 0.5},
  1977. {0.9375, -0.0625, 0.375, 1.0625, 0.0625, 0.5},
  1978. {1, -0.125, 0.375, 1.125, 0, 0.5},
  1979. {1.0625, -0.1875, 0.375, 1.1875, -0.0625, 0.5},
  1980. {1.125, -0.25, 0.375, 1.25, -0.125, 0.5},
  1981. {1.1875, -0.3125, 0.375, 1.3125, -0.1875, 0.5},
  1982. {1.25, -0.375, 0.375, 1.375, -0.25, 0.5},
  1983. {1.3125, -0.4375, 0.375, 1.4375, -0.3125, 0.5},
  1984. {1.375, -0.5, 0.375, 1.5, -0.375, 0.5},
  1985. {1.4375, -0.5, 0.375, 1.5, 1.5, 0.5},
  1986. },
  1987. },
  1988. selection_box = {
  1989. type = "fixed",
  1990. fixed = {
  1991. {-0.5, -0.5, 0.375, 1.5, 1.5, 0.5},
  1992. },
  1993. },
  1994. collision_box = {
  1995. type = "fixed",
  1996. fixed = {
  1997. {-0.5, -0.5, 0.375, 1.5, 1.5, 0.5},
  1998. },
  1999. },
  2000. groups = {cracky=3},
  2001. sounds = default.node_sound_metal_defaults(),
  2002. })
  2003. minetest.register_node("bridger:truss_substructure_end_left_slant_" .. bridge_color, {
  2004. description = bridge_desc .. " Truss Substructure End Left Slant",
  2005. drawtype = "nodebox",
  2006. tiles = {"bridges_" .. bridge_color .. ".png"},
  2007. inventory_image = "bridges_" .. bridge_color ..
  2008. ".png^bridges_substructure_end_left_slant.png^[makealpha:255,126,126",
  2009. wield_image = "bridges_" .. bridge_color ..
  2010. ".png^bridges_substructure_end_left_slant.png^[makealpha:255,126,126",
  2011. paramtype = "light",
  2012. paramtype2 = "facedir",
  2013. sunlight_propagates = true,
  2014. node_box = {
  2015. type = "fixed",
  2016. fixed = {
  2017. {-0.5, 1.375, 0.375, 1.5, 1.5, 0.5},
  2018. {1.3125, 1.3125, 0.375, 1.4375, 1.4375, 0.5},
  2019. {1.25, 1.25, 0.375, 1.375, 1.375, 0.5},
  2020. {1.1875, 1.1875, 0.375, 1.3125, 1.3125, 0.5},
  2021. {1.125, 1.125, 0.375, 1.25, 1.25, 0.5},
  2022. {1.0625, 1.0625, 0.375, 1.1875, 1.1875, 0.5},
  2023. {1, 1, 0.375, 1.125, 1.125, 0.5},
  2024. {0.9375, 0.9375, 0.375, 1.0625, 1.0625, 0.5},
  2025. {0.875, 0.875, 0.375, 1, 1, 0.5},
  2026. {0.8125, 0.8125, 0.375, 0.9375, 0.9375, 0.5},
  2027. {0.75, 0.75, 0.375, 0.875, 0.875, 0.5},
  2028. {0.6875, 0.6875, 0.375, 0.8125, 0.8125, 0.5},
  2029. {0.625, 0.625, 0.375, 0.75, 0.75, 0.5},
  2030. {0.5625, 0.5625, 0.375, 0.6875, 0.6875, 0.5},
  2031. {0.5, 0.5, 0.375, 0.625, 0.625, 0.5},
  2032. {0.4375, 0.4375, 0.375, 0.5625, 0.5625, 0.5},
  2033. {0.375, 0.375, 0.375, 0.5, 0.5, 0.5},
  2034. {0.3125, 0.3125, 0.375, 0.4375, 0.4375, 0.5},
  2035. {0.25, 0.25, 0.375, 0.375, 0.375, 0.5},
  2036. {0.1875, 0.1875, 0.375, 0.3125, 0.3125, 0.5},
  2037. {0.125, 0.125, 0.375, 0.25, 0.25, 0.5},
  2038. {0.0625, 0.0625, 0.375, 0.1875, 0.1875, 0.5},
  2039. {0, 0, 0.375, 0.125, 0.125, 0.5},
  2040. {-0.0625, -0.0625, 0.375, 0.0625, 0.0625, 0.5},
  2041. {-0.125, -0.125, 0.375, 0, 0, 0.5},
  2042. {-0.1875, -0.1875, 0.375, -0.0625, -0.0625, 0.5},
  2043. {-0.25, -0.25, 0.375, -0.125, -0.125, 0.5},
  2044. {-0.3125, -0.3125, 0.375, -0.1875, -0.1875, 0.5},
  2045. {-0.375, -0.375, 0.375, -0.25, -0.25, 0.5},
  2046. {-0.4375, -0.4375, 0.375, -0.3125, -0.3125, 0.5},
  2047. {-0.5, -0.5, 0.375, -0.4375, 1.5, 0.5},
  2048. {-0.5, -0.5, 0.375, -0.375, -0.375, 0.5},
  2049. },
  2050. },
  2051. selection_box = {
  2052. type = "fixed",
  2053. fixed = {
  2054. {-0.5, -0.5, 0.375, 1.5, 1.5, 0.5},
  2055. },
  2056. },
  2057. collision_box = {
  2058. type = "fixed",
  2059. fixed = {
  2060. {-0.5, -0.5, 0.375, 1.5, 1.5, 0.5},
  2061. },
  2062. },
  2063. groups = {cracky=3},
  2064. sounds = default.node_sound_metal_defaults(),
  2065. })
  2066. minetest.register_node("bridger:truss_substructure_right_slant_" .. bridge_color, {
  2067. description = bridge_desc .. " Truss Substructure Right Slant",
  2068. drawtype = "nodebox",
  2069. tiles = {"bridges_" .. bridge_color .. ".png"},
  2070. inventory_image = "bridges_" .. bridge_color .. ".png^bridges_substructure_right_slant.png^[makealpha:255,126,126",
  2071. wield_image = "bridges_" .. bridge_color .. ".png^bridges_substructure_right_slant.png^[makealpha:255,126,126",
  2072. paramtype = "light",
  2073. paramtype2 = "facedir",
  2074. sunlight_propagates = true,
  2075. node_box = {
  2076. type = "fixed",
  2077. fixed = {
  2078. {-0.5, 1.375, 0.375, 1.5, 1.5, 0.5},
  2079. {-0.4375, 1.3125, 0.375, -0.3125, 1.4375, 0.5},
  2080. {-0.375, 1.25, 0.375, -0.25, 1.375, 0.5},
  2081. {-0.3125, 1.1875, 0.375, -0.1875, 1.3125, 0.5},
  2082. {-0.25, 1.125, 0.375, -0.125, 1.25, 0.5},
  2083. {-0.1875, 1.0625, 0.375, -0.0625, 1.1875, 0.5},
  2084. {-0.125, 1, 0.375, 0, 1.125, 0.5},
  2085. {-0.0625, 0.9375, 0.375, 0.0625, 1.0625, 0.5},
  2086. {0, 0.875, 0.375, 0.125, 1, 0.5},
  2087. {0.0625, 0.8125, 0.375, 0.1875, 0.9375, 0.5},
  2088. {0.125, 0.75, 0.375, 0.25, 0.875, 0.5},
  2089. {0.1875, 0.6875, 0.375, 0.3125, 0.8125, 0.5},
  2090. {0.25, 0.625, 0.375, 0.375, 0.75, 0.5},
  2091. {0.3125, 0.5625, 0.375, 0.4375, 0.6875, 0.5},
  2092. {0.375, 0.5, 0.375, 0.5, 0.625, 0.5},
  2093. {0.4375, 0.4375, 0.375, 0.5625, 0.5625, 0.5},
  2094. {0.5, 0.375, 0.375, 0.625, 0.5, 0.5},
  2095. {0.5625, 0.3125, 0.375, 0.6875, 0.4375, 0.5},
  2096. {0.625, 0.25, 0.375, 0.75, 0.375, 0.5},
  2097. {0.6875, 0.1875, 0.375, 0.8125, 0.3125, 0.5},
  2098. {0.75, 0.125, 0.375, 0.875, 0.25, 0.5},
  2099. {0.8125, 0.0625, 0.375, 0.9375, 0.1875, 0.5},
  2100. {0.875, 0, 0.375, 1, 0.125, 0.5},
  2101. {0.9375, -0.0625, 0.375, 1.0625, 0.0625, 0.5},
  2102. {1, -0.125, 0.375, 1.125, 0, 0.5},
  2103. {1.0625, -0.1875, 0.375, 1.1875, -0.0625, 0.5},
  2104. {1.125, -0.25, 0.375, 1.25, -0.125, 0.5},
  2105. {1.1875, -0.3125, 0.375, 1.3125, -0.1875, 0.5},
  2106. {1.25, -0.375, 0.375, 1.375, -0.25, 0.5},
  2107. {1.3125, -0.4375, 0.375, 1.4375, -0.3125, 0.5},
  2108. {-0.5, -0.5, 0.375, -0.4375, 1.5, 0.5},
  2109. {-0.5, -0.5, 0.375, 1.5, -0.375, 0.5},
  2110. {1.4375, -0.5, 0.375, 1.5, 1.5, 0.5},
  2111. },
  2112. },
  2113. selection_box = {
  2114. type = "fixed",
  2115. fixed = {
  2116. {-0.5, -0.5, 0.375, 1.5, 1.5, 0.5},
  2117. },
  2118. },
  2119. collision_box = {
  2120. type = "fixed",
  2121. fixed = {
  2122. {-0.5, -0.5, 0.375, 1.5, 1.5, 0.5},
  2123. },
  2124. },
  2125. groups = {cracky=3},
  2126. sounds = default.node_sound_metal_defaults(),
  2127. })
  2128. minetest.register_node("bridger:truss_substructure_left_slant_" .. bridge_color, {
  2129. description = bridge_desc .. " Truss Substructure Left Slant",
  2130. drawtype = "nodebox",
  2131. tiles = {"bridges_" .. bridge_color .. ".png"},
  2132. inventory_image = "bridges_" .. bridge_color .. ".png^bridges_substructure_left_slant.png^[makealpha:255,126,126",
  2133. wield_image = "bridges_" .. bridge_color .. ".png^bridges_substructure_left_slant.png^[makealpha:255,126,126",
  2134. paramtype = "light",
  2135. paramtype2 = "facedir",
  2136. sunlight_propagates = true,
  2137. node_box = {
  2138. type = "fixed",
  2139. fixed = {
  2140. {-0.5, 1.375, 0.375, 1.5, 1.5, 0.5},
  2141. {1.3125, 1.3125, 0.375, 1.4375, 1.4375, 0.5},
  2142. {1.25, 1.25, 0.375, 1.375, 1.375, 0.5},
  2143. {1.1875, 1.1875, 0.375, 1.3125, 1.3125, 0.5},
  2144. {1.125, 1.125, 0.375, 1.25, 1.25, 0.5},
  2145. {1.0625, 1.0625, 0.375, 1.1875, 1.1875, 0.5},
  2146. {1, 1, 0.375, 1.125, 1.125, 0.5},
  2147. {0.9375, 0.9375, 0.375, 1.0625, 1.0625, 0.5},
  2148. {0.875, 0.875, 0.375, 1, 1, 0.5},
  2149. {0.8125, 0.8125, 0.375, 0.9375, 0.9375, 0.5},
  2150. {0.75, 0.75, 0.375, 0.875, 0.875, 0.5},
  2151. {0.6875, 0.6875, 0.375, 0.8125, 0.8125, 0.5},
  2152. {0.625, 0.625, 0.375, 0.75, 0.75, 0.5},
  2153. {0.5625, 0.5625, 0.375, 0.6875, 0.6875, 0.5},
  2154. {0.5, 0.5, 0.375, 0.625, 0.625, 0.5},
  2155. {0.4375, 0.4375, 0.375, 0.5625, 0.5625, 0.5},
  2156. {0.375, 0.375, 0.375, 0.5, 0.5, 0.5},
  2157. {0.3125, 0.3125, 0.375, 0.4375, 0.4375, 0.5},
  2158. {0.25, 0.25, 0.375, 0.375, 0.375, 0.5},
  2159. {0.1875, 0.1875, 0.375, 0.3125, 0.3125, 0.5},
  2160. {0.125, 0.125, 0.375, 0.25, 0.25, 0.5},
  2161. {0.0625, 0.0625, 0.375, 0.1875, 0.1875, 0.5},
  2162. {0, 0, 0.375, 0.125, 0.125, 0.5},
  2163. {-0.0625, -0.0625, 0.375, 0.0625, 0.0625, 0.5},
  2164. {-0.125, -0.125, 0.375, 0, 0, 0.5},
  2165. {-0.1875, -0.1875, 0.375, -0.0625, -0.0625, 0.5},
  2166. {-0.25, -0.25, 0.375, -0.125, -0.125, 0.5},
  2167. {-0.3125, -0.3125, 0.375, -0.1875, -0.1875, 0.5},
  2168. {-0.375, -0.375, 0.375, -0.25, -0.25, 0.5},
  2169. {-0.4375, -0.4375, 0.375, -0.3125, -0.3125, 0.5},
  2170. {-0.5, -0.5, 0.375, -0.4375, 1.5, 0.5},
  2171. {-0.5, -0.5, 0.375, 1.5, -0.375, 0.5},
  2172. {1.4375, -0.5, 0.375, 1.5, 1.5, 0.5},
  2173. {-0.5, -0.5, 0.375, -0.375, -0.375, 0.5},
  2174. },
  2175. },
  2176. selection_box = {
  2177. type = "fixed",
  2178. fixed = {
  2179. {-0.5, -0.5, 0.375, 1.5, 1.5, 0.5},
  2180. },
  2181. },
  2182. collision_box = {
  2183. type = "fixed",
  2184. fixed = {
  2185. {-0.5, -0.5, 0.375, 1.5, 1.5, 0.5},
  2186. },
  2187. },
  2188. groups = {cracky=3},
  2189. sounds = default.node_sound_metal_defaults(),
  2190. })
  2191. minetest.register_node("bridger:truss_substructure_simple_" .. bridge_color, {
  2192. description = bridge_desc .. " Truss Substructure Simple",
  2193. drawtype = "nodebox",
  2194. tiles = {"bridges_" .. bridge_color .. ".png"},
  2195. inventory_image = "bridges_" .. bridge_color .. ".png^bridges_substructure_simple.png^[makealpha:255,126,126",
  2196. wield_image = "bridges_" .. bridge_color .. ".png^bridges_substructure_simple.png^[makealpha:255,126,126",
  2197. paramtype = "light",
  2198. paramtype2 = "facedir",
  2199. sunlight_propagates = true,
  2200. node_box = {
  2201. type = "fixed",
  2202. fixed = {
  2203. {-0.5, -0.5, 0.375, 1.5, -0.375, 0.5},
  2204. {-0.5, 1.375, 0.375, 1.5, 1.5, 0.5},
  2205. {-0.4375, 1.3125, 0.375, -0.3125, 1.4375, 0.5},
  2206. {-0.375, 1.25, 0.375, -0.25, 1.375, 0.5},
  2207. {-0.3125, 1.1875, 0.375, -0.1875, 1.3125, 0.5},
  2208. {-0.25, 1.125, 0.375, -0.125, 1.25, 0.5},
  2209. {-0.1875, 1.0625, 0.375, -0.0625, 1.1875, 0.5},
  2210. {-0.125, 1, 0.375, 0, 1.125, 0.5},
  2211. {-0.0625, 0.9375, 0.375, 0.0625, 1.0625, 0.5},
  2212. {0, 0.875, 0.375, 0.125, 1, 0.5},
  2213. {0.0625, 0.8125, 0.375, 0.1875, 0.9375, 0.5},
  2214. {0.125, 0.75, 0.375, 0.25, 0.875, 0.5},
  2215. {0.1875, 0.6875, 0.375, 0.3125, 0.8125, 0.5},
  2216. {0.25, 0.625, 0.375, 0.375, 0.75, 0.5},
  2217. {0.3125, 0.5625, 0.375, 0.4375, 0.6875, 0.5},
  2218. {0.375, 0.5, 0.375, 0.5, 0.625, 0.5},
  2219. {0.4375, 0.4375, 0.375, 0.5625, 0.5625, 0.5},
  2220. {0.5, 0.375, 0.375, 0.625, 0.5, 0.5},
  2221. {0.5625, 0.3125, 0.375, 0.6875, 0.4375, 0.5},
  2222. {0.625, 0.25, 0.375, 0.75, 0.375, 0.5},
  2223. {0.6875, 0.1875, 0.375, 0.8125, 0.3125, 0.5},
  2224. {0.75, 0.125, 0.375, 0.875, 0.25, 0.5},
  2225. {0.8125, 0.0625, 0.375, 0.9375, 0.1875, 0.5},
  2226. {0.875, 0, 0.375, 1, 0.125, 0.5},
  2227. {0.9375, -0.0625, 0.375, 1.0625, 0.0625, 0.5},
  2228. {1, -0.125, 0.375, 1.125, 0, 0.5},
  2229. {1.0625, -0.1875, 0.375, 1.1875, -0.0625, 0.5},
  2230. {1.125, -0.25, 0.375, 1.25, -0.125, 0.5},
  2231. {1.1875, -0.3125, 0.375, 1.3125, -0.1875, 0.5},
  2232. {1.25, -0.375, 0.375, 1.375, -0.25, 0.5},
  2233. {1.3125, -0.4375, 0.375, 1.4375, -0.3125, 0.5},
  2234. {1.3125, 1.3125, 0.375, 1.4375, 1.4375, 0.5},
  2235. {1.25, 1.25, 0.375, 1.375, 1.375, 0.5},
  2236. {1.1875, 1.1875, 0.375, 1.3125, 1.3125, 0.5},
  2237. {1.125, 1.125, 0.375, 1.25, 1.25, 0.5},
  2238. {1.0625, 1.0625, 0.375, 1.1875, 1.1875, 0.5},
  2239. {1, 1, 0.375, 1.125, 1.125, 0.5},
  2240. {0.9375, 0.9375, 0.375, 1.0625, 1.0625, 0.5},
  2241. {0.875, 0.875, 0.375, 1, 1, 0.5},
  2242. {0.8125, 0.8125, 0.375, 0.9375, 0.9375, 0.5},
  2243. {0.75, 0.75, 0.375, 0.875, 0.875, 0.5},
  2244. {0.6875, 0.6875, 0.375, 0.8125, 0.8125, 0.5},
  2245. {0.625, 0.625, 0.375, 0.75, 0.75, 0.5},
  2246. {0.5625, 0.5625, 0.375, 0.6875, 0.6875, 0.5},
  2247. {0.375, 0.375, 0.375, 0.625, 0.625, 0.5},
  2248. {0.3125, 0.3125, 0.375, 0.4375, 0.4375, 0.5},
  2249. {0.25, 0.25, 0.375, 0.375, 0.375, 0.5},
  2250. {0.1875, 0.1875, 0.375, 0.3125, 0.3125, 0.5},
  2251. {0.125, 0.125, 0.375, 0.25, 0.25, 0.5},
  2252. {0.0625, 0.0625, 0.375, 0.1875, 0.1875, 0.5},
  2253. {0, 0, 0.375, 0.125, 0.125, 0.5},
  2254. {-0.0625, -0.0625, 0.375, 0.0625, 0.0625, 0.5},
  2255. {-0.125, -0.125, 0.375, 0, 0, 0.5},
  2256. {-0.1875, -0.1875, 0.375, -0.0625, -0.0625, 0.5},
  2257. {-0.25, -0.25, 0.375, -0.125, -0.125, 0.5},
  2258. {-0.3125, -0.3125, 0.375, -0.1875, -0.1875, 0.5},
  2259. {-0.375, -0.375, 0.375, -0.25, -0.25, 0.5},
  2260. {-0.4375, -0.4375, 0.375, -0.3125, -0.3125, 0.5},
  2261. },
  2262. },
  2263. selection_box = {
  2264. type = "fixed",
  2265. fixed = {
  2266. {-0.5, -0.5, 0.375, 1.5, 1.5, 0.5},
  2267. },
  2268. },
  2269. collision_box = {
  2270. type = "fixed",
  2271. fixed = {
  2272. {-0.5, -0.5, 0.375, 1.5, 1.5, 0.5},
  2273. },
  2274. },
  2275. groups = {cracky=3},
  2276. sounds = default.node_sound_metal_defaults(),
  2277. })
  2278. minetest.register_node("bridger:truss_substructure_mid_" .. bridge_color, {
  2279. description = bridge_desc .. " Truss Substructure Middle",
  2280. drawtype = "nodebox",
  2281. tiles = {"bridges_" .. bridge_color .. ".png"},
  2282. inventory_image = "bridges_" .. bridge_color .. ".png^bridges_substructure_mid.png^[makealpha:255,126,126",
  2283. wield_image = "bridges_" .. bridge_color .. ".png^bridges_substructure_mid.png^[makealpha:255,126,126",
  2284. paramtype = "light",
  2285. paramtype2 = "facedir",
  2286. sunlight_propagates = true,
  2287. node_box = {
  2288. type = "fixed",
  2289. fixed = {
  2290. {-0.5, -0.5, 0.375, 1.5, -0.375, 0.5},
  2291. {-0.5, 1.375, 0.375, 1.5, 1.5, 0.5},
  2292. {-0.4375, 1.3125, 0.375, -0.3125, 1.4375, 0.5},
  2293. {-0.375, 1.25, 0.375, -0.25, 1.375, 0.5},
  2294. {-0.3125, 1.1875, 0.375, -0.1875, 1.3125, 0.5},
  2295. {-0.25, 1.125, 0.375, -0.125, 1.25, 0.5},
  2296. {-0.1875, 1.0625, 0.375, -0.0625, 1.1875, 0.5},
  2297. {-0.125, 1, 0.375, 0, 1.125, 0.5},
  2298. {-0.0625, 0.9375, 0.375, 0.0625, 1.0625, 0.5},
  2299. {0, 0.875, 0.375, 0.125, 1, 0.5},
  2300. {0.0625, 0.8125, 0.375, 0.1875, 0.9375, 0.5},
  2301. {0.125, 0.75, 0.375, 0.25, 0.875, 0.5},
  2302. {0.1875, 0.6875, 0.375, 0.3125, 0.8125, 0.5},
  2303. {0.25, 0.625, 0.375, 0.375, 0.75, 0.5},
  2304. {0.3125, 0.5625, 0.375, 0.4375, 0.6875, 0.5},
  2305. {0.375, 0.5, 0.375, 0.5, 0.625, 0.5},
  2306. {0.4375, 0.4375, 0.375, 0.5625, 0.5625, 0.5},
  2307. {0.5, 0.375, 0.375, 0.625, 0.5, 0.5},
  2308. {0.5625, 0.3125, 0.375, 0.6875, 0.4375, 0.5},
  2309. {0.625, 0.25, 0.375, 0.75, 0.375, 0.5},
  2310. {0.6875, 0.1875, 0.375, 0.8125, 0.3125, 0.5},
  2311. {0.75, 0.125, 0.375, 0.875, 0.25, 0.5},
  2312. {0.8125, 0.0625, 0.375, 0.9375, 0.1875, 0.5},
  2313. {0.875, 0, 0.375, 1, 0.125, 0.5},
  2314. {0.9375, -0.0625, 0.375, 1.0625, 0.0625, 0.5},
  2315. {1, -0.125, 0.375, 1.125, 0, 0.5},
  2316. {1.0625, -0.1875, 0.375, 1.1875, -0.0625, 0.5},
  2317. {1.125, -0.25, 0.375, 1.25, -0.125, 0.5},
  2318. {1.1875, -0.3125, 0.375, 1.3125, -0.1875, 0.5},
  2319. {1.25, -0.375, 0.375, 1.375, -0.25, 0.5},
  2320. {1.3125, -0.4375, 0.375, 1.4375, -0.3125, 0.5},
  2321. {1.3125, 1.3125, 0.375, 1.4375, 1.4375, 0.5},
  2322. {1.25, 1.25, 0.375, 1.375, 1.375, 0.5},
  2323. {1.1875, 1.1875, 0.375, 1.3125, 1.3125, 0.5},
  2324. {1.125, 1.125, 0.375, 1.25, 1.25, 0.5},
  2325. {1.0625, 1.0625, 0.375, 1.1875, 1.1875, 0.5},
  2326. {1, 1, 0.375, 1.125, 1.125, 0.5},
  2327. {0.9375, 0.9375, 0.375, 1.0625, 1.0625, 0.5},
  2328. {0.875, 0.875, 0.375, 1, 1, 0.5},
  2329. {0.8125, 0.8125, 0.375, 0.9375, 0.9375, 0.5},
  2330. {0.75, 0.75, 0.375, 0.875, 0.875, 0.5},
  2331. {0.6875, 0.6875, 0.375, 0.8125, 0.8125, 0.5},
  2332. {0.625, 0.625, 0.375, 0.75, 0.75, 0.5},
  2333. {0.5625, 0.5625, 0.375, 0.6875, 0.6875, 0.5},
  2334. {0.375, 0.375, 0.375, 0.625, 0.625, 0.5},
  2335. {0.3125, 0.3125, 0.375, 0.4375, 0.4375, 0.5},
  2336. {0.25, 0.25, 0.375, 0.375, 0.375, 0.5},
  2337. {0.1875, 0.1875, 0.375, 0.3125, 0.3125, 0.5},
  2338. {0.125, 0.125, 0.375, 0.25, 0.25, 0.5},
  2339. {0.0625, 0.0625, 0.375, 0.1875, 0.1875, 0.5},
  2340. {0, 0, 0.375, 0.125, 0.125, 0.5},
  2341. {-0.0625, -0.0625, 0.375, 0.0625, 0.0625, 0.5},
  2342. {-0.125, -0.125, 0.375, 0, 0, 0.5},
  2343. {-0.1875, -0.1875, 0.375, -0.0625, -0.0625, 0.5},
  2344. {-0.25, -0.25, 0.375, -0.125, -0.125, 0.5},
  2345. {-0.3125, -0.3125, 0.375, -0.1875, -0.1875, 0.5},
  2346. {-0.375, -0.375, 0.375, -0.25, -0.25, 0.5},
  2347. {-0.4375, -0.4375, 0.375, -0.3125, -0.3125, 0.5},
  2348. {1.4375, -0.5, 0.375, 1.5, 1.5, 0.5},
  2349. {-0.5, -0.5, 0.375, -0.4375, 1.5, 0.5},
  2350. },
  2351. },
  2352. selection_box = {
  2353. type = "fixed",
  2354. fixed = {
  2355. {-0.5, -0.5, 0.375, 1.5, 1.5, 0.5},
  2356. },
  2357. },
  2358. collision_box = {
  2359. type = "fixed",
  2360. fixed = {
  2361. {-0.5, -0.5, 0.375, 1.5, 1.5, 0.5},
  2362. },
  2363. },
  2364. groups = {cracky=3},
  2365. sounds = default.node_sound_metal_defaults(),
  2366. })
  2367. minetest.register_node("bridger:small_upper_chord_" .. bridge_color, {
  2368. description = bridge_desc .. " Small Upper Chord",
  2369. drawtype = "nodebox",
  2370. tiles = {"bridges_" .. bridge_color .. ".png"},
  2371. inventory_image = "bridges_" .. bridge_color .. ".png^bridges_small_upper_chord.png^[makealpha:255,126,126",
  2372. wield_image = "bridges_" .. bridge_color .. ".png^bridges_small_upper_chord.png^[makealpha:255,126,126",
  2373. paramtype = "light",
  2374. paramtype2 = "facedir",
  2375. sunlight_propagates = true,
  2376. node_box = {
  2377. type = "fixed",
  2378. fixed = {
  2379. {-0.5, 0.375, 0.4375, 0.5, 0.5, 0.5},
  2380. {0.4375, 0.375, -1.5, 0.5, 0.5, 0.5},
  2381. {-0.5, 0.375, -1.5, 0.5, 0.5, -1.4375},
  2382. {-0.5, 0.375, -1.5, -0.4375, 0.5, 0.5},
  2383. {-0.4375, 0.375, 0.25, -0.3125, 0.5, 0.4375},
  2384. {-0.375, 0.375, 0.125, -0.25, 0.5, 0.3125},
  2385. {-0.3125, 0.375, 0, -0.1875, 0.5, 0.1875},
  2386. {-0.25, 0.375, -0.125, -0.125, 0.5, 0.0625},
  2387. {-0.1875, 0.375, -0.25, -0.0625, 0.5, -0.0625},
  2388. {-0.4375, 0.375, -1.4375, -0.3125, 0.5, -1.25},
  2389. {-0.375, 0.375, -1.3125, -0.25, 0.5, -1.125},
  2390. {-0.3125, 0.375, -1.1875, -0.1875, 0.5, -1},
  2391. {-0.25, 0.375, -1.0625, -0.125, 0.5, -0.875},
  2392. {-0.1875, 0.375, -0.9375, -0.0625, 0.5, -0.75},
  2393. {-0.125, 0.375, -0.8125, 0, 0.5, -0.625},
  2394. {-0.125, 0.375, -0.375, 0, 0.5, -0.1875},
  2395. {0.3125, 0.375, 0.25, 0.4375, 0.5, 0.4375},
  2396. {0.25, 0.375, 0.125, 0.375, 0.5, 0.3125},
  2397. {0.1875, 0.375, 0, 0.3125, 0.5, 0.1875},
  2398. {0.125, 0.375, -0.125, 0.25, 0.5, 0.0625},
  2399. {0.0625, 0.375, -0.25, 0.1875, 0.5, -0.0625},
  2400. {0, 0.375, -0.375, 0.125, 0.5, -0.1875},
  2401. {-0.0625, 0.375, -0.625, 0.0625, 0.5, -0.375},
  2402. {0.3125, 0.375, -1.4375, 0.4375, 0.5, -1.25},
  2403. {0.25, 0.375, -1.3125, 0.375, 0.5, -1.125},
  2404. {0.1875, 0.375, -1.1875, 0.3125, 0.5, -1},
  2405. {0.125, 0.375, -1.0625, 0.25, 0.5, -0.875},
  2406. {0.0625, 0.375, -0.9375, 0.1875, 0.5, -0.75},
  2407. {0, 0.375, -0.8125, 0.125, 0.5, -0.625},
  2408. },
  2409. },
  2410. selection_box = {
  2411. type = "fixed",
  2412. fixed = {
  2413. {-0.5, 0, -1.5, 0.5, 0.5, 0.5},
  2414. },
  2415. },
  2416. groups = {cracky=3},
  2417. sounds = default.node_sound_metal_defaults(),
  2418. })
  2419. minetest.register_node("bridger:small_upper_chord_slanted_" .. bridge_color, {
  2420. description = bridge_desc .. " Small Slanted Upper Chord",
  2421. drawtype = "nodebox",
  2422. tiles = {"bridges_" .. bridge_color .. ".png"},
  2423. inventory_image = "bridges_" .. bridge_color .. ".png^bridges_small_upper_chord_slanted.png^[makealpha:255,126,126",
  2424. wield_image = "bridges_" .. bridge_color .. ".png^bridges_small_upper_chord_slanted.png^[makealpha:255,126,126",
  2425. paramtype = "light",
  2426. paramtype2 = "facedir",
  2427. sunlight_propagates = true,
  2428. node_box = {
  2429. type = "fixed",
  2430. fixed = {
  2431. {-0.5, -0.5625, -1.5, -0.4375, -0.4375, -1.375},
  2432. {-0.5, -0.5625, -1.5, 0.5, -0.4375, -1.4375},
  2433. {0.4375, -0.5625, -1.5, 0.5, -0.4375, -1.375},
  2434. {0.4375, -0.5, -1.375, 0.5, -0.375, -1.25},
  2435. {0.4375, -0.4375, -1.25, 0.5, -0.3125, -1.125},
  2436. {0.4375, -0.375, -1.125, 0.5, -0.25, -1},
  2437. {0.4375, -0.3125, -1, 0.5, -0.1875, -0.875},
  2438. {0.4375, -0.25, -0.875, 0.5, -0.125, -0.75},
  2439. {0.4375, -0.1875, -0.75, 0.5, -0.0625, -0.625},
  2440. {0.4375, -0.125, -0.625, 0.5, -2.23517e-008, -0.5},
  2441. {0.4375, -0.0625, -0.5, 0.5, 0.0625, -0.375},
  2442. {0.4375, 0, -0.375, 0.5, 0.125, -0.25},
  2443. {0.4375, 0.0625, -0.25, 0.5, 0.1875, -0.125},
  2444. {0.4375, 0.125, -0.125, 0.5, 0.25, -1.04308e-007},
  2445. {0.4375, 0.1875, 0, 0.5, 0.3125, 0.125},
  2446. {0.4375, 0.25, 0.125, 0.5, 0.375, 0.25},
  2447. {0.4375, 0.3125, 0.25, 0.5, 0.4375, 0.375},
  2448. {0.4375, 0.375, 0.375, 0.5, 0.5, 0.5},
  2449. {-0.5, 0.375, 0.4375, 0.5, 0.5, 0.5},
  2450. {-0.5, -0.5, -1.375, -0.4375, -0.375, -1.25},
  2451. {-0.5, -0.4375, -1.25, -0.4375, -0.3125, -1.125},
  2452. {-0.5, -0.375, -1.125, -0.4375, -0.25, -1},
  2453. {-0.5, -0.3125, -1, -0.4375, -0.1875, -0.875},
  2454. {-0.5, -0.25, -0.875, -0.4375, -0.125, -0.75},
  2455. {-0.5, -0.1875, -0.75, -0.4375, -0.0625, -0.625},
  2456. {-0.5, -0.125, -0.625, -0.4375, 1.11759e-008, -0.5},
  2457. {-0.5, -0.0625, -0.5, -0.4375, 0.0625, -0.375},
  2458. {-0.5, 0, -0.375, -0.4375, 0.125, -0.25},
  2459. {-0.5, 0.0625, -0.25, -0.4375, 0.1875, -0.125},
  2460. {-0.5, 0.125, -0.125, -0.4375, 0.25, 1.41561e-007},
  2461. {-0.5, 0.1875, 0, -0.4375, 0.3125, 0.125},
  2462. {-0.5, 0.25, 0.125, -0.4375, 0.375, 0.25},
  2463. {-0.5, 0.3125, 0.25, -0.4375, 0.4375, 0.375},
  2464. {-0.5, 0.375, 0.375, -0.4375, 0.5, 0.5},
  2465. {-0.4375, -0.5625, -1.5, -0.3125, -0.4375, -1.375},
  2466. {-0.4375, -0.5, -1.375, -0.3125, -0.375, -1.25},
  2467. {-0.375, -0.5, -1.3125, -0.25, -0.375, -1.25},
  2468. {-0.375, -0.4375, -1.25, -0.25, -0.3125, -1.125},
  2469. {-0.3125, -0.4375, -1.1875, -0.1875, -0.3125, -1.125},
  2470. {-0.3125, -0.375, -1.125, -0.1875, -0.25, -1},
  2471. {-0.25, -0.375, -1.0625, -0.125, -0.25, -1},
  2472. {-0.25, -0.3125, -1, -0.125, -0.1875, -0.875},
  2473. {-0.1875, -0.3125, -0.9375, -0.0625, -0.1875, -0.875},
  2474. {-0.1875, -0.25, -0.875, -0.0624999, -0.125, -0.75},
  2475. {-0.125, -0.25, -0.8125, 0.125, -0.125, -0.75},
  2476. {-0.125, -0.1875, -0.75, 0.125, -0.0624999, -0.625},
  2477. {-0.0625, -0.125, -0.625, 0.0625, 9.31323e-008, -0.5},
  2478. {-0.0625, -0.0625, -0.5, 0.0625, 0.0625001, -0.375},
  2479. {-0.125, 0, -0.375, 0.125, 0.125, -0.25},
  2480. {-0.4375, 0.375, 0.375, -0.3125, 0.5, 0.4375},
  2481. {-0.4375, 0.3125, 0.25, -0.3125, 0.4375, 0.375},
  2482. {-0.375, 0.25, 0.125, -0.25, 0.375, 0.25},
  2483. {-0.375, 0.3125, 0.25, -0.25, 0.4375, 0.3125},
  2484. {-0.3125, 0.25, 0.125, -0.1875, 0.375, 0.1875},
  2485. {-0.3125, 0.1875, 0, -0.1875, 0.3125, 0.125},
  2486. {-0.25, 0.1875, 0, -0.125, 0.3125, 0.0625},
  2487. {-0.25, 0.125, -0.125, -0.125, 0.25, 1.30385e-008},
  2488. {-0.1875, 0.125, -0.125, -0.0625, 0.25, -0.0625},
  2489. {-0.1875, 0.0625, -0.25, -0.0625, 0.1875, -0.125},
  2490. {-0.125, 0.0625, -0.25, 0.125, 0.1875, -0.1875},
  2491. {0.0625, 0.0625, -0.25, 0.1875, 0.1875, -0.125},
  2492. {0.0625, 0.125, -0.125, 0.1875, 0.25, -0.0625},
  2493. {0.125, 0.125, -0.125, 0.25, 0.25, 0},
  2494. {0.125, 0.1875, 0, 0.25, 0.3125, 0.0625},
  2495. {0.1875, 0.1875, 0, 0.3125, 0.3125, 0.125},
  2496. {0.1875, 0.25, 0.125, 0.3125, 0.375, 0.1875},
  2497. {0.25, 0.25, 0.125, 0.375, 0.375, 0.25},
  2498. {0.25, 0.3125, 0.25, 0.375, 0.4375, 0.3125},
  2499. {0.3125, 0.3125, 0.3125, 0.4375, 0.4375, 0.375},
  2500. {0.3125, 0.375, 0.375, 0.4375, 0.5, 0.4375},
  2501. {0.3125, -0.5625, -1.4375, 0.4375, -0.4375, -1.375},
  2502. {0.3125, -0.5, -1.375, 0.4375, -0.375, -1.25},
  2503. {0.25, -0.5, -1.3125, 0.375, -0.375, -1.25},
  2504. {0.25, -0.4375, -1.25, 0.375, -0.3125, -1.125},
  2505. {0.1875, -0.4375, -1.1875, 0.3125, -0.3125, -1.125},
  2506. {0.1875, -0.375, -1.125, 0.3125, -0.25, -1},
  2507. {0.125, -0.375, -1.0625, 0.25, -0.25, -1},
  2508. {0.125, -0.3125, -1, 0.25, -0.1875, -0.875},
  2509. {0.0625, -0.3125, -0.9375, 0.1875, -0.1875, -0.875},
  2510. {0.0625, -0.25, -0.875, 0.1875, -0.125, -0.75},
  2511. },
  2512. },
  2513. selection_box = {
  2514. type = "fixed",
  2515. fixed = {
  2516. {-0.5, -0.5, -1.5, 0.5, 0.5, 0.5},
  2517. },
  2518. },
  2519. groups = {cracky=3},
  2520. sounds = default.node_sound_metal_defaults(),
  2521. })
  2522. minetest.register_node("bridger:medium_upper_chord_" .. bridge_color, {
  2523. description = bridge_desc .. " Medium Upper Chord",
  2524. drawtype = "nodebox",
  2525. tiles = {"bridges_" .. bridge_color .. ".png"},
  2526. inventory_image = "bridges_" .. bridge_color .. ".png^bridges_medium_upper_chord.png^[makealpha:255,126,126",
  2527. wield_image = "bridges_" .. bridge_color .. ".png^bridges_medium_upper_chord.png^[makealpha:255,126,126",
  2528. paramtype = "light",
  2529. paramtype2 = "facedir",
  2530. sunlight_propagates = true,
  2531. node_box = {
  2532. type = "fixed",
  2533. fixed = {
  2534. {-1.5, 0.375, 0.4375, 1.5, 0.5, 0.5},
  2535. {1.4375, 0.375, -1.5, 1.5, 0.5, 0.5},
  2536. {-1.5, 0.375, -1.5, 1.5, 0.5, -1.4375},
  2537. {-1.5, 0.375, -1.5, -1.4375, 0.5, 0.5},
  2538. {-1.4375, 0.375, 0.3125, -1.3125, 0.5, 0.4375},
  2539. {-1.375, 0.375, 0.25, -1.1875, 0.5, 0.375},
  2540. {-1.25, 0.375, 0.1875, -1.125, 0.5, 0.3125},
  2541. {-1.1875, 0.375, 0.125, -1, 0.5, 0.25},
  2542. {-1.0625, 0.375, 0.0625, -0.9375, 0.5, 0.1875},
  2543. {-1, 0.375, 0, -0.8125, 0.5, 0.125},
  2544. {-0.875, 0.375, -0.0625, -0.75, 0.5, 0.0625},
  2545. {-0.8125, 0.375, -0.125, -0.625, 0.5, 0},
  2546. {-0.6875, 0.375, -0.1875, -0.5625, 0.5, -0.0625},
  2547. {-0.625, 0.375, -0.25, -0.4375, 0.5, -0.125},
  2548. {-0.5, 0.375, -0.3125, -0.375, 0.5, -0.1875},
  2549. {-0.4375, 0.375, -0.375, -0.25, 0.5, -0.25},
  2550. {-0.3125, 0.375, -0.4375, -0.1875, 0.5, -0.3125},
  2551. {-0.25, 0.375, -0.5, -0.0625, 0.5, -0.375},
  2552. {-0.125, 0.375, -0.5625, 0.125, 0.5, -0.4375},
  2553. {1.3125, 0.375, -1.4375, 1.4375, 0.5, -1.3125},
  2554. {1.1875, 0.375, -1.375, 1.375, 0.5, -1.25},
  2555. {1.125, 0.375, -1.3125, 1.25, 0.5, -1.1875},
  2556. {1, 0.375, -1.25, 1.1875, 0.5, -1.125},
  2557. {0.9375, 0.375, -1.1875, 1.0625, 0.5, -1.0625},
  2558. {0.8125, 0.375, -1.125, 1, 0.5, -1},
  2559. {0.75, 0.375, -1.0625, 0.875, 0.5, -0.9375},
  2560. {0.625, 0.375, -1, 0.8125, 0.5, -0.875},
  2561. {0.5625, 0.375, -0.9375, 0.6875, 0.5, -0.8125},
  2562. {0.4375, 0.375, -0.875, 0.625, 0.5, -0.75},
  2563. {0.375, 0.375, -0.8125, 0.5, 0.5, -0.6875},
  2564. {0.25, 0.375, -0.75, 0.4375, 0.5, -0.625},
  2565. {0.1875, 0.375, -0.6875, 0.3125, 0.5, -0.5625},
  2566. {0.0625, 0.375, -0.625, 0.25, 0.5, -0.5},
  2567. {1.3125, 0.375, 0.3125, 1.4375, 0.5, 0.4375},
  2568. {1.1875, 0.375, 0.25, 1.375, 0.5, 0.375},
  2569. {1.125, 0.375, 0.1875, 1.25, 0.5, 0.3125},
  2570. {1, 0.375, 0.125, 1.1875, 0.5, 0.25},
  2571. {0.9375, 0.375, 0.0625, 1.0625, 0.5, 0.1875},
  2572. {0.8125, 0.375, 0, 1, 0.5, 0.125},
  2573. {0.75, 0.375, -0.0625, 0.875, 0.5, 0.0625},
  2574. {0.625, 0.375, -0.125, 0.8125, 0.5, 0},
  2575. {0.5625, 0.375, -0.1875, 0.6875, 0.5, -0.0625},
  2576. {0.4375, 0.375, -0.25, 0.625, 0.5, -0.125},
  2577. {0.375, 0.375, -0.3125, 0.5, 0.5, -0.1875},
  2578. {0.25, 0.375, -0.375, 0.4375, 0.5, -0.25},
  2579. {0.1875, 0.375, -0.4375, 0.3125, 0.5, -0.3125},
  2580. {0.0625, 0.375, -0.5, 0.25, 0.5, -0.375},
  2581. {-1.4375, 0.375, -1.4375, -1.3125, 0.5, -1.3125},
  2582. {-1.375, 0.375, -1.375, -1.1875, 0.5, -1.25},
  2583. {-1.25, 0.375, -1.3125, -1.125, 0.5, -1.1875},
  2584. {-1.1875, 0.375, -1.25, -1, 0.5, -1.125},
  2585. {-1.0625, 0.375, -1.1875, -0.9375, 0.5, -1.0625},
  2586. {-1, 0.375, -1.125, -0.8125, 0.5, -1},
  2587. {-0.875, 0.375, -1.0625, -0.75, 0.5, -0.9375},
  2588. {-0.8125, 0.375, -1, -0.625, 0.5, -0.875},
  2589. {-0.6875, 0.375, -0.9375, -0.5625, 0.5, -0.8125},
  2590. {-0.625, 0.375, -0.875, -0.4375, 0.5, -0.75},
  2591. {-0.5, 0.375, -0.8125, -0.375, 0.5, -0.6875},
  2592. {-0.4375, 0.375, -0.75, -0.25, 0.5, -0.625},
  2593. {-0.3125, 0.375, -0.6875, -0.1875, 0.5, -0.5625},
  2594. {-0.25, 0.375, -0.625, -0.0625, 0.5, -0.5},
  2595. },
  2596. },
  2597. selection_box = {
  2598. type = "fixed",
  2599. fixed = {
  2600. {-1.5, 0, -1.5, 1.5, 0.5, 0.5},
  2601. },
  2602. },
  2603. groups = {cracky=3},
  2604. sounds = default.node_sound_metal_defaults(),
  2605. })
  2606. minetest.register_node("bridger:medium_upper_chord_slanted_" .. bridge_color, {
  2607. description = bridge_desc .. " Medium Slanted Upper Chord",
  2608. drawtype = "nodebox",
  2609. tiles = {"bridges_" .. bridge_color .. ".png"},
  2610. inventory_image = "bridges_" .. bridge_color .. ".png^bridges_medium_upper_chord_slanted.png^[makealpha:255,126,126",
  2611. wield_image = "bridges_" .. bridge_color .. ".png^bridges_medium_upper_chord_slanted.png^[makealpha:255,126,126",
  2612. paramtype = "light",
  2613. paramtype2 = "facedir",
  2614. sunlight_propagates = true,
  2615. node_box = {
  2616. type = "fixed",
  2617. fixed = {
  2618. {-1.5, -0.5625, -1.5, -1.4375, -0.4375, -1.375},
  2619. {-1.5, -0.5625, -1.5, 1.5, -0.4375, -1.4375},
  2620. {1.4375, -0.5625, -1.5, 1.5, -0.4375, -1.375},
  2621. {1.4375, -0.5, -1.375, 1.5, -0.375, -1.25},
  2622. {1.4375, -0.4375, -1.25, 1.5, -0.3125, -1.125},
  2623. {1.4375, -0.375, -1.125, 1.5, -0.25, -1},
  2624. {1.4375, -0.3125, -1, 1.5, -0.1875, -0.875},
  2625. {1.4375, -0.25, -0.875, 1.5, -0.125, -0.75},
  2626. {1.4375, -0.1875, -0.75, 1.5, -0.0625, -0.625},
  2627. {1.4375, -0.125, -0.625, 1.5, -2.23517e-008, -0.5},
  2628. {1.4375, -0.0625, -0.5, 1.5, 0.0625, -0.375},
  2629. {1.4375, 0, -0.375, 1.5, 0.125, -0.25},
  2630. {1.4375, 0.0625, -0.25, 1.5, 0.1875, -0.125},
  2631. {1.4375, 0.125, -0.125, 1.5, 0.25, -9.68575e-008},
  2632. {1.4375, 0.1875, 0, 1.5, 0.3125, 0.125},
  2633. {1.4375, 0.25, 0.125, 1.5, 0.375, 0.25},
  2634. {1.4375, 0.3125, 0.25, 1.5, 0.4375, 0.375},
  2635. {1.4375, 0.375, 0.375, 1.5, 0.5, 0.5},
  2636. {-1.5, 0.375, 0.4375, 1.5, 0.5, 0.5},
  2637. {-1.5, -0.5, -1.375, -1.4375, -0.375, -1.25},
  2638. {-1.5, -0.4375, -1.25, -1.4375, -0.3125, -1.125},
  2639. {-1.5, -0.375, -1.125, -1.4375, -0.25, -1},
  2640. {-1.5, -0.3125, -1, -1.4375, -0.1875, -0.875},
  2641. {-1.5, -0.25, -0.875, -1.4375, -0.125, -0.75},
  2642. {-1.5, -0.1875, -0.75, -1.4375, -0.0625, -0.625},
  2643. {-1.5, -0.125, -0.625, -1.4375, 1.11759e-008, -0.5},
  2644. {-1.5, -0.0625, -0.5, -1.4375, 0.0625, -0.375},
  2645. {-1.5, 0, -0.375, -1.4375, 0.125, -0.25},
  2646. {-1.5, 0.0625, -0.25, -1.4375, 0.1875, -0.125},
  2647. {-1.5, 0.125, -0.125, -1.4375, 0.25, 1.49012e-007},
  2648. {-1.5, 0.1875, 0, -1.4375, 0.3125, 0.125},
  2649. {-1.5, 0.25, 0.125, -1.4375, 0.375, 0.25},
  2650. {-1.5, 0.3125, 0.25, -1.4375, 0.4375, 0.375},
  2651. {-1.5, 0.375, 0.375, -1.4375, 0.5, 0.5},
  2652. {-1.4375, -0.5625, -1.4375, -1.3125, -0.4375, -1.375},
  2653. {-1.4375, -0.5, -1.375, -1.1875, -0.375, -1.3125},
  2654. {-1.375, -0.5, -1.3125, -1.125, -0.375, -1.25},
  2655. {-1.25, -0.4375, -1.25, -1, -0.3125, -1.1875},
  2656. {-1.1875, -0.4375, -1.1875, -0.9375, -0.3125, -1.125},
  2657. {-1.0625, -0.375, -1.125, -0.8125, -0.25, -1.0625},
  2658. {-1, -0.375, -1.0625, -0.75, -0.25, -1},
  2659. {-0.875, -0.3125, -1, -0.625, -0.1875, -0.9375},
  2660. {-0.8125, -0.3125, -0.9375, -0.5625, -0.1875, -0.875},
  2661. {-0.6875, -0.25, -0.875, -0.4375, -0.125, -0.8125},
  2662. {-0.625, -0.25, -0.8125, -0.375, -0.125, -0.75},
  2663. {-0.5, -0.1875, -0.75, -0.25, -0.0625, -0.6875},
  2664. {-0.4375, -0.1875, -0.6875, -0.1875, -0.0625, -0.625},
  2665. {-0.3125, -0.125, -0.625, -0.0625, 3.35276e-008, -0.5625},
  2666. {-0.25, -0.125, -0.5625, 0.25, 3.35276e-008, -0.5},
  2667. {-0.25, -0.0625, -0.5, 0.25, 0.0625, -0.4375},
  2668. {-0.3125, -0.0625, -0.4375, -0.0625, 0.0625, -0.375},
  2669. {-0.4375, 0, -0.375, -0.1875, 0.125, -0.3125},
  2670. {-0.5, 0, -0.3125, -0.25, 0.125, -0.25},
  2671. {-0.625, 0.0625, -0.25, -0.375, 0.1875, -0.1875},
  2672. {-0.6875, 0.0625, -0.1875, -0.4375, 0.1875, -0.125},
  2673. {-0.8125, 0.125, -0.125, -0.5625, 0.25, -0.0625001},
  2674. {-0.875, 0.125, -0.0625, -0.625, 0.25, -9.87202e-008},
  2675. {-1, 0.1875, 0, -0.75, 0.3125, 0.0624999},
  2676. {-1.0625, 0.1875, 0.0625, -0.8125, 0.3125, 0.125},
  2677. {-1.1875, 0.25, 0.125, -0.9375, 0.375, 0.1875},
  2678. {-1.25, 0.25, 0.1875, -1, 0.375, 0.25},
  2679. {-1.375, 0.3125, 0.25, -1.125, 0.4375, 0.3125},
  2680. {-1.4375, 0.3125, 0.3125, -1.1875, 0.4375, 0.375},
  2681. {-1.4375, 0.375, 0.375, -1.3125, 0.5, 0.4375},
  2682. {1.3125, 0.375, 0.375, 1.4375, 0.5, 0.4375},
  2683. {1.1875, 0.3125, 0.3125, 1.4375, 0.4375, 0.375},
  2684. {1.125, 0.3125, 0.25, 1.375, 0.4375, 0.3125},
  2685. {1, 0.25, 0.1875, 1.25, 0.375, 0.25},
  2686. {0.9375, 0.25, 0.125, 1.1875, 0.375, 0.1875},
  2687. {0.8125, 0.1875, 0.0625, 1.0625, 0.3125, 0.125},
  2688. {0.75, 0.1875, 0, 1, 0.3125, 0.0624999},
  2689. {0.625, 0.125, -0.0625, 0.875, 0.25, -1.2666e-007},
  2690. {0.5625, 0.125, -0.125, 0.8125, 0.25, -0.0625001},
  2691. {0.4375, 0.0625, -0.1875, 0.6875, 0.1875, -0.125},
  2692. {0.375, 0.0625, -0.25, 0.625, 0.1875, -0.1875},
  2693. {0.25, 0, -0.3125, 0.5, 0.125, -0.25},
  2694. {0.1875, 0, -0.375, 0.4375, 0.125, -0.3125},
  2695. {0.0625, -0.0625, -0.4375, 0.3125, 0.0625, -0.375},
  2696. {0.0625, -0.125, -0.625, 0.3125, 3.72529e-009, -0.5625},
  2697. {0.1875, -0.1875, -0.6875, 0.4375, -0.0625, -0.625},
  2698. {0.25, -0.1875, -0.75, 0.5, -0.0625, -0.6875},
  2699. {0.375, -0.25, -0.8125, 0.625, -0.125, -0.75},
  2700. {0.4375, -0.25, -0.875, 0.6875, -0.125, -0.8125},
  2701. {0.5625, -0.3125, -0.9375, 0.8125, -0.1875, -0.875},
  2702. {0.625, -0.3125, -1, 0.875, -0.1875, -0.9375},
  2703. {0.75, -0.375, -1.0625, 1, -0.25, -1},
  2704. {0.8125, -0.375, -1.125, 1.0625, -0.25, -1.0625},
  2705. {0.9375, -0.4375, -1.1875, 1.1875, -0.3125, -1.125},
  2706. {1, -0.4375, -1.25, 1.25, -0.3125, -1.1875},
  2707. {1.125, -0.5, -1.3125, 1.375, -0.375, -1.25},
  2708. {1.1875, -0.5, -1.375, 1.4375, -0.375, -1.3125},
  2709. {1.3125, -0.5625, -1.4375, 1.4375, -0.4375, -1.375},
  2710. },
  2711. },
  2712. selection_box = {
  2713. type = "fixed",
  2714. fixed = {
  2715. {-1.5, -0.5, -1.5, 1.5, 0.5, 0.5},
  2716. },
  2717. },
  2718. groups = {cracky=3},
  2719. sounds = default.node_sound_metal_defaults(),
  2720. })
  2721. minetest.register_node("bridger:large_upper_chord_" .. bridge_color, {
  2722. description = bridge_desc .. " Large Upper Chord",
  2723. drawtype = "nodebox",
  2724. tiles = {"bridges_" .. bridge_color .. ".png"},
  2725. inventory_image = "bridges_" .. bridge_color .. ".png^bridges_large_upper_chord.png^[makealpha:255,126,126",
  2726. wield_image = "bridges_" .. bridge_color .. ".png^bridges_large_upper_chord.png^[makealpha:255,126,126",
  2727. paramtype = "light",
  2728. paramtype2 = "facedir",
  2729. sunlight_propagates = true,
  2730. node_box = {
  2731. type = "fixed",
  2732. fixed = {
  2733. {-2.5, 0.375, 0.4375, 2.5, 0.5, 0.5},
  2734. {2.4375, 0.375, -1.5, 2.5, 0.5, 0.5},
  2735. {-2.5, 0.375, -1.5, 2.5, 0.5, -1.4375},
  2736. {-2.5, 0.375, -1.5, -2.4375, 0.5, 0.5},
  2737. {-2.4375, 0.375, 0.3125, -2.1875, 0.5, 0.4375},
  2738. {-2.3125, 0.375, 0.25, -2, 0.5, 0.375},
  2739. {-2.125, 0.375, 0.1875, -1.875, 0.5, 0.3125},
  2740. {-2, 0.375, 0.125, -1.6875, 0.5, 0.25},
  2741. {-1.875, 0.375, 0.0625, -1.5, 0.5, 0.1875},
  2742. {-1.625, 0.375, 0, -1.375, 0.5, 0.125},
  2743. {-1.5, 0.375, -0.0625, -1.1875, 0.5, 0.0625},
  2744. {-1.3125, 0.375, -0.125, -1, 0.5, 0},
  2745. {-1.125, 0.375, -0.1875, -0.875, 0.5, -0.0625},
  2746. {-1, 0.375, -0.25, -0.6875, 0.5, -0.125},
  2747. {-0.8125, 0.375, -0.3125, -0.5, 0.5, -0.1875},
  2748. {-0.625, 0.375, -0.375, -0.375, 0.5, -0.25},
  2749. {-0.5, 0.375, -0.4375, -0.1875, 0.5, -0.3125},
  2750. {2.1875, 0.375, 0.3125, 2.4375, 0.5, 0.4375},
  2751. {2, 0.375, 0.25, 2.3125, 0.5, 0.375},
  2752. {1.875, 0.375, 0.1875, 2.125, 0.5, 0.3125},
  2753. {1.6875, 0.375, 0.125, 2, 0.5, 0.25},
  2754. {1.5, 0.375, 0.0625, 1.8125, 0.5, 0.1875},
  2755. {1.1875, 0.375, -0.0625, 1.5, 0.5, 0.0625},
  2756. {1.375, 0.375, 0, 1.625, 0.5, 0.125},
  2757. {1, 0.375, -0.125, 1.3125, 0.5, 0},
  2758. {0.875, 0.375, -0.1875, 1.125, 0.5, -0.0625},
  2759. {0.6875, 0.375, -0.25, 1, 0.5, -0.125},
  2760. {0.5, 0.375, -0.3125, 0.8125, 0.5, -0.1875},
  2761. {0.375, 0.375, -0.375, 0.625, 0.5, -0.25},
  2762. {0.1875, 0.375, -0.4375, 0.5, 0.5, -0.3125},
  2763. {-0.375, 0.375, -0.625, 0.3125, 0.5, -0.375},
  2764. {2.1875, 0.375, -1.4375, 2.4375, 0.5, -1.3125},
  2765. {2, 0.375, -1.375, 2.3125, 0.5, -1.25},
  2766. {1.875, 0.375, -1.3125, 2.125, 0.5, -1.1875},
  2767. {1.6875, 0.375, -1.25, 2, 0.5, -1.125},
  2768. {1.5, 0.375, -1.1875, 1.8125, 0.5, -1.0625},
  2769. {1.375, 0.375, -1.125, 1.625, 0.5, -1},
  2770. {1.1875, 0.375, -1.0625, 1.5, 0.5, -0.9375},
  2771. {1, 0.375, -1, 1.3125, 0.5, -0.875},
  2772. {0.875, 0.375, -0.9375, 1.125, 0.5, -0.8125},
  2773. {0.6875, 0.375, -0.875, 1, 0.5, -0.75},
  2774. {0.5, 0.375, -0.8125, 0.8125, 0.5, -0.6875},
  2775. {0.375, 0.375, -0.75, 0.625, 0.5, -0.625},
  2776. {0.1875, 0.375, -0.6875, 0.5, 0.5, -0.5625},
  2777. {-2.4375, 0.375, -1.4375, -2.1875, 0.5, -1.3125},
  2778. {-2.3125, 0.375, -1.375, -2, 0.5, -1.25},
  2779. {-2.125, 0.375, -1.3125, -1.875, 0.5, -1.1875},
  2780. {-2, 0.375, -1.25, -1.6875, 0.5, -1.125},
  2781. {-1.8125, 0.375, -1.1875, -1.5, 0.5, -1.0625},
  2782. {-1.625, 0.375, -1.125, -1.375, 0.5, -1},
  2783. {-1.5, 0.375, -1.0625, -1.1875, 0.5, -0.9375},
  2784. {-1.3125, 0.375, -1, -1, 0.5, -0.875},
  2785. {-1.125, 0.375, -0.9375, -0.875, 0.5, -0.8125},
  2786. {-1, 0.375, -0.875, -0.6875, 0.5, -0.75},
  2787. {-0.8125, 0.375, -0.8125, -0.5, 0.5, -0.6875},
  2788. {-0.625, 0.375, -0.75, -0.375, 0.5, -0.625},
  2789. {-0.5, 0.375, -0.6875, -0.1875, 0.5, -0.5625},
  2790. },
  2791. },
  2792. selection_box = {
  2793. type = "fixed",
  2794. fixed = {
  2795. {-2.5, 0, -1.5, 2.5, 0.5, 0.5},
  2796. },
  2797. },
  2798. groups = {cracky=3},
  2799. sounds = default.node_sound_metal_defaults(),
  2800. })
  2801. minetest.register_node("bridger:large_upper_chord_slanted_" .. bridge_color, {
  2802. description = bridge_desc .. " Large Slanted Upper Chord",
  2803. drawtype = "nodebox",
  2804. tiles = {"bridges_" .. bridge_color .. ".png"},
  2805. inventory_image = "bridges_" .. bridge_color .. ".png^bridges_large_upper_chord_slanted.png^[makealpha:255,126,126",
  2806. wield_image = "bridges_" .. bridge_color .. ".png^bridges_large_upper_chord_slanted.png^[makealpha:255,126,126",
  2807. paramtype = "light",
  2808. paramtype2 = "facedir",
  2809. sunlight_propagates = true,
  2810. node_box = {
  2811. type = "fixed",
  2812. fixed = {
  2813. {-2.5, -0.5625, -1.5, -2.4375, -0.4375, -1.375},
  2814. {-2.5, -0.5625, -1.5, 2.5, -0.4375, -1.4375},
  2815. {2.4375, -0.5625, -1.5, 2.5, -0.4375, -1.375},
  2816. {2.4375, -0.5, -1.375, 2.5, -0.375, -1.25},
  2817. {2.4375, -0.4375, -1.25, 2.5, -0.3125, -1.125},
  2818. {2.4375, -0.375, -1.125, 2.5, -0.25, -1},
  2819. {2.4375, -0.3125, -1, 2.5, -0.1875, -0.875},
  2820. {2.4375, -0.25, -0.875, 2.5, -0.125, -0.75},
  2821. {2.4375, -0.1875, -0.75, 2.5, -0.0625, -0.625},
  2822. {2.4375, -0.125, -0.625, 2.5, -2.23517e-008, -0.5},
  2823. {2.4375, -0.0625, -0.5, 2.5, 0.0625, -0.375},
  2824. {2.4375, 0, -0.375, 2.5, 0.125, -0.25},
  2825. {2.4375, 0.0625, -0.25, 2.5, 0.1875, -0.125},
  2826. {2.4375, 0.125, -0.125, 2.5, 0.25, -9.68575e-008},
  2827. {2.4375, 0.1875, 0, 2.5, 0.3125, 0.125},
  2828. {2.4375, 0.25, 0.125, 2.5, 0.375, 0.25},
  2829. {2.4375, 0.3125, 0.25, 2.5, 0.4375, 0.375},
  2830. {2.4375, 0.375, 0.375, 2.5, 0.5, 0.5},
  2831. {-2.5, 0.375, 0.4375, 2.5, 0.5, 0.5},
  2832. {-2.5, -0.5, -1.375, -2.4375, -0.375, -1.25},
  2833. {-2.5, -0.4375, -1.25, -2.4375, -0.3125, -1.125},
  2834. {-2.5, -0.375, -1.125, -2.4375, -0.25, -1},
  2835. {-2.5, -0.3125, -1, -2.4375, -0.1875, -0.875},
  2836. {-2.5, -0.25, -0.875, -2.4375, -0.125, -0.75},
  2837. {-2.5, -0.1875, -0.75, -2.4375, -0.0625, -0.625},
  2838. {-2.5, -0.125, -0.625, -2.4375, 1.11759e-008, -0.5},
  2839. {-2.5, -0.0625, -0.5, -2.4375, 0.0625, -0.375},
  2840. {-2.5, 0, -0.375, -2.4375, 0.125, -0.25},
  2841. {-2.5, 0.0625, -0.25, -2.4375, 0.1875, -0.125},
  2842. {-2.5, 0.125, -0.125, -2.4375, 0.25, 1.67638e-007},
  2843. {-2.5, 0.1875, 0, -2.4375, 0.3125, 0.125},
  2844. {-2.5, 0.25, 0.125, -2.4375, 0.375, 0.25},
  2845. {-2.5, 0.3125, 0.25, -2.4375, 0.4375, 0.375},
  2846. {-2.5, 0.375, 0.375, -2.4375, 0.5, 0.5},
  2847. {-2.4375, -0.5625, -1.4375, -2.1875, -0.4375, -1.375},
  2848. {-2.4375, -0.5625, -1.375, -2, -0.4375, -1.3125},
  2849. {-2.3125, -0.5625, -1.3125, -1.875, -0.4375, -1.25},
  2850. {-2.125, -0.4375, -1.25, -1.6875, -0.3125, -1.1875},
  2851. {-2, -0.4375, -1.1875, -1.5625, -0.3125, -1.125},
  2852. {-1.8125, -0.375, -1.125, -1.375, -0.25, -1.0625},
  2853. {-1.6875, -0.375, -1.0625, -1.25, -0.25, -1},
  2854. {-1.5, -0.3125, -1, -1.0625, -0.1875, -0.9375},
  2855. {-1.375, -0.3125, -0.9375, -0.937501, -0.1875, -0.875},
  2856. {-1.1875, -0.25, -0.875, -0.750001, -0.125, -0.8125},
  2857. {-1.0625, -0.25, -0.8125, -0.625001, -0.125, -0.75},
  2858. {-0.875, -0.1875, -0.75, -0.437501, -0.0624999, -0.6875},
  2859. {-0.75, -0.1875, -0.6875, -0.312501, -0.0624999, -0.625},
  2860. {-0.5625, -0.125, -0.625, -0.125001, 1.60187e-007, -0.5625},
  2861. {-0.4375, -0.125, -0.5625, 0.4375, 1.56462e-007, -0.5},
  2862. {-0.4375, -0.0625, -0.5, 0.4375, 0.0625001, -0.4375},
  2863. {-0.5625, -0.0625, -0.4375, -0.125, 0.0625001, -0.375},
  2864. {-0.75, 0, -0.375, -0.3125, 0.125, -0.3125},
  2865. {-0.875, 0, -0.3125, -0.4375, 0.125, -0.25},
  2866. {-1.0625, 0.0625, -0.25, -0.625, 0.1875, -0.1875},
  2867. {-1.1875, 0.0625, -0.1875, -0.75, 0.1875, -0.125},
  2868. {-1.375, 0.125, -0.125, -0.9375, 0.25, -0.0625001},
  2869. {-1.5, 0.125, -0.0625, -1.0625, 0.25, -7.07805e-008},
  2870. {-1.6875, 0.1875, 0, -1.25, 0.3125, 0.0624999},
  2871. {-1.8125, 0.1875, 0.0625, -1.375, 0.3125, 0.125},
  2872. {-2, 0.25, 0.125, -1.5625, 0.375, 0.1875},
  2873. {-2.125, 0.25, 0.1875, -1.6875, 0.375, 0.25},
  2874. {-2.3125, 0.3125, 0.25, -1.875, 0.4375, 0.3125},
  2875. {-2.4375, 0.3125, 0.3125, -2, 0.4375, 0.375},
  2876. {-2.4375, 0.375, 0.375, -2.1875, 0.5, 0.4375},
  2877. {2.1875, 0.375, 0.375, 2.4375, 0.5, 0.4375},
  2878. {2, 0.3125, 0.3125, 2.4375, 0.4375, 0.375},
  2879. {1.875, 0.3125, 0.25, 2.3125, 0.4375, 0.3125},
  2880. {1.6875, 0.25, 0.1875, 2.125, 0.375, 0.25},
  2881. {1.5625, 0.25, 0.125, 2, 0.375, 0.1875},
  2882. {1.375, 0.1875, 0.0625, 1.8125, 0.3125, 0.125},
  2883. {1.25, 0.1875, 0, 1.6875, 0.3125, 0.0624999},
  2884. {1.0625, 0.125, -0.0625, 1.5, 0.25, -6.70552e-008},
  2885. {0.9375, 0.125, -0.125, 1.375, 0.25, -0.0625001},
  2886. {0.75, 0.0625, -0.1875, 1.1875, 0.1875, -0.125},
  2887. {0.625, 0.0625, -0.25, 1.0625, 0.1875, -0.1875},
  2888. {0.4375, 0, -0.3125, 0.875, 0.125, -0.25},
  2889. {0.3125, 0, -0.375, 0.75, 0.125, -0.3125},
  2890. {0.125, 0, -0.4375, 0.5625, 0.125, -0.375},
  2891. {0.125, -0.125, -0.625, 0.5625, 1.22935e-007, -0.5625},
  2892. {0.3125, -0.1875, -0.6875, 0.75, -0.0624999, -0.625},
  2893. {0.4375, -0.1875, -0.75, 0.875, -0.0624999, -0.6875},
  2894. {0.625, -0.25, -0.8125, 1.0625, -0.125, -0.75},
  2895. {0.75, -0.25, -0.875, 1.1875, -0.125, -0.8125},
  2896. {0.9375, -0.3125, -0.9375, 1.375, -0.1875, -0.875},
  2897. {1.0625, -0.3125, -1, 1.5, -0.1875, -0.9375},
  2898. {1.25, -0.375, -1.0625, 1.6875, -0.25, -1},
  2899. {1.375, -0.375, -1.125, 1.8125, -0.25, -1.0625},
  2900. {1.5625, -0.4375, -1.1875, 2, -0.3125, -1.125},
  2901. {1.6875, -0.4375, -1.25, 2.125, -0.3125, -1.1875},
  2902. {1.875, -0.5, -1.3125, 2.3125, -0.375, -1.25},
  2903. {2, -0.5, -1.375, 2.4375, -0.375, -1.3125},
  2904. {2.1875, -0.5625, -1.4375, 2.4375, -0.4375, -1.375},
  2905. },
  2906. },
  2907. selection_box = {
  2908. type = "fixed",
  2909. fixed = {
  2910. {-2.5, -0.5, -1.5, 2.5, 0.5, 0.5},
  2911. },
  2912. },
  2913. groups = {cracky=3},
  2914. sounds = default.node_sound_metal_defaults(),
  2915. })
  2916. minetest.register_node("bridger:small_support_" .. bridge_color, {
  2917. description = bridge_desc .. " Small Support",
  2918. drawtype = "nodebox",
  2919. tiles = {"bridges_" .. bridge_color .. ".png"},
  2920. inventory_image = "bridges_" .. bridge_color .. ".png^bridges_small_support.png^[makealpha:255,126,126",
  2921. wield_image = "bridges_" .. bridge_color .. ".png^bridges_small_support.png^[makealpha:255,126,126",
  2922. paramtype = "light",
  2923. paramtype2 = "facedir",
  2924. sunlight_propagates = true,
  2925. node_box = {
  2926. type = "fixed",
  2927. fixed = {
  2928. {0.375, -0.5, -0.5, 0.5, 0.5, -0.375},
  2929. {-0.5, -0.5, -0.5, -0.375, 0.5, -0.375},
  2930. {-0.4375, -0.4375, -0.5, -0.3125, -0.3125, -0.375},
  2931. {-0.375, -0.375, -0.5, -0.25, -0.25, -0.375},
  2932. {-0.3125, -0.3125, -0.5, -0.1875, -0.1875, -0.375},
  2933. {-0.25, -0.25, -0.5, -0.125, -0.125, -0.375},
  2934. {-0.1875, -0.1875, -0.5, -0.0625, -0.0625, -0.375},
  2935. {-0.125, -0.125, -0.5, 0.125, 0.125, -0.375},
  2936. {0.0625, 0.0625, -0.5, 0.1875, 0.1875, -0.375},
  2937. {0.125, 0.125, -0.5, 0.25, 0.25, -0.375},
  2938. {0.1875, 0.1875, -0.5, 0.3125, 0.3125, -0.375},
  2939. {0.25, 0.25, -0.5, 0.375, 0.375, -0.375},
  2940. {0.3125, 0.3125, -0.5, 0.4375, 0.4375, -0.375},
  2941. {-0.4375, 0.3125, -0.5, -0.3125, 0.4375, -0.375},
  2942. {-0.375, 0.25, -0.5, -0.25, 0.375, -0.375},
  2943. {-0.3125, 0.1875, -0.5, -0.1875, 0.3125, -0.375},
  2944. {-0.25, 0.125, -0.5, -0.125, 0.25, -0.375},
  2945. {-0.1875, 0.0625, -0.5, -0.0625, 0.1875, -0.375},
  2946. {0.0625, -0.1875, -0.5, 0.1875, -0.0625, -0.375},
  2947. {0.125, -0.25, -0.5, 0.25, -0.125, -0.375},
  2948. {0.1875, -0.3125, -0.5, 0.3125, -0.1875, -0.375},
  2949. {0.25, -0.375, -0.5, 0.375, -0.25, -0.375},
  2950. {0.3125, -0.4375, -0.5, 0.4375, -0.3125, -0.375},
  2951. {-0.5, -0.4375, 0.3125, -0.375, -0.3125, 0.4375},
  2952. {-0.5, -0.375, 0.25, -0.375, -0.25, 0.375},
  2953. {-0.5, -0.3125, 0.1875, -0.375, -0.1875, 0.3125},
  2954. {-0.5, -0.25, 0.125, -0.375, -0.125, 0.25},
  2955. {-0.5, -0.1875, 0.0625, -0.375, -0.0625, 0.1875},
  2956. {-0.5, -0.125, -0.125, -0.375, 0.125, 0.125},
  2957. {-0.5, 0.0625, -0.1875, -0.375, 0.1875, -0.0625},
  2958. {-0.5, 0.125, -0.25, -0.375, 0.25, -0.125},
  2959. {-0.5, 0.1875, -0.3125, -0.375, 0.3125, -0.1875},
  2960. {-0.5, 0.25, -0.375, -0.375, 0.375, -0.25},
  2961. {-0.5, 0.3125, -0.4375, -0.375, 0.4375, -0.3125},
  2962. {-0.5, 0.3125, 0.3125, -0.375, 0.4375, 0.4375},
  2963. {-0.5, 0.25, 0.25, -0.375, 0.375, 0.375},
  2964. {-0.5, 0.1875, 0.1875, -0.375, 0.3125, 0.3125},
  2965. {-0.5, 0.125, 0.125, -0.375, 0.25, 0.25},
  2966. {-0.5, 0.0625, 0.0625, -0.375, 0.1875, 0.1875},
  2967. {-0.5, -0.1875, -0.1875, -0.375, -0.0625, -0.0625},
  2968. {-0.5, -0.25, -0.25, -0.375, -0.125, -0.125},
  2969. {-0.5, -0.3125, -0.3125, -0.375, -0.1875, -0.1875},
  2970. {-0.5, -0.375, -0.375, -0.375, -0.25, -0.25},
  2971. {-0.5, -0.4375, -0.4375, -0.375, -0.3125, -0.3125},
  2972. {0.3125, -0.4375, 0.375, 0.4375, -0.3125, 0.5},
  2973. {0.25, -0.375, 0.375, 0.375, -0.25, 0.5},
  2974. {0.1875, -0.3125, 0.375, 0.3125, -0.1875, 0.5},
  2975. {0.125, -0.25, 0.375, 0.25, -0.125, 0.5},
  2976. {0.0625, -0.1875, 0.375, 0.1875, -0.0625, 0.5},
  2977. {-0.125, -0.125, 0.375, 0.125, 0.125, 0.5},
  2978. {-0.1875, 0.0625, 0.375, -0.0625, 0.1875, 0.5},
  2979. {-0.25, 0.125, 0.375, -0.125, 0.25, 0.5},
  2980. {-0.3125, 0.1875, 0.375, -0.1875, 0.3125, 0.5},
  2981. {-0.375, 0.25, 0.375, -0.25, 0.375, 0.5},
  2982. {-0.4375, 0.3125, 0.375, -0.3125, 0.4375, 0.5},
  2983. {0.3125, 0.3125, 0.375, 0.4375, 0.4375, 0.5},
  2984. {0.25, 0.25, 0.375, 0.375, 0.375, 0.5},
  2985. {0.1875, 0.1875, 0.375, 0.3125, 0.3125, 0.5},
  2986. {0.125, 0.125, 0.375, 0.25, 0.25, 0.5},
  2987. {0.0625, 0.0625, 0.375, 0.1875, 0.1875, 0.5},
  2988. {-0.1875, -0.1875, 0.375, -0.0625, -0.0625, 0.5},
  2989. {-0.25, -0.25, 0.375, -0.125, -0.125, 0.5},
  2990. {-0.3125, -0.3125, 0.375, -0.1875, -0.1875, 0.5},
  2991. {-0.375, -0.375, 0.375, -0.25, -0.25, 0.5},
  2992. {-0.4375, -0.4375, 0.375, -0.3125, -0.3125, 0.5},
  2993. {0.375, -0.4375, -0.4375, 0.5, -0.3125, -0.3125},
  2994. {0.375, -0.375, -0.375, 0.5, -0.25, -0.25},
  2995. {0.375, -0.3125, -0.3125, 0.5, -0.1875, -0.1875},
  2996. {0.375, -0.25, -0.25, 0.5, -0.125, -0.125},
  2997. {0.375, -0.1875, -0.1875, 0.5, -0.0625, -0.0625},
  2998. {0.375, -0.125, -0.125, 0.5, 0.125, 0.125},
  2999. {0.375, 0.0625, 0.0625, 0.5, 0.1875, 0.1875},
  3000. {0.375, 0.125, 0.125, 0.5, 0.25, 0.25},
  3001. {0.375, 0.1875, 0.1875, 0.5, 0.3125, 0.3125},
  3002. {0.375, 0.25, 0.25, 0.5, 0.375, 0.375},
  3003. {0.375, 0.3125, 0.3125, 0.5, 0.4375, 0.4375},
  3004. {0.375, 0.3125, -0.4375, 0.5, 0.4375, -0.3125},
  3005. {0.375, 0.25, -0.375, 0.5, 0.375, -0.25},
  3006. {0.375, 0.1875, -0.3125, 0.5, 0.3125, -0.1875},
  3007. {0.375, 0.125, -0.25, 0.5, 0.25, -0.125},
  3008. {0.375, 0.0625, -0.1875, 0.5, 0.1875, -0.0625},
  3009. {0.375, -0.1875, 0.0625, 0.5, -0.0625, 0.1875},
  3010. {0.375, -0.25, 0.125, 0.5, -0.125, 0.25},
  3011. {0.375, -0.3125, 0.1875, 0.5, -0.1875, 0.3125},
  3012. {0.375, -0.375, 0.25, 0.5, -0.25, 0.375},
  3013. {0.375, -0.4375, 0.3125, 0.5, -0.3125, 0.4375},
  3014. {-0.5, -0.5, 0.375, -0.375, 0.5, 0.5},
  3015. {0.375, -0.5, 0.375, 0.5, 0.5, 0.5},
  3016. },
  3017. },
  3018. selection_box = {
  3019. type = "fixed",
  3020. fixed = {
  3021. {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5},
  3022. },
  3023. },
  3024. groups = {cracky=3},
  3025. sounds = default.node_sound_metal_defaults(),
  3026. })
  3027. minetest.register_node("bridger:small_support_top_" .. bridge_color, {
  3028. description = bridge_desc .. " Small Support Top",
  3029. drawtype = "nodebox",
  3030. tiles = {"bridges_" .. bridge_color .. ".png"},
  3031. inventory_image = "bridges_" .. bridge_color .. ".png^bridges_small_support_top.png^[makealpha:255,126,126",
  3032. wield_image = "bridges_" .. bridge_color .. ".png^bridges_small_support_top.png^[makealpha:255,126,126",
  3033. paramtype = "light",
  3034. paramtype2 = "facedir",
  3035. sunlight_propagates = true,
  3036. node_box = {
  3037. type = "fixed",
  3038. fixed = {
  3039. {0.375, -0.5, -0.5, 0.5, 1.5, -0.375},
  3040. {-0.5, -0.5, -0.5, -0.375, 1.5, -0.375},
  3041. {0.3125, -0.4375, -0.5, 0.4375, -0.3125, -0.375},
  3042. {0.25, -0.375, -0.5, 0.375, -0.25, -0.375},
  3043. {0.1875, -0.3125, -0.5, 0.3125, -0.1875, -0.375},
  3044. {0.125, -0.25, -0.5, 0.25, -0.125, -0.375},
  3045. {0.0625, -0.1875, -0.5, 0.1875, -0.0625, -0.375},
  3046. {-0.125, -0.125, -0.5, 0.125, 0.125, -0.375},
  3047. {-0.1875, -0.1875, -0.5, -0.0625, -0.0625, -0.375},
  3048. {-0.25, -0.25, -0.5, -0.125, -0.125, -0.375},
  3049. {-0.3125, -0.3125, -0.5, -0.1875, -0.1875, -0.375},
  3050. {-0.375, -0.375, -0.5, -0.25, -0.25, -0.375},
  3051. {-0.4375, -0.4375, -0.5, -0.3125, -0.3125, -0.375},
  3052. {0.0625, 0.0625, -0.5, 0.1875, 0.1875, -0.375},
  3053. {0.125, 0.125, -0.5, 0.25, 0.25, -0.375},
  3054. {0.1875, 0.1875, -0.5, 0.3125, 0.3125, -0.375},
  3055. {0.25, 0.25, -0.5, 0.375, 0.375, -0.375},
  3056. {0.3125, 0.3125, -0.5, 0.4375, 0.4375, -0.375},
  3057. {-0.1875, 0.0625, -0.5, -0.0625, 0.1875, -0.375},
  3058. {-0.25, 0.125, -0.5, -0.125, 0.25, -0.375},
  3059. {-0.3125, 0.1875, -0.5, -0.1875, 0.3125, -0.375},
  3060. {-0.375, 0.25, -0.5, -0.25, 0.375, -0.375},
  3061. {-0.4375, 0.3125, -0.5, -0.3125, 0.4375, -0.375},
  3062. {-0.4375, 0.5625, -0.5, -0.3125, 0.6875, -0.375},
  3063. {-0.375, 0.625, -0.5, -0.25, 0.75, -0.375},
  3064. {-0.3125, 0.6875, -0.5, -0.1875, 0.8125, -0.375},
  3065. {-0.25, 0.75, -0.5, -0.125, 0.875, -0.375},
  3066. {-0.1875, 0.8125, -0.5, -0.0625001, 0.9375, -0.375},
  3067. {0.3125, 0.5625, -0.5, 0.4375, 0.6875, -0.375},
  3068. {0.25, 0.625, -0.5, 0.375, 0.75, -0.375},
  3069. {0.1875, 0.6875, -0.5, 0.3125, 0.8125, -0.375},
  3070. {0.125, 0.75, -0.5, 0.25, 0.875, -0.375},
  3071. {0.0625, 0.8125, -0.5, 0.1875, 0.9375, -0.375},
  3072. {-0.125, 0.875, -0.5, 0.125, 1.125, -0.375},
  3073. {0.0625, 1.0625, -0.5, 0.1875, 1.1875, -0.375},
  3074. {0.125, 1.125, -0.5, 0.25, 1.25, -0.375},
  3075. {0.1875, 1.1875, -0.5, 0.3125, 1.3125, -0.375},
  3076. {0.25, 1.25, -0.5, 0.375, 1.375, -0.375},
  3077. {0.3125, 1.3125, -0.5, 0.4375, 1.4375, -0.375},
  3078. {-0.1875, 1.0625, -0.5, -0.0625, 1.1875, -0.375},
  3079. {-0.25, 1.125, -0.5, -0.125, 1.25, -0.375},
  3080. {-0.3125, 1.1875, -0.5, -0.1875, 1.3125, -0.375},
  3081. {-0.375, 1.25, -0.5, -0.25, 1.375, -0.375},
  3082. {-0.4375, 1.3125, -0.5, -0.3125, 1.4375, -0.375},
  3083. {-0.5, -0.5, 0.375, -0.375, 1.5, 0.5},
  3084. {0.375, -0.5, 0.375, 0.5, 1.5, 0.5},
  3085. {-0.4375, -0.4375, 0.375, -0.3125, -0.3125, 0.5},
  3086. {-0.375, -0.375, 0.375, -0.25, -0.25, 0.5},
  3087. {-0.3125, -0.3125, 0.375, -0.1875, -0.1875, 0.5},
  3088. {-0.25, -0.25, 0.375, -0.125, -0.125, 0.5},
  3089. {-0.1875, -0.1875, 0.375, -0.0625, -0.0625, 0.5},
  3090. {-0.125, -0.125, 0.375, 0.125, 0.125, 0.5},
  3091. {0.0625, -0.1875, 0.375, 0.1875, -0.0625, 0.5},
  3092. {0.125, -0.25, 0.375, 0.25, -0.125, 0.5},
  3093. {0.1875, -0.3125, 0.375, 0.3125, -0.1875, 0.5},
  3094. {0.25, -0.375, 0.375, 0.375, -0.25, 0.5},
  3095. {0.3125, -0.4375, 0.375, 0.4375, -0.3125, 0.5},
  3096. {-0.1875, 0.0625, 0.375, -0.0625, 0.1875, 0.5},
  3097. {-0.25, 0.125, 0.375, -0.125, 0.25, 0.5},
  3098. {-0.3125, 0.1875, 0.375, -0.1875, 0.3125, 0.5},
  3099. {-0.375, 0.25, 0.375, -0.25, 0.375, 0.5},
  3100. {-0.4375, 0.3125, 0.375, -0.3125, 0.4375, 0.5},
  3101. {0.0625, 0.0625, 0.375, 0.1875, 0.1875, 0.5},
  3102. {0.125, 0.125, 0.375, 0.25, 0.25, 0.5},
  3103. {0.1875, 0.1875, 0.375, 0.3125, 0.3125, 0.5},
  3104. {0.25, 0.25, 0.375, 0.375, 0.375, 0.5},
  3105. {0.3125, 0.3125, 0.375, 0.4375, 0.4375, 0.5},
  3106. {0.3125, 0.5625, 0.375, 0.4375, 0.6875, 0.5},
  3107. {0.25, 0.625, 0.375, 0.375, 0.75, 0.5},
  3108. {0.1875, 0.6875, 0.375, 0.3125, 0.8125, 0.5},
  3109. {0.125, 0.75, 0.375, 0.25, 0.875, 0.5},
  3110. {0.0625001, 0.8125, 0.375, 0.1875, 0.9375, 0.5},
  3111. {-0.4375, 0.5625, 0.375, -0.3125, 0.6875, 0.5},
  3112. {-0.375, 0.625, 0.375, -0.25, 0.75, 0.5},
  3113. {-0.3125, 0.6875, 0.375, -0.1875, 0.8125, 0.5},
  3114. {-0.25, 0.75, 0.375, -0.125, 0.875, 0.5},
  3115. {-0.1875, 0.8125, 0.375, -0.0625, 0.9375, 0.5},
  3116. {-0.125, 0.875, 0.375, 0.125, 1.125, 0.5},
  3117. {-0.1875, 1.0625, 0.375, -0.0625, 1.1875, 0.5},
  3118. {-0.25, 1.125, 0.375, -0.125, 1.25, 0.5},
  3119. {-0.3125, 1.1875, 0.375, -0.1875, 1.3125, 0.5},
  3120. {-0.375, 1.25, 0.375, -0.25, 1.375, 0.5},
  3121. {-0.4375, 1.3125, 0.375, -0.3125, 1.4375, 0.5},
  3122. {0.0625, 1.0625, 0.375, 0.1875, 1.1875, 0.5},
  3123. {0.125, 1.125, 0.375, 0.25, 1.25, 0.5},
  3124. {0.1875, 1.1875, 0.375, 0.3125, 1.3125, 0.5},
  3125. {0.25, 1.25, 0.375, 0.375, 1.375, 0.5},
  3126. {0.3125, 1.3125, 0.375, 0.4375, 1.4375, 0.5},
  3127. {0.375, -0.4375, 0.3125, 0.5, -0.3125, 0.4375},
  3128. {0.375, -0.375, 0.25, 0.5, -0.25, 0.375},
  3129. {0.375, -0.3125, 0.1875, 0.5, -0.1875, 0.3125},
  3130. {0.375, -0.25, 0.125, 0.5, -0.125, 0.25},
  3131. {0.375, -0.1875, 0.0625, 0.5, -0.0625, 0.1875},
  3132. {0.375, -0.125, -0.125, 0.5, 0.125, 0.125},
  3133. {0.375, -0.1875, -0.1875, 0.5, -0.0625, -0.0625},
  3134. {0.375, -0.25, -0.25, 0.5, -0.125, -0.125},
  3135. {0.375, -0.3125, -0.3125, 0.5, -0.1875, -0.1875},
  3136. {0.375, -0.375, -0.375, 0.5, -0.25, -0.25},
  3137. {0.375, -0.4375, -0.4375, 0.5, -0.3125, -0.3125},
  3138. {0.375, 0.0625, 0.0625, 0.5, 0.1875, 0.1875},
  3139. {0.375, 0.125, 0.125, 0.5, 0.25, 0.25},
  3140. {0.375, 0.1875, 0.1875, 0.5, 0.3125, 0.3125},
  3141. {0.375, 0.25, 0.25, 0.5, 0.375, 0.375},
  3142. {0.375, 0.3125, 0.3125, 0.5, 0.4375, 0.4375},
  3143. {0.375, 0.0625, -0.1875, 0.5, 0.1875, -0.0625},
  3144. {0.375, 0.125, -0.25, 0.5, 0.25, -0.125},
  3145. {0.375, 0.1875, -0.3125, 0.5, 0.3125, -0.1875},
  3146. {0.375, 0.25, -0.375, 0.5, 0.375, -0.25},
  3147. {0.375, 0.3125, -0.4375, 0.5, 0.4375, -0.3125},
  3148. {0.375, 0.5625, -0.4375, 0.5, 0.6875, -0.3125},
  3149. {0.375, 0.625, -0.375, 0.5, 0.75, -0.25},
  3150. {0.375, 0.6875, -0.3125, 0.5, 0.8125, -0.1875},
  3151. {0.375, 0.75, -0.25, 0.5, 0.875, -0.125},
  3152. {0.375, 0.8125, -0.1875, 0.5, 0.9375, -0.0625001},
  3153. {0.375, 0.5625, 0.3125, 0.5, 0.6875, 0.4375},
  3154. {0.375, 0.625, 0.25, 0.5, 0.75, 0.375},
  3155. {0.375, 0.6875, 0.1875, 0.5, 0.8125, 0.3125},
  3156. {0.375, 0.75, 0.125, 0.5, 0.875, 0.25},
  3157. {0.375, 0.8125, 0.0625, 0.5, 0.9375, 0.1875},
  3158. {0.375, 0.875, -0.125, 0.5, 1.125, 0.125},
  3159. {0.375, 1.0625, 0.0625, 0.5, 1.1875, 0.1875},
  3160. {0.375, 1.125, 0.125, 0.5, 1.25, 0.25},
  3161. {0.375, 1.1875, 0.1875, 0.5, 1.3125, 0.3125},
  3162. {0.375, 1.25, 0.25, 0.5, 1.375, 0.375},
  3163. {0.375, 1.3125, 0.3125, 0.5, 1.4375, 0.4375},
  3164. {0.375, 1.0625, -0.1875, 0.5, 1.1875, -0.0625},
  3165. {0.375, 1.125, -0.25, 0.5, 1.25, -0.125},
  3166. {0.375, 1.1875, -0.3125, 0.5, 1.3125, -0.1875},
  3167. {0.375, 1.25, -0.375, 0.5, 1.375, -0.25},
  3168. {0.375, 1.3125, -0.4375, 0.5, 1.4375, -0.3125},
  3169. {-0.5, -0.4375, -0.4375, -0.375, -0.3125, -0.3125},
  3170. {-0.5, -0.375, -0.375, -0.375, -0.25, -0.25},
  3171. {-0.5, -0.3125, -0.3125, -0.375, -0.1875, -0.1875},
  3172. {-0.5, -0.25, -0.25, -0.375, -0.125, -0.125},
  3173. {-0.5, -0.1875, -0.1875, -0.375, -0.0625, -0.0625},
  3174. {-0.5, -0.125, -0.125, -0.375, 0.125, 0.125},
  3175. {-0.5, -0.1875, 0.0625, -0.375, -0.0625, 0.1875},
  3176. {-0.5, -0.25, 0.125, -0.375, -0.125, 0.25},
  3177. {-0.5, -0.3125, 0.1875, -0.375, -0.1875, 0.3125},
  3178. {-0.5, -0.375, 0.25, -0.375, -0.25, 0.375},
  3179. {-0.5, -0.4375, 0.3125, -0.375, -0.3125, 0.4375},
  3180. {-0.5, 0.0625, -0.1875, -0.375, 0.1875, -0.0625},
  3181. {-0.5, 0.125, -0.25, -0.375, 0.25, -0.125},
  3182. {-0.5, 0.1875, -0.3125, -0.375, 0.3125, -0.1875},
  3183. {-0.5, 0.25, -0.375, -0.375, 0.375, -0.25},
  3184. {-0.5, 0.3125, -0.4375, -0.375, 0.4375, -0.3125},
  3185. {-0.5, 0.0625, 0.0625, -0.375, 0.1875, 0.1875},
  3186. {-0.5, 0.125, 0.125, -0.375, 0.25, 0.25},
  3187. {-0.5, 0.1875, 0.1875, -0.375, 0.3125, 0.3125},
  3188. {-0.5, 0.25, 0.25, -0.375, 0.375, 0.375},
  3189. {-0.5, 0.3125, 0.3125, -0.375, 0.4375, 0.4375},
  3190. {-0.5, 0.5625, 0.3125, -0.375, 0.6875, 0.4375},
  3191. {-0.5, 0.625, 0.25, -0.375, 0.75, 0.375},
  3192. {-0.5, 0.6875, 0.1875, -0.375, 0.8125, 0.3125},
  3193. {-0.5, 0.75, 0.125, -0.375, 0.875, 0.25},
  3194. {-0.5, 0.8125, 0.0625001, -0.375, 0.9375, 0.1875},
  3195. {-0.5, 0.5625, -0.4375, -0.375, 0.6875, -0.3125},
  3196. {-0.5, 0.625, -0.375, -0.375, 0.75, -0.25},
  3197. {-0.5, 0.6875, -0.3125, -0.375, 0.8125, -0.1875},
  3198. {-0.5, 0.75, -0.25, -0.375, 0.875, -0.125},
  3199. {-0.5, 0.8125, -0.1875, -0.375, 0.9375, -0.0625},
  3200. {-0.5, 0.875, -0.125, -0.375, 1.125, 0.125},
  3201. {-0.5, 1.0625, -0.1875, -0.375, 1.1875, -0.0625},
  3202. {-0.5, 1.125, -0.25, -0.375, 1.25, -0.125},
  3203. {-0.5, 1.1875, -0.3125, -0.375, 1.3125, -0.1875},
  3204. {-0.5, 1.25, -0.375, -0.375, 1.375, -0.25},
  3205. {-0.5, 1.3125, -0.4375, -0.375, 1.4375, -0.3125},
  3206. {-0.5, 1.0625, 0.0625, -0.375, 1.1875, 0.1875},
  3207. {-0.5, 1.125, 0.125, -0.375, 1.25, 0.25},
  3208. {-0.5, 1.1875, 0.1875, -0.375, 1.3125, 0.3125},
  3209. {-0.5, 1.25, 0.25, -0.375, 1.375, 0.375},
  3210. {-0.5, 1.3125, 0.3125, -0.375, 1.4375, 0.4375},
  3211. },
  3212. },
  3213. selection_box = {
  3214. type = "fixed",
  3215. fixed = {
  3216. {-0.5, -0.5, -0.5, 0.5, 1.5, 0.5},
  3217. },
  3218. },
  3219. groups = {cracky=3},
  3220. sounds = default.node_sound_metal_defaults(),
  3221. })
  3222. minetest.register_node("bridger:medium_support_" .. bridge_color, {
  3223. description = bridge_desc .. " Medium Support",
  3224. drawtype = "nodebox",
  3225. tiles = {"bridges_" .. bridge_color .. ".png"},
  3226. inventory_image = "bridges_" .. bridge_color .. ".png^bridges_medium_support.png^[makealpha:255,126,126",
  3227. wield_image = "bridges_" .. bridge_color .. ".png^bridges_medium_support.png^[makealpha:255,126,126",
  3228. paramtype = "light",
  3229. paramtype2 = "facedir",
  3230. sunlight_propagates = true,
  3231. node_box = {
  3232. type = "fixed",
  3233. fixed = {
  3234. {-1.5, -0.5, 0.3125, -1.25, 2.5, 0.5625},
  3235. {1.25, -0.5, 0.3125, 1.5, 2.5, 0.5625},
  3236. {-1.4375, 2.3125, 0.375, -1.3125, 2.4375, 0.5},
  3237. {-1.375, 2.25, 0.375, -1.25, 2.375, 0.5},
  3238. {-1.3125, 2.1875, 0.375, -1.1875, 2.3125, 0.5},
  3239. {-1.25, 2.125, 0.375, -1.125, 2.25, 0.5},
  3240. {-1.1875, 2.0625, 0.375, -1.0625, 2.1875, 0.5},
  3241. {-1.125, 2, 0.375, -1, 2.125, 0.5},
  3242. {-1.0625, 1.9375, 0.375, -0.9375, 2.0625, 0.5},
  3243. {-1, 1.875, 0.375, -0.875, 2, 0.5},
  3244. {-0.9375, 1.8125, 0.375, -0.8125, 1.9375, 0.5},
  3245. {-0.875, 1.75, 0.375, -0.75, 1.875, 0.5},
  3246. {-0.8125, 1.6875, 0.375, -0.6875, 1.8125, 0.5},
  3247. {-0.75, 1.625, 0.375, -0.625, 1.75, 0.5},
  3248. {-0.6875, 1.5625, 0.375, -0.5625, 1.6875, 0.5},
  3249. {-0.625, 1.5, 0.375, -0.5, 1.625, 0.5},
  3250. {-0.5625, 1.4375, 0.375, -0.4375, 1.5625, 0.5},
  3251. {-0.5, 1.375, 0.375, -0.375, 1.5, 0.5},
  3252. {-0.4375, 1.3125, 0.375, -0.3125, 1.4375, 0.5},
  3253. {-0.375, 1.25, 0.375, -0.25, 1.375, 0.5},
  3254. {-0.3125, 1.1875, 0.375, -0.1875, 1.3125, 0.5},
  3255. {-0.25, 1.125, 0.375, -0.125, 1.25, 0.5},
  3256. {-0.1875, 1.0625, 0.375, -0.0625, 1.1875, 0.5},
  3257. {-0.125, 0.875, 0.375, 0.125, 1.125, 0.5},
  3258. {0.0625, 0.8125, 0.375, 0.1875, 0.9375, 0.5},
  3259. {0.125, 0.75, 0.375, 0.25, 0.875, 0.5},
  3260. {0.1875, 0.6875, 0.375, 0.3125, 0.8125, 0.5},
  3261. {0.25, 0.625, 0.375, 0.375, 0.75, 0.5},
  3262. {0.3125, 0.5625, 0.375, 0.4375, 0.6875, 0.5},
  3263. {0.375, 0.5, 0.375, 0.5, 0.625, 0.5},
  3264. {0.4375, 0.4375, 0.375, 0.5625, 0.5625, 0.5},
  3265. {0.5, 0.375, 0.375, 0.625, 0.5, 0.5},
  3266. {0.5625, 0.3125, 0.375, 0.6875, 0.4375, 0.5},
  3267. {0.625, 0.25, 0.375, 0.75, 0.375, 0.5},
  3268. {0.6875, 0.1875, 0.375, 0.8125, 0.3125, 0.5},
  3269. {0.75, 0.125, 0.375, 0.875, 0.25, 0.5},
  3270. {0.8125, 0.0625, 0.375, 0.9375, 0.1875, 0.5},
  3271. {0.875, 0, 0.375, 1, 0.125, 0.5},
  3272. {0.9375, -0.0625, 0.375, 1.0625, 0.0625, 0.5},
  3273. {1, -0.125, 0.375, 1.125, 0, 0.5},
  3274. {1.0625, -0.1875, 0.375, 1.1875, -0.0625, 0.5},
  3275. {1.125, -0.25, 0.375, 1.25, -0.125, 0.5},
  3276. {1.1875, -0.3125, 0.375, 1.3125, -0.1875, 0.5},
  3277. {1.25, -0.375, 0.375, 1.375, -0.25, 0.5},
  3278. {1.3125, -0.4375, 0.375, 1.4375, -0.3125, 0.5},
  3279. {1.3125, 2.3125, 0.375, 1.4375, 2.4375, 0.5},
  3280. {1.25, 2.25, 0.375, 1.375, 2.375, 0.5},
  3281. {1.1875, 2.1875, 0.375, 1.3125, 2.3125, 0.5},
  3282. {1.125, 2.125, 0.375, 1.25, 2.25, 0.5},
  3283. {1.0625, 2.0625, 0.375, 1.1875, 2.1875, 0.5},
  3284. {1, 2, 0.375, 1.125, 2.125, 0.5},
  3285. {0.9375, 1.9375, 0.375, 1.0625, 2.0625, 0.5},
  3286. {0.875, 1.875, 0.375, 1, 2, 0.5},
  3287. {0.8125, 1.8125, 0.375, 0.9375, 1.9375, 0.5},
  3288. {0.75, 1.75, 0.375, 0.875, 1.875, 0.5},
  3289. {0.6875, 1.6875, 0.375, 0.8125, 1.8125, 0.5},
  3290. {0.625, 1.625, 0.375, 0.75, 1.75, 0.5},
  3291. {0.5625, 1.5625, 0.375, 0.6875, 1.6875, 0.5},
  3292. {0.5, 1.5, 0.375, 0.625, 1.625, 0.5},
  3293. {0.4375, 1.4375, 0.375, 0.5625, 1.5625, 0.5},
  3294. {0.375, 1.375, 0.375, 0.5, 1.5, 0.5},
  3295. {0.3125, 1.3125, 0.375, 0.4375, 1.4375, 0.5},
  3296. {0.25, 1.25, 0.375, 0.375, 1.375, 0.5},
  3297. {0.1875, 1.1875, 0.375, 0.3125, 1.3125, 0.5},
  3298. {0.125, 1.125, 0.375, 0.25, 1.25, 0.5},
  3299. {0.0625, 1.0625, 0.375, 0.1875, 1.1875, 0.5},
  3300. {-0.1875, 0.8125, 0.375, -0.0625, 0.9375, 0.5},
  3301. {-0.25, 0.75, 0.375, -0.125, 0.875, 0.5},
  3302. {-0.3125, 0.6875, 0.375, -0.1875, 0.8125, 0.5},
  3303. {-0.375, 0.625, 0.375, -0.25, 0.75, 0.5},
  3304. {-0.4375, 0.5625, 0.375, -0.3125, 0.6875, 0.5},
  3305. {-0.5, 0.5, 0.375, -0.375, 0.625, 0.5},
  3306. {-0.5625, 0.4375, 0.375, -0.4375, 0.5625, 0.5},
  3307. {-0.625, 0.375, 0.375, -0.5, 0.5, 0.5},
  3308. {-0.6875, 0.3125, 0.375, -0.5625, 0.4375, 0.5},
  3309. {-0.75, 0.25, 0.375, -0.625, 0.375, 0.5},
  3310. {-0.8125, 0.1875, 0.375, -0.6875, 0.3125, 0.5},
  3311. {-0.875, 0.125, 0.375, -0.75, 0.25, 0.5},
  3312. {-0.9375, 0.0625, 0.375, -0.8125, 0.1875, 0.5},
  3313. {-1, 0, 0.375, -0.875, 0.125, 0.5},
  3314. {-1.0625, -0.0625, 0.375, -0.9375, 0.0625, 0.5},
  3315. {-1.125, -0.125, 0.375, -1, 0, 0.5},
  3316. {-1.1875, -0.1875, 0.375, -1.0625, -0.0625, 0.5},
  3317. {-1.25, -0.25, 0.375, -1.125, -0.125, 0.5},
  3318. {-1.3125, -0.3125, 0.375, -1.1875, -0.1875, 0.5},
  3319. {-1.375, -0.375, 0.375, -1.25, -0.25, 0.5},
  3320. {-1.4375, -0.4375, 0.375, -1.3125, -0.3125, 0.5},
  3321. },
  3322. },
  3323. selection_box = {
  3324. type = "fixed",
  3325. fixed = {
  3326. {-1.5, -0.5, 0, 1.5, 2.5, 0.5},
  3327. },
  3328. },
  3329. groups = {cracky=3},
  3330. sounds = default.node_sound_metal_defaults(),
  3331. })
  3332. minetest.register_node("bridger:medium_support_bot_" .. bridge_color, {
  3333. description = bridge_desc .. " Bottom Medium Support",
  3334. drawtype = "nodebox",
  3335. tiles = {"bridges_" .. bridge_color .. ".png"},
  3336. inventory_image = "bridges_" .. bridge_color .. ".png^bridges_medium_support_bot.png^[makealpha:255,126,126",
  3337. wield_image = "bridges_" .. bridge_color .. ".png^bridges_medium_support_bot.png^[makealpha:255,126,126",
  3338. paramtype = "light",
  3339. paramtype2 = "facedir",
  3340. sunlight_propagates = true,
  3341. node_box = {
  3342. type = "fixed",
  3343. fixed = {
  3344. {-1.5625, -0.5, 0.25, -1.1875, 0.5, 0.625},
  3345. {1.1875, -0.5, 0.25, 1.5625, 0.5, 0.625},
  3346. },
  3347. },
  3348. selection_box = {
  3349. type = "fixed",
  3350. fixed = {
  3351. {-1.5, -0.5, 0, 1.5, 0.5, 0.5},
  3352. },
  3353. },
  3354. groups = {cracky=3},
  3355. sounds = default.node_sound_metal_defaults(),
  3356. })
  3357. minetest.register_node("bridger:large_support_" .. bridge_color, {
  3358. description = bridge_desc .. " Large Support",
  3359. drawtype = "nodebox",
  3360. tiles = {"bridges_" .. bridge_color .. ".png"},
  3361. inventory_image = "bridges_" .. bridge_color .. ".png^bridges_large_support.png^[makealpha:255,126,126",
  3362. wield_image = "bridges_" .. bridge_color .. ".png^bridges_large_support.png^[makealpha:255,126,126",
  3363. paramtype = "light",
  3364. paramtype2 = "facedir",
  3365. sunlight_propagates = true,
  3366. node_box = {
  3367. type = "fixed",
  3368. fixed = {
  3369. {-2.5, -0.5, 0.3125, -2.25, 2.5, 0.5625},
  3370. {2.25, -0.5, 0.3125, 2.5, 2.5, 0.5625},
  3371. {2.25, 2.375, 0.375, 2.375, 2.5, 0.5},
  3372. {2.125, 2.3125, 0.375, 2.3125, 2.4375, 0.5},
  3373. {2, 2.25, 0.375, 2.1875, 2.375, 0.5},
  3374. {1.9375, 2.1875, 0.375, 2.0625, 2.3125, 0.5},
  3375. {1.8125, 2.125, 0.375, 2, 2.25, 0.5},
  3376. {1.75, 2.0625, 0.375, 1.875, 2.1875, 0.5},
  3377. {1.625, 2, 0.375, 1.8125, 2.125, 0.5},
  3378. {1.5, 1.9375, 0.375, 1.6875, 2.0625, 0.5},
  3379. {1.4375, 1.875, 0.375, 1.5625, 2, 0.5},
  3380. {1.3125, 1.8125, 0.375, 1.5, 1.9375, 0.5},
  3381. {1.25, 1.75, 0.375, 1.375, 1.875, 0.5},
  3382. {1.125, 1.6875, 0.375, 1.3125, 1.8125, 0.5},
  3383. {1, 1.625, 0.375, 1.1875, 1.75, 0.5},
  3384. {0.9375, 1.5625, 0.375, 1.0625, 1.6875, 0.5},
  3385. {0.8125, 1.5, 0.375, 1, 1.625, 0.5},
  3386. {0.75, 1.4375, 0.375, 0.875, 1.5625, 0.5},
  3387. {0.625, 1.375, 0.375, 0.8125, 1.5, 0.5},
  3388. {0.5, 1.3125, 0.375, 0.6875, 1.4375, 0.5},
  3389. {0.4375, 1.25, 0.375, 0.5625, 1.375, 0.5},
  3390. {0.3125, 1.1875, 0.375, 0.5, 1.3125, 0.5},
  3391. {0.25, 1.125, 0.375, 0.375, 1.25, 0.5},
  3392. {0.125, 1.0625, 0.375, 0.3125, 1.1875, 0.5},
  3393. {0, 1, 0.375, 0.1875, 1.125, 0.5},
  3394. {-2.375, -0.5, 0.375, -2.25, -0.375, 0.5},
  3395. {-2.3125, -0.4375, 0.375, -2.125, -0.3125, 0.5},
  3396. {-2.1875, -0.375, 0.375, -2, -0.25, 0.5},
  3397. {-2.0625, -0.3125, 0.375, -1.9375, -0.1875, 0.5},
  3398. {-2, -0.25, 0.375, -1.8125, -0.125, 0.5},
  3399. {-1.875, -0.1875, 0.375, -1.75, -0.0625, 0.5},
  3400. {-1.8125, -0.125, 0.375, -1.625, 0, 0.5},
  3401. {-1.6875, -0.0625, 0.375, -1.5, 0.0625, 0.5},
  3402. {-1.5625, 0, 0.375, -1.4375, 0.125, 0.5},
  3403. {-1.5, 0.0625, 0.375, -1.3125, 0.1875, 0.5},
  3404. {-1.375, 0.125, 0.375, -1.25, 0.25, 0.5},
  3405. {-1.3125, 0.1875, 0.375, -1.125, 0.3125, 0.5},
  3406. {-1.1875, 0.25, 0.375, -1, 0.375, 0.5},
  3407. {-1.0625, 0.3125, 0.375, -0.9375, 0.4375, 0.5},
  3408. {-1, 0.375, 0.375, -0.8125, 0.5, 0.5},
  3409. {-0.875, 0.4375, 0.375, -0.75, 0.5625, 0.5},
  3410. {-0.8125, 0.5, 0.375, -0.625, 0.625, 0.5},
  3411. {-0.6875, 0.5625, 0.375, -0.5, 0.6875, 0.5},
  3412. {-0.5625, 0.625, 0.375, -0.4375, 0.75, 0.5},
  3413. {-0.5, 0.6875, 0.375, -0.3125, 0.8125, 0.5},
  3414. {-0.375, 0.75, 0.375, -0.25, 0.875, 0.5},
  3415. {-0.3125, 0.8125, 0.375, -0.125, 0.9375, 0.5},
  3416. {-0.1875, 0.875, 0.375, 0, 1, 0.5},
  3417. {-2.375, 2.375, 0.375, -2.25, 2.5, 0.5},
  3418. {-2.3125, 2.3125, 0.375, -2.125, 2.4375, 0.5},
  3419. {-2.1875, 2.25, 0.375, -2, 2.375, 0.5},
  3420. {-2.0625, 2.1875, 0.375, -1.9375, 2.3125, 0.5},
  3421. {-2, 2.125, 0.375, -1.8125, 2.25, 0.5},
  3422. {-1.875, 2.0625, 0.375, -1.75, 2.1875, 0.5},
  3423. {-1.8125, 2, 0.375, -1.625, 2.125, 0.5},
  3424. {-1.6875, 1.9375, 0.375, -1.5, 2.0625, 0.5},
  3425. {-1.5625, 1.875, 0.375, -1.4375, 2, 0.5},
  3426. {-1.5, 1.8125, 0.375, -1.3125, 1.9375, 0.5},
  3427. {-1.375, 1.75, 0.375, -1.25, 1.875, 0.5},
  3428. {-1.3125, 1.6875, 0.375, -1.125, 1.8125, 0.5},
  3429. {-1.1875, 1.625, 0.375, -1, 1.75, 0.5},
  3430. {-1.0625, 1.5625, 0.375, -0.9375, 1.6875, 0.5},
  3431. {-1, 1.5, 0.375, -0.8125, 1.625, 0.5},
  3432. {-0.875, 1.4375, 0.375, -0.75, 1.5625, 0.5},
  3433. {-0.8125, 1.375, 0.375, -0.625, 1.5, 0.5},
  3434. {-0.6875, 1.3125, 0.375, -0.5, 1.4375, 0.5},
  3435. {-0.5625, 1.25, 0.375, -0.4375, 1.375, 0.5},
  3436. {-0.5, 1.1875, 0.375, -0.3125, 1.3125, 0.5},
  3437. {-0.375, 1.125, 0.375, -0.25, 1.25, 0.5},
  3438. {-0.3125, 1.0625, 0.375, -0.125, 1.1875, 0.5},
  3439. {-0.1875, 1, 0.375, -0, 1.125, 0.5},
  3440. {2.25, -0.5, 0.375, 2.375, -0.375, 0.5},
  3441. {2.125, -0.4375, 0.375, 2.3125, -0.3125, 0.5},
  3442. {2, -0.375, 0.375, 2.1875, -0.25, 0.5},
  3443. {1.9375, -0.3125, 0.375, 2.0625, -0.1875, 0.5},
  3444. {1.8125, -0.25, 0.375, 2, -0.125, 0.5},
  3445. {1.75, -0.1875, 0.375, 1.875, -0.0625, 0.5},
  3446. {1.625, -0.125, 0.375, 1.8125, 0, 0.5},
  3447. {1.5, -0.0625, 0.375, 1.6875, 0.0625, 0.5},
  3448. {1.4375, 0, 0.375, 1.5625, 0.125, 0.5},
  3449. {1.3125, 0.0625, 0.375, 1.5, 0.1875, 0.5},
  3450. {1.25, 0.125, 0.375, 1.375, 0.25, 0.5},
  3451. {1.125, 0.1875, 0.375, 1.3125, 0.3125, 0.5},
  3452. {1, 0.25, 0.375, 1.1875, 0.375, 0.5},
  3453. {0.9375, 0.3125, 0.375, 1.0625, 0.4375, 0.5},
  3454. {0.8125, 0.375, 0.375, 1, 0.5, 0.5},
  3455. {0.75, 0.4375, 0.375, 0.875, 0.5625, 0.5},
  3456. {0.625, 0.5, 0.375, 0.8125, 0.625, 0.5},
  3457. {0.5, 0.5625, 0.375, 0.6875, 0.6875, 0.5},
  3458. {0.4375, 0.625, 0.375, 0.5625, 0.75, 0.5},
  3459. {0.3125, 0.6875, 0.375, 0.5, 0.8125, 0.5},
  3460. {0.25, 0.75, 0.375, 0.375, 0.875, 0.5},
  3461. {0.125, 0.8125, 0.375, 0.3125, 0.9375, 0.5},
  3462. {-0, 0.875, 0.375, 0.1875, 1, 0.5},
  3463. },
  3464. },
  3465. selection_box = {
  3466. type = "fixed",
  3467. fixed = {
  3468. {-2.5, -0.5, 0, 2.5, 2.5, 0.5},
  3469. },
  3470. },
  3471. groups = {cracky=3},
  3472. sounds = default.node_sound_metal_defaults(),
  3473. })
  3474. minetest.register_node("bridger:large_support_bot_" .. bridge_color, {
  3475. description = bridge_desc .. " Bottom Large Support",
  3476. drawtype = "nodebox",
  3477. tiles = {"bridges_" .. bridge_color .. ".png"},
  3478. inventory_image = "bridges_" .. bridge_color .. ".png^bridges_large_support_bot.png^[makealpha:255,126,126",
  3479. wield_image = "bridges_" .. bridge_color .. ".png^bridges_large_support_bot.png^[makealpha:255,126,126",
  3480. paramtype = "light",
  3481. paramtype2 = "facedir",
  3482. sunlight_propagates = true,
  3483. node_box = {
  3484. type = "fixed",
  3485. fixed = {
  3486. {-2.5625, -0.5, 0.25, -2.1875, 0.5, 0.625},
  3487. {2.1875, -0.5, 0.25, 2.5625, 0.5, 0.625},
  3488. },
  3489. },
  3490. selection_box = {
  3491. type = "fixed",
  3492. fixed = {
  3493. {-2.5, -0.5, 0, 2.5, 0.5, 0.5},
  3494. },
  3495. },
  3496. groups = {cracky=3},
  3497. sounds = default.node_sound_metal_defaults(),
  3498. })
  3499. minetest.register_node("bridger:truss_superstructure_right_slant_" .. bridge_color, {
  3500. description = bridge_desc .. " Truss Superstructure Right Slant",
  3501. drawtype = "nodebox",
  3502. tiles = {"bridges_" .. bridge_color .. ".png"},
  3503. inventory_image = "bridges_" .. bridge_color .. ".png^bridges_superstructure_right_slant.png^[makealpha:255,126,126",
  3504. wield_image = "bridges_" .. bridge_color .. ".png^bridges_superstructure_right_slant.png^[makealpha:255,126,126",
  3505. paramtype = "light",
  3506. paramtype2 = "facedir",
  3507. sunlight_propagates = true,
  3508. node_box = {
  3509. type = "fixed",
  3510. fixed = {
  3511. {-0.5, -0.5, 0.375, 1.5, 0.0625, 0.5},
  3512. {-0.5, -0.5, 0.375, -0.4375, 2.5, 0.5},
  3513. {1.4375, -0.5, 0.375, 1.5, 2.5, 0.5},
  3514. {-0.5, 2.375, 0.375, 1.5, 2.5, 0.5},
  3515. {-0.4375, 2.25, 0.375, -0.3125, 2.375, 0.5},
  3516. {-0.375, 2.1875, 0.375, -0.25, 2.3125, 0.5},
  3517. {-0.3125, 2.0625, 0.375, -0.1875, 2.25, 0.5},
  3518. {-0.25, 2, 0.375, -0.125, 2.125, 0.5},
  3519. {-0.1875, 1.9375, 0.375, -0.0625, 2.0625, 0.5},
  3520. {-0.125, 1.875, 0.375, 0, 2, 0.5},
  3521. {-0.0625, 1.75, 0.375, 0.0625, 1.9375, 0.5},
  3522. {0, 1.6875, 0.375, 0.125, 1.8125, 0.5},
  3523. {0.0625, 1.625, 0.375, 0.1875, 1.75, 0.5},
  3524. {0.125, 1.5625, 0.375, 0.25, 1.6875, 0.5},
  3525. {0.1875, 1.4375, 0.375, 0.3125, 1.625, 0.5},
  3526. {0.25, 1.375, 0.375, 0.375, 1.5, 0.5},
  3527. {0.3125, 1.3125, 0.375, 0.4375, 1.4375, 0.5},
  3528. {0.375, 1.25, 0.375, 0.5, 1.375, 0.5},
  3529. {0.4375, 1.125, 0.375, 0.5625, 1.3125, 0.5},
  3530. {0.5, 1.0625, 0.375, 0.625, 1.1875, 0.5},
  3531. {0.5625, 1, 0.375, 0.6875, 1.125, 0.5},
  3532. {0.625, 0.9375, 0.375, 0.75, 1.0625, 0.5},
  3533. {0.6875, 0.8125, 0.375, 0.8125, 1, 0.5},
  3534. {0.75, 0.75, 0.375, 0.875, 0.875, 0.5},
  3535. {0.8125, 0.6875, 0.375, 0.9375, 0.8125, 0.5},
  3536. {0.875, 0.625, 0.375, 1, 0.75, 0.5},
  3537. {0.9375, 0.5, 0.375, 1.0625, 0.6875, 0.5},
  3538. {1, 0.4375, 0.375, 1.125, 0.5625, 0.5},
  3539. {1.0625, 0.375, 0.375, 1.1875, 0.5, 0.5},
  3540. {1.125, 0.3125, 0.375, 1.25, 0.4375, 0.5},
  3541. {1.1875, 0.1875, 0.375, 1.3125, 0.375, 0.5},
  3542. {1.25, 0.125, 0.375, 1.375, 0.25, 0.5},
  3543. {1.3125, 0.0625, 0.375, 1.4375, 0.1875, 0.5},
  3544. {1.375, 0, 0.375, 1.5, 0.125, 0.5},
  3545. {-0.4375, 2.3125, 0.375, -0.3125, 2.4375, 0.5},
  3546. },
  3547. },
  3548. selection_box = {
  3549. type = "fixed",
  3550. fixed = {
  3551. {-0.5, -0.5, 0.375, 1.5, 2.5, 0.5},
  3552. },
  3553. },
  3554. collision_box = {
  3555. type = "fixed",
  3556. fixed = {
  3557. {-0.5, -0.5, 0.375, 1.5, 2.5, 0.5},
  3558. },
  3559. },
  3560. groups = {cracky=3},
  3561. sounds = default.node_sound_metal_defaults(),
  3562. })
  3563. minetest.register_node("bridger:truss_superstructure_left_slant_" .. bridge_color, {
  3564. description = bridge_desc .. " Truss Superstructure Left Slant",
  3565. drawtype = "nodebox",
  3566. tiles = {"bridges_" .. bridge_color .. ".png"},
  3567. inventory_image = "bridges_" .. bridge_color .. ".png^bridges_superstructure_left_slant.png^[makealpha:255,126,126",
  3568. wield_image = "bridges_" .. bridge_color .. ".png^bridges_superstructure_left_slant.png^[makealpha:255,126,126",
  3569. paramtype = "light",
  3570. paramtype2 = "facedir",
  3571. sunlight_propagates = true,
  3572. node_box = {
  3573. type = "fixed",
  3574. fixed = {
  3575. {-0.5, -0.5, 0.375, 1.5, 0.0625, 0.5},
  3576. {-0.5, -0.5, 0.375, -0.4375, 2.5, 0.5},
  3577. {1.4375, -0.5, 0.375, 1.5, 2.5, 0.5},
  3578. {-0.5, 2.375, 0.375, 1.5, 2.5, 0.5},
  3579. {1.3125, 2.25, 0.375, 1.4375, 2.375, 0.5},
  3580. {1.25, 2.1875, 0.375, 1.375, 2.3125, 0.5},
  3581. {1.1875, 2.0625, 0.375, 1.3125, 2.25, 0.5},
  3582. {1.125, 2, 0.375, 1.25, 2.125, 0.5},
  3583. {1.0625, 1.9375, 0.375, 1.1875, 2.0625, 0.5},
  3584. {1, 1.875, 0.375, 1.125, 2, 0.5},
  3585. {0.9375, 1.75, 0.375, 1.0625, 1.9375, 0.5},
  3586. {0.875, 1.6875, 0.375, 1, 1.8125, 0.5},
  3587. {0.8125, 1.625, 0.375, 0.9375, 1.75, 0.5},
  3588. {0.75, 1.5625, 0.375, 0.875, 1.6875, 0.5},
  3589. {0.6875, 1.4375, 0.375, 0.8125, 1.625, 0.5},
  3590. {0.625, 1.375, 0.375, 0.75, 1.5, 0.5},
  3591. {0.5625, 1.3125, 0.375, 0.6875, 1.4375, 0.5},
  3592. {0.5, 1.25, 0.375, 0.625, 1.375, 0.5},
  3593. {0.4375, 1.125, 0.375, 0.5625, 1.3125, 0.5},
  3594. {0.375, 1.0625, 0.375, 0.5, 1.1875, 0.5},
  3595. {0.3125, 1, 0.375, 0.4375, 1.125, 0.5},
  3596. {0.25, 0.9375, 0.375, 0.375, 1.0625, 0.5},
  3597. {0.1875, 0.8125, 0.375, 0.3125, 1, 0.5},
  3598. {0.125, 0.75, 0.375, 0.25, 0.875, 0.5},
  3599. {0.0625, 0.6875, 0.375, 0.1875, 0.8125, 0.5},
  3600. {0, 0.625, 0.375, 0.125, 0.75, 0.5},
  3601. {-0.0625, 0.5, 0.375, 0.0625, 0.6875, 0.5},
  3602. {-0.125, 0.4375, 0.375, 0, 0.5625, 0.5},
  3603. {-0.1875, 0.375, 0.375, -0.0625, 0.5, 0.5},
  3604. {-0.25, 0.3125, 0.375, -0.125, 0.4375, 0.5},
  3605. {-0.3125, 0.1875, 0.375, -0.1875, 0.375, 0.5},
  3606. {-0.375, 0.125, 0.375, -0.25, 0.25, 0.5},
  3607. {-0.4375, 0.0625, 0.375, -0.3125, 0.1875, 0.5},
  3608. {-0.5, 0, 0.375, -0.375, 0.125, 0.5},
  3609. {1.375, 2.3125, 0.375, 1.5, 2.4375, 0.5},
  3610. },
  3611. },
  3612. selection_box = {
  3613. type = "fixed",
  3614. fixed = {
  3615. {-0.5, -0.5, 0.375, 1.5, 2.5, 0.5},
  3616. },
  3617. },
  3618. collision_box = {
  3619. type = "fixed",
  3620. fixed = {
  3621. {-0.5, -0.5, 0.375, 1.5, 2.5, 0.5},
  3622. },
  3623. },
  3624. groups = {cracky=3},
  3625. sounds = default.node_sound_metal_defaults(),
  3626. })
  3627. minetest.register_node("bridger:corrugated_steel_" .. bridge_color, {
  3628. description = bridge_desc .. " Corrugated Steel",
  3629. drawtype = "nodebox",
  3630. tiles = {"bridges_corrugated_steel_" .. bridge_color .. ".png"},
  3631. paramtype = "light",
  3632. paramtype2 = "facedir",
  3633. sunlight_propagates = true,
  3634. node_box = {
  3635. type = "fixed",
  3636. fixed = {
  3637. {-0.5, -0.5, 0.375, 0.5, 0.5, 0.5},
  3638. },
  3639. },
  3640. selection_box = {
  3641. type = "fixed",
  3642. fixed = {
  3643. {-0.5, -0.5, 0, 0.5, 0.5, 0.5},
  3644. },
  3645. },
  3646. groups = {cracky=3},
  3647. sounds = default.node_sound_metal_defaults(),
  3648. })
  3649. minetest.register_node("bridger:corrugated_steel_ceiling_" .. bridge_color, {
  3650. description = bridge_desc .. " Corrugated Steel Deck",
  3651. drawtype = "nodebox",
  3652. tiles = {"bridges_corrugated_steel_" .. bridge_color .. ".png^[transformR90"},
  3653. paramtype = "light",
  3654. paramtype2 = "facedir",
  3655. sunlight_propagates = true,
  3656. node_box = {
  3657. type = "fixed",
  3658. fixed = {
  3659. {-0.5, 0.375, -0.5, 0.5, 0.5, 0.5},
  3660. },
  3661. },
  3662. groups = {cracky=3},
  3663. sounds = default.node_sound_metal_defaults(),
  3664. })
  3665. end
  3666. end
  3667. if minetest.settings:get_bool("bridger_enable_trestles", true) then
  3668. minetest.register_node("bridger:trestle_support", {
  3669. description = "Trestle Support",
  3670. drawtype = "nodebox",
  3671. tiles = {"default_junglewood.png"},
  3672. inventory_image = "default_junglewood.png^bridges_trestle_support.png^[makealpha:255,126,126",
  3673. wield_image = "default_junglewood.png^bridges_trestle_support.png^[makealpha:255,126,126",
  3674. paramtype = "light",
  3675. paramtype2 = "facedir",
  3676. sunlight_propagates = true,
  3677. node_box = {
  3678. type = "fixed",
  3679. fixed = {
  3680. {-1, -0.5, -0.125, -0.75, 1.5, 0.125},
  3681. {0.75, -0.5, -0.125, 1, 1.5, 0.125},
  3682. {0.625, 1.375, -0.0625, 0.75, 1.5, 0.0625},
  3683. {0.5625, 1.25, -0.0625, 0.6875, 1.4375, 0.0625},
  3684. {0.5, 1.1875, -0.0625, 0.625, 1.3125, 0.0625},
  3685. {0.4375, 1.125, -0.0625, 0.5625, 1.25, 0.0625},
  3686. {0.375, 1, -0.0625, 0.5, 1.1875, 0.0625},
  3687. {0.3125, 0.9375, -0.0625, 0.4375, 1.0625, 0.0625},
  3688. {0.25, 0.875, -0.0625, 0.375, 1, 0.0625},
  3689. {0.1875, 0.75, -0.0625, 0.3125, 0.9375, 0.0625},
  3690. {0.125, 0.6875, -0.0625, 0.25, 0.8125, 0.0625},
  3691. {0.0625, 0.625, -0.0625, 0.1875, 0.75, 0.0625},
  3692. {0, 0.5, -0.0625, 0.125, 0.6875, 0.0625},
  3693. {-0.0625, 0.4375, -0.0625, 0.0625, 0.5625, 0.0625},
  3694. {-0.125, 0.3125, -0.0625, 0, 0.5, 0.0625},
  3695. {-0.1875, 0.25, -0.0625, -0.0625, 0.375, 0.0625},
  3696. {-0.25, 0.1875, -0.0625, -0.125, 0.3125, 0.0625},
  3697. {-0.3125, 0.0625, -0.0625, -0.1875, 0.25, 0.0625},
  3698. {-0.375, 0, -0.0625, -0.25, 0.125, 0.0625},
  3699. {-0.4375, -0.0625, -0.0625, -0.3125, 0.0625, 0.0625},
  3700. {-0.5, -0.1875, -0.0625, -0.375, 0, 0.0625},
  3701. {-0.5625, -0.25, -0.0625, -0.4375, -0.125, 0.0625},
  3702. {-0.625, -0.3125, -0.0625, -0.5, -0.1875, 0.0625},
  3703. {-0.6875, -0.4375, -0.0625, -0.5625, -0.25, 0.0625},
  3704. {-0.75, -0.5, -0.0625, -0.625, -0.375, 0.0625},
  3705. {-0.75, 1.375, -0.0625, -0.625, 1.5, 0.0625},
  3706. {-0.6875, 1.25, -0.0625, -0.5625, 1.4375, 0.0625},
  3707. {-0.625, 1.1875, -0.0625, -0.5, 1.3125, 0.0625},
  3708. {-0.5625, 1.125, -0.0625, -0.4375, 1.25, 0.0625},
  3709. {-0.5, 1, -0.0625, -0.375, 1.1875, 0.0625},
  3710. {-0.4375, 0.9375, -0.0625, -0.3125, 1.0625, 0.0625},
  3711. {-0.375, 0.875, -0.0625, -0.25, 1, 0.0625},
  3712. {-0.3125, 0.75, -0.0625, -0.1875, 0.9375, 0.0625},
  3713. {-0.25, 0.6875, -0.0625, -0.125, 0.8125, 0.0625},
  3714. {-0.1875, 0.625, -0.0625, -0.0625, 0.75, 0.0625},
  3715. {-0.125, 0.5, -0.0625, -0, 0.6875, 0.0625},
  3716. {-0, 0.3125, -0.0625, 0.125, 0.5, 0.0625},
  3717. {0.0625, 0.25, -0.0625, 0.1875, 0.375, 0.0625},
  3718. {0.125, 0.1875, -0.0625, 0.25, 0.3125, 0.0625},
  3719. {0.1875, 0.0625, -0.0625, 0.3125, 0.25, 0.0625},
  3720. {0.25, 0, -0.0625, 0.375, 0.125, 0.0625},
  3721. {0.3125, -0.0625, -0.0625, 0.4375, 0.0625, 0.0625},
  3722. {0.375, -0.1875, -0.0625, 0.5, 0, 0.0625},
  3723. {0.4375, -0.25, -0.0625, 0.5625, -0.125, 0.0625},
  3724. {0.5, -0.3125, -0.0625, 0.625, -0.1875, 0.0625},
  3725. {0.5625, -0.4375, -0.0625, 0.6875, -0.25, 0.0625},
  3726. {0.625, -0.5, -0.0625, 0.75, -0.375, 0.0625},
  3727. },
  3728. },
  3729. selection_box = {
  3730. type = "fixed",
  3731. fixed = {
  3732. {-1, -0.5, -0.1875, 1, 1.5, 0.1875},
  3733. },
  3734. },
  3735. groups = {choppy=3},
  3736. sounds = default.node_sound_wood_defaults(),
  3737. })
  3738. minetest.register_node("bridger:trestle_support_small", {
  3739. description = "Small Trestle Support",
  3740. drawtype = "nodebox",
  3741. tiles = {"default_junglewood.png"},
  3742. inventory_image = "default_junglewood.png^bridges_trestle_support_small.png^[makealpha:255,126,126",
  3743. wield_image = "default_junglewood.png^bridges_trestle_support_small.png^[makealpha:255,126,126",
  3744. paramtype = "light",
  3745. paramtype2 = "facedir",
  3746. sunlight_propagates = true,
  3747. node_box = {
  3748. type = "fixed",
  3749. fixed = {
  3750. {-1, -0.5, -0.125, -0.75, 0.5, 0.125},
  3751. {0.75, -0.5, -0.125, 1, 0.5, 0.125},
  3752. },
  3753. },
  3754. selection_box = {
  3755. type = "fixed",
  3756. fixed = {
  3757. {-1, -0.5, -0.1875, 1, 0.5, 0.1875},
  3758. },
  3759. },
  3760. groups = {choppy=3},
  3761. sounds = default.node_sound_wood_defaults(),
  3762. })
  3763. minetest.register_node("bridger:trestle_side", {
  3764. description = "Trestle Siding",
  3765. drawtype = "nodebox",
  3766. tiles = {"default_junglewood.png"},
  3767. inventory_image = "default_junglewood.png^bridges_trestle_side.png^[makealpha:255,126,126",
  3768. wield_image = "default_junglewood.png^bridges_trestle_side.png^[makealpha:255,126,126",
  3769. paramtype = "light",
  3770. paramtype2 = "facedir",
  3771. sunlight_propagates = true,
  3772. node_box = {
  3773. type = "fixed",
  3774. fixed = {
  3775. {-0.875, -0.5, -0.0625, 0.875, -0.375, 0.0625},
  3776. {-0.875, 1.375, -0.0625, 0.875, 1.5, 0.0625},
  3777. {-1, 1.375, -0.0625, 1, 1.5, 0},
  3778. {-1, -0.5, -0.0625, 1, -0.375, 0},
  3779. {-0.9375, 1.3125, -0.0625, -0.8125, 1.4375, 0.0625},
  3780. {-0.875, 1.25, -0.0625, -0.75, 1.375, 0.0625},
  3781. {0.25, 0.125, -0.0625, 0.375, 0.25, 0.0625},
  3782. {-0.8125, 1.1875, -0.0625, -0.6875, 1.3125, 0.0625},
  3783. {-0.75, 1.125, -0.0625, -0.625, 1.25, 0.0625},
  3784. {-0.6875, 1.0625, -0.0625, -0.5625, 1.1875, 0.0625},
  3785. {-0.625, 1, -0.0625, -0.5, 1.125, 0.0625},
  3786. {-0.5625, 0.9375, -0.0625, -0.4375, 1.0625, 0.0625},
  3787. {-0.5, 0.875, -0.0625, -0.375, 1, 0.0625},
  3788. {-0.4375, 0.8125, -0.0625, -0.3125, 0.9375, 0.0625},
  3789. {-0.375, 0.75, -0.0625, -0.25, 0.875, 0.0625},
  3790. {-0.3125, 0.6875, -0.0625, -0.1875, 0.8125, 0.0625},
  3791. {-0.25, 0.625, -0.0625, -0.125, 0.75, 0.0625},
  3792. {-0.1875, 0.5625, -0.0625, -0.0625, 0.6875, 0.0625},
  3793. {-0.125, 0.375, -0.0625, 0.125, 0.625, 0.0625},
  3794. {0.0625, 0.3125, -0.0625, 0.1875, 0.4375, 0.0625},
  3795. {0.125, 0.25, -0.0625, 0.25, 0.375, 0.0625},
  3796. {0.1875, 0.1875, -0.0625, 0.3125, 0.3125, 0.0625},
  3797. {0.3125, 0.0625, -0.0625, 0.4375, 0.1875, 0.0625},
  3798. {0.375, 0, -0.0625, 0.5, 0.125, 0.0625},
  3799. {0.4375, -0.0625, -0.0625, 0.5625, 0.0625, 0.0625},
  3800. {0.5, -0.125, -0.0625, 0.625, 0, 0.0625},
  3801. {0.5625, -0.1875, -0.0625, 0.6875, -0.0625, 0.0625},
  3802. {0.625, -0.25, -0.0625, 0.75, -0.125, 0.0625},
  3803. {0.6875, -0.3125, -0.0625, 0.8125, -0.1875, 0.0625},
  3804. {0.75, -0.375, -0.0625, 0.875, -0.25, 0.0625},
  3805. {0.8125, -0.4375, -0.0625, 0.9375, -0.3125, 0.0625},
  3806. {0.8125, 1.3125, -0.0625, 0.9375, 1.4375, 0.0625},
  3807. {0.75, 1.25, -0.0625, 0.875, 1.375, 0.0625},
  3808. {-0.375, 0.125, -0.0625, -0.25, 0.25, 0.0625},
  3809. {0.6875, 1.1875, -0.0625, 0.8125, 1.3125, 0.0625},
  3810. {0.625, 1.125, -0.0625, 0.75, 1.25, 0.0625},
  3811. {0.5625, 1.0625, -0.0625, 0.6875, 1.1875, 0.0625},
  3812. {0.5, 1, -0.0625, 0.625, 1.125, 0.0625},
  3813. {0.4375, 0.9375, -0.0625, 0.5625, 1.0625, 0.0625},
  3814. {0.375, 0.875, -0.0625, 0.5, 1, 0.0625},
  3815. {0.3125, 0.8125, -0.0625, 0.4375, 0.9375, 0.0625},
  3816. {0.25, 0.75, -0.0625, 0.375, 0.875, 0.0625},
  3817. {0.1875, 0.6875, -0.0625, 0.3125, 0.8125, 0.0625},
  3818. {0.125, 0.625, -0.0625, 0.25, 0.75, 0.0625},
  3819. {0.0625, 0.5625, -0.0625, 0.1875, 0.6875, 0.0625},
  3820. {-0.1875, 0.3125, -0.0625, -0.0625, 0.4375, 0.0625},
  3821. {-0.25, 0.25, -0.0625, -0.125, 0.375, 0.0625},
  3822. {-0.3125, 0.1875, -0.0625, -0.1875, 0.3125, 0.0625},
  3823. {-0.4375, 0.0625, -0.0625, -0.3125, 0.1875, 0.0625},
  3824. {-0.5, 0, -0.0625, -0.375, 0.125, 0.0625},
  3825. {-0.5625, -0.0625, -0.0625, -0.4375, 0.0625, 0.0625},
  3826. {-0.625, -0.125, -0.0625, -0.5, 0, 0.0625},
  3827. {-0.6875, -0.1875, -0.0625, -0.5625, -0.0625, 0.0625},
  3828. {-0.75, -0.25, -0.0625, -0.625, -0.125, 0.0625},
  3829. {-0.8125, -0.3125, -0.0625, -0.6875, -0.1875, 0.0625},
  3830. {-0.875, -0.375, -0.0625, -0.75, -0.25, 0.0625},
  3831. {-0.9375, -0.4375, -0.0625, -0.8125, -0.3125, 0.0625},
  3832. },
  3833. },
  3834. selection_box = {
  3835. type = "fixed",
  3836. fixed = {
  3837. {-1, -0.5, -0.1875, 1, 1.5, 0.1875},
  3838. },
  3839. },
  3840. groups = {choppy=3},
  3841. sounds = default.node_sound_wood_defaults(),
  3842. })
  3843. minetest.register_node("bridger:trestle_deck", {
  3844. description = "Trestle Deck",
  3845. drawtype = "nodebox",
  3846. tiles = {"default_junglewood.png"},
  3847. inventory_image = "default_junglewood.png^bridges_trestle_deck.png^[makealpha:255,126,126",
  3848. wield_image = "default_junglewood.png^bridges_trestle_deck.png^[makealpha:255,126,126",
  3849. paramtype = "light",
  3850. paramtype2 = "facedir",
  3851. sunlight_propagates = true,
  3852. node_box = {
  3853. type = "fixed",
  3854. fixed = {
  3855. {-0.625, 0.25, -0.5, -0.5, 0.375, 0.5},
  3856. {0.5, 0.25, -0.5, 0.625, 0.375, 0.5},
  3857. {-1.125, 0.374, 0.3125, 1.125, 0.501, 0.4375},
  3858. {-1.125, 0.374, 0.0625, 1.125, 0.501, 0.1875},
  3859. {-1.125, 0.374, -0.1875, 1.125, 0.501, -0.0625},
  3860. {-1.125, 0.374, -0.4375, 1.125, 0.501, -0.3125},
  3861. },
  3862. },
  3863. selection_box = {
  3864. type = "fixed",
  3865. fixed = {
  3866. {-1.125, 0, -0.5, 1.125, 0.5, 0.5},
  3867. },
  3868. },
  3869. groups = {choppy=3},
  3870. sounds = default.node_sound_wood_defaults(),
  3871. })
  3872. minetest.register_node("bridger:trestle_substructure_small", {
  3873. description = "Small Trestle Substructure",
  3874. drawtype = "nodebox",
  3875. tiles = {"default_junglewood.png"},
  3876. inventory_image = "default_junglewood.png^bridges_trestle_small.png^[makealpha:255,126,126",
  3877. wield_image = "default_junglewood.png^bridges_trestle_small.png^[makealpha:255,126,126",
  3878. paramtype = "light",
  3879. paramtype2 = "facedir",
  3880. sunlight_propagates = true,
  3881. node_box = {
  3882. type = "fixed",
  3883. fixed = {
  3884. {-1.5, 1.375, -0.0625, 0.5, 1.499, 0.0625},
  3885. {-1.4375, 1.3125, -0.0625, -1.3125, 1.4375, 0.0625},
  3886. {-1.375, 1.25, -0.0625, -1.25, 1.375, 0.0625},
  3887. {-1.3125, 1.1875, -0.0625, -1.125, 1.3125, 0.0625},
  3888. {-1.1875, 1.125, -0.0625, -1.0625, 1.25, 0.0625},
  3889. {-1.125, 1.0625, -0.0625, -1, 1.1875, 0.0625},
  3890. {-1.0625, 1, -0.0625, -0.875, 1.125, 0.0625},
  3891. {-0.9375, 0.9375, -0.0625, -0.8125, 1.0625, 0.0625},
  3892. {-0.875, 0.875, -0.0625, -0.75, 1, 0.0625},
  3893. {-0.8125, 0.8125, -0.0625, -0.625, 0.9375, 0.0625},
  3894. {-0.6875, 0.75, -0.0625, -0.5625, 0.875, 0.0625},
  3895. {-0.625, 0.6875, -0.0625, -0.5, 0.8125, 0.0625},
  3896. {-0.5625, 0.625, -0.0625, -0.375, 0.75, 0.0625},
  3897. {-0.4375, 0.5625, -0.0625, -0.3125, 0.6875, 0.0625},
  3898. {-0.375, 0.5, -0.0625, -0.25, 0.625, 0.0625},
  3899. {-0.3125, 0.4375, -0.0625, -0.125, 0.5625, 0.0625},
  3900. {-0.1875, 0.375, -0.0625, -0.0625, 0.5, 0.0625},
  3901. {-0.125, 0.3125, -0.0625, 0, 0.4375, 0.0625},
  3902. {-0.0625, 0.25, -0.0625, 0.125, 0.375, 0.0625},
  3903. {0.0625, 0.1875, -0.0625, 0.1875, 0.3125, 0.0625},
  3904. {0.125, 0.125, -0.0625, 0.25, 0.25, 0.0625},
  3905. {0.1875, 0.0625, -0.0625, 0.375, 0.1875, 0.0625},
  3906. {0.3125, 0, -0.0625, 0.4375, 0.125, 0.0625},
  3907. {0.4375, 0, -0.0625, 0.5, 1.5, 0.0625},
  3908. },
  3909. },
  3910. selection_box = {
  3911. type = "fixed",
  3912. fixed = {
  3913. {-1.5, 0, -0.0625, 0.5, 1.5, 0.0625},
  3914. },
  3915. },
  3916. groups = {choppy=3},
  3917. sounds = default.node_sound_wood_defaults(),
  3918. })
  3919. minetest.register_node("bridger:trestle_substructure_large", {
  3920. description = "Large Trestle Substructure",
  3921. drawtype = "nodebox",
  3922. tiles = {"default_junglewood.png"},
  3923. inventory_image = "default_junglewood.png^bridges_trestle_large.png^[makealpha:255,126,126",
  3924. wield_image = "default_junglewood.png^bridges_trestle_large.png^[makealpha:255,126,126",
  3925. paramtype = "light",
  3926. paramtype2 = "facedir",
  3927. sunlight_propagates = true,
  3928. node_box = {
  3929. type = "fixed",
  3930. fixed = {
  3931. {0.4375, -0.5, -0.0625, 0.5, 1.5, 0.0625},
  3932. {0.25, -0.5, -0.0625, 0.4375, -0.375, 0.0625},
  3933. {0.125, -0.4375, -0.0625, 0.3125, -0.3125, 0.0625},
  3934. {0, -0.375, -0.0625, 0.1875, -0.25, 0.0625},
  3935. {-0.125, -0.3125, -0.0625, 0.0625, -0.1875, 0.0625},
  3936. {-0.25, -0.25, -0.0625, -0.0625, -0.125, 0.0625},
  3937. {-0.375, -0.1875, -0.0625, -0.1875, -0.0625, 0.0625},
  3938. {-0.5, -0.125, -0.0625, -0.3125, 0, 0.0625},
  3939. {-0.625, -0.0625, -0.0625, -0.4375, 0.0625, 0.0625},
  3940. {-0.75, 0, -0.0625, -0.5625, 0.125, 0.0625},
  3941. {-0.875, 0.0625, -0.0625, -0.6875, 0.1875, 0.0625},
  3942. {-1, 0.125, -0.0625, -0.8125, 0.25, 0.0625},
  3943. {-1.125, 0.1875, -0.0625, -0.9375, 0.3125, 0.0625},
  3944. {-1.25, 0.25, -0.0625, -1.0625, 0.375, 0.0625},
  3945. {-1.375, 0.3125, -0.0625, -1.1875, 0.4375, 0.0625},
  3946. {-1.5, 0.375, -0.0625, -1.3125, 0.5, 0.0625},
  3947. {-1.625, 0.4375, -0.0625, -1.4375, 0.5625, 0.0625},
  3948. {-1.75, 0.5, -0.0625, -1.5625, 0.625, 0.0625},
  3949. {-1.875, 0.5625, -0.0625, -1.6875, 0.6875, 0.0625},
  3950. {-2, 0.625, -0.0625, -1.8125, 0.75, 0.0625},
  3951. {-2.125, 0.6875, -0.0625, -1.9375, 0.8125, 0.0625},
  3952. {-2.25, 0.75, -0.0625, -2.0625, 0.875, 0.0625},
  3953. {-2.375, 0.8125, -0.0625, -2.1875, 0.9375, 0.0625},
  3954. {-2.5, 0.875, -0.0625, -2.3125, 1, 0.0625},
  3955. {-2.625, 0.9375, -0.0625, -2.4375, 1.0625, 0.0625},
  3956. {-2.75, 1, -0.0625, -2.5625, 1.125, 0.0625},
  3957. {-2.875, 1.0625, -0.0625, -2.6875, 1.1875, 0.0625},
  3958. {-3, 1.125, -0.0625, -2.8125, 1.25, 0.0625},
  3959. {-3.125, 1.1875, -0.0625, -2.9375, 1.3125, 0.0625},
  3960. {-3.25, 1.25, -0.0625, -3.0625, 1.375, 0.0625},
  3961. {-3.375, 1.3125, -0.0625, -3.1875, 1.4375, 0.0625},
  3962. {-3.5, 1.375, -0.0625, -3.3125, 1.5, 0.0625},
  3963. },
  3964. },
  3965. selection_box = {
  3966. type = "fixed",
  3967. fixed = {
  3968. {-3.5, -0.5, -0.0625, 0.5, 1.5, 0.0625},
  3969. },
  3970. },
  3971. groups = {choppy=3},
  3972. sounds = default.node_sound_wood_defaults(),
  3973. })
  3974. minetest.register_node("bridger:lattice_truss_side", {
  3975. description = "Lattice Truss",
  3976. drawtype = "nodebox",
  3977. tiles = {"default_junglewood.png"},
  3978. inventory_image = "default_junglewood.png^bridges_lattice_truss_side.png^[makealpha:255,126,126",
  3979. wield_image = "default_junglewood.png^bridges_lattice_truss_side.png^[makealpha:255,126,126",
  3980. paramtype = "light",
  3981. paramtype2 = "facedir",
  3982. sunlight_propagates = true,
  3983. node_box = {
  3984. type = "fixed",
  3985. fixed = {
  3986. {-0.5, -0.5, -0.0625, -0.25, -0.25, 0.0625},
  3987. {-0.4375, -0.4375, -0.0625, -0.1875, -0.1875, 0.0625},
  3988. {-0.375, -0.375, -0.0625, -0.125, -0.125, 0.0625},
  3989. {-0.3125, -0.3125, -0.0625, -0.0625, -0.0625, 0.0625},
  3990. {0.0625, 0.0625, -0.0625, 0.3125, 0.3125, 0.0625},
  3991. {0.125, 0.125, -0.0625, 0.375, 0.375, 0.0625},
  3992. {0.1875, 0.1875, -0.0625, 0.4375, 0.4375, 0.0625},
  3993. {0.25, 0.25, -0.0625, 0.5, 0.5, 0.0625},
  3994. {0.25, -0.5, -0.0625, 0.5, -0.25, 0.0625},
  3995. {0.1875, -0.4375, -0.0625, 0.4375, -0.1875, 0.0625},
  3996. {-0.25, -0.25, -0.0625, 0.25, 0.25, 0.0625},
  3997. {0.125, -0.375, -0.0625, 0.375, -0.125, 0.0625},
  3998. {0.0625, -0.3125, -0.0625, 0.3125, -0.0625, 0.0625},
  3999. {-0.5, 0.25, -0.0625, -0.25, 0.5, 0.0625},
  4000. {-0.4375, 0.1875, -0.0625, -0.1875, 0.4375, 0.0625},
  4001. {-0.375, 0.125, -0.0625, -0.125, 0.375, 0.0625},
  4002. {-0.3125, 0.0625, -0.0625, -0.0625, 0.3125, 0.0625},
  4003. },
  4004. },
  4005. selection_box = {
  4006. type = "fixed",
  4007. fixed = {
  4008. {-0.5, -0.5, -0.125, 0.5, 0.5, 0.125},
  4009. },
  4010. },
  4011. groups = {choppy=3},
  4012. sounds = default.node_sound_wood_defaults(),
  4013. })
  4014. minetest.register_node("bridger:lattice_truss_top", {
  4015. description = "Lattice Truss Upper Chord",
  4016. drawtype = "nodebox",
  4017. tiles = {"default_junglewood.png"},
  4018. inventory_image = "default_junglewood.png^bridges_lattice_truss_top.png^[makealpha:255,126,126",
  4019. wield_image = "default_junglewood.png^bridges_lattice_truss_top.png^[makealpha:255,126,126",
  4020. paramtype = "light",
  4021. paramtype2 = "facedir",
  4022. sunlight_propagates = true,
  4023. node_box = {
  4024. type = "fixed",
  4025. fixed = {
  4026. {-1, 0.375, 0.25, -0.75, 0.501, 0.5},
  4027. {-0.25, 0.375, 0.25, 0.25, 0.501, 0.5},
  4028. {-0.25, 0.375, -0.5, 0.25, 0.501, -0.25},
  4029. {-1, 0.375, -0.5, -0.75, 0.501, -0.25},
  4030. {-0.9375, 0.375, -0.4375, -0.6875, 0.501, -0.1875},
  4031. {-0.875, 0.375, -0.375, -0.625, 0.501, -0.125},
  4032. {-0.8125, 0.375, -0.3125, -0.5625, 0.501, -0.0625},
  4033. {-0.3125, 0.375, -0.4375, -0.0625, 0.501, -0.1875},
  4034. {-0.375, 0.375, -0.375, -0.125, 0.501, -0.125},
  4035. {-0.4375, 0.375, -0.3125, -0.1875, 0.501, -0.0625},
  4036. {-0.75, 0.375, -0.25, -0.25, 0.501, 0.25},
  4037. {-0.9375, 0.375, 0.1875, -0.6875, 0.501, 0.4375},
  4038. {-0.875, 0.375, 0.125, -0.625, 0.501, 0.375},
  4039. {-0.8125, 0.375, 0.0625, -0.5625, 0.501, 0.3125},
  4040. {-0.4375, 0.375, 0.0625, -0.1875, 0.501, 0.3125},
  4041. {-0.375, 0.375, 0.125, -0.125, 0.501, 0.375},
  4042. {-0.3125, 0.375, 0.1875, -0.0625, 0.501, 0.4375},
  4043. {0.75, 0.375, -0.5, 1, 0.501, -0.25},
  4044. {0.75, 0.375, 0.25, 1, 0.501, 0.5},
  4045. {0.6875, 0.375, 0.1875, 0.9375, 0.501, 0.4375},
  4046. {0.625, 0.375, 0.125, 0.875, 0.501, 0.375},
  4047. {0.5625, 0.375, 0.0625, 0.8125, 0.501, 0.3125},
  4048. {0.0625, 0.375, 0.1875, 0.3125, 0.501, 0.4375},
  4049. {0.125, 0.375, 0.125, 0.375, 0.501, 0.375},
  4050. {0.1875, 0.375, 0.0625, 0.4375, 0.501, 0.3125},
  4051. {0.25, 0.375, -0.25, 0.75, 0.501, 0.25},
  4052. {0.6875, 0.375, -0.4375, 0.9375, 0.501, -0.1875},
  4053. {0.625, 0.375, -0.375, 0.875, 0.501, -0.125},
  4054. {0.5625, 0.375, -0.3125, 0.8125, 0.501, -0.0625},
  4055. {0.1875, 0.375, -0.3125, 0.4375, 0.501, -0.0625},
  4056. {0.125, 0.375, -0.375, 0.375, 0.501, -0.125},
  4057. {0.0625, 0.375, -0.4375, 0.3125, 0.501, -0.1875},
  4058. },
  4059. },
  4060. selection_box = {
  4061. type = "fixed",
  4062. fixed = {
  4063. {-1, 0.375, -0.5, 1, 0.5, 0.5},
  4064. },
  4065. },
  4066. groups = {choppy=3},
  4067. sounds = default.node_sound_wood_defaults(),
  4068. })
  4069. end
  4070. if minetest.settings:get_bool("bridger_enable_wooden_bridges", true) then
  4071. minetest.register_node("bridger:small_beam", {
  4072. description = "Small Wooden Beam Bridge",
  4073. drawtype = "nodebox",
  4074. tiles = {"default_wood.png"},
  4075. paramtype = "light",
  4076. paramtype2 = "facedir",
  4077. sunlight_propagates = true,
  4078. node_box = {
  4079. type = "fixed",
  4080. fixed = {
  4081. {-0.4375, -0.5, -0.5, 0.4375, -0.4375, 0.5},
  4082. {-0.5, -0.5, 0.40625, -0.40625, 0.5, 0.5},
  4083. {-0.5, -0.5, -0.5, -0.40625, 0.5, -0.40625},
  4084. {-0.5, 0.375, -0.5, -0.40625, 0.4375, 0.5},
  4085. {0.40625, 0.375, -0.5, 0.5, 0.4375, 0.5},
  4086. {0.40625, -0.5, -0.5, 0.5, 0.5, -0.40625},
  4087. {0.40625, -0.5, 0.40625, 0.5, 0.5, 0.5},
  4088. },
  4089. },
  4090. selection_box = {
  4091. type = "fixed",
  4092. fixed = {
  4093. {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5},
  4094. },
  4095. },
  4096. groups = {choppy=3},
  4097. sounds = default.node_sound_wood_defaults(),
  4098. })
  4099. minetest.register_node("bridger:small_beam_mid", {
  4100. description = "Small Wooden Beam Bridge Middle",
  4101. drawtype = "nodebox",
  4102. tiles = {"default_wood.png"},
  4103. paramtype = "light",
  4104. paramtype2 = "facedir",
  4105. sunlight_propagates = true,
  4106. node_box = {
  4107. type = "fixed",
  4108. fixed = {
  4109. {-0.4375, -0.5, -0.5, 0.4375, -0.4375, 0.5},
  4110. {-0.5, 0.375, -0.5, -0.40625, 0.4375, 0.5},
  4111. {0.40625, 0.375, -0.5, 0.5, 0.4375, 0.5},
  4112. },
  4113. },
  4114. selection_box = {
  4115. type = "fixed",
  4116. fixed = {
  4117. {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5},
  4118. },
  4119. },
  4120. groups = {choppy=3},
  4121. sounds = default.node_sound_wood_defaults(),
  4122. })
  4123. minetest.register_node("bridger:small_beam_end", {
  4124. description = "Small Wooden Beam Bridge End",
  4125. drawtype = "nodebox",
  4126. tiles = {"default_wood.png"},
  4127. paramtype = "light",
  4128. paramtype2 = "facedir",
  4129. sunlight_propagates = true,
  4130. node_box = {
  4131. type = "fixed",
  4132. fixed = {
  4133. {-0.4375, -0.5, -0.5, 0.4375, -0.4375, 0.4375},
  4134. {-0.5, -0.5, 0.40625, -0.40625, 0.5, 0.5},
  4135. {-0.5, -0.5, -0.5, -0.40625, 0.5, -0.40625},
  4136. {-0.5, 0.375, -0.5, -0.40625, 0.4375, 0.5},
  4137. {0.40625, 0.375, -0.5, 0.5, 0.4375, 0.5},
  4138. {0.40625, -0.5, -0.5, 0.5, 0.5, -0.40625},
  4139. {0.40625, -0.5, 0.40625, 0.5, 0.5, 0.5},
  4140. {-0.5, 0.375, 0.40625, 0.5, 0.4375, 0.5},
  4141. },
  4142. },
  4143. selection_box = {
  4144. type = "fixed",
  4145. fixed = {
  4146. {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5},
  4147. },
  4148. },
  4149. groups = {choppy=3},
  4150. sounds = default.node_sound_wood_defaults(),
  4151. })
  4152. minetest.register_node("bridger:small_beam_corner", {
  4153. description = "Small Wooden Beam Bridge Corner",
  4154. drawtype = "nodebox",
  4155. tiles = {"default_wood.png"},
  4156. paramtype = "light",
  4157. paramtype2 = "facedir",
  4158. sunlight_propagates = true,
  4159. node_box = {
  4160. type = "fixed",
  4161. fixed = {
  4162. {-0.4375, -0.5, -0.5, 0.5, -0.4375, 0.4375},
  4163. {-0.5, -0.5, 0.40625, -0.40625, 0.5, 0.5},
  4164. {-0.5, -0.5, -0.5, -0.40625, 0.5, -0.40625},
  4165. {-0.5, 0.375, -0.5, -0.40625, 0.4375, 0.5},
  4166. {0.40625, -0.5, -0.5, 0.5, 0.5, -0.40625},
  4167. {0.40625, -0.5, 0.40625, 0.5, 0.5, 0.5},
  4168. {-0.5, 0.375, 0.40625, 0.5, 0.4375, 0.5},
  4169. },
  4170. },
  4171. selection_box = {
  4172. type = "fixed",
  4173. fixed = {
  4174. {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5},
  4175. },
  4176. },
  4177. groups = {choppy=3},
  4178. sounds = default.node_sound_wood_defaults(),
  4179. })
  4180. minetest.register_node("bridger:small_beam_3", {
  4181. description = "Small Wooden Beam Bridge Crossing",
  4182. drawtype = "nodebox",
  4183. tiles = {"default_wood.png"},
  4184. paramtype = "light",
  4185. paramtype2 = "facedir",
  4186. sunlight_propagates = true,
  4187. node_box = {
  4188. type = "fixed",
  4189. fixed = {
  4190. {-0.5, -0.5, -0.5, 0.5, -0.4375, 0.4375},
  4191. {-0.5, -0.5, 0.40625, -0.40625, 0.5, 0.5},
  4192. {-0.5, -0.5, -0.5, -0.40625, 0.5, -0.40625},
  4193. {0.40625, -0.5, -0.5, 0.5, 0.5, -0.40625},
  4194. {0.40625, -0.5, 0.40625, 0.5, 0.5, 0.5},
  4195. {-0.5, 0.375, 0.40625, 0.5, 0.4375, 0.5},
  4196. },
  4197. },
  4198. selection_box = {
  4199. type = "fixed",
  4200. fixed = {
  4201. {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5},
  4202. },
  4203. },
  4204. groups = {choppy=3},
  4205. sounds = default.node_sound_wood_defaults(),
  4206. })
  4207. minetest.register_node("bridger:small_beam_4", {
  4208. description = "Small Wooden Beam Bridge Crossing",
  4209. drawtype = "nodebox",
  4210. tiles = {"default_wood.png"},
  4211. paramtype = "light",
  4212. paramtype2 = "facedir",
  4213. sunlight_propagates = true,
  4214. node_box = {
  4215. type = "fixed",
  4216. fixed = {
  4217. {-0.5, -0.5, -0.5, 0.5, -0.4375, 0.5},
  4218. {-0.5, -0.5, 0.40625, -0.40625, 0.5, 0.5},
  4219. {-0.5, -0.5, -0.5, -0.40625, 0.5, -0.40625},
  4220. {0.40625, -0.5, -0.5, 0.5, 0.5, -0.40625},
  4221. {0.40625, -0.5, 0.40625, 0.5, 0.5, 0.5},
  4222. },
  4223. },
  4224. selection_box = {
  4225. type = "fixed",
  4226. fixed = {
  4227. {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5},
  4228. },
  4229. },
  4230. groups = {choppy=3},
  4231. sounds = default.node_sound_wood_defaults(),
  4232. })
  4233. minetest.register_node("bridger:small_beam_stair", {
  4234. description = "Small Wooden Beam Bridge Stair",
  4235. drawtype = "nodebox",
  4236. tiles = {"default_wood.png"},
  4237. paramtype = "light",
  4238. paramtype2 = "facedir",
  4239. sunlight_propagates = true,
  4240. node_box = {
  4241. type = "fixed",
  4242. fixed = {
  4243. {-0.4375, -0.0625, -0.5, 0.4375, 0, 0},
  4244. {-0.4375, 0.4375, 0, 0.4375, 0.5, 0.5},
  4245. {0.40625, 0.4375, 0.40625, 0.5, 1.5, 0.5},
  4246. {0.40625, -0.5, -0.5, 0.5, 0.625, -0.40625},
  4247. {-0.5, -0.5, -0.5, -0.40625, 0.625, -0.40625},
  4248. {-0.5, 0.4375, 0.40625, -0.40625, 1.5, 0.5},
  4249. {-0.5, 1.3125, 0.375, -0.40625, 1.375, 0.5},
  4250. {-0.5, 1.25, 0.3125, -0.40625, 1.3125, 0.4375},
  4251. {-0.5, 1.1875, 0.25, -0.40625, 1.25, 0.375},
  4252. {-0.5, 1.125, 0.1875, -0.40625, 1.1875, 0.3125},
  4253. {-0.5, 1.0625, 0.125, -0.40625, 1.125, 0.25},
  4254. {-0.5, 1, 0.0625, -0.40625, 1.0625, 0.1875},
  4255. {-0.5, 0.9375, 0, -0.40625, 1, 0.125},
  4256. {-0.5, 0.875, -0.0625, -0.40625, 0.9375, 0.0625},
  4257. {-0.5, 0.8125, -0.125, -0.40625, 0.875, 0},
  4258. {-0.5, 0.75, -0.1875, -0.40625, 0.8125, -0.0625},
  4259. {-0.5, 0.6875, -0.25, -0.40625, 0.75, -0.125},
  4260. {-0.5, 0.625, -0.3125, -0.40625, 0.6875, -0.1875},
  4261. {-0.5, 0.5625, -0.375, -0.40625, 0.625, -0.25},
  4262. {-0.5, 0.5, -0.4375, -0.40625, 0.5625, -0.3125},
  4263. {-0.5, 0.4375, -0.5, -0.40625, 0.5, -0.375},
  4264. {0.40625, 0.4375, -0.5, 0.5, 0.5, -0.375},
  4265. {0.40625, 0.5, -0.4375, 0.5, 0.5625, -0.3125},
  4266. {0.40625, 0.5625, -0.375, 0.5, 0.625, -0.25},
  4267. {0.40625, 0.625, -0.3125, 0.5, 0.6875, -0.1875},
  4268. {0.40625, 0.6875, -0.25, 0.5, 0.75, -0.125},
  4269. {0.40625, 0.75, -0.1875, 0.5, 0.8125, -0.0625},
  4270. {0.40625, 0.8125, -0.125, 0.5, 0.875, 0},
  4271. {0.40625, 0.875, -0.0625, 0.5, 0.9375, 0.0625},
  4272. {0.40625, 0.9375, 0, 0.5, 1, 0.125},
  4273. {0.40625, 1, 0.0625, 0.5, 1.0625, 0.1875},
  4274. {0.40625, 1.0625, 0.125, 0.5, 1.125, 0.25},
  4275. {0.40625, 1.125, 0.1875, 0.5, 1.1875, 0.3125},
  4276. {0.40625, 1.1875, 0.25, 0.5, 1.25, 0.375},
  4277. {0.40625, 1.25, 0.3125, 0.5, 1.3125, 0.4375},
  4278. {0.40625, 1.3125, 0.375, 0.5, 1.375, 0.5},
  4279. {0.40625, -0.5, -0.5, 0.5, -0.4375, -0.375},
  4280. {0.40625, -0.4375, -0.4375, 0.5, -0.375, -0.3125},
  4281. {0.40625, -0.375, -0.375, 0.5, -0.3125, -0.25},
  4282. {0.40625, -0.3125, -0.3125, 0.5, -0.25, -0.1875},
  4283. {0.40625, -0.25, -0.25, 0.5, -0.1875, -0.125},
  4284. {0.40625, -0.1875, -0.1875, 0.5, -0.125, -0.0625},
  4285. {0.40625, -0.125, -0.125, 0.5, -0.0625, 0},
  4286. {0.40625, -0.0625, -0.0625, 0.5, 0, 0.0625},
  4287. {0.40625, 0, 0, 0.5, 0.0625, 0.125},
  4288. {0.40625, 0.0625, 0.0625, 0.5, 0.125, 0.1875},
  4289. {0.40625, 0.125, 0.125, 0.5, 0.1875, 0.25},
  4290. {0.40625, 0.1875, 0.1875, 0.5, 0.25, 0.3125},
  4291. {0.40625, 0.25, 0.25, 0.5, 0.3125, 0.375},
  4292. {0.40625, 0.3125, 0.3125, 0.5, 0.375, 0.4375},
  4293. {0.40625, 0.375, 0.375, 0.5, 0.4375, 0.5},
  4294. {-0.5, -0.5, -0.5, -0.40625, -0.4375, -0.375},
  4295. {-0.5, -0.4375, -0.4375, -0.40625, -0.375, -0.3125},
  4296. {-0.5, -0.375, -0.375, -0.40625, -0.3125, -0.25},
  4297. {-0.5, -0.3125, -0.3125, -0.40625, -0.25, -0.1875},
  4298. {-0.5, -0.25, -0.25, -0.40625, -0.1875, -0.125},
  4299. {-0.5, -0.1875, -0.1875, -0.40625, -0.125, -0.0625},
  4300. {-0.5, -0.125, -0.125, -0.40625, -0.0625, 0},
  4301. {-0.5, -0.0625, -0.0625, -0.40625, 0, 0.0625},
  4302. {-0.5, 0, 0, -0.40625, 0.0625, 0.125},
  4303. {-0.5, 0.0625, 0.0625, -0.40625, 0.125, 0.1875},
  4304. {-0.5, 0.125, 0.125, -0.40625, 0.1875, 0.25},
  4305. {-0.5, 0.1875, 0.1875, -0.40625, 0.25, 0.3125},
  4306. {-0.5, 0.25, 0.25, -0.40625, 0.3125, 0.375},
  4307. {-0.5, 0.3125, 0.3125, -0.40625, 0.375, 0.4375},
  4308. {-0.5, 0.375, 0.375, -0.40625, 0.4375, 0.5},
  4309. {-0.5, -0.5625, -0.5, -0.40625, -0.5, -0.4375},
  4310. {0.40625, -0.5625, -0.5, 0.5, -0.5, -0.4375},
  4311. },
  4312. },
  4313. selection_box = {
  4314. type = "fixed",
  4315. fixed = {
  4316. {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5},
  4317. },
  4318. },
  4319. groups = {choppy=3},
  4320. sounds = default.node_sound_wood_defaults(),
  4321. })
  4322. minetest.register_node("bridger:large_beam", {
  4323. description = "Large Wooden Beam Bridge",
  4324. drawtype = "nodebox",
  4325. tiles = {"default_wood.png"},
  4326. paramtype = "light",
  4327. paramtype2 = "facedir",
  4328. sunlight_propagates = true,
  4329. node_box = {
  4330. type = "fixed",
  4331. fixed = {
  4332. {-0.4375, -0.5, -1.5, 0.4375, -0.4375, 1.5},
  4333. {0.40625, -0.5, -0.6875, 0.5, 0.5, -0.59375},
  4334. {0.40625, -0.5, 0.59375, 0.5, 0.5, 0.6875},
  4335. {-0.5, -0.5, 0.59375, -0.40625, 0.5, 0.6875},
  4336. {-0.5, -0.5, -0.6875, -0.40625, 0.5, -0.59375},
  4337. {-0.5, 0.375, -1.5, -0.40625, 0.4375, 1.5},
  4338. {0.40625, 0.375, -1.5, 0.5, 0.4375, 1.5},
  4339. },
  4340. },
  4341. selection_box = {
  4342. type = "fixed",
  4343. fixed = {
  4344. {-0.5, -0.5, -1.5, 0.5, 0.5, 1.5},
  4345. },
  4346. },
  4347. groups = {choppy=3},
  4348. sounds = default.node_sound_wood_defaults(),
  4349. })
  4350. minetest.register_node("bridger:large_fancy_beam", {
  4351. description = "Large Fancy Wooden Beam Bridge",
  4352. drawtype = "nodebox",
  4353. tiles = {"default_wood.png"},
  4354. paramtype = "light",
  4355. paramtype2 = "facedir",
  4356. sunlight_propagates = true,
  4357. node_box = {
  4358. type = "fixed",
  4359. fixed = {
  4360. {-0.4375, -0.5, -1.5, 0.4375, -0.4375, -1.375},
  4361. {0.40625, -0.125, -0.6875, 0.5, 0.875, -0.59375},
  4362. {0.40625, -0.125, 0.59375, 0.5, 0.875, 0.6875},
  4363. {-0.5, -0.125, 0.59375, -0.40625, 0.875, 0.6875},
  4364. {-0.5, -0.125, -0.6875, -0.40625, 0.875, -0.59375},
  4365. {-0.5, 0.375, -1.5, -0.40625, 0.4375, -1.375},
  4366. {0.40625, 0.375, -1.5, 0.5, 0.4375, -1.375},
  4367. {-0.4375, -0.4375, -1.4375, 0.4375, -0.375, -1.3125},
  4368. {-0.4375, -0.375, -1.375, 0.4375, -0.3125, -1.25},
  4369. {-0.4375, -0.3125, -1.3125, 0.4375, -0.25, -1.125},
  4370. {-0.4375, -0.25, -1.1875, 0.4375, -0.1875, -1},
  4371. {-0.4375, -0.1875, -1.0625, 0.4375, -0.125, -0.75},
  4372. {-0.4375, -0.125, -0.8125, 0.4375, -0.0625, -0.4375},
  4373. {-0.4375, -0.125, 0.4375, 0.4375, -0.0625, 0.8125},
  4374. {-0.4375, -0.0625, -0.5, 0.4375, 0, 0.5},
  4375. {-0.4375, -0.1875, 0.75, 0.4375, -0.125, 1.0625},
  4376. {-0.4375, -0.25, 1, 0.4375, -0.1875, 1.1875},
  4377. {-0.4375, -0.3125, 1.125, 0.4375, -0.25, 1.3125},
  4378. {-0.4375, -0.375, 1.25, 0.4375, -0.3125, 1.375},
  4379. {-0.4375, -0.4375, 1.3125, 0.4375, -0.375, 1.4375},
  4380. {-0.4375, -0.5, 1.375, 0.4375, -0.4375, 1.5},
  4381. {-0.5, 0.4375, -1.4375, -0.40625, 0.5, -1.3125},
  4382. {-0.5, 0.5, -1.375, -0.40625, 0.5625, -1.25},
  4383. {-0.5, 0.5625, -1.3125, -0.40625, 0.625, -1.125},
  4384. {-0.5, 0.625, -1.1875, -0.40625, 0.6875, -1},
  4385. {-0.5, 0.6875, -1.0625, -0.40625, 0.75, -0.75},
  4386. {-0.5, 0.75, -0.8125, -0.40625, 0.8125, -0.4375},
  4387. {-0.5, 0.8125, -0.5, -0.40625, 0.875, 0.5},
  4388. {-0.5, 0.75, 0.4375, -0.40625, 0.8125, 0.8125},
  4389. {-0.5, 0.6875, 0.75, -0.40625, 0.75, 1.0625},
  4390. {-0.5, 0.625, 1, -0.40625, 0.6875, 1.1875},
  4391. {-0.5, 0.5625, 1.125, -0.40625, 0.625, 1.3125},
  4392. {-0.5, 0.5, 1.25, -0.40625, 0.5625, 1.375},
  4393. {-0.5, 0.4375, 1.3125, -0.40625, 0.5, 1.4375},
  4394. {-0.5, 0.375, 1.375, -0.40625, 0.4375, 1.5},
  4395. {0.40625, 0.4375, -1.4375, 0.5, 0.5, -1.3125},
  4396. {0.40625, 0.5, -1.375, 0.5, 0.5625, -1.25},
  4397. {0.40625, 0.5625, -1.3125, 0.5, 0.625, -1.125},
  4398. {0.40625, 0.625, -1.1875, 0.5, 0.6875, -1},
  4399. {0.40625, 0.6875, -1.0625, 0.5, 0.75, -0.75},
  4400. {0.40625, 0.75, -0.8125, 0.5, 0.8125, -0.4375},
  4401. {0.40625, 0.8125, -0.5, 0.5, 0.875, 0.5},
  4402. {0.40625, 0.75, 0.4375, 0.5, 0.8125, 0.8125},
  4403. {0.40625, 0.6875, 0.75, 0.5, 0.75, 1.0625},
  4404. {0.40625, 0.625, 1, 0.5, 0.6875, 1.1875},
  4405. {0.40625, 0.5625, 1.125, 0.5, 0.625, 1.3125},
  4406. {0.40625, 0.5, 1.25, 0.5, 0.5625, 1.375},
  4407. {0.40625, 0.4375, 1.3125, 0.5, 0.5, 1.4375},
  4408. {0.40625, 0.375, 1.375, 0.5, 0.4375, 1.5},
  4409. },
  4410. },
  4411. selection_box = {
  4412. type = "fixed",
  4413. fixed = {
  4414. {-0.5, -0.5, -1.5, 0.5, 0.5, 1.5},
  4415. },
  4416. },
  4417. groups = {choppy=3},
  4418. sounds = default.node_sound_wood_defaults(),
  4419. })
  4420. local mesecon_on_blastnode = nil
  4421. if minetest.get_modpath("mesecons") then
  4422. mesecon_on_blastnode = mesecon.on_blastnode
  4423. end
  4424. minetest.register_node("bridger:large_beam_swivel_normal", {
  4425. description = "Large Wooden Swivel Bridge",
  4426. drawtype = "nodebox",
  4427. tiles = {"default_wood.png"},
  4428. paramtype = "light",
  4429. paramtype2 = "facedir",
  4430. sunlight_propagates = true,
  4431. node_box = {
  4432. type = "fixed",
  4433. fixed = {
  4434. {-0.4375, -0.5, -1.5, 0.4375, -0.4375, 1.5},
  4435. {0.40625, -0.5, -0.6875, 0.5, 0.5, -0.59375},
  4436. {0.40625, -0.5, 0.59375, 0.5, 0.5, 0.6875},
  4437. {-0.5, -0.5, 0.59375, -0.40625, 0.5, 0.6875},
  4438. {-0.5, -0.5, -0.6875, -0.40625, 0.5, -0.59375},
  4439. {-0.5, 0.375, -1.5, -0.40625, 0.4375, 1.5},
  4440. {0.40625, 0.375, -1.5, 0.5, 0.4375, 1.5},
  4441. },
  4442. },
  4443. selection_box = {
  4444. type = "fixed",
  4445. fixed = {
  4446. {-0.5, -0.5, -1.5, 0.5, 0.5, 1.5},
  4447. },
  4448. },
  4449. on_rightclick = function(pos, node)
  4450. minetest.set_node(pos, {name = "bridger:large_beam_swivel_open", param2 = node.param2})
  4451. end,
  4452. groups = {choppy=3},
  4453. sounds = default.node_sound_wood_defaults(),
  4454. mesecons = {effector = {
  4455. action_on = function(pos, node)
  4456. minetest.swap_node(pos, {name = "bridger:large_beam_swivel_open", param2 = node.param2})
  4457. end,
  4458. }},
  4459. on_blast = mesecon_on_blastnode,
  4460. })
  4461. minetest.register_node("bridger:large_beam_swivel_open", {
  4462. description = "Large Wooden Swivel Bridge",
  4463. drawtype = "nodebox",
  4464. tiles = {"default_wood.png^[transformR90"},
  4465. paramtype = "light",
  4466. paramtype2 = "facedir",
  4467. sunlight_propagates = true,
  4468. node_box = {
  4469. type = "fixed",
  4470. fixed = {
  4471. {-1.5, -0.5, -0.4375, 1.5, -0.4375, 0.4375},
  4472. {-0.6875, -0.5, -0.5, -0.59375, 0.5, -0.40625},
  4473. {0.59375, -0.5, -0.5, 0.6875, 0.5, -0.40625},
  4474. {0.59375, -0.5, 0.40625, 0.6875, 0.5, 0.5},
  4475. {-0.6875, -0.5, 0.40625, -0.59375, 0.5, 0.5},
  4476. {-1.5, 0.375, 0.40625, 1.5, 0.4375, 0.5},
  4477. {-1.5, 0.375, -0.5, 1.5, 0.4375, -0.40625},
  4478. },
  4479. },
  4480. selection_box = {
  4481. type = "fixed",
  4482. fixed = {
  4483. {-1.5, -0.5, -0.5, 1.5, 0.5, 0.5},
  4484. },
  4485. },
  4486. on_rightclick = function(pos, node)
  4487. minetest.set_node(pos, {name = "bridger:large_beam_swivel_normal", param2 = node.param2})
  4488. end,
  4489. drop = "bridger:large_beam_swivel_normal",
  4490. groups = {choppy=3, not_in_creative_inventory=1},
  4491. sounds = default.node_sound_wood_defaults(),
  4492. mesecons = {effector = {
  4493. action_off = function(pos, node)
  4494. minetest.swap_node(pos, {name = "bridger:large_beam_swivel_normal", param2 = node.param2})
  4495. end,
  4496. }},
  4497. on_blast = mesecon_on_blastnode,
  4498. })
  4499. minetest.register_node("bridger:large_drawbridge_normal", {
  4500. description = "Large Wooden Drawbridge",
  4501. drawtype = "nodebox",
  4502. tiles = {"default_wood.png"},
  4503. paramtype = "light",
  4504. paramtype2 = "facedir",
  4505. sunlight_propagates = true,
  4506. node_box = {
  4507. type = "fixed",
  4508. fixed = {
  4509. {-0.4375, -0.5, -0.5, 0.4375, -0.4375, 1.5},
  4510. {0.40625, -0.5, -0.5, 0.5, 0.5, -0.40625},
  4511. {0.40625, -0.5, 0.59375, 0.5, 0.5, 0.6875},
  4512. {-0.5, -0.5, 0.59375, -0.40625, 0.5, 0.6875},
  4513. {-0.5, -0.5, -0.5, -0.40625, 0.5, -0.40625},
  4514. {-0.5, 0.375, -0.5, -0.40625, 0.4375, 1.5},
  4515. {0.40625, 0.375, -0.5, 0.5, 0.4375, 1.5},
  4516. },
  4517. },
  4518. selection_box = {
  4519. type = "fixed",
  4520. fixed = {
  4521. {-0.5, -0.5, -0.5, 0.5, 0.5, 1.5},
  4522. },
  4523. },
  4524. on_rightclick = function(pos, node)
  4525. minetest.set_node(pos, {name = "bridger:large_drawbridge_open", param2 = node.param2})
  4526. end,
  4527. groups = {choppy=3},
  4528. sounds = default.node_sound_wood_defaults(),
  4529. mesecons = {effector = {
  4530. action_on = function(pos, node)
  4531. minetest.swap_node(pos, {name = "bridger:large_drawbridge_open", param2 = node.param2})
  4532. end,
  4533. }},
  4534. })
  4535. minetest.register_node("bridger:large_drawbridge_open", {
  4536. description = "Large Wooden Drawbridge",
  4537. drawtype = "nodebox",
  4538. tiles = {"default_wood.png"},
  4539. paramtype = "light",
  4540. paramtype2 = "facedir",
  4541. sunlight_propagates = true,
  4542. node_box = {
  4543. type = "fixed",
  4544. fixed = {
  4545. {-0.4375, -0.5, -0.5, 0.4375, -0.3125, -0.4375},
  4546. {0.40625, -0.5, -0.5, 0.5, 0.5, -0.40625},
  4547. {0.40625, 0.875, 0.15625, 0.5, 2.125, 0.25},
  4548. {-0.5, 0.875, 0.15625, -0.40625, 2.125, 0.25},
  4549. {-0.5, -0.5, -0.5, -0.40625, 0.5, -0.40625},
  4550. {-0.5, 0.375, -0.5, -0.40625, 0.5625, -0.4375},
  4551. {0.40625, 0.375, -0.5, 0.5, 0.5625, -0.4375},
  4552. {-0.4375, -0.375, -0.4375, 0.4375, -0.1875, -0.375},
  4553. {-0.4375, -0.25, -0.375, 0.4375, -0.0625, -0.3125},
  4554. {-0.4375, -0.125, -0.3125, 0.4375, 0.0625, -0.25},
  4555. {-0.4375, 0, -0.25, 0.4375, 0.1875, -0.1875},
  4556. {-0.4375, 0.125, -0.1875, 0.4375, 0.3125, -0.125},
  4557. {-0.4375, 0.25, -0.125, 0.4375, 0.4375, -0.0625},
  4558. {-0.4375, 0.375, -0.0625, 0.4375, 0.5625, 0},
  4559. {-0.4375, 0.5, 0, 0.4375, 0.6875, 0.0625},
  4560. {-0.4375, 0.625, 0.0625, 0.4375, 0.8125, 0.125},
  4561. {-0.4375, 0.75, 0.125, 0.4375, 0.9375, 0.1875},
  4562. {-0.4375, 0.875, 0.1875, 0.4375, 1.0625, 0.25},
  4563. {-0.4375, 1, 0.25, 0.4375, 1.1875, 0.3125},
  4564. {-0.4375, 1.125, 0.3125, 0.4375, 1.3125, 0.375},
  4565. {-0.5, 0.5, -0.4375, -0.40625, 0.6875, -0.375},
  4566. {-0.5, 0.625, -0.375, -0.40625, 0.8125, -0.3125},
  4567. {-0.5, 0.75, -0.3125, -0.40625, 0.9375, -0.25},
  4568. {-0.5, 0.875, -0.25, -0.40625, 1.0625, -0.1875},
  4569. {-0.5, 1, -0.1875, -0.40625, 1.1875, -0.125},
  4570. {-0.5, 1.125, -0.125, -0.40625, 1.3125, -0.0625},
  4571. {-0.5, 1.25, -0.0625, -0.40625, 1.4375, 0},
  4572. {-0.5, 1.375, 0, -0.40625, 1.5625, 0.0625},
  4573. {-0.5, 1.5, 0.0625, -0.40625, 1.6875, 0.125},
  4574. {-0.5, 1.625, 0.125, -0.40625, 1.8125, 0.1875},
  4575. {-0.5, 1.75, 0.1875, -0.40625, 1.9375, 0.25},
  4576. {-0.5, 1.875, 0.25, -0.40625, 2.0625, 0.3125},
  4577. {-0.5, 2, 0.3125, -0.40625, 2.1875, 0.375},
  4578. {0.40625, 0.5, -0.4375, 0.5, 0.6875, -0.375},
  4579. {0.40625, 0.625, -0.375, 0.5, 0.8125, -0.3125},
  4580. {0.40625, 0.75, -0.3125, 0.5, 0.9375, -0.25},
  4581. {0.40625, 0.875, -0.25, 0.5, 1.0625, -0.1875},
  4582. {0.40625, 1, -0.1875, 0.5, 1.1875, -0.125},
  4583. {0.40625, 1.125, -0.125, 0.5, 1.3125, -0.0625},
  4584. {0.40625, 1.25, -0.0625, 0.5, 1.4375, 0},
  4585. {0.40625, 1.375, 0, 0.5, 1.5625, 0.0625},
  4586. {0.40625, 1.5, 0.0625, 0.5, 1.6875, 0.125},
  4587. {0.40625, 1.625, 0.125, 0.5, 1.8125, 0.1875},
  4588. {0.40625, 1.75, 0.1875, 0.5, 1.9375, 0.25},
  4589. {0.40625, 1.875, 0.25, 0.5, 2.0625, 0.3125},
  4590. {0.40625, 2, 0.3125, 0.5, 2.1875, 0.375},
  4591. },
  4592. },
  4593. selection_box = {
  4594. type = "fixed",
  4595. fixed = {
  4596. {-0.5, -0.5, -0.5, 0.5, 2.1875, 0.5},
  4597. },
  4598. },
  4599. on_rightclick = function(pos, node)
  4600. minetest.set_node(pos, {name = "bridger:large_drawbridge_normal", param2 = node.param2})
  4601. end,
  4602. drop = "bridger:large_drawbridge_normal",
  4603. groups = {choppy=3, not_in_creative_inventory=1},
  4604. sounds = default.node_sound_wood_defaults(),
  4605. mesecons = {effector = {
  4606. action_off = function(pos, node)
  4607. minetest.swap_node(pos, {name = "bridger:large_drawbridge_normal", param2 = node.param2})
  4608. end,
  4609. }},
  4610. on_blast = mesecon_on_blastnode,
  4611. })
  4612. minetest.register_node("bridger:deck_wood", {
  4613. description = "Wooden Deck",
  4614. drawtype = "nodebox",
  4615. tiles = {"default_junglewood.png"},
  4616. paramtype = "light",
  4617. sunlight_propagates = true,
  4618. node_box = {
  4619. type = "fixed",
  4620. fixed = {
  4621. {-0.5, 0.375, -0.5, 0.5, 0.501, 0.5},
  4622. },
  4623. },
  4624. selection_box = {
  4625. type = "fixed",
  4626. fixed = {
  4627. {-0.5, 0, -0.5, 0.5, 0.5, 0.5},
  4628. },
  4629. },
  4630. groups = {choppy=3},
  4631. sounds = default.node_sound_wood_defaults(),
  4632. })
  4633. end