From 1d854940c37a981ee93390143372a1e2db4411a5 Mon Sep 17 00:00:00 2001 From: Bluebird Date: Fri, 20 Feb 2015 15:17:41 -0600 Subject: [PATCH] Add HV furnace and grinder. --- technic/machines/HV/electric_furnace.lua | 17 +++++++++++++++++ technic/machines/HV/grinder.lua | 17 +++++++++++++++++ technic/machines/HV/init.lua | 2 ++ .../technic_hv_electric_furnace_bottom.png | Bin 0 -> 427 bytes .../technic_hv_electric_furnace_front.png | Bin 0 -> 611 bytes ...echnic_hv_electric_furnace_front_active.png | Bin 0 -> 580 bytes .../technic_hv_electric_furnace_side.png | Bin 0 -> 506 bytes .../technic_hv_electric_furnace_top.png | Bin 0 -> 1597 bytes 8 files changed, 36 insertions(+) create mode 100644 technic/machines/HV/electric_furnace.lua create mode 100644 technic/machines/HV/grinder.lua create mode 100644 technic/textures/technic_hv_electric_furnace_bottom.png create mode 100644 technic/textures/technic_hv_electric_furnace_front.png create mode 100644 technic/textures/technic_hv_electric_furnace_front_active.png create mode 100644 technic/textures/technic_hv_electric_furnace_side.png create mode 100644 technic/textures/technic_hv_electric_furnace_top.png diff --git a/technic/machines/HV/electric_furnace.lua b/technic/machines/HV/electric_furnace.lua new file mode 100644 index 0000000..cf319cf --- /dev/null +++ b/technic/machines/HV/electric_furnace.lua @@ -0,0 +1,17 @@ + +-- HV Electric Furnace +-- +-- Credits: +-- Original code and idea is from cheapie: +-- Based on the pull request from qwrwed: +minetest.register_craft({ + output = 'technic:hv_electric_furnace', + recipe = { + {'technic:stainless_steel_ingot', 'technic:mv_electric_furnace', 'technic:stainless_steel_ingot'}, + {'pipeworks:tube_1', 'technic:hv_transformer', 'pipeworks:tube_1'}, + {'technic:stainless_steel_ingot', 'technic:hv_cable0', 'technic:stainless_steel_ingot'}, + } +}) + +technic.register_electric_furnace({tier="HV", upgrade=1, upgrade_slots=4, tube=1, demand=10000, demand_reduction_factor=0.75, speed=8}) + diff --git a/technic/machines/HV/grinder.lua b/technic/machines/HV/grinder.lua new file mode 100644 index 0000000..0f5f069 --- /dev/null +++ b/technic/machines/HV/grinder.lua @@ -0,0 +1,17 @@ + +-- HV grinder +-- +-- Credits: +-- Original code and idea is from cheapie: +-- Based on the pull request from qwrwed: +minetest.register_craft({ + output = 'technic:hv_grinder', + recipe = { + {'technic:stainless_steel_ingot', 'technic:mv_grinder', 'technic:stainless_steel_ingot'}, + {'pipeworks:tube_1', 'technic:hv_transformer', 'pipeworks:tube_1'}, + {'technic:stainless_steel_ingot', 'technic:hv_cable0', 'technic:stainless_steel_ingot'}, + } +}) + +technic.register_grinder({tier="HV", demand=2000, demand_reduction_factor=0.75, speed=4, upgrade=1, upgrade_slots=4, tube=1}) + diff --git a/technic/machines/HV/init.lua b/technic/machines/HV/init.lua index d7136b4..7e4c9f4 100644 --- a/technic/machines/HV/init.lua +++ b/technic/machines/HV/init.lua @@ -15,4 +15,6 @@ dofile(path.."/generator.lua") -- Machines dofile(path.."/quarry.lua") dofile(path.."/forcefield.lua") +dofile(path.."/electric_furnace.lua") +dofile(path.."/grinder.lua") diff --git a/technic/textures/technic_hv_electric_furnace_bottom.png b/technic/textures/technic_hv_electric_furnace_bottom.png new file mode 100644 index 0000000000000000000000000000000000000000..e2e445eeddbff990f73a4b7a809288ad0dd8ac41 GIT binary patch literal 427 zcmV;c0aX5pP)#)eJUQeyE4)MM1h*Q1EX!*1J1JS2O1Fp7n`M)N!$QR9eUac_b9t|u~({yvS- zb!>N~^kSivU|iMpC7XWx7-$Z_bTYY`O->80=hOLYHjGt*n9|Yi$UOj{>qQL!z5y3b Vm)vfxE-3&2002ovPDHLkV1iXctepS= literal 0 HcmV?d00001 diff --git a/technic/textures/technic_hv_electric_furnace_front.png b/technic/textures/technic_hv_electric_furnace_front.png new file mode 100644 index 0000000000000000000000000000000000000000..a5a0dc2cb9b664bd3972b5344299e9c2fcd2a85c GIT binary patch literal 611 zcmV-p0-XJcP)S+MF@cq0@;u#r8xXJ0N}mHR0d_WJz?RAiI?g1eB)LwIQic!yUdLMRqKCJh{c2wm0616cARCh5^I?q{ zhxa}ZL{Su;kGKNx)`L9lB&CFAO&snAVjs!WV>aD>ynWQZ-ahXB~G_CXjSY7wW? zDa+-O#bUv9Iz6dnH(A)PUcP$4*^@Q^@85l3`)Lb69LG547z_rqS}lN3o4t7r!2O{> zB)gP6yCcu;0GLcBtk-LlQp9mgRaGdZn9t`-CKG_LKiQ?I)wj>+GxgBb5R{@QXg2Hc z7-PZ+o3Bd%e%>2YRaRUj^*qC;BaAV4@6lRQ6b0UUs;VN2BCM@bd-c6OZKu;hb>beK zxEDH?Wyx;0BhPcR)@ZHC^PKbZbIP&|je;Aq+01vlU4#&%Y079c3ONu$1izhgXsy|7 xHuU>_y!WJOS`Tfl4N2T?xBvW|wbmhtzX3lb25z+{rWODI002ovPDHLkV1hv+3%CFP literal 0 HcmV?d00001 diff --git a/technic/textures/technic_hv_electric_furnace_front_active.png b/technic/textures/technic_hv_electric_furnace_front_active.png new file mode 100644 index 0000000000000000000000000000000000000000..874b745580df0832d28acbccd20ee9853789f663 GIT binary patch literal 580 zcmV-K0=xZ*P)10K9+qfz_uK0C5}xu)loEU@!m(zQyZT0NieNh~lPX zTV1oQt^r8X6sb|OBP##)W!t&c^04{G0s@~U} z6>UA!;~B;n0Gg%=2kW{%AU*rhW;+@UP@_0u6el5gzu&iMZnpvJ)}3#9JiAk4u~_)= zc#IH&vMia+W?>G55J7L}98J@(TrQbRCV1~D%d#!nS{o*DwOal2IX6ucCh-qaFzQMy SxbR;90000fShNKLQn90e z+web`9~Mq*5}*wnX{6E2J!kGcbDYiHO>2xnK1%w(`^@QQ2tCw%23l*h)`;|H`eE|mbdc{|fFKA6!*FJSR;xv$(Evb<=dsr2 zGbTy$E^&-;{Yb!ItqVYRB_v4_w$@iC$a@DzbXP)7qD#QyI8HIbSY#R}qcsf&a9y|P zpx?iGv*qqP9>htn5Zn2-ZOaSu037Te0{qv5^^G+EZtort>7T#2`XMiBHk-8DZ9LB- ziXs3yoeo-Sq?E*Q%>CdRfb>Qp&d+`^EQ=9c01n0&lv25veQh?)tF=m4BQVihuBJ05S=Ma9WieIYcmu3IUtJ&vEFa6IRnn+@`QenAPnK_B| w#VU)nTJeoaE3C=Xv!G1nVd_i{6($QJ&;KQ>jL0t29RL6T07*qoM6N<$g8mEF`v3p{ literal 0 HcmV?d00001 diff --git a/technic/textures/technic_hv_electric_furnace_top.png b/technic/textures/technic_hv_electric_furnace_top.png new file mode 100644 index 0000000000000000000000000000000000000000..de2432c88043bc185073c681127df888d4b53ce9 GIT binary patch literal 1597 zcmV-D2EzG?P)mk9 zg_%)RKp{7z{+lE!61lNI6$R_RRfQo+pYP3#%mhFsN(Fg-jy)VBK@tpMCNR)t=W;VU zm+JEWE2>oMq<$_b{Brzq#^VBDJRbeXuyvM@gkMfYGIsT<&p~nn2eQC~m*7%&lYObX zQ&oMbJ7h8by2zRMvkx~jq~dyBRP5FT{<(8>c|C>G_2@OogjS_0u*XHb?mlGwJ4$Hu zsP}KXV<*Y8il{;u0wl`R|Czm0eh{@gclX8=kY4~EV-WX5GIGv- z&W%wjB7*CAVZ*z7x~TE!4f*pr2l?g19mw}UKP>1q_IGB6O62U-VCxwd!Z7y+=?AIR zW0~|6Y<2V;J&iT;szy2{EqiH|n4V;|WW7h%;>MB=Znl$|?acgkK zJzG83$R(g4XApOEGlHmuT;Er~%q~0&Q^9=C9{-}tM)F>RN-%nKHoQg2mfQ|4$!(@! zqE-=IWT5C`kKYWZq^%V#Ao&g=;+RKOvm)-<JQ*5JwB_vkg{4E!2MA|erm4H0*BF$>HU`L8KVlA>mtShL{E%l8Vlyt+FW zTz{@L@&Q(dTJ7=el9^4}F}!hV%(O&FWG+1I28T1VN8h=l&$6v-dqkU(je{ay^XNj4G_Zwk8-@+7paQWye|7#H zK$`A`UmvqFwDW-0&RX;B;b(9AVv`dwztqqcn%fUr#_d9CB+#y1W&N z!Z7L~tZacRxc)p(>LJ(EfRf0yre@B{46iy$Dj8-)wJTETr|XN#)ua6K_MLQc z#_@`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