From d9a25552d8d37beedccde108563e0e67504348a1 Mon Sep 17 00:00:00 2001 From: PrairieAstronomer Date: Tue, 5 Jul 2022 11:14:48 -0600 Subject: [PATCH 1/3] Stone Cutter Adds the stonecutter block. --- mods/ITEMS/mcl_stonecutter/init.lua | 57 ++++++++++++++++++ .../ITEMS/mcl_stonecutter/locale/template.txt | 3 + mods/ITEMS/mcl_stonecutter/mod.conf | 4 ++ .../textures/mcl_stonecutter_bottom.png | Bin 0 -> 405 bytes .../textures/mcl_stonecutter_saw.png | Bin 0 -> 809 bytes .../textures/mcl_stonecutter_side.png | Bin 0 -> 452 bytes .../textures/mcl_stonecutter_top.png | Bin 0 -> 514 bytes 7 files changed, 64 insertions(+) create mode 100644 mods/ITEMS/mcl_stonecutter/init.lua create mode 100644 mods/ITEMS/mcl_stonecutter/locale/template.txt create mode 100644 mods/ITEMS/mcl_stonecutter/mod.conf create mode 100644 mods/ITEMS/mcl_stonecutter/textures/mcl_stonecutter_bottom.png create mode 100644 mods/ITEMS/mcl_stonecutter/textures/mcl_stonecutter_saw.png create mode 100644 mods/ITEMS/mcl_stonecutter/textures/mcl_stonecutter_side.png create mode 100644 mods/ITEMS/mcl_stonecutter/textures/mcl_stonecutter_top.png diff --git a/mods/ITEMS/mcl_stonecutter/init.lua b/mods/ITEMS/mcl_stonecutter/init.lua new file mode 100644 index 000000000..145bc7703 --- /dev/null +++ b/mods/ITEMS/mcl_stonecutter/init.lua @@ -0,0 +1,57 @@ +--||||||||||||||||||||||| +--||||| STONECUTTER ||||| +--||||||||||||||||||||||| + +-- TO-DO: +-- * Add GUI + +local S = minetest.get_translator(minetest.get_current_modname()) + +minetest.register_node("mcl_stonecutter:stonecutter", { + description = S("Stone Cutter"), + _tt_help = S("Used to cut stone like materials."), + _doc_items_longdesc = S("Stonecutters are used to create stairs and slabs from stone like materials. It is also the jobsite for the Stone Mason Villager."), + tiles = { + "mcl_stonecutter_top.png", + "mcl_stonecutter_bottom.png", + "mcl_stonecutter_side.png", + "mcl_stonecutter_side.png", + {name="mcl_stonecutter_saw.png", + animation={ + type="vertical_frames", + aspect_w=16, + aspect_h=16, + length=1 + }}, + {name="mcl_stonecutter_saw.png", + animation={ + type="vertical_frames", + aspect_w=16, + aspect_h=16, + length=1 + }} + }, + drawtype = "nodebox", + paramtype = "light", + paramtype2 = "facedir", + groups = { pickaxey=1, material_stone=1 }, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0.0625, 0.5}, -- NodeBox1 + {-0.4375, 0.0625, 0, 0.4375, 0.5, 0}, -- NodeBox2 + } + }, + _mcl_blast_resistance = 3.5, + _mcl_hardness = 3.5, + sounds = mcl_sounds.node_sound_stone_defaults(), +}) + +minetest.register_craft({ + output = "mcl_stonecutter:stonecutter", + recipe = { + { "", "", "" }, + { "", "mcl_core:iron_ingot", "" }, + { "mcl_core:stone", "mcl_core:stone", "mcl_core:stone" }, + } +}) diff --git a/mods/ITEMS/mcl_stonecutter/locale/template.txt b/mods/ITEMS/mcl_stonecutter/locale/template.txt new file mode 100644 index 000000000..840503ec4 --- /dev/null +++ b/mods/ITEMS/mcl_stonecutter/locale/template.txt @@ -0,0 +1,3 @@ +Stone Cutter= +Used to cut stone like materials.= +Stonecutters are used to create stairs and slabs from stone like materials. It is also the jobsite for the Stone Mason Villager.= diff --git a/mods/ITEMS/mcl_stonecutter/mod.conf b/mods/ITEMS/mcl_stonecutter/mod.conf new file mode 100644 index 000000000..d9781e474 --- /dev/null +++ b/mods/ITEMS/mcl_stonecutter/mod.conf @@ -0,0 +1,4 @@ +name = mcl_stonecutter +author = PrairieWind +description = This mod adds a stonecutter, which is used to cut stone like materials, and used as the jobsite for the Stone Mason Villager. +depends = mcl_sounds diff --git a/mods/ITEMS/mcl_stonecutter/textures/mcl_stonecutter_bottom.png b/mods/ITEMS/mcl_stonecutter/textures/mcl_stonecutter_bottom.png new file mode 100644 index 0000000000000000000000000000000000000000..40d53a4f1048d317398b19ad101bcd28bd37c70f GIT binary patch literal 405 zcmV;G0c!qVbAO`Hp=;^T<=_r(No=t3*bYIe?7LQr65D!udXjElo}az}AjSY| z9q3z{wXV9CwgZ6ow^smwG8!f2$^*dZcwj$HGuE)6cOKR{bP`Pl?Qid(w81#dP}=aD zug?$k&SMP=0Mq~!thC`Q^pFw|$Z|gamY|G=(gr0bjMK~kME#mkvW^5RIRQYGk=V55 zkq3Z|l%-mG=W#k77>IynFoDJxHU?C)q+N2V#H0F4$_!eG*gMZmBy}=B3{cvzzW`Xn zf|64uTnkG7lEJP$V9Gi1Ie}8^DiN>M*mgit_QOym;x4o*(_Bb~6ioL#$|dE08MGRZ zk1=c-v=i29B9}?F+*-E*+&?^Ch}f?5U#tBCW*Dyg$79ZA00000NkvXXu0mjf{GqC% literal 0 HcmV?d00001 diff --git a/mods/ITEMS/mcl_stonecutter/textures/mcl_stonecutter_saw.png b/mods/ITEMS/mcl_stonecutter/textures/mcl_stonecutter_saw.png new file mode 100644 index 0000000000000000000000000000000000000000..0a2f543bf905659d485b8f3737175ea4137a7580 GIT binary patch literal 809 zcmV+^1J?YBP)Px#1ZP1_K>z@;j|==^1poj532;bRa{vGf6951U69E94oEQKA0=`K^K~zXf?Uk`> zQ&AMg&x^KAOxo0#7%(rXAPQQ@P*H>q;_g!D<|KmP=H^nQiXi<91Q#ba!A%E2s8A~v z9RkHJ+9r7^#KhQ=q|pY9ey8ty-n_=Rbj)wax$oTfoqO(i_nt^Eo!g8$w;c6}?*KgjEm3K?(yLf3@$FKn7nb~We?vQI$jF;N&T`4(5^-+8xWy@G} zTzx4!BeBTH{OiS~dw340_YYW^s{&JOrzc$RUIxgJXaKBECj|Y(1R7WkKmmY&*4&IrgDDrtWNl;R4bB*Cp`OM z^^;_haVeCmYONbrr#rQJOM=maoIZ0-MWIMoEoe2Gl1Rj)QmLtJw0=tN<9j*stD*A& zh)wVkh=fL@T>UB=rA>Wi5IW+*ChsBz?Jk>!4JAsH~r!MFu(g$m6 zU)0(YDYe*=+CpAyfD8gmA1fnuiiuxLSUar&9+0+Kee9cJ1U;2b%UCch$@p>g0W9A2 z6;L3gjRF#8gn$590<-Y@@b>{&o_#<2`T>q8@SlCyCyyWLkv98*H^53}BLSw^1U?4w z0w7I_d5!&Irlzc?0%7yOk%fTAmdBV4Mx8ERL^czO0H0w^ z;OpBDKrb<`G<^7Dg-^HOPphApP@_@I)hPx}p(u7H{m*`YEV_zlit!Z+>+AA%@r}HC n`9gi>JQ?(ZK|eTvejxH23@zqLf7yjF00000NkvXXu0mjfD>!j? literal 0 HcmV?d00001 diff --git a/mods/ITEMS/mcl_stonecutter/textures/mcl_stonecutter_side.png b/mods/ITEMS/mcl_stonecutter/textures/mcl_stonecutter_side.png new file mode 100644 index 0000000000000000000000000000000000000000..9c7c44fad742b03a059af79172b80a9a9109a271 GIT binary patch literal 452 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|*pj^6T^Rm@ z;DWu&Cj&(|3p^r=85p>QL70(Y)*K0-AbW|YuPgf_ZUF%b$X;bMep-kJK0@wbSdQPnEoPo;wCakiRqW&XYC|J&>TGCs}AU-z8hIQ!jrUPlRq*O%se_dmZys`OW#$Lc`! z^2$1^{v_X>S})(cV@?Q{`P>-B8N}73;N;bKNwc57d`+z;!>7PC)1{V*Foe7jsC03<-yKQQZ)BQ9>RX$UXSaIhA_#DzrAIX(nbkUVBAh;7o>+g@RfX1W9I^xfunwENQn#XspKk{&~u9JYhJV0MI!2 z^l|#_>lXk`mV|cFVUYD_#a%&JxEi$ecUv zfz>oVJn;ZcVOFrVlMYvx7q!uA@TzG=t+_nU2#w{}$q#Pt#{A)|s(th1_zUxYvGI$4 zGK!7LTb^SJ^MQVAfu%Ins)AkMq}?8atgosFEG^(a=uWso-$jl7_4Q*C{U!3fuYkWu zo#o|PBURxc%d!{#gpw@(<2a$Qv%NX(m_-2IyxpKIT&;^Nm(RuV(cuh|8_hU~f|l-f zXw4%|{9_7@B??+q0Z)Y}XtDZwO_Ls;w13*iM~8aO_ba=-AS>O29RL6T07*qoM6N<$ Ef_qi#&Hw-a literal 0 HcmV?d00001 From 41be8a5a85915eb52f55cf190a3ebe6b12f0f444 Mon Sep 17 00:00:00 2001 From: PrairieAstronomer Date: Wed, 6 Jul 2022 10:00:50 -0600 Subject: [PATCH 2/3] Stonecutter Texturs, by RandomLegoBrick --- .../textures/mcl_stonecutter_bottom.png | Bin 405 -> 583 bytes .../textures/mcl_stonecutter_saw.png | Bin 809 -> 904 bytes .../textures/mcl_stonecutter_side.png | Bin 452 -> 425 bytes .../textures/mcl_stonecutter_top.png | Bin 514 -> 587 bytes 4 files changed, 0 insertions(+), 0 deletions(-) diff --git a/mods/ITEMS/mcl_stonecutter/textures/mcl_stonecutter_bottom.png b/mods/ITEMS/mcl_stonecutter/textures/mcl_stonecutter_bottom.png index 40d53a4f1048d317398b19ad101bcd28bd37c70f..7467d42bee2ee6d0c9573f3ce19fdf8ae6b731d6 100644 GIT binary patch delta 569 zcmV-90>=H71IGlA8Gix*005AYXf^-<00DDSM?wIu&K&6g000DMK}|sb0I`n?{9y$E z000SaNLh0L01m?d01m?e$8V@)0005pNkldh(5M5YUFdxQXFtRPTjpQhi zs+`hOZ~gzb9;#NVdU0jfR)UN9UcmIBCCKX22)&t|*1^M9n7TG2>I6AdQ6w68^O-$`Q6i^l zrgR)v%V-C&#S)^|7=x;&>I9CM8ywck{Su%JGO6!akbm6rf==$B9V~vmByq~Sx~!}H z{uD)j8B?0}n#B<^`=N2uOC>$5eUNcV07DOqkX@9yN>gz@sHAz}|By{*K#g#5+`X}j7fqSv*>1N-6B-h`J{900000NkvXX Hu0mjfET9ce delta 389 zcmV;00eb$&1eF7j8Gi-<001BJ|6u?C010qNS#tmY3ljhU3ljkVnw%H_000McNliru z;|B%Coli4sJM*mgit_QOym;x4o*(_Bb~6ioL#$|dE08MGRZk1=c-v=i29B9}?F+*-E* j+&?^Ch}f?5U#tBCW*Dyg$79ZA00000NkvXXu0mjfeP^pB diff --git a/mods/ITEMS/mcl_stonecutter/textures/mcl_stonecutter_saw.png b/mods/ITEMS/mcl_stonecutter/textures/mcl_stonecutter_saw.png index 0a2f543bf905659d485b8f3737175ea4137a7580..0f2bc3dfc29238e21162197b44c4495d2a9cc35f 100644 GIT binary patch delta 845 zcmV-T1G4<728aicNPiB)000id0mpBsWB>pI9Z5t%R7gwhR?SZnQ4pVg?e>F~0&P(X zt%ax!)Kg8P-Wnoa3}^pNZgP;s#Arf#@WRD_i3ABP#csE3KbLiX)6RBVz-Xek{*t$E z-rJeknb|kLT@T%X-Q8U)olaA;*(6=pX=i8WR^1z$l}g2eQGYg@r9>h@KA(?zy&fGO zAG5P^xjbPrvA|QewzgPqwOTyS&CT(Qb*)xoNA74GVSj($DwRs374cIs6h+|yxn8eR zr_-Tsw@bxhk!`)KZ6g+ojie!91i%o$IvR~qFc{=i1ndQ&udS_7GMRKje*5MX&p&&^ zAm8onIZ>gghku8MoC-$(&j4;9R~UyDQ#>*c?$h$p620Eu=7Iu918)fMl#82|VQ;)B z4~zHXtjaU6zM7$?rjJ%cfk>w6jpf;(a+hZ&!7N;Sz?6sO2b?tN< z2aD;4^yKk6D*%^ujpxOsd7fnr)an^-Xe3OV#pmQ#e6*ZM@y%(RUyN%r=$Z8S!+V0A=jGE!7Cf0AAI(RH zuTblIXg)BRv&ewAtJ9!sR}2xrL9aic_`M9}a;p@vy$TRIYT(Xa4F>3z z7`UCd`M^yoP7zN}Pe;;_gx|4h|03+4PUb#KPUu?RMKfA0{^!(r7dq z+_COYJK)p+Oax=eITQ+!-|y${GYo^`@i=#@s;V3%E7@=y$QK&Q;snZY0AN3rN^t?D z6Gj0J1))PZlgT(Odlw%dlB1&|(lm`z;Ru9{s?{nN?00+s9q@ttrOfzX#s~j^4~TvN Xe9jP`bc-mi00000NkvXXu0mjf%Bqp& delta 749 zcmVv)cCV45u#MqLg z(FTlur|)~-yvDe6%x}oK@7(vDd+vGno=7jAKYQ9KIUAh^cYp7w<=CC>!g8$w;c6}? z*KgjEm3K?(yLf3@$FKn7nb~We?vQI$jF;N&T`4(5^-+8xWy@G}Tzx4!BeBTH{OiS~ zdw340_YYW^s{&JOrzc$RUIxgJXaKBECj|Y(1R7WkKmmY&LNsW)MGG#Mo#^9{^s$s-KHRseRj)*s-Xt3O_P)@_!{63h$i>ENh#l}^i8Ff7UVarFT#-t`qwAf$}~5@v*e z09gXF@PGU8_W@X*eLws90gfo}pMBUTk00rgHv54$z)EH#0jAglJ_hjuAWe#Sjs0S$ zn3v6xqZe)N{(@?~egI1-Mj%2lK&I3j#t-i{VA=rv03rmU*uO1JgXx>%|MdfIW6%!< z{op|Qfp?iqaL#ek_+AA%@r}HC`9gi>JQ?(Z fK|eTvejxH23@zqLf7yjF00000NkvXXu0mjf|0ZZR diff --git a/mods/ITEMS/mcl_stonecutter/textures/mcl_stonecutter_side.png b/mods/ITEMS/mcl_stonecutter/textures/mcl_stonecutter_side.png index 9c7c44fad742b03a059af79172b80a9a9109a271..d97f84baeeb776115d81385024e7a48c8670edc8 100644 GIT binary patch delta 385 zcmV-{0e=3(1E~X$F@FSSK}|sb0I`n?{9y$E000SaNLh0L01m?d01m?e$8V@)0003# zNkl!6sb+BNo~xt@y?jr zw7(!8n9P~EGl!W8{_z)}4f?$zj3S&5E;+HezQLXld|pHduFba zN}kV9w;e7bOQ$JnGsv7^u9_+S%{v@hrU~uzxLed6fnNU%D`su!28$TF?bh^Rf z{+4aP^~M-JKCpmJAA&F~m@wuyP5C1H=Q6F@FYPOGiWi{{a60|De66lK=n!32;bRa{vGf6951U69E94oEQKA z00(qQO+^Rd3lIJ8#en_iPCwF;%I*(#axhm=G?gL;~9P@!z2~rAzAVNxk z(kYJ*cdUIW0P<0+ml~xM095P}emLTF_-5XNAX*_T00`G+njtStemEj}pCC4>D4n8J zf?aVKctb3w27j?4iZ!{bi?ca^|5*gUa%#+yF^yImfLSsl{+O;bTk!z5T%_Oy6NGC+ zzR2OxiNOcx^6?500000NkvXX Hu0mjf)()yW diff --git a/mods/ITEMS/mcl_stonecutter/textures/mcl_stonecutter_top.png b/mods/ITEMS/mcl_stonecutter/textures/mcl_stonecutter_top.png index 455fbb895096974abc128860088c20aa12809b68..0b63cb112c286f768afccad760d3032ba50a8319 100644 GIT binary patch delta 573 zcmV-D0>b@*1j_`F8Gix*005AYXf^-<00DDSM?wIu&K&6g000DMK}|sb0I`n?{9y$E z000SaNLh0L01m?d01m?e$8V@)0005tNklfgc6x>~V?bvZ_Qqmw0ph{4Q z3Q7-f;(%1{9605iGk<{tH~tPM4*U&36-bqkS_rfuj^oYRS$}^q>oqx`jwVlU=gn^3 zzBN65@=)ga==MGG4^b4@79aHdZrviy<=MB->00UymvIvA-t4?rxJoxlS;x;`h@uR`0kav1e=F;1FbIMGR@!bSl(Hc3Wzp>2->1{bTzfp) zMGc)uDScn}gMT)*%EdBPS?+i}rcWS52#Est{pSzV-~gC92joy$498Ha9Z(I8$vEo~(yFfFRRU&t&Z+I#c2Sj_Tb|dW&kpxhQ99Ac ze0=!45H^98T${we_j*JwUB}TIu--d3L^PM)0^N35i`nVdjZ%LBZqEUX^!7?900000 LNkvXXu0mjfiKzyA delta 499 zcmVSxUg7p=L7g0 z(oG-9m0fhvl`kN;DHQ3V6s3iNS`-9HW}3Mf4TQMJoYOm6!GE(k!=3Z*`@VA;JKLL6 zD%*Yk0f0Qu@GXuL@;oDs697K%@6mT70OkNz+7ZL?gwvDnl!YU-Mm@mQ<%RmR+an5E zL_x&)U`W&Nfz>oVJn;ZcVOFrVlMYvx z7q!uA@TzG=t+_nU2#w{}$q#Pt#{A)|s(th1_zUxYvGI$4GK!7LTb^SJ^MQVAfu%In zs)AkMq}?8atgosFEG^(a=uWso-$jl7_4Q*C{U!3fuWW$7NS)>7S|e5AA002ovPDHLkV1oM0?63d; From f141427dfe6f665a2b51db52ab3a54b774e26f67 Mon Sep 17 00:00:00 2001 From: PrairieAstronomer Date: Wed, 6 Jul 2022 16:21:02 -0600 Subject: [PATCH 3/3] Added README.md File with Media License --- mods/ITEMS/mcl_stonecutter/README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 mods/ITEMS/mcl_stonecutter/README.md diff --git a/mods/ITEMS/mcl_stonecutter/README.md b/mods/ITEMS/mcl_stonecutter/README.md new file mode 100644 index 000000000..c6316a5a2 --- /dev/null +++ b/mods/ITEMS/mcl_stonecutter/README.md @@ -0,0 +1,17 @@ +mcl_stonecutter +=============== +Adds the stonecutter block. Used to cut stone like materials into stairs, slabs, etc. Also used as the Stone Mason Villager's jobsite. + +License of code +--------------- +See the main MineClone 2 README.md file. +Author: PrairieWind + +License of media +---------------- +mcl_stonecutter_bottom.png +mcl_stonecutter_side.png +mcl_stonecutter_top.png +mcl_stonecutter_saw.png +License: CC0 1.0 Universal (CC0 1.0) +Author: RandomLegoBrick