From d5f7f5fb8a963735a9e6a79f8ad1979b68990c72 Mon Sep 17 00:00:00 2001 From: Novatux Date: Wed, 16 Jan 2013 12:26:11 +0100 Subject: [PATCH 1/2] Items can be inserted in furnaces through side --- compat.lua | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/compat.lua b/compat.lua index 31e59a2..40ed4a1 100644 --- a/compat.lua +++ b/compat.lua @@ -18,10 +18,8 @@ minetest.register_node(":default:furnace", { local inv=meta:get_inventory() if direction.y==1 then return inv:add_item("fuel",stack) - elseif direction.y==-1 then - return inv:add_item("src",stack) else - return stack + return inv:add_item("src",stack) end end, can_insert=function(pos,node,stack,direction) @@ -74,10 +72,8 @@ minetest.register_node(":default:furnace_active", { local inv=meta:get_inventory() if direction.y==1 then return inv:add_item("fuel",stack) - elseif direction.y==-1 then - return inv:add_item("src",stack) else - return stack + return inv:add_item("src",stack) end end, can_insert=function(pos,node,stack,direction) From 78d183011ec5d33867e63e124e6c25785e5df14c Mon Sep 17 00:00:00 2001 From: Novatux Date: Wed, 16 Jan 2013 20:16:14 +0100 Subject: [PATCH 2/2] Added a function to register tubes. Added the mese pipe. --- autoplace.lua | 29 ++-- item_transport.lua | 9 +- textures/black.png | Bin 0 -> 150 bytes textures/blue.png | Bin 0 -> 160 bytes textures/green.png | Bin 0 -> 160 bytes textures/pipeworks_mese_tube_end.png | Bin 0 -> 2532 bytes textures/pipeworks_mese_tube_inv.png | Bin 0 -> 1212 bytes textures/pipeworks_mese_tube_noctr_1.png | Bin 0 -> 2063 bytes textures/pipeworks_mese_tube_noctr_2.png | Bin 0 -> 2011 bytes textures/pipeworks_mese_tube_noctr_3.png | Bin 0 -> 2055 bytes textures/pipeworks_mese_tube_noctr_4.png | Bin 0 -> 2056 bytes textures/pipeworks_mese_tube_noctr_5.png | Bin 0 -> 2059 bytes textures/pipeworks_mese_tube_noctr_6.png | Bin 0 -> 2056 bytes textures/pipeworks_mese_tube_plain_1.png | Bin 0 -> 2464 bytes textures/pipeworks_mese_tube_plain_2.png | Bin 0 -> 2468 bytes textures/pipeworks_mese_tube_plain_3.png | Bin 0 -> 2501 bytes textures/pipeworks_mese_tube_plain_4.png | Bin 0 -> 2484 bytes textures/pipeworks_mese_tube_plain_5.png | Bin 0 -> 2497 bytes textures/pipeworks_mese_tube_plain_6.png | Bin 0 -> 2499 bytes textures/pipeworks_mese_tube_short.png | Bin 0 -> 1209 bytes textures/red.png | Bin 0 -> 160 bytes textures/white.png | Bin 0 -> 160 bytes textures/yellow.png | Bin 0 -> 160 bytes tubes.lua | 166 ++++++++++++++++++----- 24 files changed, 161 insertions(+), 43 deletions(-) create mode 100644 textures/black.png create mode 100644 textures/blue.png create mode 100644 textures/green.png create mode 100644 textures/pipeworks_mese_tube_end.png create mode 100644 textures/pipeworks_mese_tube_inv.png create mode 100644 textures/pipeworks_mese_tube_noctr_1.png create mode 100644 textures/pipeworks_mese_tube_noctr_2.png create mode 100644 textures/pipeworks_mese_tube_noctr_3.png create mode 100644 textures/pipeworks_mese_tube_noctr_4.png create mode 100644 textures/pipeworks_mese_tube_noctr_5.png create mode 100644 textures/pipeworks_mese_tube_noctr_6.png create mode 100644 textures/pipeworks_mese_tube_plain_1.png create mode 100644 textures/pipeworks_mese_tube_plain_2.png create mode 100644 textures/pipeworks_mese_tube_plain_3.png create mode 100644 textures/pipeworks_mese_tube_plain_4.png create mode 100644 textures/pipeworks_mese_tube_plain_5.png create mode 100644 textures/pipeworks_mese_tube_plain_6.png create mode 100644 textures/pipeworks_mese_tube_short.png create mode 100644 textures/red.png create mode 100644 textures/white.png create mode 100644 textures/yellow.png diff --git a/autoplace.lua b/autoplace.lua index 6ff5b90..2b297f2 100644 --- a/autoplace.lua +++ b/autoplace.lua @@ -41,10 +41,21 @@ function tube_scanforobjects(pos) tube_autoroute(pos) end +function in_table(table,element) + for _,el in ipairs(table) do + if el==element then return true end + end + return false +end + +function is_tube(nodename) + return in_table(tubenodes,nodename) +end + function tube_autoroute(pos) nctr = minetest.env:get_node(pos) print ("minetest.get_item_group("..nctr.name..',"tubedevice") == '..minetest.get_item_group(nctr.name, "tubedevice")) - if (string.find(nctr.name, "pipeworks:tube_") == nil) + if (is_tube(nctr.name) == nil) and minetest.get_item_group(nctr.name, "tubedevice") ~= 1 then return end pxm=0 @@ -61,22 +72,22 @@ function tube_autoroute(pos) nzm = minetest.env:get_node({ x=pos.x , y=pos.y , z=pos.z-1 }) nzp = minetest.env:get_node({ x=pos.x , y=pos.y , z=pos.z+1 }) - if (string.find(nxm.name, "pipeworks:tube_") ~= nil) + if is_tube(nxm.name) or minetest.get_item_group(nxm.name, "tubedevice") == 1 then pxm=1 end - if (string.find(nxp.name, "pipeworks:tube_") ~= nil) + if is_tube(nxp.name) or minetest.get_item_group(nxp.name, "tubedevice") == 1 then pxp=1 end - if (string.find(nym.name, "pipeworks:tube_") ~= nil) + if is_tube(nym.name) or minetest.get_item_group(nym.name, "tubedevice") == 1 then pym=1 end - if (string.find(nyp.name, "pipeworks:tube_") ~= nil) + if is_tube(nyp.name) or minetest.get_item_group(nyp.name, "tubedevice") == 1 then pyp=1 end - if (string.find(nzm.name, "pipeworks:tube_") ~= nil) + if is_tube(nzm.name) or minetest.get_item_group(nzm.name, "tubedevice") == 1 then pzm=1 end - if (string.find(nzp.name, "pipeworks:tube_") ~= nil) + if is_tube(nzp.name) or minetest.get_item_group(nzp.name, "tubedevice") == 1 then pzp=1 end nsurround = pxm..pxp..pym..pyp..pzm..pzp - if minetest.get_item_group(nctr.name, "tubedevice") ~= 1 then - minetest.env:add_node(pos, { name = "pipeworks:tube_"..nsurround }) + if is_tube(nctr.name) then + minetest.env:add_node(pos, { name = string.sub(nctr.name,1,-7)..nsurround }) end end diff --git a/item_transport.lua b/item_transport.lua index 9f7f726..db057aa 100644 --- a/item_transport.lua +++ b/item_transport.lua @@ -269,6 +269,7 @@ function go_next(pos,velocity,stack) --print(dump(pos)) local chests={} local tubes={} + local cnode=minetest.env:get_node(pos) local cmeta=minetest.env:get_meta(pos) local node local meta @@ -276,7 +277,13 @@ function go_next(pos,velocity,stack) local tube_receiver local len=1 local n - for _,vect in ipairs(adjlist) do + local can_go + if minetest.registered_nodes[cnode.name].tube and minetest.registered_nodes[cnode.name].tube.can_go then + can_go=minetest.registered_nodes[cnode.name].tube.can_go(pos,node,velocity,stack) + else + can_go=adjlist + end + for _,vect in ipairs(can_go) do if vect.x~=-velocity.x or vect.y~=-velocity.y or vect.z~=-velocity.z then npos=addVect(pos,vect) node=minetest.env:get_node(npos) diff --git a/textures/black.png b/textures/black.png new file mode 100644 index 0000000000000000000000000000000000000000..9e58d8c20ec07462d6d445f6d57d2fc5d5fbc9e9 GIT binary patch literal 150 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61SBU+%rFB|oCO|{#S9GG!XV7ZFl&wkP>{XE z)7O>#E~9`jyH3s*8=yRcWQl7;iF1B#Zfaf$gL6@8Vo7R>LV0FMhJw4NZ$Nk>pEyvF pfTxRNh{pNk1PRu~2_gp=7?=eZ7&9j39tO%Wc)I$ztaD0e0sx!TA>9A~ literal 0 HcmV?d00001 diff --git a/textures/blue.png b/textures/blue.png new file mode 100644 index 0000000000000000000000000000000000000000..aa346d453783027036b2469e26198d3abd487292 GIT binary patch literal 160 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61SBU+%rFB|oCO|{#S9GG!XV7ZFl&wkP>{XE z)7O>#E~9`j2e)6^)ayVY$r9Iy66gHf+|;}h2Ir#G#FEq$h4Rdj3{XE z)7O>#E~9`jhwQFR3T;3k$r9Iy66gHf+|;}h2Ir#G#FEq$h4Rdj35 z3?Yz3NSMVCoJBB(VKB2XA%uaDMV7M+goI2U#u-1_{ZOmbQmdtVt4RjyE1MLQY#=TLZp*F1L)`>m@6=P zCw+5V8aoGZ2_hQAi#fajTmh&6ktp^1>V=I zSw2Bf%n?+0Wgh=Eupt5$8T6@1vy#)j{Oq4c$N(qL2ux-7;h5P;@p7^`MRg zTYon@r>8>7E$WO7qc1TC#`aXDH=%y8oq;3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bc`aXVnU0XFL~ZB&eV`*uiw zg-BY3iMB>ONTmbfC8+wi3&in#1l2yG;zv=En+rX7$KFD>`TM{~!H@JC)z<^l0}tlq zqj4MUL8S{eE1^T(-v*HZ+YN}@3pBg-K@>rx30t}PvrHy1_wT=?!L7>EhD0XBm{RPL zU1TL^wj(mYv3mR>2XRdznTeU10+`PaeQgZQ;X5;G;4pBJbJqKF@r_w+9FUicW|4t% z>?Sb7_%E3X*lwmyo1Se8up3}|IdR18yn7ifdVMCGA+8F<)|4v+h%_O7Cw&@p2G%L` zDT-jTkv|s*VCa~8a0zTyAnw2UvjFw=aHI@5mgFXy`1UyJY*HW`38dPY>GPU17z8WfV+XT_WxO&H z-KSAigV>isf5*X?3l0wO; z1DVx{U!9y?7oaGh!I)8+l=2ilMTwii4Qwu}!D`^@bb2k%W-T#JhVKm;&@*$R^O02MNA ty=Pbs7eP_^Se&402ddqfKD$|T{SR|GxI$BWG?f4V002ovPDHLkV1lCwz%2j( literal 0 HcmV?d00001 diff --git a/textures/pipeworks_mese_tube_noctr_2.png b/textures/pipeworks_mese_tube_noctr_2.png new file mode 100644 index 0000000000000000000000000000000000000000..c73b2d9ee704855acb33d46460cef6adc0cbd058 GIT binary patch literal 2011 zcmV<12PF83P)6v7b36WT^W|3X~K*UUhkRl;iAU2}}At50$2o?~e z0cAs!MWXbu0E7fmBt)1IND#z|JquVxfvCegdirIzAMLiQ?m1c9a=AS&Kif5(x>8Fm z*TeUI_dLGyoohlyqrUSa1w0u4GQNEDo4MZcmyPeE)BFGcuzLAz%3_|J6#x?LL$w1k zYjeNDc0YFiXq447vjc$rD-e4K!IjkO?-yT~_zp4~AXo2wbhCc-_P5__`A_L+ee*lQxcZ;CWJ8k?Y$G$_Q0o4#H zIdlQ`E+OiC2tY1Z#p#VLRVXn%I3OAv!E)MikUh~cvpDCnRQF~$< z{R{`e$nC0jr_>L2M#PcM0EjsPfWc-N>|L7b?w5}Lj@#w0Jc7UzU{lE_4*&$J7B+ft zhDds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1}W3t#~DH zKaRACLy%g$w*%JyR|Xif?~bU_i#;?K(8kw?K0i>e47yAb7xR7q^Mb2gp6KU~%UvSn zj@|AQuLO*)J7$)Byd9=wz};LzmCitPrFa?8S99Ym?bOoXmlOX$_ii|PTsR`M2*87m z-_1>Yj?(8am)w59+h7~S0a&eL)Q$1>h%zvG-`x}|AP-=*oB^WP+=>%Q>-<76K#4ilLv_D%#;YtlnNhRn!w1*QrSoHvAuC> z_6yhrsO0YYcgDB8jQ@M+|Y0n5=o`pOyvI(G6zG2WD6T4eQM2yzL#D3#squ+wBFE!vWZbs_ literal 0 HcmV?d00001 diff --git a/textures/pipeworks_mese_tube_plain_3.png b/textures/pipeworks_mese_tube_plain_3.png new file mode 100644 index 0000000000000000000000000000000000000000..f315ea28a5f5d3070cbe0c5b2d92e7bcc9a213b8 GIT binary patch literal 2501 zcmV;$2|D(PP)*+>QpExU%?d<_0P!alm6|SEQBtx9 zO&UOLLlCGXm0C!VV1*D=fgpiY(PY_0m!L|h6dFR)%w)zh;~CrI@w|8MVR5gY$MJji zvlENFw@Suup5Hz9obPMdVW9vN+41oE~GC2Mpx`2D1N6^ zW?$cDh^axuhnN(W0DB7vTK@!K;uolE0|L+hWC!fcr!N4aH{fMI45K$=?YE=U>V%%eJM4)t4t22vkd~CMIxQ?^DiVLD~X9T!0B~hPzo`xiH-Ct0{=7VcgdkOTd6A z2hiZJXoFri4gR+)AGSDYGY2n!rLxP=ur4R$e2dn8W z5+i0kwjI`%&qo9?4>66gmcsamkeY-EmSIdi(bvT>Mu7k{F~(jsHY!|)KwBJWx4ij2 z3Xrl9S=1cZM(<$|4D7DTPD1}+DF#PcT|rDy02r($!QMimyC)ZZh}z0eZ;QYLSe4Vs z0{{aN4IM1r0g`Tqv^t$s*wm~qknk$ao$OJAMz5t51MbG|QPy>b@nrz5{r79aYQ~Y4 zd`E`r^^UIJc@IPcl{pBbs{lL@sSvq|lqF2Lr zB+7%md9bCK9+bBakZlktm|)q87@C05Re0G$U{!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WYgFvURPqpaoaS+N|>H)dyKY4S^z8v4#c>Jl$ z@Z_;>uW{-A95vRjq{@OWbL{eky(KpoQwD+bdi*YG$4_DI&5NUNf5^mEc?YakFzvla zIdW$a384Ikb`k%jZ;VWQY~bYn`T<)f&c;&UT`GLXj>mEj^?L-VTU8Ong+9M<9Gm>u z%TMF_g?HiuFzx|_VaHsE@;&^Zv~+4DQDkQV?LMZ-{*f`upr5NyWBrO)!Qt5rNe3bt z{?uoogIhfS)b#*}@*p+qfRF)V5cyW}iUx5W!QJ;DqLC|p9^uaW@C%OuH0|2jhNG`0 z((WQU`aN;ko(T|xcJn%j3dl`A7Rg?b047|u(%renB5jyp#bz8anCB37K5&vg52LFQ zx9OTU#AVR-${8`b7U^T+A_&SkDTN4tm`fnFh_L;>b8visJP;Lj1816ckO2ec8L)p4 zLF;cIB7mkqly@6&8P}crQ!er#l()|rFGXvFxEEjznT@DwS(TjP%)`q)0v&t^9o&S< zJq$5z=TQ`$LsWCmn~Rt!`vdDOkpDG(^~_PfTW?)(GFKMds`0DF}^ zBE+~>Cy@gq51a^ngT{5A+M3*HZTGHjJ)~toKKoUQFmR zdIJy>tJTvUdt)^R@(O-7?yCC&e7p4G=YJKrIJVTp*?YGwlmlTDCf@lw}!X8g#QR(Z#gQ1O!5HB;D%e_N&j7Hg4-~r z;oPaLwLvPRrm&^Olc=v=NbnTQNK>T;M+|WxGFeltkI4e-=oTi*2PRkoHS5f#Jndat yJQ;hBuHBwNIa~mHC3oa)Ofn@cH}{_$R{swtnR!hfzxs{<0000Y{D{ literal 0 HcmV?d00001 diff --git a/textures/pipeworks_mese_tube_plain_5.png b/textures/pipeworks_mese_tube_plain_5.png new file mode 100644 index 0000000000000000000000000000000000000000..885300bd31606d9fdab78282d14dc592754b3345 GIT binary patch literal 2497 zcmV;y2|o6TP)F4Wa8L>qQpkxGoMJ25aD4=5__}W$L!9`&dzjKT|TO&cgNE` zFMEW$zwDjbo~m2-o_o%zTEd8)wfPeQcu@Xsd|~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ka0v z>*HGOT^9f`73k<@>SgJETqhIF+b*PLvsVIl;z*mg08*vfJ7E2PWq>hj?uaV6*bC+u zYWQBq&)3yU?Jko<*}NaXJmG4W2m1Q0a+gTCW4G1pm4MNUj+vz&Zx<3W;8rf7a{C~9 zJbM|?Qggj5?ZndHAI1KGZeDZrICDg(1i*uiKIohHY^KjfUvm2{Z-X@u2VgaaZa2nj zUCO}dHFr}igFJxMq`NOLi2|N$L-)2oCGh+fHi)TN`J8gW^6qYfdJ#r1##Go!?gRrA zKR}IMNaX=y>LVpWBc;NdmnP8lvQ+w!d}ME&nzame0m`|%{`KB1FXb;n*qe*XAd@`6 zGPvGWIH{?`VJ5r|W2(-b%32$wpl=FWFvn1p<0+nk8R%5$?h!*A#3pM$^H0hG>*xj} zZB4)u6KTxFcW00000 LNkvXXu0mjfY-X;R literal 0 HcmV?d00001 diff --git a/textures/pipeworks_mese_tube_plain_6.png b/textures/pipeworks_mese_tube_plain_6.png new file mode 100644 index 0000000000000000000000000000000000000000..3d13ef967b063d845b1d36ca506d37ca4d8ea475 GIT binary patch literal 2499 zcmV;!2|V_RP)Q`}I)IcyH!8G^&3A08H+BgGRAV9#sHL zxD1g7NKFm>483{9{zJl1Epv1M;LIKvy#g(JW4}M^f4S!~NX>vK2a$UE0-%GdU@pMp zYw??7zjpxGhlmF8L<%#23jk#y62yN0MC}6pn18HC0E!?|AkL>R07fs{O;GZiR+$}L zpCP6KkpN;+SOV}ue=kJ`gMmRCFt;G zIzdoO1uC<5sKp;F{}$(qNA2HJ&SF8@0zjOH39mV1KVBAf|#*Un4951EL&2 zy?>$!dhIm$->!Vv;y~&$fN~HCA`CcKc?;*qzY%{gR3}kde?P*IaPwa&!~hAvYO;;Q zh*?c+hvy0hV}j^IOl_p4FghZn#$m!G7*p-*=aLwsKmZyWVXqn)6|O>{Ee z0AL`Zp~D+@futJ|txhKuHWlj&^m#pAIn$vAjb2G92HcCcM_Jb$MwbD!^53U~)wClm zeoKbx)t0W`{1`+8mDv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gD(F%c|fM zXAWNWA?V-}=-?_;_CbhgIFBOl9HNq2Z#H74oY`r82oo+t2RC4ckbB)59Rqdgnx*vS0`_0sRbybY6|J)N$TqD{5eJ{ueqwAQS52pQQjM|wb_$p`MdYIv#7 z-ra!FrGfSSVAG2cT}H0}Vq&#Advl#WWr8AA-u5;JCp8(sY8EQ91IBb7lk>yxphmCs zkw)7r`1NtD_Pz^%mWI(;01rC+v~S|mN}r9sRJe6$0$mSFC6DAod*alTQ`iM4>(2Vud$+uV{}IC8TvP_B zfEWcwL$Xxrm%UlfT|oz@D$8IQ>FVy46z@Xto^J%E(@%q z>yMNVjIabs)|u_|w0GVt#6F{Gx2I4J`(Ur&j=T*?rljuX{-eX{{{db;b|($JW{>~? N002ovPDHLkV1lz}regpA literal 0 HcmV?d00001 diff --git a/textures/pipeworks_mese_tube_short.png b/textures/pipeworks_mese_tube_short.png new file mode 100644 index 0000000000000000000000000000000000000000..1851dcff0b985ec634b6f0bf291678fed3fefce4 GIT binary patch literal 1209 zcmV;q1V;ObP)3mdj+HnLA*4ym1qmv|g%jU{uYr0%;(#hu2vrqQg%Ec>0}|rO zrvUBwGRmPcZnVEdpkQj^PioCL?V$$Boc{4B9TZW z5{X12kx2Z1kXZw|kG^tH+hIy<49VKyC1AJ>5M8hSHgFrn|9e2BhI@fX1NR{!wQ6i1(8>ml^ZE!VvGN4X zciG&#cjX#&wu{!{VgSvy2<0In4Xk_wfcp^q9FZpYIToHpV`L4;QQg3;hvs|aYagN6 zRve3A#Q~u>Bos#=YjJVf#NBZ(u=1pu+YrfsviiNC9Q`?YCOV}tG1)>F&G&FGW-c$E zHNe9uwdN;?HYbh%trlKZyEp==!zf2)uh%~YA1kJYM_u7r;JFe?h#9d(Jakb$egXD;|2*rbFl{Csfu138#skhqHy>6YKnPg8KS*AI!Bpoi9}FrTiL96{AIs+`M*2 zmW`y>&hO=FBEUii&9+|(xo;O1vEJkF<{H1Tb4$99?kpVzn(s~3hBwfF&8cNjbkWkc zzLcszKSO*umvh{QAo&VXKwDGu+r#NX4%pcFOu9$k%w_!M-d$N%w%q!2oj2w<2lS>! zz?G##?!UX1hzM&1E0?1?Qa~9UoPTRz#zyU37o(@r8t256yNcM}JhWE)i|T z9=^KZh?gtzvuG2|_a-fFY=^h;@D$13nzX>B=G4!iXz2ER^1FP22b$^%5(l;v-iZf9~NYvI<%%472SO)NaY%9Bcv47Wa6{R7;d z5{g4K+lnVmA0gS>xb^VRgYq$BhmRdQcAACGw%$~Y=C z+X5L!o`ETDCoy_z`?w8J-NM3?s8yoihP$t{>r5mPi9{liNF)-8L?V$$Boc|le}R7h Xd88R64>0n>00000NkvXXu0mjf&2>l5 literal 0 HcmV?d00001 diff --git a/textures/red.png b/textures/red.png new file mode 100644 index 0000000000000000000000000000000000000000..1275e5df68d1844cd621cf488b5c39e499654503 GIT binary patch literal 160 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61SBU+%rFB|oCO|{#S9GG!XV7ZFl&wkP>{XE z)7O>#E~9`jyG5Da3qGKbWQl7;iF1B#Zfaf$gL6@8Vo7R>LV0FMhJw4NZ$Nk>pEyvF zl&6bhh{pNknk@Ab4qORI3W7aZ5?2jMOc)p*zGMu!e}G33sEWbU)z4*}Q$iB}9t|d? literal 0 HcmV?d00001 diff --git a/textures/white.png b/textures/white.png new file mode 100644 index 0000000000000000000000000000000000000000..8b8340355b972e7c8ef65f987a974b1712b2d968 GIT binary patch literal 160 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61SBU+%rFB|oCO|{#S9GG!XV7ZFl&wkP>{XE z)7O>#E~9`jyHdB0U!MP|ku_QG`p**uBL&4qCHz2%`PaLR7 z%G1R$MB{w&pa1{unKc_a8(j=mC59ZnaFKx_G?!U+zMkkJpehDWS3j3^P6{XE z)7O>#E~9`jhv=5f6S|xv6<249-QVi6yBi3gww484B*6z5(HleBwYw zQl2i3AsXkC|NM_?XcRec#6d~os==zn7a0r;_N+`&o10d+097$~y85}Sb4q9e0HUBM A^8f$< literal 0 HcmV?d00001 diff --git a/tubes.lua b/tubes.lua index a22c8a9..d788493 100644 --- a/tubes.lua +++ b/tubes.lua @@ -17,6 +17,8 @@ minetest.register_node("pipeworks:testobject", { end, }) +tubenodes={} + -- tables minetest.register_alias("pipeworks:tube", "pipeworks:tube_000000") @@ -64,7 +66,7 @@ function tube_addbox(t, b) end -- now define the nodes! - +function register_tube(name,desc,plain_textures,noctr_textures,end_textures,short_texture,inv_texture,special) for xm = 0, 1 do for xp = 0, 1 do for ym = 0, 1 do @@ -78,44 +80,44 @@ for zp = 0, 1 do if yp==1 then tube_addbox(outboxes, tube_topstub) table.insert(outsel, tube_selectboxes[4]) - table.insert(outimgs, "pipeworks_tube_noctr.png") + table.insert(outimgs, noctr_textures[4]) else - table.insert(outimgs, "pipeworks_tube_plain.png") + table.insert(outimgs, plain_textures[4]) end if ym==1 then tube_addbox(outboxes, tube_bottomstub) table.insert(outsel, tube_selectboxes[3]) - table.insert(outimgs, "pipeworks_tube_noctr.png") + table.insert(outimgs, noctr_textures[3]) else - table.insert(outimgs, "pipeworks_tube_plain.png") + table.insert(outimgs, plain_textures[3]) end if xp==1 then tube_addbox(outboxes, tube_rightstub) table.insert(outsel, tube_selectboxes[2]) - table.insert(outimgs, "pipeworks_tube_noctr.png") + table.insert(outimgs, noctr_textures[2]) else - table.insert(outimgs, "pipeworks_tube_plain.png") + table.insert(outimgs, plain_textures[2]) end if xm==1 then tube_addbox(outboxes, tube_leftstub) table.insert(outsel, tube_selectboxes[1]) - table.insert(outimgs, "pipeworks_tube_noctr.png") + table.insert(outimgs, noctr_textures[1]) else - table.insert(outimgs, "pipeworks_tube_plain.png") + table.insert(outimgs, plain_textures[1]) end if zp==1 then tube_addbox(outboxes, tube_backstub) table.insert(outsel, tube_selectboxes[6]) - table.insert(outimgs, "pipeworks_tube_noctr.png") + table.insert(outimgs, noctr_textures[6]) else - table.insert(outimgs, "pipeworks_tube_plain.png") + table.insert(outimgs, plain_textures[6]) end if zm==1 then tube_addbox(outboxes, tube_frontstub) table.insert(outsel, tube_selectboxes[5]) - table.insert(outimgs, "pipeworks_tube_noctr.png") + table.insert(outimgs, noctr_textures[5]) else - table.insert(outimgs, "pipeworks_tube_plain.png") + table.insert(outimgs, plain_textures[5]) end local jx = xp+xm @@ -125,27 +127,27 @@ for zp = 0, 1 do if (jx+jy+jz) == 1 then if xm == 1 then table.remove(outimgs, 3) - table.insert(outimgs, 3, "pipeworks_tube_end.png") + table.insert(outimgs, 3, end_textures[3]) end if xp == 1 then table.remove(outimgs, 4) - table.insert(outimgs, 4, "pipeworks_tube_end.png") + table.insert(outimgs, 4, end_textures[4]) end if ym == 1 then table.remove(outimgs, 1) - table.insert(outimgs, 1, "pipeworks_tube_end.png") + table.insert(outimgs, 1, end_textures[1]) end if xp == 1 then table.remove(outimgs, 2) - table.insert(outimgs, 2, "pipeworks_tube_end.png") + table.insert(outimgs, 2, end_textures[2]) end if zm == 1 then table.remove(outimgs, 5) - table.insert(outimgs, 5, "pipeworks_tube_end.png") + table.insert(outimgs, 5, end_textures[5]) end if zp == 1 then table.remove(outimgs, 6) - table.insert(outimgs, 6, "pipeworks_tube_end.png") + table.insert(outimgs, 6, end_textures[6]) end end @@ -154,27 +156,26 @@ for zp = 0, 1 do if tname ~= "000000" then tgroups = {snappy=3, tube=1, not_in_creative_inventory=1} - tubedesc = "Pneumatic tube segment ("..tname..")... You hacker, you." + tubedesc = desc.." ("..tname..")... You hacker, you." iimg=nil wscale = {x=1,y=1,z=1} else tgroups = {snappy=3, tube=1} - tubedesc = "Pneumatic tube segment" - iimg="pipeworks_tube_inv.png" + tubedesc = desc + iimg=inv_texture outimgs = { - "pipeworks_tube_short.png", - "pipeworks_tube_short.png", - "pipeworks_tube_end.png", - "pipeworks_tube_end.png", - "pipeworks_tube_short.png", - "pipeworks_tube_short.png" + short_texture,short_texture, + end_textures[3],end_textures[4], + short_texture,short_texture } outboxes = { -24/64, -9/64, -9/64, 24/64, 9/64, 9/64 } outsel = { -24/64, -10/64, -10/64, 24/64, 10/64, 10/64 } wscale = {x=1,y=1,z=0.01} end - minetest.register_node("pipeworks:tube_"..tname, { + table.insert(tubenodes,name.."_"..tname) + + nodedef={ description = tubedesc, drawtype = "nodebox", tiles = outimgs, @@ -194,19 +195,39 @@ for zp = 0, 1 do sounds = default.node_sound_wood_defaults(), walkable = true, stack_max = 99, - drop = "pipeworks:tube_000000", + drop = name.."_000000", tubelike=1, on_construct = function(pos) - local meta = minetest.env:get_meta(pos) - meta:set_int("tubelike",1) + local meta = minetest.env:get_meta(pos) + meta:set_int("tubelike",1) + if minetest.registered_nodes[name.."_"..tname].on_construct_ then + minetest.registered_nodes[name.."_"..tname].on_construct_(pos) + end end, after_place_node = function(pos) tube_scanforobjects(pos) + if minetest.registered_nodes[name.."_"..tname].after_place_node_ then + minetest.registered_nodes[name.."_"..tname].after_place_node_(pos) + end end, after_dig_node = function(pos) tube_scanforobjects(pos) + if minetest.registered_nodes[name.."_"..tname].after_dig_node_ then + minetest.registered_nodes[name.."_"..tname].after_dig_node_(pos) + end end - }) + } + + if special==nil then special={} end + + for key,value in pairs(special) do + if key=="on_construct" or key=="after_dig_node" or key=="after_place_node" then + key=key.."_" + end + nodedef[key]=value + end + + minetest.register_node(name.."_"..tname, nodedef) end end @@ -214,4 +235,83 @@ end end end end +end +noctr_textures={"pipeworks_tube_noctr.png","pipeworks_tube_noctr.png","pipeworks_tube_noctr.png", + "pipeworks_tube_noctr.png","pipeworks_tube_noctr.png","pipeworks_tube_noctr.png"} +plain_textures={"pipeworks_tube_plain.png","pipeworks_tube_plain.png","pipeworks_tube_plain.png", + "pipeworks_tube_plain.png","pipeworks_tube_plain.png","pipeworks_tube_plain.png"} +end_textures={"pipeworks_tube_end.png","pipeworks_tube_end.png","pipeworks_tube_end.png", + "pipeworks_tube_end.png","pipeworks_tube_end.png","pipeworks_tube_end.png"} +short_texture="pipeworks_tube_short.png" +inv_texture="pipeworks_tube_inv.png" + +register_tube("pipeworks:tube","Pneumatic tube segment",plain_textures,noctr_textures,end_textures,short_texture,inv_texture) + +mese_noctr_textures={"pipeworks_mese_tube_noctr_1.png","pipeworks_mese_tube_noctr_2.png","pipeworks_mese_tube_noctr_3.png", + "pipeworks_mese_tube_noctr_4.png","pipeworks_mese_tube_noctr_5.png","pipeworks_mese_tube_noctr_6.png"} + +mese_plain_textures={"pipeworks_mese_tube_plain_1.png","pipeworks_mese_tube_plain_2.png","pipeworks_mese_tube_plain_3.png", + "pipeworks_mese_tube_plain_4.png","pipeworks_mese_tube_plain_5.png","pipeworks_mese_tube_plain_6.png"} +mese_end_textures={"pipeworks_mese_tube_end.png","pipeworks_mese_tube_end.png","pipeworks_mese_tube_end.png", + "pipeworks_mese_tube_end.png","pipeworks_mese_tube_end.png","pipeworks_mese_tube_end.png"} +mese_short_texture="pipeworks_mese_tube_short.png" +mese_inv_texture="pipeworks_mese_tube_inv.png" + + +meseadjlist={{x=0,y=0,z=1},{x=0,y=0,z=-1},{x=0,y=1,z=0},{x=0,y=-1,z=0},{x=1,y=0,z=0},{x=-1,y=0,z=0}} + +register_tube("pipeworks:mese_tube","Mese pneumatic tube segment",mese_plain_textures,mese_noctr_textures, + mese_end_textures,mese_short_texture,mese_inv_texture, + {tube={can_go=function(pos,node,velocity,stack) + tbl={} + local meta=minetest.env:get_meta(pos) + local inv=meta:get_inventory() + local found=false + local name=stack:get_name() + for i,vect in ipairs(meseadjlist) do + for _,st in ipairs(inv:get_list("line"..tostring(i))) do + if st:get_name()==name then + found=true + table.insert(tbl,vect) + end + end + end + if found==false then + for i,vect in ipairs(meseadjlist) do + if inv:is_empty("line"..tostring(i)) then + table.insert(tbl,vect) + end + end + end + return tbl + end}, + on_construct = function(pos) + local meta = minetest.env:get_meta(pos) + meta:set_string("formspec", + "size[8,11]".. + "list[current_name;line1;1,0;7,1;]".. + "list[current_name;line2;1,1;7,1;]".. + "list[current_name;line3;1,2;7,1;]".. + "list[current_name;line4;1,3;7,1;]".. + "list[current_name;line5;1,4;7,1;]".. + "list[current_name;line6;1,5;7,1;]".. + "image[0,0;1,1;white.png]".. + "image[0,1;1,1;black.png]".. + "image[0,2;1,1;green.png]".. + "image[0,3;1,1;yellow.png]".. + "image[0,4;1,1;blue.png]".. + "image[0,5;1,1;red.png]".. + "list[current_player;main;0,7;8,4;]") + meta:set_string("infotext", "Mese pneumatic tube") + local inv = meta:get_inventory() + for i=1,6 do + inv:set_size("line"..tostring(i), 7*1) + end + end, + can_dig = function(pos,player) + local meta = minetest.env:get_meta(pos); + local inv = meta:get_inventory() + return (inv:is_empty("line1") and inv:is_empty("line2") and inv:is_empty("line3") and + inv:is_empty("line4") and inv:is_empty("line5") and inv:is_empty("line6")) + end})