From 9de141ee6b5a049e5f0bd53ecbd867e0c465ed77 Mon Sep 17 00:00:00 2001 From: Konstantin Oblaukhov Date: Thu, 27 Jun 2013 09:13:44 +0700 Subject: [PATCH] New blocks of metal. --- technic_worldgen/crafts.lua | 72 ++++++++++++++++-- technic_worldgen/nodes.lua | 40 ++++++++++ .../textures/technic_brass_block.png | Bin 0 -> 649 bytes .../textures/technic_chromium_block.png | Bin 0 -> 611 bytes .../technic_stainless_steel_block.png | Bin 0 -> 589 bytes .../textures/technic_uranium_block.png | Bin 0 -> 649 bytes .../textures/technic_zinc_block.png | Bin 0 -> 681 bytes 7 files changed, 106 insertions(+), 6 deletions(-) create mode 100644 technic_worldgen/textures/technic_brass_block.png create mode 100644 technic_worldgen/textures/technic_chromium_block.png create mode 100644 technic_worldgen/textures/technic_stainless_steel_block.png create mode 100644 technic_worldgen/textures/technic_uranium_block.png create mode 100644 technic_worldgen/textures/technic_zinc_block.png diff --git a/technic_worldgen/crafts.lua b/technic_worldgen/crafts.lua index 7647c06..176218d 100644 --- a/technic_worldgen/crafts.lua +++ b/technic_worldgen/crafts.lua @@ -16,12 +16,6 @@ minetest.register_craftitem( ":technic:chromium_ingot", { on_place_on_ground = minetest.craftitem_place_item, }) -minetest.register_craft({ - type = 'cooking', - output = "technic:chromium_ingot", - recipe = "technic:chromium_lump" -}) - minetest.register_craftitem( ":technic:zinc_lump", { description = "Zinc Lump", inventory_image = "technic_zinc_lump.png", @@ -42,8 +36,74 @@ minetest.register_craftitem( ":technic:brass_ingot", { inventory_image = "technic_brass_ingot.png", }) +minetest.register_craft({ + output = "node technic:uranium_block", + recipe = {{"technic:uranium", "technic:uranium", "technic:uranium"}, + {"technic:uranium", "technic:uranium", "technic:uranium"}, + {"technic:uranium", "technic:uranium", "technic:uranium"}} +}) + +minetest.register_craft({ + output = "craft technic:uranium 9", + recipe = {{"technic:uranium_block"}} +}) + +minetest.register_craft({ + output = "node technic:chromium_block", + recipe = {{"technic:chromium_ingot", "technic:chromium_ingot", "technic:chromium_ingot"}, + {"technic:chromium_ingot", "technic:chromium_ingot", "technic:chromium_ingot"}, + {"technic:chromium_ingot", "technic:chromium_ingot", "technic:chromium_ingot"}} +}) + +minetest.register_craft({ + output = "craft technic:chromium_ingot 9", + recipe = {{"technic:chromium_block"}} +}) + +minetest.register_craft({ + output = "node technic:zinc_block", + recipe = {{"technic:zinc_ingot", "technic:zinc_ingot", "technic:zinc_ingot"}, + {"technic:zinc_ingot", "technic:zinc_ingot", "technic:zinc_ingot"}, + {"technic:zinc_ingot", "technic:zinc_ingot", "technic:zinc_ingot"}} +}) + +minetest.register_craft({ + output = "craft technic:zinc_ingot 9", + recipe = {{"technic:zinc_block"}} +}) + +minetest.register_craft({ + output = "node technic:stainless_steel_block", + recipe = {{"technic:stainless_steel_ingot", "technic:stainless_steel_ingot", "technic:stainless_steel_ingot"}, + {"technic:stainless_steel_ingot", "technic:stainless_steel_ingot", "technic:stainless_steel_ingot"}, + {"technic:stainless_steel_ingot", "technic:stainless_steel_ingot", "technic:stainless_steel_ingot"}} +}) + +minetest.register_craft({ + output = "craft technic:stainless_steel_ingot 9", + recipe = {{"technic:stainless_steel_block"}} +}) + +minetest.register_craft({ + output = "node technic:brass_block", + recipe = {{"technic:brass_ingot", "technic:brass_ingot", "technic:brass_ingot"}, + {"technic:brass_ingot", "technic:brass_ingot", "technic:brass_ingot"}, + {"technic:brass_ingot", "technic:brass_ingot", "technic:brass_ingot"}} +}) + +minetest.register_craft({ + output = "craft technic:brass_ingot 9", + recipe = {{"technic:brass_block"}} +}) + minetest.register_craft({ type = 'cooking', output = "technic:zinc_ingot", recipe = "technic:zinc_lump" }) + +minetest.register_craft({ + type = 'cooking', + output = "technic:chromium_ingot", + recipe = "technic:chromium_lump" +}) \ No newline at end of file diff --git a/technic_worldgen/nodes.lua b/technic_worldgen/nodes.lua index 5952d52..53fd738 100644 --- a/technic_worldgen/nodes.lua +++ b/technic_worldgen/nodes.lua @@ -49,6 +49,46 @@ minetest.register_node( ":technic:marble_bricks", { sounds = default.node_sound_stone_defaults(), }) +minetest.register_node(":technic:uranium_block", { + description = "Uranium Block", + tiles = { "technic_uranium_block.png" }, + is_ground_content = true, + groups = {cracky=1, level=2}, + sounds = default.node_sound_stone_defaults() +}) + +minetest.register_node(":technic:chromium_block", { + description = "Chromium Block", + tiles = { "technic_chromium_block.png" }, + is_ground_content = true, + groups = {cracky=1, level=2}, + sounds = default.node_sound_stone_defaults() +}) + +minetest.register_node(":technic:zinc_block", { + description = "Zinc Block", + tiles = { "technic_zinc_block.png" }, + is_ground_content = true, + groups = {cracky=1, level=2}, + sounds = default.node_sound_stone_defaults() +}) + +minetest.register_node(":technic:stainless_steel_block", { + description = "Stainless Steel Block", + tiles = { "technic_stainless_steel_block.png" }, + is_ground_content = true, + groups = {cracky=1, level=2}, + sounds = default.node_sound_stone_defaults() +}) + +minetest.register_node(":technic:brass_block", { + description = "Brass Block", + tiles = { "technic_brass_block.png" }, + is_ground_content = true, + groups = {cracky=1, level=2}, + sounds = default.node_sound_stone_defaults() +}) + minetest.register_craft({ output = 'technic:marble_bricks 4', recipe = { diff --git a/technic_worldgen/textures/technic_brass_block.png b/technic_worldgen/textures/technic_brass_block.png new file mode 100644 index 0000000000000000000000000000000000000000..bc6fe7840712a97cc4d54379ab631fe2eb6e3b00 GIT binary patch literal 649 zcmV;40(Sk0P)ni?o*@+5TwtCX|`AObCLyv;eeL{QGY&&uw4k(Y_fr z>mqnZtlTndW1Hh;UFX9v008j!ha)%Vc^HO&{%t})UBwWmv;kmj1mLEOmU-GW^V@d^ z0OREK?K*NEzyAC@gm64v>niU19zY0KtrBKt#*6#%#eLa!!!&#TdYH6&1fsslj^`;& z>@d14OZ$EV0MZitr_X1jsmd)Encg2~2@8PWuFL@Gb)A2FIAtp

*9|Rgxs*i3xsN+hv|^ zpOnPkRdO0@R{HBfB?QbKC!TSAN-bZ~pvL7AvJl?+#Z0 zzx;G7B2}4*h=^?JEQE#Flz9aByKQ>6O(Cv1&pL_KU+?z-yqC-1j3%uaz-4e{X1*P# j*m70a-Qim1rp(O$?$J2PM!a<>00000NkvXXu0mjf=*T)? literal 0 HcmV?d00001 diff --git a/technic_worldgen/textures/technic_chromium_block.png b/technic_worldgen/textures/technic_chromium_block.png new file mode 100644 index 0000000000000000000000000000000000000000..ad173ca912413191bec8eebfe569b9404aac25f1 GIT binary patch literal 611 zcmV-p0-XJcP)k7>(WDOT&0GZ7Kd)6{wgKpUnvuU-yuJ$Uyx&6oC=MVPs4o3{3G zp3jHFoHGCbpRZRQmpJGA>FZY!2?t*QLj<5P20-gv%DEq>j}KP>xm0}$?Oyjc|NLEv zhGhxf|Mod+nHkJ4F6S4Q^Ss2Z6z<1~6+aR8-cRe=7_+ABXiQ8AfClz`|Mugiv}(O$ z=iK8o7XUyil?56&h4#y>ch(Y7DwT*Dt(>)6E_&OxXLlVDDG|}?Xf#Cnar)!_1YpS- zKm(k*t{(;>(ye#7)?BNzc3Gm*3IHqqa_bvoitNGrN~A;pXvI2hxiKc?+z-R4>qLZz zj>fdk4byZ9frw&CMC6>C*Tew+AIDniT?qX&Epb&Ml_=MG>bh?~Zb~GjWVLqIHci7j zaBf>|^j1pneka^w-1ogPMnq1bO*vmeVE$E-8?6k{FfWZUN+}U(oijx95{bxa{e7G& z5rD^ewu*HT00;*UU|yotdMhOpb>0;bLqtRXl!zwY_nnW%6yW2-^{K=8qEC62r^=BpOyaQYXPHkIjRZ1Pa6Ol^@mks-GqN7o!0`x7m7E@zUPzA^v+002ovPDHLkV1jHH62$-j literal 0 HcmV?d00001 diff --git a/technic_worldgen/textures/technic_stainless_steel_block.png b/technic_worldgen/textures/technic_stainless_steel_block.png new file mode 100644 index 0000000000000000000000000000000000000000..e451768968a3318a5718b575cc8e62e67f40b7ca GIT binary patch literal 589 zcmV-T0%=U4230`fAbd-Xcyd~s~(^i?5Vm=XLaXOv0ZQJ)f48v{P5D^jGQ&AKE;1SW=+uJB>+8!}Tb8A@*7H072!a3rvMf_d2_df6D*$M%y{f8=F|V($*4l9# zPp8wmt^i=I<(#|Wwr$(C9mjFscM?J{#++hRRns)ZaV(|eoG;4)0ElRe>AEfmf-K7@ zO;aJnaU1}klyV)H%cbi&&N(6~rHCjD!z4+RQY58(dU`@c0PuakEK5YZ-EM8$BI34f z#u!Ab>$>lIBJ#2<(^_k-lO(y{@9t>ESl4w?6ltx?vUIYp?(O>?$MNIw==;8D8fz^g zCP`8h#V`!d&(DasEDI5(X}T;60YKmPTI;&5hhdne$pKJG)ph;-{S5$8O6P%dPR5wJ zu3fHqo&$hm5Ji!-wyG+nRMRy7Bq@p_A`(KxaqRoPi;sxrc}B!A4Ew%!twIRj_dN&H zIUC2(NfA*|6vuJ=FLsW9e}9Q{Zmo66JAX-%tn2C)P1Dr2?a$B8$Hzxe6rSgK!!Q8A z%gc+?vDN~>`Fz$|`@Wy&xwW=w8V7KiCNGZT>-FmLe>@(HF~%4ouIrlTxe&tr2q8q8 brkwLX)~GRh&p@uw00000NkvXXu0mjf%m)|9 literal 0 HcmV?d00001 diff --git a/technic_worldgen/textures/technic_uranium_block.png b/technic_worldgen/textures/technic_uranium_block.png new file mode 100644 index 0000000000000000000000000000000000000000..99dd51c1574d76181cb0277461b6c93e427b88cb GIT binary patch literal 649 zcmV;40(Sk0P)1&v6h^<9J9GDk+!eW$NSY#S_#sjSY16qekQc~WQv4!^^vL z<>Ek!ocC-@-EZf~;w(o10KV=Y^wAy8a{PP$RkWWZGm&Ux1|TyGpx{aC-LBm~)L#H} zp)<4OZjkuX?ax8ElRGlaF0qCniW>2l14Cgwe!m{SKMZ>(y{`MMCG}>!<=dU#WcUGzPPA|9r?k0%(RVk`N_xT7GX|v{Giul@Faqms4>FdximEH9xlBSS3T0 z3YF-f0|Q`{m`0i$-IVcdP84 z6up(yDP^o|?KhduSy`oGX>VBB!>|X%MCY6CUqJw{>uXEa_}~Fdc>>@t>=UwmxDJ6U zS_B!GEGPmXXsxwG(IYz&i4XM`f(CGQmz;_woZimVL%q&EJh#ukZ+@HE87VTa{T9Fv zcRvb3MGIxUAk30G7ac1*K?T7*ukUATk+^p|Gt%R~PJaTBC|7AL*k}Wwk!EbhyS`3z jT5|c?ZzpzI+ME9Xgls(ny#Un`00000NkvXXu0mjfU?D3$ literal 0 HcmV?d00001 diff --git a/technic_worldgen/textures/technic_zinc_block.png b/technic_worldgen/textures/technic_zinc_block.png new file mode 100644 index 0000000000000000000000000000000000000000..5ae7947200a2089e45ff398202d50c3072ccf782 GIT binary patch literal 681 zcmV;a0#^NrP)Wab7zW^Xz8Q}vw)0ar2_fO9f)pyTfNpyMHXMK@cj6FiS+T2x#F7PKfshKcBBi8F zOWMSa?HP|}Sip0IhaJ3rtCyDmIOk2%#J484$Ze7HR%|zGMw}4?BX}34w*Uy@;??tm zUn|>><>_j(yWOfRk%zWTDEQB;+)cwpZUF#ze>5X~HDBcR!_f(VQ9G(Eg`NRux0qmV zl&Gxqr|a_Y>j?l`79zTRuXg_BvptXIcW%ZVb*VJ~Yp5?pKmhUmVS9hrJ}c^`+)y!} z1;hYYPY+UgvC$nRSGpd@wA2QG63&1=Uu{BSG96N|H8{()W*$JMJuxWZ9(G%w&Nn?J z$s^MqKrC1H2 zwuD<$mSEGC)XPf(@O_z^20L5H&#b&GGzplR3hSo5=*wb70ym}UDA`v+bW?K9P17U_ zMWO8|QO@IdX&ghs$$;*5T3PA$1`+vxbs!lhO1RmoNTdiEYZ^c9C?(vYFyzru^5{Bu z7J|8xOp8F0s||p0ECF1UI+3)l%(B8H3LS$Ij)<%$5(tTV*O2U{m8HY4Co*u%vt?;| zq5M<)pZT@2Pqy1f*ZG@|-|ln;6M-n^GfYP>o<1@)n?xb&3RB~LyQQ5E8SBT=0n;>@ zrjIKNeKi+6>Aw4Z4!}1}on0ePoO1wmz6!Sn<;5viahMK@`Anum+3WuW%FRD$#7Vv# P00000NkvXXu0mjf65}?B literal 0 HcmV?d00001 -- 2.30.2