mirror of
https://github.com/minetest-mods/technic.git
synced 2025-06-30 23:30:38 +02:00
Add MV and HV generators and make coal dust a fuel
This commit is contained in:
14
technic/machines/HV/generator.lua
Normal file
14
technic/machines/HV/generator.lua
Normal file
@ -0,0 +1,14 @@
|
||||
|
||||
minetest.register_alias("hv_generator", "technic:hv_generator")
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'technic:hv_generator',
|
||||
recipe = {
|
||||
{'technic:stainless_steel_ingot', 'technic:mv_generator', 'technic:stainless_steel_ingot'},
|
||||
{'pipeworks:tube_000000', 'technic:hv_transformer', 'pipeworks:tube_000000'},
|
||||
{'technic:stainless_steel_ingot', 'technic:hv_cable', 'technic:stainless_steel_ingot'},
|
||||
}
|
||||
})
|
||||
|
||||
technic.register_generator({tier="HV", supply=1200})
|
||||
|
@ -9,4 +9,5 @@ dofile(path.."/forcefield.lua")
|
||||
dofile(path.."/battery_box.lua")
|
||||
dofile(path.."/solar_array.lua")
|
||||
dofile(path.."/nuclear_reactor.lua")
|
||||
dofile(path.."/generator.lua")
|
||||
|
||||
|
Reference in New Issue
Block a user