From 39b56074ad450397331511158f47d976a28c14d4 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Mon, 28 Jul 2014 21:08:49 -0400 Subject: [PATCH] update pipeworks to use modern homedecor-style crafting chain craft 6 any leaves -> oil extract, cook oil -> paraffin, cook paraffin -> plastic old "plastic base" is aliased to paraffin. --- crafts.lua | 64 +++++++++++++++--------- textures/homedecor_oil_extract.png | Bin 0 -> 383 bytes textures/homedecor_paraffin.png | Bin 0 -> 600 bytes textures/homedecor_plastic_base.png | Bin 440 -> 0 bytes textures/homedecor_plastic_base_inv.png | Bin 569 -> 0 bytes 5 files changed, 41 insertions(+), 23 deletions(-) create mode 100644 textures/homedecor_oil_extract.png create mode 100644 textures/homedecor_paraffin.png delete mode 100644 textures/homedecor_plastic_base.png delete mode 100644 textures/homedecor_plastic_base_inv.png diff --git a/crafts.lua b/crafts.lua index 25bf345..ff875a3 100644 --- a/crafts.lua +++ b/crafts.lua @@ -87,47 +87,65 @@ minetest.register_craft( { if minetest.get_modpath("homedecor") == nil then - minetest.register_craftitem(":homedecor:plastic_sheeting", { - description = "Plastic sheet", - inventory_image = "homedecor_plastic_sheeting.png", + minetest.register_craftitem(":homedecor:oil_extract", { + description = "Oil extract", + inventory_image = "homedecor_oil_extract.png", }) - minetest.register_craftitem(":homedecor:plastic_base", { - description = "Unprocessed Plastic base", - wield_image = "homedecor_plastic_base.png", - inventory_image = "homedecor_plastic_base_inv.png", + minetest.register_craftitem(":homedecor:paraffin", { + description = "Unprocessed paraffin", + inventory_image = "homedecor_paraffin.png", + }) + + minetest.register_alias("homedecor:plastic_base", "homedecor:paraffin") + + minetest.register_craftitem(":homedecor:plastic_sheeting", { + description = "Plastic sheet", + inventory_image = "homedecor_plastic_sheeting.png", }) minetest.register_craft({ type = "shapeless", - output = 'homedecor:plastic_base 4', - recipe = { "group:leaves", - "group:leaves", - "group:leaves", - "group:leaves", - "group:leaves", - "group:leaves" + output = "homedecor:oil_extract 4", + recipe = { + "group:leaves", + "group:leaves", + "group:leaves", + "group:leaves", + "group:leaves", + "group:leaves" } }) minetest.register_craft({ - type = "cooking", - output = "homedecor:plastic_sheeting", - recipe = "homedecor:plastic_base", + type = "cooking", + output = "homedecor:paraffin", + recipe = "homedecor:oil_extract", }) minetest.register_craft({ - type = 'fuel', - recipe = 'homedecor:plastic_base', - burntime = 30, + type = "cooking", + output = "homedecor:plastic_sheeting", + recipe = "homedecor:paraffin", }) minetest.register_craft({ - type = 'fuel', - recipe = 'homedecor:plastic_sheeting', - burntime = 30, + type = "fuel", + recipe = "homedecor:oil_extract", + burntime = 30, }) + minetest.register_craft({ + type = "fuel", + recipe = "homedecor:paraffin", + burntime = 30, + }) + + minetest.register_craft({ + type = "fuel", + recipe = "homedecor:plastic_sheeting", + burntime = 30, + }) end minetest.register_craft( { diff --git a/textures/homedecor_oil_extract.png b/textures/homedecor_oil_extract.png new file mode 100644 index 0000000000000000000000000000000000000000..ef0f89699fbe1dad0134d01778bd33118c532f47 GIT binary patch literal 383 zcmV-_0f7FAP)-!Tb;D&<9*4wX`alK_}m1AtOW zm%h?2V+W@&f1OL`qGN&}c(3|*yWMr3=TRKTd3Zwa%x_W^?4}P2XC3OQ8GiO?Uj8K>`pC6a&DBKoCe$-$aq4`ymkT6f}t7oa-N` z?}GpW>DnnUv$i&W2*a~+qtRFZ`1txvS0Zu=paljQ9K`Rv{A0UL>?BHS$!U<i30S!4Zu#9U2mBZNV~&oF9&pZ|8iw)2^SoA`=U%;D zw}{BpT1%zWvpmngMp3lf+uK|G1qgy*v(xDeecwl=QbDy^g<%+|*Xyut8vu~!Ii}O; zvM7pVwOW0-yu5tZ>-EkE0CskE-mkB(qup*J%Q9G&g|)Rc*tQMMIi!@3Qo^?F3K3Np zV=v0(^79}FdS&G)(}&`T6-z4gj3<>GAO~ z;y8ws5=oL^I2>X;9zzHLtu<=38p`D|7-Lv07MM&X;^yY&BRf1id}*5It9HBHbQ}jl z2q>i>guwRpHXO$R5kYGW!!V$=MifQ3y1F{+cDs*B2=Ru9%#Do=FvbvuA@1((P_0%W zgaGFpT5D*nQ4|GMs}&lJ2Aa+0BLJY=+uOkNybo!bVry#)oO8r+j5JM=rYT0F(fxEH zf>H`Zgi@)5!C(-VPESw2?e6XtN~x~vy4?4DIF19?brFUkE-o%GpU+|2HnJ?kY&O%g z*-VFFs2F2IIyg9>e!u^Ee}DfoW9-xQ_4Pw3WyLUzB#z@>qtVE0G#Zji>0000R1 ziw6%Lyl~;d(W6ICpFaKW-Mj18uW#MD_3G8DU%q?+x|dzZSrX(I{2veah)0fr zRj{BMXh^ZAi(`ny<>UTt@&T_Oy2?1oZ~w@g7%!QkoY=d#Wzp$Py!X90x( diff --git a/textures/homedecor_plastic_base_inv.png b/textures/homedecor_plastic_base_inv.png deleted file mode 100644 index 1a01709c8e7495359d742a09633befc300e155a2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 569 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbKJOS+@4BLl<6e(pbstU&(T0G|-o zj~_qIn>VkerRCnedyS2ar%s((ym)bQbMx`z#}_VKIC0{{Lx&Dcn>KC1f(4HrJ^J?T z+n+ywZrr#rfByWtckgy~cCJ~o=E;*MpFVwh`0(NH-@h+kzWnv;*ApjBT)TE{!h{LE zy}j$!t=qF_&+gs3U%Ytn^5x4*moDwww{OXkC3EJ?dGO%DqD6~NpFTZx>eT-J{vSVn z^z`&hnlx$Y(xnXz4X<9kx^Usb(W6Hgrm(diBAB z2VcK_-PF`{<;s=z_V!)7b{#u*th>AW`t|Euw{D$1d-l6`@7AteJ7vn0FJHb~y?Pbs zJAhy0)Q?>3_?GNBa~^_8zdQ_$KX?y*%Ii9M`-p;uDPBX0H0@^0c3m<=x@_ zU;7NC)_>>p*!pPiJrTA=e)r!>>=He3;d(Z++oK6nlXq;G!<=v~vs5l`i;2Tj`^Oe; zX^SRlYahJBpizA=PqW|R`RTWE8yDCu582hQWp>Lv8)19%AH8eW1Kr8s>FVdQ&MBb@ E0Hpw6^#A|>