From 9820cc1aad67719516d2a3a3b3e44f95fbcb1566 Mon Sep 17 00:00:00 2001 From: migdyn Date: Fri, 14 Dec 2018 21:30:02 -0500 Subject: [PATCH] Initial commit --- LICENSE | 121 ++++++++++++++++++ craftitems.lua | 19 +++ .../electronics_capacitor_electrolite.png | Bin 0 -> 452 bytes textures/electronics_coil.png | Bin 0 -> 585 bytes textures/electronics_copper_wire.png | Bin 0 -> 518 bytes .../electronics_copper_wire_insulated.png | Bin 0 -> 598 bytes textures/electronics_fuse_glass.png | Bin 0 -> 527 bytes textures/electronics_led_red.png | Bin 0 -> 311 bytes textures/electronics_light_bulb_white.png | Bin 0 -> 415 bytes textures/electronics_magnetron.png | Bin 0 -> 535 bytes textures/electronics_multimeter_analog.png | Bin 0 -> 464 bytes textures/electronics_multimeter_digital.png | Bin 0 -> 668 bytes textures/electronics_resistor.png | Bin 0 -> 579 bytes textures/electronics_transformer.png | Bin 0 -> 504 bytes 14 files changed, 140 insertions(+) create mode 100644 LICENSE create mode 100644 craftitems.lua create mode 100644 textures/electronics_capacitor_electrolite.png create mode 100644 textures/electronics_coil.png create mode 100644 textures/electronics_copper_wire.png create mode 100644 textures/electronics_copper_wire_insulated.png create mode 100644 textures/electronics_fuse_glass.png create mode 100644 textures/electronics_led_red.png create mode 100644 textures/electronics_light_bulb_white.png create mode 100644 textures/electronics_magnetron.png create mode 100644 textures/electronics_multimeter_analog.png create mode 100644 textures/electronics_multimeter_digital.png create mode 100644 textures/electronics_resistor.png create mode 100644 textures/electronics_transformer.png diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..0e259d4 --- /dev/null +++ b/LICENSE @@ -0,0 +1,121 @@ +Creative Commons Legal Code + +CC0 1.0 Universal + + CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE + LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN + ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS + INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES + REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS + PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM + THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED + HEREUNDER. + +Statement of Purpose + +The laws of most jurisdictions throughout the world automatically confer +exclusive Copyright and Related Rights (defined below) upon the creator +and subsequent owner(s) (each and all, an "owner") of an original work of +authorship and/or a database (each, a "Work"). + +Certain owners wish to permanently relinquish those rights to a Work for +the purpose of contributing to a commons of creative, cultural and +scientific works ("Commons") that the public can reliably and without fear +of later claims of infringement build upon, modify, incorporate in other +works, reuse and redistribute as freely as possible in any form whatsoever +and for any purposes, including without limitation commercial purposes. +These owners may contribute to the Commons to promote the ideal of a free +culture and the further production of creative, cultural and scientific +works, or to gain reputation or greater distribution for their Work in +part through the use and efforts of others. + +For these and/or other purposes and motivations, and without any +expectation of additional consideration or compensation, the person +associating CC0 with a Work (the "Affirmer"), to the extent that he or she +is an owner of Copyright and Related Rights in the Work, voluntarily +elects to apply CC0 to the Work and publicly distribute the Work under its +terms, with knowledge of his or her Copyright and Related Rights in the +Work and the meaning and intended legal effect of CC0 on those rights. + +1. Copyright and Related Rights. A Work made available under CC0 may be +protected by copyright and related or neighboring rights ("Copyright and +Related Rights"). Copyright and Related Rights include, but are not +limited to, the following: + + i. the right to reproduce, adapt, distribute, perform, display, + communicate, and translate a Work; + ii. moral rights retained by the original author(s) and/or performer(s); +iii. publicity and privacy rights pertaining to a person's image or + likeness depicted in a Work; + iv. rights protecting against unfair competition in regards to a Work, + subject to the limitations in paragraph 4(a), below; + v. rights protecting the extraction, dissemination, use and reuse of data + in a Work; + vi. database rights (such as those arising under Directive 96/9/EC of the + European Parliament and of the Council of 11 March 1996 on the legal + protection of databases, and under any national implementation + thereof, including any amended or successor version of such + directive); and +vii. other similar, equivalent or corresponding rights throughout the + world based on applicable law or treaty, and any national + implementations thereof. + +2. Waiver. To the greatest extent permitted by, but not in contravention +of, applicable law, Affirmer hereby overtly, fully, permanently, +irrevocably and unconditionally waives, abandons, and surrenders all of +Affirmer's Copyright and Related Rights and associated claims and causes +of action, whether now known or unknown (including existing as well as +future claims and causes of action), in the Work (i) in all territories +worldwide, (ii) for the maximum duration provided by applicable law or +treaty (including future time extensions), (iii) in any current or future +medium and for any number of copies, and (iv) for any purpose whatsoever, +including without limitation commercial, advertising or promotional +purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each +member of the public at large and to the detriment of Affirmer's heirs and +successors, fully intending that such Waiver shall not be subject to +revocation, rescission, cancellation, termination, or any other legal or +equitable action to disrupt the quiet enjoyment of the Work by the public +as contemplated by Affirmer's express Statement of Purpose. + +3. Public License Fallback. Should any part of the Waiver for any reason +be judged legally invalid or ineffective under applicable law, then the +Waiver shall be preserved to the maximum extent permitted taking into +account Affirmer's express Statement of Purpose. In addition, to the +extent the Waiver is so judged Affirmer hereby grants to each affected +person a royalty-free, non transferable, non sublicensable, non exclusive, +irrevocable and unconditional license to exercise Affirmer's Copyright and +Related Rights in the Work (i) in all territories worldwide, (ii) for the +maximum duration provided by applicable law or treaty (including future +time extensions), (iii) in any current or future medium and for any number +of copies, and (iv) for any purpose whatsoever, including without +limitation commercial, advertising or promotional purposes (the +"License"). The License shall be deemed effective as of the date CC0 was +applied by Affirmer to the Work. Should any part of the License for any +reason be judged legally invalid or ineffective under applicable law, such +partial invalidity or ineffectiveness shall not invalidate the remainder +of the License, and in such case Affirmer hereby affirms that he or she +will not (i) exercise any of his or her remaining Copyright and Related +Rights in the Work or (ii) assert any associated claims and causes of +action with respect to the Work, in either case contrary to Affirmer's +express Statement of Purpose. + +4. Limitations and Disclaimers. + + a. No trademark or patent rights held by Affirmer are waived, abandoned, + surrendered, licensed or otherwise affected by this document. + b. Affirmer offers the Work as-is and makes no representations or + warranties of any kind concerning the Work, express, implied, + statutory or otherwise, including without limitation warranties of + title, merchantability, fitness for a particular purpose, non + infringement, or the absence of latent or other defects, accuracy, or + the present or absence of errors, whether or not discoverable, all to + the greatest extent permissible under applicable law. + c. Affirmer disclaims responsibility for clearing rights of other persons + that may apply to the Work or any use thereof, including without + limitation any person's Copyright and Related Rights in the Work. + Further, Affirmer disclaims responsibility for obtaining any necessary + consents, permissions or other rights required for any use of the + Work. + d. Affirmer understands and acknowledges that Creative Commons is not a + party to this document and has no duty or obligation with respect to + this CC0 or use of the Work. diff --git a/craftitems.lua b/craftitems.lua new file mode 100644 index 0000000..7256ac9 --- /dev/null +++ b/craftitems.lua @@ -0,0 +1,19 @@ +minetest.register_craftitem("electronics:light_bulb_incandescent", { + description = "Incandescent Light Bulb", + inventory_image = "electronics_light_bulb_incandescent.png", +}) + +minetest.register_craftitem("electronics:led_red", { + description = "Red LED", + inventory_image = "electronics_led_red.png", +}) + +minetest.register_craftitem("electronics:capacitor_electrolytic", { + description = "Electrolytic Capacitor", + inventory_image = "electronics_capacitor_electrolite.png", +}) + +minetest.register_craftitem("electronics:coil_copper", { + description = "Copper Coil", + inventory_image = "electronics_coil.png", +}) diff --git a/textures/electronics_capacitor_electrolite.png b/textures/electronics_capacitor_electrolite.png new file mode 100644 index 0000000000000000000000000000000000000000..a75b0a3de8a1bcbbdf3571bfddab54ec6156b292 GIT binary patch literal 452 zcmV;#0XzPQP))r%C_-02y>e zSad^gZEa<4bO1wgWnpw>WFU8GbZ8()Nlj2!fese{00AsXL_t(I%Z*a8YJ@-(oVRyH zkU)eKCatY)uCzAp|sqQM0G#`Ko=p z^XAPA3k<7n3qTE^7D9CAV=%*+ilPX%ZJ&In6AGF~qO&uKg7@d!0a^$F-}k$Iw>HMv z+Tqn^KdE51Hi!V+Zx6kKwzY;EPVgeqy7OP zj$@dn3C=mfFzoI>zp6fie literal 0 HcmV?d00001 diff --git a/textures/electronics_coil.png b/textures/electronics_coil.png new file mode 100644 index 0000000000000000000000000000000000000000..4437d94b2927500fdecbf91695751f07655d93f5 GIT binary patch literal 585 zcmV-P0=E5$P)e zSad^gZEa<4bO1wgWnpw>WFU8GbZ8()Nlj2!fese{00FT{L_t(I%Y~A$Y8ycihQC=I zMmhy_;DmEX89#yr1{cDh;5zS+R-~}p8loaiWH(ZtAdR0P(i@~U7*|P1d>oEov7z^jHpv=Ax31H{jjcf>fp2K}rvByK`sdO>mAwMf74M#${BQE%LTr+; z5qKQ{FCWCF0_{QcTzNY3dAu$OTE5Z1H%$8BA5=k=)14ib?L{8n&I7o;)4%DR)&WEW z)#V(n_$tk$B=Bn77ig1ysMRj6xOnPk^@jrwpk|~M_>uw*fJr~pGm!Ck%zQql*=&~L z{9~miH!S|atUZW)cSzfpAJtk*k|b3zdF`wuD55=xWZDl?n`Cu>ZN?h-2Kyt!J{YG? zqji_yRbkQ{#tjjUuhQ&H;1;+6PDMC&DXRp(U6Ssncz-k+?Oye zSad^gZEa<4bO1wgWnpw>WFU8GbZ8()Nlj2!fese{00C}EL_t(I%cYaOQo=wKg}=Kb z1kH#uDy4-DuVLx7&cF+pI$HQBsbeJ-mKL$F(Wek9#}XR_9Qn~}u>uJ=Y20S#oV$DW z+@BSID2gasEmFN9l65{!Q%twpExp(x)iQDO+-?_$PN##lDb}U{j4U#;h_xyGet$#2 z%Y&2Y700JwZiQ`672x206~8!oWY2%#dKUdHP!E(w2%j?+wq-J3#Y11oV*qoxW+{K5 z=EM6$7|(>jW4RXu@}*q_2OlEfoa|I}`SRB{n+}pBDG-4NVb$6HrBoGNe;FW25=z!F8>m;e9(07*qo IM6N<$f|Fp)CjbBd literal 0 HcmV?d00001 diff --git a/textures/electronics_copper_wire_insulated.png b/textures/electronics_copper_wire_insulated.png new file mode 100644 index 0000000000000000000000000000000000000000..b1afe99a1ce65c3005ad3521114522c1a7c3b981 GIT binary patch literal 598 zcmV-c0;&CpP)e zSad^gZEa<4bO1wgWnpw>WFU8GbZ8()Nlj2!fese{00F*9L_t(I%cYYsZ_`i|g}>+8 zO;BV|Drd-mWCpTzBQruC@QURA0nEVSGE|6#k;N+>m`oNjg&$xB3(<~v%hX0li4e+= zN)}BcImGQ_2uE#olfV*i@xv6X0s_b zkt>6}y#ml~x3TRI-}hx4$5g9T&TWKkhxB^AH3D@xdHm}=51)Wxe3t!wAIq}nzBU%p zU)(!lM?2)h%>6sT?UJNc0bSP_4u_21JrH8ac}0^<^A!sRE0U%;BuPTOUZ`0h+mTGu6w9)xXmaft3+borr<@$0u)lunnqE8vzhW7iRyk&}cM> kqQ+G^Uz2FVXW~EOH!ZHIM|x@>SO5S307*qoM6N<$f~KAN7ytkO literal 0 HcmV?d00001 diff --git a/textures/electronics_fuse_glass.png b/textures/electronics_fuse_glass.png new file mode 100644 index 0000000000000000000000000000000000000000..0c78c2fd842e3d01ae6d9245a5061e82c7e14746 GIT binary patch literal 527 zcmV+q0`UEbP)e zSad^gZEa<4bO1wgWnpw>WFU8GbZ8()Nlj2!fese{00DPNL_t(I%cYYqPeM@`#(xJn z!p303K_FWA1X4BJ;ElRno5@4gIRnKnaH>TE*CYvp@fxmf8l{<(f^&{QU?K**=rOom z;eu@HQ_kM!Ip^8??+5^;6tm#qa?0c#*L8{2>-8TWYON`iN;A!44;vd}M6FiCwq3N= z_`Xjzo274qZM!s^%?X3}Xt4Tr%*s0Ca+kDPEiB98c0U*DJB!yW$SY0)HQgYSFyvE^ zPN!+N+jI_>5aL@;NyA_mDPb>?(qIUUMuS43KvF_)Ab1S~i8$do3ZaxT0M%-BnO~q> zE?)t}_$R`IDwWDvRFqN%Q7#AqIn_XGz4n(9#ONk&N;mAXG4S#x$RrG{r6U~2;bJ#W zCSj->6>efY>O3c4_yI`?NojcM2^`14_kH41IyOdiUIp(4g!mfgaiF64o-U3d7N?g^+{k-aLBRF@!jKCa1W$?S2&5{kc*DA<)%CoA zNx+4et{t8!28Z@rUika}h-^#SkLbALrAyoT*$%yM%rLmq(lOt_c-@!xg1V3M-foKC z&9GqcJg*1Kb~QZTwl|+~*^x5|X%^3ays7!gq?C2&d{xqw8%*|9k1O6!EN%hT|;+&tGo0?a`;9QiNSdyBe zP@Y+mq2TW68xY>eC(gjY$nNRl7-DgHY0$>376*aaK5QkW&tBzSOV}9W`rtiCER=z)*T*k@MW5~`hd*vU6 zMR$ezB|ZusSbf#6^To?WjLK=gCxqTJ)*S4uR;v1^ZIfNme%c~BOZv{g!w+)feq8&Y zQ#bEMZyA^L{djpKQ8?kBPtUD-E4}*D3*!}ObHM*{ahT3{)KHj7gFIG9HQGluTezJ@^ zhvJRJ6?)8?s!a+940zTs&R(!CJEnJ$hR?LrV@H3o&iUdVANSs9J22cBJYD@<);T3K F0RX|Doq_-W literal 0 HcmV?d00001 diff --git a/textures/electronics_magnetron.png b/textures/electronics_magnetron.png new file mode 100644 index 0000000000000000000000000000000000000000..6d688b327a51f46c57a5f7030c9c5edce6a9faa7 GIT binary patch literal 535 zcmV+y0_gpTP){S2&02y>e zSad^gZEa<4bO1wgWnpw>WFU8GbZ8()Nlj2!fese{00DnVL_t(I%cYXBY8ycihQHID zc4ZC)$(%S;sK`U8P9=OP4Hmc;7+e`_$U9shc>u$viV9iAWg1~3>{f4}=8OuVPK8w5 zTIWq+bm(%5Y>~g2`DbTl|CwD2pwsEF3nwUU$>%7gDD?aNe-?&eNVD18*}U-7Zf64B zZkHfXgki{VI5eK;nMD9Wpcs$GxdzTAInqD)bPS&Nn<$FXxOe|*FFrnUSbX5;b7y;l z57JO`puSyHUq%-{agXSWHJGu(P(Vnfs_(}`Fu_s$7rn)LI9w(X1QEa ztyZ%;*d&!og;J@M@>;EiloBZ=LI_;fWwBUfcd-76wr!jB&2Pc?eUc=xlv3Fd&JS;_ zRRXIQ_^ik*wb$!e&aYG4qT!A+lT)CzHtYc*L|(yr@a^m6+BHfktH6I^Zv|IhzNaGq Z`~mSqfv{PZ@D%_6002ovPDHLkV1hGS;0^!) literal 0 HcmV?d00001 diff --git a/textures/electronics_multimeter_analog.png b/textures/electronics_multimeter_analog.png new file mode 100644 index 0000000000000000000000000000000000000000..d6b0b7b81466b6781526f7315b903624c321257d GIT binary patch literal 464 zcmV;>0WbcEP)e zSad^gZEa<4bO1wgWnpw>WFU8GbZ8()Nlj2!fese{00B5jL_t(I%axKXQ^P-D<-Sri3zU610VcF<)uB4UCdFmqZimqtX4P3zfabzRdm z4RIV#COaGsV-lOdmezWf#39&%+O_y7rF!Gz@kkhkBZ}2(1;A^11Awnuie71&_UFxJ z4esrvMikkBI4Y?o1gI*wbtF1O>Lf2)>WWfgJR;*UuAj9GEkrZ?*CyjY-Uf8itv7} zb6BtaZP-vB;O*&_m(RA&BuQpXs;U|pc*87RBZqr1H_l(F2)P5S+wgDz0000e zSad^gZEa<4bO1wgWnpw>WFU8GbZ8()Nlj2!fese{00IO_L_t(I%Y~CMNLx`9hQD+3 zLW>k?aj>O>6kQ5kHKs!cr4|fE0=}_b>eAw?B-%|nWN^_T`W6du&<-75AVXRsR3bP? zrKVKq;841XxJU!G_~hOWc^IEYJ#gWk!@1u*=Rfxf=gffN3KNjCzU6tIv29yC&od*o zO(va2YmI;G=jxmOr*%_i%lpB@>z~PbRZfkw7T-OC)w_^%`NF+k3 zRAPI38$l2es?{pS7%=8Ecei5-*L6{j;{ecmFdb;1NhXs>FmVwA7Tzxqi^a%f zGKi>p8-d-rDWNgmX>Cy)0juRzCMG5jgr%h=lv3p8a?HDKr~)Nn0NvR=Hh{sw1hra? z&CN|Jl?vj;YR@i(V{?(AOEhxGFaP$+n$QYpS}ZPDM~$Ii|UA}}{MfB8%N_U>LB zc(efw3=H6T9$lTCAQJR1q|@o900KbhJ72ZVpZO0ERmcXgEnv+60000wt literal 0 HcmV?d00001 diff --git a/textures/electronics_resistor.png b/textures/electronics_resistor.png new file mode 100644 index 0000000000000000000000000000000000000000..a2674635d0189521b0ba0af64d8f87f776719b85 GIT binary patch literal 579 zcmV-J0=)f+P)e zSad^gZEa<4bO1wgWnpw>WFU8GbZ8()Nlj2!fese{00FB>L_t(I%Y~A$PuoBg#(#IQ zP;n|@sj3V^mr7};Zi&Qzgs6o^OH7keNlZH^g%#ORnVb^`o4?nEcO0@W%0RmE`?7I!;*joYaFb3`-N+{rLsn zZ3D1Bh}dZay!qUq{q&NxC%;h#gQ|(e{|C-XL-RTN&;GL02mne1V)2#8>RY`b4#3T= z;rcceB0e4oV+=P+!HYHk{y?$T-bILfXn(Gg+ykeUdvMbAONCbI^e*fE@Ijh805vJ_ z+#Gb$_4x)Ur5KOL)a!K%&K65f3GE)V3Ul^c$?C-iwARFNTmctroubTEZ%EYj?LMrc z(ltIy&{N_fxTGM9pg%&0)Fe^zfC{*xz><6#5r!e>z+^IE;qd~UPG{zJ{s%gotR!uT Rv0?xK002ovPDHLkV1hG40$Tt8 literal 0 HcmV?d00001 diff --git a/textures/electronics_transformer.png b/textures/electronics_transformer.png new file mode 100644 index 0000000000000000000000000000000000000000..a746a75aac4c1458ebb1b2c0a48534609be21f63 GIT binary patch literal 504 zcmVe zSad^gZEa<4bO1wgWnpw>WFU8GbZ8()Nlj2!fese{00Cf0L_t(I%cYaQQo=wG#(x_U z0%pV+W+*Kz;4!qcw%`R!9V~p5)Yu>utp&F76w*0%Vk1l#LZWMNBoO{s$Tl~(d-r|c z?sq2uzV9plh;Fwl)?hH;n6Tg4ZSehUFa3U>UT?8iQ5arIv)Kg5>-Oe>>*a%9-GKEZ z)T_G~cNZhAJ1;yYK6?RbuF~*e5(#k%svxqidyW#PMNsR0izQB>;VDrfR2-PbLX-%u zO}-WYHVE?K``c+($oK`n9*nS51B^QW0000