mirror of
https://github.com/minetest-mods/technic.git
synced 2024-11-10 20:40:27 +01:00
Add HV furnace and grinder.
This commit is contained in:
parent
5b7f1813ce
commit
1d854940c3
17
technic/machines/HV/electric_furnace.lua
Normal file
17
technic/machines/HV/electric_furnace.lua
Normal file
|
@ -0,0 +1,17 @@
|
|||
|
||||
-- HV Electric Furnace
|
||||
--
|
||||
-- Credits:
|
||||
-- Original code and idea is from cheapie: <https://forum.minetest.net/viewtopic.php?id=7953>
|
||||
-- Based on the pull request from qwrwed: <https://github.com/minetest-technic/technic/pull/118>
|
||||
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})
|
||||
|
17
technic/machines/HV/grinder.lua
Normal file
17
technic/machines/HV/grinder.lua
Normal file
|
@ -0,0 +1,17 @@
|
|||
|
||||
-- HV grinder
|
||||
--
|
||||
-- Credits:
|
||||
-- Original code and idea is from cheapie: <https://forum.minetest.net/viewtopic.php?id=7953>
|
||||
-- Based on the pull request from qwrwed: <https://github.com/minetest-technic/technic/pull/118>
|
||||
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})
|
||||
|
|
@ -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")
|
||||
|
||||
|
|
BIN
technic/textures/technic_hv_electric_furnace_bottom.png
Normal file
BIN
technic/textures/technic_hv_electric_furnace_bottom.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 427 B |
BIN
technic/textures/technic_hv_electric_furnace_front.png
Normal file
BIN
technic/textures/technic_hv_electric_furnace_front.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 611 B |
BIN
technic/textures/technic_hv_electric_furnace_front_active.png
Normal file
BIN
technic/textures/technic_hv_electric_furnace_front_active.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 580 B |
BIN
technic/textures/technic_hv_electric_furnace_side.png
Normal file
BIN
technic/textures/technic_hv_electric_furnace_side.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 506 B |
BIN
technic/textures/technic_hv_electric_furnace_top.png
Normal file
BIN
technic/textures/technic_hv_electric_furnace_top.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.6 KiB |
Loading…
Reference in New Issue
Block a user