Add MV and HV generators and make coal dust a fuel

This commit is contained in:
pagliaccio
2013-07-23 14:43:14 +02:00
committed by ShadowNinja
parent 4a35d5dd98
commit 704925aa7b
22 changed files with 159 additions and 126 deletions

View File

@ -0,0 +1,14 @@
minetest.register_alias("generator_mv", "technic:generator_mv")
minetest.register_craft({
output = 'technic:mv_generator',
recipe = {
{'technic:stainless_steel_ingot', 'technic:lv_generator', 'technic:stainless_steel_ingot'},
{'pipeworks:tube_000000', 'technic:mv_transformer', 'pipeworks:tube_000000'},
{'technic:stainless_steel_ingot', 'technic:mv_cable', 'technic:stainless_steel_ingot'},
}
})
technic.register_generator({tier="MV", supply=600})

View File

@ -13,6 +13,7 @@ dofile(path.."/tool_workshop.lua")
if technic.config:get_bool("enable_wind_mill") then
dofile(path.."/wind_mill.lua")
end
dofile(path.."/generator.lua")
-- The power radiator supplies appliances with inductive coupled power:
-- Lighting and associated textures is taken directly from VanessaE's homedecor and made electric.